See 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-no-scratchpad/323/display/redirect>

Changes:


------------------------------------------
Started by user PJ Fanning
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 builds58 (ubuntu ubuntu-avx) in workspace 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-no-scratchpad/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-no-scratchpad/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 fbaeafed779e25a930118cb75a74623449c1b5bc 
(refs/remotes/origin/trunk)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f fbaeafed779e25a930118cb75a74623449c1b5bc # timeout=10
Commit message: "Update create_jobs.groovy"
 > git rev-list --no-walk fbaeafed779e25a930118cb75a74623449c1b5bc # 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/jenkins1696059872287958890.sh
+ rm -rf examples excelant integrationtest main ooxml ooxml-schema scratchpad 
build.javacheck.xml
+ git status
HEAD detached at fbaeafed77
nothing to commit, working tree clean
+ git reset --hard
HEAD is now at fbaeafed77 Update create_jobs.groovy
+ 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:30 ..
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 13 11:21 .
drwxr-xr-x  5 jenkins jenkins   4096 Jun 13 10:02 ..
-rw-r--r--  1 jenkins jenkins   1242 Jun 13 10:03 .asf.yaml
-rw-r--r--  1 jenkins jenkins  33627 Jun 13 10:03 build.gradle
-rw-r--r--  1 jenkins jenkins 152855 Jun 13 10:03 build.xml
-rw-r--r--  1 jenkins jenkins   8393 Jun 13 10:03 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   3261 Jun 13 10:03 file-leak-detector.exclude
drwxr-xr-x  8 jenkins jenkins   4096 Jun 13 11:21 .git
-rw-r--r--  1 jenkins jenkins     53 Jun 13 10:03 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Jun 13 10:03 .github
-rw-r--r--  1 jenkins jenkins    396 Jun 13 10:03 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Jun 13 10:03 gradle
-rw-r--r--  1 jenkins jenkins    555 Jun 13 10:03 gradle.properties
-rwxr-xr-x  1 jenkins jenkins   8654 Jun 13 10:03 gradlew
-rw-r--r--  1 jenkins jenkins   2846 Jun 13 10:03 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Jun 13 10:03 jenkins
-rw-r--r--  1 jenkins jenkins 167947 Jun 13 10:03 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Jun 13 10:03 legal
drwxr-xr-x  3 jenkins jenkins   4096 Jun 13 10:03 osgi
-rw-r--r--  1 jenkins jenkins   4813 Jun 13 10:03 patch.xml
drwxr-xr-x  4 jenkins jenkins   4096 Jun 13 10:03 poi
drwxr-xr-x  3 jenkins jenkins   4096 Jun 13 10:03 poi-examples
drwxr-xr-x  3 jenkins jenkins   4096 Jun 13 10:03 poi-excelant
drwxr-xr-x  3 jenkins jenkins   4096 Jun 13 10:03 poi-fuzz
drwxr-xr-x  3 jenkins jenkins   4096 Jun 13 10:03 poi-integration
drwxr-xr-x  3 jenkins jenkins   4096 Jun 13 10:03 poi-ooxml
drwxr-xr-x  3 jenkins jenkins   4096 Jun 13 10:03 poi-ooxml-full
drwxr-xr-x  3 jenkins jenkins   4096 Jun 13 10:03 poi-ooxml-lite
drwxr-xr-x  3 jenkins jenkins   4096 Jun 13 10:03 poi-ooxml-lite-agent
drwxr-xr-x  4 jenkins jenkins   4096 Jun 13 10:03 poi-scratchpad
-rw-r--r--  1 jenkins jenkins   4623 Jun 13 10:03 README.md
-rw-r--r--  1 jenkins jenkins    428 Jun 13 10:03 SECURITY.md
-rw-r--r--  1 jenkins jenkins    209 Jun 13 10:03 settings.gradle
drwxr-xr-x  4 jenkins jenkins   4096 Jun 13 10:03 src
drwxr-xr-x 15 jenkins jenkins   4096 Jun 13 10:03 test-data
-rw-r--r--  1 jenkins jenkins   3821 Jun 13 10:03 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/jenkins10656153204930620047.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/9.5.1/userguide/gradle_daemon.html#sec:disabling_the_daemon
 in the Gradle documentation.

FAILURE: Build failed with an exception.

* What went wrong:
Gradle requires JVM 17 or later to run. Your build is currently configured to 
use JVM 11.

* 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 from a Build Scan (powered by 
> Develocity).
> Get more help at https://help.gradle.org.
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.

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

Reply via email to