Bug#901881: can no longer successfully deploy a release from Jenkins (using Java 8)

Thorsten Glaser t.glaser at tarent.de
Mon Jun 25 17:12:07 BST 2018


severity 901881 important
thanks

After a successful build of a minor bugfix patch of some
software we’re shipping to a customer, the deploy stage
of the “Perform Maven release” step in Jenkins fails:

[INFO] [INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ footool-parent ---
[INFO] [INFO] Uploading to tarent-nexus: https://repo-bn-01.lan.tarent.de/repository/maven-releases/de/tarent/customer/CENSORED/footool/footool-parent/2.4.902/footool-parent-2.4.902.pom

[INFO] [INFO] Uploaded to tarent-nexus: https://repo-bn-01.lan.tarent.de/repository/maven-releases/de/tarent/customer/CENSORED/footool/footool-parent/2.4.902/footool-parent-2.4.902.pom (37 kB at 67 kB/s)
[INFO] [INFO] Downloading from tarent-nexus: https://repo-bn-01.lan.tarent.de/repository/maven-releases/de/tarent/customer/CENSORED/footool/footool-parent/maven-metadata.xml
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Reactor Summary:
[INFO] [INFO]
[INFO] [INFO] footool-parent 2.4.902 ............................. FAILURE [  6.699 s]
[…]
[INFO] [INFO] footool-documents 2.4.902 .......................... SKIPPED
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD FAILURE
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 7.241 s
[INFO] [INFO] Finished at: 2018-06-25T16:02:51Z
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project footool-parent: Execution default-deploy of goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy failed: An API incompatibility was encountered while executing org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy: java.lang.NoSuchMethodError: java.nio.ByteBuffer.mark()Ljava/nio/ByteBuffer;
[INFO] [ERROR] -----------------------------------------------------
[INFO] [ERROR] realm =    plugin>org.apache.maven.plugins:maven-deploy-plugin:2.8.2
[INFO] [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[INFO] [ERROR] urls[0] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/plugins/maven-deploy-plugin/2.8.2/maven-deploy-plugin-2.8.2.jar
[INFO] [ERROR] urls[1] = file:/var/lib/jenkins/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
[INFO] [ERROR] urls[2] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar
[INFO] [ERROR] urls[3] = file:/var/lib/jenkins/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
[INFO] [ERROR] urls[4] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.15/plexus-utils-3.0.15.jar
[INFO] [ERROR] Number of foreign imports: 1
[INFO] [ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
[INFO] [ERROR]
[INFO] [ERROR] -----------------------------------------------------
[INFO] [ERROR] -> [Help 1]
[INFO] [ERROR]
[INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging.


Now I’ve seen the suggestion to install OpenJDK 10 as workaround,
but I do not want to ship as a minor bugfix update something built
with a completely different JDK (which also does not match the JRE
at the customer site).

Since the last successful deploy, on the Jenkins system (running sid)
out of all packages matching .*(jdk|java).*, the only package upgraded
was libplexus-compiler-java (2.8.3-1 → 2.8.4-1), but downgrading it
also does not help.

Update: Oh, no, wait, the Jenkins system’s logs are in UTC while I
looked at gitk in $localtime, so there are more packages:

2018-06-15 18:01:58 upgrade libmaven-parent-java:all 27-2 31-2
2018-06-15 18:01:58 upgrade libmaven-resolver-java:all 1.1.0-3 1.1.1-1
2018-06-15 18:01:59 upgrade libmaven-shared-utils-java:all 3.1.0-2 3.2.1-1
2018-06-15 18:02:00 upgrade libmaven3-core-java:all 3.5.2-2 3.5.3-1
2018-06-15 18:02:01 upgrade libservlet3.1-java:all 8.5.30-1 8.5.31-1
2018-06-15 18:02:02 upgrade libtomcat8-java:all 8.5.30-1 8.5.31-1

I’ll try downgrading them individually (or, in the Maven case,
as group).

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg



More information about the pkg-java-maintainers mailing list