See <https://ci-builds.apache.org/job/POI/job/POI-DSL-OpenJDK/990/display/redirect?page=changes>
Changes: [PJ Fanning] upgrade spotbugs ------------------------------------------ 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 builds39 (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-06T00:07:11.925 +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 1920483 <-- 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 1920483 At revision 1920483 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/jenkins3582964078324606245.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 8390608 drwxr-xr-x 20 root root 4096 Aug 20 22:49 . drwxr-xr-x 20 root root 4096 Aug 20 22:49 .. lrwxrwxrwx 1 root root 7 Aug 23 2023 bin -> usr/bin drwxr-xr-x 4 root root 4096 Aug 22 06:49 boot drwxr-xr-x 21 root root 4340 Sep 3 14:50 dev drwxr-xr-x 141 root root 12288 Sep 5 06:38 etc drwxr-xr-x 10 root root 4096 Dec 21 2023 home 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 13 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:57 opt dr-xr-xr-x 406 root root 0 Aug 20 22:45 proc -rw-r--r-- 1 root root 11304 May 17 2023 puppet-release-jammy.deb drwx------ 11 root root 4096 Aug 20 22:50 root drwxr-xr-x 44 root root 1320 Sep 5 23:50 run lrwxrwxrwx 1 root root 8 Aug 23 2023 sbin -> usr/sbin drwxr-xr-x 13 root root 4096 Aug 21 11:19 snap drwxr-xr-x 2 root root 4096 Aug 20 22:50 srv -rw------- 1 root root 8589934592 Nov 13 2023 swap.img dr-xr-xr-x 13 root root 0 Aug 20 22:45 sys drwxrwxrwt 436 root root 1941504 Sep 6 00:07 tmp drwx------ 3 root root 4096 Nov 17 2023 Users drwxr-xr-x 16 root root 4096 Nov 13 2023 usr drwxr-xr-x 13 root root 4096 Aug 23 2023 var + 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 516 drwxr-xr-x 21 jenkins jenkins 4096 Sep 6 00:07 . drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 00:07 .. -rw-r--r-- 1 jenkins jenkins 520 Aug 31 00:08 .asf.yaml -rw-r--r-- 1 jenkins jenkins 33427 Sep 6 00:07 build.gradle -rw-r--r-- 1 jenkins jenkins 151471 Aug 31 00:07 build.xml -rw-r--r-- 1 jenkins jenkins 7709 Aug 31 00:08 doap_POI.rdf -rw-r--r-- 1 jenkins jenkins 3261 Aug 31 00:08 file-leak-detector.exclude -rw-r--r-- 1 jenkins jenkins 6229 Aug 31 00:08 forrest.properties -rw-r--r-- 1 jenkins jenkins 53 Aug 31 00:08 .gitattributes drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 00:08 .github -rw-r--r-- 1 jenkins jenkins 396 Aug 31 00:08 .gitignore drwxr-xr-x 5 jenkins jenkins 4096 Aug 31 00:08 .gradle drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 00:07 gradle -rw-r--r-- 1 jenkins jenkins 494 Aug 31 00:08 gradle.properties -rwxr-xr-x 1 jenkins jenkins 8762 Aug 31 00:07 gradlew -rw-r--r-- 1 jenkins jenkins 2966 Aug 31 00:07 gradlew.bat drwxr-xr-x 2 jenkins jenkins 4096 Aug 31 00:08 jenkins -rw-r--r-- 1 jenkins jenkins 167947 Aug 31 00:08 KEYS drwxr-xr-x 2 jenkins jenkins 4096 Aug 31 00:08 legal drwxr-xr-x 2 jenkins jenkins 4096 Aug 31 00:08 lib.stored drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 00:08 osgi -rw-r--r-- 1 jenkins jenkins 4813 Aug 31 00:08 patch.xml drwxr-xr-x 4 jenkins jenkins 4096 Aug 31 00:07 poi drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 00:08 poi-examples drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 00:07 poi-excelant drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 00:07 poi-integration drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 00:07 poi-ooxml drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 00:07 poi-ooxml-full drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 00:08 poi-ooxml-lite drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 00:07 poi-ooxml-lite-agent drwxr-xr-x 4 jenkins jenkins 4096 Aug 31 00:08 poi-scratchpad -rw-r--r-- 1 jenkins jenkins 4354 Aug 31 00:08 README.rst -rw-r--r-- 1 jenkins jenkins 428 Aug 31 00:08 SECURITY.md -rw-r--r-- 1 jenkins jenkins 190 Aug 31 00:08 settings.gradle drwxr-xr-x 4 jenkins jenkins 4096 Aug 31 00:08 src drwxr-xr-x 4 jenkins jenkins 4096 Sep 6 00:07 .svn drwxr-xr-x 15 jenkins jenkins 4096 Aug 31 00:08 test-data -rw-r--r-- 1 jenkins jenkins 3803 Aug 31 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: 1 second + 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/jenkins9849555041535806398.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 1m 4s 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 ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error? 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