Build failed in Jenkins: POI » POI-XMLBeans-DSL-1.8 #311

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-XMLBeans-DSL-1.8/311/display/redirect?page=changes>

Changes:

[PJ Fanning] remove unnecessary cast

[PJ Fanning] gitignore gradle-wrapper jar

[PJ Fanning] fix GDate bug

[PJ Fanning] fix GDate bug

[PJ Fanning] remove comment

[PJ Fanning] try to improve exception

[PJ Fanning] javaparser 3.28.2

[PJ Fanning] upgrade actions

[PJ Fanning] update license-binary

[Dominik Stadler] Update Gradle, jacoco and fix some Gradle warnings


------------------------------------------
Started by an SCM change
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 builds26 (ubuntu) in workspace <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.8/ws/>
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/xmlbeans.git
 > git init <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.8/ws/> # timeout=10
Fetching upstream changes from https://github.com/apache/xmlbeans.git
 > git --version # timeout=10
 > git --version # 'git version 2.34.1'
 > git fetch --tags --force --progress -- https://github.com/apache/xmlbeans.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/apache/xmlbeans.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 51f23dd7d74aab1512a979c1c4941cb51961263e (refs/remotes/origin/trunk)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 51f23dd7d74aab1512a979c1c4941cb51961263e # timeout=10
Commit message: "Update Gradle, jacoco and fix some Gradle warnings"
 > git rev-list --no-walk 646b2bf1d657d786537d5c718e849eb2752515ed # 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-XMLBeans-DSL-1.8] $ /bin/sh -xe /tmp/jenkins18062629436803278579.sh
+ rm -rf examples excelant integrationtest main ooxml ooxml-schema scratchpad build.javacheck.xml
+ git status
HEAD detached at 51f23dd7
nothing to commit, working tree clean
+ git reset --hard
HEAD is now at 51f23dd7 Update Gradle, jacoco and fix some Gradle warnings
+ echo Java-Home: /home/jenkins/tools/java/latest1.8
Java-Home: /home/jenkins/tools/java/latest1.8
+ ls -al /home/jenkins/tools/java/latest1.8/
total 51604
drwxrwxr-x  8 root root     4096 Feb 11 06:05 .
drwxrwxr-x 25 root root     4096 May 28 10:07 ..
-r--r--r--  1 root root     1522 Jan 18  2023 ASSEMBLY_EXCEPTION
drwxr-xr-x  2 root root     4096 Feb 11 06:05 bin
drwxr-xr-x  3 root root     4096 Feb 11 06:05 include
drwxr-xr-x  4 root root     4096 Feb 11 06:05 jre
drwxr-xr-x  3 root root     4096 Feb 11 06:05 lib
-r--r--r--  1 root root    19274 Jan 18  2023 LICENSE
drwxr-xr-x  4 root root     4096 Nov 15  2023 man
-rw-r--r--  1 root root     2439 Jan 18  2023 NOTICE
-rw-r--r--  1 root root      484 Jan 18  2023 release
drwxr-xr-x 10 root root     4096 Feb 11 06:05 sample
-rw-r--r--  1 root root 52616451 Jan 18  2023 src.zip
-r--r--r--  1 root root   157063 Jan 18  2023 THIRD_PARTY_README
+ ls -al /home/jenkins/tools/java/latest1.8/bin
total 700
drwxr-xr-x 2 root root   4096 Feb 11 06:05 .
drwxrwxr-x 8 root root   4096 Feb 11 06:05 ..
-rwxr-xr-x 1 root root   8768 Jan 18  2023 appletviewer
-rwxr-xr-x 1 root root   8776 Jan 18  2023 clhsdb
-rwxr-xr-x 1 root root   8760 Jan 18  2023 extcheck
-rwxr-xr-x 1 root root   8776 Jan 18  2023 hsdb
-rwxr-xr-x 1 root root   8760 Jan 18  2023 idlj
-rwxr-xr-x 1 root root   8760 Jan 18  2023 jar
-rwxr-xr-x 1 root root   8760 Jan 18  2023 jarsigner
-rwxr-xr-x 1 root root   8640 Jan 18  2023 java
-rwxr-xr-x 1 root root   8760 Jan 18  2023 javac
-rwxr-xr-x 1 root root   8760 Jan 18  2023 javadoc
-rwxr-xr-x 1 root root   8760 Jan 18  2023 javah
-rwxr-xr-x 1 root root   8760 Jan 18  2023 javap
-rwxr-xr-x 1 root root   2806 Jan 18  2023 java-rmi.cgi
-rwxr-xr-x 1 root root   8760 Jan 18  2023 jcmd
-rwxr-xr-x 1 root root   8784 Jan 18  2023 jconsole
-rwxr-xr-x 1 root root   8776 Jan 18  2023 jdb
-rwxr-xr-x 1 root root   8760 Jan 18  2023 jdeps
-rwxr-xr-x 1 root root   8760 Jan 18  2023 jfr
-rwxr-xr-x 1 root root   8760 Jan 18  2023 jhat
-rwxr-xr-x 1 root root   8824 Jan 18  2023 jinfo
-rwxr-xr-x 1 root root   8760 Jan 18  2023 jjs
-rwxr-xr-x 1 root root   8824 Jan 18  2023 jmap
-rwxr-xr-x 1 root root   8760 Jan 18  2023 jps
-rwxr-xr-x 1 root root   8768 Jan 18  2023 jrunscript
-rwxr-xr-x 1 root root   8776 Jan 18  2023 jsadebugd
-rwxr-xr-x 1 root root   8824 Jan 18  2023 jstack
-rwxr-xr-x 1 root root   8760 Jan 18  2023 jstat
-rwxr-xr-x 1 root root   8760 Jan 18  2023 jstatd
-rwxr-xr-x 1 root root   8760 Jan 18  2023 keytool
-rwxr-xr-x 1 root root   8768 Jan 18  2023 native2ascii
-rwxr-xr-x 1 root root   8832 Jan 18  2023 orbd
-rwxr-xr-x 1 root root   8760 Jan 18  2023 pack200
-rwxr-xr-x 1 root root   8768 Jan 18  2023 policytool
-rwxr-xr-x 1 root root   8760 Jan 18  2023 rmic
-rwxr-xr-x 1 root root   8760 Jan 18  2023 rmid
-rwxr-xr-x 1 root root   8768 Jan 18  2023 rmiregistry
-rwxr-xr-x 1 root root   8760 Jan 18  2023 schemagen
-rwxr-xr-x 1 root root   8760 Jan 18  2023 serialver
-rwxr-xr-x 1 root root   8768 Jan 18  2023 servertool
-rwxr-xr-x 1 root root   8832 Jan 18  2023 tnameserv
-rwxr-xr-x 1 root root 186888 Jan 18  2023 unpack200
-rwxr-xr-x 1 root root   8760 Jan 18  2023 wsgen
-rwxr-xr-x 1 root root   8760 Jan 18  2023 wsimport
-rwxr-xr-x 1 root root   8760 Jan 18  2023 xjc
+ /home/jenkins/tools/java/latest1.8/bin/java -version
openjdk version "1.8.0_362"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_362-b09)
OpenJDK 64-Bit Server VM (Temurin)(build 25.362-b09, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest1.8/bin/java
+ java -version
openjdk version "1.8.0_362"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_362-b09)
OpenJDK 64-Bit Server VM (Temurin)(build 25.362-b09, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest1.8/bin/javac
+ javac -version
javac 1.8.0_362
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 408
drwxr-xr-x 10 jenkins jenkins   4096 Jun  8 07:33 .
drwxr-xr-x  5 jenkins jenkins   4096 Jun  8 07:33 ..
-rw-r--r--  1 jenkins jenkins  28325 Jun  8 07:33 build.gradle
-rw-r--r--  1 jenkins jenkins  54162 Jun  8 07:33 build.xml
-rw-r--r--  1 jenkins jenkins  11963 Jun  8 07:33 CHANGES.txt
drwxr-xr-x  8 jenkins jenkins   4096 Jun  8 07:33 .git
drwxr-xr-x  3 jenkins jenkins   4096 Jun  8 07:33 .github
-rw-r--r--  1 jenkins jenkins     60 Jun  8 07:33 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Jun  8 07:33 gradle
-rw-r--r--  1 jenkins jenkins   1338 Jun  8 07:33 gradle.properties
-rwxr-xr-x  1 jenkins jenkins   8733 Jun  8 07:33 gradlew
-rw-r--r--  1 jenkins jenkins 176588 Jun  8 07:33 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Jun  8 07:33 legal
-rwxr-xr-x  1 jenkins jenkins  12245 Jun  8 07:33 LICENSE-binary.txt
-rwxr-xr-x  1 jenkins jenkins  15242 Jun  8 07:33 LICENSE.txt
-rw-r--r--  1 jenkins jenkins   2310 Jun  8 07:33 NOTICE-binary.txt
-rw-r--r--  1 jenkins jenkins   1592 Jun  8 07:33 NOTICE.txt
-rw-r--r--  1 jenkins jenkins   2480 Jun  8 07:33 README.md
-rw-r--r--  1 jenkins jenkins  11208 Jun  8 07:33 release-guide.txt
drwxr-xr-x 16 jenkins jenkins   4096 Jun  8 07:33 samples
-rw-r--r--  1 jenkins jenkins    238 Jun  8 07:33 SECURITY.md
-rw-r--r--  1 jenkins jenkins    661 Jun  8 07:33 settings.gradle
drwxr-xr-x  4 jenkins jenkins   4096 Jun  8 07:33 src
-rw-r--r--  1 jenkins jenkins    359 Jun  8 07:33 STATUS
drwxr-xr-x  4 jenkins jenkins   4096 Jun  8 07:33 test
-rw-r--r--  1 jenkins jenkins   3803 Jun  8 07:33 wrapper.gradle
-rw-r--r--  1 jenkins jenkins     25 Jun  8 07:33 xbeanenv.cmd
-rwxr-xr-x  1 jenkins jenkins     27 Jun  8 07:33 xbeanenv.sh
drwxr-xr-x  2 jenkins jenkins   4096 Jun  8 07:33 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.8/ws/build.javacheck.xml>
Detected Java version: 1.8 in: /usr/local/asfpackages/java/adoptium-jdk-8u362-b09/jre
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.8/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.8/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.8/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 1.8/1.8.0_362
     [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 1.8.0_362

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.8] $ <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.8/ws/gradlew> clean jenkins jacocoTestReport
Error: Unable to access jarfile <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.8/ws/gradle/wrapper/gradle-wrapper.jar>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.