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.image:image-renderer >------------------ [INFO] Building Mistral Renderer 1.0-ALPHA-8-SNAPSHOT [8/13] [INFO] from modules/Renderer/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.1.0:clean (default-clean) @ image-renderer --- [INFO] [INFO] --- buildnumber:1.4:create (default) @ image-renderer --- [INFO] ShortRevision tag detected. The value is '12'. [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/Mistral_Metrics_branches/workspace/modules/Renderer' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/Mistral_Metrics_branches/workspace/modules/Renderer [INFO] Storing buildNumber: 0c13af2c55a0 at timestamp: 1683631154293 [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/Mistral_Metrics_branches/workspace/modules/Renderer' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/Mistral_Metrics_branches/workspace/modules/Renderer [INFO] Storing buildScmBranch: UNKNOWN [INFO] [INFO] --- enforcer:3.0.0-M3:enforce (enforce-maven) @ image-renderer --- [INFO] [INFO] --- enforcer:3.0.0-M3:enforce (enforce-banned-dependencies) @ image-renderer --- [INFO] [INFO] --- antrun:3.0.0:run (generate-and-print-build-description) @ image-renderer --- [INFO] Executing tasks [INFO] [echo] DESCRIPTION: origin/release/1.0-ALPHA-8 1.0-ALPHA-8-SNAPSHOT 0c13af2c55a0 [INFO] [echo] Java Version: 11.0.18 -source 11 -target 11 -release 11 [INFO] Executed tasks [INFO] [INFO] --- jacoco:0.8.7:prepare-agent (prepare-agent) @ image-renderer --- [INFO] tft.test.jacoco.argLine set to -javaagent:/var/jenkins_home/maven-repositories/2/org/jacoco/org.jacoco.agent/0.8.7/org.jacoco.agent-0.8.7-runtime.jar=destfile=/var/jenkins_home/jobs/Mistral_Metrics_branches/workspace/modules/Renderer/target/jacoco.exec [INFO] [INFO] --- resources:3.2.0:resources (default-resources) @ image-renderer --- [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/Mistral_Metrics_branches/workspace/modules/Renderer/src/main/resources [INFO] [INFO] --- compiler:3.8.1:compile (default-compile) @ image-renderer --- [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 12 source files to /var/jenkins_home/jobs/Mistral_Metrics_branches/workspace/modules/Renderer/target/classes [WARNING] /var/jenkins_home/jobs/Mistral_Metrics_branches/workspace/modules/Renderer/src/main/java/it/tidalwave/image/render/EditableImageRenderer.java:[62,7] [serial] serializable class EditableImageRenderer has no definition of serialVersionUID [WARNING] /var/jenkins_home/jobs/Mistral_Metrics_branches/workspace/modules/Renderer/src/main/java/it/tidalwave/image/render/event/EditableImageRendererEvent.java:[38,7] [serial] serializable class EditableImageRendererEvent has no definition of serialVersionUID [INFO] [INFO] --- resources:3.2.0:testResources (default-testResources) @ image-renderer --- [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/Mistral_Metrics_branches/workspace/modules/Renderer/src/test/resources [INFO] [INFO] --- compiler:3.8.1:testCompile (default-testCompile) @ image-renderer --- [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) @ image-renderer --- [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. [INFO] [INFO] --- jacoco:0.8.7:report (report) @ image-renderer --- [INFO] Skipping JaCoCo execution due to missing execution data file. [JENKINS] Recording test results [INFO] [INFO] --- jar:3.2.0:jar (default-jar) @ image-renderer --- [INFO] Building jar: /var/jenkins_home/jobs/Mistral_Metrics_branches/workspace/modules/Renderer/target/image-renderer-1.0-ALPHA-8-SNAPSHOT.0c13af2c55a0.jar [INFO] [INFO] --- jar:3.2.0:test-jar (default-test-jar) @ image-renderer --- [INFO] Skipping packaging of the test-jar [INFO] [INFO] --- install:3.0.0-M1:install (default-install) @ image-renderer --- [INFO] Installing /var/jenkins_home/jobs/Mistral_Metrics_branches/workspace/modules/Renderer/target/image-renderer-1.0-ALPHA-8-SNAPSHOT.0c13af2c55a0.jar to /var/jenkins_home/maven-repositories/2/it/tidalwave/image/image-renderer/1.0-ALPHA-8-SNAPSHOT/image-renderer-1.0-ALPHA-8-SNAPSHOT.jar [INFO] Installing /var/jenkins_home/jobs/Mistral_Metrics_branches/workspace/modules/Renderer/pom.xml to /var/jenkins_home/maven-repositories/2/it/tidalwave/image/image-renderer/1.0-ALPHA-8-SNAPSHOT/image-renderer-1.0-ALPHA-8-SNAPSHOT.pom [INFO] [INFO] >>> spotbugs:4.5.0.0:check (default-cli) > :spotbugs @ image-renderer >>> [INFO] [INFO] --- spotbugs:4.5.0.0:spotbugs (spotbugs) @ image-renderer --- [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 @ image-renderer <<< [INFO] [INFO] [INFO] --- spotbugs:4.5.0.0:check (default-cli) @ image-renderer --- [INFO] BugInstance size is 22 [INFO] Error size is 0 [INFO] Total bugs: 22 [ERROR] Medium: new it.tidalwave.image.render.DragPanningController(EditableImageRenderer) may expose internal representation by storing an externally mutable object into DragPanningController.imageRenderer [it.tidalwave.image.render.DragPanningController] At DragPanningController.java:[line 119] EI_EXPOSE_REP2 [ERROR] Low: Unchecked/unconfirmed cast from java.awt.Graphics to java.awt.Graphics2D in it.tidalwave.image.render.EditableImageRenderer.paint(Graphics) [it.tidalwave.image.render.EditableImageRenderer] At EditableImageRenderer.java:[line 1009] BC_UNCONFIRMED_CAST [ERROR] Medium: it.tidalwave.image.render.EditableImageRenderer.getEditingTool() may expose internal representation by returning EditableImageRenderer.editingTool [it.tidalwave.image.render.EditableImageRenderer] At EditableImageRenderer.java:[line 480] EI_EXPOSE_REP [ERROR] Medium: it.tidalwave.image.render.EditableImageRenderer.getImage() may expose internal representation by returning EditableImageRenderer.image [it.tidalwave.image.render.EditableImageRenderer] At EditableImageRenderer.java:[line 329] EI_EXPOSE_REP [ERROR] Medium: it.tidalwave.image.render.EditableImageRenderer.getOptimizedImage() may expose internal representation by returning EditableImageRenderer.optimizedImage [it.tidalwave.image.render.EditableImageRenderer] At EditableImageRenderer.java:[line 344] EI_EXPOSE_REP [ERROR] Medium: it.tidalwave.image.render.EditableImageRenderer.getOrigin() may expose internal representation by returning EditableImageRenderer.origin [it.tidalwave.image.render.EditableImageRenderer] At EditableImageRenderer.java:[line 436] EI_EXPOSE_REP [ERROR] Medium: it.tidalwave.image.render.EditableImageRenderer.getPreviewSettings() may expose internal representation by returning EditableImageRenderer.previewSettings [it.tidalwave.image.render.EditableImageRenderer] At EditableImageRenderer.java:[line 880] EI_EXPOSE_REP [ERROR] Medium: it.tidalwave.image.render.EditableImageRenderer.setImage(EditableImage) may expose internal representation by storing an externally mutable object into EditableImageRenderer.image [it.tidalwave.image.render.EditableImageRenderer] At EditableImageRenderer.java:[line 299] EI_EXPOSE_REP2 [ERROR] Medium: it.tidalwave.image.render.EditableImageRenderer.setPreviewSettings(PreviewSettings) may expose internal representation by storing an externally mutable object into EditableImageRenderer.previewSettings [it.tidalwave.image.render.EditableImageRenderer] At EditableImageRenderer.java:[line 869] EI_EXPOSE_REP2 [ERROR] Low: Test for floating point equality in it.tidalwave.image.render.EditableImageRenderer.internalSetScale(double) [it.tidalwave.image.render.EditableImageRenderer] At EditableImageRenderer.java:[line 1286] FE_FLOATING_POINT_EQUALITY [ERROR] Low: Test for floating point equality in it.tidalwave.image.render.EditableImageRenderer.setAngle(double) [it.tidalwave.image.render.EditableImageRenderer] At EditableImageRenderer.java:[line 456] FE_FLOATING_POINT_EQUALITY [ERROR] Low: Class it.tidalwave.image.render.EditableImageRenderer defines non-transient non-serializable instance field editingTool [it.tidalwave.image.render.EditableImageRenderer] In EditableImageRenderer.java SE_BAD_FIELD [ERROR] Low: Class it.tidalwave.image.render.EditableImageRenderer defines non-transient non-serializable instance field previewSettings [it.tidalwave.image.render.EditableImageRenderer] In EditableImageRenderer.java SE_BAD_FIELD [ERROR] Medium: new it.tidalwave.image.render.EditingTool$State(EditingTool) may expose internal representation by storing an externally mutable object into EditingTool$State.this$0 [it.tidalwave.image.render.EditingTool$State] At EditingTool.java:[line 60] EI_EXPOSE_REP2 [ERROR] Medium: new it.tidalwave.image.render.MouseClickZoomingController(ScaleController) may expose internal representation by storing an externally mutable object into MouseClickZoomingController.scaleController [it.tidalwave.image.render.MouseClickZoomingController] At MouseClickZoomingController.java:[line 123] EI_EXPOSE_REP2 [ERROR] Medium: new it.tidalwave.image.render.MouseWheelZoomingController(ScaleController) may expose internal representation by storing an externally mutable object into MouseWheelZoomingController.scaleController [it.tidalwave.image.render.MouseWheelZoomingController] At MouseWheelZoomingController.java:[line 92] EI_EXPOSE_REP2 [ERROR] Medium: new it.tidalwave.image.render.RotationController(EditableImageRenderer) may expose internal representation by storing an externally mutable object into RotationController.imageRenderer [it.tidalwave.image.render.RotationController] At RotationController.java:[line 55] EI_EXPOSE_REP2 [ERROR] Medium: new it.tidalwave.image.render.ScaleController(EditableImageRenderer) may expose internal representation by storing an externally mutable object into ScaleController.imageRenderer [it.tidalwave.image.render.ScaleController] At ScaleController.java:[line 74] EI_EXPOSE_REP2 [ERROR] Medium: it.tidalwave.image.render.event.EditableImageRendererEvent.getEditingTool() may expose internal representation by returning EditableImageRendererEvent.editingTool [it.tidalwave.image.render.event.EditableImageRendererEvent] At EditableImageRendererEvent.java:[line 55] EI_EXPOSE_REP [ERROR] Medium: new it.tidalwave.image.render.event.EditableImageRendererEvent(EditableImageRenderer, EditingTool) may expose internal representation by storing an externally mutable object into EditableImageRendererEvent.editingTool [it.tidalwave.image.render.event.EditableImageRendererEvent] At EditableImageRendererEvent.java:[line 50] EI_EXPOSE_REP2 [ERROR] Medium: Class it.tidalwave.image.render.event.EditableImageRendererEvent defines non-transient non-serializable instance field editingTool [it.tidalwave.image.render.event.EditableImageRendererEvent] In EditableImageRendererEvent.java SE_BAD_FIELD [ERROR] Low: it.tidalwave.image.render.event.EditableImageRendererEvent is Serializable; consider declaring a serialVersionUID [it.tidalwave.image.render.event.EditableImageRendererEvent] At EditableImageRendererEvent.java:[lines 44-55] SE_NO_SERIALVERSIONID [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) @ image-renderer --- [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) @ image-renderer --- [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) @ image-renderer --- [INFO] There are 97 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 @ image-renderer >>> [INFO] [INFO] --- buildnumber:1.4:create (default) @ image-renderer --- [INFO] ShortRevision tag detected. The value is '12'. [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/Mistral_Metrics_branches/workspace/modules/Renderer' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/Mistral_Metrics_branches/workspace/modules/Renderer [INFO] Storing buildNumber: 0c13af2c55a0 at timestamp: 1683631176321 [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/Mistral_Metrics_branches/workspace/modules/Renderer' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/Mistral_Metrics_branches/workspace/modules/Renderer [INFO] Storing buildScmBranch: UNKNOWN [INFO] [INFO] --- enforcer:3.0.0-M3:enforce (enforce-maven) @ image-renderer --- [INFO] [INFO] --- enforcer:3.0.0-M3:enforce (enforce-banned-dependencies) @ image-renderer --- [INFO] [INFO] --- antrun:3.0.0:run (generate-and-print-build-description) @ image-renderer --- [INFO] Executing tasks [INFO] [echo] DESCRIPTION: origin/release/1.0-ALPHA-8 1.0-ALPHA-8-SNAPSHOT 0c13af2c55a0 [INFO] [echo] Java Version: 11.0.18 -source 11 -target 11 -release 11 [INFO] Executed tasks [INFO] [INFO] --- jacoco:0.8.7:prepare-agent (prepare-agent) @ image-renderer --- [INFO] tft.test.jacoco.argLine set to -javaagent:/var/jenkins_home/maven-repositories/2/org/jacoco/org.jacoco.agent/0.8.7/org.jacoco.agent-0.8.7-runtime.jar=destfile=/var/jenkins_home/jobs/Mistral_Metrics_branches/workspace/modules/Renderer/target/jacoco.exec [INFO] [INFO] --- resources:3.2.0:resources (default-resources) @ image-renderer --- [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/Mistral_Metrics_branches/workspace/modules/Renderer/src/main/resources [INFO] [INFO] --- compiler:3.8.1:compile (default-compile) @ image-renderer --- [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 12 source files to /var/jenkins_home/jobs/Mistral_Metrics_branches/workspace/modules/Renderer/target/classes [WARNING] /var/jenkins_home/jobs/Mistral_Metrics_branches/workspace/modules/Renderer/src/main/java/it/tidalwave/image/render/EditableImageRenderer.java:[62,7] [serial] serializable class EditableImageRenderer has no definition of serialVersionUID [WARNING] /var/jenkins_home/jobs/Mistral_Metrics_branches/workspace/modules/Renderer/src/main/java/it/tidalwave/image/render/event/EditableImageRendererEvent.java:[38,7] [serial] serializable class EditableImageRendererEvent has no definition of serialVersionUID [INFO] [INFO] --- resources:3.2.0:testResources (default-testResources) @ image-renderer --- [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/Mistral_Metrics_branches/workspace/modules/Renderer/src/test/resources [INFO] [INFO] --- compiler:3.8.1:testCompile (default-testCompile) @ image-renderer --- [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 @ image-renderer <<< [INFO] [INFO] [INFO] --- dependency:3.1.2:analyze (default-cli) @ image-renderer --- [WARNING] Unused declared dependencies found: [WARNING] javax.annotation:javax.annotation-api:jar:1.3.2:compile [WARNING] com.github.spotbugs:spotbugs-annotations:jar:3.1.9:compile [WARNING] org.slf4j:jul-to-slf4j:jar:1.7.30:runtime [WARNING] org.slf4j:jcl-over-slf4j:jar:1.7.30:runtime [WARNING] org.projectlombok:lombok:jar:1.18.22:provided [WARNING] it.tidalwave.thesefoolishthings:it-tidalwave-util-test:jar:3.2-ALPHA-16:test [WARNING] ch.qos.logback:logback-classic:jar:1.2.3:test [WARNING] org.testng:testng:jar:6.9.10:test [JENKINS] Archiving disabled