Build failed in Jenkins: Santuari o » Santuario-Java-main-JDK11 #452

Apache Jenkins Server <[email protected]> Tue, 16 Jun 2026 08:00:31 +0000 (UTC)
Newsgroups gmane.text.xml.security.devel
Message-ID <[email protected]>
See <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/452/display/redirect?page=changes>

Changes:

[Colm O hEigeartaigh] Fixing test after XMLUnit upgrade


------------------------------------------
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on builds60 (ubuntu ubuntu-avx) in workspace <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/>
The recommended git tool is: NONE
No credentials specified
 > git rev-parse --resolve-git-dir <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/.git> # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/santuario-xml-security-java.git # timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/santuario-xml-security-java.git
 > git --version # timeout=10
 > git --version # 'git version 2.34.1'
 > git fetch --tags --force --progress -- https://gitbox.apache.org/repos/asf/santuario-xml-security-java.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/main^{commit} # timeout=10
Checking out Revision 5c448dda30d2cdd27db616756fb5ed19f2182c3e (refs/remotes/origin/main)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 5c448dda30d2cdd27db616756fb5ed19f2182c3e # timeout=10
Commit message: "Fixing test after XMLUnit upgrade"
 > git rev-list --no-walk 7abb60b8c3f7000f4c27468c04e979d5c406cd39 # timeout=10
Parsing POMs
Established TCP socket on 46481
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[Santuario-Java-main-JDK11] $ /home/jenkins/tools/java/latest11/bin/java -cp /home/jenkins/jenkins-agent/maven35-agent.jar:/home/jenkins/tools/maven/latest3/boot/plexus-classworlds-2.9.0.jar:/home/jenkins/tools/maven/latest3/conf/logging jenkins.maven3.agent.Maven35Main /home/jenkins/tools/maven/latest3 /home/jenkins/jenkins-agent/agent.jar /home/jenkins/jenkins-agent/maven35-interceptor.jar /home/jenkins/jenkins-agent/maven3-interceptor-commons.jar 46481
<===[JENKINS REMOTING CAPACITY]===>   channel started
Jun 16, 2026 7:59:19 AM hudson.remoting.UserRequest perform
WARNING: LinkageError while performing UserRequest:hudson.maven.AbstractMavenProcessFactory$ConfigureOriginalJDK@2afcad67
java.lang.UnsupportedClassVersionError: Failed to load hudson.maven.AbstractMavenProcessFactory$ConfigureOriginalJDK
	at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:472)
	at hudson.remoting.RemoteClassLoader.loadRemoteClass(RemoteClassLoader.java:301)
	at hudson.remoting.RemoteClassLoader.loadWithMultiClassLoader(RemoteClassLoader.java:277)
	at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:236)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:594)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527)
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Class.java:398)
	at hudson.remoting.MultiClassLoaderSerializer$Input.resolveClass(MultiClassLoaderSerializer.java:133)
	at java.base/java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:2003)
	at java.base/java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1870)
	at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2201)
	at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1687)
	at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:489)
	at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:447)
	at hudson.remoting.UserRequest.deserialize(UserRequest.java:312)
	at hudson.remoting.UserRequest.perform(UserRequest.java:196)
	at hudson.remoting.UserRequest.perform(UserRequest.java:50)
	at hudson.remoting.Request$2.run(Request.java:391)
	at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:81)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.UnsupportedClassVersionError: Failed to load jenkins.security.MasterToSlaveCallable
	at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:472)
	at hudson.remoting.RemoteClassLoader.loadRemoteClass(RemoteClassLoader.java:301)
	at hudson.remoting.RemoteClassLoader.loadWithMultiClassLoader(RemoteClassLoader.java:277)
	at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:236)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:594)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527)
	at java.base/java.lang.ClassLoader.defineClass1(Native Method)
	at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1022)
	at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:883)
	at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:470)
	... 23 more
Caused by: java.lang.UnsupportedClassVersionError: jenkins/security/MasterToSlaveCallable has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
	at java.base/java.lang.ClassLoader.defineClass1(Native Method)
	at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1022)
	at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:883)
	at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:470)
	... 32 more

ERROR: ================================================================================
ERROR: Invalid project setup: Failed to load hudson.maven.AbstractMavenProcessFactory$ConfigureOriginalJDK
ERROR: [JENKINS-18403][JENKINS-28294] JDK 'jdk_11_latest' not supported to run Maven projects.
ERROR: Maven projects have to be launched with a Java version greater or equal to the minimum version required by the controller.
ERROR: Use the Maven JDK Toolchains (plugin) to build your maven project with an older JDK.
ERROR: Retrying with agent Java and setting compile/test properties to point to /home/jenkins/tools/java/latest11.
ERROR: ================================================================================
Established TCP socket on 36465
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[Santuario-Java-main-JDK11] $ /usr/local/asfpackages/java/adoptium-jdk-17.0.12+7/bin/java -cp /home/jenkins/jenkins-agent/maven35-agent.jar:/home/jenkins/tools/maven/latest3/boot/plexus-classworlds-2.9.0.jar:/home/jenkins/tools/maven/latest3/conf/logging jenkins.maven3.agent.Maven35Main /home/jenkins/tools/maven/latest3 /home/jenkins/jenkins-agent/agent.jar /home/jenkins/jenkins-agent/maven35-interceptor.jar /home/jenkins/jenkins-agent/maven3-interceptor-commons.jar 36465
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/pom.xml> clean deploy
[INFO] Scanning for projects...
[HUDSON] Collecting dependencies info
[INFO] 
[INFO] --------------------< org.apache.santuario:xmlsec >---------------------
[INFO] Building Apache XML Security for Java 4.0.5-SNAPSHOT
[INFO]   from pom.xml
[INFO] -------------------------------[ bundle ]-------------------------------
[INFO] 
[INFO] --- clean:3.5.0:clean (default-clean) @ xmlsec ---
[INFO] Deleting <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/target>
[INFO] 
[INFO] --- enforcer:3.6.3:enforce (enforce-maven-version) @ xmlsec ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[INFO] 
[INFO] --- enforcer:3.6.3:enforce (enforce-java-version) @ xmlsec ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[INFO] Rule 1: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[INFO] 
[INFO] --- jacoco:0.8.15:prepare-agent (jacoco-agent-for-unit-tests) @ xmlsec ---
[INFO] argLine set to -javaagent:/home/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.8.15/org.jacoco.agent-0.8.15-runtime.jar=destfile=<https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/target/jacoco.exec,includes=org/apache/xml/security/**>:org/apache/jcp/xml/dsig/internal/**
[INFO] 
[INFO] --- jaxb30:0.16.0:generate (generate-jaxb-sources) @ xmlsec ---
[INFO] Sources are not up-to-date, XJC will be executed.
[INFO] Episode file [<https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/target/generated-sources/xjc/META-INF/sun-jaxb.episode]> was augmented with if-exists="true" attributes.
[INFO] 
[INFO] --- replacer:1.5.3:replace (bindings-workaround-sun-jaxb) @ xmlsec ---
[INFO] Replacement run on 1 file.
[INFO] 
[INFO] --- replacer:1.5.3:replace (types-workaround-xmldsig) @ xmlsec ---
[INFO] Replacement run on 1 file.
[INFO] 
[INFO] --- remote-resources:3.3.0:process (process-resource-bundles) @ xmlsec ---
[INFO] Preparing remote bundle org.apache.apache.resources:apache-jar-resource-bundle:1.8
[INFO] Copying 3 resources from 1 bundle.
[INFO] 
[INFO] --- resources:3.5.0:resources (default-resources) @ xmlsec ---
[INFO] Copying 23 resources from src/main/resources to target/classes
[INFO] Copying 9 resources from src/main/java to target/classes
[INFO] Copying 1 resource from target/generated-sources/xjc to target/classes
[INFO] Copying 3 resources from target/maven-shared-archive-resources to target/classes
[INFO] 
[INFO] --- compiler:3.15.0:compile (default-compile) @ xmlsec ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 488 source files with javac [forked debug deprecation release 11 module-path] to target/classes
[INFO] JDK-8318913 workaround: patched module-info.class requires version from [11.0.24] to [11] on 4 JDK modules [java.base, java.management, java.xml, java.xml.crypto]
[WARNING] <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/src/main/java/org/apache/xml/security/stax/config/XIncludeHandler.java>:[158,42] [deprecation] XMLReaderFactory in org.xml.sax.helpers has been deprecated
[INFO] 
[INFO] --- resources:3.5.0:testResources (default-testResources) @ xmlsec ---
[INFO] Copying 1 resource from src/test/resources to target/test-classes
[INFO] Copying 1197 resources from src/test/resources to target/test-classes
[INFO] Copying 1 resource from src/test/java to target/test-classes
[INFO] Copying 3 resources from target/maven-shared-archive-resources to target/test-classes
[INFO] The encoding used to copy filtered properties files has not been set. This means that the same encoding will be used to copy filtered properties files as when copying other filtered resources. This might not be what you want! Run your build with --debug to see which files might be affected. Read more at https://maven.apache.org/plugins/maven-resources-plugin/examples/filtering-properties-files.html
[INFO] 
[INFO] --- compiler:3.15.0:testCompile (default-testCompile) @ xmlsec ---
[WARNING] Can't extract module name from xalan-2.7.3.jar: Provider class org.apache.bsf.BSFManager not in module
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 262 source files with javac [forked debug deprecation release 11 module-path] to target/test-classes
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING : 
[INFO] -------------------------------------------------------------
[WARNING] <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/src/test/java/org/apache/xml/security/test/dom/providers/TestCustomSignatureSpi.java>:[92,21] [deprecation] engineGetParameter(String) in SignatureSpi has been deprecated
[WARNING] <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/src/test/java/org/apache/xml/security/test/dom/providers/TestCustomSignatureSpi.java>:[87,19] [deprecation] engineSetParameter(String,Object) in SignatureSpi has been deprecated
[INFO] 2 warnings 
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/src/test/java/org/apache/xml/security/test/stax/XMLSecurityStreamWriterTest.java>:[197,52] cannot find symbol
  symbol:   variable DefaultWithDTDParsing
  location: class DocumentBuilderFactoryConfigurer
[INFO] 1 error
[INFO] -------------------------------------------------------------
[WARNING] Attempt to (de-)serialize anonymous class org.jfrog.hudson.maven2.MavenDependenciesRecorder$1; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  33.613 s
[INFO] Finished at: 2026-06-16T08:00:25Z
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.15.0:testCompile (default-testCompile) on project xmlsec: Compilation failure
[ERROR] <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/src/test/java/org/apache/xml/security/test/stax/XMLSecurityStreamWriterTest.java>:[197,52] cannot find symbol
[ERROR] symbol:   variable DefaultWithDTDParsing
[ERROR] location: class DocumentBuilderFactoryConfigurer
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[JENKINS] Archiving <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/pom.xml> to org.apache.santuario/xmlsec/4.0.5-SNAPSHOT/xmlsec-4.0.5-SNAPSHOT.pom
Sending e-mails to: [email protected]
channel stopped