You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2022/08/03 00:08:13 UTC
Build failed in Jenkins: POI » POI-DSL-OpenJDK #599
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-OpenJDK/599/display/redirect?page=changes>
Changes:
[PJ Fanning] upgrade byte-buddy
------------------------------------------
[...truncated 5.76 KB...]
-rwxr-xr-x 1 root root 8632 Jan 20 2021 jjs
-rwxr-xr-x 1 root root 8696 Jan 20 2021 jmap
-rwxr-xr-x 1 root root 8632 Jan 20 2021 jps
-rwxr-xr-x 1 root root 8632 Jan 20 2021 jrunscript
-rwxr-xr-x 1 root root 8648 Jan 20 2021 jsadebugd
-rwxr-xr-x 1 root root 8696 Jan 20 2021 jstack
-rwxr-xr-x 1 root root 8632 Jan 20 2021 jstat
-rwxr-xr-x 1 root root 8632 Jan 20 2021 jstatd
-rwxr-xr-x 1 root root 8632 Jan 20 2021 keytool
-rwxr-xr-x 1 root root 8632 Jan 20 2021 native2ascii
-rwxr-xr-x 1 root root 8704 Jan 20 2021 orbd
-rwxr-xr-x 1 root root 8632 Jan 20 2021 pack200
-rwxr-xr-x 1 root root 8632 Jan 20 2021 policytool
-rwxr-xr-x 1 root root 8632 Jan 20 2021 rmic
-rwxr-xr-x 1 root root 8632 Jan 20 2021 rmid
-rwxr-xr-x 1 root root 8632 Jan 20 2021 rmiregistry
-rwxr-xr-x 1 root root 8632 Jan 20 2021 schemagen
-rwxr-xr-x 1 root root 8632 Jan 20 2021 serialver
-rwxr-xr-x 1 root root 8632 Jan 20 2021 servertool
-rwxr-xr-x 1 root root 8704 Jan 20 2021 tnameserv
-rwxr-xr-x 1 root root 186760 Jan 20 2021 unpack200
-rwxr-xr-x 1 root root 8632 Jan 20 2021 wsgen
-rwxr-xr-x 1 root root 8632 Jan 20 2021 wsimport
-rwxr-xr-x 1 root root 8632 Jan 20 2021 xjc
+ /home/jenkins/tools/java/adoptopenjdk-hotspot-8u282-b08/bin/java -version
openjdk version "1.8.0_282"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_282-b08)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.282-b08, mixed mode)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/adoptopenjdk-hotspot-8u282-b08/bin/java
+ java -version
openjdk version "1.8.0_282"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_282-b08)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.282-b08, mixed mode)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/adoptopenjdk-hotspot-8u282-b08/bin/javac
+ javac -version
javac 1.8.0_282
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 524
drwxr-xr-x 22 jenkins jenkins 4096 Aug 3 00:07 .
drwxr-xr-x 4 jenkins jenkins 4096 Jul 27 13:47 ..
-rw-r--r-- 1 jenkins jenkins 520 Apr 21 00:10 .asf.yaml
drwxr-xr-x 7 jenkins jenkins 4096 Aug 2 00:14 build
-rw-r--r-- 1 jenkins jenkins 32147 Jul 30 00:07 build.gradle
-rw-r--r-- 1 jenkins jenkins 168400 Aug 3 00:07 build.xml
-rw-r--r-- 1 jenkins jenkins 7017 Apr 21 00:10 doap_POI.rdf
-rw-r--r-- 1 jenkins jenkins 3114 Jul 30 00:07 file-leak-detector.exclude
-rw-r--r-- 1 jenkins jenkins 6229 Apr 21 00:11 forrest.properties
-rw-r--r-- 1 jenkins jenkins 53 Apr 21 00:10 .gitattributes
drwxr-xr-x 3 jenkins jenkins 4096 May 24 00:07 .github
-rw-r--r-- 1 jenkins jenkins 334 Apr 21 00:10 .gitignore
drwxr-xr-x 3 jenkins jenkins 4096 Apr 21 00:10 gradle
drwxr-xr-x 5 jenkins jenkins 4096 Jul 20 17:07 .gradle
-rw-r--r-- 1 jenkins jenkins 599 Apr 21 00:10 gradle.properties
-rwxr-xr-x 1 jenkins jenkins 8188 Jul 23 00:07 gradlew
-rw-r--r-- 1 jenkins jenkins 2838 Jul 23 00:07 gradlew.bat
drwxr-xr-x 2 jenkins jenkins 4096 Jul 31 00:07 jenkins
-rw-r--r-- 1 jenkins jenkins 167516 Jun 10 00:07 KEYS
drwxr-xr-x 2 jenkins jenkins 4096 Apr 21 00:10 legal
drwxr-xr-x 2 jenkins jenkins 4096 Apr 21 00:10 lib.stored
drwxr-xr-x 3 jenkins jenkins 4096 Jul 4 00:07 osgi
-rw-r--r-- 1 jenkins jenkins 4813 Apr 21 00:10 patch.xml
drwxr-xr-x 5 jenkins jenkins 4096 Aug 2 00:09 poi
drwxr-xr-x 4 jenkins jenkins 4096 Aug 2 00:07 poi-examples
drwxr-xr-x 4 jenkins jenkins 4096 Aug 2 00:07 poi-excelant
drwxr-xr-x 4 jenkins jenkins 4096 Aug 2 00:07 poi-integration
drwxr-xr-x 4 jenkins jenkins 4096 Aug 2 00:07 poi-ooxml
drwxr-xr-x 4 jenkins jenkins 4096 Aug 2 00:07 poi-ooxml-full
drwxr-xr-x 4 jenkins jenkins 4096 Aug 2 00:08 poi-ooxml-lite
drwxr-xr-x 4 jenkins jenkins 4096 Aug 3 00:07 poi-ooxml-lite-agent
drwxr-xr-x 5 jenkins jenkins 4096 Aug 2 00:07 poi-scratchpad
-rw-r--r-- 1 jenkins jenkins 4351 Apr 21 00:10 README.rst
-rw-r--r-- 1 jenkins jenkins 232 Apr 21 00:10 SECURITY.md
-rw-r--r-- 1 jenkins jenkins 190 Apr 21 00:10 settings.gradle
drwxr-xr-x 4 jenkins jenkins 4096 Apr 21 00:11 src
drwxr-xr-x 4 jenkins jenkins 4096 Aug 3 00:07 .svn
drwxr-xr-x 15 jenkins jenkins 4096 Apr 21 00:10 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-OpenJDK/ws/build.javacheck.xml>
Detected Java version: 1.8 in: /usr/local/asfpackages/java/adoptopenjdk-hotspot-8u282-b08/jre
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 1.8/1.8.0_282
[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_282
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-OpenJDK] $ /bin/sh -xe /tmp/jenkins8499925290159727884.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-OpenJDK] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-OpenJDK/ws/gradlew> -PjdkVersion=8 -PjdkVendor=adoptopenjdk clean jenkins
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.5/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
> Task :poi-ooxml-lite-agent:clean
> Task :poi-excelant:clean
> Task :poi-integration:clean
> Task :poi-integration:compileJava NO-SOURCE
> Task :poi-integration:processResources NO-SOURCE
> Task :poi-integration:classes UP-TO-DATE
> Task :poi-integration:javadoc SKIPPED
> Task :poi-integration:forbiddenApisMain NO-SOURCE
> Task :poi-examples:clean
> Task :poi-examples:processResources NO-SOURCE
> Task :poi-examples:processTestResources NO-SOURCE
> Task :poi-integration:processTestResources
> Task :poi-excelant:processResources
> Task :poi-integration:spotbugsMain NO-SOURCE
> Task :poi-integration:getDeps NO-SOURCE
> Task :poi-excelant:processTestResources
> Task :poi-scratchpad:clean
> Task :poi-scratchpad:processResources
> Task :poi-scratchpad:processTestResources NO-SOURCE
> Task :poi-ooxml:clean
> Task :poi-ooxml:fixBatik
> Task :clean
> Task :poi-ooxml:processResources
> Task :poi-ooxml:processTestResources
> Task :poi:clean
> Task :replaceVersion
> Task :poi:generateVersionJava
> Task :poi-integration:jar
> Task :poi-integration:javadocJar SKIPPED
> Task :poi-integration:sourcesJar SKIPPED
> Task :poi-integration:assemble
> Task :poi-excelant:sourcesJar
> Task :poi-examples:sourcesJar
> Task :poi-ooxml:sourcesJar
> Task :poi-scratchpad:sourcesJar
> Task :poi-ooxml-full:clean
> Task :poi-ooxml-full:copy_xsds
> Task :poi-ooxml-lite:clean
> Task :poi-ooxml-lite:generateModuleInfo UP-TO-DATE
> Task :poi-ooxml-lite:processTestResources NO-SOURCE
> Task :poi-ooxml-lite-agent:compileJava
[ant:xmlbean] <https://ci-builds.apache.org/job/POI/job/POI-DSL-OpenJDK/ws/poi-ooxml-lite-agent/src/main/java/org/apache/poi/ooxml/lite/OOXMLLiteAgent.java>:62: error: incompatible types: incompatible parameter types in lambda expression
[ant:xmlbean] .transform((builder, type, cl, m) ->
[ant:xmlbean] ^
[ant:xmlbean] Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
[ant:xmlbean] 1 error
> Task :poi-ooxml-lite-agent:compileJava FAILED
> Task :poi-ooxml-full:generate_beans
SchemaCompiler Metadata LOAD:org/apache/xmlbeans/metadata GEN:org/apache/poi/schemas/ooxml
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.764 seconds
Time to generate code: 8.724 seconds
> Task :poi:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-OpenJDK/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-OpenJDK/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-OpenJDK/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-OpenJDK/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-OpenJDK/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-OpenJDK/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
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':poi-ooxml-lite-agent:compileJava'.
> Compilation failed; see the compiler error output for details.
* 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.5/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 32s
29 actionable tasks: 28 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
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org