tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Hudson Server <hud...@hudson.zones.apache.org>
Subject Build failed in Hudson: Tuscany-2x #395
Date Fri, 15 Jan 2010 09:23:06 GMT
See <http://hudson.zones.apache.org/hudson/job/Tuscany-2x/395/>

------------------------------------------
[...truncated 8178 lines...]
[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 09:28:43.684 -----------------------------------------------
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 09:28:43.689
!MESSAGE Error reading configuration: /tmp/hudson/.tuscany/equinox/f90e7d4b-f3c9-4df5-9f5e-d9c4a955a32b/config/org.eclipse.osgi/.manager/.fileTableLock
(No such file or directory)
!STACK 0
java.io.FileNotFoundException: /tmp/hudson/.tuscany/equinox/f90e7d4b-f3c9-4df5-9f5e-d9c4a955a32b/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.548 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/f90e7d4b-f3c9-4df5-9f5e-d9c4a955a32b/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_09-15-35/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_09-15-35/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$AppClassLoader@360be0
Jan 15, 2010 9:28:46 AM 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 9:28:46 AM 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 9:28:47 AM org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl addEndpoint
INFO: Add endpoint - (@20056641)Endpoint:  URI = CalculatorServiceComponent#service-binding(CalculatorServiceImpl/CalculatorServiceImpl)
Jan 15, 2010 9:28:47 AM org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl addEndpoint
INFO: Add endpoint - (@4148925)Endpoint:  URI = AddServiceComponent#service-binding(AddServiceImpl/AddServiceImpl)
Jan 15, 2010 9:28:47 AM org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl addEndpoint
INFO: Add endpoint - (@4873336)Endpoint:  URI = SubtractServiceComponent#service-binding(SubtractServiceImpl/SubtractServiceImpl)
Jan 15, 2010 9:28:47 AM org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl addEndpoint
INFO: Add endpoint - (@33355664)Endpoint:  URI = MultiplyServiceComponent#service-binding(MultiplyServiceImpl/MultiplyServiceImpl)
Jan 15, 2010 9:28:47 AM org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl addEndpoint
INFO: Add endpoint - (@14765441)Endpoint:  URI = DivideServiceComponent#service-binding(DivideServiceImpl/DivideServiceImpl)
SCA API ClassLoader: sun.misc.Launcher$AppClassLoader@360be0
3 + 2=5.0
3 - 2=1.0
3 * 2=6.0
3 / 2=1.5
Jan 15, 2010 9:28:47 AM org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl addEndpoint
INFO: Add endpoint - (@32112901)Endpoint:  URI = CalculatorClient#service-binding(CalculatorClient/CalculatorClient)
Jan 15, 2010 9:28:47 AM org.apache.tuscany.sca.node.impl.NodeImpl stop
INFO: Stopping node: http://tuscany.apache.org/sca/1.1/nodes/default0
Jan 15, 2010 9:28:47 AM org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl endpointRemoved
INFO: Remove endpoint - (@20056641)Endpoint:  URI = CalculatorServiceComponent#service-binding(CalculatorServiceImpl/CalculatorServiceImpl)
Jan 15, 2010 9:28:47 AM org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl endpointRemoved
INFO: Remove endpoint - (@4148925)Endpoint:  URI = AddServiceComponent#service-binding(AddServiceImpl/AddServiceImpl)
Jan 15, 2010 9:28:47 AM org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl endpointRemoved
INFO: Remove endpoint - (@4873336)Endpoint:  URI = SubtractServiceComponent#service-binding(SubtractServiceImpl/SubtractServiceImpl)
Jan 15, 2010 9:28:47 AM org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl endpointRemoved
INFO: Remove endpoint - (@33355664)Endpoint:  URI = MultiplyServiceComponent#service-binding(MultiplyServiceImpl/MultiplyServiceImpl)
Jan 15, 2010 9:28:47 AM org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl endpointRemoved
INFO: Remove endpoint - (@14765441)Endpoint:  URI = DivideServiceComponent#service-binding(DivideServiceImpl/DivideServiceImpl)
Jan 15, 2010 9:28:47 AM org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl endpointRemoved
INFO: Remove endpoint - (@32112901)Endpoint:  URI = CalculatorClient#service-binding(CalculatorClient/CalculatorClient)
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.354 sec

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[HUDSON] Recording test results
[INFO] [osgi-junit:test {execution: osgi-test}]
[INFO] snapshot org.apache.tuscany.sca:tuscany-extensibility-equinox:2.0-SNAPSHOT: checking
for updates from apache.snapshots
[INFO] snapshot org.apache.tuscany.sca:tuscany-extensibility-equinox:2.0-SNAPSHOT: checking
for updates from codehaus-snapshot
[INFO] snapshot org.apache.tuscany.sca:tuscany-contribution-osgi:2.0-SNAPSHOT: checking for
updates from apache.snapshots
[INFO] snapshot org.apache.tuscany.sca:tuscany-contribution-osgi:2.0-SNAPSHOT: checking for
updates from codehaus-snapshot
[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 09:28:50.168 -----------------------------------------------
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 09:28:50.174
!MESSAGE Error reading configuration: /tmp/hudson/.tuscany/equinox/d75ce05b-98fe-4e5f-8bce-fd374630bc2e/config/org.eclipse.osgi/.manager/.fileTableLock
(No such file or directory)
!STACK 0
java.io.FileNotFoundException: /tmp/hudson/.tuscany/equinox/d75ce05b-98fe-4e5f-8bce-fd374630bc2e/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_09-15-35/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: 6 minutes 5 seconds
[INFO] Finished at: Fri Jan 15 09:28:50 UTC 2010
[INFO] Final Memory: 79M/749M
[INFO] ------------------------------------------------------------------------
Waiting for Hudson to finish collecting data
Sending e-mails to: commits@tuscany.apache.org
Sending e-mails to: commits@tuscany.apache.org
Sending e-mails to: commits@tuscany.apache.org
Sending e-mails to: commits@tuscany.apache.org
channel stopped


Mime
View raw message