See <https://ci-builds.apache.org/job/POI/job/POI-DSL-OpenJDK/992/display/redirect?page=changes>
Changes: [PJ Fanning] revert spotbugs due to build issues ------------------------------------------ Started by an SCM change Running as SYSTEM ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. No JDK named ‘adoptopenjdk_hotspot_8u282’ found [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 builds29 (ubuntu) in workspace <https://ci-builds.apache.org/job/POI/job/POI-DSL-OpenJDK/ws/> [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Done ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. No JDK named ‘adoptopenjdk_hotspot_8u282’ found Updating https://svn.apache.org/repos/asf/poi/trunk at revision '2024-09-09T00:07:13.697 +0000' U build.gradle <-- Got one external: documentation, svn url: https://svn.apache.org/repos/asf/poi/site/src/documentation --> Fetching 'https://svn.apache.org/repos/asf/poi/site/src/documentation' at -1 into '<https://ci-builds.apache.org/job/POI/job/POI-DSL-OpenJDK/ws/src/documentation'> At revision 1920522 <-- Got one external: forrest.properties, svn url: https://svn.apache.org/repos/asf/poi/site/forrest.properties --> Fetching 'https://svn.apache.org/repos/asf/poi/site/forrest.properties' at -1 into '<https://ci-builds.apache.org/job/POI/job/POI-DSL-OpenJDK/ws/forrest.properties'> At revision 1920522 At revision 1920522 No changes for https://svn.apache.org/repos/asf/poi/site/src/documentation since the previous build No changes for https://svn.apache.org/repos/asf/poi/site/forrest.properties since the previous build ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. No JDK named ‘adoptopenjdk_hotspot_8u282’ found ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. No JDK named ‘adoptopenjdk_hotspot_8u282’ found [POI-DSL-OpenJDK] $ /bin/sh -xe /tmp/jenkins1035357818688576925.sh + rm -rf examples excelant integrationtest main ooxml ooxml-schema scratchpad build.javacheck.xml + svn status X forrest.properties X src/documentation Performing status on external item at 'src/documentation': + svn revert poi-examples/src/main/java9/module-info.java poi-excelant/src/main/java9/module-info.java poi-excelant/src/test/java9/module-info.java poi-integration/src/test/java9/module-info.java poi-ooxml-full/src/main/java9/module-info.java poi-ooxml-lite-agent/src/main/java9/module-info.java poi-ooxml-lite/src/main/java9/module-info.java poi-ooxml/src/main/java9/module-info.java poi-ooxml/src/test/java9/module-info.java poi-scratchpad/src/main/java9/module-info.java poi-scratchpad/src/test/java9/module-info.java poi/src/main/java9/module-info.java poi/src/test/java9/module-info.java + svn revert src/resources/ooxml-lite-report.clazz src/resources/ooxml-lite-report.xsb + echo Java-Home: Java-Home: + ls -al / total 8390664 drwxr-xr-x 20 root root 4096 Aug 27 23:54 . drwxr-xr-x 20 root root 4096 Aug 27 23:54 .. lrwxrwxrwx 1 root root 7 Aug 23 2023 bin -> usr/bin drwxr-xr-x 4 root root 4096 Aug 24 10:19 boot drwxr-xr-x 20 root root 4360 Sep 5 21:56 dev drwxr-xr-x 141 root root 12288 Sep 8 06:43 etc drwxr-xr-x 10 root root 4096 Jul 3 08:39 home -rw------- 1 root root 963 Jun 1 18:50 index.html lrwxrwxrwx 1 root root 7 Aug 23 2023 lib -> usr/lib lrwxrwxrwx 1 root root 9 Aug 23 2023 lib32 -> usr/lib32 lrwxrwxrwx 1 root root 9 Aug 23 2023 lib64 -> usr/lib64 lrwxrwxrwx 1 root root 10 Aug 23 2023 libx32 -> usr/libx32 drwx------ 2 root root 16384 Nov 14 2023 lost+found drwxr-xr-x 2 root root 4096 Aug 23 2023 media drwxr-xr-x 2 root root 4096 Aug 23 2023 mnt drwxr-xr-x 14 root root 4096 Apr 19 20:58 opt dr-xr-xr-x 413 root root 0 Aug 24 10:32 proc -rw-r--r-- 1 root root 11304 May 17 2023 puppet-release-jammy.deb drwx------ 11 root root 4096 Aug 24 10:38 root drwxr-xr-x 43 root root 1240 Sep 8 23:37 run lrwxrwxrwx 1 root root 8 Aug 23 2023 sbin -> usr/sbin drwxr-xr-x 13 root root 4096 Aug 20 17:03 snap drwxr-xr-x 2 root root 4096 Aug 24 10:38 srv -rw------- 1 root root 8589934592 Nov 14 2023 swap.img dr-xr-xr-x 13 root root 0 Aug 24 10:32 sys drwxrwxrwt 125 root root 1998848 Sep 9 00:07 tmp drwxr-xr-x 16 root root 4096 Nov 14 2023 usr drwxr-xr-x 13 root root 4096 Aug 23 2023 var drwx------ 2 root root 4096 Jun 1 18:50 WEB-INF + ls -al /bin lrwxrwxrwx 1 root root 7 Aug 23 2023 /bin -> usr/bin + /bin/java -version openjdk version "11.0.24" 2024-07-16 OpenJDK Runtime Environment (build 11.0.24+8-post-Ubuntu-1ubuntu322.04) OpenJDK 64-Bit Server VM (build 11.0.24+8-post-Ubuntu-1ubuntu322.04, mixed mode, sharing) + echo which java which java + which java /usr/bin/java + java -version openjdk version "11.0.24" 2024-07-16 OpenJDK Runtime Environment (build 11.0.24+8-post-Ubuntu-1ubuntu322.04) OpenJDK 64-Bit Server VM (build 11.0.24+8-post-Ubuntu-1ubuntu322.04, mixed mode, sharing) + echo which javac which javac + which javac /usr/bin/javac + javac -version javac 11.0.24 + echo Ant-Home: Ant-Home: + ls -al total 520 drwxr-xr-x 22 jenkins jenkins 4096 Sep 9 00:07 . drwxr-xr-x 5 jenkins jenkins 4096 Sep 4 08:27 .. -rw-r--r-- 1 jenkins jenkins 520 Jul 16 00:08 .asf.yaml drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 12:09 build -rw-r--r-- 1 jenkins jenkins 33427 Sep 9 00:07 build.gradle -rw-r--r-- 1 jenkins jenkins 151471 Sep 8 12:07 build.xml -rw-r--r-- 1 jenkins jenkins 7709 Jul 16 00:08 doap_POI.rdf -rw-r--r-- 1 jenkins jenkins 3261 Jul 16 00:08 file-leak-detector.exclude -rw-r--r-- 1 jenkins jenkins 6229 Jul 16 00:08 forrest.properties -rw-r--r-- 1 jenkins jenkins 53 Jul 16 00:08 .gitattributes drwxr-xr-x 3 jenkins jenkins 4096 Jul 16 00:08 .github -rw-r--r-- 1 jenkins jenkins 396 Jul 16 00:08 .gitignore drwxr-xr-x 5 jenkins jenkins 4096 Sep 8 12:09 .gradle drwxr-xr-x 3 jenkins jenkins 4096 Jul 16 00:08 gradle -rw-r--r-- 1 jenkins jenkins 494 Jul 16 00:08 gradle.properties -rwxr-xr-x 1 jenkins jenkins 8762 Sep 8 12:07 gradlew -rw-r--r-- 1 jenkins jenkins 2966 Sep 8 12:07 gradlew.bat drwxr-xr-x 2 jenkins jenkins 4096 Jul 16 00:08 jenkins -rw-r--r-- 1 jenkins jenkins 167947 Jul 16 00:08 KEYS drwxr-xr-x 2 jenkins jenkins 4096 Jul 16 00:08 legal drwxr-xr-x 2 jenkins jenkins 4096 Jul 16 00:08 lib.stored drwxr-xr-x 3 jenkins jenkins 4096 Jul 16 00:08 osgi -rw-r--r-- 1 jenkins jenkins 4813 Jul 16 00:08 patch.xml drwxr-xr-x 5 jenkins jenkins 4096 Sep 8 12:07 poi drwxr-xr-x 4 jenkins jenkins 4096 Jul 18 12:09 poi-examples drwxr-xr-x 4 jenkins jenkins 4096 Sep 8 12:07 poi-excelant drwxr-xr-x 4 jenkins jenkins 4096 Sep 8 12:07 poi-integration drwxr-xr-x 4 jenkins jenkins 4096 Sep 8 12:07 poi-ooxml drwxr-xr-x 4 jenkins jenkins 4096 Aug 16 12:07 poi-ooxml-full drwxr-xr-x 4 jenkins jenkins 4096 Jul 18 12:09 poi-ooxml-lite drwxr-xr-x 4 jenkins jenkins 4096 Sep 8 12:07 poi-ooxml-lite-agent drwxr-xr-x 5 jenkins jenkins 4096 Jul 18 12:09 poi-scratchpad -rw-r--r-- 1 jenkins jenkins 4354 Jul 18 12:07 README.rst -rw-r--r-- 1 jenkins jenkins 428 Jul 16 00:08 SECURITY.md -rw-r--r-- 1 jenkins jenkins 190 Jul 16 00:08 settings.gradle drwxr-xr-x 4 jenkins jenkins 4096 Jul 16 00:08 src drwxr-xr-x 4 jenkins jenkins 4096 Sep 9 00:07 .svn drwxr-xr-x 15 jenkins jenkins 4096 Jul 16 00:08 test-data -rw-r--r-- 1 jenkins jenkins 3803 Jul 16 00:08 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-OpenJDK/ws/build.javacheck.xml> Detected Java version: 11 in: /usr/lib/jvm/java-11-openjdk-amd64 Detected OS: Linux parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-OpenJDK/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-OpenJDK/ws/build.javacheck.xml> Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-OpenJDK/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. No JDK named ‘adoptopenjdk_hotspot_8u282’ found [POI-DSL-OpenJDK] $ /bin/sh -xe /tmp/jenkins995762216423285703.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. No JDK named ‘adoptopenjdk_hotspot_8u282’ found [POI-DSL-OpenJDK] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-OpenJDK/ws/gradlew> -PjdkVersion=8 -PjdkVendor=adoptopenjdk --refresh-dependencies clean jenkinsLite 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.10/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 : Trying to override old definition of datatype junit Run with reduced parallelism for CI build Run with reduced parallelism for CI build Run with reduced parallelism for CI build Run with reduced parallelism for CI build Run with reduced parallelism for CI build Run with reduced parallelism for CI build Run with reduced parallelism for CI build Run with reduced parallelism for CI build Run with reduced parallelism for CI build 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. FAILURE: Build failed with an exception. * Where: Build file '<https://ci-builds.apache.org/job/POI/job/POI-DSL-OpenJDK/ws/poi/build.gradle'> line: 82 * What went wrong: A problem occurred evaluating project ':poi'. > Could not resolve all dependencies for configuration > ':poi:testRuntimeClasspath'. > Failed to calculate the value of task ':poi:compileTestJava' property 'javaCompiler'. > Cannot find a Java installation on your machine matching this tasks requirements: {languageVersion=8, vendor=vendor matching('adoptopenjdk'), implementation=vendor-specific} for LINUX on x86_64. > No locally installed toolchains match and toolchain download repositories have not been configured. * Try: > Learn more about toolchain auto-detection at > https://docs.gradle.org/8.10/userguide/toolchains.html#sec:auto_detection. > Learn more about toolchain repositories at > https://docs.gradle.org/8.10/userguide/toolchains.html#sub:download_repositories. > 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.10/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. BUILD FAILED in 49s 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. No JDK named ‘adoptopenjdk_hotspot_8u282’ found Archiving artifacts ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. No JDK named ‘adoptopenjdk_hotspot_8u282’ found Recording test results ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. No JDK named ‘adoptopenjdk_hotspot_8u282’ found [Checks API] No suitable checks publisher found. ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables. No JDK named ‘adoptopenjdk_hotspot_8u282’ found --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org