Skip to content
Aborted

Console Output

Started by user DIM Build
Running as SYSTEM
Building in workspace /var/jenkins_home/jobs/geckoMessageAdapter/workspace
The recommended git tool is: NONE
Warning: CredentialId "66aea1ab-d880-4596-a7a5-ddcdcd2f9ed4" could not be found.
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://gitlab.com/gecko.io/geckoMessageAdapter.git # timeout=10
Cleaning workspace
 > git rev-parse --verify HEAD # timeout=10
Resetting working tree
 > git reset --hard # timeout=10
 > git clean -fdx # timeout=10
Fetching upstream changes from https://gitlab.com/gecko.io/geckoMessageAdapter.git
 > git --version # timeout=10
 > git --version # 'git version 2.20.1'
 > git fetch --tags --force --progress -- https://gitlab.com/gecko.io/geckoMessageAdapter.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/develop^{commit} # timeout=10
Checking out Revision 3e086f918bb3a06bfa50dd0ffd5c668165424a7c (refs/remotes/origin/develop)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 3e086f918bb3a06bfa50dd0ffd5c668165424a7c # timeout=10
Commit message: "fixed eventadmin"
 > git rev-list --no-walk 420f8068c3398a7cba48b36695cef4e3c6f9839c # timeout=10
[workspace] $ /bin/sh -xe /tmp/jenkins7096971785474352058.sh
+ ./gradlew clean build release -x :org.gecko.adapter.can.tests:testOSGi -Dmaven.repo.local=/var/jenkins_home/jobs/geckoMessageAdapter/workspace/.m2 -Duser.home=/var/jenkins_home/jobs/geckoMessageAdapter/workspace
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :org.gecko.adapter.amqp:clean
> Task :org.gecko.adapter.amqp.tests:clean
> Task :org.gecko.adapter.can:clean
> Task :org.gecko.adapter.can.tests:clean
> Task :org.gecko.adapter.eventadmin:clean
> Task :org.gecko.adapter.eventadmin.tests:clean
> Task :org.gecko.adapter.index:clean
> Task :org.gecko.adapter.mqtt:clean
> Task :org.gecko.adapter.mqtt.tests:clean
> Task :org.gecko.adapter.ws:clean
> Task :org.gecko.adapter.ws.tests:clean
> Task :org.gecko.osgi.messaging:clean

> Task :org.gecko.osgi.messaging:compileJava
Note: /var/jenkins_home/jobs/geckoMessageAdapter/workspace/org.gecko.osgi.messaging/src/org/gecko/osgi/messaging/SimpleMessagingContext.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :org.gecko.osgi.messaging:processResources
> Task :org.gecko.osgi.messaging:classes
> Task :org.gecko.osgi.messaging:jar

> Task :org.gecko.adapter.amqp:compileJava
Note: /var/jenkins_home/jobs/geckoMessageAdapter/workspace/org.gecko.adapter.amqp/src/org/gecko/adapter/amqp/client/AMQPContext.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :org.gecko.adapter.amqp:processResources
> Task :org.gecko.adapter.amqp:classes
> Task :org.gecko.adapter.amqp:jar
> Task :org.gecko.adapter.amqp:assemble
> Task :org.gecko.adapter.amqp:compileTestJava
> Task :org.gecko.adapter.amqp:processTestResources
> Task :org.gecko.adapter.amqp:testClasses
> Task :org.gecko.adapter.amqp:test
> Task :org.gecko.adapter.amqp:testOSGi SKIPPED
> Task :org.gecko.adapter.amqp:check
> Task :org.gecko.adapter.amqp:build
> Task :org.gecko.adapter.amqp.tests:compileJava
> Task :org.gecko.adapter.amqp.tests:processResources
> Task :org.gecko.adapter.amqp.tests:classes
> Task :org.gecko.adapter.amqp.tests:jar
> Task :org.gecko.adapter.amqp.tests:assemble
> Task :org.gecko.adapter.amqp.tests:compileTestJava NO-SOURCE
> Task :org.gecko.adapter.amqp.tests:processTestResources NO-SOURCE
> Task :org.gecko.adapter.amqp.tests:testClasses UP-TO-DATE
> Task :org.gecko.adapter.amqp.tests:test NO-SOURCE
> Task :org.gecko.adapter.amqp.tests:testOSGi

TEST testPublishMessage(org.gecko.adapter.amqp.tests.AMQPComponentPublishTest) <<< ERROR: connect timed out
java.net.SocketTimeoutException: connect timed out
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
	at java.net.Socket.connect(Socket.java:607)
	at com.rabbitmq.client.impl.SocketFrameHandlerFactory.create(SocketFrameHandlerFactory.java:60)
	at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1137)
	at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1087)
	at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1045)
	at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1207)
	at org.gecko.adapter.amqp.client.AMQPClient.connect(AMQPClient.java:404)
	at org.gecko.adapter.amqp.client.AMQPClient.connectQueue(AMQPClient.java:123)
	at org.gecko.adapter.amqp.client.AMQPClient.registerConsumerQueue(AMQPClient.java:306)
	at org.gecko.adapter.amqp.tests.AMQPComponentPublishTest.connectClient(AMQPComponentPublishTest.java:372)
	at org.gecko.adapter.amqp.tests.AMQPComponentPublishTest.testPublishMessage(AMQPComponentPublishTest.java:92)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
	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.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.mockito.internal.runners.JUnit45AndHigherRunnerImpl.run(JUnit45AndHigherRunnerImpl.java:37)
	at org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:62)
	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38)
	at junit.framework.TestSuite.runTest(TestSuite.java:252)
	at junit.framework.TestSuite.run(TestSuite.java:247)
	at aQute.junit.Activator.test(Activator.java:354)
	at aQute.junit.Activator.automatic(Activator.java:266)
	at aQute.junit.Activator.run(Activator.java:188)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at aQute.launcher.Launcher.handleMainCallable(Launcher.java:465)
	at aQute.launcher.Launcher.launch(Launcher.java:438)
	at aQute.launcher.Launcher.run(Launcher.java:186)
	at aQute.launcher.Launcher.main(Launcher.java:162)
	at aQute.launcher.pre.EmbeddedLauncher.executeWithRunPath(EmbeddedLauncher.java:170)
	at aQute.launcher.pre.EmbeddedLauncher.findAndExecute(EmbeddedLauncher.java:135)
	at aQute.launcher.pre.EmbeddedLauncher.main(EmbeddedLauncher.java:52)
TEST testPublishMessage(org.gecko.adapter.amqp.tests.AMQPComponentPublishTest) <<< ERROR: connect timed out
java.net.SocketTimeoutException: connect timed out
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
	at java.net.Socket.connect(Socket.java:607)
	at com.rabbitmq.client.impl.SocketFrameHandlerFactory.create(SocketFrameHandlerFactory.java:60)
	at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1137)
	at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1087)
	at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1045)
	at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:1207)
	at org.gecko.adapter.amqp.client.AMQPClient.connect(AMQPClient.java:404)
	at org.gecko.adapter.amqp.client.AMQPClient.connectQueue(AMQPClient.java:123)
	at org.gecko.adapter.amqp.client.AMQPClient.purgeChannel(AMQPClient.java:191)
	at org.gecko.adapter.amqp.tests.AMQPComponentPublishTest.teardown(AMQPComponentPublishTest.java:59)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.mockito.internal.runners.JUnit45AndHigherRunnerImpl.run(JUnit45AndHigherRunnerImpl.java:37)
	at org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:62)
	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38)
	at junit.framework.TestSuite.runTest(TestSuite.java:252)
	at junit.framework.TestSuite.run(TestSuite.java:247)
	at aQute.junit.Activator.test(Activator.java:354)
	at aQute.junit.Activator.automatic(Activator.java:266)
	at aQute.junit.Activator.run(Activator.java:188)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at aQute.launcher.Launcher.handleMainCallable(Launcher.java:465)
	at aQute.launcher.Launcher.launch(Launcher.java:438)
	at aQute.launcher.Launcher.run(Launcher.java:186)
	at aQute.launcher.Launcher.main(Launcher.java:162)
	at aQute.launcher.pre.EmbeddedLauncher.executeWithRunPath(EmbeddedLauncher.java:170)
	at aQute.launcher.pre.EmbeddedLauncher.findAndExecute(EmbeddedLauncher.java:135)
	at aQute.launcher.pre.EmbeddedLauncher.main(EmbeddedLauncher.java:52)

> Task :org.gecko.adapter.amqp.tests:testOSGi FAILED
error  : Exit code remote process 143: /opt/java/openjdk/bin/java -Dbnd.home.dir=/var/jenkins_home/.bnd -cp /var/jenkins_home/jobs/geckoMessageAdapter/workspace/cnf/cache/6.4.0/bnd-cache/biz.aQute.launcher/biz.aQute.launcher.pre.jar -Dlauncher.properties=/var/jenkins_home/jobs/geckoMessageAdapter/workspace/org.gecko.adapter.amqp.tests/generated/launch6457202807025961099.properties -ea -ea -Dlauncher.runpath=/var/jenkins_home/jobs/geckoMessageAdapter/workspace/.m2/org/apache/felix/org.apache.felix.framework/6.0.1/org.apache.felix.framework-6.0.1.jar,/var/jenkins_home/jobs/geckoMessageAdapter/workspace/cnf/cache/6.4.0/bnd-cache/biz.aQute.launcher/biz.aQute.launcher-6.4.0.jar aQute.launcher.pre.EmbeddedLauncher -Damqp.host=devel.data-in-motion.biz

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':org.gecko.adapter.amqp.tests:testOSGi'.
> /var/jenkins_home/jobs/geckoMessageAdapter/workspace/org.gecko.adapter.amqp.tests/bnd.bnd test failure

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 3m 44s
25 actionable tasks: 25 executed
Build was aborted
Aborted by DIM Build
Recording test results
[Checks API] No suitable checks publisher found.
Finished: ABORTED