See <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/397/changes>
Changes:
[antelder] Temporarily takeout bpel itests to see if that changes the hudson
too many open files problem
[slaws] Fix to make OTEST JCA_2005 work again. This is an @EagerInit scenario
and out code was starting scope containers before all endpoints had been
registered. With all matching going through the binding/registry now this meant
that the reference being used inside the @EagerInit failed to resolve. This
change moves the scope container start to after the services are registered.
------------------------------------------
[...truncated 8001 lines...]
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Invoking Tuscany Eclipse JDT compiler
[INFO] Compiling 1 to
<http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/samples/calculator-equinox/target/test-classes>
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory:
<http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/samples/calculator-equinox/target/surefire-reports>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running calculator.CalculatorTestCase
!SESSION 2010-01-15 12:46:17.568 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
!ENTRY org.eclipse.osgi 4 0 2010-01-15 12:46:17.573
!MESSAGE Error reading configuration:
/tmp/hudson/.tuscany/equinox/32e8f27a-0051-4859-a8c6-fb58585b9476/config/org.eclipse.osgi/.manager/.fileTableLock
(No such file or directory)
!STACK 0
java.io.FileNotFoundException:
/tmp/hudson/.tuscany/equinox/32e8f27a-0051-4859-a8c6-fb58585b9476/config/org.eclipse.osgi/.manager/.fileTableLock
(No such file or directory)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
at
org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio.lock(Locker_JavaNio.java:32)
at
org.eclipse.osgi.storagemanager.StorageManager.lock(StorageManager.java:388)
at
org.eclipse.osgi.storagemanager.StorageManager.open(StorageManager.java:686)
at
org.eclipse.osgi.internal.baseadaptor.BaseStorage.initFileManager(BaseStorage.java:213)
at
org.eclipse.osgi.internal.baseadaptor.BaseStorage.initialize(BaseStorage.java:147)
at
org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage(BaseAdaptor.java:121)
at
org.eclipse.osgi.framework.internal.core.Framework.initialize(Framework.java:185)
at
org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:157)
at
org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalInit(EquinoxLauncher.java:68)
at
org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalStart(EquinoxLauncher.java:274)
at
org.eclipse.osgi.framework.internal.core.EquinoxLauncher.start(EquinoxLauncher.java:251)
at org.eclipse.osgi.launch.Equinox.start(Equinox.java:169)
at
org.apache.tuscany.sca.node.equinox.launcher.EquinoxHost.startFramework(EquinoxHost.java:636)
at
org.apache.tuscany.sca.node.equinox.launcher.EquinoxHost.start(EquinoxHost.java:190)
at
org.apache.tuscany.sca.node.equinox.launcher.NodeLauncher.<init>(NodeLauncher.java:63)
at
org.apache.tuscany.sca.node.equinox.launcher.NodeLauncher.newInstance(NodeLauncher.java:72)
at
calculator.CalculatorTestCase.setUpBeforeClass(CalculatorTestCase.java:44)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.545 sec <<<
FAILURE!
calculator.CalculatorTestCase Time elapsed: 0 sec <<< ERROR!
java.lang.IllegalStateException: org.osgi.framework.BundleException: An error
occurred trying to read the bundle
at
org.apache.tuscany.sca.node.equinox.launcher.EquinoxHost.start(EquinoxHost.java:331)
at
org.apache.tuscany.sca.node.equinox.launcher.NodeLauncher.<init>(NodeLauncher.java:63)
at
org.apache.tuscany.sca.node.equinox.launcher.NodeLauncher.newInstance(NodeLauncher.java:72)
at
calculator.CalculatorTestCase.setUpBeforeClass(CalculatorTestCase.java:44)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Caused by: org.osgi.framework.BundleException: An error occurred trying to read
the bundle
at
org.eclipse.osgi.internal.baseadaptor.BundleInstall.begin(BundleInstall.java:94)
at
org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:922)
at
org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:838)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:889)
at
org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:833)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:166)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:160)
at
org.apache.tuscany.sca.node.equinox.launcher.EquinoxHost.start(EquinoxHost.java:240)
... 23 more
Caused by: java.io.IOException: The directory
"/tmp/hudson/.tuscany/equinox/32e8f27a-0051-4859-a8c6-fb58585b9476/config/org.eclipse.osgi/bundles/1/1"
could not be created
at
org.eclipse.osgi.internal.baseadaptor.BundleInstall.begin(BundleInstall.java:68)
... 31 more
Results :
Tests in error:
calculator.CalculatorTestCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
[ERROR] There are test failures.
Please refer to
<http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/samples/calculator-equinox/target/surefire-reports>
for the individual test results.
[HUDSON] Recording test results
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar:
<http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/samples/calculator-equinox/target/sample-calculator-equinox.jar>
[INFO] [install:install {execution: default-install}]
[INFO] Installing
<http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/samples/calculator-equinox/target/sample-calculator-equinox.jar>
to
/home/hudson/.m2/repository/org/apache/tuscany/sca/sample-calculator-equinox/2.0-SNAPSHOT/sample-calculator-equinox-2.0-SNAPSHOT.jar
[HUDSON] Archiving
<http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/samples/calculator-equinox/pom.xml>
to
/export/home/hudson/hudson/jobs/Tuscany-2x/modules/org.apache.tuscany.sca$sample-calculator-equinox/builds/2010-01-15_12-33-13/archive/org.apache.tuscany.sca/sample-calculator-equinox/2.0-SNAPSHOT/pom.xml
[HUDSON] Archiving
<http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/samples/calculator-equinox/target/sample-calculator-equinox.jar>
to
/export/home/hudson/hudson/jobs/Tuscany-2x/modules/org.apache.tuscany.sca$sample-calculator-equinox/builds/2010-01-15_12-33-13/archive/org.apache.tuscany.sca/sample-calculator-equinox/2.0-SNAPSHOT/sample-calculator-equinox.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Tuscany SCA Sample Calculator OSGi
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting file set:
<http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/samples/calculator-osgi/target>
(included: [**], excluded: [])
[INFO] [enforcer:enforce {execution: enforce-plugin-versions}]
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources,
i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] Copying 2 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Invoking Tuscany Eclipse JDT compiler
[INFO] Compiling 12 to
<http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/samples/calculator-osgi/target/classes>
[INFO] Resolving OSGi bundle: sample-calculator-osgi
[INFO] OSGi bundle is resolved: sample-calculator-osgi
[INFO] [resources:testResources {execution: default-testResources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources,
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
<http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/samples/calculator-osgi/src/test/resources>
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Invoking Tuscany Eclipse JDT compiler
[INFO] Compiling 1 to
<http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/samples/calculator-osgi/target/test-classes>
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory:
<http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/samples/calculator-osgi/target/surefire-reports>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running calculator.CalculatorTestCase
SCA Node API ClassLoader: sun.misc.launcher$appclassloa...@360be0
Jan 15, 2010 12:46:19 PM org.apache.tuscany.sca.node.impl.NodeImpl start
INFO: Starting node: http://tuscany.apache.org/sca/1.1/nodes/default0 domain:
tuscany.apache.org
Jan 15, 2010 12:46:19 PM org.apache.tuscany.sca.node.impl.NodeFactoryImpl
loadContributions
INFO: Loading contribution:
<http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/samples/calculator-osgi/target/classes/>
Jan 15, 2010 12:46:21 PM
org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl addEndpoint
INFO: Add endpoint - (@16477279)Endpoint: URI =
CalculatorServiceComponent#service-binding(CalculatorServiceImpl/CalculatorServiceImpl)
Jan 15, 2010 12:46:21 PM
org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl addEndpoint
INFO: Add endpoint - (@8906500)Endpoint: URI =
AddServiceComponent#service-binding(AddServiceImpl/AddServiceImpl)
Jan 15, 2010 12:46:21 PM
org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl addEndpoint
INFO: Add endpoint - (@5237022)Endpoint: URI =
SubtractServiceComponent#service-binding(SubtractServiceImpl/SubtractServiceImpl)
Jan 15, 2010 12:46:21 PM
org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl addEndpoint
INFO: Add endpoint - (@5369678)Endpoint: URI =
MultiplyServiceComponent#service-binding(MultiplyServiceImpl/MultiplyServiceImpl)
Jan 15, 2010 12:46:21 PM
org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl addEndpoint
INFO: Add endpoint - (@20313166)Endpoint: URI =
DivideServiceComponent#service-binding(DivideServiceImpl/DivideServiceImpl)
Jan 15, 2010 12:46:21 PM
org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl addEndpoint
INFO: Add endpoint - (@20591791)Endpoint: URI =
CalculatorClient#service-binding(CalculatorClient/CalculatorClient)
SCA API ClassLoader: sun.misc.launcher$appclassloa...@360be0
3 + 2=5.0
3 - 2=1.0
3 * 2=6.0
3 / 2=1.5
Jan 15, 2010 12:46:21 PM org.apache.tuscany.sca.node.impl.NodeImpl stop
INFO: Stopping node: http://tuscany.apache.org/sca/1.1/nodes/default0
Jan 15, 2010 12:46:21 PM
org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl endpointRemoved
INFO: Remove endpoint - (@16477279)Endpoint: URI =
CalculatorServiceComponent#service-binding(CalculatorServiceImpl/CalculatorServiceImpl)
Jan 15, 2010 12:46:21 PM
org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl endpointRemoved
INFO: Remove endpoint - (@8906500)Endpoint: URI =
AddServiceComponent#service-binding(AddServiceImpl/AddServiceImpl)
Jan 15, 2010 12:46:21 PM
org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl endpointRemoved
INFO: Remove endpoint - (@5237022)Endpoint: URI =
SubtractServiceComponent#service-binding(SubtractServiceImpl/SubtractServiceImpl)
Jan 15, 2010 12:46:21 PM
org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl endpointRemoved
INFO: Remove endpoint - (@5369678)Endpoint: URI =
MultiplyServiceComponent#service-binding(MultiplyServiceImpl/MultiplyServiceImpl)
Jan 15, 2010 12:46:21 PM
org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl endpointRemoved
INFO: Remove endpoint - (@20313166)Endpoint: URI =
DivideServiceComponent#service-binding(DivideServiceImpl/DivideServiceImpl)
Jan 15, 2010 12:46:21 PM
org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl endpointRemoved
INFO: Remove endpoint - (@20591791)Endpoint: URI =
CalculatorClient#service-binding(CalculatorClient/CalculatorClient)
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.381 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[HUDSON] Recording test results
[INFO] [osgi-junit:test {execution: osgi-test}]
[INFO] Generating
<http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/samples/calculator-osgi/target/sample-calculator-osgi-osgi.jar>
[INFO] Generating
<http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/samples/calculator-osgi/target/sample-calculator-osgi-osgi-tests.jar>
[INFO] Surefire report directory:
<http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/samples/calculator-osgi/target/surefire-osgi-reports>
!SESSION 2010-01-15 12:46:22.013 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
!ENTRY org.eclipse.osgi 4 0 2010-01-15 12:46:22.020
!MESSAGE Error reading configuration:
/tmp/hudson/.tuscany/equinox/08925346-e25d-4ac2-ad52-decabac7a8ef/config/org.eclipse.osgi/.manager/.fileTableLock
(No such file or directory)
!STACK 0
java.io.FileNotFoundException:
/tmp/hudson/.tuscany/equinox/08925346-e25d-4ac2-ad52-decabac7a8ef/config/org.eclipse.osgi/.manager/.fileTableLock
(No such file or directory)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
at
org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio.lock(Locker_JavaNio.java:32)
at
org.eclipse.osgi.storagemanager.StorageManager.lock(StorageManager.java:388)
at
org.eclipse.osgi.storagemanager.StorageManager.open(StorageManager.java:686)
at
org.eclipse.osgi.internal.baseadaptor.BaseStorage.initFileManager(BaseStorage.java:213)
at
org.eclipse.osgi.internal.baseadaptor.BaseStorage.initialize(BaseStorage.java:147)
at
org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage(BaseAdaptor.java:121)
at
org.eclipse.osgi.framework.internal.core.Framework.initialize(Framework.java:185)
at
org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:157)
at
org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalInit(EquinoxLauncher.java:68)
at
org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalStart(EquinoxLauncher.java:274)
at
org.eclipse.osgi.framework.internal.core.EquinoxLauncher.start(EquinoxLauncher.java:251)
at org.eclipse.osgi.launch.Equinox.start(Equinox.java:169)
at
org.apache.tuscany.sca.node.equinox.launcher.EquinoxHost.startFramework(EquinoxHost.java:636)
at
org.apache.tuscany.sca.node.equinox.launcher.EquinoxHost.start(EquinoxHost.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tuscany.maven.plugin.surefire.OSGiSurefireBooter.startEquinox(OSGiSurefireBooter.java:973)
at
org.apache.tuscany.maven.plugin.surefire.OSGiSurefireBooter.start(OSGiSurefireBooter.java:927)
at
org.apache.tuscany.maven.plugin.surefire.OSGiSurefireBooter.runSuitesInProcess(OSGiSurefireBooter.java:322)
at
org.apache.tuscany.maven.plugin.surefire.OSGiSurefireBooter.main(OSGiSurefireBooter.java:852)
[HUDSON] Archiving
<http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/samples/calculator-osgi/pom.xml>
to
/export/home/hudson/hudson/jobs/Tuscany-2x/modules/org.apache.tuscany.sca$sample-calculator-osgi/builds/2010-01-15_12-33-13/archive/org.apache.tuscany.sca/sample-calculator-osgi/2.0-SNAPSHOT/pom.xml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
Please refer to
<http://hudson.zones.apache.org/hudson/job/Tuscany-2x/ws/sca-2x/samples/calculator-osgi/target/surefire-osgi-reports>
for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 minutes 48 seconds
[INFO] Finished at: Fri Jan 15 12:46:22 UTC 2010
[INFO] Final Memory: 78M/750M
[INFO] ------------------------------------------------------------------------
Waiting for Hudson to finish collecting data
Sending e-mails to: [email protected]
Sending e-mails to: [email protected]
Sending e-mails to: [email protected]
Sending e-mails to: [email protected]
channel stopped