Build failed in Jenkins: POI » POI-XMLBeans-DSL-1.27 #3

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.27/3/display/redirect?page=changes>

Changes:

[github] reject negative UTF length in LongUTFDataInputStream.readLongUTF (#93)


------------------------------------------
Started by an SCM change
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 builds24 (ubuntu) in workspace <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.27/ws/>
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Done
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.
 > git rev-parse --resolve-git-dir <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.27/ws/.git> # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/apache/poi-xmlbeans.git # 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 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 e27f97b10e770df365cd2d983a14a965e456c978 (refs/remotes/origin/trunk)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f e27f97b10e770df365cd2d983a14a965e456c978 # timeout=10
Commit message: "reject negative UTF length in LongUTFDataInputStream.readLongUTF (#93)"
 > git rev-list --no-walk 9a8da421edced5234ab4e54869809b775a66018f # timeout=10
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.27] $ /bin/sh -xe /tmp/jenkins12266009966028430606.sh
+ rm -rf examples excelant integrationtest main ooxml ooxml-schema scratchpad build.javacheck.xml
+ git status
HEAD detached at e27f97b1
nothing to commit, working tree clean
+ git reset --hard
HEAD is now at e27f97b1 reject negative UTF length in LongUTFDataInputStream.readLongUTF (#93)
+ echo Java-Home: /home/jenkins/tools/java/latest27
Java-Home: /home/jenkins/tools/java/latest27
+ ls -al /home/jenkins/tools/java/latest27/
total 40
drwxr-xr-x  9 root root 4096 Dec  8  2025 .
drwxrwxr-x 26 root root 4096 Jul 19 11:03 ..
drwxr-xr-x  2 root root 4096 Dec  8  2025 bin
drwxr-xr-x  4 root root 4096 Dec  8  2025 conf
drwxr-xr-x  3 root root 4096 Dec  8  2025 include
drwxr-xr-x  2 root root 4096 Dec  8  2025 jmods
drwxr-xr-x 70 root root 4096 Dec  8  2025 legal
drwxr-xr-x  5 root root 4096 Dec  8  2025 lib
drwxr-xr-x  3 root root 4096 Dec  8  2025 man
-rw-r--r--  1 root root 1196 Dec  4  2025 release
+ ls -al /home/jenkins/tools/java/latest27/bin
total 472
drwxr-xr-x 2 root root  4096 Dec  8  2025 .
drwxr-xr-x 9 root root  4096 Dec  8  2025 ..
-rwxr-xr-x 1 root root 12408 Dec  4  2025 jar
-rwxr-xr-x 1 root root 12416 Dec  4  2025 jarsigner
-rwxr-xr-x 1 root root 12352 Dec  4  2025 java
-rwxr-xr-x 1 root root 12440 Dec  4  2025 javac
-rwxr-xr-x 1 root root 12448 Dec  4  2025 javadoc
-rwxr-xr-x 1 root root 12408 Dec  4  2025 javap
-rwxr-xr-x 1 root root 12408 Dec  4  2025 jcmd
-rwxr-xr-x 1 root root 12480 Dec  4  2025 jconsole
-rwxr-xr-x 1 root root 12408 Dec  4  2025 jdb
-rwxr-xr-x 1 root root 12416 Dec  4  2025 jdeprscan
-rwxr-xr-x 1 root root 12408 Dec  4  2025 jdeps
-rwxr-xr-x 1 root root 12408 Dec  4  2025 jfr
-rwxr-xr-x 1 root root 12408 Dec  4  2025 jhsdb
-rwxr-xr-x 1 root root 12416 Dec  4  2025 jimage
-rwxr-xr-x 1 root root 12440 Dec  4  2025 jinfo
-rwxr-xr-x 1 root root 12440 Dec  4  2025 jlink
-rwxr-xr-x 1 root root 12440 Dec  4  2025 jmap
-rwxr-xr-x 1 root root 12408 Dec  4  2025 jmod
-rwxr-xr-x 1 root root 12416 Dec  4  2025 jnativescan
-rwxr-xr-x 1 root root 12416 Dec  4  2025 jpackage
-rwxr-xr-x 1 root root 12408 Dec  4  2025 jps
-rwxr-xr-x 1 root root 12416 Dec  4  2025 jshell
-rwxr-xr-x 1 root root 12448 Dec  4  2025 jstack
-rwxr-xr-x 1 root root 12408 Dec  4  2025 jstat
-rwxr-xr-x 1 root root 12416 Dec  4  2025 jstatd
-rwxr-xr-x 1 root root 12416 Dec  4  2025 jwebserver
-rwxr-xr-x 1 root root 12416 Dec  4  2025 keytool
-rwxr-xr-x 1 root root 12416 Dec  4  2025 rmiregistry
-rwxr-xr-x 1 root root 12416 Dec  4  2025 serialver
+ /home/jenkins/tools/java/latest27/bin/java -version
openjdk version "27-ea" 2026-09-15
OpenJDK Runtime Environment (build 27-ea+1-3)
OpenJDK 64-Bit Server VM (build 27-ea+1-3, mixed mode, sharing)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest27/bin/java
+ java -version
openjdk version "27-ea" 2026-09-15
OpenJDK Runtime Environment (build 27-ea+1-3)
OpenJDK 64-Bit Server VM (build 27-ea+1-3, mixed mode, sharing)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest27/bin/javac
+ javac -version
javac 27-ea
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 416
drwxr-xr-x 11 jenkins jenkins   4096 Aug 23 13:33 .
drwxr-xr-x  4 jenkins jenkins   4096 Aug 16 13:33 ..
-rw-r--r--  1 jenkins jenkins   1786 Aug 16 13:33 .asf.yaml
-rw-r--r--  1 jenkins jenkins  28326 Aug 16 13:33 build.gradle
-rw-r--r--  1 jenkins jenkins  54154 Aug 16 13:33 build.xml
-rw-r--r--  1 jenkins jenkins  11963 Aug 16 13:33 CHANGES.txt
drwxr-xr-x  8 jenkins jenkins   4096 Aug 23 13:33 .git
drwxr-xr-x  3 jenkins jenkins   4096 Aug 16 13:33 .github
-rw-r--r--  1 jenkins jenkins     69 Aug 16 13:33 .gitignore
drwxr-xr-x  4 jenkins jenkins   4096 Aug 16 13:33 .gradle
drwxr-xr-x  3 jenkins jenkins   4096 Aug 16 13:33 gradle
-rw-r--r--  1 jenkins jenkins   1320 Aug 16 13:33 gradle.properties
-rwxr-xr-x  1 jenkins jenkins   9219 Aug 16 13:33 gradlew
-rw-r--r--  1 jenkins jenkins 177772 Aug 16 13:33 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Aug 16 13:33 legal
-rwxr-xr-x  1 jenkins jenkins  12246 Aug 16 13:33 LICENSE-binary.txt
-rwxr-xr-x  1 jenkins jenkins  15242 Aug 16 13:33 LICENSE.txt
-rw-r--r--  1 jenkins jenkins   2310 Aug 16 13:33 NOTICE-binary.txt
-rw-r--r--  1 jenkins jenkins   1592 Aug 16 13:33 NOTICE.txt
-rw-r--r--  1 jenkins jenkins   2480 Aug 16 13:33 README.md
-rw-r--r--  1 jenkins jenkins  11208 Aug 16 13:33 release-guide.txt
drwxr-xr-x 16 jenkins jenkins   4096 Aug 16 13:33 samples
-rw-r--r--  1 jenkins jenkins    484 Aug 16 13:33 SECURITY.md
-rw-r--r--  1 jenkins jenkins    661 Aug 16 13:33 settings.gradle
drwxr-xr-x  4 jenkins jenkins   4096 Aug 16 13:33 src
-rw-r--r--  1 jenkins jenkins    359 Aug 16 13:33 STATUS
drwxr-xr-x  4 jenkins jenkins   4096 Aug 16 13:33 test
-rw-r--r--  1 jenkins jenkins   3803 Aug 16 13:33 wrapper.gradle
-rw-r--r--  1 jenkins jenkins     25 Aug 16 13:33 xbeanenv.cmd
-rwxr-xr-x  1 jenkins jenkins     27 Aug 16 13:33 xbeanenv.sh
drwxr-xr-x  2 jenkins jenkins   4096 Aug 16 13:33 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.27/ws/build.javacheck.xml>
Detected Java version: 27 in: /usr/local/asfpackages/java/openjdk-27-ea+1
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.27/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.27/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.27/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 27/27-ea
     [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 27-ea

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.27] $ <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.27/ws/gradlew> clean jenkins jacocoTestReport
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 71
> Unsupported class file major version 71

* 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 14s
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.