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 01:05:14 UTC

Build failed in Jenkins: POI » POI-DSL-1.17 #350

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

Changes:

[PJ Fanning] upgrade byte-buddy


------------------------------------------
[...truncated 426.75 KB...]
-rwxr-xr-x 1 root root 12392 Sep 27  2021 jdeprscan
-rwxr-xr-x 1 root root 12384 Sep 27  2021 jdeps
-rwxr-xr-x 1 root root 12384 Sep 27  2021 jfr
-rwxr-xr-x 1 root root 12384 Sep 27  2021 jhsdb
-rwxr-xr-x 1 root root 12392 Sep 27  2021 jimage
-rwxr-xr-x 1 root root 12416 Sep 27  2021 jinfo
-rwxr-xr-x 1 root root 12416 Sep 27  2021 jlink
-rwxr-xr-x 1 root root 12416 Sep 27  2021 jmap
-rwxr-xr-x 1 root root 12384 Sep 27  2021 jmod
-rwxr-xr-x 1 root root 12392 Sep 27  2021 jpackage
-rwxr-xr-x 1 root root 12384 Sep 27  2021 jps
-rwxr-xr-x 1 root root 12424 Sep 27  2021 jrunscript
-rwxr-xr-x 1 root root 12392 Sep 27  2021 jshell
-rwxr-xr-x 1 root root 12424 Sep 27  2021 jstack
-rwxr-xr-x 1 root root 12384 Sep 27  2021 jstat
-rwxr-xr-x 1 root root 12392 Sep 27  2021 jstatd
-rwxr-xr-x 1 root root 12392 Sep 27  2021 keytool
-rwxr-xr-x 1 root root 12392 Sep 27  2021 rmiregistry
-rwxr-xr-x 1 root root 12392 Sep 27  2021 serialver
+ /home/jenkins/tools/java/latest17/bin/java -version
java version "17.0.1" 2021-10-19 LTS
Java(TM) SE Runtime Environment (build 17.0.1+12-LTS-39)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.1+12-LTS-39, mixed mode, sharing)
+ echo which java
which java
+ which java
/home/jenkins/tools/java/latest17/bin/java
+ java -version
java version "17.0.1" 2021-10-19 LTS
Java(TM) SE Runtime Environment (build 17.0.1+12-LTS-39)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.1+12-LTS-39, mixed mode, sharing)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest17/bin/javac
+ javac -version
javac 17.0.1
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 516
drwxr-xr-x 20 jenkins jenkins   4096 Aug  3 01:03 .
drwxr-xr-x  4 jenkins jenkins   4096 Aug  3 00:59 ..
-rw-r--r--  1 jenkins jenkins    520 Aug  3 01:03 .asf.yaml
-rw-r--r--  1 jenkins jenkins  32147 Aug  3 01:03 build.gradle
-rw-r--r--  1 jenkins jenkins 168400 Aug  3 01:02 build.xml
-rw-r--r--  1 jenkins jenkins   7017 Aug  3 01:03 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   3114 Aug  3 01:03 file-leak-detector.exclude
-rw-r--r--  1 jenkins jenkins   6229 Aug  3 01:03 forrest.properties
-rw-r--r--  1 jenkins jenkins     53 Aug  3 01:03 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Aug  3 01:02 .github
-rw-r--r--  1 jenkins jenkins    334 Aug  3 01:03 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Aug  3 01:03 gradle
-rw-r--r--  1 jenkins jenkins    599 Aug  3 01:03 gradle.properties
-rwxr-xr-x  1 jenkins jenkins   8188 Aug  3 01:03 gradlew
-rw-r--r--  1 jenkins jenkins   2838 Aug  3 01:03 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Aug  3 01:03 jenkins
-rw-r--r--  1 jenkins jenkins 167516 Aug  3 01:03 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Aug  3 01:03 legal
drwxr-xr-x  2 jenkins jenkins   4096 Aug  3 01:03 lib.stored
drwxr-xr-x  3 jenkins jenkins   4096 Aug  3 01:03 osgi
-rw-r--r--  1 jenkins jenkins   4813 Aug  3 01:03 patch.xml
drwxr-xr-x  4 jenkins jenkins   4096 Aug  3 01:03 poi
drwxr-xr-x  3 jenkins jenkins   4096 Aug  3 01:03 poi-examples
drwxr-xr-x  3 jenkins jenkins   4096 Aug  3 01:03 poi-excelant
drwxr-xr-x  3 jenkins jenkins   4096 Aug  3 01:03 poi-integration
drwxr-xr-x  3 jenkins jenkins   4096 Aug  3 01:03 poi-ooxml
drwxr-xr-x  3 jenkins jenkins   4096 Aug  3 01:03 poi-ooxml-full
drwxr-xr-x  3 jenkins jenkins   4096 Aug  3 01:03 poi-ooxml-lite
drwxr-xr-x  3 jenkins jenkins   4096 Aug  3 01:02 poi-ooxml-lite-agent
drwxr-xr-x  4 jenkins jenkins   4096 Aug  3 01:03 poi-scratchpad
-rw-r--r--  1 jenkins jenkins   4351 Aug  3 01:03 README.rst
-rw-r--r--  1 jenkins jenkins    232 Aug  3 01:03 SECURITY.md
-rw-r--r--  1 jenkins jenkins    190 Aug  3 01:03 settings.gradle
drwxr-xr-x  4 jenkins jenkins   4096 Aug  3 01:03 src
drwxr-xr-x  4 jenkins jenkins   4096 Aug  3 01:03 .svn
drwxr-xr-x 15 jenkins jenkins   4096 Aug  3 01:03 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.17/ws/build.javacheck.xml>
Detected Java version: 17 in: /usr/local/asfpackages/java/oraclejdk-17.0.1
Detected OS: Linux
parsing buildfile <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/build.javacheck.xml> with URI = <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/build.javacheck.xml>
Project base dir set to: <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/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 17/17.0.1
     [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 17.0.1

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.17] $ /bin/sh -xe /tmp/jenkins6367398407811033926.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.17] $ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/gradlew> -PjdkVersion=17 clean jenkins
Downloading https://services.gradle.org/distributions/gradle-7.5-bin.zip
...........10%............20%...........30%............40%...........50%............60%...........70%............80%...........90%............100%
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-examples:clean UP-TO-DATE
> Task :poi-ooxml-lite-agent:clean UP-TO-DATE
> Task :poi-integration:clean UP-TO-DATE
> Task :poi-ooxml-lite:clean UP-TO-DATE
> Task :poi-excelant:clean UP-TO-DATE
> Task :poi-ooxml:clean
> Task :poi-ooxml-full:clean UP-TO-DATE
> Task :clean UP-TO-DATE
> Task :poi-scratchpad:clean UP-TO-DATE
> Task :poi:clean 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:generateVersionJava
> Task :poi-excelant:processResources
> Task :poi-scratchpad:processResources
> Task :poi-scratchpad:processTestResources NO-SOURCE
> Task :poi-ooxml:fixBatik
> Task :replaceVersion
> Task :poi-ooxml-full:copy_xsds
> Task :poi-ooxml:processResources
> Task :poi-ooxml:processTestResources
> Task :poi-integration:jar
> Task :poi-integration:javadoc SKIPPED
> Task :poi-integration:javadocJar SKIPPED
> 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-excelant:sourcesJar
> Task :poi-excelant:processTestResources
> Task :poi-ooxml-lite:generateModuleInfo
> Task :poi-ooxml-lite:processTestResources NO-SOURCE
> Task :poi-examples:sourcesJar
> Task :poi-examples:processTestResources NO-SOURCE
> Task :poi-scratchpad:sourcesJar
> Task :poi-ooxml:sourcesJar

> 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.638 seconds

> Task :poi-ooxml-lite-agent:compileJava FAILED
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/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
            .transform((builder, type, cl, m) ->
                       ^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
1 error

> Task :poi:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/util/GenericRecordUtil.java>:132: warning: [unchecked] unchecked cast
                m.putAll((Map<String,Supplier<?>>)baseMap);
                                                  ^
  required: Map<String,Supplier<?>>
  found:    Object
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java>:1120: warning: [removal] AccessControlException in java.security has been deprecated and marked for removal
        } catch (AccessControlException e) {
                 ^

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

> Task :poi:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/record/NameRecord.java>:466: warning: [deprecation] readAllContinuedRemainder() in RecordInputStream has been deprecated
        byte[] remainder = ris.readAllContinuedRemainder();
                              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/ss/formula/BaseFormulaEvaluator.java>:225: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
        cell.setCellType(cellType);
            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/ss/usermodel/CellBase.java>:39: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
    public final void setCellType(CellType cellType) {
                      ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/record/AbstractEscherHolderRecord.java>:62: warning: [deprecation] readAllContinuedRemainder() in RecordInputStream has been deprecated
            byte[] data = in.readAllContinuedRemainder();
                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/hssf/record/RecordFactoryInputStream.java>:335: warning: [deprecation] processContinueRecord(byte[]) in DrawingRecord has been deprecated
                _lastDrawingRecord.processContinueRecord(contRec.getData());
                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/poifs/nio/CleanerUtil.java>:78: warning: [removal] AccessController in java.security has been deprecated and marked for removal
        final Object hack = AccessController.doPrivileged(
                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/main/java/org/apache/poi/poifs/nio/CleanerUtil.java>:178: warning: [removal] AccessController in java.security has been deprecated and marked for removal
            final Throwable error = AccessController.doPrivileged(
                                    ^
9 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

BUILD FAILED in 1m 16s
29 actionable tasks: 20 executed, 9 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


Jenkins build is back to normal : POI » POI-DSL-1.17 #351

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/351/display/redirect?page=changes>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org