Build failed in Jenkins: POI » POI-XMLBeans-DSL-1.26 #1

Apache Jenkins Server <[email protected]>
Newsgroups gmane.comp.jakarta.poi.devel
Message-ID <[email protected]>
See <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.26/1/display/redirect>

Changes:


------------------------------------------
Started by user Dominik Stadler
Running as SYSTEM
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
[EnvInject] - Loading node environment variables.
[EnvInject] - Preparing an environment for the build.
[EnvInject] - Keeping Jenkins system variables.
[EnvInject] - Keeping Jenkins build variables.
[EnvInject] - Injecting as environment variables the properties content 
ANT_OPTS=--add-opens=java.xml/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED
FORREST_HOME=/home/jenkins/tools/forrest/latest
LANG=en_US.UTF-8

[EnvInject] - Variables injected successfully.
[EnvInject] - Injecting contributions.
Building remotely on builds40 (ubuntu) in workspace <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.26/ws/>
[WS-CLEANUP] Deleting project workspace...
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
The recommended git tool is: NONE
No credentials specified
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
Cloning the remote Git repository
Cloning repository https://github.com/apache/poi-xmlbeans.git
 > git init <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.26/ws/> # timeout=10
Fetching upstream changes from https://github.com/apache/poi-xmlbeans.git
 > git --version # timeout=10
 > git --version # 'git version 2.34.1'
 > git fetch --tags --force --progress -- https://github.com/apache/poi-xmlbeans.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/apache/poi-xmlbeans.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/trunk^{commit} # timeout=10
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
Checking out Revision 70c773d5a02853488cc9b1f56fdccb0f3f408a58 (refs/remotes/origin/trunk)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 70c773d5a02853488cc9b1f56fdccb0f3f408a58 # timeout=10
Commit message: "Add license information to .asf.yaml"
First time build. Skipping changelog.
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
[POI-XMLBeans-DSL-1.26] $ /bin/sh -xe /tmp/jenkins10279764763628531231.sh
+ rm -rf examples excelant integrationtest main ooxml ooxml-schema scratchpad build.javacheck.xml
+ git status
HEAD detached at 70c773d5
nothing to commit, working tree clean
+ git reset --hard
HEAD is now at 70c773d5 Add license information to .asf.yaml
+ echo Java-Home: /home/jenkins/tools/java/latest26
Java-Home: /home/jenkins/tools/java/latest26
+ ls -al /home/jenkins/tools/java/latest26/
total 40
drwxr-xr-x  8 root root 4096 May 28 10:32 .
drwxrwxr-x 26 root root 4096 Jul 19 10:55 ..
drwxr-xr-x  2 root root 4096 May 28 10:32 bin
drwxr-xr-x  4 root root 4096 May 28 10:32 conf
drwxr-xr-x  3 root root 4096 May 28 10:32 include
drwxr-xr-x 70 root root 4096 May 28 10:32 legal
drwxr-xr-x  5 root root 4096 May 28 10:32 lib
drwxr-xr-x  3 root root 4096 May 28 10:32 man
-rw-r--r--  1 root root 2400 Apr 26 16:30 NOTICE
-rw-r--r--  1 root root 1578 Apr 26 16:30 release
+ ls -al /home/jenkins/tools/java/latest26/bin
total 484
drwxr-xr-x 2 root root  4096 May 28 10:32 .
drwxr-xr-x 8 root root  4096 May 28 10:32 ..
-rwxr-xr-x 1 root root 16352 Apr 26 16:25 jar
-rwxr-xr-x 1 root root 16360 Apr 26 16:25 jarsigner
-rwxr-xr-x 1 root root 16296 Apr 26 16:25 java
-rwxr-xr-x 1 root root 16384 Apr 26 16:25 javac
-rwxr-xr-x 1 root root 16392 Apr 26 16:25 javadoc
-rwxr-xr-x 1 root root 16352 Apr 26 16:25 javap
-rwxr-xr-x 1 root root 16352 Apr 26 16:25 jcmd
-rwxr-xr-x 1 root root 16424 Apr 26 16:25 jconsole
-rwxr-xr-x 1 root root 16352 Apr 26 16:25 jdb
-rwxr-xr-x 1 root root 16360 Apr 26 16:25 jdeprscan
-rwxr-xr-x 1 root root 16352 Apr 26 16:25 jdeps
-rwxr-xr-x 1 root root 16352 Apr 26 16:25 jfr
-rwxr-xr-x 1 root root 16352 Apr 26 16:25 jhsdb
-rwxr-xr-x 1 root root 16360 Apr 26 16:25 jimage
-rwxr-xr-x 1 root root 16384 Apr 26 16:25 jinfo
-rwxr-xr-x 1 root root 16384 Apr 26 16:25 jlink
-rwxr-xr-x 1 root root 16384 Apr 26 16:25 jmap
-rwxr-xr-x 1 root root 16352 Apr 26 16:25 jmod
-rwxr-xr-x 1 root root 16360 Apr 26 16:25 jnativescan
-rwxr-xr-x 1 root root 16360 Apr 26 16:25 jpackage
-rwxr-xr-x 1 root root 16352 Apr 26 16:25 jps
-rwxr-xr-x 1 root root 16360 Apr 26 16:25 jshell
-rwxr-xr-x 1 root root 16392 Apr 26 16:25 jstack
-rwxr-xr-x 1 root root 16352 Apr 26 16:25 jstat
-rwxr-xr-x 1 root root 16360 Apr 26 16:25 jstatd
-rwxr-xr-x 1 root root 16360 Apr 26 16:25 jwebserver
-rwxr-xr-x 1 root root 16360 Apr 26 16:25 keytool
-rwxr-xr-x 1 root root 16360 Apr 26 16:25 rmiregistry
-rwxr-xr-x 1 root root 16360 Apr 26 16:25 serialver
+ /home/jenkins/tools/java/latest26/bin/java -version
openjdk version "26.0.1" 2026-04-21
OpenJDK Runtime Environment Temurin-26.0.1+8 (build 26.0.1+8)
OpenJDK 64-Bit Server VM Temurin-26.0.1+8 (build 26.0.1+8, mixed mode, sharing)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest26/bin/java
+ java -version
openjdk version "26.0.1" 2026-04-21
OpenJDK Runtime Environment Temurin-26.0.1+8 (build 26.0.1+8)
OpenJDK 64-Bit Server VM Temurin-26.0.1+8 (build 26.0.1+8, mixed mode, sharing)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest26/bin/javac
+ javac -version
javac 26.0.1
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 412
drwxr-xr-x 10 jenkins jenkins   4096 Aug  7 06:22 .
drwxr-xr-x  6 jenkins jenkins   4096 Aug  7 06:22 ..
-rw-r--r--  1 jenkins jenkins   1786 Aug  7 06:22 .asf.yaml
-rw-r--r--  1 jenkins jenkins  28326 Aug  7 06:22 build.gradle
-rw-r--r--  1 jenkins jenkins  54154 Aug  7 06:22 build.xml
-rw-r--r--  1 jenkins jenkins  11963 Aug  7 06:22 CHANGES.txt
drwxr-xr-x  8 jenkins jenkins   4096 Aug  7 06:22 .git
drwxr-xr-x  3 jenkins jenkins   4096 Aug  7 06:22 .github
-rw-r--r--  1 jenkins jenkins     69 Aug  7 06:22 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Aug  7 06:22 gradle
-rw-r--r--  1 jenkins jenkins   1320 Aug  7 06:22 gradle.properties
-rwxr-xr-x  1 jenkins jenkins   9219 Aug  7 06:22 gradlew
-rw-r--r--  1 jenkins jenkins 177772 Aug  7 06:22 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Aug  7 06:22 legal
-rwxr-xr-x  1 jenkins jenkins  12246 Aug  7 06:22 LICENSE-binary.txt
-rwxr-xr-x  1 jenkins jenkins  15242 Aug  7 06:22 LICENSE.txt
-rw-r--r--  1 jenkins jenkins   2310 Aug  7 06:22 NOTICE-binary.txt
-rw-r--r--  1 jenkins jenkins   1592 Aug  7 06:22 NOTICE.txt
-rw-r--r--  1 jenkins jenkins   2480 Aug  7 06:22 README.md
-rw-r--r--  1 jenkins jenkins  11208 Aug  7 06:22 release-guide.txt
drwxr-xr-x 16 jenkins jenkins   4096 Aug  7 06:22 samples
-rw-r--r--  1 jenkins jenkins    484 Aug  7 06:22 SECURITY.md
-rw-r--r--  1 jenkins jenkins    661 Aug  7 06:22 settings.gradle
drwxr-xr-x  4 jenkins jenkins   4096 Aug  7 06:22 src
-rw-r--r--  1 jenkins jenkins    359 Aug  7 06:22 STATUS
drwxr-xr-x  4 jenkins jenkins   4096 Aug  7 06:22 test
-rw-r--r--  1 jenkins jenkins   3803 Aug  7 06:22 wrapper.gradle
-rw-r--r--  1 jenkins jenkins     25 Aug  7 06:22 xbeanenv.cmd
-rwxr-xr-x  1 jenkins jenkins     27 Aug  7 06:22 xbeanenv.sh
drwxr-xr-x  2 jenkins jenkins   4096 Aug  7 06:22 xkit
+ echo which ant
which ant
+ which ant
/usr/bin/ant
+ ant -version
Apache Ant(TM) version 1.10.12 compiled on January 17 1970
+ echo <project default="test"><target name="test"><echo>Java ${ant.java.version}/${java.version}</echo><exec executable="javac"><arg value="-version"/></exec></target></project>
+ ant -f build.javacheck.xml -v
Apache Ant(TM) version 1.10.12 compiled on January 17 1970
Buildfile: <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.26/ws/build.javacheck.xml>
Detected Java version: 26 in: /usr/local/asfpackages/java/adoptium-jdk-26.0.1+8
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.26/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.26/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.26/ws/>
Build sequence for target(s) `test' is [test]
Complete build sequence is [test, ]

test:
parsing buildfile jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
     [echo] Java 26/26.0.1
     [exec] Current OS is Linux
     [exec] Executing 'javac' with arguments:
     [exec] '-version'
     [exec] 
     [exec] The ' characters around the executable and arguments are
     [exec] not part of the command.
     [exec] javac 26.0.1

BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
[Gradle] - Launching build.
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
[POI-XMLBeans-DSL-1.26] $ <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.26/ws/gradlew> clean jenkins jacocoTestReport
Downloading https://services.gradle.org/distributions/gradle-8.14.5-bin.zip
.............10%.............20%.............30%.............40%.............50%.............60%..............70%.............80%.............90%.............100%

Welcome to Gradle 8.14.5!

Here are the highlights of this release:
 - Java 24 support
 - GraalVM Native Image toolchain selection
 - Enhancements to test reporting
 - Build Authoring improvements

For more details see https://docs.gradle.org/8.14.5/release-notes.html

To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.14.5/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
Daemon will be stopped at the end of the build 
Configuration on demand is an incubating feature.

FAILURE: Build failed with an exception.

* What went wrong:
BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 70
> Unsupported class file major version 70

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 13s
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
Archiving artifacts
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
Recording test results
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
[SpotBugs] Skipping execution of recorder since overall result is 'FAILURE'
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
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.