Build failed in Jenkins: POI » POI-XMLBeans-DSL-1.26 #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.26/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 builds37 (ubuntu) in workspace <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.26/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.26/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.26] $ /bin/sh -xe /tmp/jenkins13464994458385276055.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/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:25 .
drwxrwxr-x 26 root root 4096 Aug  9 09:11 ..
drwxr-xr-x  2 root root 4096 May 28 10:25 bin
drwxr-xr-x  4 root root 4096 May 28 10:25 conf
drwxr-xr-x  3 root root 4096 May 28 10:25 include
drwxr-xr-x 70 root root 4096 May 28 10:25 legal
drwxr-xr-x  5 root root 4096 May 28 10:25 lib
drwxr-xr-x  3 root root 4096 May 28 10:25 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:25 .
drwxr-xr-x 8 root root  4096 May 28 10:25 ..
-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 416
drwxr-xr-x 11 jenkins jenkins   4096 Aug 23 03:57 .
drwxr-xr-x  6 jenkins jenkins   4096 Aug 16 03:57 ..
-rw-r--r--  1 jenkins jenkins   1786 Aug 16 03:57 .asf.yaml
-rw-r--r--  1 jenkins jenkins  28326 Aug 16 03:57 build.gradle
-rw-r--r--  1 jenkins jenkins  54154 Aug 16 03:57 build.xml
-rw-r--r--  1 jenkins jenkins  11963 Aug 16 03:57 CHANGES.txt
drwxr-xr-x  8 jenkins jenkins   4096 Aug 23 03:57 .git
drwxr-xr-x  3 jenkins jenkins   4096 Aug 16 03:57 .github
-rw-r--r--  1 jenkins jenkins     69 Aug 16 03:57 .gitignore
drwxr-xr-x  4 jenkins jenkins   4096 Aug 16 03:57 .gradle
drwxr-xr-x  3 jenkins jenkins   4096 Aug 16 03:57 gradle
-rw-r--r--  1 jenkins jenkins   1320 Aug 16 03:57 gradle.properties
-rwxr-xr-x  1 jenkins jenkins   9219 Aug 16 03:57 gradlew
-rw-r--r--  1 jenkins jenkins 177772 Aug 16 03:57 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Aug 16 03:57 legal
-rwxr-xr-x  1 jenkins jenkins  12246 Aug 16 03:57 LICENSE-binary.txt
-rwxr-xr-x  1 jenkins jenkins  15242 Aug 16 03:57 LICENSE.txt
-rw-r--r--  1 jenkins jenkins   2310 Aug 16 03:57 NOTICE-binary.txt
-rw-r--r--  1 jenkins jenkins   1592 Aug 16 03:57 NOTICE.txt
-rw-r--r--  1 jenkins jenkins   2480 Aug 16 03:57 README.md
-rw-r--r--  1 jenkins jenkins  11208 Aug 16 03:57 release-guide.txt
drwxr-xr-x 16 jenkins jenkins   4096 Aug 16 03:57 samples
-rw-r--r--  1 jenkins jenkins    484 Aug 16 03:57 SECURITY.md
-rw-r--r--  1 jenkins jenkins    661 Aug 16 03:57 settings.gradle
drwxr-xr-x  4 jenkins jenkins   4096 Aug 16 03:57 src
-rw-r--r--  1 jenkins jenkins    359 Aug 16 03:57 STATUS
drwxr-xr-x  4 jenkins jenkins   4096 Aug 16 03:57 test
-rw-r--r--  1 jenkins jenkins   3803 Aug 16 03:57 wrapper.gradle
-rw-r--r--  1 jenkins jenkins     25 Aug 16 03:57 xbeanenv.cmd
-rwxr-xr-x  1 jenkins jenkins     27 Aug 16 03:57 xbeanenv.sh
drwxr-xr-x  2 jenkins jenkins   4096 Aug 16 03:57 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
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 12s
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.