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] ---------------< it.tidalwave.bluebell:sony-camera-api >---------------- [INFO] Building blueBell - Sony Camera API 1.0-ALPHA-1-SNAPSHOT [3/5] [INFO] from modules/SonyCameraAPI/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.1.0:clean (default-clean) @ sony-camera-api --- [INFO] [INFO] --- buildnumber:1.4:create (default) @ sony-camera-api --- [INFO] ShortRevision tag detected. The value is '12'. [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/SonyCameraAPI' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/SonyCameraAPI [INFO] Storing buildNumber: 1bb6e8a4a012 at timestamp: 1683636703088 [WARNING] Cannot get the branch information from the git repository: Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref [INFO] ShortRevision tag detected. The value is '12'. [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/SonyCameraAPI' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/SonyCameraAPI [INFO] Storing buildScmBranch: UNKNOWN [INFO] [INFO] --- enforcer:3.0.0-M3:enforce (enforce-maven) @ sony-camera-api --- [INFO] [INFO] --- enforcer:3.0.0-M3:enforce (enforce-banned-dependencies) @ sony-camera-api --- [INFO] [INFO] --- antrun:3.0.0:run (generate-and-print-build-description) @ sony-camera-api --- [INFO] Executing tasks [INFO] [echo] DESCRIPTION: origin/release/1.0-ALPHA-1 1.0-ALPHA-1-SNAPSHOT 1bb6e8a4a012 [INFO] [echo] Java Version: 11.0.18 -source 1.7 -target 1.7 -release [INFO] Executed tasks [INFO] [INFO] --- jacoco:0.8.7:prepare-agent (prepare-agent) @ sony-camera-api --- [INFO] tft.test.jacoco.argLine set to -javaagent:/var/jenkins_home/maven-repositories/0/org/jacoco/org.jacoco.agent/0.8.7/org.jacoco.agent-0.8.7-runtime.jar=destfile=/var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/SonyCameraAPI/target/jacoco.exec [INFO] [INFO] --- resources:3.2.0:resources (default-resources) @ sony-camera-api --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/SonyCameraAPI/src/main/resources [INFO] [INFO] --- compiler:3.8.1:compile (default-compile) @ sony-camera-api --- [WARNING] Parameter 'optimize' (user property 'maven.compiler.optimize') is deprecated: This property is a no-op in {@code javac}. [INFO] Changes detected - recompiling the module! [INFO] Compiling 16 source files to /var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/SonyCameraAPI/target/classes [WARNING] [options] bootstrap class path not set in conjunction with -source 7 [WARNING] No processor claimed any of these annotations: javax.annotation.Nonnegative,javax.annotation.Nonnull,javax.annotation.CheckForNull,javax.annotation.Nullable [WARNING] /var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/SonyCameraAPI/src/main/java/it/tidalwave/sony/CameraApi.java:[111,18] [serial] serializable class CameraApiException has no definition of serialVersionUID [INFO] [INFO] --- resources:3.2.0:testResources (default-testResources) @ sony-camera-api --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/SonyCameraAPI/src/test/resources [INFO] [INFO] --- compiler:3.8.1:testCompile (default-testCompile) @ sony-camera-api --- [WARNING] Parameter 'optimize' (user property 'maven.compiler.optimize') is deprecated: This property is a no-op in {@code javac}. [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/SonyCameraAPI/target/test-classes [WARNING] [options] bootstrap class path not set in conjunction with -source 7 [WARNING] No processor claimed any of these annotations: org.testng.annotations.BeforeMethod,org.testng.annotations.Test [INFO] [INFO] --- surefire:3.0.0-M5:test (default-test) @ sony-camera-api --- [WARNING] Parameter 'localRepository' is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to '${repositorySystemSession}' expression and get LRM from it instead. [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running it.tidalwave.sony.impl.DefaultSimpleSsdpClientTest 12:51:52.222 [main ] INFO it.tidalwave.sony.impl.DefaultSimpleSsdpClientTest - *********** 12:51:52.225 [main ] INFO it.tidalwave.sony.impl.DefaultSimpleSsdpClientTest - TEST "test" 12:51:52.227 [main ] INFO it.tidalwave.sony.impl.DefaultSimpleSsdpClientTest - *********** 12:51:52.237 [TestNGInvoker-test()] INFO it.tidalwave.sony.impl.DefaultSsdpDiscoverer - search() Start. 12:51:52.252 [pool-3-thread-1 ] INFO it.tidalwave.sony.impl.DefaultSsdpDiscoverer - search() Send Datagram packet 3 times. 12:51:52.454 [pool-3-thread-1 ] INFO it.tidalwave.sony.impl.DefaultSsdpDiscoverer - >>>> receiving packets... 12:52:02.465 [pool-3-thread-1 ] DEBUG it.tidalwave.sony.impl.DefaultSsdpDiscoverer - search() Timeout. 12:52:02.467 [pool-3-thread-1 ] INFO it.tidalwave.sony.impl.DefaultSimpleSsdpClientTest - onFinished() 12:52:02.482 [main ] INFO it.tidalwave.sony.impl.DefaultSimpleSsdpClientTest - TEST FAILED in 10263 msec - java.lang.NoSuchMethodError: 'void org.hamcrest.Matcher.describeMismatch(java.lang.Object, org.hamcrest.Description)' 12:52:02.483 [main ] INFO it.tidalwave.sony.impl.DefaultSimpleSsdpClientTest - [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 11.497 s <<< FAILURE! - in it.tidalwave.sony.impl.DefaultSimpleSsdpClientTest [ERROR] it.tidalwave.sony.impl.DefaultSimpleSsdpClientTest.test Time elapsed: 10.268 s <<< FAILURE! java.lang.NoSuchMethodError: 'void org.hamcrest.Matcher.describeMismatch(java.lang.Object, org.hamcrest.Description)' at it.tidalwave.sony.impl.DefaultSimpleSsdpClientTest.test(DefaultSimpleSsdpClientTest.java:99) [INFO] [INFO] Results: [INFO] [ERROR] Failures: [ERROR] DefaultSimpleSsdpClientTest.test:99 ยป NoSuchMethod 'void org.hamcrest.Matcher.... [INFO] [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0 [INFO] [ERROR] There are test failures. Please refer to /var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/SonyCameraAPI/target/surefire-reports/jacoco for the individual test results. Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [JENKINS] Recording test results [INFO] [INFO] --- jacoco:0.8.7:report (report) @ sony-camera-api --- [INFO] Loading execution data file /var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/SonyCameraAPI/target/jacoco.exec [INFO] Analyzed bundle 'blueBell - Sony Camera API' with 29 classes [INFO] [INFO] --- jar:3.2.0:jar (default-jar) @ sony-camera-api --- [INFO] Building jar: /var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/SonyCameraAPI/target/sony-camera-api-1.0-ALPHA-1-SNAPSHOT.1bb6e8a4a012.jar [INFO] [INFO] --- jar:3.2.0:test-jar (default-test-jar) @ sony-camera-api --- [INFO] Building jar: /var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/SonyCameraAPI/target/sony-camera-api-1.0-ALPHA-1-SNAPSHOT.1bb6e8a4a012-tests.jar [INFO] [INFO] --- install:3.0.0-M1:install (default-install) @ sony-camera-api --- [INFO] Installing /var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/SonyCameraAPI/target/sony-camera-api-1.0-ALPHA-1-SNAPSHOT.1bb6e8a4a012.jar to /var/jenkins_home/maven-repositories/0/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_Metrics_branches/workspace/modules/SonyCameraAPI/pom.xml to /var/jenkins_home/maven-repositories/0/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_Metrics_branches/workspace/modules/SonyCameraAPI/target/sony-camera-api-1.0-ALPHA-1-SNAPSHOT.1bb6e8a4a012-tests.jar to /var/jenkins_home/maven-repositories/0/it/tidalwave/bluebell/sony-camera-api/1.0-ALPHA-1-SNAPSHOT/sony-camera-api-1.0-ALPHA-1-SNAPSHOT-tests.jar [INFO] [INFO] >>> spotbugs:4.5.0.0:check (default-cli) > :spotbugs @ sony-camera-api >>> [INFO] [INFO] --- spotbugs:4.5.0.0:spotbugs (spotbugs) @ sony-camera-api --- [INFO] Fork Value is true [java] [main] WARN edu.umd.cs.findbugs.TextUICommandLine - -output option and -outputFile option are deprecated. Set file path to each option for reporter. [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs:4.5.0.0:check (default-cli) < :spotbugs @ sony-camera-api <<< [INFO] [INFO] [INFO] --- spotbugs:4.5.0.0:check (default-cli) @ sony-camera-api --- [INFO] BugInstance size is 27 [INFO] Error size is 0 [INFO] Total bugs: 27 [ERROR] High: Found reliance on default encoding in it.tidalwave.bluebell.net.impl.DefaultHttpClient.readString(InputStream): new java.io.InputStreamReader(InputStream) [it.tidalwave.bluebell.net.impl.DefaultHttpClient] At DefaultHttpClient.java:[line 149] DM_DEFAULT_ENCODING [ERROR] High: Boxing/unboxing to parse a primitive it.tidalwave.bluebell.net.impl.XmlElement.getIntAttribute(String, int) [it.tidalwave.bluebell.net.impl.XmlElement] At XmlElement.java:[line 124] DM_BOXED_PRIMITIVE_FOR_PARSING [ERROR] High: Boxing/unboxing to parse a primitive it.tidalwave.bluebell.net.impl.XmlElement.getIntValue(int) [it.tidalwave.bluebell.net.impl.XmlElement] At XmlElement.java:[line 83] DM_BOXED_PRIMITIVE_FOR_PARSING [ERROR] Medium: it.tidalwave.bluebell.net.impl.XmlElement.getParent() may expose internal representation by returning XmlElement.parent [it.tidalwave.bluebell.net.impl.XmlElement] At XmlElement.java:[line 67] EI_EXPOSE_REP [ERROR] Medium: it.tidalwave.bluebell.net.impl.XmlElement.setParent(XmlElement) may expose internal representation by storing an externally mutable object into XmlElement.parent [it.tidalwave.bluebell.net.impl.XmlElement] At XmlElement.java:[line 67] EI_EXPOSE_REP2 [ERROR] Low: Redundant nullcheck of it.tidalwave.sony.CameraApiService.actionListUrl, which is known to be non-null in it.tidalwave.sony.CameraApiService.getEndpointUrl() [it.tidalwave.sony.CameraApiService] Redundant null check at CameraApiService.java:[line 69] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Low: Redundant nullcheck of it.tidalwave.sony.CameraApiService.name, which is known to be non-null in it.tidalwave.sony.CameraApiService.getEndpointUrl() [it.tidalwave.sony.CameraApiService] Redundant null check at CameraApiService.java:[line 69] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Low: Redundant nullcheck of commonHeader, which is known to be non-null in it.tidalwave.sony.SimpleLiveviewSlicer.readNextPayload() [it.tidalwave.sony.SimpleLiveviewSlicer] Redundant null check at SimpleLiveviewSlicer.java:[line 158] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Low: Redundant nullcheck of payloadHeader, which is known to be non-null in it.tidalwave.sony.SimpleLiveviewSlicer.readNextPayload() [it.tidalwave.sony.SimpleLiveviewSlicer] Redundant null check at SimpleLiveviewSlicer.java:[line 177] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] High: Boxing/unboxing to parse a primitive it.tidalwave.sony.impl.DefaultCameraApi$DefaultApplicationInfoResponse.getVersion() [it.tidalwave.sony.impl.DefaultCameraApi$DefaultApplicationInfoResponse] At DefaultCameraApi.java:[line 305] DM_BOXED_PRIMITIVE_FOR_PARSING [ERROR] Medium: Null passed for non-null parameter of new it.tidalwave.sony.CameraApi$CameraApiException(CameraApi$Response, String, Throwable) in new it.tidalwave.sony.impl.DefaultCameraApi$DefaultStartLiveViewUrlResponse(DefaultCameraApi, JSONObject) [it.tidalwave.sony.impl.DefaultCameraApi$DefaultStartLiveViewUrlResponse] At DefaultCameraApi.java:[line 477] NP_NONNULL_PARAM_VIOLATION [ERROR] Medium: Null passed for non-null parameter of new it.tidalwave.sony.CameraApi$CameraApiException(CameraApi$Response, String, Throwable) in new it.tidalwave.sony.impl.DefaultCameraApi$DefaultStopMovieRecResponse(DefaultCameraApi, JSONObject) [it.tidalwave.sony.impl.DefaultCameraApi$DefaultStopMovieRecResponse] At DefaultCameraApi.java:[line 435] NP_NONNULL_PARAM_VIOLATION [ERROR] Medium: Null passed for non-null parameter of new it.tidalwave.sony.CameraApi$CameraApiException(CameraApi$Response, String, Throwable) in new it.tidalwave.sony.impl.DefaultCameraApi$DefaultTakePictureResponse(DefaultCameraApi, JSONObject) [it.tidalwave.sony.impl.DefaultCameraApi$DefaultTakePictureResponse] At DefaultCameraApi.java:[line 398] NP_NONNULL_PARAM_VIOLATION [ERROR] Medium: Null passed for non-null parameter of new it.tidalwave.sony.CameraApi$CameraApiException(CameraApi$Response, String, Throwable) in new it.tidalwave.sony.impl.DefaultCameraApi$ErrorCheckingResponse(DefaultCameraApi, JSONObject) [it.tidalwave.sony.impl.DefaultCameraApi$ErrorCheckingResponse] At DefaultCameraApi.java:[line 125] NP_NONNULL_PARAM_VIOLATION [ERROR] Medium: it.tidalwave.sony.impl.DefaultCameraDevice.getApi() may expose internal representation by returning DefaultCameraDevice.api [it.tidalwave.sony.impl.DefaultCameraDevice] At DefaultCameraDevice.java:[line 133] EI_EXPOSE_REP [ERROR] Medium: it.tidalwave.sony.impl.DefaultCameraDevice.getObserver() may expose internal representation by returning DefaultCameraDevice.observer [it.tidalwave.sony.impl.DefaultCameraDevice] At DefaultCameraDevice.java:[line 149] EI_EXPOSE_REP [ERROR] Low: Exceptional return value of java.util.concurrent.ExecutorService.submit(Runnable) ignored in it.tidalwave.sony.impl.DefaultCameraObserver.start() [it.tidalwave.sony.impl.DefaultCameraObserver] At DefaultCameraObserver.java:[line 209] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [ERROR] High: Found reliance on default encoding in it.tidalwave.sony.impl.DefaultSsdpDiscoverer.search(SsdpDiscoverer$Callback): String.getBytes() [it.tidalwave.sony.impl.DefaultSsdpDiscoverer] At DefaultSsdpDiscoverer.java:[line 101] DM_DEFAULT_ENCODING [ERROR] Medium: Inconsistent synchronization of it.tidalwave.sony.impl.DefaultSsdpDiscoverer.searching; locked 50% of time [it.tidalwave.sony.impl.DefaultSsdpDiscoverer, it.tidalwave.sony.impl.DefaultSsdpDiscoverer, it.tidalwave.sony.impl.DefaultSsdpDiscoverer, it.tidalwave.sony.impl.DefaultSsdpDiscoverer] Unsynchronized access at DefaultSsdpDiscoverer.java:[line 218]Unsynchronized access at DefaultSsdpDiscoverer.java:[line 229]Synchronized access at DefaultSsdpDiscoverer.java:[line 82]Synchronized access at DefaultSsdpDiscoverer.java:[line 94] IS2_INCONSISTENT_SYNC [ERROR] Low: Redundant nullcheck of val, which is known to be non-null in it.tidalwave.sony.impl.DefaultSsdpDiscoverer.findParameterValue(String, String) [it.tidalwave.sony.impl.DefaultSsdpDiscoverer] Redundant null check at DefaultSsdpDiscoverer.java:[line 253] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Low: Exceptional return value of java.util.concurrent.ExecutorService.submit(Runnable) ignored in it.tidalwave.sony.impl.DefaultSsdpDiscoverer.search(SsdpDiscoverer$Callback) [it.tidalwave.sony.impl.DefaultSsdpDiscoverer] At DefaultSsdpDiscoverer.java:[line 103] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.sony.impl.DefaultSsdpDiscoverer.search(SsdpDiscoverer$Callback) [it.tidalwave.sony.impl.DefaultSsdpDiscoverer] At DefaultSsdpDiscoverer.java:[line 97] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.sony.impl.DefaultSsdpDiscoverer.search(SsdpDiscoverer$Callback) [it.tidalwave.sony.impl.DefaultSsdpDiscoverer] At DefaultSsdpDiscoverer.java:[line 98] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.sony.impl.DefaultSsdpDiscoverer.search(SsdpDiscoverer$Callback) [it.tidalwave.sony.impl.DefaultSsdpDiscoverer] At DefaultSsdpDiscoverer.java:[line 99] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.sony.impl.DefaultSsdpDiscoverer.search(SsdpDiscoverer$Callback) [it.tidalwave.sony.impl.DefaultSsdpDiscoverer] At DefaultSsdpDiscoverer.java:[line 100] VA_FORMAT_STRING_USES_NEWLINE [ERROR] High: Found reliance on default encoding in it.tidalwave.sony.impl.DefaultSsdpDiscoverer$1.run(): new String(byte[], int, int) [it.tidalwave.sony.impl.DefaultSsdpDiscoverer$1] At DefaultSsdpDiscoverer.java:[line 159] DM_DEFAULT_ENCODING [ERROR] Medium: Redundant nullcheck of socket, which is known to be non-null in it.tidalwave.sony.impl.DefaultSsdpDiscoverer$1.run() [it.tidalwave.sony.impl.DefaultSsdpDiscoverer$1] Redundant null check at DefaultSsdpDiscoverer.java:[line 198] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [INFO] To see bug detail using the Spotbugs GUI, use the following command "mvn spotbugs:gui" [INFO] [INFO] --- pmd:3.14.0:cpd (default-cli) @ sony-camera-api --- [WARNING] Unable to locate Source XRef to link to - DISABLED [WARNING] Unable to locate Source XRef to link to - DISABLED [INFO] [INFO] --- pmd:3.14.0:pmd (default-cli) @ sony-camera-api --- [WARNING] Unable to locate Source XRef to link to - DISABLED [WARNING] Unable to locate Source XRef to link to - DISABLED [WARNING] Applying rule set filter: The rule "UnusedModifier" has been moved from ruleset "unusedcode" to "unnecessary". Please change your ruleset! [WARNING] Applying rule set filter: The rule "UnusedModifier" has been renamed to "UnnecessaryModifier". Please change your ruleset! [WARNING] The RuleSet rulesets/java/basic.xml has been deprecated and will be removed in PMD 7.0.0 [WARNING] The RuleSet rulesets/java/unusedcode.xml has been deprecated and will be removed in PMD 7.0.0 [WARNING] The RuleSet rulesets/java/imports.xml has been deprecated and will be removed in PMD 7.0.0 [WARNING] Applying rule set filter: The rule "UnusedModifier" has been moved from ruleset "unusedcode" to "unnecessary". Please change your ruleset! [WARNING] Applying rule set filter: The rule "UnusedModifier" has been renamed to "UnnecessaryModifier". Please change your ruleset! [WARNING] The RuleSet rulesets/java/basic.xml has been deprecated and will be removed in PMD 7.0.0 [WARNING] The RuleSet rulesets/java/unusedcode.xml has been deprecated and will be removed in PMD 7.0.0 [WARNING] The RuleSet rulesets/java/imports.xml has been deprecated and will be removed in PMD 7.0.0 [INFO] [INFO] --- checkstyle:3.0.0:checkstyle (default-cli) @ sony-camera-api --- [INFO] There are 337 errors reported by Checkstyle 6.18 with it/tidalwave/checkstyle/checkstyle.xml ruleset. [WARNING] Unable to locate Source XRef to link to - DISABLED [INFO] [INFO] >>> dependency:3.1.2:analyze (default-cli) > test-compile @ sony-camera-api >>> [INFO] [INFO] --- buildnumber:1.4:create (default) @ sony-camera-api --- [INFO] ShortRevision tag detected. The value is '12'. [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/SonyCameraAPI' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/SonyCameraAPI [INFO] Storing buildNumber: 1bb6e8a4a012 at timestamp: 1683636738332 [WARNING] Cannot get the branch information from the git repository: Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref [INFO] ShortRevision tag detected. The value is '12'. [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/SonyCameraAPI' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/SonyCameraAPI [INFO] Storing buildScmBranch: UNKNOWN [INFO] [INFO] --- enforcer:3.0.0-M3:enforce (enforce-maven) @ sony-camera-api --- [INFO] [INFO] --- enforcer:3.0.0-M3:enforce (enforce-banned-dependencies) @ sony-camera-api --- [INFO] [INFO] --- antrun:3.0.0:run (generate-and-print-build-description) @ sony-camera-api --- [INFO] Executing tasks [INFO] [echo] DESCRIPTION: origin/release/1.0-ALPHA-1 1.0-ALPHA-1-SNAPSHOT 1bb6e8a4a012 [INFO] [echo] Java Version: 11.0.18 -source 1.7 -target 1.7 -release [INFO] Executed tasks [INFO] [INFO] --- jacoco:0.8.7:prepare-agent (prepare-agent) @ sony-camera-api --- [INFO] tft.test.jacoco.argLine set to -javaagent:/var/jenkins_home/maven-repositories/0/org/jacoco/org.jacoco.agent/0.8.7/org.jacoco.agent-0.8.7-runtime.jar=destfile=/var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/SonyCameraAPI/target/jacoco.exec [INFO] [INFO] --- resources:3.2.0:resources (default-resources) @ sony-camera-api --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/SonyCameraAPI/src/main/resources [INFO] [INFO] --- compiler:3.8.1:compile (default-compile) @ sony-camera-api --- [WARNING] Parameter 'optimize' (user property 'maven.compiler.optimize') is deprecated: This property is a no-op in {@code javac}. [INFO] Changes detected - recompiling the module! [INFO] Compiling 16 source files to /var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/SonyCameraAPI/target/classes [WARNING] [options] bootstrap class path not set in conjunction with -source 7 [WARNING] No processor claimed any of these annotations: javax.annotation.Nonnegative,javax.annotation.Nonnull,javax.annotation.CheckForNull,javax.annotation.Nullable [WARNING] /var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/SonyCameraAPI/src/main/java/it/tidalwave/sony/CameraApi.java:[111,18] [serial] serializable class CameraApiException has no definition of serialVersionUID [INFO] [INFO] --- resources:3.2.0:testResources (default-testResources) @ sony-camera-api --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/SonyCameraAPI/src/test/resources [INFO] [INFO] --- compiler:3.8.1:testCompile (default-testCompile) @ sony-camera-api --- [WARNING] Parameter 'optimize' (user property 'maven.compiler.optimize') is deprecated: This property is a no-op in {@code javac}. [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/SonyCameraAPI/target/test-classes [WARNING] [options] bootstrap class path not set in conjunction with -source 7 [WARNING] No processor claimed any of these annotations: org.testng.annotations.BeforeMethod,org.testng.annotations.Test [WARNING] Failed to getClass for org.apache.maven.plugins.dependency.analyze.AnalyzeMojo [INFO] [INFO] <<< dependency:3.1.2:analyze (default-cli) < test-compile @ sony-camera-api <<< [INFO] [INFO] [INFO] --- dependency:3.1.2:analyze (default-cli) @ sony-camera-api --- [WARNING] Used undeclared dependencies found: [WARNING] junit:junit:jar:4.8.1:provided [WARNING] Unused declared dependencies found: [WARNING] it.tidalwave.thesefoolishthings:it-tidalwave-util-test:jar:1.0.34:test [WARNING] org.projectlombok:lombok:jar:1.18.22:provided [WARNING] org.mockito:mockito-all:jar:1.8.2:test [WARNING] ch.qos.logback:logback-classic:jar:1.0.12:test [JENKINS] Archiving disabled