See <https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/84/display/redirect?page=changes>
Changes: [PJ Fanning] gradle 8.11.1 [PJ Fanning] log4j 2.24.3 ------------------------------------------ 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 builds25 (ubuntu) 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. Updating https://svn.apache.org/repos/asf/xmlbeans/trunk at revision '2024-12-22T07:58:10.067 +0000' U build.gradle U gradle/wrapper/gradle-wrapper.properties U LICENSE-binary.txt U build.xml U src/main/maven/org.apache.xmlbeans/xmlbeans/pom.xml U src/main/maven/plugin.xml At revision 1922628 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/jenkins4458210069297882738.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-Sonar/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/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 22:34 . drwxrwxr-x 37 root root 4096 Oct 21 14:04 .. drwxr-xr-x 2 root root 4096 Sep 29 22:34 bin drwxr-xr-x 5 root root 4096 Sep 29 22:34 conf drwxr-xr-x 3 root root 4096 Sep 29 22:34 include drwxr-xr-x 2 root root 4096 Sep 29 22:34 jmods drwxr-xr-x 72 root root 4096 Sep 29 22:34 legal drwxr-xr-x 5 root root 4096 Sep 29 22:34 lib drwxr-xr-x 3 root root 4096 Sep 29 22:34 man -rw-r--r-- 1 root root 2400 Jul 16 22:35 NOTICE -rw-r--r-- 1 root root 1626 Jul 16 22:35 release + ls -al /home/jenkins/tools/java/latest17/bin total 460 drwxr-xr-x 2 root root 4096 Sep 29 22:34 . drwxr-xr-x 9 root root 4096 Sep 29 22:34 .. -rwxr-xr-x 1 root root 16336 Jul 16 22:35 jar -rwxr-xr-x 1 root root 16336 Jul 16 22:35 jarsigner -rwxr-xr-x 1 root root 16320 Jul 16 22:35 java -rwxr-xr-x 1 root root 16368 Jul 16 22:35 javac -rwxr-xr-x 1 root root 16368 Jul 16 22:35 javadoc -rwxr-xr-x 1 root root 16336 Jul 16 22:35 javap -rwxr-xr-x 1 root root 16336 Jul 16 22:35 jcmd -rwxr-xr-x 1 root root 16400 Jul 16 22:35 jconsole -rwxr-xr-x 1 root root 16336 Jul 16 22:35 jdb -rwxr-xr-x 1 root root 16336 Jul 16 22:35 jdeprscan -rwxr-xr-x 1 root root 16336 Jul 16 22:35 jdeps -rwxr-xr-x 1 root root 16336 Jul 16 22:35 jfr -rwxr-xr-x 1 root root 16336 Jul 16 22:35 jhsdb -rwxr-xr-x 1 root root 16336 Jul 16 22:35 jimage -rwxr-xr-x 1 root root 16368 Jul 16 22:35 jinfo -rwxr-xr-x 1 root root 16368 Jul 16 22:35 jlink -rwxr-xr-x 1 root root 16368 Jul 16 22:35 jmap -rwxr-xr-x 1 root root 16336 Jul 16 22:35 jmod -rwxr-xr-x 1 root root 16336 Jul 16 22:35 jpackage -rwxr-xr-x 1 root root 16336 Jul 16 22:35 jps -rwxr-xr-x 1 root root 16376 Jul 16 22:35 jrunscript -rwxr-xr-x 1 root root 16336 Jul 16 22:35 jshell -rwxr-xr-x 1 root root 16368 Jul 16 22:35 jstack -rwxr-xr-x 1 root root 16336 Jul 16 22:35 jstat -rwxr-xr-x 1 root root 16336 Jul 16 22:35 jstatd -rwxr-xr-x 1 root root 16336 Jul 16 22:35 keytool -rwxr-xr-x 1 root root 16344 Jul 16 22:35 rmiregistry -rwxr-xr-x 1 root root 16336 Jul 16 22:35 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 420 drwxr-xr-x 12 jenkins jenkins 4096 Dec 22 07:58 . drwxr-xr-x 6 jenkins jenkins 4096 Dec 14 18:47 .. drwxr-xr-x 15 jenkins jenkins 4096 Dec 15 07:59 build -rw-r--r-- 1 jenkins jenkins 28505 Dec 22 07:58 build.gradle -rw-r--r-- 1 jenkins jenkins 54159 Dec 22 07:58 build.xml -rw-r--r-- 1 jenkins jenkins 11963 Nov 3 07:58 CHANGES.txt drwxr-xr-x 3 jenkins jenkins 4096 Nov 3 07:58 .github -rw-r--r-- 1 jenkins jenkins 21 Nov 3 07:58 .gitignore drwxr-xr-x 5 jenkins jenkins 4096 Nov 3 07:59 .gradle drwxr-xr-x 3 jenkins jenkins 4096 Nov 3 07:58 gradle -rw-r--r-- 1 jenkins jenkins 1338 Dec 15 07:58 gradle.properties -rwxr-xr-x 1 jenkins jenkins 9177 Nov 3 07:58 gradlew -rw-r--r-- 1 jenkins jenkins 176588 Nov 3 07:58 KEYS drwxr-xr-x 2 jenkins jenkins 4096 Nov 3 07:58 legal -rwxr-xr-x 1 jenkins jenkins 12458 Dec 22 07:58 LICENSE-binary.txt -rwxr-xr-x 1 jenkins jenkins 15242 Nov 3 07:58 LICENSE.txt -rw-r--r-- 1 jenkins jenkins 2561 Nov 3 07:58 NOTICE-binary.txt -rw-r--r-- 1 jenkins jenkins 1592 Nov 3 07:58 NOTICE.txt -rw-r--r-- 1 jenkins jenkins 2480 Nov 3 07:58 README.md -rw-r--r-- 1 jenkins jenkins 11208 Nov 3 07:58 release-guide.txt drwxr-xr-x 16 jenkins jenkins 4096 Nov 3 07:58 samples -rw-r--r-- 1 jenkins jenkins 238 Nov 3 07:58 SECURITY.md -rw-r--r-- 1 jenkins jenkins 661 Nov 3 07:58 settings.gradle drwxr-xr-x 4 jenkins jenkins 4096 Nov 3 07:58 src -rw-r--r-- 1 jenkins jenkins 359 Nov 3 07:58 STATUS drwxr-xr-x 4 jenkins jenkins 4096 Dec 22 07:58 .svn drwxr-xr-x 4 jenkins jenkins 4096 Nov 3 07:58 test -rw-r--r-- 1 jenkins jenkins 3803 Nov 3 07:58 wrapper.gradle -rw-r--r-- 1 jenkins jenkins 25 Nov 3 07:58 xbeanenv.cmd -rwxr-xr-x 1 jenkins jenkins 27 Nov 3 07:58 xbeanenv.sh drwxr-xr-x 2 jenkins jenkins 4096 Nov 3 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 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.11.1/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. > Configure project : Enabling Sonar support Invalid Java installation found at '/usr/local/asfpackages/java/oraclejdk-j2sdk1.4.2-19' (Maven Toolchains) auto-detected. It will be re-checked in the next build. This might have performance impact if it keeps failing. Run the 'javaToolchains' task for more details. [Incubating] Problems report is available at: file://<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/build/reports/problems/problems-report.html> FAILURE: Build failed with an exception. * What went wrong: Could not determine the dependencies of task ':check'. > Could not create task ':animalsnifferMain'. > Could not create task of type 'AnimalSniffer'. > Could not generate a decorated class for type AnimalSniffer. > org/gradle/api/reporting/internal/TaskReportContainer * 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. Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. For more on this, please refer to https://docs.gradle.org/8.11.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. BUILD FAILED in 23s 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. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org