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 2019/06/22 04:12:52 UTC

Build unstable in Jenkins: Maven TLP » maven-dependency-plugin » MDEP-647 #9

See https://builds.apache.org/job/maven-box/job/maven-dependency-plugin/job/MDEP-647/9/

No changes.

2 tests failed.
FAILED:  org.apache.maven.plugins.dependency.fromConfiguration.TestUnpackMojo.linux-jdk8-m3.6.x_build / Build linux-jdk8-m3.6.x_build / testUnpackOverWriteIfNewer

Error Message:
unpackedFile '/home/jenkins/jenkins-slave/workspace/maven-dependency-plugin_MDEP-647@2/linux-jdk8-m3.6.x_build/target/unit-tests/unpack/outputDirectory/testGroupId-snapshot-2.0-SNAPSHOT-null-jar.txt' lastModified() == 1561174474000: should be different

Stack Trace:
junit.framework.AssertionFailedError: unpackedFile '/home/jenkins/jenkins-slave/workspace/maven-dependency-plugin_MDEP-647@2/linux-jdk8-m3.6.x_build/target/unit-tests/unpack/outputDirectory/testGroupId-snapshot-2.0-SNAPSHOT-null-jar.txt' lastModified() == 1561174474000: should be different
	at org.apache.maven.plugins.dependency.fromConfiguration.TestUnpackMojo.testUnpackOverWriteIfNewer(TestUnpackMojo.java:572)


FAILED:  org.apache.maven.plugins.dependency.fromConfiguration.TestUnpackMojo.linux-jdk11-m3.6.x_build / Build linux-jdk11-m3.6.x_build / testUnpackOverWriteIfNewer

Error Message:
unpackedFile '/home/jenkins/jenkins-slave/workspace/maven-dependency-plugin_MDEP-647@3@2/linux-jdk11-m3.6.x_build/target/unit-tests/unpack/outputDirectory/testGroupId-snapshot-2.0-SNAPSHOT-null-jar.txt' lastModified() == 1561174480000: should be different

Stack Trace:
junit.framework.AssertionFailedError: unpackedFile '/home/jenkins/jenkins-slave/workspace/maven-dependency-plugin_MDEP-647@3@2/linux-jdk11-m3.6.x_build/target/unit-tests/unpack/outputDirectory/testGroupId-snapshot-2.0-SNAPSHOT-null-jar.txt' lastModified() == 1561174480000: should be different
	at org.apache.maven.plugins.dependency.fromConfiguration.TestUnpackMojo.testUnpackOverWriteIfNewer(TestUnpackMojo.java:572)




Build log:
[...truncated 9499 lines...]
[INFO]           purge-local-repository-without-pom ............... SUCCESS (6.3 s)
[INFO] 
[INFO] --- mrm-maven-plugin:1.2.0:stop (default) @ maven-dependency-plugin ---
[INFO] Stopping Mock Repository Manager on http://localhost:57305
[INFO] Stopped SocketConnector@0.0.0.0:57305
[INFO] Mock Repository Manager http://localhost:57305 is stopped.
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ maven-dependency-plugin ---
[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.1.0:verify (integration-test) @ maven-dependency-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 59, Failed: 0, Errors: 0, Skipped: 1
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  10:00 min
[INFO] Finished at: 2019-06-21T21:05:06-07:00
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\workspace\maven-dependency-plugin_MDEP-647@2@tmp\withMaven1bc206c5\maven-spy-20190621-205505-5512718927572989557550.log
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact windows-jdk12-m3.6.x_build\pom.xml under org\apache\maven\plugins\maven-dependency-plugin\3.1.2-SNAPSHOT\maven-dependency-plugin-3.1.2-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact windows-jdk12-m3.6.x_build\target\maven-dependency-plugin-3.1.2-SNAPSHOT.jar under org\apache\maven\plugins\maven-dependency-plugin\3.1.2-SNAPSHOT\maven-dependency-plugin-3.1.2-SNAPSHOT.jar
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.2-SNAPSHOT generated by maven-surefire-plugin:test (default-test): windows-jdk12-m3.6.x_build\target\surefire-reports\*.xml
Recording test results
[INFO] run post-build script verify.bsh
[INFO]           copy-dependencies\pom.xml ........................ SUCCESS (10.2 s)
[INFO] Building: copy-from-reactor\pom.xml
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.2-SNAPSHOT in source directory windows-jdk12-m3.6.x_build\src\main\java
[TASKS] Scanning folder 'f:\jenkins\jenkins-slave\workspace\maven-dependency-plugin_MDEP-647@2' for files matching the pattern 'windows-jdk12-m3.6.x_build\src\main\java\**\*' - excludes: null
[TASKS] Found 48 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 #8
[withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.2-SNAPSHOT(version: 3.1.2-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.1.0@integration-test  integration-test}: windows-jdk12-m3.6.x_build\target\invoker-reports\*.xml
[INFO] run post-build script verify.bsh
[INFO]           copy-from-reactor\pom.xml ........................ SUCCESS (8.9 s)
[INFO] Building: copy-from-remote-repository\pom.xml
[INFO] run pre-build script setup.bsh
[INFO] run post-build script verify.bsh
[INFO]           copy-from-remote-repository\pom.xml .............. SUCCESS (11.8 s)
[INFO] Building: dependency-properties\pom.xml
[withMaven] Publishers: Generated Artifacts Publisher: 160 ms, Junit Publisher: 2196 ms, Open Task Scanner Publisher: 152 ms, Invoker Publisher: 18112 ms, Pipeline Graph Publisher: 2 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] }
[INFO] run post-build script verify.bsh
[INFO]           dependency-properties\pom.xml .................... SUCCESS (7.9 s)
[INFO] Building: filterunpack\pom.xml
[INFO] run post-build script verify.groovy
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/f:/jenkins/jenkins-slave/workspace/.maven_repositories/null/org/codehaus/groovy/groovy-all/2.4.8/groovy-all-2.4.8.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO]           filterunpack\pom.xml ............................. SUCCESS (10.0 s)
[INFO] Building: get-artifact\pom.xml
[INFO] run pre-build script setup.bsh
[INFO] run post-build script verify.bsh
[INFO]           get-artifact\pom.xml ............................. SUCCESS (8.4 s)
[INFO] Building: get-artifact-maven-plugin\pom.xml
[INFO] run pre-build script setup.bsh
[INFO] run post-build script verify.bsh
[INFO]           get-artifact-maven-plugin\pom.xml ................ SUCCESS (8.4 s)
[INFO] Building: get-artifact-no-transitive\pom.xml
[INFO] run pre-build script setup.bsh
[INFO] run post-build script verify.bsh
[INFO]           get-artifact-no-transitive\pom.xml ............... SUCCESS (9.3 s)
[INFO] Building: get-gav\pom.xml
[INFO] run pre-build script setup.bsh
[INFO] run post-build script verify.bsh
[INFO]           get-gav\pom.xml .................................. SUCCESS (7.8 s)
[INFO] Building: go-offline\pom.xml
[INFO]           go-offline\pom.xml ............................... SUCCESS (11.6 s)
[INFO] Building: list-repositories\pom.xml
[INFO]           list-repositories\pom.xml ........................ SUCCESS (8.5 s)
[INFO] Building: mdep-439-analyze-java8\pom.xml
[INFO]           mdep-439-analyze-java8\pom.xml ................... SUCCESS (11.8 s)
[INFO] Building: mdep-450-project-with-ancestor\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           mdep-450-project-with-ancestor\pom.xml ........... SUCCESS (8.1 s)
[INFO] Building: mdep-450-project-without-ancestor\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           mdep-450-project-without-ancestor\pom.xml ........ SUCCESS (8.7 s)
[INFO] Building: mdep-506-dependency-without-version-in-depmgt\pom.xml
[INFO]           mdep-506-dependency-without-version-in-depmgt\pom.xml SUCCESS (11.0 s)
[INFO] Building: mdep-571-resolve-java9\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           mdep-571-resolve-java9\pom.xml ................... SUCCESS (7.9 s)
[INFO] Building: mdep-572-unpack-tar-long-file\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           mdep-572-unpack-tar-long-file\pom.xml ............ SUCCESS (11.0 s)
[INFO] Building: mdep-578_display-reason-invalid-module\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           mdep-578_display-reason-invalid-module\pom.xml ... SUCCESS (8.0 s)
[INFO] Building: mdep-580_display-manifest-automodules\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           mdep-580_display-manifest-automodules\pom.xml .... SUCCESS (9.4 s)
[INFO] Building: mdep-586-unpacking-resources\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           mdep-586-unpacking-resources\pom.xml ............. SUCCESS (9.3 s)
[INFO] Building: mdep-599-analyze-java9\pom.xml
[INFO]           mdep-599-analyze-java9\pom.xml ................... SUCCESS (14.8 s)
[INFO] Building: purge-local-repository\pom.xml
[INFO] run pre-build script setup.bsh
[INFO] run post-build script verify.bsh
[INFO]           purge-local-repository\pom.xml ................... SUCCESS (8.8 s)
[INFO] Building: purge-local-repository-bad-dep\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           purge-local-repository-bad-dep\pom.xml ........... SUCCESS (9.2 s)
[INFO] Building: purge-local-repository-include\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           purge-local-repository-include\pom.xml ........... SUCCESS (8.8 s)
[INFO] Building: purge-local-repository-multi-module\pom.xml
[INFO] run pre-build script setup.bsh
[INFO] run post-build script verify.bsh
[INFO]           purge-local-repository-multi-module\pom.xml ...... SUCCESS (8.7 s)
[INFO] Building: purge-local-repository-multi-module-execution\pom.xml
[INFO] run pre-build script setup.bsh
[INFO] run post-build script verify.bsh
[INFO]           purge-local-repository-multi-module-execution\pom.xml SUCCESS (10.3 s)
[INFO] Building: purge-local-repository-non-transitive\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           purge-local-repository-non-transitive\pom.xml .... SUCCESS (8.8 s)
[INFO] Building: purge-local-repository-reresolve\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           purge-local-repository-reresolve\pom.xml ......... SUCCESS (9.6 s)
[INFO] Building: purge-local-repository-snapshots-only\pom.xml
[INFO] run pre-build script setup.bsh
[INFO] run post-build script verify.bsh
[INFO]           purge-local-repository-snapshots-only\pom.xml .... SUCCESS (9.9 s)
[INFO] Building: purge-local-repository-version-range\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           purge-local-repository-version-range\pom.xml ..... SUCCESS (8.4 s)
[INFO] Building: resolve\pom.xml
[INFO]           resolve\pom.xml .................................. SUCCESS (9.4 s)
[INFO] Building: resolve-plugins\pom.xml
[INFO]           resolve-plugins\pom.xml .......................... SUCCESS (13.7 s)
[INFO] Building: resolve-plugins-exclude-reactor\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           resolve-plugins-exclude-reactor\pom.xml .......... SUCCESS (14.0 s)
[INFO] Building: resolve-plugins-with-exclude\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           resolve-plugins-with-exclude\pom.xml ............. SUCCESS (10.4 s)
[INFO] Building: sources\pom.xml
[INFO]           sources\pom.xml .................................. SUCCESS (9.1 s)
[INFO] Building: tree\pom.xml
[INFO]           tree\pom.xml ..................................... SKIPPED due to Maven version
[INFO] Building: tree-includes\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           tree-includes\pom.xml ............................ SUCCESS (7.7 s)
[INFO] Building: tree-multimodule\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           tree-multimodule\pom.xml ......................... SUCCESS (9.7 s)
[INFO] Building: unpack\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           unpack\pom.xml ................................... SUCCESS (12.7 s)
[INFO] Building: unpack-cli\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           unpack-cli\pom.xml ............................... SUCCESS (9.2 s)
[INFO] Building: unpack-custom-ear\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           unpack-custom-ear\pom.xml ........................ SUCCESS (11.0 s)
[INFO] Building: unpack-dependencies\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           unpack-dependencies\pom.xml ...................... SUCCESS (11.7 s)
[INFO] Building: unpack-dependencies-with-filemappers\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           unpack-dependencies-with-filemappers\pom.xml ..... SUCCESS (12.3 s)
[INFO] Building: unpack-from-remote-repository\pom.xml
[INFO] run pre-build script setup.bsh
[INFO] run post-build script verify.bsh
[INFO]           unpack-from-remote-repository\pom.xml ............ SUCCESS (11.8 s)
[INFO] Building: used-dependencies\pom.xml
[INFO]           used-dependencies\pom.xml ........................ SUCCESS (12.6 s)
[INFO] Building: purge-local-repository-without-pom
[INFO] run pre-build script setup.bsh
[INFO] run post-build script verify.bsh
[INFO]           purge-local-repository-without-pom ............... SUCCESS (7.5 s)
[INFO] 
[INFO] --- mrm-maven-plugin:1.2.0:stop (default) @ maven-dependency-plugin ---
[INFO] Stopping Mock Repository Manager on http://localhost:53741
[INFO] Stopped SocketConnector@0.0.0.0:53741
[INFO] Mock Repository Manager http://localhost:53741 is stopped.
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ maven-dependency-plugin ---
[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.1.0:verify (integration-test) @ maven-dependency-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 59, Failed: 0, Errors: 0, Skipped: 1
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  11:49 min
[INFO] Finished at: 2019-06-22T04:12:27Z
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\workspace\maven-dependency-plugin_MDEP-647@3@2@tmp\withMavenfb8cf47b\maven-spy-20190622-040037-3226673938145814817548.log
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact windows-jdk13-m3.6.x_build\pom.xml under org\apache\maven\plugins\maven-dependency-plugin\3.1.2-SNAPSHOT\maven-dependency-plugin-3.1.2-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact windows-jdk13-m3.6.x_build\target\maven-dependency-plugin-3.1.2-SNAPSHOT.jar under org\apache\maven\plugins\maven-dependency-plugin\3.1.2-SNAPSHOT\maven-dependency-plugin-3.1.2-SNAPSHOT.jar
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.2-SNAPSHOT generated by maven-surefire-plugin:test (default-test): windows-jdk13-m3.6.x_build\target\surefire-reports\*.xml
Recording test results
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.2-SNAPSHOT in source directory windows-jdk13-m3.6.x_build\src\main\java
[TASKS] Scanning folder 'f:\jenkins\jenkins-slave\workspace\maven-dependency-plugin_MDEP-647@3@2' for files matching the pattern 'windows-jdk13-m3.6.x_build\src\main\java\**\*' - excludes: null
[TASKS] Found 48 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 #8
[withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.2-SNAPSHOT(version: 3.1.2-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.1.0@integration-test  integration-test}: windows-jdk13-m3.6.x_build\target\invoker-reports\*.xml
[withMaven] Publishers: Generated Artifacts Publisher: 199 ms, Junit Publisher: 2753 ms, Open Task Scanner Publisher: 163 ms, Invoker Publisher: 19765 ms, Pipeline Graph Publisher: 2 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: UNSTABLE
[Pipeline] jiraIssueSelector
[Pipeline] emailext