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:camera-view >------------------ [INFO] Building blueBell - UI 1.0-ALPHA-1-SNAPSHOT [4/5] [INFO] from modules/CameraView/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.1.0:clean (default-clean) @ camera-view --- [INFO] [INFO] --- buildnumber:1.4:create (default) @ camera-view --- [INFO] ShortRevision tag detected. The value is '12'. [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/CameraView' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/CameraView [INFO] Storing buildNumber: 1bb6e8a4a012 at timestamp: 1683636744458 [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/CameraView' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/CameraView [INFO] Storing buildScmBranch: UNKNOWN [INFO] [INFO] --- enforcer:3.0.0-M3:enforce (enforce-maven) @ camera-view --- [INFO] [INFO] --- enforcer:3.0.0-M3:enforce (enforce-banned-dependencies) @ camera-view --- [INFO] [INFO] --- antrun:3.0.0:run (generate-and-print-build-description) @ camera-view --- [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) @ camera-view --- [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/CameraView/target/jacoco.exec [INFO] [INFO] --- resources:3.2.0:resources (default-resources) @ camera-view --- [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/CameraView/src/main/resources [INFO] [INFO] --- compiler:3.8.1:compile (default-compile) @ camera-view --- [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 9 source files to /var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/CameraView/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.Nullable [INFO] [INFO] --- resources:3.2.0:testResources (default-testResources) @ camera-view --- [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/CameraView/src/test/resources [INFO] [INFO] --- compiler:3.8.1:testCompile (default-testCompile) @ camera-view --- [WARNING] Parameter 'optimize' (user property 'maven.compiler.optimize') is deprecated: This property is a no-op in {@code javac}. [INFO] No sources to compile [INFO] [INFO] --- surefire:3.0.0-M5:test (default-test) @ camera-view --- [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] No tests to run. [JENKINS] Recording test results [INFO] [INFO] --- jacoco:0.8.7:report (report) @ camera-view --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- jar:3.2.0:jar (default-jar) @ camera-view --- [INFO] Building jar: /var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/CameraView/target/camera-view-1.0-ALPHA-1-SNAPSHOT.1bb6e8a4a012.jar [INFO] [INFO] --- jar:3.2.0:test-jar (default-test-jar) @ camera-view --- [INFO] Skipping packaging of the test-jar [INFO] [INFO] --- install:3.0.0-M1:install (default-install) @ camera-view --- [INFO] Installing /var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/CameraView/target/camera-view-1.0-ALPHA-1-SNAPSHOT.1bb6e8a4a012.jar to /var/jenkins_home/maven-repositories/0/it/tidalwave/bluebell/camera-view/1.0-ALPHA-1-SNAPSHOT/camera-view-1.0-ALPHA-1-SNAPSHOT.jar [INFO] Installing /var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/CameraView/pom.xml to /var/jenkins_home/maven-repositories/0/it/tidalwave/bluebell/camera-view/1.0-ALPHA-1-SNAPSHOT/camera-view-1.0-ALPHA-1-SNAPSHOT.pom [INFO] [INFO] >>> spotbugs:4.5.0.0:check (default-cli) > :spotbugs @ camera-view >>> [INFO] [INFO] --- spotbugs:4.5.0.0:spotbugs (spotbugs) @ camera-view --- [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 @ camera-view <<< [INFO] [INFO] [INFO] --- spotbugs:4.5.0.0:check (default-cli) @ camera-view --- [INFO] BugInstance size is 9 [INFO] Error size is 0 [INFO] Total bugs: 9 [ERROR] Low: Unchecked/unconfirmed cast from java.io.Serializable to it.tidalwave.bluebell.cameradiscovery.DefaultCameraDiscoveryPresentationControl$Memento in it.tidalwave.bluebell.cameradiscovery.DefaultCameraDiscoveryPresentationControl.setMemento(Serializable) [it.tidalwave.bluebell.cameradiscovery.DefaultCameraDiscoveryPresentationControl] At DefaultCameraDiscoveryPresentationControl.java:[line 221] BC_UNCONFIRMED_CAST [ERROR] Medium: new it.tidalwave.bluebell.cameraview.DefaultCameraPresentationControl(CameraPresentation, LiveViewPresentation, CameraDescriptor, ExecutorService) may expose internal representation by storing an externally mutable object into DefaultCameraPresentationControl.presentation [it.tidalwave.bluebell.cameraview.DefaultCameraPresentationControl] At DefaultCameraPresentationControl.java:[line 134] EI_EXPOSE_REP2 [ERROR] Low: Exceptional return value of java.util.concurrent.ExecutorService.submit(Runnable) ignored in it.tidalwave.bluebell.cameraview.DefaultCameraPresentationControl.setProperty(CameraObserver$Property, String) [it.tidalwave.bluebell.cameraview.DefaultCameraPresentationControl] At DefaultCameraPresentationControl.java:[line 366] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [ERROR] Low: Exceptional return value of java.util.concurrent.ExecutorService.submit(Runnable) ignored in it.tidalwave.bluebell.cameraview.DefaultCameraPresentationControl.setShootMode(String) [it.tidalwave.bluebell.cameraview.DefaultCameraPresentationControl] At DefaultCameraPresentationControl.java:[line 278] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [ERROR] Low: Exceptional return value of java.util.concurrent.ExecutorService.submit(Runnable) ignored in it.tidalwave.bluebell.cameraview.DefaultCameraPresentationControl.start() [it.tidalwave.bluebell.cameraview.DefaultCameraPresentationControl] At DefaultCameraPresentationControl.java:[line 155] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [ERROR] Low: Exceptional return value of java.util.concurrent.ExecutorService.submit(Runnable) ignored in it.tidalwave.bluebell.cameraview.DefaultCameraPresentationControl.startOrStopMovieRecording() [it.tidalwave.bluebell.cameraview.DefaultCameraPresentationControl] At DefaultCameraPresentationControl.java:[line 305] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [ERROR] Low: Exceptional return value of java.util.concurrent.ExecutorService.submit(Runnable) ignored in it.tidalwave.bluebell.cameraview.DefaultCameraPresentationControl.stop() [it.tidalwave.bluebell.cameraview.DefaultCameraPresentationControl] At DefaultCameraPresentationControl.java:[line 208] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [ERROR] Low: Exceptional return value of java.util.concurrent.ExecutorService.submit(Runnable) ignored in it.tidalwave.bluebell.cameraview.DefaultCameraPresentationControl.takeAndFetchPicture() [it.tidalwave.bluebell.cameraview.DefaultCameraPresentationControl] At DefaultCameraPresentationControl.java:[line 241] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [ERROR] Medium: new it.tidalwave.bluebell.liveview.DefaultLiveViewPresentationControl(CameraApi, LiveViewPresentation) may expose internal representation by storing an externally mutable object into DefaultLiveViewPresentationControl.cameraApi [it.tidalwave.bluebell.liveview.DefaultLiveViewPresentationControl] At DefaultLiveViewPresentationControl.java:[line 47] EI_EXPOSE_REP2 [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) @ camera-view --- [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) @ camera-view --- [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) @ camera-view --- [INFO] There are 108 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 @ camera-view >>> [INFO] [INFO] --- buildnumber:1.4:create (default) @ camera-view --- [INFO] ShortRevision tag detected. The value is '12'. [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/CameraView' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/CameraView [INFO] Storing buildNumber: 1bb6e8a4a012 at timestamp: 1683636754779 [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/CameraView' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/CameraView [INFO] Storing buildScmBranch: UNKNOWN [INFO] [INFO] --- enforcer:3.0.0-M3:enforce (enforce-maven) @ camera-view --- [INFO] [INFO] --- enforcer:3.0.0-M3:enforce (enforce-banned-dependencies) @ camera-view --- [INFO] [INFO] --- antrun:3.0.0:run (generate-and-print-build-description) @ camera-view --- [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) @ camera-view --- [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/CameraView/target/jacoco.exec [INFO] [INFO] --- resources:3.2.0:resources (default-resources) @ camera-view --- [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/CameraView/src/main/resources [INFO] [INFO] --- compiler:3.8.1:compile (default-compile) @ camera-view --- [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 9 source files to /var/jenkins_home/jobs/blueBell_Metrics_branches/workspace/modules/CameraView/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.Nullable [INFO] [INFO] --- resources:3.2.0:testResources (default-testResources) @ camera-view --- [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/CameraView/src/test/resources [INFO] [INFO] --- compiler:3.8.1:testCompile (default-testCompile) @ camera-view --- [WARNING] Parameter 'optimize' (user property 'maven.compiler.optimize') is deprecated: This property is a no-op in {@code javac}. [INFO] No sources to compile [WARNING] Failed to getClass for org.apache.maven.plugins.dependency.analyze.AnalyzeMojo [INFO] [INFO] <<< dependency:3.1.2:analyze (default-cli) < test-compile @ camera-view <<< [INFO] [INFO] [INFO] --- dependency:3.1.2:analyze (default-cli) @ camera-view --- [WARNING] Unused declared dependencies found: [WARNING] org.json:json:jar:20080701:provided [WARNING] org.projectlombok:lombok:jar:1.18.22:provided [WARNING] org.testng:testng:jar:6.9.10:test [WARNING] org.hamcrest:hamcrest-all:jar:1.3:test [WARNING] org.mockito:mockito-all:jar:1.8.2:test [WARNING] ch.qos.logback:logback-classic:jar:1.0.12:test [WARNING] it.tidalwave.thesefoolishthings:it-tidalwave-util-test:jar:1.0.34:test [JENKINS] Archiving disabled 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] Skipping blueBell [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for blueBell 1.0-ALPHA-1-SNAPSHOT: [INFO] [INFO] blueBell ........................................... SUCCESS [ 7.708 s] [INFO] blueBell (modules) ................................. SUCCESS [ 1.976 s] [INFO] blueBell - Sony Camera API ......................... SUCCESS [ 40.905 s] [INFO] blueBell - UI ...................................... SUCCESS [ 13.129 s] [INFO] blueBell - Android Application ..................... FAILURE [ 1.398 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:13 min [INFO] Finished at: 2023-05-09T12:52:40Z [INFO] ------------------------------------------------------------------------ [JENKINS] Archiving disabled [ERROR] Failed to execute goal com.simpligility.maven.plugins:android-maven-plugin:4.3.0:generate-sources (default-generate-sources) on project bluebell-application: Execution default-generate-sources of goal com.simpligility.maven.plugins:android-maven-plugin:4.3.0:generate-sources failed: Error reading /var/jenkins_home/tools/android-sdk/tools/source.properties -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :bluebell-application