See 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/808/display/redirect?page=changes>

Changes:

[PJ Fanning] try to fix build


------------------------------------------
[...truncated 6.91 KB...]
-rwxr-xr-x 1 root root   5110 Jan 14  2017 jvisualvm
-rwxr-xr-x 1 root root   8832 Apr  7  2021 keytool
-rwxr-xr-x 1 root root   8840 Apr  7  2021 native2ascii
-rwxr-xr-x 1 root root   8904 Apr  7  2021 orbd
-rwxr-xr-x 1 root root   8832 Apr  7  2021 pack200
-rwxr-xr-x 1 root root   8840 Apr  7  2021 policytool
-rwxr-xr-x 1 root root   8832 Apr  7  2021 rmic
-rwxr-xr-x 1 root root   8832 Apr  7  2021 rmid
-rwxr-xr-x 1 root root   8840 Apr  7  2021 rmiregistry
-rwxr-xr-x 1 root root   8832 Apr  7  2021 schemagen
-rwxr-xr-x 1 root root   8832 Apr  7  2021 serialver
-rwxr-xr-x 1 root root   8840 Apr  7  2021 servertool
-rwxr-xr-x 1 root root   8904 Apr  7  2021 tnameserv
-rwxr-xr-x 1 root root 186960 Apr  7  2021 unpack200
-rwxr-xr-x 1 root root   8832 Apr  7  2021 wsgen
-rwxr-xr-x 1 root root   8832 Apr  7  2021 wsimport
-rwxr-xr-x 1 root root   8832 Apr  7  2021 xjc
+ /home/jenkins/tools/java/latest1.8/bin/java -version
java version "1.8.0_291"
Java(TM) SE Runtime Environment (build 1.8.0_291-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.291-b10, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest1.8/bin/java
+ java -version
java version "1.8.0_291"
Java(TM) SE Runtime Environment (build 1.8.0_291-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.291-b10, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest1.8/bin/javac
+ javac -version
javac 1.8.0_291
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 524
drwxr-xr-x 22 jenkins jenkins   4096 Dec 26 00:25 .
drwxr-xr-x  3 jenkins jenkins   4096 Oct 14 17:37 ..
-rw-r--r--  1 jenkins jenkins    520 Dec 20  2021 .asf.yaml
drwxr-xr-x  3 jenkins jenkins   4096 Dec 25 23:59 build
-rw-r--r--  1 jenkins jenkins  31389 Dec 26 00:25 build.gradle
-rw-r--r--  1 jenkins jenkins 169281 Dec 22 00:26 build.xml
-rw-r--r--  1 jenkins jenkins   7190 Sep 17 00:26 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   3216 Nov 13 19:22 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Dec 20  2021 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Dec 20  2021 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 May 23  2022 .github
-rw-r--r--  1 jenkins jenkins    334 Dec 20  2021 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Dec 20  2021 gradle
drwxr-xr-x  5 jenkins jenkins   4096 Dec 22 00:43 .gradle
-rw-r--r--  1 jenkins jenkins    599 Dec 20  2021 gradle.properties
-rwxr-xr-x  1 jenkins jenkins   8070 Nov 26 01:25 gradlew
-rw-r--r--  1 jenkins jenkins   2763 Nov 26 01:25 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Dec 22 12:26 jenkins
-rw-r--r--  1 jenkins jenkins 167516 Jun  5  2022 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Dec 20  2021 legal
drwxr-xr-x  2 jenkins jenkins   4096 Dec 20  2021 lib.stored
drwxr-xr-x  3 jenkins jenkins   4096 Sep 14 00:26 osgi
-rw-r--r--  1 jenkins jenkins   4813 Dec 20  2021 patch.xml
drwxr-xr-x  5 jenkins jenkins   4096 Dec 26 00:25 poi
drwxr-xr-x  4 jenkins jenkins   4096 Dec 26 00:25 poi-examples
drwxr-xr-x  4 jenkins jenkins   4096 Dec 26 00:25 poi-excelant
drwxr-xr-x  4 jenkins jenkins   4096 Dec 25 23:59 poi-integration
drwxr-xr-x  4 jenkins jenkins   4096 Dec 26 00:25 poi-ooxml
drwxr-xr-x  4 jenkins jenkins   4096 Dec 26 00:25 poi-ooxml-full
drwxr-xr-x  4 jenkins jenkins   4096 Dec 26 00:25 poi-ooxml-lite
drwxr-xr-x  4 jenkins jenkins   4096 Dec 25 23:59 poi-ooxml-lite-agent
drwxr-xr-x  5 jenkins jenkins   4096 Dec 26 00:25 poi-scratchpad
-rw-r--r--  1 jenkins jenkins   4351 Dec 21  2021 README.rst
-rw-r--r--  1 jenkins jenkins    232 Dec 20  2021 SECURITY.md
-rw-r--r--  1 jenkins jenkins    190 Dec 20  2021 settings.gradle
drwxr-xr-x  4 jenkins jenkins   4096 Dec 20  2021 src
drwxr-xr-x  4 jenkins jenkins   4096 Dec 26 00:25 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Dec 20  2021 test-data
+ echo which ant
which ant
+ which ant
/usr/bin/ant
+ ant -version
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
+ 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.5 compiled on March 28 2019
Buildfile: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build.javacheck.xml>
Detected Java version: 1.8 in: 
/usr/local/asfpackages/java/oraclejdk-1.8.0-291/jre
Detected OS: Linux
parsing buildfile 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build.javacheck.xml> 
with URI = 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/build.javacheck.xml>
Project base dir set to: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/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 1.8/1.8.0_291
     [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 1.8.0_291

BUILD SUCCESSFUL
Total time: 0 seconds
+ exit 0
ERROR: Not all environment variables could be successfully injected. Check for 
similarly-named environment variables.
[POI-DSL-1.8] $ /bin/sh -xe /tmp/jenkins4259924954629679691.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.
[POI-DSL-1.8] $ 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/gradlew> 
-PjdkVersion=8 -PjdkVendor=oracle --refresh-dependencies clean jenkins
To honour the JVM settings for this build a single-use Daemon process will be 
forked. See 
https://docs.gradle.org/7.6/userguide/gradle_daemon.html#sec:disabling_the_daemon.
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

> Configure project :poi
Invalid Java installation found at '/usr/lib/jvm/openjdk-11' (Common Linux 
Locations). 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.

> Task :poi-ooxml-lite-agent:clean
> Task :poi-ooxml:clean
> Task :poi-examples:clean
> Task :poi-excelant:clean
> Task :poi-scratchpad:clean
> Task :poi-integration:clean
> Task :poi-ooxml-lite:clean
> Task :clean
> Task :poi-ooxml:cleanupBatik UP-TO-DATE
> Task :poi-examples:processResources NO-SOURCE
> Task :poi-integration:compileJava NO-SOURCE
> Task :poi-integration:processResources NO-SOURCE
> Task :poi-integration:classes UP-TO-DATE
> Task :poi:clean
> Task :poi-ooxml:fixBatik
> Task :poi:generateVersionJava
> Task :poi-scratchpad:processResources
> Task :poi-excelant:processResources
> Task :poi-ooxml:processResources
> Task :poi-scratchpad:processTestResources NO-SOURCE
> Task :poi-integration:jar
> Task :poi-integration:javadoc SKIPPED
> Task :poi-ooxml:processTestResources
> Task :poi-integration:javadocJar
> Task :poi-integration:sourcesJar SKIPPED
> Task :poi-integration:assemble
> Task :poi-integration:forbiddenApisMain NO-SOURCE
> Task :poi-integration:processTestResources
> Task :poi-integration:spotbugsMain NO-SOURCE
> Task :poi-integration:getDeps NO-SOURCE
> Task :poi-ooxml-lite:generateModuleInfo
> Task :poi-ooxml-lite:processTestResources NO-SOURCE
> Task :poi-excelant:sourcesJar
> Task :poi-excelant:processTestResources
> Task :poi-ooxml-full:clean
> Task :poi-ooxml-full:copy_xsds
> Task :poi-examples:sourcesJar
> Task :poi-examples:processTestResources NO-SOURCE
> Task :poi-ooxml-lite-agent:compileJava
> Task :poi-ooxml-lite-agent:processResources NO-SOURCE
> Task :poi-ooxml-lite-agent:classes
> Task :poi-ooxml-lite-agent:jar
> Task :poi-ooxml-lite-agent:compileJava9 FAILED
> Task :poi-scratchpad:sourcesJar

> Task :poi-ooxml-full:generate_beans
[ant:xmlbean] ERROR StatusLogger Log4j2 could not find a logging 
implementation. Please add log4j-core to the classpath. Using SimpleLogger to 
log to the console...
Time to build schema type system: 2.887 seconds

> Task :poi-ooxml:sourcesJar

> Task :poi:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/src/main/java/org/apache/poi/util/GenericRecordUtil.java>:132:
 warning: [unchecked] unchecked cast
                m.putAll((Map<String,Supplier<?>>)baseMap);
                                                  ^
  required: java.util.Map<java.lang.String,java.util.function.Supplier<?>>
  found:    java.lang.Object
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/src/main/java/org/apache/poi/ss/usermodel/CellBase.java>:39:
 warning: [deprecation] setCellType(org.apache.poi.ss.usermodel.CellType) in 
org.apache.poi.ss.usermodel.Cell has been deprecated
    public final void setCellType(CellType cellType) {
                      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/src/main/java/org/apache/poi/ss/formula/BaseFormulaEvaluator.java>:225:
 warning: [deprecation] setCellType(org.apache.poi.ss.usermodel.CellType) in 
org.apache.poi.ss.usermodel.Cell has been deprecated
        cell.setCellType(cellType);
            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/src/main/java/org/apache/poi/hssf/record/NameRecord.java>:466:
 warning: [deprecation] readAllContinuedRemainder() in 
org.apache.poi.hssf.record.RecordInputStream has been deprecated
        byte[] remainder = ris.readAllContinuedRemainder();
                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/src/main/java/org/apache/poi/hssf/record/AbstractEscherHolderRecord.java>:62:
 warning: [deprecation] readAllContinuedRemainder() in 
org.apache.poi.hssf.record.RecordInputStream has been deprecated
            byte[] data = in.readAllContinuedRemainder();
                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/src/main/java/org/apache/poi/hssf/record/RecordFactoryInputStream.java>:335:
 warning: [deprecation] processContinueRecord(byte[]) in 
org.apache.poi.hssf.record.DrawingRecord has been deprecated
                _lastDrawingRecord.processContinueRecord(contRec.getData());
                                  ^
6 warnings

> Task :poi-ooxml-full:generate_beans
Time to generate code: 5.683 seconds

> Task :cyclonedxBom
Unknown keyword additionalItems - you should define your own Meta Schema. If 
the keyword is irrelevant for validation, just use a NonValidationKeyword

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':poi-ooxml-lite-agent:compileJava9'.
> Error while evaluating property 'javaCompiler' of task 
> ':poi-ooxml-lite-agent:compileJava9'.
   > Failed to calculate the value of task ':poi-ooxml-lite-agent:compileJava9' 
property 'javaCompiler'.
      > No compatible toolchains found for request specification: 
{languageVersion=11, vendor=matching('oracle'), implementation=vendor-specific} 
(auto-detect true, auto-download true).

* 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 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings 
and determine if they come from your own scripts or plugins.

See 
https://docs.gradle.org/7.6/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1m 9s
33 actionable tasks: 32 executed, 1 up-to-date
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.
Archiving artifacts
[Fast Archiver] Compressed 2.93 MB of artifacts by 92.7% relative to #806
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.
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.
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.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to