See <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.27/1/display/redirect>

Changes:


------------------------------------------
[...truncated 5.71 KiB...]
OpenJDK Runtime Environment (build 27-ea+1-3)
OpenJDK 64-Bit Server VM (build 27-ea+1-3, mixed mode, sharing)
+ echo which javac
which javac
+ which javac
/home/jenkins/tools/java/latest27/bin/javac
+ javac -version
javac 27-ea
+ echo Ant-Home:
Ant-Home:
+ ls -al
total 512
drwxr-xr-x 20 jenkins jenkins   4096 Aug  7 06:22 .
drwxr-xr-x  5 jenkins jenkins   4096 Aug  7 06:22 ..
-rw-r--r--  1 jenkins jenkins   1242 Aug  7 06:22 .asf.yaml
-rw-r--r--  1 jenkins jenkins  35574 Aug  7 06:22 build.gradle
-rw-r--r--  1 jenkins jenkins 151744 Aug  7 06:22 build.xml
-rw-r--r--  1 jenkins jenkins   8393 Aug  7 06:22 doap_POI.rdf
-rw-r--r--  1 jenkins jenkins   3261 Aug  7 06:22 file-leak-detector.exclude
drwxr-xr-x  8 jenkins jenkins   4096 Aug  7 06:22 .git
-rw-r--r--  1 jenkins jenkins     53 Aug  7 06:22 .gitattributes
drwxr-xr-x  3 jenkins jenkins   4096 Aug  7 06:22 .github
-rw-r--r--  1 jenkins jenkins    396 Aug  7 06:22 .gitignore
drwxr-xr-x  3 jenkins jenkins   4096 Aug  7 06:22 gradle
-rw-r--r--  1 jenkins jenkins    555 Aug  7 06:22 gradle.properties
-rwxr-xr-x  1 jenkins jenkins   8654 Aug  7 06:22 gradlew
-rw-r--r--  1 jenkins jenkins   2846 Aug  7 06:22 gradlew.bat
drwxr-xr-x  2 jenkins jenkins   4096 Aug  7 06:22 jenkins
-rw-r--r--  1 jenkins jenkins 169131 Aug  7 06:22 KEYS
drwxr-xr-x  2 jenkins jenkins   4096 Aug  7 06:22 legal
drwxr-xr-x  3 jenkins jenkins   4096 Aug  7 06:22 osgi
-rw-r--r--  1 jenkins jenkins   4813 Aug  7 06:22 patch.xml
drwxr-xr-x  4 jenkins jenkins   4096 Aug  7 06:22 poi
drwxr-xr-x  3 jenkins jenkins   4096 Aug  7 06:22 poi-examples
drwxr-xr-x  3 jenkins jenkins   4096 Aug  7 06:22 poi-excelant
drwxr-xr-x  3 jenkins jenkins   4096 Aug  7 06:22 poi-fuzz
drwxr-xr-x  3 jenkins jenkins   4096 Aug  7 06:22 poi-integration
drwxr-xr-x  3 jenkins jenkins   4096 Aug  7 06:22 poi-ooxml
drwxr-xr-x  3 jenkins jenkins   4096 Aug  7 06:22 poi-ooxml-full
drwxr-xr-x  3 jenkins jenkins   4096 Aug  7 06:22 poi-ooxml-lite
drwxr-xr-x  3 jenkins jenkins   4096 Aug  7 06:22 poi-ooxml-lite-agent
drwxr-xr-x  4 jenkins jenkins   4096 Aug  7 06:22 poi-scratchpad
-rw-r--r--  1 jenkins jenkins   4623 Aug  7 06:22 README.md
-rw-r--r--  1 jenkins jenkins    428 Aug  7 06:22 SECURITY.md
-rw-r--r--  1 jenkins jenkins    209 Aug  7 06:22 settings.gradle
drwxr-xr-x  4 jenkins jenkins   4096 Aug  7 06:22 src
drwxr-xr-x 15 jenkins jenkins   4096 Aug  7 06:22 test-data
-rw-r--r--  1 jenkins jenkins   3821 Aug  7 06:22 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-1.27/ws/build.javacheck.xml>
Detected Java version: 27 in: /usr/local/asfpackages/java/openjdk-27-ea+1
Detected OS: Linux
parsing buildfile 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.27/ws/build.javacheck.xml> 
with URI = 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.27/ws/build.javacheck.xml>
Project base dir set to: 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.27/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 27/27-ea
     [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 27-ea

BUILD SUCCESSFUL
Total time: 1 second
+ exit 0
ERROR: Not all environment variables could be successfully injected. Check for 
similarly-named environment variables.
[POI-DSL-1.27] $ /bin/sh -xe /tmp/jenkins14101721144268785113.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.27] $ 
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.27/ws/gradlew> 
-PjdkVersion=27 --refresh-dependencies clean jenkins
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/9.6.1/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
Run with reduced parallelism for CI build

> Task :poi-ooxml-lite-agent:clean UP-TO-DATE
> Task :poi-ooxml-full:clean UP-TO-DATE
> Task :poi-fuzz:clean UP-TO-DATE
> Task :poi-examples:clean UP-TO-DATE
> Task :clean UP-TO-DATE
> Task :poi-scratchpad:clean UP-TO-DATE
> Task :poi-integration:clean UP-TO-DATE
> Task :poi-ooxml:clean UP-TO-DATE
> Task :poi-excelant:clean UP-TO-DATE
> Task :poi:clean UP-TO-DATE
> Task :poi-ooxml-lite:clean UP-TO-DATE
> Task :poi-fuzz:processResources NO-SOURCE
> Task :poi-examples:processResources NO-SOURCE
> Task :poi-integration:compileJava NO-SOURCE
> Task :poi-fuzz:sourcesJar SKIPPED
> Task :poi-integration:processResources NO-SOURCE
> Task :poi-fuzz:processTestResources NO-SOURCE
> Task :poi-integration:classes UP-TO-DATE
> Task :poi-integration:processTestResources
> Task :poi-scratchpad:processResources
> Task :poi:generateVersionJava
> Task :poi-excelant:processResources
> Task :poi-ooxml:processResources
> Task :poi-scratchpad:processTestResources NO-SOURCE
> Task :replaceVersion
> Task :poi-ooxml:processTestResources
> Task :poi-ooxml-full:copy_xsds
> Task :poi-ooxml-lite:generateModuleInfo
> Task :poi-ooxml-lite:processTestResources NO-SOURCE
> Task :poi-integration:jar
> Task :poi-excelant:sourcesJar
> Task :poi-integration:javadoc SKIPPED
> Task :poi-excelant:processTestResources
> Task :poi-integration:javadocJar
> Task :poi-integration:sourcesJar SKIPPED
> Task :poi-integration:assemble
> Task :poi-examples:sourcesJar
> Task :poi-examples:processTestResources NO-SOURCE
> Task :poi-integration:forbiddenApisMain NO-SOURCE
> Task :poi-integration:spotbugsMain NO-SOURCE
> Task :poi-integration:verifyModuleInfoPresent
> Task :poi-integration:getDeps
> 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
2026-08-07T06:23:25.585510018Z Execution worker Thread 8 ERROR Log4j API could 
not find a logging provider.

> Task :poi-ooxml-lite-agent:compileJava
> Task :poi-ooxml-lite-agent:compileJava9
> 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:javadoc SKIPPED
> Task :poi-ooxml-lite-agent:javadocJar SKIPPED
> Task :poi-ooxml-lite-agent:sourcesJar
> Task :poi-ooxml-lite-agent:assemble
> Task :poi-ooxml-lite-agent:forbiddenApisMain FAILED

> Task :poi-ooxml-full:generate_beans
Time to build schema type system: 4.259 seconds
Time to generate code: 12.439 seconds

> Task :poi:compileJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.27/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.27/ws/poi/src/main/java/org/apache/poi/util/ExceptionUtil.java>:38:
 warning: [removal] ThreadDeath in java.lang has been deprecated and marked for 
removal
                || throwable instanceof ThreadDeath
                                        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.27/ws/poi/src/main/java/org/apache/poi/logging/NoOpLogger.java>:543:
 warning: [deprecation] <R>exit(R) in Logger has been deprecated
    public <R> R exit(R result) {
                 ^
  where R is a type-variable:
    R extends Object declared in method <R>exit(R)
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.27/ws/poi/src/main/java/org/apache/poi/logging/NoOpLogger.java>:538:
 warning: [deprecation] exit() in Logger has been deprecated
    public void exit() {
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.27/ws/poi/src/main/java/org/apache/poi/logging/NoOpLogger.java>:293:
 warning: [deprecation] entry(Object...) in Logger has been deprecated
    public void entry(Object... params) {
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.27/ws/poi/src/main/java/org/apache/poi/logging/NoOpLogger.java>:288:
 warning: [deprecation] entry() in Logger has been deprecated
    public void entry() {
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.27/ws/poi/src/main/java/org/apache/poi/hssf/model/InternalWorkbook.java>:1145:
 warning: [removal] AccessControlException in java.security has been deprecated 
and marked for removal
        } catch (AccessControlException e) {
                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.27/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.27/ws/poi/src/main/java/org/apache/poi/hssf/record/AbstractEscherHolderRecord.java>:61:
 warning: [deprecation] readAllContinuedRemainder() in RecordInputStream has 
been deprecated
            byte[] data = in.readAllContinuedRemainder();
                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.27/ws/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java>:372:
 warning: [dep-ann] deprecated item is not annotated with @Deprecated
    public HSSFWorkbook(DirectoryNode directory, POIFSFileSystem fs, boolean 
preserveNodes)
           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.27/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.27/ws/poi/src/main/java/org/apache/poi/ss/formula/BaseFormulaEvaluator.java>:218:
 warning: [deprecation] setCellType(CellType) in Cell has been deprecated
        cell.setCellType(cellType);
            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.27/ws/poi/src/main/java/org/apache/poi/hssf/record/RecordFactoryInputStream.java>:365:
 warning: [deprecation] processContinueRecord(byte[]) in DrawingRecord has been 
deprecated
                _lastDrawingRecord.processContinueRecord(contRec.getData());
                                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.27/ws/poi/src/main/java/org/apache/poi/poifs/nio/CleanerUtil.java>:79:
 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.27/ws/poi/src/main/java/org/apache/poi/poifs/nio/CleanerUtil.java>:179:
 warning: [removal] AccessController in java.security has been deprecated and 
marked for removal
            final Throwable error = AccessController.doPrivileged(
                                    ^
15 warnings

[Incubating] Problems report is available at: 
file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.27/ws/build/reports/problems/problems-report.html>

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':poi-ooxml-lite-agent:forbiddenApisMain' (registered 
by plugin 'de.thetaphi.forbiddenapis').
> The class file format of 
> '<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.27/ws/poi-ooxml-lite-agent/build/classes/java/main/org/apache/poi/ooxml/lite/OOXMLLiteAgent.class'>
>  is too recent to be parsed by ASM.

* 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 from a Build Scan (powered by 
> Develocity).
> Get more help at https://help.gradle.org.

Deprecated Gradle features were used in this build, making it incompatible with 
Gradle 10.

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/9.6.1/userguide/command_line_interface.html#sec:command_line_warnings
 in the Gradle documentation.

BUILD FAILED in 1m 8s
36 actionable tasks: 25 executed, 11 up-to-date
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as 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.

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

Reply via email to