See https://builds.apache.org/job/maven-box/job/maven-wagon/job/master/3/
Changes:
* [INFRA-18014] Provide GPG on Jenkins Windows nodes
* Switch back to Windows label
* Change workspace path for Windows
* Shorten wsDir
* Fix groovy script
* rewrite groovy statement
* Keep original stageId
* Reduce stageDir
* More shortening of path
* maven-invoker keeps lock on jar (under investigation), so can't fully
All tests passed
Build log:
[...truncated 17608 lines...]
[INFO] Exclude: **/*.odg
[INFO] Exclude: src/test/resources/**
[INFO] Exclude: src/main/resources/default-server-root/**
[INFO] Exclude: src/main/resources/ssh-keys/**
[INFO] Exclude: src/test/ssh-keys/**
[INFO] Exclude: .repository/**
[INFO] Exclude: out/**
[INFO] Exclude: .repository/**
[INFO] Exclude: .maven/spy.log
[INFO] Exclude: dependency-reduced-pom.xml
[INFO] Exclude: .java-version
[INFO] 12 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated:
0, approved: 12 licenses.
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles)
@ wagon-webdav-jackrabbit ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @
wagon-webdav-jackrabbit ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @
wagon-webdav-jackrabbit ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4 source files to
F:\jenkins\jenkins-slave\workspace\maven-box_maven-wagon_master\m\wagon-providers\wagon-webdav-jackrabbit\target\classes
[INFO]
/F:/jenkins/jenkins-slave/workspace/maven-box_maven-wagon_master/m/wagon-providers/wagon-webdav-jackrabbit/src/main/java/org/apache/maven/wagon/providers/webdav/WebDavWagon.java:
F:\jenkins\jenkins-slave\workspace\maven-box_maven-wagon_master\m\wagon-providers\wagon-webdav-jackrabbit\src\main\java\org\apache\maven\wagon\providers\webdav\WebDavWagon.java
uses or overrides a deprecated API.
[INFO]
/F:/jenkins/jenkins-slave/workspace/maven-box_maven-wagon_master/m/wagon-providers/wagon-webdav-jackrabbit/src/main/java/org/apache/maven/wagon/providers/webdav/WebDavWagon.java:
Recompile with -Xlint:deprecation for details.
[INFO]
[INFO] --- plexus-component-metadata:1.7.1:generate-metadata (generate) @
wagon-webdav-jackrabbit ---
[INFO] Discovered 1 component descriptors(s)
[INFO]
[INFO] --- animal-sniffer-maven-plugin:1.15:check (check-java-1.7-compat) @
wagon-webdav-jackrabbit ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java17:1.0
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @
wagon-webdav-jackrabbit ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @
wagon-webdav-jackrabbit ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4 source files to
F:\jenkins\jenkins-slave\workspace\maven-box_maven-wagon_master\m\wagon-providers\wagon-webdav-jackrabbit\target\test-classes
[INFO]
/F:/jenkins/jenkins-slave/workspace/maven-box_maven-wagon_master/m/wagon-providers/wagon-webdav-jackrabbit/src/test/java/org/apache/maven/wagon/providers/webdav/HttpClientWagonTest.java:
F:\jenkins\jenkins-slave\workspace\maven-box_maven-wagon_master\m\wagon-providers\wagon-webdav-jackrabbit\src\test\java\org\apache\maven\wagon\providers\webdav\HttpClientWagonTest.java
uses or overrides a deprecated API.
[INFO]
/F:/jenkins/jenkins-slave/workspace/maven-box_maven-wagon_master/m/wagon-providers/wagon-webdav-jackrabbit/src/test/java/org/apache/maven/wagon/providers/webdav/HttpClientWagonTest.java:
Recompile with -Xlint:deprecation for details.
[INFO]
[INFO] --- maven-surefire-plugin:2.20:test (default-test) @
wagon-webdav-jackrabbit ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.maven.wagon.providers.webdav.HttpClientWagonTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.312 s
- in org.apache.maven.wagon.providers.webdav.HttpClientWagonTest
[INFO] Running org.apache.maven.wagon.providers.webdav.PathNavigatorTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s
- in org.apache.maven.wagon.providers.webdav.PathNavigatorTest
[INFO] Running org.apache.maven.wagon.providers.webdav.WebDavsWagonTest
[INFO] Tests run: 69, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.713
s - in org.apache.maven.wagon.providers.webdav.WebDavsWagonTest
[INFO] Running org.apache.maven.wagon.providers.webdav.WebDavWagonTest
[INFO] Tests run: 69, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.53 s
- in org.apache.maven.wagon.providers.webdav.WebDavWagonTest
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 145, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ wagon-webdav-jackrabbit
---
[INFO] Building jar:
F:\jenkins\jenkins-slave\workspace\maven-box_maven-wagon_master\m\wagon-providers\wagon-webdav-jackrabbit\target\wagon-webdav-jackrabbit-3.3.3-SNAPSHOT.jar
[INFO]
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @
wagon-webdav-jackrabbit ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @
wagon-webdav-jackrabbit ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Maven Wagon ................................. SUCCESS [ 53.430 s]
[INFO] Apache Maven Wagon :: API .......................... SUCCESS [ 17.484 s]
[INFO] Apache Maven Wagon :: Provider Test ................ SUCCESS [ 4.720 s]
[INFO] Apache Maven Wagon :: Providers .................... SUCCESS [ 1.778 s]
[INFO] Apache Maven Wagon :: Providers :: File Provider ... SUCCESS [ 5.040 s]
[INFO] Apache Maven Wagon :: Providers :: FTP Provider .... SUCCESS [ 10.107 s]
[INFO] Apache Maven Wagon :: Providers :: HTTP Shared Library SUCCESS [ 7.278
s]
[INFO] Apache Maven Wagon :: Test Compatibility Kits ...... SUCCESS [ 1.642 s]
[INFO] Apache Maven Wagon :: HTTP Test Compatibility Kit .. SUCCESS [ 3.431 s]
[INFO] Apache Maven Wagon :: Providers :: HTTP Provider ... SUCCESS [05:06 min]
[INFO] Apache Maven Wagon :: Providers :: Lightweight HTTP Provider SUCCESS
[02:13 min]
[INFO] Apache Maven Wagon :: Providers :: SCM Provider .... SUCCESS [01:26 min]
[INFO] Apache Maven Wagon :: Providers :: SSH Common Library SUCCESS [ 6.838 s]
[INFO] Apache Maven Wagon :: Providers :: SSH Common Tests SUCCESS [ 3.947 s]
[INFO] Apache Maven Wagon :: Providers :: SSH External Provider SUCCESS [
2.657 s]
[INFO] Apache Maven Wagon :: Providers :: SSH Provider .... SUCCESS [ 4.905 s]
[INFO] Apache Maven Wagon :: Providers :: WebDAV Provider . SUCCESS [01:05 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11:58 min
[INFO] Finished at: 2019-04-10T17:06:00-07:00
[INFO] Final Memory: 114M/1112M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "run-its" could not be activated because it
does not exist.
[INFO] [jenkins-event-spy] Generated
F:\jenkins\jenkins-slave\workspace\maven-box_maven-wagon_master@tmp\withMavene8932eb3\maven-spy-20190410-165401-4052161003833274481023.log
Picked up JAVA_TOOL_OPTIONS:
-Dmaven.ext.class.path="f:\jenkins\jenkins-slave\workspace\maven-box_maven-wagon_master@tmp\withMavene8932eb3\pipeline-maven-spy.jar"
-Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\workspace\maven-box_maven-wagon_master@tmp\withMavene8932eb3"
[INFO] Tests run: 69, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 34.018
s - in org.apache.maven.wagon.providers.webdav.WebDavsWagonTest
[INFO] Running org.apache.maven.wagon.providers.webdav.WebDavWagonTest
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.wagon:wagon-provider-api:jar:3.3.3-SNAPSHOT generated by
maven-surefire-plugin:test (default-test):
m\wagon-provider-api\target\surefire-reports\*.xml
Recording test results
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.wagon:wagon-provider-test:jar:3.3.3-SNAPSHOT generated by
maven-surefire-plugin:test (default-test):
m\wagon-provider-test\target\surefire-reports\*.xml
Recording test results
None of the test reports contained any result
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.wagon:wagon-file:jar:3.3.3-SNAPSHOT generated by
maven-surefire-plugin:test (default-test):
m\wagon-providers\wagon-file\target\surefire-reports\*.xml
Recording test results
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.wagon:wagon-ftp:jar:3.3.3-SNAPSHOT generated by
maven-surefire-plugin:test (default-test):
m\wagon-providers\wagon-ftp\target\surefire-reports\*.xml
Recording test results
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.wagon:wagon-http-shared:jar:3.3.3-SNAPSHOT generated by
maven-surefire-plugin:test (default-test):
m\wagon-providers\wagon-http-shared\target\surefire-reports\*.xml
Recording test results
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.wagon:wagon-tck-http:jar:3.3.3-SNAPSHOT generated by
maven-surefire-plugin:test (default-test):
m\wagon-tcks\wagon-tck-http\target\surefire-reports\*.xml
Recording test results
None of the test reports contained any result
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.wagon:wagon-http:jar:3.3.3-SNAPSHOT generated by
maven-surefire-plugin:test (default-test):
m\wagon-providers\wagon-http\target\surefire-reports\*.xml
Recording test results
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.wagon:wagon-http-lightweight:jar:3.3.3-SNAPSHOT generated by
maven-surefire-plugin:test (default-test):
m\wagon-providers\wagon-http-lightweight\target\surefire-reports\*.xml
Recording test results
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.wagon:wagon-scm:jar:3.3.3-SNAPSHOT generated by
maven-surefire-plugin:test (default-test):
m\wagon-providers\wagon-scm\target\surefire-reports\*.xml
Recording test results
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.wagon:wagon-ssh-common:jar:3.3.3-SNAPSHOT generated by
maven-surefire-plugin:test (default-test):
m\wagon-providers\wagon-ssh-common\target\surefire-reports\*.xml
Recording test results
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.wagon:wagon-ssh-common-test:jar:3.3.3-SNAPSHOT generated by
maven-surefire-plugin:test (default-test):
m\wagon-providers\wagon-ssh-common-test\target\surefire-reports\*.xml
Recording test results
None of the test reports contained any result
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.wagon:wagon-ssh-external:jar:3.3.3-SNAPSHOT generated by
maven-surefire-plugin:test (default-test):
m\wagon-providers\wagon-ssh-external\target\surefire-reports\*.xml
Recording test results
[INFO] Tests run: 69, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.652
s - in org.apache.maven.wagon.providers.webdav.WebDavWagonTest
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 145, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ wagon-webdav-jackrabbit
---
[INFO] Building jar:
F:\jenkins\jenkins-slave\workspace\maven-box_maven-wagon_master\m\wagon-providers\wagon-webdav-jackrabbit\target\wagon-webdav-jackrabbit-3.3.3-SNAPSHOT.jar
[INFO]
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @
wagon-webdav-jackrabbit ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @
wagon-webdav-jackrabbit ---
None of the test reports contained any result
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.wagon:wagon-ssh:jar:3.3.3-SNAPSHOT generated by
maven-surefire-plugin:test (default-test):
m\wagon-providers\wagon-ssh\target\surefire-reports\*.xml
Recording test results
None of the test reports contained any result
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.wagon:wagon-webdav-jackrabbit:jar:3.3.3-SNAPSHOT generated by
maven-surefire-plugin:test (default-test):
m\wagon-providers\wagon-webdav-jackrabbit\target\surefire-reports\*.xml
Recording test results
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Maven Wagon ................................. SUCCESS [ 56.521 s]
[INFO] Apache Maven Wagon :: API .......................... SUCCESS [ 18.362 s]
[INFO] Apache Maven Wagon :: Provider Test ................ SUCCESS [ 5.717 s]
[INFO] Apache Maven Wagon :: Providers .................... SUCCESS [ 2.079 s]
[INFO] Apache Maven Wagon :: Providers :: File Provider ... SUCCESS [ 5.481 s]
[INFO] Apache Maven Wagon :: Providers :: FTP Provider .... SUCCESS [ 9.815 s]
[INFO] Apache Maven Wagon :: Providers :: HTTP Shared Library SUCCESS [ 6.673
s]
[INFO] Apache Maven Wagon :: Test Compatibility Kits ...... SUCCESS [ 1.837 s]
[INFO] Apache Maven Wagon :: HTTP Test Compatibility Kit .. SUCCESS [ 3.998 s]
[INFO] Apache Maven Wagon :: Providers :: HTTP Provider ... SUCCESS [05:11 min]
[INFO] Apache Maven Wagon :: Providers :: Lightweight HTTP Provider SUCCESS
[02:20 min]
[INFO] Apache Maven Wagon :: Providers :: SCM Provider .... SUCCESS [01:42 min]
[INFO] Apache Maven Wagon :: Providers :: SSH Common Library SUCCESS [ 5.044 s]
[INFO] Apache Maven Wagon :: Providers :: SSH Common Tests SUCCESS [ 4.618 s]
[INFO] Apache Maven Wagon :: Providers :: SSH External Provider SUCCESS [
2.726 s]
[INFO] Apache Maven Wagon :: Providers :: SSH Provider .... SUCCESS [ 5.664 s]
[INFO] Apache Maven Wagon :: Providers :: WebDAV Provider . SUCCESS [01:08 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12:34 min
[INFO] Finished at: 2019-04-10T17:06:36-07:00
[withMaven] Publishers: Pipeline Graph Publisher: 14 ms, Junit Publisher: 16806
ms, Concordion Publisher: 1 ms, Dependencies Fingerprint Publisher: 920 ms,
JGiven Publisher: 1 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[INFO] Final Memory: 58M/335M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "run-its" could not be activated because it
does not exist.
[INFO] [jenkins-event-spy] Generated
F:\jenkins\jenkins-slave\workspace\maven-box_maven-wagon_master@tmp\withMavenfc7f0527\maven-spy-20190410-165400-8895291897411005567563.log
Picked up JAVA_TOOL_OPTIONS:
-Dmaven.ext.class.path="f:\jenkins\jenkins-slave\workspace\maven-box_maven-wagon_master@tmp\withMavenfc7f0527\pipeline-maven-spy.jar"
-Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\workspace\maven-box_maven-wagon_master@tmp\withMavenfc7f0527"
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.wagon:wagon-provider-api:jar:3.3.3-SNAPSHOT generated by
maven-surefire-plugin:test (default-test):
m\wagon-provider-api\target\surefire-reports\*.xml
Recording test results
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.wagon:wagon-provider-test:jar:3.3.3-SNAPSHOT generated by
maven-surefire-plugin:test (default-test):
m\wagon-provider-test\target\surefire-reports\*.xml
Recording test results
None of the test reports contained any result
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.wagon:wagon-file:jar:3.3.3-SNAPSHOT generated by
maven-surefire-plugin:test (default-test):
m\wagon-providers\wagon-file\target\surefire-reports\*.xml
Recording test results
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.wagon:wagon-ftp:jar:3.3.3-SNAPSHOT generated by
maven-surefire-plugin:test (default-test):
m\wagon-providers\wagon-ftp\target\surefire-reports\*.xml
Recording test results
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.wagon:wagon-http-shared:jar:3.3.3-SNAPSHOT generated by
maven-surefire-plugin:test (default-test):
m\wagon-providers\wagon-http-shared\target\surefire-reports\*.xml
Recording test results
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.wagon:wagon-tck-http:jar:3.3.3-SNAPSHOT generated by
maven-surefire-plugin:test (default-test):
m\wagon-tcks\wagon-tck-http\target\surefire-reports\*.xml
Recording test results
None of the test reports contained any result
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.wagon:wagon-http:jar:3.3.3-SNAPSHOT generated by
maven-surefire-plugin:test (default-test):
m\wagon-providers\wagon-http\target\surefire-reports\*.xml
Recording test results
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.wagon:wagon-http-lightweight:jar:3.3.3-SNAPSHOT generated by
maven-surefire-plugin:test (default-test):
m\wagon-providers\wagon-http-lightweight\target\surefire-reports\*.xml
Recording test results
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.wagon:wagon-scm:jar:3.3.3-SNAPSHOT generated by
maven-surefire-plugin:test (default-test):
m\wagon-providers\wagon-scm\target\surefire-reports\*.xml
Recording test results
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.wagon:wagon-ssh-common:jar:3.3.3-SNAPSHOT generated by
maven-surefire-plugin:test (default-test):
m\wagon-providers\wagon-ssh-common\target\surefire-reports\*.xml
Recording test results
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.wagon:wagon-ssh-common-test:jar:3.3.3-SNAPSHOT generated by
maven-surefire-plugin:test (default-test):
m\wagon-providers\wagon-ssh-common-test\target\surefire-reports\*.xml
Recording test results
None of the test reports contained any result
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.wagon:wagon-ssh-external:jar:3.3.3-SNAPSHOT generated by
maven-surefire-plugin:test (default-test):
m\wagon-providers\wagon-ssh-external\target\surefire-reports\*.xml
Recording test results
None of the test reports contained any result
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.wagon:wagon-ssh:jar:3.3.3-SNAPSHOT generated by
maven-surefire-plugin:test (default-test):
m\wagon-providers\wagon-ssh\target\surefire-reports\*.xml
Recording test results
None of the test reports contained any result
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.wagon:wagon-webdav-jackrabbit:jar:3.3.3-SNAPSHOT generated by
maven-surefire-plugin:test (default-test):
m\wagon-providers\wagon-webdav-jackrabbit\target\surefire-reports\*.xml
Recording test results
[withMaven] Publishers: Pipeline Graph Publisher: 5 ms, Invoker Publisher: 1
ms, Junit Publisher: 6667 ms, Concordion Publisher: 1 ms, Dependencies
Fingerprint Publisher: 746 ms, JGiven Publisher: 1 ms, Jacoco Publisher: 1 ms,
SpotBugs Publisher: 1 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // parallel
[Pipeline] echo
[FAILURE-001]
org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: Scripts
not permitted to use method
org.jenkinsci.plugins.workflow.support.steps.build.RunWrapper getRawBuild
[Pipeline] stage
[Pipeline] { (Notifications)
[Pipeline] echo
Build result: FAILURE
[Pipeline] jiraIssueSelector
[Pipeline] emailext