You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2024/04/21 11:52:33 UTC

Build failed in Jenkins: POI » POI-XMLBeans-DSL-1.22 #21

See <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.22/21/display/redirect?page=changes>

Changes:

[PJ Fanning] gradle 8.7


------------------------------------------
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

[EnvInject] - Variables injected successfully.
[EnvInject] - Injecting contributions.
Building remotely on builds40 (ubuntu) in workspace <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.22/ws/>
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
Updating https://svn.apache.org/repos/asf/xmlbeans/trunk at revision '2024-04-21T11:52:08.610 +0000'
U         build.gradle
U         gradle/wrapper/gradle-wrapper.properties
At revision 1917236

ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
[POI-XMLBeans-DSL-1.22] $ /bin/sh -xe /tmp/jenkins13351854141898633261.sh
+ rm -rf examples excelant integrationtest main ooxml ooxml-schema scratchpad build.javacheck.xml
+ svn status
+ svn revert poi*/src/*/java9/module-info.*
svn: E155010: The node '<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.22/ws/poi*/src/*'> was not found.
+ true
+ svn revert src/resources/ooxml-lite-report.*
Skipped 'src/resources/ooxml-lite-report.*'
+ echo Java-Home: /home/jenkins/tools/java/latest22
Java-Home: /home/jenkins/tools/java/latest22
+ ls -al /home/jenkins/tools/java/latest22/
total 36
drwxr-xr-x  8 root root 4096 Nov 13 21:50 .
drwxrwxr-x 39 root root 4096 Feb  8 19:07 ..
drwxr-xr-x  2 root root 4096 Nov 13 21:50 bin
drwxr-xr-x  5 root root 4096 Nov 13 21:50 conf
drwxr-xr-x  3 root root 4096 Nov 13 21:50 include
drwxr-xr-x  2 root root 4096 Nov 13 21:50 jmods
drwxr-xr-x 71 root root 4096 Nov 13 21:50 legal
drwxr-xr-x  5 root root 4096 Nov 13 21:50 lib
-rw-r--r--  1 root root 1220 Oct 18  2023 release
+ ls -al /home/jenkins/tools/java/latest22/bin
total 472
drwxr-xr-x 2 root root  4096 Nov 13 21:50 .
drwxr-xr-x 8 root root  4096 Nov 13 21:50 ..
-rwxr-xr-x 1 root root 12384 Oct 18  2023 jar
-rwxr-xr-x 1 root root 12392 Oct 18  2023 jarsigner
-rwxr-xr-x 1 root root 12328 Oct 18  2023 java
-rwxr-xr-x 1 root root 12416 Oct 18  2023 javac
-rwxr-xr-x 1 root root 12424 Oct 18  2023 javadoc
-rwxr-xr-x 1 root root 12384 Oct 18  2023 javap
-rwxr-xr-x 1 root root 12384 Oct 18  2023 jcmd
-rwxr-xr-x 1 root root 12456 Oct 18  2023 jconsole
-rwxr-xr-x 1 root root 12384 Oct 18  2023 jdb
-rwxr-xr-x 1 root root 12392 Oct 18  2023 jdeprscan
-rwxr-xr-x 1 root root 12384 Oct 18  2023 jdeps
-rwxr-xr-x 1 root root 12384 Oct 18  2023 jfr
-rwxr-xr-x 1 root root 12384 Oct 18  2023 jhsdb
-rwxr-xr-x 1 root root 12392 Oct 18  2023 jimage
-rwxr-xr-x 1 root root 12416 Oct 18  2023 jinfo
-rwxr-xr-x 1 root root 12416 Oct 18  2023 jlink
-rwxr-xr-x 1 root root 12416 Oct 18  2023 jmap
-rwxr-xr-x 1 root root 12384 Oct 18  2023 jmod
-rwxr-xr-x 1 root root 12392 Oct 18  2023 jpackage
-rwxr-xr-x 1 root root 12384 Oct 18  2023 jps
-rwxr-xr-x 1 root root 12424 Oct 18  2023 jrunscript
-rwxr-xr-x 1 root root 12392 Oct 18  2023 jshell
-rwxr-xr-x 1 root root 12424 Oct 18  2023 jstack
-rwxr-xr-x 1 root root 12384 Oct 18  2023 jstat
-rwxr-xr-x 1 root root 12392 Oct 18  2023 jstatd
-rwxr-xr-x 1 root root 12392 Oct 18  2023 jwebserver
-rwxr-xr-x 1 root root 12392 Oct 18  2023 keytool
-rwxr-xr-x 1 root root 12416 Oct 18  2023 rmiregistry
-rwxr-xr-x 1 root root 12392 Oct 18  2023 serialver
+ /home/jenkins/tools/java/latest22/bin/java -version
openjdk version "22-ea" 2024-03-19
OpenJDK Runtime Environment (build 22-ea+20-1570)
OpenJDK 64-Bit Server VM (build 22-ea+20-1570, mixed mode, sharing)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest22/bin/java
+ java -version
openjdk version "22-ea" 2024-03-19
OpenJDK Runtime Environment (build 22-ea+20-1570)
OpenJDK 64-Bit Server VM (build 22-ea+20-1570, mixed mode, sharing)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest22/bin/javac
+ javac -version
javac 22-ea
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 416
drwxr-xr-x 11 jenkins jenkins   4096 Apr 21 11:52 .
drwxr-xr-x  6 jenkins jenkins   4096 Apr 19 12:59 ..
-rw-r--r--  1 jenkins jenkins  29242 Apr 21 11:52 build.gradle
-rw-r--r--  1 jenkins jenkins  54123 Mar 17 11:52 build.xml
-rw-r--r--  1 jenkins jenkins  11963 Mar 17 11:52 CHANGES.txt
drwxr-xr-x  3 jenkins jenkins   4096 Mar 17 11:52 .github
-rw-r--r--  1 jenkins jenkins     14 Mar 17 11:52 .gitignore
drwxr-xr-x  4 jenkins jenkins   4096 Mar 17 11:52 .gradle
drwxr-xr-x  3 jenkins jenkins   4096 Mar 17 11:52 gradle
-rw-r--r--  1 jenkins jenkins   1338 Mar 17 11:52 gradle.properties
-rwxr-xr-x  1 jenkins jenkins   9177 Mar 17 11:52 gradlew
-rw-r--r--  1 jenkins jenkins 176157 Mar 17 11:52 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Mar 17 11:52 legal
-rwxr-xr-x  1 jenkins jenkins  12458 Mar 17 11:52 LICENSE-binary.txt
-rwxr-xr-x  1 jenkins jenkins  11884 Mar 17 11:52 LICENSE.txt
-rw-r--r--  1 jenkins jenkins   2561 Mar 17 11:52 NOTICE-binary.txt
-rw-r--r--  1 jenkins jenkins   1592 Mar 17 11:52 NOTICE.txt
-rw-r--r--  1 jenkins jenkins   2227 Mar 17 11:52 README.txt
-rw-r--r--  1 jenkins jenkins  10995 Mar 17 11:52 release-guide.txt
drwxr-xr-x 16 jenkins jenkins   4096 Mar 17 11:52 samples
-rw-r--r--  1 jenkins jenkins    238 Mar 17 11:52 SECURITY.md
-rw-r--r--  1 jenkins jenkins    661 Mar 17 11:52 settings.gradle
drwxr-xr-x  4 jenkins jenkins   4096 Mar 17 11:52 src
-rw-r--r--  1 jenkins jenkins    359 Mar 17 11:52 STATUS
drwxr-xr-x  4 jenkins jenkins   4096 Apr 21 11:52 .svn
drwxr-xr-x  4 jenkins jenkins   4096 Mar 17 11:52 test
-rw-r--r--  1 jenkins jenkins   3803 Mar 17 11:52 wrapper.gradle
-rw-r--r--  1 jenkins jenkins     25 Mar 17 11:52 xbeanenv.cmd
-rwxr-xr-x  1 jenkins jenkins     27 Mar 17 11:52 xbeanenv.sh
drwxr-xr-x  2 jenkins jenkins   4096 Mar 17 11:52 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.22/ws/build.javacheck.xml>
Detected Java version: 22 in: /usr/local/asfpackages/java/openjdk-22-ea+20
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.22/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.22/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.22/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 22/22-ea
     [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 22-ea

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.22] $ <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.22/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.7/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 66
> Unsupported class file major version 66

* 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 9s
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.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org