Bump codecov/codecov-action from 3.1.5 to 4.0.0 #75
windows-17/Build (windows-17): error in 'bat' step
linux-17 / Build (linux-17) / Shell Script
Error in sh
step, with arguments mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=/home/jenkins/agent/workspace/Plugins_coverage-model_PR-75@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Penable-jacoco -Dset.changelist help:evaluate -Dexpression=changelist -Doutput=/home/jenkins/agent/workspace/Plugins_coverage-model_PR-75@tmp/changelist clean install -Ppit
.
null
Build log
[2024-02-01T14:00:58.600Z] + mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=/home/jenkins/agent/workspace/Plugins_coverage-model_PR-75@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Penable-jacoco -Dset.changelist help:evaluate -Dexpression=changelist -Doutput=/home/jenkins/agent/workspace/Plugins_coverage-model_PR-75@tmp/changelist clean install -Ppit
[2024-02-01T14:00:58.702Z] -XX:ConcGCThreads=1 -XX:G1ConcRefinementThreads=4 -XX:GCDrainStackTargetSize=64 -XX:InitialHeapSize=261829312 -XX:MarkStackSize=4194304 -XX:MaxHeapSize=4189268992 -XX:MinHeapSize=6815736 -XX:+PrintCommandLineFlags -XX:ReservedCodeCacheSize=251658240 -XX:+SegmentedCodeCache -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseG1GC
[2024-02-01T14:00:58.904Z] Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
[2024-02-01T14:00:58.904Z] Maven home: /home/jenkins/agent/tools/hudson.tasks.Maven_MavenInstallation/mvn
[2024-02-01T14:00:58.905Z] Java version: 17.0.10, vendor: Eclipse Adoptium, runtime: /opt/jdk-17
[2024-02-01T14:00:58.906Z] Default locale: en_US, platform encoding: UTF-8
[2024-02-01T14:00:58.906Z] OS name: "linux", version: "6.2.0-1019-azure", arch: "amd64", family: "unix"
[2024-02-01T14:12:45.362Z] [INFO] Error stacktraces are turned on.
[2024-02-01T14:12:45.563Z] [INFO] Setting: -Dchangelist=-rc693.e2094ca_23726 -DscmTag=e2094ca23726da9c74282354022bc8163f286424
[2024-02-01T14:12:45.564Z] [INFO] No information available to set -DgitHubRepo
[2024-02-01T14:12:45.564Z] [INFO] Scanning for projects...
[2024-02-01T14:18:15.030Z] [INFO] Inspecting build with total of 1 modules...
[2024-02-01T14:18:15.030Z] [INFO] Installing Nexus Staging features:
[2024-02-01T14:18:15.031Z] [INFO] ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[2024-02-01T14:18:15.031Z] [WARNING] The requested profile "enable-jacoco" could not be activated because it does not exist.
[2024-02-01T14:36:27.623Z] [WARNING] Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to azure-proxy (https://repo.azure.jenkins.io/public/): status code: 502, reason phrase: Bad Gateway (502)
[2024-02-01T14:36:27.623Z] [WARNING] Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to azure-proxy (https://repo.azure.jenkins.io/public/): status code: 502, reason phrase: Bad Gateway (502)
[2024-02-01T14:36:57.663Z] [WARNING] Could not transfer metadata org.apache.maven.plugins:maven-help-plugin/maven-metadata.xml from/to azure-proxy (https://repo.azure.jenkins.io/public/): status code: 502, reason phrase: Bad Gateway (502)
[2024-02-01T14:36:57.663Z] [WARNING] Could not transfer metadata org.apache.maven.plugins:maven-help-plugin/maven-metadata.xml from/to azure-proxy-incrementals (https://repo.azure.jenkins.io/incrementals/): status code: 502, reason phrase: Bad Gateway (502)
[2024-02-01T14:38:57.723Z] [INFO]
[2024-02-01T14:38:57.723Z] [INFO] --------------------< edu.hm.hafner:coverage-model >--------------------
[2024-02-01T14:38:57.723Z] [INFO] Building Code Coverage Model and Parsers 0.41.0-rc693.e2094ca_23726
[2024-02-01T14:38:57.724Z] [INFO] from pom.xml
[2024-02-01T14:38:57.724Z] [INFO] --------------------------------[ jar ]---------------------------------
[2024-02-01T14:38:57.724Z] [WARNING] org.apache.maven.plugins/maven-metadata.xml failed to transfer from https://repo.azure.jenkins.io/public/ during a previous attempt. This failure was cached in the local repository and resolution will not be reattempted until the update interval of azure-proxy has elapsed or updates are forced. Original error: Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to azure-proxy (https://repo.azure.jenkins.io/public/): status code: 502, reason phrase: Bad Gateway (502)
[2024-02-01T14:38:57.725Z] [WARNING] org.codehaus.mojo/maven-metadata.xml failed to transfer from https://repo.azure.jenkins.io/public/ during a previous attempt. This failure was cached in the local repository and resolution will not be reattempted until the update interval of azure-proxy has elapsed or updates are forced. Original error: Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to azure-proxy (https://repo.azure.jenkins.io/public/): status code: 502, reason phrase: Bad Gateway (502)
[2024-02-01T14:38:57.725Z] [INFO]
[2024-02-01T14:38:57.725Z] [INFO] --- help:3.4.0:evaluate (default-cli) @ coverage-model ---
[2024-02-01T14:41:00.389Z] [INFO] No artifact parameter specified, using 'edu.hm.hafner:coverage-model:jar:0.41.0-rc693.e2094ca_23726' as project.
[2024-02-01T14:41:00.389Z] [WARNING] org.apache.maven.plugins/maven-metadata.xml failed to transfer from https://repo.azure.jenkins.io/public/ during a previous attempt. This failure was cached in the local repository and resolution will not be reattempted until the update interval of azure-proxy has elapsed or updates are forced. Original error: Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to azure-proxy (https://repo.azure.jenkins.io/public/): status code: 502, reason phrase: Bad Gateway (502)
[2024-02-01T14:41:00.389Z] [WARNING] org.codehaus.mojo/maven-metadata.xml failed to transfer from https://repo.azure.jenkins.io/public/ during a previous attempt. This failure was cached in the local repository and resolution will not be reattempted until the update interval of azure-proxy has elapsed or updates are forced. Original error: Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to azure-proxy (https://repo.azure.jenkins.io/public/): status code: 502, reason phrase: Bad Gateway (502)
[2024-02-01T14:41:00.390Z] [INFO] Result of evaluation written to: /home/jenkins/agent/workspace/Plugins_coverage-model_PR-75@tmp/changelist
[2024-02-01T14:41:00.390Z] [INFO]
[2024-02-01T14:41:00.390Z] [INFO] --------------------< edu.hm.hafner:coverage-model >--------------------
[2024-02-01T14:41:00.391Z] [INFO] Building Code Coverage Model and Parsers 0.41.0-rc693.e2094ca_23726
[2024-02-01T14:41:00.391Z] [INFO] from pom.xml
[2024-02-01T14:41:00.391Z] [INFO] --------------------------------[ jar ]---------------------------------
[2024-02-01T14:41:00.992Z] [INFO]
[2024-02-01T14:41:00.993Z] [INFO] --- clean:3.3.2:clean (default-clean) @ coverage-model ---
[2024-02-01T14:41:01.294Z] [INFO]
[2024-02-01T14:41:01.294Z] [INFO] --- enforcer:3.4.1:enforce (enforce-require-property-diverges) @ coverage-model ---
[2024-02-01T14:41:03.798Z] [INFO] Rule 0: org.codehaus.mojo.extraenforcer.model.RequirePropertyDiverges passed
[2024-02-01T14:41:03.799Z] [INFO]
[2024-02-01T14:41:03.799Z] [INFO] --- enforcer:3.4.1:enforce (enforce-java) @ coverage-model ---
[2024-02-01T14:41:03.799Z] [INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[2024-02-01T14:41:03.799Z] [INFO]
[2024-02-01T14:41:03.800Z] [INFO] --- resources:3.3.1:resources (default-resources) @ coverage-model ---
[2024-02-01T14:41:06.604Z] [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/Plugins_coverage-model_PR-75/src/main/resources
[2024-02-01T14:41:06.604Z] [INFO]
[2024-02-01T14:41:06.605Z] [INFO] --- flatten:1.6.0:flatten (flatten) @ coverage-model ---
[2024-02-01T14:41:07.206Z] [INFO] Generating flattened POM of project edu.hm.hafner:coverage-model:jar:0.41.0-rc693.e2094ca_23726...
[2024-02-01T14:41:07.407Z] [INFO]
[2024-02-01T14:41:07.407Z] [INFO] --- compiler:3.12.1:compile (default-compile) @ coverage-model ---
[2024-02-01T14:42:12.796Z] [INFO] Recompiling the module because of changed source code.
[2024-02-01T14:42:12.797Z] [INFO] Compiling 31 source files with javac [forked debug release 11] to target/classes
[2024-02-01T14:42:20.909Z] [WARNING] unknown enum constant When.MAYBE
[2024-02-01T14:42:20.909Z] [WARNING] reason: class file for javax.annotation.meta.When not found
[2024-02-01T14:42:20.909Z] warning: unknown enum constant When.ALWAYS
[2024-02-01T14:42:20.909Z] /home/jenkins/agent/workspace/Plugins_coverage-model_PR-75/src/main/java/edu/hm/hafner/coverage/Coverage.java:[197,17] [Varifier] Consider using `var` here to avoid boilerplate.
[2024-02-01T14:42:20.910Z] (see https://errorprone.info/bugpattern/Varifier)
[2024-02-01T14:42:20.910Z] Did you mean 'var coverage = (Coverage) o;'?
[2024-02-01T14:42:20.910Z] [WARNING] /home/jenkins/agent/workspace/Plugins_coverage-model_PR-75/src/main/java/edu/hm/hafner/coverage/Value.java:[205,14] [Varifier] Consider using `var` here to avoid boilerplate.
[2024-02-01T14:42:20.910Z] (see https://errorprone.info/bugpattern/Varifier)
[2024-02-01T14:42:20.910Z] Did you mean 'var value = (Value) o;'?
[2024-02-01T14:42:20.911Z] [WARNING] /home/jenkins/agent/workspace/Plugins_coverage-model_PR-75/src/main/java/edu/hm/hafner/coverage/ModuleNode.java:[169,19] [Varifier] Consider using `var` here to avoid boilerplate.
[2024-02-01T14:42:20.911Z] (see https://errorprone.info/bugpattern/Varifier)
[2024-02-01T14:42:20.911Z] Did you mean 'var that = (ModuleNode) o;'?
[2024-02-01T14:42:20.911Z] [WARNING] /home/jenkins/agent/workspace/Plugins_coverage-model_PR-75/src/main/java/edu/hm/hafner/coverage/Node.java:[769,13] [Varifier] Consider using `var` here to avoid boilerplate.
[2024-02-01T14:42:20.912Z] (see https://errorprone.info/bugpattern/Varifier)
[2024-02-01T14:42:20.912Z] Did you mean 'var node = (Node) o;'?
[2024-02-01T14:42:20.912Z] [WARNING] /home/jenkins/agent/workspace/Plugins_coverage-model_PR-75/src/main/java/edu/hm/hafner/coverage/FileNode.java:[748,17] [Varifier] Consider using `var` here to avoid boilerplate.
[2024-02-01T14:42:20.912Z] (see https://errorprone.info/bugpattern/Varifier)
[2024-02-01T14:42:20.912Z] Did you mean 'var fileNode = (FileNode) o;'?
[2024-02-01T14:42:20.913Z] [WARNING] /home/jenkins/agent/workspace/Plugins_coverage-model_PR-75/src/main/java/edu/hm/hafner/coverage/MethodNode.java:[99,19] [Varifier] Consider using `var` here to avoid boilerplate.
[2024-02-01T14:42:20.913Z] (see https://errorprone.info/bugpattern/Varifier)
[2024-02-01T14:42:20.913Z] Did you mean 'var that = (MethodNode) o;'?
[2024-02-01T14:42:20.913Z] [WARNING] /home/jenkins/agent/workspace/Plugins_coverage-model_PR-75/src/main/java/edu/hm/hafner/coverage/ClassNode.java:[126,18] [Varifier] Consider using `var` here to avoid boilerplate.
[2024-02-01T14:42:20.913Z] (see https://errorprone.info/bugpattern/Varifier)
[2024-02-01T14:42:20.913Z] Did you mean 'var classNode = (ClassNode) o;'?
[2024-02-01T14:42:20.914Z] [WARNING] /home/jenkins/agent/workspace/Plugins_coverage-model_PR-75/src/main/java/edu/hm/hafner/coverage/TestCase.java:[69,17] [Varifier] Consider using `var` here to avoid boilerplate.
[2024-02-01T14:42:20.914Z] (see https://errorprone.info/bugpattern/Varifier)
[2024-02-01T14:42:20.914Z] Did you mean 'var testCase = (TestCase) o;'?
[2024-02-01T14:42:20.914Z] [WARNING] /home/jenkins/agent/workspace/Plugins_coverage-model_PR-75/src/main/java/edu/hm/hafner/coverage/Mutation.java:[133,17] [Varifier] Consider using `var` here to avoid boilerplate.
[2024-02-01T14:42:20.914Z] (see https://errorprone.info/bugpattern/Varifier)
[2024-02-01T14:42:20.915Z] Did you mean 'var mutation = (Mutation) o;'?
[2024-02-01T14:42:20.915Z] [WARNING] /home/jenkins/agent/workspace/Plugins_coverage-model_PR-75/src/main/java/edu/hm/hafner/coverage/Percentage.java:[182,19] [Varifier] Consider using `var` here to avoid boilerplate.
[2024-02-01T14:42:20.915Z] (see https://errorprone.info/bugpattern/Varifier)
[2024-02-01T14:42:20.915Z] Did you mean 'var that = (Percentage) o;'?
[2024-02-01T14:42:20.915Z] [WARNING] /home/jenkins/agent/workspace/Plugins_coverage-model_PR-75/src/main/java/edu/hm/hafner/coverage/IntegerValue.java:[110,21] [Varifier] Consider using `var` here to avoid boilerplate.
[2024-02-01T14:42:20.915Z] (see https://errorprone.info/bugpattern/Varifier)
[2024-02-01T14:42:20.916Z] Did you mean 'var that = (IntegerValue) o;'?
[2024-02-01T14:42:20.916Z] [WARNING] /home/jenkins/agent/workspace/Plugins_coverage-model_PR-75/src/main/java/edu/hm/hafner/coverage/parser/JacocoParser.java:[315,12] [YodaCondition] The non-constant portion of an equals check generally comes first. Prefer e.equals(CONSTANT) if e is non-null or Objects.equals(e, CONSTANT) if e may be
[2024-02-01T14:42:20.916Z] (see https://errorprone.info/bugpattern/YodaCondition)
[2024-02-01T14:42:20.916Z] Did you mean 'if (Objects.equals(currentType, "COMPLEXITY")) {' or 'if (currentType.equals("COMPLEXITY")) {'?
[2024-02-01T14:42:20.916Z] [WARNING] /home/jenkins/agent/workspace/Plugins_coverage-model_PR-75/src/main/java/edu/hm/hafner/coverage/FractionValue.java:[123,22] [Varifier] Consider using `var` here to avoid boilerplate.
[2024-02-01T14:42:20.917Z] (see https://errorprone.info/bugpattern/Varifier)
[2024-02-01T14:42:20.917Z] Did you mean 'var fractionValue = (FractionValue) o;'?
[2024-02-01T14:42:20.917Z] [INFO]
[2024-02-01T14:42:20.917Z] [INFO] --- assertj:2.2.0:generate-assertions (default) @ coverage-model ---
[2024-02-01T14:44:33.296Z] [INFO]
[2024-02-01T14:44:33.296Z] [INFO] --- resources:3.3.1:testResources (default-testResources) @ coverage-model ---
[2024-02-01T14:44:33.296Z] [INFO] Copying 69 resources from src/test/resources to target/test-classes
[2024-02-01T14:44:33.397Z] [INFO]
[2024-02-01T14:44:33.397Z] [INFO] --- compiler:3.12.1:testCompile (default-testCompile) @ coverage-model ---
[2024-02-01T14:44:33.397Z] [INFO] Recompiling the module because of changed dependency.
[2024-02-01T14:44:33.397Z] [INFO] Compiling 71 source files with javac [forked debug release 11] to target/test-classes
[2024-02-01T14:44:42.812Z] [WARNING] /home/jenkins/agent/workspace/Plugins_coverage-model_PR-75/src/test/java/edu/hm/hafner/coverage/parser/OpenCoverParserTest.java:[155,29] [YodaCondition] The non-constant portion of an equals check generally comes first. Prefer e.equals(CONSTANT) if e is non-null or Objects.equals(e, CONSTANT) if e may be
[2024-02-01T14:44:42.812Z] (see https://errorprone.info/bugpattern/YodaCondition)
[2024-02-01T14:44:42.813Z] Did you mean '.filter(m -> Objects.equals(m.getName(), "System.Boolean MyLogging.FancyClass::get_IsMyCodeWrittenWell()System.Boolean MyLogging.FancyClass::get_IsMyCodeWrittenWell()"))' or '.filter(m -> m.getName().equals("System.Boolean MyLogging.FancyClass::get_IsMyCodeWrittenWell()System.Boolean MyLogging.FancyClass::get_IsMyCodeWrittenWell()"))'?
[2024-02-01T14:44:42.813Z] [WARNING] /home/jenkins/agent/workspace/Plugins_coverage-model_PR-75/src/test/java/edu/hm/hafner/coverage/ValueTest.java:[92,20] [Varifier] Consider using `var` here to avoid boilerplate.
[2024-02-01T14:44:42.813Z] (see https://errorprone.info/bugpattern/Varifier)
[2024-02-01T14:44:42.813Z] Did you mean 'var values = List.of(linesOfCode, cyclomaticComplexity);'?
[2024-02-01T14:44:42.813Z] [WARNING] /home/jenkins/agent/workspace/Plugins_coverage-model_PR-75/src/test/java/edu/hm/hafner/coverage/parser/JacocoParserTest.java:[86,29] [YodaCondition] The non-constant portion of an equals check generally comes first. Prefer e.equals(CONSTANT) if e is non-null or Objects.equals(e, CONSTANT) if e may be
[2024-02-01T14:44:42.813Z] (see https://errorprone.info/bugpattern/YodaCondition)
[2024-02-01T14:44:42.813Z] Did you mean '.filter(m -> Objects.equals(m.getName(), "<init>(II)V"))' or '.filter(m -> m.getName().equals("<init>(II)V"))'?
[2024-02-01T14:44:42.813Z] [WARNING] /home/jenkins/agent/workspace/Plugins_coverage-model_PR-75/src/test/java/edu/hm/hafner/coverage/parser/JacocoParserTest.java:[249,29] [YodaCondition] The non-constant portion of an equals check generally comes first. Prefer e.equals(CONSTANT) if e is non-null or Objects.equals(e, CONSTANT) if e may be
[2024-02-01T14:44:42.813Z] (see https://errorprone.info/bugpattern/YodaCondition)
[2024-02-01T14:44:42.814Z] Did you mean '.filter(n -> Objects.equals(n.getName(), "Ensure.java"))' or '.filter(n -> n.getName().equals("Ensure.java"))'?
[2024-02-01T14:44:42.814Z] [WARNING] /home/jenkins/agent/workspace/Plugins_coverage-model_PR-75/src/test/java/edu/hm/hafner/coverage/parser/JacocoParserTest.java:[292,29] [YodaCondition] The non-constant portion of an equals check generally comes first. Prefer e.equals(CONSTANT) if e is non-null or Objects.equals(e, CONSTANT) if e may be
[2024-02-01T14:44:42.814Z] (see https://errorprone.info/bugpattern/YodaCondition)
[2024-02-01T14:44:42.814Z] Did you mean '.filter(n -> Objects.equals(n.getName(), "Ensure.java"))' or '.filter(n -> n.getName().equals("Ensure.java"))'?
[2024-02-01T14:44:42.814Z] [INFO]
[2024-02-01T14:44:42.814Z] [INFO] --- jacoco:0.8.11:prepare-agent (default) @ coverage-model ---
[2024-02-01T14:44:45.218Z] [INFO] argLine set to -javaagent:/home/jenkins/agent/workspace/Plugins_coverage-model_PR-75@tmp/m2repo/org/jacoco/org.jacoco.agent/0.8.11/org.jacoco.agent-0.8.11-runtime.jar=destfile=/home/jenkins/agent/workspace/Plugins_coverage-model_PR-75/target/jacoco.exec -Djava.util.logging.config.file=logging.properties
[2024-02-01T14:44:45.218Z] [INFO]
[2024-02-01T14:44:45.218Z] [INFO] --- surefire:3.2.5:test (default-test) @ coverage-model ---
[2024-02-01T14:44:51.127Z] [INFO] Surefire report directory: /home/jenkins/agent/workspace/Plugins_coverage-model_PR-75/target/surefire-reports
[2024-02-01T14:44:51.127Z] [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[2024-02-01T14:44:51.928Z] [INFO]
[2024-02-01T14:44:51.929Z] [INFO] -------------------------------------------------------
[2024-02-01T14:44:51.929Z] [INFO] T E S T S
[2024-02-01T14:44:51.929Z] [INFO] -------------------------------------------------------
[2024-02-01T14:44:54.733Z] [INFO] Running edu.hm.hafner.coverage.NodeTest
[2024-02-01T14:44:55.335Z] [INFO] Tests run: 43, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.513 s -- in edu.hm.hafner.coverage.NodeTest
[2024-02-01T14:44:55.335Z] [INFO] Running edu.hm.hafner.coverage.SafeFractionTest
[2024-02-01T14:44:55.335Z] [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 s -- in edu.hm.hafner.coverage.SafeFractionTest
[2024-02-01T14:44:55.336Z] [INFO] Running edu.hm.hafner.coverage.PercentageTest
[2024-02-01T14:44:55.937Z] [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.634 s -- in edu.hm.hafner.coverage.PercentageTest
[2024-02-01T14:44:55.937Z] [INFO] Running edu.hm.hafner.coverage.CoverageTest
[2024-02-01T14:44:56.238Z] [INFO] Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.336 s -- in edu.hm.hafner.coverage.CoverageTest
[2024-02-01T14:44:56.238Z] [INFO] Running edu.hm.hafner.coverage.TestCaseTest
[2024-02-01T14:44:56.239Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 s -- in edu.hm.hafner.coverage.TestCaseTest
[2024-02-01T14:44:56.239Z] [INFO] Running edu.hm.hafner.coverage.ModuleNodeTest
[2024-02-01T14:44:56.439Z] [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.140 s -- in edu.hm.hafner.coverage.ModuleNodeTest
[2024-02-01T14:44:56.440Z] [INFO] Running edu.hm.hafner.coverage.PackageNodeTest
[2024-02-01T14:44:56.440Z] [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 s -- in edu.hm.hafner.coverage.PackageNodeTest
[2024-02-01T14:44:56.440Z] [INFO] Running edu.hm.hafner.coverage.MethodNodeTest
[2024-02-01T14:44:56.541Z] [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 s -- in edu.hm.hafner.coverage.MethodNodeTest
[2024-02-01T14:44:56.541Z] [INFO] Running edu.hm.hafner.coverage.registry.ParserRegistryTest
[2024-02-01T14:44:56.541Z] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.010 s -- in edu.hm.hafner.coverage.registry.ParserRegistryTest
[2024-02-01T14:44:56.541Z] [INFO] Running edu.hm.hafner.coverage.MutationTest
[2024-02-01T14:44:56.642Z] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.055 s -- in edu.hm.hafner.coverage.MutationTest
[2024-02-01T14:44:56.642Z] [INFO] Running edu.hm.hafner.coverage.parser.OpenCoverParserTest
[2024-02-01T14:44:56.943Z] [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.331 s -- in edu.hm.hafner.coverage.parser.OpenCoverParserTest
[2024-02-01T14:44:56.944Z] [INFO] Running edu.hm.hafner.coverage.parser.JacocoParserTest
[2024-02-01T14:44:57.746Z] [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.842 s -- in edu.hm.hafner.coverage.parser.JacocoParserTest
[2024-02-01T14:44:57.747Z] [INFO] Running edu.hm.hafner.coverage.parser.XunitParserTest
[2024-02-01T14:44:57.847Z] [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 s -- in edu.hm.hafner.coverage.parser.XunitParserTest
[2024-02-01T14:44:57.848Z] [INFO] Running edu.hm.hafner.coverage.parser.PitestParserTest
[2024-02-01T14:44:58.449Z] [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.616 s -- in edu.hm.hafner.coverage.parser.PitestParserTest
[2024-02-01T14:44:58.449Z] [INFO] Running edu.hm.hafner.coverage.parser.NunitParserTest
[2024-02-01T14:44:58.450Z] [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 s -- in edu.hm.hafner.coverage.parser.NunitParserTest
[2024-02-01T14:44:58.450Z] [INFO] Running edu.hm.hafner.coverage.parser.TestCaseMappingTest
[2024-02-01T14:44:58.450Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.050 s -- in edu.hm.hafner.coverage.parser.TestCaseMappingTest
[2024-02-01T14:44:58.450Z] [INFO] Running edu.hm.hafner.coverage.parser.CoberturaParserTest
[2024-02-01T14:44:58.651Z] [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.144 s -- in edu.hm.hafner.coverage.parser.CoberturaParserTest
[2024-02-01T14:44:58.651Z] [INFO] Running edu.hm.hafner.coverage.parser.JunitParserTest
[2024-02-01T14:44:58.651Z] [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.045 s -- in edu.hm.hafner.coverage.parser.JunitParserTest
[2024-02-01T14:44:58.652Z] [INFO] Running edu.hm.hafner.coverage.FileNodeTest
[2024-02-01T14:44:58.752Z] [INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.072 s -- in edu.hm.hafner.coverage.FileNodeTest
[2024-02-01T14:44:58.753Z] [INFO] Running edu.hm.hafner.coverage.ValueTest
[2024-02-01T14:44:58.753Z] [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 s -- in edu.hm.hafner.coverage.ValueTest
[2024-02-01T14:44:58.753Z] [INFO] Running edu.hm.hafner.coverage.TestCountTest
[2024-02-01T14:44:58.854Z] [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.025 s -- in edu.hm.hafner.coverage.TestCountTest
[2024-02-01T14:44:58.854Z] [INFO] Running edu.hm.hafner.coverage.CyclomaticComplexityTest
[2024-02-01T14:44:58.854Z] [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 s -- in edu.hm.hafner.coverage.CyclomaticComplexityTest
[2024-02-01T14:44:58.854Z] [INFO] Running edu.hm.hafner.coverage.LinesOfCodeTest
[2024-02-01T14:44:58.854Z] [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 s -- in edu.hm.hafner.coverage.LinesOfCodeTest
[2024-02-01T14:44:58.854Z] [INFO] Running edu.hm.hafner.coverage.MetricTest
[2024-02-01T14:44:58.855Z] [INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 s -- in edu.hm.hafner.coverage.MetricTest
[2024-02-01T14:44:58.855Z] [INFO] Running edu.hm.hafner.coverage.FractionValueTest
[2024-02-01T14:44:58.955Z] [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 s -- in edu.hm.hafner.coverage.FractionValueTest
[2024-02-01T14:44:58.956Z] [INFO] Running edu.hm.hafner.coverage.ClassNodeTest
[2024-02-01T14:44:58.956Z] [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.040 s -- in edu.hm.hafner.coverage.ClassNodeTest
[2024-02-01T14:44:58.956Z] [INFO] Running edu.hm.hafner.coverage.ContainerNodeTest
[2024-02-01T14:44:58.956Z] [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 s -- in edu.hm.hafner.coverage.ContainerNodeTest
[2024-02-01T14:44:58.956Z] [INFO] Running edu.hm.hafner.coverage.CoverageParserTest
[2024-02-01T14:44:58.956Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s -- in edu.hm.hafner.coverage.CoverageParserTest
[2024-02-01T14:44:58.957Z] [INFO] Running edu.hm.hafner.PackageArchitectureTest
[2024-02-01T14:44:59.057Z] [main] INFO com.tngtech.archunit.core.PluginLoader - Detected Java version 17.0.10
[2024-02-01T14:45:00.761Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.741 s -- in edu.hm.hafner.PackageArchitectureTest
[2024-02-01T14:45:00.762Z] [INFO] Running edu.hm.hafner.ArchitectureTest
[2024-02-01T14:45:02.164Z] [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.417 s -- in edu.hm.hafner.ArchitectureTest
[2024-02-01T14:45:02.265Z] [INFO]
[2024-02-01T14:45:02.265Z] [INFO] Results:
[2024-02-01T14:45:02.265Z] [INFO]
[2024-02-01T14:45:02.265Z] [INFO] Tests run: 290, Failures: 0, Errors: 0, Skipped: 0
[2024-02-01T14:45:02.266Z] [INFO]
[2024-02-01T14:45:02.266Z] [INFO]
[2024-02-01T14:45:02.266Z] [INFO] --- jar:3.3.0:jar (default-jar) @ coverage-model ---
[2024-02-01T14:45:33.508Z] [INFO] Building jar: /home/jenkins/agent/workspace/Plugins_coverage-model_PR-75/target/coverage-model-0.41.0-rc693.e2094ca_23726.jar
[2024-02-01T14:45:33.509Z] [INFO]
[2024-02-01T14:45:33.509Z] [INFO] --- javadoc:3.6.3:jar (attach-javadocs) @ coverage-model ---
[2024-02-01T14:49:16.113Z] [INFO] No previous run data found, generating javadoc.
[2024-02-01T14:49:18.817Z] [WARNING] Javadoc Warnings
[2024-02-01T14:49:18.818Z] [WARNING] warning: unknown enum constant When.MAYBE
[2024-02-01T14:49:18.818Z] [WARNING] reason: class file for javax.annotation.meta.When not found
[2024-02-01T14:49:18.818Z] [WARNING] warning: unknown enum constant When.ALWAYS
[2024-02-01T14:49:18.818Z] [WARNING] 2 warnings
[2024-02-01T14:49:18.818Z] [INFO] Building jar: /home/jenkins/agent/workspace/Plugins_coverage-model_PR-75/target/coverage-model-0.41.0-rc693.e2094ca_23726-javadoc.jar
[2024-02-01T14:49:18.919Z] [INFO]
[2024-02-01T14:49:18.919Z] [INFO] >>> source:3.3.0:jar (attach-sources) > generate-sources @ coverage-model >>>
[2024-02-01T14:49:18.919Z] [INFO]
[2024-02-01T14:49:18.919Z] [INFO] --- enforcer:3.4.1:enforce (enforce-require-property-diverges) @ coverage-model ---
[2024-02-01T14:49:18.919Z] [INFO] Rule 0: org.codehaus.mojo.extraenforcer.model.RequirePropertyDiverges passed
[2024-02-01T14:49:18.919Z] [INFO]
[2024-02-01T14:49:18.919Z] [INFO] --- enforcer:3.4.1:enforce (enforce-java) @ coverage-model ---
[2024-02-01T14:49:18.919Z] [INFO]
[2024-02-01T14:49:18.920Z] [INFO] <<< source:3.3.0:jar (attach-sources) < generate-sources @ coverage-model <<<
[2024-02-01T14:49:18.920Z] [INFO]
[2024-02-01T14:49:18.920Z] [INFO]
[2024-02-01T14:49:18.920Z] [INFO] --- source:3.3.0:jar (attach-sources) @ coverage-model ---
[2024-02-01T14:51:49.224Z] [INFO] Building jar: /home/jenkins/agent/workspace/Plugins_coverage-model_PR-75/target/coverage-model-0.41.0-rc693.e2094ca_23726-sources.jar
[2024-02-01T14:51:49.324Z] [INFO]
[2024-02-01T14:51:49.325Z] [INFO] --- jar:3.3.0:test-jar (default) @ coverage-model ---
[2024-02-01T14:51:49.325Z] [INFO] Building jar: /home/jenkins/agent/workspace/Plugins_coverage-model_PR-75/target/coverage-model-0.41.0-rc693.e2094ca_23726-tests.jar
[2024-02-01T14:51:49.325Z] [INFO]
[2024-02-01T14:51:49.325Z] [INFO] --- failsafe:3.2.5:integration-test (default) @ coverage-model ---
[2024-02-01T14:51:49.426Z] [INFO]
[2024-02-01T14:51:49.426Z] [INFO] --- failsafe:3.2.5:verify (default) @ coverage-model ---
[2024-02-01T14:51:49.426Z] [INFO] Failsafe report directory: /home/jenkins/agent/workspace/Plugins_coverage-model_PR-75/target/failsafe-reports
[2024-02-01T14:51:49.827Z] [INFO]
[2024-02-01T14:51:49.827Z] [INFO] --- pmd:3.21.2:pmd (run-pmd) @ coverage-model ---
[2024-02-01T14:56:02.568Z] [INFO] PMD version: 6.55.0
[2024-02-01T14:56:07.275Z] [INFO] Rendering content with org.apache.maven.skins:maven-default-skin:jar:1.3 skin.
[2024-02-01T14:56:07.476Z] [INFO]
[2024-02-01T14:56:07.476Z] [INFO] --- pmd:3.21.2:cpd (run-pmd) @ coverage-model ---
[2024-02-01T14:56:07.477Z] [INFO] PMD version: 6.55.0
[2024-02-01T14:56:07.777Z] [INFO] Rendering content with org.apache.maven.skins:maven-default-skin:jar:1.3 skin.
[2024-02-01T14:56:07.778Z] [INFO]
[2024-02-01T14:56:07.778Z] [INFO] --- checkstyle:3.3.1:checkstyle (run-checkstyle) @ coverage-model ---
[2024-02-01T15:00:41.900Z] Sending interrupt signal to process
[2024-02-01T15:00:42.067Z] script returned exit code 143
windows-17 / Build (windows-17) / Windows Batch Script
Error in bat
step, with arguments mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=C:/Jenkins/agent/workspace/Plugins_coverage-model_PR-75@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dset.changelist clean install
.
null
Build log
[2024-02-01T14:01:46.985Z]
[2024-02-01T14:01:46.985Z] C:\Jenkins\agent\workspace\Plugins_coverage-model_PR-75>mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=C:/Jenkins/agent/workspace/Plugins_coverage-model_PR-75@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dset.changelist clean install
[2024-02-01T14:01:47.092Z] -XX:ConcGCThreads=1 -XX:G1ConcRefinementThreads=4 -XX:GCDrainStackTargetSize=64 -XX:InitialHeapSize=268417088 -XX:MarkStackSize=4194304 -XX:MaxHeapSize=4294673408 -XX:MinHeapSize=6815736 -XX:+PrintCommandLineFlags -XX:ReservedCodeCacheSize=251658240 -XX:+SegmentedCodeCache -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseG1GC -XX:-UseLargePagesIndividualAllocation
[2024-02-01T14:01:48.819Z] Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
[2024-02-01T14:01:48.822Z] Maven home: C:\Jenkins\agent\tools\hudson.tasks.Maven_MavenInstallation\mvn
[2024-02-01T14:01:48.824Z] Java version: 17.0.10, vendor: Eclipse Adoptium, runtime: C:\tools\jdk-17
[2024-02-01T14:01:48.824Z] Default locale: en_US, platform encoding: Cp1252
[2024-02-01T14:01:48.825Z] OS name: "windows server 2019", version: "10.0", arch: "amd64", family: "windows"
[2024-02-01T14:06:35.838Z] [INFO] Error stacktraces are turned on.
[2024-02-01T14:06:36.862Z] [INFO] Setting: -Dchangelist=-rc693.e2094ca_23726 -DscmTag=e2094ca23726da9c74282354022bc8163f286424
[2024-02-01T14:06:36.863Z] [INFO] No information available to set -DgitHubRepo
[2024-02-01T14:06:36.863Z] [INFO] Scanning for projects...
[2024-02-01T14:18:17.173Z] [INFO] Inspecting build with total of 1 modules...
[2024-02-01T14:18:17.173Z] [INFO] Installing Nexus Staging features:
[2024-02-01T14:18:17.173Z] [INFO] ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[2024-02-01T14:18:17.173Z] [INFO]
[2024-02-01T14:18:17.174Z] [INFO] --------------------< edu.hm.hafner:coverage-model >--------------------
[2024-02-01T14:18:17.174Z] [INFO] Building Code Coverage Model and Parsers 0.41.0-rc693.e2094ca_23726
[2024-02-01T14:18:17.174Z] [INFO] from pom.xml
[2024-02-01T14:18:17.174Z] [INFO] --------------------------------[ jar ]---------------------------------
[2024-02-01T14:21:32.435Z] [INFO]
[2024-02-01T14:21:32.435Z] [INFO] --- clean:3.3.2:clean (default-clean) @ coverage-model ---
[2024-02-01T14:21:33.049Z] [INFO]
[2024-02-01T14:21:33.049Z] [INFO] --- enforcer:3.4.1:enforce (enforce-require-property-diverges) @ coverage-model ---
[2024-02-01T14:23:36.673Z] [INFO] Rule 0: org.codehaus.mojo.extraenforcer.model.RequirePropertyDiverges passed
[2024-02-01T14:23:36.673Z] [INFO]
[2024-02-01T14:23:36.674Z] [INFO] --- enforcer:3.4.1:enforce (enforce-java) @ coverage-model ---
[2024-02-01T14:23:36.674Z] [INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[2024-02-01T14:23:36.674Z] [INFO]
[2024-02-01T14:23:36.678Z] [INFO] --- resources:3.3.1:resources (default-resources) @ coverage-model ---
[2024-02-01T14:32:37.974Z] [INFO] skip non existing resourceDirectory C:\Jenkins\agent\workspace\Plugins_coverage-model_PR-75\src\main\resources
[2024-02-01T14:32:37.974Z] [INFO]
[2024-02-01T14:32:37.975Z] [INFO] --- flatten:1.6.0:flatten (flatten) @ coverage-model ---
[2024-02-01T14:37:38.425Z] [INFO] Generating flattened POM of project edu.hm.hafner:coverage-model:jar:0.41.0-rc693.e2094ca_23726...
[2024-02-01T14:37:38.534Z] [INFO]
[2024-02-01T14:37:38.535Z] [INFO] --- compiler:3.12.1:compile (default-compile) @ coverage-model ---
[2024-02-01T14:42:44.409Z] [INFO] Recompiling the module because of changed dependency.
[2024-02-01T14:42:44.410Z] [INFO] Compiling 31 source files with javac [forked debug release 11] to target\classes
[2024-02-01T14:42:54.817Z] [WARNING] unknown enum constant When.MAYBE
[2024-02-01T14:42:54.817Z] [WARNING] reason: class file for javax.annotation.meta.When not found
[2024-02-01T14:42:54.817Z] warning: unknown enum constant When.ALWAYS
[2024-02-01T14:42:54.817Z] C:\Jenkins\agent\workspace\Plugins_coverage-model_PR-75\src\main\java\edu\hm\hafner\coverage\Node.java:[769,13] [Varifier] Consider using `var` here to avoid boilerplate.
[2024-02-01T14:42:54.818Z] (see https://errorprone.info/bugpattern/Varifier)
[2024-02-01T14:42:54.818Z] Did you mean 'var node = (Node) o;'?
[2024-02-01T14:42:54.818Z] [WARNING] C:\Jenkins\agent\workspace\Plugins_coverage-model_PR-75\src\main\java\edu\hm\hafner\coverage\Coverage.java:[197,17] [Varifier] Consider using `var` here to avoid boilerplate.
[2024-02-01T14:42:54.818Z] (see https://errorprone.info/bugpattern/Varifier)
[2024-02-01T14:42:54.818Z] Did you mean 'var coverage = (Coverage) o;'?
[2024-02-01T14:42:54.818Z] [WARNING] C:\Jenkins\agent\workspace\Plugins_coverage-model_PR-75\src\main\java\edu\hm\hafner\coverage\Value.java:[205,14] [Varifier] Consider using `var` here to avoid boilerplate.
[2024-02-01T14:42:54.819Z] (see https://errorprone.info/bugpattern/Varifier)
[2024-02-01T14:42:54.819Z] Did you mean 'var value = (Value) o;'?
[2024-02-01T14:42:54.819Z] [WARNING] C:\Jenkins\agent\workspace\Plugins_coverage-model_PR-75\src\main\java\edu\hm\hafner\coverage\FileNode.java:[748,17] [Varifier] Consider using `var` here to avoid boilerplate.
[2024-02-01T14:42:54.819Z] (see https://errorprone.info/bugpattern/Varifier)
[2024-02-01T14:42:54.819Z] Did you mean 'var fileNode = (FileNode) o;'?
[2024-02-01T14:42:54.819Z] [WARNING] C:\Jenkins\agent\workspace\Plugins_coverage-model_PR-75\src\main\java\edu\hm\hafner\coverage\ClassNode.java:[126,18] [Varifier] Consider using `var` here to avoid boilerplate.
[2024-02-01T14:42:54.820Z] (see https://errorprone.info/bugpattern/Varifier)
[2024-02-01T14:42:54.820Z] Did you mean 'var classNode = (ClassNode) o;'?
[2024-02-01T14:42:54.820Z] [WARNING] C:\Jenkins\agent\workspace\Plugins_coverage-model_PR-75\src\main\java\edu\hm\hafner\coverage\MethodNode.java:[99,19] [Varifier] Consider using `var` here to avoid boilerplate.
[2024-02-01T14:42:54.820Z] (see https://errorprone.info/bugpattern/Varifier)
[2024-02-01T14:42:54.821Z] Did you mean 'var that = (MethodNode) o;'?
[2024-02-01T14:42:54.821Z] [WARNING] C:\Jenkins\agent\workspace\Plugins_coverage-model_PR-75\src\main\java\edu\hm\hafner\coverage\Mutation.java:[133,17] [Varifier] Consider using `var` here to avoid boilerplate.
[2024-02-01T14:42:54.821Z] (see https://errorprone.info/bugpattern/Varifier)
[2024-02-01T14:42:54.821Z] Did you mean 'var mutation = (Mutation) o;'?
[2024-02-01T14:42:54.821Z] [WARNING] C:\Jenkins\agent\workspace\Plugins_coverage-model_PR-75\src\main\java\edu\hm\hafner\coverage\TestCase.java:[69,17] [Varifier] Consider using `var` here to avoid boilerplate.
[2024-02-01T14:42:54.822Z] (see https://errorprone.info/bugpattern/Varifier)
[2024-02-01T14:42:54.822Z] Did you mean 'var testCase = (TestCase) o;'?
[2024-02-01T14:42:54.822Z] [WARNING] C:\Jenkins\agent\workspace\Plugins_coverage-model_PR-75\src\main\java\edu\hm\hafner\coverage\Percentage.java:[182,19] [Varifier] Consider using `var` here to avoid boilerplate.
[2024-02-01T14:42:54.822Z] (see https://errorprone.info/bugpattern/Varifier)
[2024-02-01T14:42:54.823Z] Did you mean 'var that = (Percentage) o;'?
[2024-02-01T14:42:54.823Z] [WARNING] C:\Jenkins\agent\workspace\Plugins_coverage-model_PR-75\src\main\java\edu\hm\hafner\coverage\ModuleNode.java:[169,19] [Varifier] Consider using `var` here to avoid boilerplate.
[2024-02-01T14:42:54.823Z] (see https://errorprone.info/bugpattern/Varifier)
[2024-02-01T14:42:54.823Z] Did you mean 'var that = (ModuleNode) o;'?
[2024-02-01T14:42:54.823Z] [WARNING] C:\Jenkins\agent\workspace\Plugins_coverage-model_PR-75\src\main\java\edu\hm\hafner\coverage\IntegerValue.java:[110,21] [Varifier] Consider using `var` here to avoid boilerplate.
[2024-02-01T14:42:54.824Z] (see https://errorprone.info/bugpattern/Varifier)
[2024-02-01T14:42:54.824Z] Did you mean 'var that = (IntegerValue) o;'?
[2024-02-01T14:42:54.824Z] [WARNING] C:\Jenkins\agent\workspace\Plugins_coverage-model_PR-75\src\main\java\edu\hm\hafner\coverage\parser\JacocoParser.java:[315,12] [YodaCondition] The non-constant portion of an equals check generally comes first. Prefer e.equals(CONSTANT) if e is non-null or Objects.equals(e, CONSTANT) if e may be
[2024-02-01T14:42:54.824Z] (see https://errorprone.info/bugpattern/YodaCondition)
[2024-02-01T14:42:54.824Z] Did you mean 'if (Objects.equals(currentType, "COMPLEXITY")) {' or 'if (currentType.equals("COMPLEXITY")) {'?
[2024-02-01T14:42:54.824Z] [WARNING] C:\Jenkins\agent\workspace\Plugins_coverage-model_PR-75\src\main\java\edu\hm\hafner\coverage\FractionValue.java:[123,22] [Varifier] Consider using `var` here to avoid boilerplate.
[2024-02-01T14:42:54.825Z] (see https://errorprone.info/bugpattern/Varifier)
[2024-02-01T14:42:54.825Z] Did you mean 'var fractionValue = (FractionValue) o;'?
[2024-02-01T14:42:54.825Z] [INFO]
[2024-02-01T14:42:54.825Z] [INFO] --- assertj:2.2.0:generate-assertions (default) @ coverage-model ---
[2024-02-01T14:50:09.869Z] [INFO]
[2024-02-01T14:50:09.870Z] [INFO] --- resources:3.3.1:testResources (default-testResources) @ coverage-model ---
[2024-02-01T14:50:09.870Z] [INFO] Copying 69 resources from src\test\resources to target\test-classes
[2024-02-01T14:50:10.385Z] [INFO]
[2024-02-01T14:50:10.385Z] [INFO] --- compiler:3.12.1:testCompile (default-testCompile) @ coverage-model ---
[2024-02-01T14:50:10.499Z] [INFO] Recompiling the module because of changed dependency.
[2024-02-01T14:50:10.503Z] [INFO] Compiling 71 source files with javac [forked debug release 11] to target\test-classes
[2024-02-01T14:50:21.187Z] [WARNING] C:\Jenkins\agent\workspace\Plugins_coverage-model_PR-75\src\test\java\edu\hm\hafner\coverage\ValueTest.java:[92,20] [Varifier] Consider using `var` here to avoid boilerplate.
[2024-02-01T14:50:21.187Z] (see https://errorprone.info/bugpattern/Varifier)
[2024-02-01T14:50:21.188Z] Did you mean 'var values = List.of(linesOfCode, cyclomaticComplexity);'?
[2024-02-01T14:50:21.188Z] [WARNING] C:\Jenkins\agent\workspace\Plugins_coverage-model_PR-75\src\test\java\edu\hm\hafner\coverage\parser\JacocoParserTest.java:[86,29] [YodaCondition] The non-constant portion of an equals check generally comes first. Prefer e.equals(CONSTANT) if e is non-null or Objects.equals(e, CONSTANT) if e may be
[2024-02-01T14:50:21.188Z] (see https://errorprone.info/bugpattern/YodaCondition)
[2024-02-01T14:50:21.188Z] Did you mean '.filter(m -> Objects.equals(m.getName(), "<init>(II)V"))' or '.filter(m -> m.getName().equals("<init>(II)V"))'?
[2024-02-01T14:50:21.188Z] [WARNING] C:\Jenkins\agent\workspace\Plugins_coverage-model_PR-75\src\test\java\edu\hm\hafner\coverage\parser\JacocoParserTest.java:[249,29] [YodaCondition] The non-constant portion of an equals check generally comes first. Prefer e.equals(CONSTANT) if e is non-null or Objects.equals(e, CONSTANT) if e may be
[2024-02-01T14:50:21.189Z] (see https://errorprone.info/bugpattern/YodaCondition)
[2024-02-01T14:50:21.189Z] Did you mean '.filter(n -> Objects.equals(n.getName(), "Ensure.java"))' or '.filter(n -> n.getName().equals("Ensure.java"))'?
[2024-02-01T14:50:21.189Z] [WARNING] C:\Jenkins\agent\workspace\Plugins_coverage-model_PR-75\src\test\java\edu\hm\hafner\coverage\parser\JacocoParserTest.java:[292,29] [YodaCondition] The non-constant portion of an equals check generally comes first. Prefer e.equals(CONSTANT) if e is non-null or Objects.equals(e, CONSTANT) if e may be
[2024-02-01T14:50:21.189Z] (see https://errorprone.info/bugpattern/YodaCondition)
[2024-02-01T14:50:21.189Z] Did you mean '.filter(n -> Objects.equals(n.getName(), "Ensure.java"))' or '.filter(n -> n.getName().equals("Ensure.java"))'?
[2024-02-01T14:50:21.189Z] [WARNING] C:\Jenkins\agent\workspace\Plugins_coverage-model_PR-75\src\test\java\edu\hm\hafner\coverage\parser\OpenCoverParserTest.java:[155,29] [YodaCondition] The non-constant portion of an equals check generally comes first. Prefer e.equals(CONSTANT) if e is non-null or Objects.equals(e, CONSTANT) if e may be
[2024-02-01T14:50:21.190Z] (see https://errorprone.info/bugpattern/YodaCondition)
[2024-02-01T14:50:21.190Z] Did you mean '.filter(m -> Objects.equals(m.getName(), "System.Boolean MyLogging.FancyClass::get_IsMyCodeWrittenWell()System.Boolean MyLogging.FancyClass::get_IsMyCodeWrittenWell()"))' or '.filter(m -> m.getName().equals("System.Boolean MyLogging.FancyClass::get_IsMyCodeWrittenWell()System.Boolean MyLogging.FancyClass::get_IsMyCodeWrittenWell()"))'?
[2024-02-01T14:50:21.190Z] [INFO]
[2024-02-01T14:50:21.190Z] [INFO] --- jacoco:0.8.11:prepare-agent (default) @ coverage-model ---
[2024-02-01T14:53:54.307Z] [INFO] argLine set to -javaagent:C:\\Jenkins\\agent\\workspace\\Plugins_coverage-model_PR-75@tmp\\m2repo\\org\\jacoco\\org.jacoco.agent\\0.8.11\\org.jacoco.agent-0.8.11-runtime.jar=destfile=C:\\Jenkins\\agent\\workspace\\Plugins_coverage-model_PR-75\\target\\jacoco.exec -Djava.util.logging.config.file=logging.properties
[2024-02-01T14:53:54.307Z] [INFO]
[2024-02-01T14:53:54.307Z] [INFO] --- surefire:3.2.5:test (default-test) @ coverage-model ---
[2024-02-01T14:55:01.964Z] [INFO] Surefire report directory: C:\Jenkins\agent\workspace\Plugins_coverage-model_PR-75\target\surefire-reports
[2024-02-01T14:55:01.964Z] [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[2024-02-01T14:59:32.866Z] [INFO]
[2024-02-01T14:59:32.867Z] [INFO] -------------------------------------------------------
[2024-02-01T14:59:32.867Z] [INFO] T E S T S
[2024-02-01T14:59:32.867Z] [INFO] -------------------------------------------------------
[2024-02-01T14:59:36.124Z] [INFO] Running edu.hm.hafner.coverage.ClassNodeTest
[2024-02-01T14:59:37.302Z] [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.205 s -- in edu.hm.hafner.coverage.ClassNodeTest
[2024-02-01T14:59:37.324Z] [INFO] Running edu.hm.hafner.coverage.ContainerNodeTest
[2024-02-01T14:59:37.446Z] [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.092 s -- in edu.hm.hafner.coverage.ContainerNodeTest
[2024-02-01T14:59:37.446Z] [INFO] Running edu.hm.hafner.coverage.CoverageParserTest
[2024-02-01T14:59:37.446Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 s -- in edu.hm.hafner.coverage.CoverageParserTest
[2024-02-01T14:59:37.446Z] [INFO] Running edu.hm.hafner.coverage.CoverageTest
[2024-02-01T14:59:37.775Z] [INFO] Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.317 s -- in edu.hm.hafner.coverage.CoverageTest
[2024-02-01T14:59:37.775Z] [INFO] Running edu.hm.hafner.coverage.CyclomaticComplexityTest
[2024-02-01T14:59:37.776Z] [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 s -- in edu.hm.hafner.coverage.CyclomaticComplexityTest
[2024-02-01T14:59:37.776Z] [INFO] Running edu.hm.hafner.coverage.FileNodeTest
[2024-02-01T14:59:38.061Z] [INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.208 s -- in edu.hm.hafner.coverage.FileNodeTest
[2024-02-01T14:59:38.067Z] [INFO] Running edu.hm.hafner.coverage.FractionValueTest
[2024-02-01T14:59:38.068Z] [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.036 s -- in edu.hm.hafner.coverage.FractionValueTest
[2024-02-01T14:59:38.068Z] [INFO] Running edu.hm.hafner.coverage.LinesOfCodeTest
[2024-02-01T14:59:38.068Z] [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 s -- in edu.hm.hafner.coverage.LinesOfCodeTest
[2024-02-01T14:59:38.068Z] [INFO] Running edu.hm.hafner.coverage.MethodNodeTest
[2024-02-01T14:59:38.192Z] [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 s -- in edu.hm.hafner.coverage.MethodNodeTest
[2024-02-01T14:59:38.192Z] [INFO] Running edu.hm.hafner.coverage.MetricTest
[2024-02-01T14:59:38.192Z] [INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.040 s -- in edu.hm.hafner.coverage.MetricTest
[2024-02-01T14:59:38.192Z] [INFO] Running edu.hm.hafner.coverage.ModuleNodeTest
[2024-02-01T14:59:38.330Z] [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.062 s -- in edu.hm.hafner.coverage.ModuleNodeTest
[2024-02-01T14:59:38.330Z] [INFO] Running edu.hm.hafner.coverage.MutationTest
[2024-02-01T14:59:38.330Z] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.074 s -- in edu.hm.hafner.coverage.MutationTest
[2024-02-01T14:59:38.330Z] [INFO] Running edu.hm.hafner.coverage.NodeTest
[2024-02-01T14:59:38.441Z] [INFO] Tests run: 43, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.107 s -- in edu.hm.hafner.coverage.NodeTest
[2024-02-01T14:59:38.441Z] [INFO] Running edu.hm.hafner.coverage.PackageNodeTest
[2024-02-01T14:59:38.441Z] [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 s -- in edu.hm.hafner.coverage.PackageNodeTest
[2024-02-01T14:59:38.441Z] [INFO] Running edu.hm.hafner.coverage.parser.CoberturaParserTest
[2024-02-01T14:59:39.000Z] [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.512 s -- in edu.hm.hafner.coverage.parser.CoberturaParserTest
[2024-02-01T14:59:39.000Z] [INFO] Running edu.hm.hafner.coverage.parser.JacocoParserTest
[2024-02-01T14:59:39.841Z] [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.811 s -- in edu.hm.hafner.coverage.parser.JacocoParserTest
[2024-02-01T14:59:39.841Z] [INFO] Running edu.hm.hafner.coverage.parser.JunitParserTest
[2024-02-01T14:59:39.966Z] [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.116 s -- in edu.hm.hafner.coverage.parser.JunitParserTest
[2024-02-01T14:59:39.966Z] [INFO] Running edu.hm.hafner.coverage.parser.NunitParserTest
[2024-02-01T14:59:39.966Z] [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 s -- in edu.hm.hafner.coverage.parser.NunitParserTest
[2024-02-01T14:59:39.966Z] [INFO] Running edu.hm.hafner.coverage.parser.OpenCoverParserTest
[2024-02-01T14:59:40.088Z] [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.145 s -- in edu.hm.hafner.coverage.parser.OpenCoverParserTest
[2024-02-01T14:59:40.088Z] [INFO] Running edu.hm.hafner.coverage.parser.PitestParserTest
[2024-02-01T14:59:40.807Z] [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.712 s -- in edu.hm.hafner.coverage.parser.PitestParserTest
[2024-02-01T14:59:40.808Z] [INFO] Running edu.hm.hafner.coverage.parser.TestCaseMappingTest
[2024-02-01T14:59:40.956Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.080 s -- in edu.hm.hafner.coverage.parser.TestCaseMappingTest
[2024-02-01T14:59:40.957Z] [INFO] Running edu.hm.hafner.coverage.parser.XunitParserTest
[2024-02-01T14:59:40.957Z] [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.035 s -- in edu.hm.hafner.coverage.parser.XunitParserTest
[2024-02-01T14:59:40.957Z] [INFO] Running edu.hm.hafner.coverage.PercentageTest
[2024-02-01T14:59:40.957Z] [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.020 s -- in edu.hm.hafner.coverage.PercentageTest
[2024-02-01T14:59:40.957Z] [INFO] Running edu.hm.hafner.coverage.registry.ParserRegistryTest
[2024-02-01T14:59:40.958Z] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s -- in edu.hm.hafner.coverage.registry.ParserRegistryTest
[2024-02-01T14:59:40.958Z] [INFO] Running edu.hm.hafner.coverage.SafeFractionTest
[2024-02-01T14:59:40.971Z] [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s -- in edu.hm.hafner.coverage.SafeFractionTest
[2024-02-01T14:59:41.087Z] [INFO] Running edu.hm.hafner.coverage.TestCaseTest
[2024-02-01T14:59:41.088Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 s -- in edu.hm.hafner.coverage.TestCaseTest
[2024-02-01T14:59:41.088Z] [INFO] Running edu.hm.hafner.coverage.TestCountTest
[2024-02-01T14:59:41.218Z] [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.020 s -- in edu.hm.hafner.coverage.TestCountTest
[2024-02-01T14:59:41.228Z] [INFO] Running edu.hm.hafner.coverage.ValueTest
[2024-02-01T14:59:41.259Z] [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.089 s -- in edu.hm.hafner.coverage.ValueTest
[2024-02-01T14:59:41.260Z] [INFO] Running edu.hm.hafner.ArchitectureTest
[2024-02-01T14:59:41.260Z] [main] INFO com.tngtech.archunit.core.PluginLoader - Detected Java version 17.0.10
[2024-02-01T14:59:44.165Z] [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.009 s -- in edu.hm.hafner.ArchitectureTest
[2024-02-01T14:59:44.166Z] [INFO] Running edu.hm.hafner.PackageArchitectureTest
[2024-02-01T14:59:44.484Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.377 s -- in edu.hm.hafner.PackageArchitectureTest
[2024-02-01T14:59:44.593Z] [INFO]
[2024-02-01T14:59:44.594Z] [INFO] Results:
[2024-02-01T14:59:44.594Z] [INFO]
[2024-02-01T14:59:44.594Z] [INFO] Tests run: 290, Failures: 0, Errors: 0, Skipped: 0
[2024-02-01T14:59:44.594Z] [INFO]
[2024-02-01T14:59:44.594Z] [INFO]
[2024-02-01T14:59:44.594Z] [INFO] --- jar:3.3.0:jar (default-jar) @ coverage-model ---
[2024-02-01T15:01:24.979Z] Sending interrupt signal to process
[2024-02-01T15:01:26.336Z] Terminate batch job (Y/N)?
[2024-02-01T15:01:25.654Z] script returned exit code 1
Details
- linux-17 (3 ms)
- Checkout (linux-17) (13 sec)
- Build (linux-17) (59 min)
Error: null
- windows-17 (1 hr 5 min)
- Checkout (windows-17) (16 sec)
- Build (windows-17) (59 min)
Error: null