Build failed in Jenkins: POI » POI-DSL-no-scratchpad #321
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-DSL-no-scratchpad/321/display/redirect?page=changes>
Changes:
[github] use long for EmfPlusDrawDriverString glyph byte length (#1098)
[github] remove info losing int casts (#1099)
[github] more int overflow risks (#1100)
[github] more int overflow risks (#1101)
[PJ Fanning] Update HSSFChart.java
[github] more int overflow possibilities (#1102)
[github] boundary handling and decompression limits in CompressedRTF (#1071)
[PJ Fanning] Update CompressedRTF.java
[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
[PJ Fanning] Update IOUtils.java
[github] hemf specific limits (#1114)
[PJ Fanning] javadoc
[PJ Fanning] name methods for overriding limits
[PJ Fanning] Update XMLSlideShow.java
[github] HemfPlusPath: validate PointCount before array allocation (#1103)
[github] Use unsigned element count when parsing EscherArrayProperty (#1116)
[github] refactor hssf limit code (#1115)
[github] Enforce ZipSecureFile limits for encrypted temp ZIP streams (#1062)
[github] apply allocation bounds check to EmfExtCreatePen style entries (#1113)
[github] more changes to try to include method names in exceptions (#1118)
[github] more methods names in exceptions (#1119)
[PJ Fanning] more allocation check changes
[github] more allocation changes (#1120)
[PJ Fanning] add javadoc
[PJ Fanning] Update encryption.xml
[PJ Fanning] Update Biff8EncryptionKey.java
[github] more method names in limit exceptions (#1121)
[PJ Fanning] new IOUtils methods
[PJ Fanning] Update security.xml
[PJ Fanning] Update encryption.xml
------------------------------------------
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 builds22 (ubuntu) in workspace <https://ci-builds.apache.org/job/POI/job/POI-DSL-no-scratchpad/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.git
> git init <https://ci-builds.apache.org/job/POI/job/POI-DSL-no-scratchpad/ws/> # 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 config remote.origin.url https://github.com/apache/poi.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 e1d55513add5400814937ba13a0a646dc35e7571 (refs/remotes/origin/trunk)
> git config core.sparsecheckout # timeout=10
> git checkout -f e1d55513add5400814937ba13a0a646dc35e7571 # timeout=10
Commit message: "Update encryption.xml"
> git rev-list --no-walk dfa955921c773ac56bc09534214ca7e61aa74d47 # 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-DSL-no-scratchpad] $ /bin/sh -xe /tmp/jenkins11941663140559926116.sh
+ rm -rf examples excelant integrationtest main ooxml ooxml-schema scratchpad build.javacheck.xml
+ git status
HEAD detached at e1d55513ad
nothing to commit, working tree clean
+ git reset --hard
HEAD is now at e1d55513ad Update encryption.xml
+ echo Java-Home: /home/jenkins/tools/java/latest11
Java-Home: /home/jenkins/tools/java/latest11
+ ls -al /home/jenkins/tools/java/latest11/
total 44
drwxr-xr-x 9 root root 4096 Oct 1 2024 .
drwxrwxr-x 25 root root 4096 May 28 10:05 ..
drwxr-xr-x 2 root root 4096 Oct 1 2024 bin
drwxr-xr-x 4 root root 4096 Oct 1 2024 conf
drwxr-xr-x 3 root root 4096 Oct 1 2024 include
drwxr-xr-x 2 root root 4096 Oct 1 2024 jmods
drwxr-xr-x 73 root root 4096 Oct 1 2024 legal
drwxr-xr-x 6 root root 4096 Oct 1 2024 lib
drwxr-xr-x 4 root root 4096 Oct 1 2024 man
-rw-r--r-- 1 root root 2400 Jul 17 2024 NOTICE
-rw-r--r-- 1 root root 1635 Jul 17 2024 release
+ ls -al /home/jenkins/tools/java/latest11/bin
total 708
drwxr-xr-x 2 root root 4096 Oct 1 2024 .
drwxr-xr-x 9 root root 4096 Oct 1 2024 ..
-rwxr-xr-x 1 root root 12904 Jul 17 2024 jaotc
-rwxr-xr-x 1 root root 12784 Jul 17 2024 jar
-rwxr-xr-x 1 root root 12784 Jul 17 2024 jarsigner
-rwxr-xr-x 1 root root 12768 Jul 17 2024 java
-rwxr-xr-x 1 root root 12816 Jul 17 2024 javac
-rwxr-xr-x 1 root root 12816 Jul 17 2024 javadoc
-rwxr-xr-x 1 root root 12784 Jul 17 2024 javap
-rwxr-xr-x 1 root root 12784 Jul 17 2024 jcmd
-rwxr-xr-x 1 root root 12832 Jul 17 2024 jconsole
-rwxr-xr-x 1 root root 12784 Jul 17 2024 jdb
-rwxr-xr-x 1 root root 12784 Jul 17 2024 jdeprscan
-rwxr-xr-x 1 root root 12784 Jul 17 2024 jdeps
-rwxr-xr-x 1 root root 12784 Jul 17 2024 jfr
-rwxr-xr-x 1 root root 12784 Jul 17 2024 jhsdb
-rwxr-xr-x 1 root root 12784 Jul 17 2024 jimage
-rwxr-xr-x 1 root root 12816 Jul 17 2024 jinfo
-rwxr-xr-x 1 root root 12816 Jul 17 2024 jjs
-rwxr-xr-x 1 root root 12816 Jul 17 2024 jlink
-rwxr-xr-x 1 root root 12816 Jul 17 2024 jmap
-rwxr-xr-x 1 root root 12784 Jul 17 2024 jmod
-rwxr-xr-x 1 root root 12784 Jul 17 2024 jps
-rwxr-xr-x 1 root root 12824 Jul 17 2024 jrunscript
-rwxr-xr-x 1 root root 12784 Jul 17 2024 jshell
-rwxr-xr-x 1 root root 12816 Jul 17 2024 jstack
-rwxr-xr-x 1 root root 12784 Jul 17 2024 jstat
-rwxr-xr-x 1 root root 12784 Jul 17 2024 jstatd
-rwxr-xr-x 1 root root 12784 Jul 17 2024 keytool
-rwxr-xr-x 1 root root 12784 Jul 17 2024 pack200
-rwxr-xr-x 1 root root 12784 Jul 17 2024 rmic
-rwxr-xr-x 1 root root 12784 Jul 17 2024 rmid
-rwxr-xr-x 1 root root 12792 Jul 17 2024 rmiregistry
-rwxr-xr-x 1 root root 12784 Jul 17 2024 serialver
-rwxr-xr-x 1 root root 191048 Jul 17 2024 unpack200
+ /home/jenkins/tools/java/latest11/bin/java -version
openjdk version "11.0.24" 2024-07-16
OpenJDK Runtime Environment Temurin-11.0.24+8 (build 11.0.24+8)
OpenJDK 64-Bit Server VM Temurin-11.0.24+8 (build 11.0.24+8, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest11/bin/java
+ java -version
openjdk version "11.0.24" 2024-07-16
OpenJDK Runtime Environment Temurin-11.0.24+8 (build 11.0.24+8)
OpenJDK 64-Bit Server VM Temurin-11.0.24+8 (build 11.0.24+8, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest11/bin/javac
+ javac -version
javac 11.0.24
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 512
drwxr-xr-x 20 jenkins jenkins 4096 Jun 8 07:32 .
drwxr-xr-x 5 jenkins jenkins 4096 Jun 8 07:32 ..
-rw-r--r-- 1 jenkins jenkins 1242 Jun 8 07:32 .asf.yaml
-rw-r--r-- 1 jenkins jenkins 33773 Jun 8 07:32 build.gradle
-rw-r--r-- 1 jenkins jenkins 152855 Jun 8 07:32 build.xml
-rw-r--r-- 1 jenkins jenkins 8393 Jun 8 07:32 doap_POI.rdf
-rw-r--r-- 1 jenkins jenkins 3261 Jun 8 07:32 file-leak-detector.exclude
drwxr-xr-x 8 jenkins jenkins 4096 Jun 8 07:32 .git
-rw-r--r-- 1 jenkins jenkins 53 Jun 8 07:32 .gitattributes
drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 07:32 .github
-rw-r--r-- 1 jenkins jenkins 396 Jun 8 07:32 .gitignore
drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 07:32 gradle
-rw-r--r-- 1 jenkins jenkins 555 Jun 8 07:32 gradle.properties
-rwxr-xr-x 1 jenkins jenkins 8733 Jun 8 07:32 gradlew
-rw-r--r-- 1 jenkins jenkins 2843 Jun 8 07:32 gradlew.bat
drwxr-xr-x 2 jenkins jenkins 4096 Jun 8 07:32 jenkins
-rw-r--r-- 1 jenkins jenkins 167947 Jun 8 07:32 KEYS
drwxr-xr-x 2 jenkins jenkins 4096 Jun 8 07:32 legal
drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 07:32 osgi
-rw-r--r-- 1 jenkins jenkins 4813 Jun 8 07:32 patch.xml
drwxr-xr-x 4 jenkins jenkins 4096 Jun 8 07:32 poi
drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 07:32 poi-examples
drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 07:32 poi-excelant
drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 07:32 poi-fuzz
drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 07:32 poi-integration
drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 07:32 poi-ooxml
drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 07:32 poi-ooxml-full
drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 07:32 poi-ooxml-lite
drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 07:32 poi-ooxml-lite-agent
drwxr-xr-x 4 jenkins jenkins 4096 Jun 8 07:32 poi-scratchpad
-rw-r--r-- 1 jenkins jenkins 4623 Jun 8 07:32 README.md
-rw-r--r-- 1 jenkins jenkins 428 Jun 8 07:32 SECURITY.md
-rw-r--r-- 1 jenkins jenkins 209 Jun 8 07:32 settings.gradle
drwxr-xr-x 4 jenkins jenkins 4096 Jun 8 07:32 src
drwxr-xr-x 15 jenkins jenkins 4096 Jun 8 07:32 test-data
-rw-r--r-- 1 jenkins jenkins 3821 Jun 8 07:32 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-no-scratchpad/ws/build.javacheck.xml>
Detected Java version: 11 in: /usr/local/asfpackages/java/adoptium-jdk-11.0.24+8
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-no-scratchpad/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-no-scratchpad/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-no-scratchpad/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 11/11.0.24
[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 11.0.24
BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
[POI-DSL-no-scratchpad] $ /bin/sh -xe /tmp/jenkins9262151845715875654.sh
+ touch --no-create build/*/build/test-results/TEST-*.xml build/*/build/test-results/test/TEST-*.xml
[Gradle] - Launching build.
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
[POI-DSL-no-scratchpad] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-no-scratchpad/ws/gradlew> -Pscratchpad.ignore=true -PjdkVersion=11 --refresh-dependencies clean jenkins
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.
[Incubating] Problems report is available at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-no-scratchpad/ws/build/reports/problems/problems-report.html>
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/8b2e2fedb533cf71349640c4a68f65bf/metadata.bin
> Could not read workspace metadata from /home/jenkins/.gradle/caches/8.14.3/transforms/8b2e2fedb533cf71349640c4a68f65bf/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.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.14.3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 30s
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
[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.
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?
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.