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.northernwind:it-tidalwave-northernwind-frontend-commons >-- [INFO] Building NorthernWind :: Frontend :: Commons 1.2-ALPHA-12-SNAPSHOT [16/24] [INFO] from modules/frontend/Commons/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.2.0:clean (default-clean) @ it-tidalwave-northernwind-frontend-commons --- [INFO] [INFO] --- buildnumber:3.0.0:create (default) @ it-tidalwave-northernwind-frontend-commons --- [INFO] ShortRevision tag detected. The value is '12'. [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/NorthernWind_Metrics_branches/workspace/modules/frontend/Commons' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/NorthernWind_Metrics_branches/workspace/modules/frontend/Commons [INFO] Storing buildNumber: bf5a259865c5 at timestamp: 1683570003214 [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/NorthernWind_Metrics_branches/workspace/modules/frontend/Commons' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/NorthernWind_Metrics_branches/workspace/modules/frontend/Commons [INFO] Storing buildScmBranch: UNKNOWN [INFO] [INFO] --- enforcer:3.3.0:enforce (enforce-maven) @ it-tidalwave-northernwind-frontend-commons --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed [INFO] Rule 3: org.apache.maven.enforcer.rules.RequirePluginVersions passed [INFO] [INFO] --- enforcer:3.3.0:enforce (enforce-banned-dependencies) @ it-tidalwave-northernwind-frontend-commons --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- antrun:3.1.0:run (generate-and-print-build-description) @ it-tidalwave-northernwind-frontend-commons --- [INFO] Executing tasks [INFO] [echo] DESCRIPTION: origin/release/1.2-ALPHA-12 1.2-ALPHA-12-SNAPSHOT bf5a259865c5 [INFO] [echo] Java Version: 11.0.18 -source 11 -target 11 -release 11 [INFO] Executed tasks [INFO] [INFO] --- jacoco:0.8.9:prepare-agent (prepare-agent) @ it-tidalwave-northernwind-frontend-commons --- [INFO] tft.test.jacoco.argLine set to -javaagent:/var/jenkins_home/maven-repositories/0/org/jacoco/org.jacoco.agent/0.8.9/org.jacoco.agent-0.8.9-runtime.jar=destfile=/var/jenkins_home/jobs/NorthernWind_Metrics_branches/workspace/modules/frontend/Commons/target/jacoco.exec [INFO] [INFO] --- antrun:3.1.0:run (create-unwoven-classes-dirs) @ it-tidalwave-northernwind-frontend-commons --- [INFO] Executing tasks [INFO] [mkdir] Created dir: /var/jenkins_home/jobs/NorthernWind_Metrics_branches/workspace/modules/frontend/Commons/target/unwoven-classes [INFO] [mkdir] Created dir: /var/jenkins_home/jobs/NorthernWind_Metrics_branches/workspace/modules/frontend/Commons/target/unwoven-test-classes [INFO] Executed tasks [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ it-tidalwave-northernwind-frontend-commons --- [INFO] skip non existing resourceDirectory /var/jenkins_home/jobs/NorthernWind_Metrics_branches/workspace/modules/frontend/Commons/src/main/resources [INFO] [INFO] --- compiler:3.11.0:compile (default-compile) @ it-tidalwave-northernwind-frontend-commons --- [WARNING] Parameter 'outputDirectory' is read-only, must not be used in configuration [INFO] Changes detected - recompiling the module! :dependency [INFO] Compiling 8 source files with javac [forked debug deprecation release 11] to target/unwoven-classes [WARNING] [path] bad path element "/var/jenkins_home/jobs/NorthernWind_Metrics_branches/workspace/modules/frontend/Commons/target/classes": no such file or directory [WARNING] /var/jenkins_home/jobs/NorthernWind_Metrics_branches/workspace/modules/frontend/Commons/src/main/java/it/tidalwave/northernwind/frontend/util/InitializationDiagnosticsDispatcherServletDecorator.java:[53,7] [serial] serializable class InitializationDiagnosticsDispatcherServletDecorator has no definition of serialVersionUID [INFO] [INFO] --- aspectj:1.14.0:compile (weave-classes) @ it-tidalwave-northernwind-frontend-commons --- [INFO] Showing AJC message detail for messages of types: [error, warning, fail] [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ it-tidalwave-northernwind-frontend-commons --- [INFO] skip non existing resourceDirectory /var/jenkins_home/jobs/NorthernWind_Metrics_branches/workspace/modules/frontend/Commons/src/test/resources [INFO] [INFO] --- compiler:3.11.0:testCompile (default-testCompile) @ it-tidalwave-northernwind-frontend-commons --- [WARNING] Parameter 'outputDirectory' is read-only, must not be used in configuration [INFO] No sources to compile [INFO] [INFO] --- aspectj:1.14.0:test-compile (weave-test-classes) @ it-tidalwave-northernwind-frontend-commons --- [INFO] Showing AJC message detail for messages of types: [error, warning, fail] [INFO] [INFO] --- surefire:3.0.0:test (default-test) @ it-tidalwave-northernwind-frontend-commons --- [JENKINS] Recording test results [INFO] [INFO] --- jacoco:0.8.9:report (report) @ it-tidalwave-northernwind-frontend-commons --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- jar:3.3.0:jar (default-jar) @ it-tidalwave-northernwind-frontend-commons --- [INFO] Building jar: /var/jenkins_home/jobs/NorthernWind_Metrics_branches/workspace/modules/frontend/Commons/target/it-tidalwave-northernwind-frontend-commons-1.2-ALPHA-12-SNAPSHOT.bf5a259865c5.jar [INFO] [INFO] --- jar:3.3.0:test-jar (default-test-jar) @ it-tidalwave-northernwind-frontend-commons --- [INFO] Building jar: /var/jenkins_home/jobs/NorthernWind_Metrics_branches/workspace/modules/frontend/Commons/target/it-tidalwave-northernwind-frontend-commons-1.2-ALPHA-12-SNAPSHOT.bf5a259865c5-tests.jar [INFO] [INFO] --- install:3.1.1:install (default-install) @ it-tidalwave-northernwind-frontend-commons --- [INFO] Installing /var/jenkins_home/jobs/NorthernWind_Metrics_branches/workspace/modules/frontend/Commons/pom.xml to /var/jenkins_home/maven-repositories/0/it/tidalwave/northernwind/it-tidalwave-northernwind-frontend-commons/1.2-ALPHA-12-SNAPSHOT/it-tidalwave-northernwind-frontend-commons-1.2-ALPHA-12-SNAPSHOT.pom [INFO] Installing /var/jenkins_home/jobs/NorthernWind_Metrics_branches/workspace/modules/frontend/Commons/target/it-tidalwave-northernwind-frontend-commons-1.2-ALPHA-12-SNAPSHOT.bf5a259865c5.jar to /var/jenkins_home/maven-repositories/0/it/tidalwave/northernwind/it-tidalwave-northernwind-frontend-commons/1.2-ALPHA-12-SNAPSHOT/it-tidalwave-northernwind-frontend-commons-1.2-ALPHA-12-SNAPSHOT.jar [INFO] Installing /var/jenkins_home/jobs/NorthernWind_Metrics_branches/workspace/modules/frontend/Commons/target/it-tidalwave-northernwind-frontend-commons-1.2-ALPHA-12-SNAPSHOT.bf5a259865c5-tests.jar to /var/jenkins_home/maven-repositories/0/it/tidalwave/northernwind/it-tidalwave-northernwind-frontend-commons/1.2-ALPHA-12-SNAPSHOT/it-tidalwave-northernwind-frontend-commons-1.2-ALPHA-12-SNAPSHOT-tests.jar [INFO] [INFO] >>> spotbugs:4.7.3.4:check (default-cli) > :spotbugs @ it-tidalwave-northernwind-frontend-commons >>> [INFO] [INFO] --- spotbugs:4.7.3.4:spotbugs (spotbugs) @ it-tidalwave-northernwind-frontend-commons --- [INFO] Fork Value is true [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs:4.7.3.4:check (default-cli) < :spotbugs @ it-tidalwave-northernwind-frontend-commons <<< [INFO] [INFO] [INFO] --- spotbugs:4.7.3.4:check (default-cli) @ it-tidalwave-northernwind-frontend-commons --- [INFO] BugInstance size is 6 [INFO] Error size is 0 [INFO] Total bugs: 6 [ERROR] High: Found reliance on default encoding in it.tidalwave.northernwind.frontend.util.InitializationDiagnosticsDispatcherServletDecorator.sendProcessingError(Throwable, HttpServletResponse): new java.io.PrintWriter(OutputStream) [it.tidalwave.northernwind.frontend.util.InitializationDiagnosticsDispatcherServletDecorator] At InitializationDiagnosticsDispatcherServletDecorator.java:[line 129] DM_DEFAULT_ENCODING [ERROR] Low: it.tidalwave.northernwind.frontend.util.InitializationDiagnosticsDispatcherServletDecorator is Serializable; consider declaring a serialVersionUID [it.tidalwave.northernwind.frontend.util.InitializationDiagnosticsDispatcherServletDecorator] At InitializationDiagnosticsDispatcherServletDecorator.java:[lines 53-140] SE_NO_SERIALVERSIONID [ERROR] Low: Overridable method ajc$afterReturning$org_springframework_beans_factory_aspectj_AbstractDependencyInjectionAspect$2$1ea6722c is called from constructor new it.tidalwave.northernwind.frontend.util.NorthernWindResponseHeaderFilter(). [it.tidalwave.northernwind.frontend.util.NorthernWindResponseHeaderFilter] At NorthernWindResponseHeaderFilter.java:[line 47] MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR [ERROR] Low: Overridable method ajc$before$org_springframework_beans_factory_aspectj_AbstractDependencyInjectionAspect$1$e854fa65 is called from constructor new it.tidalwave.northernwind.frontend.util.NorthernWindResponseHeaderFilter(). [it.tidalwave.northernwind.frontend.util.NorthernWindResponseHeaderFilter] At NorthernWindResponseHeaderFilter.java:[line 47] MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR [ERROR] Medium: Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.frontend.util.NorthernWindResponseHeaderFilter() [it.tidalwave.northernwind.frontend.util.NorthernWindResponseHeaderFilter] Redundant null check at NorthernWindResponseHeaderFilter.java:[line 47] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Low: Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.frontend.util.NorthernWindResponseHeaderFilter() [it.tidalwave.northernwind.frontend.util.NorthernWindResponseHeaderFilter] Redundant null check at NorthernWindResponseHeaderFilter.java:[line 47] 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.20.0:cpd (default-cli) @ it-tidalwave-northernwind-frontend-commons --- [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. [WARNING] Parameter 'aggregate' (user property 'aggregate') is deprecated: since 3.15.0 Use the goals pmd:aggregate-pmd and pmd:aggregate-cpd instead. [WARNING] Unable to locate Source XRef to link to - DISABLED [WARNING] Unable to locate Source XRef to link to - DISABLED [INFO] PMD version: 6.53.0 [INFO] Rendering content with org.apache.maven.skins:maven-default-skin:jar:1.3 skin. [INFO] [INFO] --- pmd:3.20.0:pmd (default-cli) @ it-tidalwave-northernwind-frontend-commons --- [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. [WARNING] Parameter 'aggregate' (user property 'aggregate') is deprecated: since 3.15.0 Use the goals pmd:aggregate-pmd and pmd:aggregate-cpd instead. [WARNING] Unable to locate Source XRef to link to - DISABLED [WARNING] Unable to locate Source XRef to link to - DISABLED [INFO] PMD version: 6.53.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 [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] Rendering content with org.apache.maven.skins:maven-default-skin:jar:1.3 skin. [INFO] [INFO] --- checkstyle:3.0.0:checkstyle (default-cli) @ it-tidalwave-northernwind-frontend-commons --- [INFO] There are 32 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.5.0:analyze (default-cli) > test-compile @ it-tidalwave-northernwind-frontend-commons >>> [INFO] [INFO] --- buildnumber:3.0.0:create (default) @ it-tidalwave-northernwind-frontend-commons --- [INFO] ShortRevision tag detected. The value is '12'. [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/NorthernWind_Metrics_branches/workspace/modules/frontend/Commons' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/NorthernWind_Metrics_branches/workspace/modules/frontend/Commons [INFO] Storing buildNumber: bf5a259865c5 at timestamp: 1683570015331 [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/NorthernWind_Metrics_branches/workspace/modules/frontend/Commons' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/NorthernWind_Metrics_branches/workspace/modules/frontend/Commons [INFO] Storing buildScmBranch: UNKNOWN [INFO] [INFO] --- enforcer:3.3.0:enforce (enforce-maven) @ it-tidalwave-northernwind-frontend-commons --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed [INFO] Rule 3: org.apache.maven.enforcer.rules.RequirePluginVersions passed [INFO] [INFO] --- enforcer:3.3.0:enforce (enforce-banned-dependencies) @ it-tidalwave-northernwind-frontend-commons --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- antrun:3.1.0:run (generate-and-print-build-description) @ it-tidalwave-northernwind-frontend-commons --- [INFO] Executing tasks [INFO] [echo] DESCRIPTION: origin/release/1.2-ALPHA-12 1.2-ALPHA-12-SNAPSHOT bf5a259865c5 [INFO] [echo] Java Version: 11.0.18 -source 11 -target 11 -release 11 [INFO] Executed tasks [INFO] [INFO] --- jacoco:0.8.9:prepare-agent (prepare-agent) @ it-tidalwave-northernwind-frontend-commons --- [INFO] tft.test.jacoco.argLine set to -javaagent:/var/jenkins_home/maven-repositories/0/org/jacoco/org.jacoco.agent/0.8.9/org.jacoco.agent-0.8.9-runtime.jar=destfile=/var/jenkins_home/jobs/NorthernWind_Metrics_branches/workspace/modules/frontend/Commons/target/jacoco.exec [INFO] [INFO] --- antrun:3.1.0:run (create-unwoven-classes-dirs) @ it-tidalwave-northernwind-frontend-commons --- [INFO] Executing tasks [INFO] Executed tasks [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ it-tidalwave-northernwind-frontend-commons --- [INFO] skip non existing resourceDirectory /var/jenkins_home/jobs/NorthernWind_Metrics_branches/workspace/modules/frontend/Commons/src/main/resources [INFO] [INFO] --- compiler:3.11.0:compile (default-compile) @ it-tidalwave-northernwind-frontend-commons --- [WARNING] Parameter 'outputDirectory' is read-only, must not be used in configuration [INFO] Changes detected - recompiling the module! :dependency [INFO] Compiling 8 source files with javac [forked debug deprecation release 11] to target/unwoven-classes [WARNING] /var/jenkins_home/jobs/NorthernWind_Metrics_branches/workspace/modules/frontend/Commons/src/main/java/it/tidalwave/northernwind/frontend/util/InitializationDiagnosticsDispatcherServletDecorator.java:[53,7] [serial] serializable class InitializationDiagnosticsDispatcherServletDecorator has no definition of serialVersionUID [INFO] [INFO] --- aspectj:1.14.0:compile (weave-classes) @ it-tidalwave-northernwind-frontend-commons --- [INFO] Showing AJC message detail for messages of types: [error, warning, fail] [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ it-tidalwave-northernwind-frontend-commons --- [INFO] skip non existing resourceDirectory /var/jenkins_home/jobs/NorthernWind_Metrics_branches/workspace/modules/frontend/Commons/src/test/resources [INFO] [INFO] --- compiler:3.11.0:testCompile (default-testCompile) @ it-tidalwave-northernwind-frontend-commons --- [WARNING] Parameter 'outputDirectory' is read-only, must not be used in configuration [INFO] No sources to compile [WARNING] Failed to getClass for org.apache.maven.plugins.dependency.analyze.AnalyzeMojo [INFO] [INFO] <<< dependency:3.5.0:analyze (default-cli) < test-compile @ it-tidalwave-northernwind-frontend-commons <<< [INFO] [INFO] [INFO] --- dependency:3.5.0:analyze (default-cli) @ it-tidalwave-northernwind-frontend-commons --- [WARNING] Used undeclared dependencies found: [WARNING] org.springframework:spring-beans:jar:5.3.27:compile [WARNING] com.google.code.findbugs:jsr305:jar:3.0.2:compile [WARNING] Unused declared dependencies found: [WARNING] org.slf4j:jcl-over-slf4j:jar:2.0.7:provided [WARNING] javax.annotation:javax.annotation-api:jar:1.3.2:compile [WARNING] org.projectlombok:lombok:jar:1.18.24:provided [WARNING] it.tidalwave.thesefoolishthings:it-tidalwave-util-test:jar:3.2-ALPHA-22:test [WARNING] ch.qos.logback:logback-classic:jar:1.4.7:test [WARNING] org.testng:testng:jar:7.7.1:test [WARNING] org.hamcrest:hamcrest-all:jar:1.3:test [WARNING] org.mockito:mockito-core:jar:4.8.1:test [JENKINS] Archiving disabled