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:code-generator >------------------
[INFO] Building Mistral Code Generator 1.0-ALPHA-8-SNAPSHOT [3/13]
[INFO] from modules/CodeGenerator/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- clean:3.1.0:clean (default-clean) @ code-generator ---
[INFO]
[INFO] --- buildnumber:1.4:create (default) @ code-generator ---
[INFO] ShortRevision tag detected. The value is '12'.
[INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/Mistral_Metrics_branches/workspace/modules/CodeGenerator' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD'
[INFO] Working directory: /var/jenkins_home/jobs/Mistral_Metrics_branches/workspace/modules/CodeGenerator
[INFO] Storing buildNumber: 0c13af2c55a0 at timestamp: 1683630243055
[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/CodeGenerator' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD'
[INFO] Working directory: /var/jenkins_home/jobs/Mistral_Metrics_branches/workspace/modules/CodeGenerator
[INFO] Storing buildScmBranch: UNKNOWN
[INFO]
[INFO] --- enforcer:3.0.0-M3:enforce (enforce-maven) @ code-generator ---
[INFO]
[INFO] --- enforcer:3.0.0-M3:enforce (enforce-banned-dependencies) @ code-generator ---
[INFO]
[INFO] --- antrun:3.0.0:run (generate-and-print-build-description) @ code-generator ---
[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) @ code-generator ---
[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/CodeGenerator/target/jacoco.exec
[INFO]
[INFO] --- antlr4:4.3:antlr4 (default) @ code-generator ---
[INFO] ANTLR 4: Processing source directory /var/jenkins_home/jobs/Mistral_Metrics_branches/workspace/modules/CodeGenerator/src/main/antlr4
[INFO] Processing grammar: it/tidalwave/image/codegenerator/grammar/TIFF.g4
[INFO]
[INFO] --- build-helper:3.2.0:add-source (default) @ code-generator ---
[INFO] Source directory: /var/jenkins_home/jobs/Mistral_Metrics_branches/workspace/modules/CodeGenerator/target/src-generated added.
[INFO]
[INFO] --- resources:3.2.0:resources (default-resources) @ code-generator ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 1 resource
[INFO]
[INFO] --- compiler:3.8.1:compile (default-compile) @ code-generator ---
[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 8 source files to /var/jenkins_home/jobs/Mistral_Metrics_branches/workspace/modules/CodeGenerator/target/classes
[WARNING] Supported source version 'RELEASE_6' from annotation processor 'org.antlr.v4.runtime.misc.NullUsageProcessor' less than -source '11'
[INFO]
[INFO] --- resources:3.2.0:testResources (default-testResources) @ code-generator ---
[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/CodeGenerator/src/test/resources
[INFO]
[INFO] --- compiler:3.8.1:testCompile (default-testCompile) @ code-generator ---
[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) @ code-generator ---
[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) @ code-generator ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO]
[INFO] --- jar:3.2.0:jar (default-jar) @ code-generator ---
[INFO] Building jar: /var/jenkins_home/jobs/Mistral_Metrics_branches/workspace/modules/CodeGenerator/target/code-generator-1.0-ALPHA-8-SNAPSHOT.0c13af2c55a0.jar
[INFO]
[INFO] --- jar:3.2.0:test-jar (default-test-jar) @ code-generator ---
[INFO] Skipping packaging of the test-jar
[INFO]
[INFO] --- install:3.0.0-M1:install (default-install) @ code-generator ---
[INFO] Installing /var/jenkins_home/jobs/Mistral_Metrics_branches/workspace/modules/CodeGenerator/target/code-generator-1.0-ALPHA-8-SNAPSHOT.0c13af2c55a0.jar to /var/jenkins_home/maven-repositories/2/it/tidalwave/image/code-generator/1.0-ALPHA-8-SNAPSHOT/code-generator-1.0-ALPHA-8-SNAPSHOT.jar
[INFO] Installing /var/jenkins_home/jobs/Mistral_Metrics_branches/workspace/modules/CodeGenerator/pom.xml to /var/jenkins_home/maven-repositories/2/it/tidalwave/image/code-generator/1.0-ALPHA-8-SNAPSHOT/code-generator-1.0-ALPHA-8-SNAPSHOT.pom
[INFO]
[INFO] >>> spotbugs:4.5.0.0:check (default-cli) > :spotbugs @ code-generator >>>
[INFO]
[INFO] --- spotbugs:4.5.0.0:spotbugs (spotbugs) @ code-generator ---
[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 @ code-generator <<<
[INFO]
[INFO]
[INFO] --- spotbugs:4.5.0.0:check (default-cli) @ code-generator ---
[INFO] BugInstance size is 16
[INFO] Error size is 0
[INFO] Total bugs: 16
[ERROR] Medium: Possible null pointer dereference in it.tidalwave.image.codegenerator.MetadataGenerator.main(String[]) due to return value of called method [it.tidalwave.image.codegenerator.MetadataGenerator, it.tidalwave.image.codegenerator.MetadataGenerator] Method invoked at MetadataGenerator.java:[line 58]Known null at MetadataGenerator.java:[line 58] NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE
[ERROR] Low: Use of non-localized String.toUpperCase() or String.toLowerCase() in it.tidalwave.image.codegenerator.TIFFEnumValueName.getIdentifierName() [it.tidalwave.image.codegenerator.TIFFEnumValueName] At TIFFEnumValueName.java:[line 59] DM_CONVERT_CASE
[ERROR] Low: Use of non-localized String.toUpperCase() or String.toLowerCase() in new it.tidalwave.image.codegenerator.TIFFRecord(String, String, String, List) [it.tidalwave.image.codegenerator.TIFFRecord] At TIFFRecord.java:[line 51] DM_CONVERT_CASE
[ERROR] Low: Use of non-localized String.toUpperCase() or String.toLowerCase() in it.tidalwave.image.codegenerator.TIFFRecord.getConstTagName() [it.tidalwave.image.codegenerator.TIFFRecord] At TIFFRecord.java:[line 129] DM_CONVERT_CASE
[ERROR] Low: Use of non-localized String.toUpperCase() or String.toLowerCase() in it.tidalwave.image.codegenerator.Utils.capitalized(String) [it.tidalwave.image.codegenerator.Utils] At Utils.java:[line 33] DM_CONVERT_CASE
[ERROR] Low: Use of non-localized String.toUpperCase() or String.toLowerCase() in it.tidalwave.image.codegenerator.Utils.uncapitalized(String) [it.tidalwave.image.codegenerator.Utils] At Utils.java:[line 43] DM_CONVERT_CASE
[ERROR] Medium: it.tidalwave.image.codegenerator.grammar.TIFFLexer.modeNames should be both final and package protected [it.tidalwave.image.codegenerator.grammar.TIFFLexer] At TIFFLexer.java:[line 27] MS_FINAL_PKGPROTECT
[ERROR] Medium: it.tidalwave.image.codegenerator.grammar.TIFFLexer._decisionToDFA should be package protected [it.tidalwave.image.codegenerator.grammar.TIFFLexer] At TIFFLexer.java:[line 141] MS_PKGPROTECT
[ERROR] Medium: it.tidalwave.image.codegenerator.grammar.TIFFLexer.ruleNames should be package protected [it.tidalwave.image.codegenerator.grammar.TIFFLexer] At TIFFLexer.java:[line 35] MS_PKGPROTECT
[ERROR] Medium: it.tidalwave.image.codegenerator.grammar.TIFFLexer.tokenNames should be package protected [it.tidalwave.image.codegenerator.grammar.TIFFLexer] At TIFFLexer.java:[line 31] MS_PKGPROTECT
[ERROR] Medium: it.tidalwave.image.codegenerator.grammar.TIFFParser._decisionToDFA should be package protected [it.tidalwave.image.codegenerator.grammar.TIFFParser] At TIFFParser.java:[line 439] MS_PKGPROTECT
[ERROR] Medium: it.tidalwave.image.codegenerator.grammar.TIFFParser.ruleNames should be package protected [it.tidalwave.image.codegenerator.grammar.TIFFParser] At TIFFParser.java:[line 34] MS_PKGPROTECT
[ERROR] Medium: it.tidalwave.image.codegenerator.grammar.TIFFParser.tokenNames should be package protected [it.tidalwave.image.codegenerator.grammar.TIFFParser] At TIFFParser.java:[line 27] MS_PKGPROTECT
[ERROR] Medium: Null passed for non-null parameter of new it.tidalwave.image.codegenerator.TIFFRecord(String, String, String, List) in it.tidalwave.image.codegenerator.grammar.TIFFParser.expr() [it.tidalwave.image.codegenerator.grammar.TIFFParser, it.tidalwave.image.codegenerator.grammar.TIFFParser] Method invoked at TIFFParser.java:[line 220]Known null at TIFFParser.java:[line 219] NP_NULL_PARAM_DEREF
[ERROR] Medium: Redundant nullcheck of it.tidalwave.image.codegenerator.grammar.TIFFParser$EnumVContext.name, which is known to be non-null in it.tidalwave.image.codegenerator.grammar.TIFFParser.enumV() [it.tidalwave.image.codegenerator.grammar.TIFFParser] Redundant null check at TIFFParser.java:[line 343] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE
[ERROR] Medium: Redundant nullcheck of it.tidalwave.image.codegenerator.grammar.TIFFParser$ExprContext.name, which is known to be non-null in it.tidalwave.image.codegenerator.grammar.TIFFParser.expr() [it.tidalwave.image.codegenerator.grammar.TIFFParser] Redundant null check at TIFFParser.java:[line 219] 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) @ code-generator ---
[WARNING] Unable to locate Source XRef to link to - DISABLED
[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) @ code-generator ---
[WARNING] Unable to locate Source XRef to link to - DISABLED
[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) @ code-generator ---
[INFO] There are 560 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 @ code-generator >>>
[INFO]
[INFO] --- buildnumber:1.4:create (default) @ code-generator ---
[INFO] ShortRevision tag detected. The value is '12'.
[INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/Mistral_Metrics_branches/workspace/modules/CodeGenerator' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD'
[INFO] Working directory: /var/jenkins_home/jobs/Mistral_Metrics_branches/workspace/modules/CodeGenerator
[INFO] Storing buildNumber: 0c13af2c55a0 at timestamp: 1683630262015
[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/CodeGenerator' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD'
[INFO] Working directory: /var/jenkins_home/jobs/Mistral_Metrics_branches/workspace/modules/CodeGenerator
[INFO] Storing buildScmBranch: UNKNOWN
[INFO]
[INFO] --- enforcer:3.0.0-M3:enforce (enforce-maven) @ code-generator ---
[INFO]
[INFO] --- enforcer:3.0.0-M3:enforce (enforce-banned-dependencies) @ code-generator ---
[INFO]
[INFO] --- antrun:3.0.0:run (generate-and-print-build-description) @ code-generator ---
[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) @ code-generator ---
[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/CodeGenerator/target/jacoco.exec
[INFO]
[INFO] --- antlr4:4.3:antlr4 (default) @ code-generator ---
[INFO] ANTLR 4: Processing source directory /var/jenkins_home/jobs/Mistral_Metrics_branches/workspace/modules/CodeGenerator/src/main/antlr4
[INFO] Processing grammar: it/tidalwave/image/codegenerator/grammar/TIFF.g4
[INFO]
[INFO] --- build-helper:3.2.0:add-source (default) @ code-generator ---
[INFO] Source directory: /var/jenkins_home/jobs/Mistral_Metrics_branches/workspace/modules/CodeGenerator/target/src-generated added.
[INFO]
[INFO] --- resources:3.2.0:resources (default-resources) @ code-generator ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 1 resource
[INFO]
[INFO] --- compiler:3.8.1:compile (default-compile) @ code-generator ---
[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 8 source files to /var/jenkins_home/jobs/Mistral_Metrics_branches/workspace/modules/CodeGenerator/target/classes
[WARNING] Supported source version 'RELEASE_6' from annotation processor 'org.antlr.v4.runtime.misc.NullUsageProcessor' less than -source '11'
[INFO]
[INFO] --- resources:3.2.0:testResources (default-testResources) @ code-generator ---
[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/CodeGenerator/src/test/resources
[INFO]
[INFO] --- compiler:3.8.1:testCompile (default-testCompile) @ code-generator ---
[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 @ code-generator <<<
[INFO]
[INFO]
[INFO] --- dependency:3.1.2:analyze (default-cli) @ code-generator ---
[WARNING] Used undeclared dependencies found:
[WARNING] org.antlr:antlr4-annotations:jar:4.3:compile
[WARNING] org.antlr:antlr4-runtime:jar:4.3:compile
[WARNING] Unused declared dependencies found:
[WARNING] org.antlr:antlr4:jar:4.3:compile
[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:slf4j-api:jar:1.7.30: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