See <https://ci-builds.apache.org/job/POI/job/POI-DSL-OpenJDK/1005/display/redirect?page=changes>
Changes: [PJ Fanning] [github-704] Add UserNameAwareTempFileCreationStrategy. Thanks to TigerZCoder. This closes #704 [PJ Fanning] junit 5.11.2 ------------------------------------------ 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 builds43 (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-10-07T00:07:14.626 +0000' U poi/src/main/java/org/apache/poi/util/DefaultTempFileCreationStrategy.java A poi/src/main/java/org/apache/poi/util/UserNameAwareTempFileCreationStrategy.java A poi/src/test/java/org/apache/poi/util/UserNameAwareTempFileCreationStrategyTest.java U build.gradle U build.xml U osgi/pom.xml <-- 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 1921156 <-- 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'> U src/documentation/content/xdocs/changes.xml U src/documentation/content/xdocs/components/index.xml At revision 1921156 At revision 1921156 No changes for https://svn.apache.org/repos/asf/poi/site/forrest.properties since the previous build No changes for https://svn.apache.org/repos/asf/poi/site/src/documentation 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/jenkins6210822087099605689.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 8390512 drwxr-xr-x 19 root root 4096 Sep 21 10:46 . drwxr-xr-x 19 root root 4096 Sep 21 10:46 .. lrwxrwxrwx 1 root root 7 Aug 23 2023 bin -> usr/bin drwxr-xr-x 4 root root 4096 Sep 25 06:52 boot drwxr-xr-x 21 root root 4380 Sep 21 10:45 dev drwxr-xr-x 142 root root 12288 Oct 1 06:22 etc drwxr-xr-x 11 root root 4096 Feb 22 2024 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 Oct 11 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:50 opt dr-xr-xr-x 390 root root 0 Sep 21 10:41 proc -rw-r--r-- 1 root root 11304 May 17 2023 puppet-release-jammy.deb drwx------ 11 root root 4096 Sep 22 22:20 root drwxr-xr-x 43 root root 1240 Oct 6 23:50 run lrwxrwxrwx 1 root root 8 Aug 23 2023 sbin -> usr/sbin drwxr-xr-x 13 root root 4096 Aug 15 10:06 snap drwxr-xr-x 2 root root 4096 Sep 21 10:47 srv -rw------- 1 root root 8589934592 Oct 11 2023 swap.img dr-xr-xr-x 13 root root 0 Sep 21 10:41 sys drwxrwxrwt 91 root root 1851392 Oct 7 00:07 tmp drwxr-xr-x 16 root root 4096 Oct 11 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 Oct 7 00:07 . drwxr-xr-x 3 jenkins jenkins 4096 Sep 29 12:07 .. -rw-r--r-- 1 jenkins jenkins 520 Sep 29 12:08 .asf.yaml -rw-r--r-- 1 jenkins jenkins 33427 Oct 7 00:07 build.gradle -rw-r--r-- 1 jenkins jenkins 151471 Oct 7 00:07 build.xml -rw-r--r-- 1 jenkins jenkins 7709 Sep 29 12:08 doap_POI.rdf -rw-r--r-- 1 jenkins jenkins 3261 Sep 29 12:08 file-leak-detector.exclude -rw-r--r-- 1 jenkins jenkins 6229 Sep 29 12:08 forrest.properties -rw-r--r-- 1 jenkins jenkins 53 Sep 29 12:08 .gitattributes drwxr-xr-x 3 jenkins jenkins 4096 Sep 29 12:08 .github -rw-r--r-- 1 jenkins jenkins 396 Sep 29 12:08 .gitignore drwxr-xr-x 5 jenkins jenkins 4096 Sep 29 12:08 .gradle drwxr-xr-x 3 jenkins jenkins 4096 Sep 29 12:07 gradle -rw-r--r-- 1 jenkins jenkins 494 Sep 29 12:08 gradle.properties -rwxr-xr-x 1 jenkins jenkins 8762 Sep 29 12:08 gradlew -rw-r--r-- 1 jenkins jenkins 2966 Sep 29 12:08 gradlew.bat drwxr-xr-x 2 jenkins jenkins 4096 Sep 29 12:08 jenkins -rw-r--r-- 1 jenkins jenkins 167947 Sep 29 12:08 KEYS drwxr-xr-x 2 jenkins jenkins 4096 Sep 29 12:08 legal drwxr-xr-x 2 jenkins jenkins 4096 Sep 29 12:08 lib.stored drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 00:07 osgi -rw-r--r-- 1 jenkins jenkins 4813 Sep 29 12:08 patch.xml drwxr-xr-x 4 jenkins jenkins 4096 Sep 29 12:07 poi drwxr-xr-x 3 jenkins jenkins 4096 Sep 29 12:08 poi-examples drwxr-xr-x 3 jenkins jenkins 4096 Sep 29 12:08 poi-excelant drwxr-xr-x 3 jenkins jenkins 4096 Sep 29 12:08 poi-integration drwxr-xr-x 3 jenkins jenkins 4096 Sep 29 12:08 poi-ooxml drwxr-xr-x 3 jenkins jenkins 4096 Sep 29 12:08 poi-ooxml-full drwxr-xr-x 3 jenkins jenkins 4096 Sep 29 12:08 poi-ooxml-lite drwxr-xr-x 3 jenkins jenkins 4096 Sep 29 12:07 poi-ooxml-lite-agent drwxr-xr-x 4 jenkins jenkins 4096 Sep 29 12:08 poi-scratchpad -rw-r--r-- 1 jenkins jenkins 4354 Sep 29 12:08 README.rst -rw-r--r-- 1 jenkins jenkins 428 Sep 29 12:08 SECURITY.md -rw-r--r-- 1 jenkins jenkins 190 Sep 29 12:08 settings.gradle drwxr-xr-x 4 jenkins jenkins 4096 Sep 29 12:08 src drwxr-xr-x 4 jenkins jenkins 4096 Oct 7 00:07 .svn drwxr-xr-x 15 jenkins jenkins 4096 Sep 29 12:07 test-data -rw-r--r-- 1 jenkins jenkins 3803 Sep 29 12: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/jenkins12097566503335523127.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.2/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.2/userguide/toolchains.html#sec:auto_detection. > Learn more about toolchain repositories at > https://docs.gradle.org/8.10.2/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.2/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. BUILD FAILED in 1m 16s 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