Build failed in Jenkins: POI » POI-XMLBeans-DSL-Sonar #106

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-Sonar/106/display/redirect?page=changes>

Changes:

[PJ Fanning] [XMLBEANS-664] reject non-ascii digits when lexing xsd integer types.

[PJ Fanning] [XMLBEANS-665] fix out-of-bounds read in HexBin for byte 0xff. Thanks to

[PJ Fanning] [XMLBeans-666] XsTypeConverter: Fix out-of-bounds read in lexFloat for

[PJ Fanning] [XMLBeans-666] XsTypeConverter: Fix out-of-bounds read in

[PJ Fanning] [XMLBeans-661] pass the classloader in getTypeSystemOnClasspath

[PJ Fanning] maven 3.9.16

[PJ Fanning] rename private method

[PJ Fanning] avoid int overflow

[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
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 
ANT_OPTS=--add-opens=java.xml/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED
FORREST_HOME=/home/jenkins/tools/forrest/latest
LANG=en_US.UTF-8

[EnvInject] - Variables injected successfully.
[EnvInject] - Injecting contributions.
Building remotely on builds60 (ubuntu ubuntu-avx) in workspace <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/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.
 > git rev-parse --resolve-git-dir <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/.git> # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/apache/xmlbeans.git # 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 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 069cda04521801a6c3e1d6edc528ccc5765a511b # 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.
Injecting SonarQube environment variables using the configuration: sonarcloud.io
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.
[POI-XMLBeans-DSL-Sonar] $ /bin/sh -xe /tmp/jenkins5660314080335063688.sh
+ rm -rf examples excelant integrationtest main ooxml ooxml-schema scratchpad build.javacheck.xml
+ git status
HEAD detached at 51f23dd7
Untracked files:
  (use "git add <file>..." to include in what will be committed)
	.gradle/

nothing added to commit but untracked files present (use "git add" to track)
+ git reset --hard
HEAD is now at 51f23dd7 Update Gradle, jacoco and fix some Gradle warnings
+ echo Java-Home: /home/jenkins/tools/java/latest17
Java-Home: /home/jenkins/tools/java/latest17
+ ls -al /home/jenkins/tools/java/latest17/
total 44
drwxr-xr-x  9 root root 4096 Sep 29  2024 .
drwxrwxr-x 25 root root 4096 May 28 10:27 ..
drwxr-xr-x  2 root root 4096 Sep 29  2024 bin
drwxr-xr-x  5 root root 4096 Sep 29  2024 conf
drwxr-xr-x  3 root root 4096 Sep 29  2024 include
drwxr-xr-x  2 root root 4096 Sep 29  2024 jmods
drwxr-xr-x 72 root root 4096 Sep 29  2024 legal
drwxr-xr-x  5 root root 4096 Sep 29  2024 lib
drwxr-xr-x  3 root root 4096 Sep 29  2024 man
-rw-r--r--  1 root root 2400 Jul 16  2024 NOTICE
-rw-r--r--  1 root root 1626 Jul 16  2024 release
+ ls -al /home/jenkins/tools/java/latest17/bin
total 460
drwxr-xr-x 2 root root  4096 Sep 29  2024 .
drwxr-xr-x 9 root root  4096 Sep 29  2024 ..
-rwxr-xr-x 1 root root 16336 Jul 16  2024 jar
-rwxr-xr-x 1 root root 16336 Jul 16  2024 jarsigner
-rwxr-xr-x 1 root root 16320 Jul 16  2024 java
-rwxr-xr-x 1 root root 16368 Jul 16  2024 javac
-rwxr-xr-x 1 root root 16368 Jul 16  2024 javadoc
-rwxr-xr-x 1 root root 16336 Jul 16  2024 javap
-rwxr-xr-x 1 root root 16336 Jul 16  2024 jcmd
-rwxr-xr-x 1 root root 16400 Jul 16  2024 jconsole
-rwxr-xr-x 1 root root 16336 Jul 16  2024 jdb
-rwxr-xr-x 1 root root 16336 Jul 16  2024 jdeprscan
-rwxr-xr-x 1 root root 16336 Jul 16  2024 jdeps
-rwxr-xr-x 1 root root 16336 Jul 16  2024 jfr
-rwxr-xr-x 1 root root 16336 Jul 16  2024 jhsdb
-rwxr-xr-x 1 root root 16336 Jul 16  2024 jimage
-rwxr-xr-x 1 root root 16368 Jul 16  2024 jinfo
-rwxr-xr-x 1 root root 16368 Jul 16  2024 jlink
-rwxr-xr-x 1 root root 16368 Jul 16  2024 jmap
-rwxr-xr-x 1 root root 16336 Jul 16  2024 jmod
-rwxr-xr-x 1 root root 16336 Jul 16  2024 jpackage
-rwxr-xr-x 1 root root 16336 Jul 16  2024 jps
-rwxr-xr-x 1 root root 16376 Jul 16  2024 jrunscript
-rwxr-xr-x 1 root root 16336 Jul 16  2024 jshell
-rwxr-xr-x 1 root root 16368 Jul 16  2024 jstack
-rwxr-xr-x 1 root root 16336 Jul 16  2024 jstat
-rwxr-xr-x 1 root root 16336 Jul 16  2024 jstatd
-rwxr-xr-x 1 root root 16336 Jul 16  2024 keytool
-rwxr-xr-x 1 root root 16344 Jul 16  2024 rmiregistry
-rwxr-xr-x 1 root root 16336 Jul 16  2024 serialver
+ /home/jenkins/tools/java/latest17/bin/java -version
openjdk version "17.0.12" 2024-07-16
OpenJDK Runtime Environment Temurin-17.0.12+7 (build 17.0.12+7)
OpenJDK 64-Bit Server VM Temurin-17.0.12+7 (build 17.0.12+7, mixed mode, sharing)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest17/bin/java
+ java -version
openjdk version "17.0.12" 2024-07-16
OpenJDK Runtime Environment Temurin-17.0.12+7 (build 17.0.12+7)
OpenJDK 64-Bit Server VM Temurin-17.0.12+7 (build 17.0.12+7, mixed mode, sharing)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest17/bin/javac
+ javac -version
javac 17.0.12
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 416
drwxr-xr-x 12 jenkins jenkins   4096 Jun  8 07:32 .
drwxr-xr-x  5 jenkins jenkins   4096 Jun  5 12:59 ..
drwxr-xr-x 18 jenkins jenkins   4096 May 10 08:02 build
-rw-r--r--  1 jenkins jenkins  28325 Jun  8 07:32 build.gradle
-rw-r--r--  1 jenkins jenkins  54162 Jun  8 07:32 build.xml
-rw-r--r--  1 jenkins jenkins  11963 May 10 07:58 CHANGES.txt
drwxr-xr-x  8 jenkins jenkins   4096 Jun  8 07:32 .git
drwxr-xr-x  3 jenkins jenkins   4096 May 10 07:58 .github
-rw-r--r--  1 jenkins jenkins     60 Jun  8 07:32 .gitignore
drwxr-xr-x  5 jenkins jenkins   4096 May 10 07:58 .gradle
drwxr-xr-x  3 jenkins jenkins   4096 May 10 07:58 gradle
-rw-r--r--  1 jenkins jenkins   1338 May 10 07:58 gradle.properties
-rwxr-xr-x  1 jenkins jenkins   8733 Jun  8 07:32 gradlew
-rw-r--r--  1 jenkins jenkins 176588 May 10 07:58 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 May 10 07:58 legal
-rwxr-xr-x  1 jenkins jenkins  12245 Jun  8 07:32 LICENSE-binary.txt
-rwxr-xr-x  1 jenkins jenkins  15242 May 10 07:58 LICENSE.txt
-rw-r--r--  1 jenkins jenkins   2310 Jun  8 07:32 NOTICE-binary.txt
-rw-r--r--  1 jenkins jenkins   1592 May 10 07:58 NOTICE.txt
-rw-r--r--  1 jenkins jenkins   2480 May 10 07:58 README.md
-rw-r--r--  1 jenkins jenkins  11208 May 10 07:58 release-guide.txt
drwxr-xr-x 16 jenkins jenkins   4096 May 10 07:58 samples
-rw-r--r--  1 jenkins jenkins    238 May 10 07:58 SECURITY.md
-rw-r--r--  1 jenkins jenkins    661 May 10 07:58 settings.gradle
drwxr-xr-x  4 jenkins jenkins   4096 May 10 07:58 src
-rw-r--r--  1 jenkins jenkins    359 May 10 07:58 STATUS
drwxr-xr-x  4 jenkins jenkins   4096 May 10 07:58 test
-rw-r--r--  1 jenkins jenkins   3803 May 10 07:58 wrapper.gradle
-rw-r--r--  1 jenkins jenkins     25 May 10 07:58 xbeanenv.cmd
-rwxr-xr-x  1 jenkins jenkins     27 May 10 07:58 xbeanenv.sh
drwxr-xr-x  2 jenkins jenkins   4096 May 10 07:58 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-Sonar/ws/build.javacheck.xml>
Detected Java version: 17 in: /usr/local/asfpackages/java/adoptium-jdk-17.0.12+7
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/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 17/17.0.12
     [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 17.0.12

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-Sonar] $ <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/gradlew> -PenableSonar -Dsonar.token=**** -Dsonar.organization=apache -Dsonar.projectKey=apache_xmlbeans -Dsonar.host.url=https://sonarcloud.io -PjdkVersion=17 clean jenkins jacocoTestReport sonar
no main manifest attribute, in <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/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.
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.
[Checks API] No suitable checks publisher found.
[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.