karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: karaf-2.x » Apache Karaf :: Main #680
Date Wed, 08 Apr 2015 00:11:20 GMT
See <https://builds.apache.org/job/karaf-2.x/org.apache.karaf$org.apache.karaf.main/680/>

------------------------------------------
[...truncated 776 lines...]
	at org.apache.karaf.main.DefaultJDBCLock.<init>(DefaultJDBCLock.java:76)
	at org.apache.karaf.main.DerbyJDBCLock.<init>(DerbyJDBCLock.java:32)
	at org.apache.karaf.main.DerbyJDBCLockTest$2.<init>(DerbyJDBCLockTest.java:64)
	at org.apache.karaf.main.DerbyJDBCLockTest.createConnectionShouldConcatinateOptionsCorrect(DerbyJDBCLockTest.java:64)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

Apr 08, 2015 12:09:58 AM org.apache.karaf.main.DefaultJDBCLock createSchema
SEVERE: Could not create schema
java.lang.IllegalStateException: missing behavior definition for the preceding method call:
Connection.getMetaData()
Usage is: expect(a.foo()).andXXX()
	at org.easymock.internal.MockInvocationHandler.invoke(MockInvocationHandler.java:42)
	at org.easymock.internal.ObjectMethodsFilter.invoke(ObjectMethodsFilter.java:94)
	at com.sun.proxy.$Proxy7.isClosed(Unknown Source)
	at org.apache.karaf.main.DefaultJDBCLock.isConnected(DefaultJDBCLock.java:275)
	at org.apache.karaf.main.DefaultJDBCLock.getConnection(DefaultJDBCLock.java:316)
	at org.apache.karaf.main.DefaultJDBCLock.createSchema(DefaultJDBCLock.java:117)
	at org.apache.karaf.main.DefaultJDBCLock.init(DefaultJDBCLock.java:94)
	at org.apache.karaf.main.DefaultJDBCLock.<init>(DefaultJDBCLock.java:76)
	at org.apache.karaf.main.DerbyJDBCLock.<init>(DerbyJDBCLock.java:32)
	at org.apache.karaf.main.DerbyJDBCLockTest$2.<init>(DerbyJDBCLockTest.java:64)
	at org.apache.karaf.main.DerbyJDBCLockTest.createConnectionShouldConcatinateOptionsCorrect(DerbyJDBCLockTest.java:64)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

Apr 08, 2015 12:09:58 AM org.apache.karaf.main.DefaultJDBCLock isAlive
SEVERE: Lost lock!
Apr 08, 2015 12:09:58 AM org.apache.karaf.main.DefaultJDBCLock updateLock
WARNING: Failed to update database lock
java.sql.SQLException
	at org.easymock.internal.MockInvocationHandler.invoke(MockInvocationHandler.java:46)
	at org.easymock.internal.ObjectMethodsFilter.invoke(ObjectMethodsFilter.java:94)
	at com.sun.proxy.$Proxy10.executeUpdate(Unknown Source)
	at org.apache.karaf.main.DefaultJDBCLock.updateLock(DefaultJDBCLock.java:220)
	at org.apache.karaf.main.DefaultJDBCLock.lock(DefaultJDBCLock.java:187)
	at org.apache.karaf.main.BaseJDBCLockTest.lockShouldReturnFalseIfTheRowIsAlreadyLocked(BaseJDBCLockTest.java:193)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

Apr 08, 2015 12:09:58 AM org.apache.karaf.main.DefaultJDBCLock updateLock
WARNING: Failed to update database lock
java.sql.SQLException
	at org.easymock.internal.MockInvocationHandler.invoke(MockInvocationHandler.java:46)
	at org.easymock.internal.ObjectMethodsFilter.invoke(ObjectMethodsFilter.java:94)
	at com.sun.proxy.$Proxy10.executeUpdate(Unknown Source)
	at org.apache.karaf.main.DefaultJDBCLock.updateLock(DefaultJDBCLock.java:220)
	at org.apache.karaf.main.DefaultJDBCLock.lock(DefaultJDBCLock.java:187)
	at org.apache.karaf.main.BaseJDBCLockTest.lockShouldReturnFalseIfAnotherRowIsLocked(BaseJDBCLockTest.java:169)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

Apr 08, 2015 12:09:58 AM org.apache.karaf.main.DefaultJDBCLock updateLock
WARNING: Failed to update database lock
java.sql.SQLException
	at org.easymock.internal.MockInvocationHandler.invoke(MockInvocationHandler.java:46)
	at org.easymock.internal.ObjectMethodsFilter.invoke(ObjectMethodsFilter.java:94)
	at com.sun.proxy.$Proxy10.executeUpdate(Unknown Source)
	at org.apache.karaf.main.DefaultJDBCLock.updateLock(DefaultJDBCLock.java:220)
	at org.apache.karaf.main.DefaultJDBCLock.isAlive(DefaultJDBCLock.java:263)
	at org.apache.karaf.main.BaseJDBCLockTest.isAliveShouldReturnFalseIfItNotHoldsTheLock(BaseJDBCLockTest.java:309)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

Apr 08, 2015 12:09:58 AM org.apache.karaf.main.DefaultJDBCLock createSchema
INFO: Executing statement: CREATE TABLE LOCK_TABLE (MOMENT BIGINT, NODE VARCHAR(20))
Apr 08, 2015 12:09:58 AM org.apache.karaf.main.DefaultJDBCLock createSchema
INFO: Executing statement: INSERT INTO LOCK_TABLE (MOMENT, NODE) VALUES (1, 'karaf_cluster')
Apr 08, 2015 12:09:58 AM org.apache.karaf.main.DefaultJDBCLock isAlive
SEVERE: Lost lock!
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec - in org.apache.karaf.main.DerbyJDBCLockTest
Running org.apache.karaf.main.StatementsTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in org.apache.karaf.main.StatementsTest
Running org.apache.karaf.main.OracleJDBCLockIntegrationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec - in org.apache.karaf.main.OracleJDBCLockIntegrationTest
Running org.apache.karaf.main.MainStartTest
Apr 08, 2015 12:09:59 AM org.ops4j.pax.swissbox.tinybundles.core.metadata.RawBuilder$1 run
INFO: Copy thread finished.
Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 11.067 sec - in org.apache.karaf.main.MainStartTest

Results :

Tests run: 84, Failures: 0, Errors: 0, Skipped: 6

[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-bundle-plugin:2.5.3:bundle (default-bundle) @ org.apache.karaf.main ---
[WARNING] Bundle org.apache.karaf:org.apache.karaf.main:bundle:2.4.2-SNAPSHOT : Export org.apache.karaf.main,
 has 2,  private references [org.osgi.framework.launch, org.osgi.framework.startlevel], 
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ org.apache.karaf.main
---
[INFO] 
[INFO] --- maven-shade-plugin:2.2:shade (default) @ org.apache.karaf.main ---
[INFO] Excluding org.apache.karaf:org.apache.karaf.util:jar:2.4.2-SNAPSHOT from the shaded
jar.
[INFO] Excluding org.osgi:org.osgi.core:jar:5.0.0 from the shaded jar.
[INFO] Excluding org.apache.felix:org.apache.felix.utils:jar:1.8.0 from the shaded jar.
[INFO] Excluding org.osgi:org.osgi.compendium:jar:5.0.0 from the shaded jar.
[INFO] Replacing original artifact with shaded artifact.
[INFO] Replacing <https://builds.apache.org/job/karaf-2.x/org.apache.karaf$org.apache.karaf.main/ws/target/org.apache.karaf.main-2.4.2-SNAPSHOT.jar>
with <https://builds.apache.org/job/karaf-2.x/org.apache.karaf$org.apache.karaf.main/ws/target/org.apache.karaf.main-2.4.2-SNAPSHOT-shaded.jar>
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (default) @ org.apache.karaf.main ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: **/target/**/*
[INFO] Exclude: **/.git/**/*
[INFO] Exclude: **/.idea/**/*
[INFO] Exclude: **/*.iml
[INFO] Exclude: **/*.ipr
[INFO] Exclude: **/*.iws
[INFO] Exclude: **/.*
[INFO] Exclude: **/eclipse-classes/**/*
[INFO] Exclude: **/dependency-reduced-pom.xml
[INFO] Exclude: **/.settings/**/*
[INFO] Exclude: **/bundle.info
[INFO] Exclude: **/*.txt
[INFO] Exclude: **/foo
[INFO] Exclude: **/pom.properties
[INFO] Exclude: **/*.rat
[INFO] Exclude: **/build-main.xml
[INFO] Exclude: **/*.css
[INFO] Exclude: **/*.ssp
[INFO] Exclude: **/*.conf
[INFO] Exclude: **/*.key
[INFO] 44 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 41 licence.
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ org.apache.karaf.main ---
[INFO] Installing <https://builds.apache.org/job/karaf-2.x/org.apache.karaf$org.apache.karaf.main/ws/target/org.apache.karaf.main-2.4.2-SNAPSHOT.jar>
to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/karaf/org.apache.karaf.main/2.4.2-SNAPSHOT/org.apache.karaf.main-2.4.2-SNAPSHOT.jar
[INFO] Installing <https://builds.apache.org/job/karaf-2.x/org.apache.karaf$org.apache.karaf.main/ws/pom.xml>
to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/karaf/org.apache.karaf.main/2.4.2-SNAPSHOT/org.apache.karaf.main-2.4.2-SNAPSHOT.pom
[INFO] 
[INFO] --- maven-bundle-plugin:2.5.3:install (default-install) @ org.apache.karaf.main ---
[INFO] Local OBR update disabled (enable with -DobrRepository)
[INFO] 
[INFO] --- maven-deploy-plugin:2.8.1:deploy (default-deploy) @ org.apache.karaf.main ---
Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/karaf/org.apache.karaf.main/2.4.2-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.apache.karaf:org.apache.karaf.main:2.4.2-SNAPSHOT/maven-metadata.xml
from/to apache.snapshots.https (https://repository.apache.org/content/repositories/snapshots):
repository.apache.org: Name or service not known

Mime
View raw message