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.accounting:it-tidalwave-accounting-importer-ibiz >---- [INFO] Building blueHour - Importer - iBiz 1.0-ALPHA-9-SNAPSHOT [5/15] [INFO] from modules/iBizImporter/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.2.0:clean (default-clean) @ it-tidalwave-accounting-importer-ibiz --- [INFO] [INFO] --- buildnumber:3.0.0:create (default) @ it-tidalwave-accounting-importer-ibiz --- [INFO] ShortRevision tag detected. The value is '12'. [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/blueHour_Metrics_branches/workspace/modules/iBizImporter' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/blueHour_Metrics_branches/workspace/modules/iBizImporter [INFO] Storing buildNumber: cdf9a1755e94 at timestamp: 1683627546482 [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/blueHour_Metrics_branches/workspace/modules/iBizImporter' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/blueHour_Metrics_branches/workspace/modules/iBizImporter [INFO] Storing buildScmBranch: UNKNOWN [INFO] [INFO] --- enforcer:3.3.0:enforce (enforce-maven) @ it-tidalwave-accounting-importer-ibiz --- [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-accounting-importer-ibiz --- [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-accounting-importer-ibiz --- [INFO] Executing tasks [INFO] [echo] DESCRIPTION: origin/release/1.0-ALPHA-9 1.0-ALPHA-9-SNAPSHOT cdf9a1755e94 [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-accounting-importer-ibiz --- [INFO] tft.test.jacoco.argLine set to -javaagent:/var/jenkins_home/maven-repositories/1/org/jacoco/org.jacoco.agent/0.8.9/org.jacoco.agent-0.8.9-runtime.jar=destfile=/var/jenkins_home/jobs/blueHour_Metrics_branches/workspace/modules/iBizImporter/target/jacoco.exec [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ it-tidalwave-accounting-importer-ibiz --- [INFO] Copying 1 resource from src/main/resources to target/classes [INFO] [INFO] --- compiler:3.11.0:compile (default-compile) @ it-tidalwave-accounting-importer-ibiz --- [INFO] Changes detected - recompiling the module! :dependency [INFO] Compiling 12 source files with javac [forked debug deprecation release 11] to target/classes [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ it-tidalwave-accounting-importer-ibiz --- [INFO] skip non existing resourceDirectory /var/jenkins_home/jobs/blueHour_Metrics_branches/workspace/modules/iBizImporter/src/test/resources [INFO] [INFO] --- compiler:3.11.0:testCompile (default-testCompile) @ it-tidalwave-accounting-importer-ibiz --- [INFO] Changes detected - recompiling the module! :dependency [INFO] Compiling 1 source file with javac [forked debug deprecation release 11] to target/test-classes [INFO] [INFO] --- surefire:3.0.0:test (default-test) @ it-tidalwave-accounting-importer-ibiz --- [INFO] Using auto detected provider org.apache.maven.surefire.testng.TestNGProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running it.tidalwave.accounting.importer.ibiz.impl.DefaultIBizImporterTest 10:19:13.602 [main ] INFO i.t.a.importer.ibiz.impl.DefaultIBizImporterTest - STARTING TESTS OF it.tidalwave.accounting.importer.ibiz.impl.DefaultIBizImporterTest 10:19:13.623 [main ] INFO i.t.a.importer.ibiz.impl.DefaultIBizImporterTest - FINISHED TESTS OF it.tidalwave.accounting.importer.ibiz.impl.DefaultIBizImporterTest [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.377 s - in it.tidalwave.accounting.importer.ibiz.impl.DefaultIBizImporterTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO] [JENKINS] Recording test results [INFO] [INFO] --- jacoco:0.8.9:report (report) @ it-tidalwave-accounting-importer-ibiz --- [INFO] Loading execution data file /var/jenkins_home/jobs/blueHour_Metrics_branches/workspace/modules/iBizImporter/target/jacoco.exec [INFO] Analyzed bundle 'blueHour - Importer - iBiz' with 12 classes [INFO] [INFO] --- jar:3.3.0:jar (default-jar) @ it-tidalwave-accounting-importer-ibiz --- [INFO] Building jar: /var/jenkins_home/jobs/blueHour_Metrics_branches/workspace/modules/iBizImporter/target/it-tidalwave-accounting-importer-ibiz-1.0-ALPHA-9-SNAPSHOT.cdf9a1755e94.jar [INFO] [INFO] --- jar:3.3.0:test-jar (default-test-jar) @ it-tidalwave-accounting-importer-ibiz --- [INFO] Building jar: /var/jenkins_home/jobs/blueHour_Metrics_branches/workspace/modules/iBizImporter/target/it-tidalwave-accounting-importer-ibiz-1.0-ALPHA-9-SNAPSHOT.cdf9a1755e94-tests.jar [INFO] [INFO] --- install:3.1.1:install (default-install) @ it-tidalwave-accounting-importer-ibiz --- [INFO] Installing /var/jenkins_home/jobs/blueHour_Metrics_branches/workspace/modules/iBizImporter/pom.xml to /var/jenkins_home/maven-repositories/1/it/tidalwave/accounting/it-tidalwave-accounting-importer-ibiz/1.0-ALPHA-9-SNAPSHOT/it-tidalwave-accounting-importer-ibiz-1.0-ALPHA-9-SNAPSHOT.pom [INFO] Installing /var/jenkins_home/jobs/blueHour_Metrics_branches/workspace/modules/iBizImporter/target/it-tidalwave-accounting-importer-ibiz-1.0-ALPHA-9-SNAPSHOT.cdf9a1755e94.jar to /var/jenkins_home/maven-repositories/1/it/tidalwave/accounting/it-tidalwave-accounting-importer-ibiz/1.0-ALPHA-9-SNAPSHOT/it-tidalwave-accounting-importer-ibiz-1.0-ALPHA-9-SNAPSHOT.jar [INFO] Installing /var/jenkins_home/jobs/blueHour_Metrics_branches/workspace/modules/iBizImporter/target/it-tidalwave-accounting-importer-ibiz-1.0-ALPHA-9-SNAPSHOT.cdf9a1755e94-tests.jar to /var/jenkins_home/maven-repositories/1/it/tidalwave/accounting/it-tidalwave-accounting-importer-ibiz/1.0-ALPHA-9-SNAPSHOT/it-tidalwave-accounting-importer-ibiz-1.0-ALPHA-9-SNAPSHOT-tests.jar [INFO] [INFO] >>> spotbugs:4.7.3.4:check (default-cli) > :spotbugs @ it-tidalwave-accounting-importer-ibiz >>> [INFO] [INFO] --- spotbugs:4.7.3.4:spotbugs (spotbugs) @ it-tidalwave-accounting-importer-ibiz --- [INFO] Fork Value is true [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs:4.7.3.4:check (default-cli) < :spotbugs @ it-tidalwave-accounting-importer-ibiz <<< [INFO] [INFO] [INFO] --- spotbugs:4.7.3.4:check (default-cli) @ it-tidalwave-accounting-importer-ibiz --- [INFO] BugInstance size is 2 [INFO] Error size is 0 [INFO] Total bugs: 2 [ERROR] Low: Private method it.tidalwave.accounting.importer.ibiz.impl.DefaultIBizCustomerImporter.trim(String) is never called [it.tidalwave.accounting.importer.ibiz.impl.DefaultIBizCustomerImporter] At DefaultIBizCustomerImporter.java:[line 137] UPM_UNCALLED_PRIVATE_METHOD [ERROR] Medium: Possible null pointer dereference in it.tidalwave.accounting.importer.ibiz.impl.DefaultIBizInvoiceImporter$1.visitFile(Path, BasicFileAttributes) due to return value of called method [it.tidalwave.accounting.importer.ibiz.impl.DefaultIBizInvoiceImporter$1, it.tidalwave.accounting.importer.ibiz.impl.DefaultIBizInvoiceImporter$1] Dereferenced at DefaultIBizInvoiceImporter.java:[line 83]Known null at DefaultIBizInvoiceImporter.java:[line 83] NP_NULL_ON_SOME_PATH_FROM_RETURN_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-accounting-importer-ibiz --- [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-accounting-importer-ibiz --- [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-accounting-importer-ibiz --- [INFO] There are 55 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-accounting-importer-ibiz >>> [INFO] [INFO] --- buildnumber:3.0.0:create (default) @ it-tidalwave-accounting-importer-ibiz --- [INFO] ShortRevision tag detected. The value is '12'. [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/blueHour_Metrics_branches/workspace/modules/iBizImporter' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/blueHour_Metrics_branches/workspace/modules/iBizImporter [INFO] Storing buildNumber: cdf9a1755e94 at timestamp: 1683627561940 [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/blueHour_Metrics_branches/workspace/modules/iBizImporter' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/blueHour_Metrics_branches/workspace/modules/iBizImporter [INFO] Storing buildScmBranch: UNKNOWN [INFO] [INFO] --- enforcer:3.3.0:enforce (enforce-maven) @ it-tidalwave-accounting-importer-ibiz --- [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-accounting-importer-ibiz --- [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-accounting-importer-ibiz --- [INFO] Executing tasks [INFO] [echo] DESCRIPTION: origin/release/1.0-ALPHA-9 1.0-ALPHA-9-SNAPSHOT cdf9a1755e94 [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-accounting-importer-ibiz --- [INFO] tft.test.jacoco.argLine set to -javaagent:/var/jenkins_home/maven-repositories/1/org/jacoco/org.jacoco.agent/0.8.9/org.jacoco.agent-0.8.9-runtime.jar=destfile=/var/jenkins_home/jobs/blueHour_Metrics_branches/workspace/modules/iBizImporter/target/jacoco.exec [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ it-tidalwave-accounting-importer-ibiz --- [INFO] Copying 1 resource from src/main/resources to target/classes [INFO] [INFO] --- compiler:3.11.0:compile (default-compile) @ it-tidalwave-accounting-importer-ibiz --- [INFO] Changes detected - recompiling the module! :dependency [INFO] Compiling 12 source files with javac [forked debug deprecation release 11] to target/classes [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ it-tidalwave-accounting-importer-ibiz --- [INFO] skip non existing resourceDirectory /var/jenkins_home/jobs/blueHour_Metrics_branches/workspace/modules/iBizImporter/src/test/resources [INFO] [INFO] --- compiler:3.11.0:testCompile (default-testCompile) @ it-tidalwave-accounting-importer-ibiz --- [INFO] Changes detected - recompiling the module! :dependency [INFO] Compiling 1 source file with javac [forked debug deprecation release 11] to target/test-classes [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-accounting-importer-ibiz <<< [INFO] [INFO] [INFO] --- dependency:3.5.0:analyze (default-cli) @ it-tidalwave-accounting-importer-ibiz --- [WARNING] Used undeclared dependencies found: [WARNING] com.google.code.findbugs:jsr305:jar:3.0.2:compile [WARNING] com.github.spotbugs:spotbugs-annotations:jar:3.1.9:compile [WARNING] Unused declared dependencies found: [WARNING] it.tidalwave.thesefoolishthings:it-tidalwave-role:jar:3.2-ALPHA-23:compile [WARNING] commons-codec:commons-codec:jar:1.9:compile [WARNING] it.tidalwave.accounting:it-tidalwave-accounting-model-impl-inmemory:jar:1.0-ALPHA-9-SNAPSHOT:test [WARNING] org.projectlombok:lombok:jar:1.18.24:provided [WARNING] org.hamcrest:hamcrest-all:jar:1.3:test [WARNING] org.mockito:mockito-core:jar:4.8.1:test [WARNING] org.slf4j:jcl-over-slf4j:jar:2.0.7:test [WARNING] ch.qos.logback:logback-core:jar:1.4.7:test [WARNING] ch.qos.logback:logback-classic:jar:1.4.7:test [JENKINS] Archiving disabled