Build failed in Jenkins: POI » POI-DSL-1.21 #486
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-1.21/486/display/redirect?page=changes>
Changes:
[github] more allocation changes (#1120)
[PJ Fanning] add javadoc
[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-1.21/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-1.21/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 1f9b4461c05417365d51a95b6cae7391140a8c24 (refs/remotes/origin/trunk)
> git config core.sparsecheckout # timeout=10
> git checkout -f 1f9b4461c05417365d51a95b6cae7391140a8c24 # timeout=10
Commit message: "Update encryption.xml"
> git rev-list --no-walk ffd05bbaae41cde87f42cf187fe50c8d9a0c2bf5 # 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-1.21] $ /bin/sh -xe /tmp/jenkins6816936077249468226.sh
+ rm -rf examples excelant integrationtest main ooxml ooxml-schema scratchpad build.javacheck.xml
+ git status
HEAD detached at 1f9b4461c0
nothing to commit, working tree clean
+ git reset --hard
HEAD is now at 1f9b4461c0 Update encryption.xml
+ echo Java-Home: /home/jenkins/tools/java/latest21
Java-Home: /home/jenkins/tools/java/latest21
+ ls -al /home/jenkins/tools/java/latest21/
total 44
drwxr-xr-x 9 root root 4096 Oct 2 2024 .
drwxrwxr-x 25 root root 4096 May 28 10:05 ..
drwxr-xr-x 2 root root 4096 Oct 2 2024 bin
drwxr-xr-x 5 root root 4096 Oct 2 2024 conf
drwxr-xr-x 3 root root 4096 Oct 2 2024 include
drwxr-xr-x 2 root root 4096 Oct 2 2024 jmods
drwxr-xr-x 71 root root 4096 Oct 2 2024 legal
drwxr-xr-x 5 root root 4096 Oct 2 2024 lib
drwxr-xr-x 3 root root 4096 Oct 2 2024 man
-rw-r--r-- 1 root root 2400 Jul 16 2024 NOTICE
-rw-r--r-- 1 root root 1610 Jul 16 2024 release
+ ls -al /home/jenkins/tools/java/latest21/bin
total 468
drwxr-xr-x 2 root root 4096 Oct 2 2024 .
drwxr-xr-x 9 root root 4096 Oct 2 2024 ..
-rwxr-xr-x 1 root root 12304 Jul 16 2024 jar
-rwxr-xr-x 1 root root 12304 Jul 16 2024 jarsigner
-rwxr-xr-x 1 root root 12248 Jul 16 2024 java
-rwxr-xr-x 1 root root 12336 Jul 16 2024 javac
-rwxr-xr-x 1 root root 12336 Jul 16 2024 javadoc
-rwxr-xr-x 1 root root 12304 Jul 16 2024 javap
-rwxr-xr-x 1 root root 12304 Jul 16 2024 jcmd
-rwxr-xr-x 1 root root 12368 Jul 16 2024 jconsole
-rwxr-xr-x 1 root root 12304 Jul 16 2024 jdb
-rwxr-xr-x 1 root root 12304 Jul 16 2024 jdeprscan
-rwxr-xr-x 1 root root 12304 Jul 16 2024 jdeps
-rwxr-xr-x 1 root root 12304 Jul 16 2024 jfr
-rwxr-xr-x 1 root root 12304 Jul 16 2024 jhsdb
-rwxr-xr-x 1 root root 12304 Jul 16 2024 jimage
-rwxr-xr-x 1 root root 12336 Jul 16 2024 jinfo
-rwxr-xr-x 1 root root 12336 Jul 16 2024 jlink
-rwxr-xr-x 1 root root 12336 Jul 16 2024 jmap
-rwxr-xr-x 1 root root 12304 Jul 16 2024 jmod
-rwxr-xr-x 1 root root 12304 Jul 16 2024 jpackage
-rwxr-xr-x 1 root root 12304 Jul 16 2024 jps
-rwxr-xr-x 1 root root 12344 Jul 16 2024 jrunscript
-rwxr-xr-x 1 root root 12304 Jul 16 2024 jshell
-rwxr-xr-x 1 root root 12336 Jul 16 2024 jstack
-rwxr-xr-x 1 root root 12304 Jul 16 2024 jstat
-rwxr-xr-x 1 root root 12304 Jul 16 2024 jstatd
-rwxr-xr-x 1 root root 12312 Jul 16 2024 jwebserver
-rwxr-xr-x 1 root root 12304 Jul 16 2024 keytool
-rwxr-xr-x 1 root root 12336 Jul 16 2024 rmiregistry
-rwxr-xr-x 1 root root 12304 Jul 16 2024 serialver
+ /home/jenkins/tools/java/latest21/bin/java -version
openjdk version "21.0.4" 2024-07-16 LTS
OpenJDK Runtime Environment Temurin-21.0.4+7 (build 21.0.4+7-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.4+7 (build 21.0.4+7-LTS, mixed mode, sharing)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest21/bin/java
+ java -version
openjdk version "21.0.4" 2024-07-16 LTS
OpenJDK Runtime Environment Temurin-21.0.4+7 (build 21.0.4+7-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.4+7 (build 21.0.4+7-LTS, mixed mode, sharing)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest21/bin/javac
+ javac -version
javac 21.0.4
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 512
drwxr-xr-x 20 jenkins jenkins 4096 Jun 5 12:29 .
drwxr-xr-x 3 jenkins jenkins 4096 Jun 5 12:29 ..
-rw-r--r-- 1 jenkins jenkins 1242 Jun 5 12:29 .asf.yaml
-rw-r--r-- 1 jenkins jenkins 33773 Jun 5 12:29 build.gradle
-rw-r--r-- 1 jenkins jenkins 152855 Jun 5 12:29 build.xml
-rw-r--r-- 1 jenkins jenkins 8393 Jun 5 12:29 doap_POI.rdf
-rw-r--r-- 1 jenkins jenkins 3261 Jun 5 12:29 file-leak-detector.exclude
drwxr-xr-x 8 jenkins jenkins 4096 Jun 5 12:29 .git
-rw-r--r-- 1 jenkins jenkins 53 Jun 5 12:29 .gitattributes
drwxr-xr-x 3 jenkins jenkins 4096 Jun 5 12:29 .github
-rw-r--r-- 1 jenkins jenkins 396 Jun 5 12:29 .gitignore
drwxr-xr-x 3 jenkins jenkins 4096 Jun 5 12:29 gradle
-rw-r--r-- 1 jenkins jenkins 555 Jun 5 12:29 gradle.properties
-rwxr-xr-x 1 jenkins jenkins 8733 Jun 5 12:29 gradlew
-rw-r--r-- 1 jenkins jenkins 2843 Jun 5 12:29 gradlew.bat
drwxr-xr-x 2 jenkins jenkins 4096 Jun 5 12:29 jenkins
-rw-r--r-- 1 jenkins jenkins 167947 Jun 5 12:29 KEYS
drwxr-xr-x 2 jenkins jenkins 4096 Jun 5 12:29 legal
drwxr-xr-x 3 jenkins jenkins 4096 Jun 5 12:29 osgi
-rw-r--r-- 1 jenkins jenkins 4813 Jun 5 12:29 patch.xml
drwxr-xr-x 4 jenkins jenkins 4096 Jun 5 12:29 poi
drwxr-xr-x 3 jenkins jenkins 4096 Jun 5 12:29 poi-examples
drwxr-xr-x 3 jenkins jenkins 4096 Jun 5 12:29 poi-excelant
drwxr-xr-x 3 jenkins jenkins 4096 Jun 5 12:29 poi-fuzz
drwxr-xr-x 3 jenkins jenkins 4096 Jun 5 12:29 poi-integration
drwxr-xr-x 3 jenkins jenkins 4096 Jun 5 12:29 poi-ooxml
drwxr-xr-x 3 jenkins jenkins 4096 Jun 5 12:29 poi-ooxml-full
drwxr-xr-x 3 jenkins jenkins 4096 Jun 5 12:29 poi-ooxml-lite
drwxr-xr-x 3 jenkins jenkins 4096 Jun 5 12:29 poi-ooxml-lite-agent
drwxr-xr-x 4 jenkins jenkins 4096 Jun 5 12:29 poi-scratchpad
-rw-r--r-- 1 jenkins jenkins 4623 Jun 5 12:29 README.md
-rw-r--r-- 1 jenkins jenkins 428 Jun 5 12:29 SECURITY.md
-rw-r--r-- 1 jenkins jenkins 209 Jun 5 12:29 settings.gradle
drwxr-xr-x 4 jenkins jenkins 4096 Jun 5 12:29 src
drwxr-xr-x 15 jenkins jenkins 4096 Jun 5 12:29 test-data
-rw-r--r-- 1 jenkins jenkins 3821 Jun 5 12:29 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-1.21/ws/build.javacheck.xml>
Detected Java version: 21 in: /usr/local/asfpackages/java/adoptium-jdk-21.0.4+7
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.21/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.21/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.21/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 21/21.0.4
[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 21.0.4
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-1.21] $ /bin/sh -xe /tmp/jenkins12782470574958884969.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-1.21] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.21/ws/gradlew> -PjdkVersion=21 --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.
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.
BUILD FAILED in 41s
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.