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] -----------< org.eclipse.sensinact.gateway:sensinact-utils >------------ [INFO] Building sensiNact IoT Gateway - Utilities 2.0-SNAPSHOT [3/99] [INFO] -------------------------------[ bundle ]------------------------------- [INFO] Downloading from main: http://central.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/maven-metadata.xml [INFO] Downloading from eclipse.maven.central.mirror: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/plugins/maven-resources-plugin/maven-metadata.xml [INFO] Downloaded from eclipse.maven.central.mirror: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/plugins/maven-resources-plugin/maven-metadata.xml (843 B at 4.9 kB/s) [INFO] Downloaded from main: http://central.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/maven-metadata.xml (843 B at 3.0 kB/s) [INFO] Downloading from main: http://central.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml [INFO] Downloading from eclipse.maven.central.mirror: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml [INFO] Downloaded from eclipse.maven.central.mirror: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (663 B at 21 kB/s) [INFO] Downloaded from main: http://central.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (663 B at 14 kB/s) [INFO] Downloading from main: http://central.maven.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml [INFO] Downloading from eclipse.maven.central.mirror: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml [INFO] Downloaded from eclipse.maven.central.mirror: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (749 B at 26 kB/s) [INFO] Downloaded from main: http://central.maven.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (749 B at 17 kB/s) [INFO] [INFO] --- groovy-maven-plugin:2.0:execute (search-root-clean) @ sensinact-utils --- [INFO] PATH: /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master Sonar/workspace [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ sensinact-utils --- [INFO] [INFO] --- groovy-maven-plugin:2.0:execute (search-root-validate) @ sensinact-utils --- [INFO] PATH: /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master Sonar/workspace [INFO] [INFO] --- build-helper-maven-plugin:1.8:add-test-source (add-test-source) @ sensinact-utils --- [INFO] Test Source directory: /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master Sonar/workspace/platform/sensinact-utils/target/extra-test-sources added. [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ sensinact-utils --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master Sonar/workspace/platform/sensinact-utils/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ sensinact-utils --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 53 source files to /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master Sonar/workspace/platform/sensinact-utils/target/classes [WARNING] /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master Sonar/workspace/platform/sensinact-utils/src/main/java/org/json/JSONObject.java: Some input files use unchecked or unsafe operations. [WARNING] /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master Sonar/workspace/platform/sensinact-utils/src/main/java/org/json/JSONObject.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ sensinact-utils --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master Sonar/workspace/platform/sensinact-utils/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ sensinact-utils --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 5 source files to /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master Sonar/workspace/platform/sensinact-utils/target/test-classes [WARNING] /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master Sonar/workspace/platform/sensinact-utils/src/test/java/org/eclipse/sensinact/gateway/util/tree/test/PathTreeTest.java: /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master Sonar/workspace/platform/sensinact-utils/src/test/java/org/eclipse/sensinact/gateway/util/tree/test/PathTreeTest.java uses unchecked or unsafe operations. [WARNING] /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master Sonar/workspace/platform/sensinact-utils/src/test/java/org/eclipse/sensinact/gateway/util/tree/test/PathTreeTest.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ sensinact-utils --- [INFO] Surefire report directory: /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master Sonar/workspace/platform/sensinact-utils/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.util.tree.test.PathTreeTest /[hhhhhhh[]test[.*[location[]]service[resource[]]]aaaaaaa[]vvvvvvv[]ccccccc[]uuuuuuu[]] /test/.* /[hhhhhhh[]test[.*[location[]]]aaaaaaa[]vvvvvvv[]ccccccc[]uuuuuuu[]] /[hhhhhhh[]test[.*[location[]]]aaaaaaa[]vvvvvvv[]ccccccc[]uuuuuuu[]] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in org.eclipse.sensinact.gateway.util.tree.test.PathTreeTest Running org.eclipse.sensinact.gateway.util.json.test.JSONObjectStatementTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec - in org.eclipse.sensinact.gateway.util.json.test.JSONObjectStatementTest Running org.eclipse.sensinact.gateway.util.json.test.PropertyTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.16 sec - in org.eclipse.sensinact.gateway.util.json.test.PropertyTest Running org.eclipse.sensinact.gateway.util.json.test.JSONValidatorTest org.json.JSONException: Unexpected object closing at position 662 org.eclipse.sensinact.gateway.util.json.JSONValidator@cb5822 at org.eclipse.sensinact.gateway.util.json.JSONValidator.syntaxError(JSONValidator.java:456) at org.eclipse.sensinact.gateway.util.json.JSONValidator.checkClosingObject(JSONValidator.java:288) at org.eclipse.sensinact.gateway.util.json.JSONValidator.checkClosing(JSONValidator.java:298) at org.eclipse.sensinact.gateway.util.json.JSONValidator.nextToken(JSONValidator.java:144) at org.eclipse.sensinact.gateway.util.json.JSONValidator.valid(JSONValidator.java:107) at org.eclipse.sensinact.gateway.util.json.test.JSONValidatorTest.testInvalidObjectInvalidated(JSONValidatorTest.java:30) 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: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.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec - in org.eclipse.sensinact.gateway.util.json.test.JSONValidatorTest Running org.eclipse.sensinact.gateway.util.location.test.LocationUtilsTest 45.18873190503735,5.734623911095859 0.5283474842952606 -------------------------- point 1:[5.733747482299805,45.187972926197865] point 2:[5.734623911095859,45.18873190503735] distance :108.89835973071634 -------------------------- Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec - in org.eclipse.sensinact.gateway.util.location.test.LocationUtilsTest Results : Tests run: 9, Failures: 0, Errors: 0, Skipped: 0 [JENKINS] Recording test results [WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.SurefireArchiver$2; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ [INFO] [INFO] --- maven-bundle-plugin:2.5.3:bundle (default-bundle) @ sensinact-utils --- [INFO] [INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ sensinact-utils --- [INFO] Installing /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master Sonar/workspace/platform/sensinact-utils/target/sensinact-utils-2.0-SNAPSHOT.jar to /opt/public/hipp/homes/genie.sensinact/.m2/repository/org/eclipse/sensinact/gateway/sensinact-utils/2.0-SNAPSHOT/sensinact-utils-2.0-SNAPSHOT.jar [INFO] Installing /home/hudson/genie.sensinact/.jenkins/jobs/Gateway master Sonar/workspace/platform/sensinact-utils/pom.xml to /opt/public/hipp/homes/genie.sensinact/.m2/repository/org/eclipse/sensinact/gateway/sensinact-utils/2.0-SNAPSHOT/sensinact-utils-2.0-SNAPSHOT.pom [INFO] [INFO] --- maven-bundle-plugin:2.5.3:install (default-install) @ sensinact-utils --- [INFO] Installing org/eclipse/sensinact/gateway/sensinact-utils/2.0-SNAPSHOT/sensinact-utils-2.0-SNAPSHOT.jar [INFO] Writing OBR metadata [INFO] [INFO] --- groovy-maven-plugin:2.0:execute (search-sha) @ sensinact-utils --- [INFO] SHA: QFyjb1hyZNvQGv8gAxzDiD6mY3aHuGAHhN9sXyRzoMc=