See 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/1172/display/redirect?page=changes>

Changes:

[github] Apply allocation bounds checks to EMF+ path and brush element counts

[github] Fix: XSLFTableCell.setBorderColor Overwrites (#1052)

[github] EscherBSERecord fillFields() to return consumed bytes (#1105)

[PJ Fanning] refactor

[github] Harden integer conversions and arithmetic in HwmfBitmapDib,

[github] Apply allocation bounds checks to EmfPolyDraw and WmfCreateRegion

[github] Modernize test assertions using JUnit 5 assertInstanceOf (#1108)

[github] more 'safe' conversions (#1110)

[github] Close unclosed HSSFWorkbook in TestFormulaParser (#1111)

[PJ Fanning] more safe conversions


------------------------------------------
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 
FORREST_HOME=/home/jenkins/tools/forrest/latest
LANG=en_US.UTF-8
CI_BUILD=TRUE

[EnvInject] - Variables injected successfully.
[EnvInject] - Injecting contributions.
Building remotely on builds33 (ubuntu) in workspace 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/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-DSL-SonarQube-Gradle/ws/.git> 
 > # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/apache/poi.git # timeout=10
Fetching upstream changes from https://github.com/apache/poi.git
 > git --version # timeout=10
 > git --version # 'git version 2.34.1'
 > git fetch --tags --force --progress -- https://github.com/apache/poi.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 d0eb055f99afcc01353ccb51d4c99a6a4f5fa2bd 
(refs/remotes/origin/trunk)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f d0eb055f99afcc01353ccb51d4c99a6a4f5fa2bd # timeout=10
Commit message: "more safe conversions"
 > git rev-list --no-walk 0056e611f013215b661447eb6ffc55dddf5bec56 # 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.
Injecting SonarQube environment variables using the configuration: sonarcloud.io
ERROR: Not all environment variables could be successfully injected. Check for 
similarly-named environment variables.
[POI-DSL-SonarQube-Gradle] $ /bin/sh -xe /tmp/jenkins6118792141094622106.sh
+ rm -rf examples excelant integrationtest main ooxml ooxml-schema scratchpad 
build.javacheck.xml
+ git status
HEAD detached at d0eb055f99
nothing to commit, working tree clean
+ git reset --hard
HEAD is now at d0eb055f99 more safe conversions
+ echo Java-Home: /home/jenkins/tools/java/latest17
Java-Home: /home/jenkins/tools/java/latest17
+ ls -al /home/jenkins/tools/java/latest17/
total 44
drwxr-xr-x  9 root root 4096 May 14  2025 .
drwxrwxr-x 25 root root 4096 May 28 10:23 ..
drwxr-xr-x  2 root root 4096 May 14  2025 bin
drwxr-xr-x  5 root root 4096 May 14  2025 conf
drwxr-xr-x  3 root root 4096 May 14  2025 include
drwxr-xr-x  2 root root 4096 May 14  2025 jmods
drwxr-xr-x 72 root root 4096 May 14  2025 legal
drwxr-xr-x  5 root root 4096 May 14  2025 lib
drwxr-xr-x  3 root root 4096 May 14  2025 man
-rw-r--r--  1 root root 2400 Jul 16  2024 NOTICE
-rw-r--r--  1 root root 1626 Jul 16  2024 release
+ ls -al /home/jenkins/tools/java/latest17/bin
total 460
drwxr-xr-x 2 root root  4096 May 14  2025 .
drwxr-xr-x 9 root root  4096 May 14  2025 ..
-rwxr-xr-x 1 root root 16336 Jul 16  2024 jar
-rwxr-xr-x 1 root root 16336 Jul 16  2024 jarsigner
-rwxr-xr-x 1 root root 16320 Jul 16  2024 java
-rwxr-xr-x 1 root root 16368 Jul 16  2024 javac
-rwxr-xr-x 1 root root 16368 Jul 16  2024 javadoc
-rwxr-xr-x 1 root root 16336 Jul 16  2024 javap
-rwxr-xr-x 1 root root 16336 Jul 16  2024 jcmd
-rwxr-xr-x 1 root root 16400 Jul 16  2024 jconsole
-rwxr-xr-x 1 root root 16336 Jul 16  2024 jdb
-rwxr-xr-x 1 root root 16336 Jul 16  2024 jdeprscan
-rwxr-xr-x 1 root root 16336 Jul 16  2024 jdeps
-rwxr-xr-x 1 root root 16336 Jul 16  2024 jfr
-rwxr-xr-x 1 root root 16336 Jul 16  2024 jhsdb
-rwxr-xr-x 1 root root 16336 Jul 16  2024 jimage
-rwxr-xr-x 1 root root 16368 Jul 16  2024 jinfo
-rwxr-xr-x 1 root root 16368 Jul 16  2024 jlink
-rwxr-xr-x 1 root root 16368 Jul 16  2024 jmap
-rwxr-xr-x 1 root root 16336 Jul 16  2024 jmod
-rwxr-xr-x 1 root root 16336 Jul 16  2024 jpackage
-rwxr-xr-x 1 root root 16336 Jul 16  2024 jps
-rwxr-xr-x 1 root root 16376 Jul 16  2024 jrunscript
-rwxr-xr-x 1 root root 16336 Jul 16  2024 jshell
-rwxr-xr-x 1 root root 16368 Jul 16  2024 jstack
-rwxr-xr-x 1 root root 16336 Jul 16  2024 jstat
-rwxr-xr-x 1 root root 16336 Jul 16  2024 jstatd
-rwxr-xr-x 1 root root 16336 Jul 16  2024 keytool
-rwxr-xr-x 1 root root 16344 Jul 16  2024 rmiregistry
-rwxr-xr-x 1 root root 16336 Jul 16  2024 serialver
+ /home/jenkins/tools/java/latest17/bin/java -version
openjdk version "17.0.12" 2024-07-16
OpenJDK Runtime Environment Temurin-17.0.12+7 (build 17.0.12+7)
OpenJDK 64-Bit Server VM Temurin-17.0.12+7 (build 17.0.12+7, mixed mode, 
sharing)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest17/bin/java
+ java -version
openjdk version "17.0.12" 2024-07-16
OpenJDK Runtime Environment Temurin-17.0.12+7 (build 17.0.12+7)
OpenJDK 64-Bit Server VM Temurin-17.0.12+7 (build 17.0.12+7, mixed mode, 
sharing)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest17/bin/javac
+ javac -version
javac 17.0.12
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 520
drwxr-xr-x 22 jenkins jenkins   4096 Jun  4 07:24 .
drwxr-xr-x  7 jenkins jenkins   4096 May 26 09:56 ..
-rw-r--r--  1 jenkins jenkins   1242 May 14 07:24 .asf.yaml
drwxr-xr-x  7 jenkins jenkins   4096 May 16 07:43 build
-rw-r--r--  1 jenkins jenkins  33773 May  9 07:24 build.gradle
-rw-r--r--  1 jenkins jenkins 152855 May  9 07:24 build.xml
-rw-r--r--  1 jenkins jenkins   8393 Dec  1  2025 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   3261 Jul 27  2025 file-leak-detector.exclude
drwxr-xr-x  8 jenkins jenkins   4096 Jun  4 07:24 .git
-rw-r--r--  1 jenkins jenkins     53 Jul 27  2025 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Jul 27  2025 .github
-rw-r--r--  1 jenkins jenkins    396 Jul 27  2025 .gitignore
drwxr-xr-x  5 jenkins jenkins   4096 Jul 27  2025 .gradle
drwxr-xr-x  3 jenkins jenkins   4096 Jul 27  2025 gradle
-rw-r--r--  1 jenkins jenkins    555 Jul 27  2025 gradle.properties
-rwxr-xr-x  1 jenkins jenkins   8733 Dec  4 07:24 gradlew
-rw-r--r--  1 jenkins jenkins   2843 Dec 19 07:24 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Nov 27  2025 jenkins
-rw-r--r--  1 jenkins jenkins 167947 Jul 27  2025 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Jan  4 07:24 legal
drwxr-xr-x  3 jenkins jenkins   4096 May  9 07:24 osgi
-rw-r--r--  1 jenkins jenkins   4813 Jul 27  2025 patch.xml
drwxr-xr-x  5 jenkins jenkins   4096 May 16 07:25 poi
drwxr-xr-x  4 jenkins jenkins   4096 May 16 07:25 poi-examples
drwxr-xr-x  4 jenkins jenkins   4096 May 16 07:25 poi-excelant
drwxr-xr-x  4 jenkins jenkins   4096 May 16 07:25 poi-fuzz
drwxr-xr-x  4 jenkins jenkins   4096 May 16 07:25 poi-integration
drwxr-xr-x  4 jenkins jenkins   4096 May 16 07:31 poi-ooxml
drwxr-xr-x  4 jenkins jenkins   4096 May 16 07:25 poi-ooxml-full
drwxr-xr-x  4 jenkins jenkins   4096 May 16 07:25 poi-ooxml-lite
drwxr-xr-x  4 jenkins jenkins   4096 May 16 07:25 poi-ooxml-lite-agent
drwxr-xr-x  5 jenkins jenkins   4096 May 16 07:25 poi-scratchpad
-rw-r--r--  1 jenkins jenkins   4623 Nov 20  2025 README.md
-rw-r--r--  1 jenkins jenkins    428 Jul 27  2025 SECURITY.md
-rw-r--r--  1 jenkins jenkins    209 Mar  8 07:24 settings.gradle
drwxr-xr-x  4 jenkins jenkins   4096 Jul 27  2025 src
drwxr-xr-x 15 jenkins jenkins   4096 Jun  4 07:24 test-data
-rw-r--r--  1 jenkins jenkins   3821 Jul 27  2025 wrapper.gradle
+ 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-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Detected Java version: 17 in: /usr/local/asfpackages/java/adoptium-jdk-17.0.12+7
Detected OS: Linux
parsing buildfile 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
 with URI = 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/build.javacheck.xml>
Project base dir set to: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/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 17/17.0.12
     [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 17.0.12

BUILD SUCCESSFUL
Total time: 1 second
+ exit 0
[Gradle] - Launching build.
ERROR: Not all environment variables could be successfully injected. Check for 
similarly-named environment variables.
[POI-DSL-SonarQube-Gradle] $ 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-SonarQube-Gradle/ws/gradlew> 
-PenableSonar -Dsonar.token=**** -Dsonar.organization=apache 
-Dsonar.projectKey=poi-parent -Dsonar.host.url=https://sonarcloud.io 
-PjdkVersion=17 clean check jacocoTestReport sonar
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.3/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:
A problem occurred configuring root project 'poi'.
> A build operation failed.
      Could not read workspace metadata from 
/home/jenkins/.gradle/caches/8.14.3/transforms/7d710cb1772eba76049d7c2392d6213b/metadata.bin
   > Could not read workspace metadata from 
/home/jenkins/.gradle/caches/8.14.3/transforms/7d710cb1772eba76049d7c2392d6213b/metadata.bin

* 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 29s
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.
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.
[Checks API] No suitable checks publisher found.
ERROR: Not all environment variables could be successfully injected. Check for 
similarly-named environment variables.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to