You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@maven.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2020/10/15 02:15:06 UTC

Build failed in Jenkins: Maven » Maven TLP » maven-dependency-plugin » MDEP-644B #4

See https://ci-builds.apache.org/job/Maven/job/maven-box/job/maven-dependency-plugin/job/MDEP-644B/4/

Changes:

* Add Java 16 to available runtimes
* Added JDK 16 for Windows
* Java 16-ea has not been installed on the Windows Jenkins hosts yet.
* introduce optional tmpWs for Windows to prevent long path failures
* fix }
* don't pick up tmpWs from a context
* Revert "don't pick up tmpWs from a context"
* Spaces instead of tabs
* introduce optional tmpWs
* pwd() doesn't seem to work on slaves?
* Using $WORKSPACE instead of env.WORKSPACE as this could behave inconsistent when used on parallel nodes.
* Attempting to get the right workspace directory in parallel nodes using a withEnv block.
* Attempting to get the right workspace directory in parallel nodes using a withEnv block. fix; envs should be prefixed with the `env.` prefix.
* Using !isUnix() to check whether the node is running Windows or not
* Shorten the windows filepath even further
* Restored the full default jdk matrix including the current and ea version
* Restored the full maven version matrix default

All tests passed

Build log:
[...truncated 223553 lines...]
[DEBUG]       commons-io:commons-io:jar:1.4:compile
[DEBUG]       org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:compile
[DEBUG]          junit:junit:jar:3.8.1:compile
[DEBUG]          classworlds:classworlds:jar:1.1-alpha-2:compile
[DEBUG]    org.codehaus.plexus:plexus-component-annotations:jar:1.6:compile
[DEBUG]    org.codehaus.plexus:plexus-resources:jar:1.1.0:compile
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:3.0.24:compile
[DEBUG]    org.codehaus.plexus:plexus-interpolation:jar:1.24:compile
[DEBUG]    org.codehaus.plexus:plexus-velocity:jar:1.1.8:compile
[DEBUG]    com.puppycrawl.tools:checkstyle:jar:6.18:compile
[DEBUG]       antlr:antlr:jar:2.7.7:compile
[DEBUG]       org.antlr:antlr4-runtime:jar:4.5.3:compile
[DEBUG]       commons-beanutils:commons-beanutils:jar:1.9.2:compile
[DEBUG]       commons-cli:commons-cli:jar:1.3.1:compile
[DEBUG]       com.google.guava:guava:jar:19.0:compile
[DEBUG]    org.apache.velocity:velocity:jar:1.5:compile
[DEBUG]       commons-lang:commons-lang:jar:2.1:compile
[DEBUG]       oro:oro:jar:2.0.8:compile
[DEBUG]    commons-collections:commons-collections:jar:3.2.1:compile
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0
[DEBUG]   Included: org.apache.maven.plugins:maven-checkstyle-plugin:jar:3.0.0
[DEBUG]   Included: org.apache.maven.shared:maven-shared-resources:jar:2
[DEBUG]   Included: org.sonatype.aether:aether-util:jar:1.7
[DEBUG]   Included: org.sonatype.sisu:sisu-inject-bean:jar:1.4.2
[DEBUG]   Included: org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7
[DEBUG]   Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3
[DEBUG]   Included: org.sonatype.plexus:plexus-cipher:jar:1.4
[DEBUG]   Included: org.apache.maven.reporting:maven-reporting-api:jar:3.0
[DEBUG]   Included: org.apache.maven.reporting:maven-reporting-impl:jar:2.3
[DEBUG]   Included: org.apache.maven.shared:maven-shared-utils:jar:0.6
[DEBUG]   Included: com.google.code.findbugs:jsr305:jar:2.0.1
[DEBUG]   Included: org.apache.maven.doxia:doxia-core:jar:1.2
[DEBUG]   Included: xerces:xercesImpl:jar:2.9.1
[DEBUG]   Included: xml-apis:xml-apis:jar:1.3.04
[DEBUG]   Included: org.apache.httpcomponents:httpclient:jar:4.0.2
[DEBUG]   Included: org.apache.httpcomponents:httpcore:jar:4.0.1
[DEBUG]   Included: commons-codec:commons-codec:jar:1.3
[DEBUG]   Included: commons-validator:commons-validator:jar:1.3.1
[DEBUG]   Included: commons-digester:commons-digester:jar:1.6
[DEBUG]   Included: commons-logging:commons-logging:jar:1.0.4
[DEBUG]   Included: org.apache.maven.doxia:doxia-sink-api:jar:1.4
[DEBUG]   Included: org.apache.maven.doxia:doxia-logging-api:jar:1.4
[DEBUG]   Included: org.apache.maven.doxia:doxia-decoration-model:jar:1.4
[DEBUG]   Included: org.apache.maven.doxia:doxia-site-renderer:jar:1.4
[DEBUG]   Included: org.apache.maven.doxia:doxia-module-xhtml:jar:1.4
[DEBUG]   Included: org.apache.maven.doxia:doxia-module-fml:jar:1.4
[DEBUG]   Included: org.codehaus.plexus:plexus-i18n:jar:1.0-beta-7
[DEBUG]   Included: org.apache.velocity:velocity-tools:jar:2.0
[DEBUG]   Included: commons-chain:commons-chain:jar:1.1
[DEBUG]   Included: dom4j:dom4j:jar:1.1
[DEBUG]   Included: sslext:sslext:jar:1.2-0
[DEBUG]   Included: org.apache.struts:struts-core:jar:1.3.8
[DEBUG]   Included: org.apache.struts:struts-taglib:jar:1.3.8
[DEBUG]   Included: org.apache.struts:struts-tiles:jar:1.3.8
[DEBUG]   Included: org.apache.maven.doxia:doxia-integration-tools:jar:1.6
[DEBUG]   Included: commons-io:commons-io:jar:1.4
[DEBUG]   Included: junit:junit:jar:3.8.1
[DEBUG]   Included: org.codehaus.plexus:plexus-component-annotations:jar:1.6
[DEBUG]   Included: org.codehaus.plexus:plexus-resources:jar:1.1.0
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:3.0.24
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.24
[DEBUG]   Included: org.codehaus.plexus:plexus-velocity:jar:1.1.8
[DEBUG]   Included: com.puppycrawl.tools:checkstyle:jar:6.18
[DEBUG]   Included: antlr:antlr:jar:2.7.7
[DEBUG]   Included: org.antlr:antlr4-runtime:jar:4.5.3
[DEBUG]   Included: commons-beanutils:commons-beanutils:jar:1.9.2
[DEBUG]   Included: commons-cli:commons-cli:jar:1.3.1
[DEBUG]   Included: com.google.guava:guava:jar:19.0
[DEBUG]   Included: org.apache.velocity:velocity:jar:1.5
[DEBUG]   Included: commons-lang:commons-lang:jar:2.1
[DEBUG]   Included: oro:oro:jar:2.0.8
[DEBUG]   Included: commons-collections:commons-collections:jar:3.2.1
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:check from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0, parent: sun.misc.Launcher$AppClassLoader@4069b25f]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:check' with basic configurator -->
[DEBUG]   (f) cacheFile = f:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@3\windows-jdk7-m3.5.x_build\target/checkstyle-cachefile
[DEBUG]   (f) configLocation = config/maven_checks.xml
[DEBUG]   (f) consoleOutput = false
[DEBUG]   (f) encoding = UTF-8
[DEBUG]   (f) failOnViolation = true
[DEBUG]   (f) failsOnError = false
[DEBUG]   (f) headerLocation = config/maven-header.txt
[DEBUG]   (f) includeResources = true
[DEBUG]   (f) includeTestResources = true
[DEBUG]   (f) includeTestSourceDirectory = false
[DEBUG]   (f) includes = **\/*.java
[DEBUG]   (f) logViolationsToConsole = true
[DEBUG]   (f) maxAllowedViolations = 0
[DEBUG]   (f) omitIgnoredModules = false
[DEBUG]   (f) outputFile = f:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@3\windows-jdk7-m3.5.x_build\target\checkstyle-result.xml
[DEBUG]   (f) outputFileFormat = xml
[DEBUG]   (f) plugin = Component Descriptor: role: 'org.apache.maven.plugin.Mojo', implementation: 'org.apache.maven.plugins.checkstyle.CheckstyleViolationCheckMojo', role hint: 'org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:check'
role: 'org.apache.maven.plugin.Mojo', implementation: 'org.apache.maven.plugins.checkstyle.CheckstyleReport', role hint: 'org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:checkstyle'
role: 'org.apache.maven.plugin.Mojo', implementation: 'org.apache.maven.plugins.checkstyle.CheckstyleAggregateReport', role hint: 'org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:checkstyle-aggregate'
role: 'org.apache.maven.plugin.Mojo', implementation: 'org.apache.maven.plugins.checkstyle.HelpMojo', role hint: 'org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:help'
---
[DEBUG]   (f) project = MavenProject: org.apache.maven.plugins:maven-dependency-plugin:3.1.3-SNAPSHOT @ f:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@3\windows-jdk7-m3.5.x_build\pom.xml
[DEBUG]   (f) resourceIncludes = **/*.properties
[DEBUG]   (f) resources = [Resource {targetPath: null, filtering: false, FileSet {directory: f:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@3\windows-jdk7-m3.5.x_build\src\main\resources, PatternSet [includes: {}, excludes: {}]}}, Resource {targetPath: null, filtering: false, FileSet {directory: f:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@3\windows-jdk7-m3.5.x_build\target\maven-shared-archive-resources, PatternSet [includes: {}, excludes: {}]}}]
[DEBUG]   (f) rulesFiles = f:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@3\windows-jdk7-m3.5.x_build\target\checkstyle-rules.xml
[DEBUG]   (f) skip = false
[DEBUG]   (f) skipExec = false
[DEBUG]   (f) sourceDirectories = [src/main/java]
[DEBUG]   (f) suppressionsFileExpression = checkstyle.suppressions.file
[DEBUG]   (f) testResources = [Resource {targetPath: null, filtering: false, FileSet {directory: f:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@3\windows-jdk7-m3.5.x_build\src\test\resources, PatternSet [includes: {}, excludes: {}]}}, Resource {targetPath: null, filtering: false, FileSet {directory: f:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@3\windows-jdk7-m3.5.x_build\target\maven-shared-archive-resources, PatternSet [includes: {}, excludes: {}]}}]
[DEBUG]   (f) testSourceDirectories = [src/test/java]
[DEBUG]   (f) violationIgnore = RedundantThrows,NewlineAtEndOfFile,ParameterNumber,MethodLength,FileLength
[DEBUG]   (f) violationSeverity = error
[DEBUG] -- end configuration --
[DEBUG] executeCheckstyle start headerLocation : config/maven-header.txt
[DEBUG] Added 59 source files found in 'F:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@3\windows-jdk7-m3.5.x_build\src\main\java'.
[DEBUG] Added 5 resource files found in 'f:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@3\windows-jdk7-m3.5.x_build\src\main\resources'.
[DEBUG] Added 0 resource files found in 'f:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@3\windows-jdk7-m3.5.x_build\target\maven-shared-archive-resources'.
[DEBUG] Added 1 resource files found in 'f:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@3\windows-jdk7-m3.5.x_build\src\test\resources'.
[DEBUG] Added 0 resource files found in 'f:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@3\windows-jdk7-m3.5.x_build\target\maven-shared-archive-resources'.
[DEBUG] Added 65 files to process.
[DEBUG] Adding the outputDirectory file:/f:/jenkins/jenkins-slave/712657a4/workspace/aven-dependency-plugin_MDEP-644B@3/windows-jdk7-m3.5.x_build/target/classes/ to the Checkstyle class path
[DEBUG] request.getConfigLocation() config/maven_checks.xml
[DEBUG] The resource 'config/maven_checks.xml' was found as jar:file:/f:/jenkins/jenkins-slave/712657a4/workspace/.maven_repositories/1/org/apache/maven/shared/maven-shared-resources/2/maven-shared-resources-2.jar!/config/maven_checks.xml.
[DEBUG] headerLocation config/maven-header.txt
[DEBUG] The resource 'config/maven-header.txt' was found as jar:file:/f:/jenkins/jenkins-slave/712657a4/workspace/.maven_repositories/1/org/apache/maven/shared/maven-shared-resources/2/maven-shared-resources-2.jar!/config/maven-header.txt.
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[DEBUG] Added 'f:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@3\windows-jdk7-m3.5.x_build\src\main\resources' as a source directory.
[DEBUG] Added 'f:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@3\windows-jdk7-m3.5.x_build\target\maven-shared-archive-resources' as a source directory.
[INFO] There is 1 error reported by Checkstyle 6.18 with config/maven_checks.xml ruleset.
[INFO] Ignored 1 error, 0 violation remaining.
[INFO] 
[INFO] --- maven-invoker-plugin:3.2.1:verify (integration-test) @ maven-dependency-plugin ---
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-invoker-plugin:3.2.1:verify from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-invoker-plugin:3.2.1, parent: sun.misc.Launcher$AppClassLoader@4069b25f]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-invoker-plugin:3.2.1:verify' with basic configurator -->
[DEBUG]   (f) ignoreFailures = false
[DEBUG]   (f) reportsDirectory = f:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@3\windows-jdk7-m3.5.x_build\target\invoker-reports
[DEBUG]   (f) skipInvocation = false
[DEBUG]   (f) suppressSummaries = false
[DEBUG] -- end configuration --
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 60, Failed: 0, Errors: 0, Skipped: 6
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 09:07 min
[INFO] Finished at: 2020-10-14T19:14:27-07:00
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@3@tmp\withMaven957f2b3d\maven-spy-20201014-190519-6831738738400917370127.log
Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="f:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@3@tmp\withMaven957f2b3d\pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@3@tmp\withMaven957f2b3d" 
[withMaven] Publishers: Generated Artifacts Publisher: 1937 ms, Junit Publisher: 6895 ms, Open Task Scanner Publisher: 1062 ms, Dependencies Fingerprint Publisher: 177 ms, Invoker Publisher: 30625 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[withMaven] Publishers: Generated Artifacts Publisher: 2575 ms, Junit Publisher: 31483 ms, Open Task Scanner Publisher: 1747 ms, Dependencies Fingerprint Publisher: 808 ms, Invoker Publisher: 111697 ms
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] }
[Pipeline] // node
[Pipeline] // dir
[Pipeline] }
[Pipeline] }
[Pipeline] // withMaven
[Pipeline] cleanWs
[withMaven] artifactsPublisher - Archive artifact windows-jdk7-m3.5.x_build\pom.xml under org\apache\maven\plugins\maven-dependency-plugin\3.1.3-SNAPSHOT\maven-dependency-plugin-3.1.3-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact windows-jdk7-m3.5.x_build\target\maven-dependency-plugin-3.1.3-SNAPSHOT.jar under org\apache\maven\plugins\maven-dependency-plugin\3.1.3-SNAPSHOT\maven-dependency-plugin-3.1.3-SNAPSHOT.jar
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.3-SNAPSHOT generated by maven-surefire-plugin:test (default-test): windows-jdk7-m3.5.x_build\target\surefire-reports\*.xml
Recording test results
[WS-CLEANUP] done
[Pipeline] }
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.3-SNAPSHOT in source directory windows-jdk7-m3.5.x_build\src\main\java
[Pipeline] // stage
[TASKS] Scanning folder 'f:\jenkins\jenkins-slave\712657a4\workspace\aven-dependency-plugin_MDEP-644B@3' for files matching the pattern 'windows-jdk7-m3.5.x_build\src\main\java\**\*' - excludes: null
[TASKS] Found 59 files to scan for tasks
[TASKS] Found 4 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[TASKS] Computing warning deltas based on reference build #1
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.3-SNAPSHOT(version: 3.1.3-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.2.1@integration-test  integration-test}: windows-jdk7-m3.5.x_build\target\invoker-reports\*.xml
[Pipeline] }
[withMaven] Publishers: Generated Artifacts Publisher: 631 ms, Junit Publisher: 3157 ms, Open Task Scanner Publisher: 246 ms, Dependencies Fingerprint Publisher: 165 ms, Invoker Publisher: 30640 ms, Pipeline Graph Publisher: 4 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[withMaven] Publishers: Generated Artifacts Publisher: 2535 ms, Junit Publisher: 21960 ms, Open Task Scanner Publisher: 1762 ms, Dependencies Fingerprint Publisher: 810 ms, Invoker Publisher: 113666 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[withMaven] Publishers: Generated Artifacts Publisher: 642 ms, Junit Publisher: 3329 ms, Open Task Scanner Publisher: 247 ms, Dependencies Fingerprint Publisher: 288 ms, Invoker Publisher: 29950 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // parallel
[Pipeline] stage
[Pipeline] { (Notifications)
[Pipeline] echo
Build result: FAILURE
[Pipeline] jiraIssueSelector
[Pipeline] echo
The authors of changes [mthmulders, martinkanters, rfscholte].
[Pipeline] echo
Sending email ...
[Pipeline] emailext