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

Apache Jenkins Server <[email protected]>
Newsgroups gmane.text.xml.security.devel
Message-ID <[email protected]>
See <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/464/display/redirect?page=changes>

Changes:

[github] Bump github/codeql-action/upload-sarif from 4.37.3 to 4.37.6 (#649)

[github] Bump github/codeql-action/analyze from 4.37.3 to 4.37.6 (#648)

[github] Bump github/codeql-action/init from 4.37.3 to 4.37.6 (#650)

[github] Bump actions/setup-java from 5.6.0 to 5.7.0 (#646)


------------------------------------------
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on builds49 (tmp-22 ubuntu pkcs11) in workspace <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/>
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning repository https://gitbox.apache.org/repos/asf/santuario-xml-security-java.git
 > git init <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/> # 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 config remote.origin.url https://gitbox.apache.org/repos/asf/santuario-xml-security-java.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
 > git rev-parse refs/remotes/origin/main^{commit} # timeout=10
Checking out Revision 6e978eeaa04c30974476ae5e64faeab7a8a97dcd (refs/remotes/origin/main)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 6e978eeaa04c30974476ae5e64faeab7a8a97dcd # timeout=10
Commit message: "Bump actions/setup-java from 5.6.0 to 5.7.0 (#646)"
 > git rev-list --no-walk ebe14b517f06dbb72c10f602eff3914a766b1165 # timeout=10
Parsing POMs
Established TCP socket on 35313
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.11.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 35313
<===[JENKINS REMOTING CAPACITY]===>   channel started
Aug 10, 2026 4:59:29 PM hudson.remoting.UserRequest perform
WARNING: LinkageError while performing UserRequest:hudson.maven.AbstractMavenProcessFactory$ConfigureOriginalJDK@7fb5f99c
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 36981
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.11.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 36981
<===[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] Downloading from central: https://repo.maven.apache.org/maven2/org/xmlunit/xmlunit-matchers/2.12.0/xmlunit-matchers-2.12.0.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/xmlunit/xmlunit-matchers/2.12.0/xmlunit-matchers-2.12.0.pom (2.2 kB at 3.2 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/xmlunit/xmlunit-matchers/2.12.0/xmlunit-matchers-2.12.0.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/xmlunit/xmlunit-matchers/2.12.0/xmlunit-matchers-2.12.0.jar (21 kB at 260 kB/s)
[INFO] 
[INFO] --- clean:3.5.0:clean (default-clean) @ xmlsec ---
[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 490 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 263 source files with javac [forked debug deprecation release 11 module-path] to target/test-classes
[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/utils/HttpRequestRedirectorProxy.java>:[41,29] cannot access MimeTypes
  bad class file: /home/jenkins/.m2/repository/org/eclipse/jetty/jetty-http/12.1.11/jetty-http-12.1.11.jar(/org/eclipse/jetty/http/MimeTypes.class)
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/src/test/java/org/apache/xml/security/test/stax/utils/HttpRequestRedirectorProxy.java>:[42,31] cannot access Server
  bad class file: /home/jenkins/.m2/repository/org/eclipse/jetty/jetty-server/12.1.11/jetty-server-12.1.11.jar(/org/eclipse/jetty/server/Server.class)
    class file has wrong version 61.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/src/test/java/org/apache/xml/security/test/stax/utils/HttpRequestRedirectorProxy.java>:[50,19] cannot find symbol
  symbol:   class Server
  location: class HttpRequestRedirectorProxy
[ERROR] <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/src/test/java/org/apache/xml/security/test/stax/utils/HttpRequestRedirectorProxy.java>:[89,23] cannot find symbol
  symbol:   class MimeTypes
  location: class TestingHttpProxyServlet
[INFO] 4 errors 
[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:  01:09 min
[INFO] Finished at: 2026-08-10T17:01:27Z
[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: 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/utils/HttpRequestRedirectorProxy.java>:[41,29] cannot access MimeTypes
[ERROR] bad class file: /home/jenkins/.m2/repository/org/eclipse/jetty/jetty-http/12.1.11/jetty-http-12.1.11.jar(/org/eclipse/jetty/http/MimeTypes.class)
[ERROR] class file has wrong version 61.0, should be 55.0
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/src/test/java/org/apache/xml/security/test/stax/utils/HttpRequestRedirectorProxy.java>:[42,31] cannot access Server
[ERROR] bad class file: /home/jenkins/.m2/repository/org/eclipse/jetty/jetty-server/12.1.11/jetty-server-12.1.11.jar(/org/eclipse/jetty/server/Server.class)
[ERROR] class file has wrong version 61.0, should be 55.0
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/src/test/java/org/apache/xml/security/test/stax/utils/HttpRequestRedirectorProxy.java>:[50,19] cannot find symbol
[ERROR] symbol:   class Server
[ERROR] location: class HttpRequestRedirectorProxy
[ERROR] <https://ci-builds.apache.org/job/Santuario/job/Santuario-Java-main-JDK11/ws/src/test/java/org/apache/xml/security/test/stax/utils/HttpRequestRedirectorProxy.java>:[89,23] cannot find symbol
[ERROR] symbol:   class MimeTypes
[ERROR] location: class TestingHttpProxyServlet
[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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.