Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building sensiNact IoT Gateway - HTTP Protocol 2.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- groovy-maven-plugin:2.0:execute (search-root-clean) @ http --- [INFO] PATH: /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master/workspace [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ http --- [INFO] Deleting /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master/workspace/platform/protocol/http/target [INFO] [INFO] --- groovy-maven-plugin:2.0:execute (search-root-validate) @ http --- [INFO] PATH: /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master/workspace [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ http --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master/workspace/platform/protocol/http/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ http --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 22 source files to /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master/workspace/platform/protocol/http/target/classes [WARNING] /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master/workspace/platform/protocol/http/src/main/java/org/eclipse/sensinact/gateway/protocol/http/client/mid/MidClient.java: /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master/workspace/platform/protocol/http/src/main/java/org/eclipse/sensinact/gateway/protocol/http/client/mid/MidClient.java uses unchecked or unsafe operations. [WARNING] /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master/workspace/platform/protocol/http/src/main/java/org/eclipse/sensinact/gateway/protocol/http/client/mid/MidClient.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-bundle-plugin:3.5.1:manifest (default) @ http --- [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ http --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master/workspace/platform/protocol/http/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ http --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 12 source files to /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master/workspace/platform/protocol/http/target/test-classes [WARNING] /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master/workspace/platform/protocol/http/src/test/java/org/eclipse/sensinact/gateway/protocol/http/test/TestHttpProtocolJetty.java: /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master/workspace/platform/protocol/http/src/test/java/org/eclipse/sensinact/gateway/protocol/http/test/TestHttpProtocolJetty.java uses unchecked or unsafe operations. [WARNING] /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master/workspace/platform/protocol/http/src/test/java/org/eclipse/sensinact/gateway/protocol/http/test/TestHttpProtocolJetty.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ http --- [INFO] Surefire report directory: /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master/workspace/platform/protocol/http/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.sensinact Running org.eclipse.sensinact.gateway.protocol.http.test.TestHttpProtocolJetty Starting Jetty server ... SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. java.net.BindException: Address already in use at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Net.java:433) at sun.nio.ch.Net.bind(Net.java:425) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:321) at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.server.Server.doStart(Server.java:366) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.sensinact.gateway.protocol.http.test.JettyTestServer.start(JettyTestServer.java:76) at org.eclipse.sensinact.gateway.protocol.http.test.JettyTestServer.run(JettyTestServer.java:98) at java.lang.Thread.run(Thread.java:748) Stopping Jetty server ... Tests run: 3, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 8.299 sec <<< FAILURE! - in org.eclipse.sensinact.gateway.protocol.http.test.TestHttpProtocolJetty testHttpProtocolPost(org.eclipse.sensinact.gateway.protocol.http.test.TestHttpProtocolJetty) Time elapsed: 0.113 sec <<< ERROR! org.json.JSONException: A JSONObject text must begin with '{' at character 0 at org.json.JSONTokener.syntaxError(JSONTokener.java:416) at org.json.JSONObject.<init>(JSONObject.java:185) at org.json.JSONObject.<init>(JSONObject.java:412) at org.eclipse.sensinact.gateway.protocol.http.test.TestHttpProtocolJetty.testHttpProtocolPost(TestHttpProtocolJetty.java:237) testHttpProtocolGet(org.eclipse.sensinact.gateway.protocol.http.test.TestHttpProtocolJetty) Time elapsed: 0.002 sec <<< ERROR! org.json.JSONException: A JSONObject text must begin with '{' at character 0 at org.json.JSONTokener.syntaxError(JSONTokener.java:416) at org.json.JSONObject.<init>(JSONObject.java:185) at org.json.JSONObject.<init>(JSONObject.java:412) at org.eclipse.sensinact.gateway.protocol.http.test.TestHttpProtocolJetty.testHttpProtocolGet(TestHttpProtocolJetty.java:191) Running org.eclipse.sensinact.gateway.protocol.http.test.TestHttpProtocol Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.003 sec <<< FAILURE! - in org.eclipse.sensinact.gateway.protocol.http.test.TestHttpProtocol org.eclipse.sensinact.gateway.protocol.http.test.TestHttpProtocol Time elapsed: 0.003 sec <<< ERROR! java.net.BindException: Address already in use at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Net.java:433) at sun.nio.ch.Net.bind(Net.java:425) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) at sun.net.httpserver.ServerImpl.bind(ServerImpl.java:133) at sun.net.httpserver.HttpServerImpl.bind(HttpServerImpl.java:54) at org.eclipse.sensinact.gateway.protocol.http.server.Server.bind(Server.java:239) at org.eclipse.sensinact.gateway.protocol.http.test.HttpTestServer.<init>(HttpTestServer.java:34) at org.eclipse.sensinact.gateway.protocol.http.test.TestHttpProtocol.init(TestHttpProtocol.java:108) org.eclipse.sensinact.gateway.protocol.http.test.TestHttpProtocol Time elapsed: 0.003 sec <<< ERROR! java.lang.NullPointerException: null at org.eclipse.sensinact.gateway.protocol.http.test.TestHttpProtocol.tearDown(TestHttpProtocol.java:116) Results : Tests in error: org.eclipse.sensinact.gateway.protocol.http.test.TestHttpProtocol.org.eclipse.sensinact.gateway.protocol.http.test.TestHttpProtocol Run 1: TestHttpProtocol.init:108 » Bind Address already in use Run 2: TestHttpProtocol.tearDown:116 NullPointer TestHttpProtocolJetty.testHttpProtocolGet:191 » JSON A JSONObject text must be... TestHttpProtocolJetty.testHttpProtocolPost:237 » JSON A JSONObject text must b... Tests run: 4, Failures: 0, Errors: 3, Skipped: 0 [ERROR] There are test failures. Please refer to /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master/workspace/platform/protocol/http/target/surefire-reports for the individual test results. [JENKINS] Recording test results [INFO] [INFO] --- maven-bundle-plugin:3.5.1:bundle (default-bundle) @ http --- [INFO] [INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ http --- [INFO] Installing /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master/workspace/platform/protocol/http/target/http-2.0-SNAPSHOT.jar to /opt/public/hipp/homes/genie.sensinact/.m2/repository/org/eclipse/sensinact/gateway/protocol/http/2.0-SNAPSHOT/http-2.0-SNAPSHOT.jar [INFO] Installing /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master/workspace/platform/protocol/http/pom.xml to /opt/public/hipp/homes/genie.sensinact/.m2/repository/org/eclipse/sensinact/gateway/protocol/http/2.0-SNAPSHOT/http-2.0-SNAPSHOT.pom [INFO] [INFO] --- maven-bundle-plugin:3.5.1:install (default-install) @ http --- [INFO] Installing org/eclipse/sensinact/gateway/protocol/http/2.0-SNAPSHOT/http-2.0-SNAPSHOT.jar [INFO] Writing OBR metadata [INFO] [INFO] --- groovy-maven-plugin:2.0:execute (search-sha) @ http --- [INFO] SHA: suk9xK9uST4J1Q1rMIe+Vc8XW7RpOmbCB6UUGAbz9+s= [INFO] [INFO] --- groovy-maven-plugin:2.0:execute (search-root-validate) @ http --- [INFO] PATH: /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master/workspace [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ http --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master/workspace/platform/protocol/http/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ http --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 22 source files to /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master/workspace/platform/protocol/http/target/classes [WARNING] /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master/workspace/platform/protocol/http/src/main/java/org/eclipse/sensinact/gateway/protocol/http/client/mid/MidClient.java: /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master/workspace/platform/protocol/http/src/main/java/org/eclipse/sensinact/gateway/protocol/http/client/mid/MidClient.java uses unchecked or unsafe operations. [WARNING] /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master/workspace/platform/protocol/http/src/main/java/org/eclipse/sensinact/gateway/protocol/http/client/mid/MidClient.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-bundle-plugin:3.5.1:manifest (default) @ http --- [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ http --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master/workspace/platform/protocol/http/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ http --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 12 source files to /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master/workspace/platform/protocol/http/target/test-classes [WARNING] /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master/workspace/platform/protocol/http/src/test/java/org/eclipse/sensinact/gateway/protocol/http/test/TestHttpProtocolJetty.java: /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master/workspace/platform/protocol/http/src/test/java/org/eclipse/sensinact/gateway/protocol/http/test/TestHttpProtocolJetty.java uses unchecked or unsafe operations. [WARNING] /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master/workspace/platform/protocol/http/src/test/java/org/eclipse/sensinact/gateway/protocol/http/test/TestHttpProtocolJetty.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ http --- [INFO] Skipping execution of surefire because it has already been run for this configuration [JENKINS] Recording test results [INFO] [INFO] --- maven-bundle-plugin:3.5.1:bundle (default-bundle) @ http --- [INFO] [INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ http --- [INFO] Installing /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master/workspace/platform/protocol/http/target/http-2.0-SNAPSHOT.jar to /opt/public/hipp/homes/genie.sensinact/.m2/repository/org/eclipse/sensinact/gateway/protocol/http/2.0-SNAPSHOT/http-2.0-SNAPSHOT.jar [INFO] Installing /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master/workspace/platform/protocol/http/pom.xml to /opt/public/hipp/homes/genie.sensinact/.m2/repository/org/eclipse/sensinact/gateway/protocol/http/2.0-SNAPSHOT/http-2.0-SNAPSHOT.pom [INFO] [INFO] --- maven-bundle-plugin:3.5.1:install (default-install) @ http --- [INFO] Installing org/eclipse/sensinact/gateway/protocol/http/2.0-SNAPSHOT/http-2.0-SNAPSHOT.jar [INFO] Writing OBR metadata [INFO] [INFO] --- groovy-maven-plugin:2.0:execute (search-sha) @ http --- [INFO] SHA: PIJvyD0NUm6F9uPcVG3QEfINWu7JqVB+yjLdfp/Ov/c= [INFO] [INFO] --- maven-deploy-plugin:3.0.0-M1:deploy (default-deploy) @ http --- Downloading: https://repo.eclipse.org/content/repositories/sensinact-snapshots/org/eclipse/sensinact/gateway/protocol/http/2.0-SNAPSHOT/maven-metadata.xml Downloaded: https://repo.eclipse.org/content/repositories/sensinact-snapshots/org/eclipse/sensinact/gateway/protocol/http/2.0-SNAPSHOT/maven-metadata.xml (792 B at 8.0 KB/sec) Uploading: https://repo.eclipse.org/content/repositories/sensinact-snapshots/org/eclipse/sensinact/gateway/protocol/http/2.0-SNAPSHOT/http-2.0-20190804.042554-108.jar Uploaded: https://repo.eclipse.org/content/repositories/sensinact-snapshots/org/eclipse/sensinact/gateway/protocol/http/2.0-SNAPSHOT/http-2.0-20190804.042554-108.jar (42 KB at 192.9 KB/sec) Uploading: https://repo.eclipse.org/content/repositories/sensinact-snapshots/org/eclipse/sensinact/gateway/protocol/http/2.0-SNAPSHOT/http-2.0-20190804.042554-108.pom Uploaded: https://repo.eclipse.org/content/repositories/sensinact-snapshots/org/eclipse/sensinact/gateway/protocol/http/2.0-SNAPSHOT/http-2.0-20190804.042554-108.pom (3 KB at 13.2 KB/sec) Downloading: https://repo.eclipse.org/content/repositories/sensinact-snapshots/org/eclipse/sensinact/gateway/protocol/http/maven-metadata.xml Downloaded: https://repo.eclipse.org/content/repositories/sensinact-snapshots/org/eclipse/sensinact/gateway/protocol/http/maven-metadata.xml (358 B at 3.5 KB/sec) Uploading: https://repo.eclipse.org/content/repositories/sensinact-snapshots/org/eclipse/sensinact/gateway/protocol/http/2.0-SNAPSHOT/maven-metadata.xml Uploaded: https://repo.eclipse.org/content/repositories/sensinact-snapshots/org/eclipse/sensinact/gateway/protocol/http/2.0-SNAPSHOT/maven-metadata.xml (792 B at 4.3 KB/sec) Uploading: https://repo.eclipse.org/content/repositories/sensinact-snapshots/org/eclipse/sensinact/gateway/protocol/http/maven-metadata.xml Uploaded: https://repo.eclipse.org/content/repositories/sensinact-snapshots/org/eclipse/sensinact/gateway/protocol/http/maven-metadata.xml (358 B at 1.6 KB/sec) [INFO] [INFO] --- maven-bundle-plugin:3.5.1:deploy (default-deploy) @ http --- [INFO] Remote OBR update disabled (enable with -DremoteOBR) [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-cli) @ http --- [INFO] Skipping execution of surefire because it has already been run for this configuration [JENKINS] Recording test results