You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tamaya.apache.org by "P. Ottlinger" <po...@apache.org> on 2017/11/05 22:07:38 UTC
CDI/injection module - test failures? anyone else ....
Hi,
does anyone except me and (sometimes) Jenkins experience the CDI test
failures?
I'm unable to get
$ mvn clean install
to run through without failures.
$ mvn --version
Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
2017-04-03T21:39:06+02:00)
Maven home: /home/me/software/maven
Java version: 1.8.0_152, vendor: Oracle Corporation
Java home: /home/me/jdk1.8.0_152/jre
Default locale: de_DE, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-98-generic", arch: "amd64", family: "unix"
Thanks,
Phil
Re: CDI/injection module - test failures? anyone else ....
Posted by "Oliver B. Fischer" <o....@swe-blog.net>.
I will test it...
--
N Oliver B. Fischer
A Schönhauser Allee 64, 10437 Berlin, Deutschland/Germany
P +49 30 44793251
M +49 178 7903538
E o.b.fischer@swe-blog.net
S oliver.b.fischer
J oliver.b.fischer@jabber.org
X http://xing.to/obf
Re: CDI/injection module - test failures? anyone else ....
Posted by "P. Ottlinger" <po...@apache.org>.
Am 30.11.2017 um 10:02 schrieb Oliver B. Fischer:
> Can you build it on a different machine?
Mac works fine, Ubuntu seems to be related to the version in use -
interesting detail:
https://builds.apache.org/view/S-Z/view/Tamaya/job/Tamaya-Extensions-Master-with-Coverage/256/consoleFull
Building remotely on ubuntu-eu2 (ubuntu trusty) in workspace
/home/jenkins/jenkins-slave/workspace/Tamaya-Extensions-Master-with-Coverage
-> build is fine
https://builds.apache.org/view/S-Z/view/Tamaya/job/Tamaya-Extensions-Master-with-Coverage/257/consoleFull
Building remotely on ubuntu-eu3 (ubuntu xenial) in workspace
/home/jenkins/jenkins-slave/workspace/Tamaya-Extensions-Master-with-Coverage
-> build has test problems.
I'm on Ubuntu 16.04LTS xenial as well.
Cheers,
Phil
Re: CDI/injection module - test failures? anyone else ....
Posted by "P. Ottlinger" <po...@apache.org>.
Hi again,
Am 25.11.2017 um 20:39 schrieb P. Ottlinger:
> Am 24.11.2017 um 11:14 schrieb Oliver B. Fischer:
>> Works on my machine. Git hash tested for extensions:
>> 826f9841f4642138d7dc37299fe9a4169fa99647
>
> thanks for verifying (again) that the problem does not happen on Mac.
>
> The tests fail on Ubuntu (like ASF-Jenkins and my machine).
Cleaning the workspace does not help so it does not seem to be related
to other tests or so .... any clues?!
Thanks,
Phil
Re: CDI/injection module - test failures? anyone else ....
Posted by "P. Ottlinger" <po...@apache.org>.
Hi,
Am 24.11.2017 um 11:14 schrieb Oliver B. Fischer:
> Works on my machine. Git hash tested for extensions:
> 826f9841f4642138d7dc37299fe9a4169fa99647
thanks for verifying (again) that the problem does not happen on Mac.
The tests fail on Ubuntu (like ASF-Jenkins and my machine).
Strange ....
Cheers,
Phil
Re: CDI/injection module - test failures? anyone else ....
Posted by "Oliver B. Fischer" <o....@swe-blog.net>.
Works on my machine. Git hash tested for extensions:
826f9841f4642138d7dc37299fe9a4169fa99647
Am 24.11.17 um 10:54 schrieb Oliver B. Fischer:
> Give me a minute to run my builds on my machine.
>
>
> Am 23.11.17 um 23:36 schrieb P. Ottlinger:
>> Am 12.11.2017 um 08:43 schrieb Anatole Tresch:
>> Sorry to bother you again.
>>
>> I still experience the failures (even after git clean -fxd)
>>
>> Tests in error:
>>
>> CDIAwareServiceContextTest.getServiceReturnsInstanceWithHighestPriority:57
>>
>> » IllegalState
>>
>> CDIAwareServiceContextTest.getServiceReturnsNonCachedInstanceAtFirstCall:32
>>
>> » IllegalState
>>
>> CDIAwareServiceContextTest.getServiceReturnsNullIfThereAreNoRegisteredSPIInstancesAvailable:50
>>
>> » IllegalState
>>
>> CDIAwareServiceContextTest.getServiceReturnsOnSecondCallCachedInstance:40
>>
>> » IllegalState
>> ConfigurationProducerTest.actualPropertyValues » Runtime Could not
>> inject memb...
>> ConfigurationProducerTest.defaultValues » Runtime Could not inject
>> members
>> ConfigurationProducerTest.optionalIntegerFieldIsSet » Runtime Could
>> not inject...
>> ConfigurationProducerTest.optionalStringFieldIsSet » Runtime Could
>> not
>> inject ...
>> ConfigurationProducerTest.providerIntegerFieldIsSet » Runtime Could
>> not inject...
>> ConfigurationProducerTest.providerStringFieldIsSet » Runtime Could
>> not
>> inject ...
>> ConfiguredBTest.test_Configuration_is_injected_correctly:47 » Config
>> Failed to...
>>
>> Tests run: 30, Failures: 0, Errors: 11, Skipped: 0
>>
>>
>> What do I do differently than you guys?!
>>
>> Phil
>
--
N Oliver B. Fischer
A Schönhauser Allee 64, 10437 Berlin, Deutschland/Germany
P +49 30 44793251
M +49 178 7903538
E o.b.fischer@swe-blog.net
S oliver.b.fischer
J oliver.b.fischer@jabber.org
X http://xing.to/obf
Re: CDI/injection module - test failures? anyone else ....
Posted by "Oliver B. Fischer" <o....@swe-blog.net>.
Give me a minute to run my builds on my machine.
Am 23.11.17 um 23:36 schrieb P. Ottlinger:
> Am 12.11.2017 um 08:43 schrieb Anatole Tresch:
>> Will recheck but basically 99% sure things work under Windows, because
>> thsts what I did before the last push...
> Sorry to bother you again.
>
> I still experience the failures (even after git clean -fxd)
>
> Tests in error:
>
> CDIAwareServiceContextTest.getServiceReturnsInstanceWithHighestPriority:57
> » IllegalState
>
> CDIAwareServiceContextTest.getServiceReturnsNonCachedInstanceAtFirstCall:32
> » IllegalState
>
> CDIAwareServiceContextTest.getServiceReturnsNullIfThereAreNoRegisteredSPIInstancesAvailable:50
> » IllegalState
>
> CDIAwareServiceContextTest.getServiceReturnsOnSecondCallCachedInstance:40
> » IllegalState
> ConfigurationProducerTest.actualPropertyValues » Runtime Could not
> inject memb...
> ConfigurationProducerTest.defaultValues » Runtime Could not inject members
> ConfigurationProducerTest.optionalIntegerFieldIsSet » Runtime Could
> not inject...
> ConfigurationProducerTest.optionalStringFieldIsSet » Runtime Could not
> inject ...
> ConfigurationProducerTest.providerIntegerFieldIsSet » Runtime Could
> not inject...
> ConfigurationProducerTest.providerStringFieldIsSet » Runtime Could not
> inject ...
> ConfiguredBTest.test_Configuration_is_injected_correctly:47 » Config
> Failed to...
>
> Tests run: 30, Failures: 0, Errors: 11, Skipped: 0
>
>
> What do I do differently than you guys?!
>
> Phil
--
N Oliver B. Fischer
A Schönhauser Allee 64, 10437 Berlin, Deutschland/Germany
P +49 30 44793251
M +49 178 7903538
E o.b.fischer@swe-blog.net
S oliver.b.fischer
J oliver.b.fischer@jabber.org
X http://xing.to/obf
Re: CDI/injection module - test failures? anyone else ....
Posted by "P. Ottlinger" <po...@apache.org>.
Am 12.11.2017 um 08:43 schrieb Anatole Tresch:
> Will recheck but basically 99% sure things work under Windows, because
> thsts what I did before the last push...
Sorry to bother you again.
I still experience the failures (even after git clean -fxd)
Tests in error:
CDIAwareServiceContextTest.getServiceReturnsInstanceWithHighestPriority:57
» IllegalState
CDIAwareServiceContextTest.getServiceReturnsNonCachedInstanceAtFirstCall:32
» IllegalState
CDIAwareServiceContextTest.getServiceReturnsNullIfThereAreNoRegisteredSPIInstancesAvailable:50
» IllegalState
CDIAwareServiceContextTest.getServiceReturnsOnSecondCallCachedInstance:40
» IllegalState
ConfigurationProducerTest.actualPropertyValues » Runtime Could not
inject memb...
ConfigurationProducerTest.defaultValues » Runtime Could not inject members
ConfigurationProducerTest.optionalIntegerFieldIsSet » Runtime Could
not inject...
ConfigurationProducerTest.optionalStringFieldIsSet » Runtime Could not
inject ...
ConfigurationProducerTest.providerIntegerFieldIsSet » Runtime Could
not inject...
ConfigurationProducerTest.providerStringFieldIsSet » Runtime Could not
inject ...
ConfiguredBTest.test_Configuration_is_injected_correctly:47 » Config
Failed to...
Tests run: 30, Failures: 0, Errors: 11, Skipped: 0
What do I do differently than you guys?!
Phil
Re: CDI/injection module - test failures? anyone else ....
Posted by Anatole Tresch <at...@gmail.com>.
Will recheck but basically 99% sure things work under Windows, because
thsts what I did before the last push...
Am 12.11.2017 00:26 schrieb "P. Ottlinger" <po...@apache.org>:
Hi,
Am 10.11.2017 um 00:20 schrieb Oliver B. Fischer:
> I think this will be a plattform issue. As far as I know Anatole uses
> Windows...
>
>
> Am 10.11.17 um 00:17 schrieb P. Ottlinger:
>> Am 10.11.2017 um 00:08 schrieb Oliver B. Fischer:
>>> Works on my Mac. Which OS are you using?
>> Ubuntu JDK8_152
>>
>> $ mvn clean install
>> yields the problem.
>>
>> It seems as if the Weld container does not start at all ... I do not see
>> the log output I see in Eclipse.
>>
>> Phil
>
this issue is really strange -
I can reconfirm tests go through in IDE and Maven/console on Mac.
Even if I clean my Maven-repository to download SNAPSHOTs from Apache
the tests fail constantly on Ubuntu/Maven console.
@Anatole: can you reconfirm it works on Windows in console/with Maven?
Thanks,
Phil
Re: CDI/injection module - test failures? anyone else ....
Posted by "P. Ottlinger" <po...@apache.org>.
Hi,
Am 10.11.2017 um 00:20 schrieb Oliver B. Fischer:
> I think this will be a plattform issue. As far as I know Anatole uses
> Windows...
>
>
> Am 10.11.17 um 00:17 schrieb P. Ottlinger:
>> Am 10.11.2017 um 00:08 schrieb Oliver B. Fischer:
>>> Works on my Mac. Which OS are you using?
>> Ubuntu JDK8_152
>>
>> $ mvn clean install
>> yields the problem.
>>
>> It seems as if the Weld container does not start at all ... I do not see
>> the log output I see in Eclipse.
>>
>> Phil
>
this issue is really strange -
I can reconfirm tests go through in IDE and Maven/console on Mac.
Even if I clean my Maven-repository to download SNAPSHOTs from Apache
the tests fail constantly on Ubuntu/Maven console.
@Anatole: can you reconfirm it works on Windows in console/with Maven?
Thanks,
Phil
Re: CDI/injection module - test failures? anyone else ....
Posted by "P. Ottlinger" <po...@apache.org>.
Am 10.11.2017 um 00:21 schrieb P. Ottlinger:
> Am 10.11.2017 um 00:20 schrieb Oliver B. Fischer:
>> I think this will be a plattform issue. As far as I know Anatole uses
>> Windows...
@Anatole: can you try as well? (I thought you are on Ubuntu as well)
here's my test output:
Running org.apache.tamaya.cdi.ConfigurationProducerTest
Nov 10, 2017 12:24:16 AM org.jboss.weld.bootstrap.WeldStartup startContainer
INFO: WELD-000101: Transactional services not available. Injection of
@Inject UserTransaction not available. Transactional observers will be
invoked synchronously.
Nov 10, 2017 12:24:16 AM org.apache.tamaya.cdi.ConfigurationProducer
resolveAndConvert
INFORMATION: Using default value: 'true' for IP: [BackedAnnotatedField]
@Inject @Config private
org.apache.tamaya.cdi.ConfigurationProducerTest$AllTypes.defaultBoolean
Nov 10, 2017 12:24:16 AM org.jboss.arquillian.core.impl.ObserverImpl
resolveArguments
WARNUNG: Argument 1 for UpdateTestResultBeforeAfter.update is null. It
won't be invoked.
Nov 10, 2017 12:24:16 AM org.jboss.arquillian.core.impl.ObserverImpl
resolveArguments
WARNUNG: Argument 1 for UpdateTestResultBeforeAfter.update is null. It
won't be invoked.
Nov 10, 2017 12:24:16 AM org.apache.tamaya.cdi.ConfigurationProducer
resolveAndConvert
INFORMATION: Using default value: 'true' for IP: [BackedAnnotatedField]
@Inject @Config private
org.apache.tamaya.cdi.ConfigurationProducerTest$AllTypes.defaultBoolean
Nov 10, 2017 12:24:16 AM org.jboss.arquillian.core.impl.ObserverImpl
resolveArguments
WARNUNG: Argument 1 for UpdateTestResultBeforeAfter.update is null. It
won't be invoked.
Nov 10, 2017 12:24:16 AM org.jboss.arquillian.core.impl.ObserverImpl
resolveArguments
WARNUNG: Argument 1 for UpdateTestResultBeforeAfter.update is null. It
won't be invoked.
Nov 10, 2017 12:24:16 AM org.apache.tamaya.cdi.ConfigurationProducer
resolveAndConvert
INFORMATION: Using default value: 'true' for IP: [BackedAnnotatedField]
@Inject @Config private
org.apache.tamaya.cdi.ConfigurationProducerTest$AllTypes.defaultBoolean
Nov 10, 2017 12:24:16 AM org.jboss.arquillian.core.impl.ObserverImpl
resolveArguments
WARNUNG: Argument 1 for UpdateTestResultBeforeAfter.update is null. It
won't be invoked.
Nov 10, 2017 12:24:16 AM org.jboss.arquillian.core.impl.ObserverImpl
resolveArguments
WARNUNG: Argument 1 for UpdateTestResultBeforeAfter.update is null. It
won't be invoked.
Nov 10, 2017 12:24:16 AM org.apache.tamaya.cdi.ConfigurationProducer
resolveAndConvert
INFORMATION: Using default value: 'true' for IP: [BackedAnnotatedField]
@Inject @Config private
org.apache.tamaya.cdi.ConfigurationProducerTest$AllTypes.defaultBoolean
Nov 10, 2017 12:24:16 AM org.jboss.arquillian.core.impl.ObserverImpl
resolveArguments
WARNUNG: Argument 1 for UpdateTestResultBeforeAfter.update is null. It
won't be invoked.
Nov 10, 2017 12:24:16 AM org.jboss.arquillian.core.impl.ObserverImpl
resolveArguments
WARNUNG: Argument 1 for UpdateTestResultBeforeAfter.update is null. It
won't be invoked.
Nov 10, 2017 12:24:16 AM org.apache.tamaya.cdi.ConfigurationProducer
resolveAndConvert
INFORMATION: Using default value: 'true' for IP: [BackedAnnotatedField]
@Inject @Config private
org.apache.tamaya.cdi.ConfigurationProducerTest$AllTypes.defaultBoolean
Nov 10, 2017 12:24:16 AM org.jboss.arquillian.core.impl.ObserverImpl
resolveArguments
WARNUNG: Argument 1 for UpdateTestResultBeforeAfter.update is null. It
won't be invoked.
Nov 10, 2017 12:24:16 AM org.jboss.arquillian.core.impl.ObserverImpl
resolveArguments
WARNUNG: Argument 1 for UpdateTestResultBeforeAfter.update is null. It
won't be invoked.
Nov 10, 2017 12:24:16 AM org.apache.tamaya.cdi.ConfigurationProducer
resolveAndConvert
INFORMATION: Using default value: 'true' for IP: [BackedAnnotatedField]
@Inject @Config private
org.apache.tamaya.cdi.ConfigurationProducerTest$AllTypes.defaultBoolean
Nov 10, 2017 12:24:16 AM org.jboss.arquillian.core.impl.ObserverImpl
resolveArguments
WARNUNG: Argument 1 for UpdateTestResultBeforeAfter.update is null. It
won't be invoked.
Nov 10, 2017 12:24:16 AM org.jboss.arquillian.core.impl.ObserverImpl
resolveArguments
WARNUNG: Argument 1 for UpdateTestResultBeforeAfter.update is null. It
won't be invoked.
Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 0.15 sec
<<< FAILURE! - in org.apache.tamaya.cdi.ConfigurationProducerTest
optionalIntegerFieldIsSet(org.apache.tamaya.cdi.ConfigurationProducerTest)
Time elapsed: 0.012 sec <<< ERROR!
java.lang.RuntimeException: Could not inject members
Caused by: org.apache.tamaya.ConfigException: Can't resolve any of the
possible config keys: [defaultBoolean.value] to the required target
type: TypeLiteral{type=class java.lang.Boolean}, supported formats: []
actualPropertyValues(org.apache.tamaya.cdi.ConfigurationProducerTest)
Time elapsed: 0.008 sec <<< ERROR!
java.lang.RuntimeException: Could not inject members
Caused by: org.apache.tamaya.ConfigException: Can't resolve any of the
possible config keys: [defaultBoolean.value] to the required target
type: TypeLiteral{type=class java.lang.Boolean}, supported formats: []
providerIntegerFieldIsSet(org.apache.tamaya.cdi.ConfigurationProducerTest)
Time elapsed: 0.006 sec <<< ERROR!
java.lang.RuntimeException: Could not inject members
Caused by: org.apache.tamaya.ConfigException: Can't resolve any of the
possible config keys: [defaultBoolean.value] to the required target
type: TypeLiteral{type=class java.lang.Boolean}, supported formats: []
optionalStringFieldIsSet(org.apache.tamaya.cdi.ConfigurationProducerTest)
Time elapsed: 0.008 sec <<< ERROR!
java.lang.RuntimeException: Could not inject members
Caused by: org.apache.tamaya.ConfigException: Can't resolve any of the
possible config keys: [defaultBoolean.value] to the required target
type: TypeLiteral{type=class java.lang.Boolean}, supported formats: []
defaultValues(org.apache.tamaya.cdi.ConfigurationProducerTest) Time
elapsed: 0.008 sec <<< ERROR!
java.lang.RuntimeException: Could not inject members
Caused by: org.apache.tamaya.ConfigException: Can't resolve any of the
possible config keys: [defaultBoolean.value] to the required target
type: TypeLiteral{type=class java.lang.Boolean}, supported formats: []
providerStringFieldIsSet(org.apache.tamaya.cdi.ConfigurationProducerTest)
Time elapsed: 0.007 sec <<< ERROR!
java.lang.RuntimeException: Could not inject members
Caused by: org.apache.tamaya.ConfigException: Can't resolve any of the
possible config keys: [defaultBoolean.value] to the required target
type: TypeLiteral{type=class java.lang.Boolean}, supported formats: []
Running org.apache.tamaya.cdi.CDIConfiguredMethodTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015
sec - in org.apache.tamaya.cdi.CDIConfiguredMethodTest
n8
Phil
Re: CDI/injection module - test failures? anyone else ....
Posted by "P. Ottlinger" <po...@apache.org>.
Am 10.11.2017 um 00:20 schrieb Oliver B. Fischer:
> I think this will be a plattform issue. As far as I know Anatole uses
> Windows...
Would make sense since Jenkins uses Ubuntu as well ....
run once, have fun everywhere ;(
n8
Phil
Re: CDI/injection module - test failures? anyone else ....
Posted by "Oliver B. Fischer" <o....@swe-blog.net>.
I think this will be a plattform issue. As far as I know Anatole uses
Windows...
Am 10.11.17 um 00:17 schrieb P. Ottlinger:
> Am 10.11.2017 um 00:08 schrieb Oliver B. Fischer:
>> Works on my Mac. Which OS are you using?
> Ubuntu JDK8_152
>
> $ mvn clean install
> yields the problem.
>
> It seems as if the Weld container does not start at all ... I do not see
> the log output I see in Eclipse.
>
> Phil
--
N Oliver B. Fischer
A Schönhauser Allee 64, 10437 Berlin, Deutschland/Germany
P +49 30 44793251
M +49 178 7903538
E o.b.fischer@swe-blog.net
S oliver.b.fischer
J oliver.b.fischer@jabber.org
X http://xing.to/obf
Re: CDI/injection module - test failures? anyone else ....
Posted by "P. Ottlinger" <po...@apache.org>.
Am 10.11.2017 um 00:08 schrieb Oliver B. Fischer:
> Works on my Mac. Which OS are you using?
Ubuntu JDK8_152
$ mvn clean install
yields the problem.
It seems as if the Weld container does not start at all ... I do not see
the log output I see in Eclipse.
Phil
Re: CDI/injection module - test failures? anyone else ....
Posted by "Oliver B. Fischer" <o....@swe-blog.net>.
Works on my Mac. Which OS are you using?
Am 09.11.17 um 23:46 schrieb P. Ottlinger:
> Hu guys,
>
> concerning the test failures ....
> running the tests in Eclipse yields a lot of debug output from Tamaya
> and tests are GREEN.
>
> While running on console gives failures (just like Jenkins):
>
>
> optionalIntegerFieldIsSet(org.apache.tamaya.cdi.ConfigurationProducerTest)
> Time elapsed: 0.011 sec <<< ERROR!
> java.lang.RuntimeException: Could not inject members
> Caused by: org.apache.tamaya.ConfigException: Can't resolve any of the
> possible config keys: [defaultBoolean.value] to the required target
> type: TypeLiteral{type=class java.lang.Boolean}, supported formats: []
>
> actualPropertyValues(org.apache.tamaya.cdi.ConfigurationProducerTest)
> Time elapsed: 0.008 sec <<< ERROR!
> java.lang.RuntimeException: Could not inject members
> Caused by: org.apache.tamaya.ConfigException: Can't resolve any of the
> possible config keys: [defaultBoolean.value] to the required target
> type: TypeLiteral{type=class java.lang.Boolean}, supported formats: []
>
> providerIntegerFieldIsSet(org.apache.tamaya.cdi.ConfigurationProducerTest)
> Time elapsed: 0.006 sec <<< ERROR!
> java.lang.RuntimeException: Could not inject members
> Caused by: org.apache.tamaya.ConfigException: Can't resolve any of the
> possible config keys: [defaultBoolean.value] to the required target
> type: TypeLiteral{type=class java.lang.Boolean}, supported formats: []
>
> optionalStringFieldIsSet(org.apache.tamaya.cdi.ConfigurationProducerTest)
> Time elapsed: 0.005 sec <<< ERROR!
> java.lang.RuntimeException: Could not inject members
> Caused by: org.apache.tamaya.ConfigException: Can't resolve any of the
> possible config keys: [defaultBoolean.value] to the required target
> type: TypeLiteral{type=class java.lang.Boolean}, supported formats: []
>
> defaultValues(org.apache.tamaya.cdi.ConfigurationProducerTest) Time
> elapsed: 0.005 sec <<< ERROR!
> java.lang.RuntimeException: Could not inject members
> Caused by: org.apache.tamaya.ConfigException: Can't resolve any of the
> possible config keys: [defaultBoolean.value] to the required target
> type: TypeLiteral{type=class java.lang.Boolean}, supported formats: []
>
> providerStringFieldIsSet(org.apache.tamaya.cdi.ConfigurationProducerTest)
> Time elapsed: 0.006 sec <<< ERROR!
> java.lang.RuntimeException: Could not inject members
> Caused by: org.apache.tamaya.ConfigException: Can't resolve any of the
> possible config keys: [defaultBoolean.value] to the required target
> type: TypeLiteral{type=class java.lang.Boolean}, supported formats: []
>
>
>
> Any ideas what this could be?!
>
> I tried to put in some Thread.sleep() in order to wait for Tamaya
> changes to be applied, but 2-3 seconds did not change anyhing.
>
> Cheers,
> Phil
>
--
N Oliver B. Fischer
A Schönhauser Allee 64, 10437 Berlin, Deutschland/Germany
P +49 30 44793251
M +49 178 7903538
E o.b.fischer@swe-blog.net
S oliver.b.fischer
J oliver.b.fischer@jabber.org
X http://xing.to/obf
Re: CDI/injection module - test failures? anyone else ....
Posted by "P. Ottlinger" <po...@apache.org>.
Hu guys,
concerning the test failures ....
running the tests in Eclipse yields a lot of debug output from Tamaya
and tests are GREEN.
While running on console gives failures (just like Jenkins):
optionalIntegerFieldIsSet(org.apache.tamaya.cdi.ConfigurationProducerTest)
Time elapsed: 0.011 sec <<< ERROR!
java.lang.RuntimeException: Could not inject members
Caused by: org.apache.tamaya.ConfigException: Can't resolve any of the
possible config keys: [defaultBoolean.value] to the required target
type: TypeLiteral{type=class java.lang.Boolean}, supported formats: []
actualPropertyValues(org.apache.tamaya.cdi.ConfigurationProducerTest)
Time elapsed: 0.008 sec <<< ERROR!
java.lang.RuntimeException: Could not inject members
Caused by: org.apache.tamaya.ConfigException: Can't resolve any of the
possible config keys: [defaultBoolean.value] to the required target
type: TypeLiteral{type=class java.lang.Boolean}, supported formats: []
providerIntegerFieldIsSet(org.apache.tamaya.cdi.ConfigurationProducerTest)
Time elapsed: 0.006 sec <<< ERROR!
java.lang.RuntimeException: Could not inject members
Caused by: org.apache.tamaya.ConfigException: Can't resolve any of the
possible config keys: [defaultBoolean.value] to the required target
type: TypeLiteral{type=class java.lang.Boolean}, supported formats: []
optionalStringFieldIsSet(org.apache.tamaya.cdi.ConfigurationProducerTest)
Time elapsed: 0.005 sec <<< ERROR!
java.lang.RuntimeException: Could not inject members
Caused by: org.apache.tamaya.ConfigException: Can't resolve any of the
possible config keys: [defaultBoolean.value] to the required target
type: TypeLiteral{type=class java.lang.Boolean}, supported formats: []
defaultValues(org.apache.tamaya.cdi.ConfigurationProducerTest) Time
elapsed: 0.005 sec <<< ERROR!
java.lang.RuntimeException: Could not inject members
Caused by: org.apache.tamaya.ConfigException: Can't resolve any of the
possible config keys: [defaultBoolean.value] to the required target
type: TypeLiteral{type=class java.lang.Boolean}, supported formats: []
providerStringFieldIsSet(org.apache.tamaya.cdi.ConfigurationProducerTest)
Time elapsed: 0.006 sec <<< ERROR!
java.lang.RuntimeException: Could not inject members
Caused by: org.apache.tamaya.ConfigException: Can't resolve any of the
possible config keys: [defaultBoolean.value] to the required target
type: TypeLiteral{type=class java.lang.Boolean}, supported formats: []
Any ideas what this could be?!
I tried to put in some Thread.sleep() in order to wait for Tamaya
changes to be applied, but 2-3 seconds did not change anyhing.
Cheers,
Phil