You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by Romain Manni-Bucau <rm...@gmail.com> on 2014/08/03 21:39:52 UTC

regressions in tcks?

Hi guys

anyone knows if that's normal to get some regression running tck for cdi 1.0?

On openejb I have:

Tests run: 751, Failures: 19, Errors: 0, Skipped: 0


One is org.jboss.jsr299.tck.tests.implementation.producer.field.lifecycle.ProducerFieldLifecycleTest,
fails because of new handling of specialization (remove the bean) the
corresponding app doesn't deploy anymore cause parent is no more a
Bean:


public class TarantulaProducer {
   @Produces @Tame public Tarantula produceTarantula = new DefangedTarantula();
}

and

@Specializes
public class SpecializedTarantulaProducer extends TarantulaProducer {
   @Produces public Tarantula produceTarantula = new DefangedTarantula();
}


Not the same producer but first one is swallowed cause of the
@Specializes handling in OWB trunk

Here the full failure of tests:

Failed tests:
  ProducerFieldLifecycleTest>AbstractTest.beforeClass:206->AbstractTest.deployArtifact:105->AbstractJSR299Test.handleDeploymentFailure:188
» DeploymentFailure
  ProducerFieldLifecycleTest.testProducerFieldForNullValueNotDependent » Test
E...
  ProducerFieldLifecycleTest>AbstractTest.beforeClass:206->AbstractTest.deployArtifact:105->AbstractJSR299Test.handleDeploymentFailure:188
» DeploymentFailure
  ProducerFieldLifecycleTest>AbstractTest.beforeClass:206->AbstractTest.deployArtifact:105->AbstractJSR299Test.handleDeploymentFailure:188
» DeploymentFailure
  ProducerFieldLifecycleTest.testProducerFieldReturnsNullIsNotDependent » Test
...
  ProducerFieldLifecycleTest>AbstractTest.beforeClass:206->AbstractTest.deployArtifact:105->AbstractJSR299Test.handleDeploymentFailure:188
» DeploymentFailure
  ProducerFieldLifecycleTest>AbstractTest.beforeClass:206->AbstractTest.deployArtifact:105->AbstractJSR299Test.handleDeploymentFailure:188
» DeploymentFailure
  EnterpriseProducerMethodDefinitionTest>AbstractTest.run:259->testNonStaticProducerMethodInheritedBySpecializingSubclass:45
null
  ProducerMethodDefinitionTest>AbstractTest.run:244->testNonStaticProducerMethodInheritedBySpecializingSubclass:232
null
  SpecializingBeanExtendsEnterpriseBeanTest>AbstractTest.beforeClass:206->AbstractTest.deployArtifact:126
» Expected
  SimpleBeanSpecializationTest>AbstractTest.run:244->testProducerMethodOnSpecializedBeanCalledOnSpecializingBean:79
null
  ResolutionByNameTest>AbstractTest.beforeClass:206->AbstractTest.deployArtifact:105->AbstractJSR299Test.handleDeploymentFailure:188
» DeploymentFailure
  SessionBeanPolicyTest>AbstractTest.beforeClass:206->AbstractTest.deployArtifact:89->AbstractJSR299Test.handleDeploymentFailure:188
» DeploymentFailure
  PolicyAvailabilityTest>AbstractTest.beforeClass:206->AbstractTest.deployArtifact:105->AbstractJSR299Test.handleDeploymentFailure:188
» DeploymentFailure
  PolicyAvailabilityTest>AbstractTest.beforeClass:206->AbstractTest.deployArtifact:105->AbstractJSR299Test.handleDeploymentFailure:188
» DeploymentFailure
  PolicyAvailabilityTest>AbstractTest.beforeClass:206->AbstractTest.deployArtifact:105->AbstractJSR299Test.handleDeploymentFailure:188
» DeploymentFailure
  PolicyAvailabilityTest>AbstractTest.beforeClass:206->AbstractTest.deployArtifact:105->AbstractJSR299Test.handleDeploymentFailure:188
» DeploymentFailure
  PolicyAvailabilityTest>AbstractTest.beforeClass:206->AbstractTest.deployArtifact:105->AbstractJSR299Test.handleDeploymentFailure:188
» DeploymentFailure
  DirectlyExtendsSimpleBeanTest>AbstractTest.beforeClass:206->AbstractTest.deployArtifact:126
» Expected

Main question is: should we still pass tck for cdi 1.0?

Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau

Re: regressions in tcks?

Posted by Jean-Louis MONTEIRO <je...@gmail.com>.
CDI 1.1 is a minor release so usually we keep ascending compliancy. So I
would say yes.
Le 3 août 2014 20:40, "Romain Manni-Bucau" <rm...@gmail.com> a écrit :

> Hi guys
>
> anyone knows if that's normal to get some regression running tck for cdi
> 1.0?
>
> On openejb I have:
>
> Tests run: 751, Failures: 19, Errors: 0, Skipped: 0
>
>
> One is
> org.jboss.jsr299.tck.tests.implementation.producer.field.lifecycle.ProducerFieldLifecycleTest,
> fails because of new handling of specialization (remove the bean) the
> corresponding app doesn't deploy anymore cause parent is no more a
> Bean:
>
>
> public class TarantulaProducer {
>    @Produces @Tame public Tarantula produceTarantula = new
> DefangedTarantula();
> }
>
> and
>
> @Specializes
> public class SpecializedTarantulaProducer extends TarantulaProducer {
>    @Produces public Tarantula produceTarantula = new DefangedTarantula();
> }
>
>
> Not the same producer but first one is swallowed cause of the
> @Specializes handling in OWB trunk
>
> Here the full failure of tests:
>
> Failed tests:
>
> ProducerFieldLifecycleTest>AbstractTest.beforeClass:206->AbstractTest.deployArtifact:105->AbstractJSR299Test.handleDeploymentFailure:188
> » DeploymentFailure
>   ProducerFieldLifecycleTest.testProducerFieldForNullValueNotDependent »
> Test
> E...
>
> ProducerFieldLifecycleTest>AbstractTest.beforeClass:206->AbstractTest.deployArtifact:105->AbstractJSR299Test.handleDeploymentFailure:188
> » DeploymentFailure
>
> ProducerFieldLifecycleTest>AbstractTest.beforeClass:206->AbstractTest.deployArtifact:105->AbstractJSR299Test.handleDeploymentFailure:188
> » DeploymentFailure
>   ProducerFieldLifecycleTest.testProducerFieldReturnsNullIsNotDependent »
> Test
> ...
>
> ProducerFieldLifecycleTest>AbstractTest.beforeClass:206->AbstractTest.deployArtifact:105->AbstractJSR299Test.handleDeploymentFailure:188
> » DeploymentFailure
>
> ProducerFieldLifecycleTest>AbstractTest.beforeClass:206->AbstractTest.deployArtifact:105->AbstractJSR299Test.handleDeploymentFailure:188
> » DeploymentFailure
>
> EnterpriseProducerMethodDefinitionTest>AbstractTest.run:259->testNonStaticProducerMethodInheritedBySpecializingSubclass:45
> null
>
> ProducerMethodDefinitionTest>AbstractTest.run:244->testNonStaticProducerMethodInheritedBySpecializingSubclass:232
> null
>
> SpecializingBeanExtendsEnterpriseBeanTest>AbstractTest.beforeClass:206->AbstractTest.deployArtifact:126
> » Expected
>
> SimpleBeanSpecializationTest>AbstractTest.run:244->testProducerMethodOnSpecializedBeanCalledOnSpecializingBean:79
> null
>
> ResolutionByNameTest>AbstractTest.beforeClass:206->AbstractTest.deployArtifact:105->AbstractJSR299Test.handleDeploymentFailure:188
> » DeploymentFailure
>
> SessionBeanPolicyTest>AbstractTest.beforeClass:206->AbstractTest.deployArtifact:89->AbstractJSR299Test.handleDeploymentFailure:188
> » DeploymentFailure
>
> PolicyAvailabilityTest>AbstractTest.beforeClass:206->AbstractTest.deployArtifact:105->AbstractJSR299Test.handleDeploymentFailure:188
> » DeploymentFailure
>
> PolicyAvailabilityTest>AbstractTest.beforeClass:206->AbstractTest.deployArtifact:105->AbstractJSR299Test.handleDeploymentFailure:188
> » DeploymentFailure
>
> PolicyAvailabilityTest>AbstractTest.beforeClass:206->AbstractTest.deployArtifact:105->AbstractJSR299Test.handleDeploymentFailure:188
> » DeploymentFailure
>
> PolicyAvailabilityTest>AbstractTest.beforeClass:206->AbstractTest.deployArtifact:105->AbstractJSR299Test.handleDeploymentFailure:188
> » DeploymentFailure
>
> PolicyAvailabilityTest>AbstractTest.beforeClass:206->AbstractTest.deployArtifact:105->AbstractJSR299Test.handleDeploymentFailure:188
> » DeploymentFailure
>
> DirectlyExtendsSimpleBeanTest>AbstractTest.beforeClass:206->AbstractTest.deployArtifact:126
> » Expected
>
> Main question is: should we still pass tck for cdi 1.0?
>
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>