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 blueBell - Sony Camera API 1.0-ALPHA-1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ sony-camera-api --- [INFO] [INFO] --- buildnumber-maven-plugin:1.2:create (default) @ sony-camera-api --- [INFO] Checking for local modifications: skipped. [INFO] Updating project files from SCM: skipped. [INFO] EXECUTING: /bin/sh -c cd /var/jenkins_home/jobs/blueBell_Build_and_Test/workspace/modules/SonyCameraAPI && hg id -i [ERROR] EXECUTION FAILED Execution of cmd : id failed with exit code: 255. Working directory was: /var/jenkins_home/jobs/blueBell_Build_and_Test/workspace/modules/SonyCameraAPI Your Hg installation seems to be valid and complete. Hg version: 4.0 (OK) [ERROR] Provider message: [ERROR] EXECUTION FAILED Execution of cmd : id failed with exit code: 255. Working directory was: /var/jenkins_home/jobs/blueBell_Build_and_Test/workspace/modules/SonyCameraAPI Your Hg installation seems to be valid and complete. Hg version: 4.0 (OK) [ERROR] Command output: [ERROR] [WARNING] Cannot get the revision information from the scm repository, proceeding with revision of unknown : Error! [INFO] Storing buildNumber: unknown at timestamp: 1542471886694 [INFO] EXECUTING: /bin/sh -c cd /var/jenkins_home/jobs/blueBell_Build_and_Test/workspace/modules/SonyCameraAPI && hg id -i [ERROR] EXECUTION FAILED Execution of cmd : id failed with exit code: 255. Working directory was: /var/jenkins_home/jobs/blueBell_Build_and_Test/workspace/modules/SonyCameraAPI Your Hg installation seems to be valid and complete. Hg version: 4.0 (OK) [INFO] Storing buildScmBranch: UNKNOWN_BRANCH [INFO] [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ sony-camera-api --- [INFO] [INFO] --- maven-antrun-plugin:1.7:run (generate-and-print-build-description) @ sony-camera-api --- [INFO] Executing tasks main: [echo] DESCRIPTION: 1.0-ALPHA-1-SNAPSHOT-unknown [echo] Java Version: 1.8.0_111 -source 1.7 -target 1.7 [INFO] Executed tasks [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ sony-camera-api --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /var/jenkins_home/jobs/blueBell_Build_and_Test/workspace/modules/SonyCameraAPI/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ sony-camera-api --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 16 source files to /var/jenkins_home/jobs/blueBell_Build_and_Test/workspace/modules/SonyCameraAPI/target/classes [WARNING] bootstrap class path not set in conjunction with -source 1.7 warning: No processor claimed any of these annotations: lombok.extern.slf4j.Slf4j,lombok.Setter,javax.annotation.Nonnegative,lombok.Getter,lombok.RequiredArgsConstructor,lombok.ToString,lombok.AllArgsConstructor,javax.annotation.Nonnull,javax.annotation.CheckForNull,javax.annotation.Nullable /var/jenkins_home/jobs/blueBell_Build_and_Test/workspace/modules/SonyCameraAPI/src/main/java/it/tidalwave/sony/CameraApi.java:[109,18] [serial] serializable class CameraApiException has no definition of serialVersionUID [INFO] [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ sony-camera-api --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /var/jenkins_home/jobs/blueBell_Build_and_Test/workspace/modules/SonyCameraAPI/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ sony-camera-api --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /var/jenkins_home/jobs/blueBell_Build_and_Test/workspace/modules/SonyCameraAPI/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.16:test (default-test) @ sony-camera-api --- [INFO] Surefire report directory: /var/jenkins_home/jobs/blueBell_Build_and_Test/workspace/modules/SonyCameraAPI/target/surefire-reports/plain ------------------------------------------------------- T E S T S ------------------------------------------------------- Running it.tidalwave.sony.impl.DefaultSimpleSsdpClientTest Configuring TestNG with: TestNGMapConfigurator 16:25:01.161 [main ] INFO it.tidalwave.sony.impl.DefaultSimpleSsdpClientTest - *********** 16:25:01.174 [main ] INFO it.tidalwave.sony.impl.DefaultSimpleSsdpClientTest - TEST "test" 16:25:01.179 [main ] INFO it.tidalwave.sony.impl.DefaultSimpleSsdpClientTest - *********** 16:25:01.195 [TestNGInvoker-test()] INFO it.tidalwave.sony.impl.DefaultSsdpDiscoverer - search() Start. 16:25:01.222 [pool-3-thread-1 ] INFO it.tidalwave.sony.impl.DefaultSsdpDiscoverer - search() Send Datagram packet 3 times. 16:25:01.430 [pool-3-thread-1 ] INFO it.tidalwave.sony.impl.DefaultSsdpDiscoverer - >>>> receiving packets... 16:25:11.440 [pool-3-thread-1 ] DEBUG it.tidalwave.sony.impl.DefaultSsdpDiscoverer - search() Timeout. 16:25:11.441 [pool-3-thread-1 ] INFO it.tidalwave.sony.impl.DefaultSimpleSsdpClientTest - onFinished() 16:25:11.449 [main ] INFO it.tidalwave.sony.impl.DefaultSimpleSsdpClientTest - TEST FAILED in 10297 msec - java.lang.AssertionError: Expected: is not null got: null 16:25:11.449 [main ] INFO it.tidalwave.sony.impl.DefaultSimpleSsdpClientTest - Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 12.006 sec <<< FAILURE! - in it.tidalwave.sony.impl.DefaultSimpleSsdpClientTest test(it.tidalwave.sony.impl.DefaultSimpleSsdpClientTest) Time elapsed: 10.272 sec <<< FAILURE! java.lang.AssertionError: Expected: is not null got: null at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:21) at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8) at it.tidalwave.sony.impl.DefaultSimpleSsdpClientTest.test(DefaultSimpleSsdpClientTest.java:99) Results : Failed tests: DefaultSimpleSsdpClientTest.test:99 Expected: is not null got: null Tests run: 1, Failures: 1, Errors: 0, Skipped: 0 [ERROR] There are test failures. Please refer to /var/jenkins_home/jobs/blueBell_Build_and_Test/workspace/modules/SonyCameraAPI/target/surefire-reports/plain for the individual test results. [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-jar-plugin:2.4:jar (default-jar) @ sony-camera-api --- [INFO] Building jar: /var/jenkins_home/jobs/blueBell_Build_and_Test/workspace/modules/SonyCameraAPI/target/sony-camera-api-1.0-ALPHA-1-SNAPSHOT.unknown.jar [INFO] [INFO] --- maven-jar-plugin:2.4:jar (package-jar) @ sony-camera-api --- [INFO] [INFO] --- maven-jar-plugin:2.4:test-jar (package-test-jar) @ sony-camera-api --- [INFO] Building jar: /var/jenkins_home/jobs/blueBell_Build_and_Test/workspace/modules/SonyCameraAPI/target/sony-camera-api-1.0-ALPHA-1-SNAPSHOT.unknown-tests.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ sony-camera-api --- [INFO] Installing /var/jenkins_home/jobs/blueBell_Build_and_Test/workspace/modules/SonyCameraAPI/target/sony-camera-api-1.0-ALPHA-1-SNAPSHOT.unknown.jar to /var/jenkins_home/maven-repositories/1/it/tidalwave/bluebell/sony-camera-api/1.0-ALPHA-1-SNAPSHOT/sony-camera-api-1.0-ALPHA-1-SNAPSHOT.jar [INFO] Installing /var/jenkins_home/jobs/blueBell_Build_and_Test/workspace/modules/SonyCameraAPI/pom.xml to /var/jenkins_home/maven-repositories/1/it/tidalwave/bluebell/sony-camera-api/1.0-ALPHA-1-SNAPSHOT/sony-camera-api-1.0-ALPHA-1-SNAPSHOT.pom [INFO] Installing /var/jenkins_home/jobs/blueBell_Build_and_Test/workspace/modules/SonyCameraAPI/target/sony-camera-api-1.0-ALPHA-1-SNAPSHOT.unknown-tests.jar to /var/jenkins_home/maven-repositories/1/it/tidalwave/bluebell/sony-camera-api/1.0-ALPHA-1-SNAPSHOT/sony-camera-api-1.0-ALPHA-1-SNAPSHOT-tests.jar [JENKINS] Archiving disabled