Build failed in Jenkins: POI » POI-DSL-1.21 #504

Apache Jenkins Server <[email protected]> Thu, 25 Jun 2026 00:35:38 +0000 (UTC)
Newsgroups gmane.comp.jakarta.poi.devel
Message-ID <[email protected]>
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.21/504/display/redirect?page=changes>

Changes:

[github] Bump actions/cache from 5 to 6 (#1151)


------------------------------------------
[...truncated 78.92 KiB...]
        assertEquals(7, run.getFontSize());
                           ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.21/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:250: warning: [deprecation] getFontSize() in XWPFRun has been deprecated
        assertEquals(25, run.getFontSize());
                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.21/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:505: warning: [deprecation] getPictureType() in XWPFPictureData has been deprecated
                    assertEquals(5, pic.getPictureData().getPictureType());
                                                        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.21/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:647: warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(-1, run.getFontSize());
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.21/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:650: warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(10, run.getFontSize());
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.21/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:653: warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(Short.MAX_VALUE - 1, run.getFontSize());
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.21/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:656: warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(Short.MAX_VALUE, run.getFontSize());
                                             ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.21/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:659: warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(Short.MAX_VALUE + 1, run.getFontSize());
                                                 ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.21/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:662: warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(Integer.MAX_VALUE - 1, run.getFontSize());
                                                   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.21/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:665: warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(Integer.MAX_VALUE, run.getFontSize());
                                               ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.21/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:668: warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(-1, run.getFontSize());
                                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.21/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:716: warning: [deprecation] getFontSize() in XWPFRun has been deprecated
            assertEquals(10, run.getFontSize());
                                ^
97 warnings

> Task :poi-ooxml-lite:forbiddenApisMain UP-TO-DATE
> Task :poi-ooxml-lite:compileTestJava NO-SOURCE
> Task :poi-ooxml-lite:testClasses UP-TO-DATE
> Task :poi-ooxml-lite:forbiddenApisTest NO-SOURCE
> Task :poi-ooxml-lite:forbiddenApis UP-TO-DATE
> Task :poi-ooxml-lite:spotbugsMain SKIPPED
> Task :poi-ooxml:compileTest9 FROM-CACHE
> Task :poi-ooxml-lite:spotbugsTest SKIPPED
> Task :poi-ooxml:testClasses
> Task :poi-ooxml-lite:test NO-SOURCE
> Task :poi-ooxml-lite:verifyModuleInfoPresent
> Task :poi-ooxml-lite:check
> Task :poi-ooxml-lite:build
> Task :poi-examples:javadocJar
> Task :poi-examples:assemble
> Task :poi-examples:forbiddenApisMain
> Task :poi-ooxml:testJar
> Task :poi-examples:compileTestJava
> Task :poi-examples:testClasses
> Task :poi-excelant:compileTestJava
> Task :poi-excelant:compileTest9 FROM-CACHE
> Task :poi-excelant:testClasses
> Task :poi-examples:forbiddenApisTest
> Task :poi-examples:forbiddenApis
> Task :poi-excelant:forbiddenApisTest
> Task :poi-excelant:forbiddenApis

> Task :poi-integration:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.21/ws/poi-integration/src/test/java/org/apache/poi/stress/OptimizedNullPrintStream.java>:29: warning: [deprecation] NullPrintStream() in NullPrintStream has been deprecated
class OptimizedNullPrintStream extends NullPrintStream {
^
1 warning

> Task :poi-integration:compileTest9 FROM-CACHE
> Task :poi-integration:testClasses
> Task :poi-integration:testJar
> Task :poi-excelant:testJar
> Task :poi-integration:forbiddenApisTest
> Task :poi-integration:forbiddenApis
> Task :poi-fuzz:compileJava
> Task :poi-fuzz:classes
> Task :poi-fuzz:jar
> Task :poi-fuzz:javadoc SKIPPED
> Task :poi-fuzz:javadocJar
> Task :poi-fuzz:assemble

> Task :poi-examples:test


WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports

> Task :poi-fuzz:forbiddenApisMain

> Task :poi-excelant:test



> Task :poi-fuzz:compileTestJava NO-SOURCE
> Task :poi-fuzz:testClasses UP-TO-DATE
> Task :poi-fuzz:forbiddenApisTest NO-SOURCE
> Task :poi-fuzz:forbiddenApis

> Task :poi-integration:test



> Task :poi-fuzz:spotbugsTest NO-SOURCE
> Task :poi-fuzz:test SKIPPED
> Task :poi-fuzz:verifyModuleInfoPresent
> Task :poi-fuzz:getDeps
> Task :poi-fuzz:jacocoTestReport SKIPPED

> Task :poi-integration:test
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports

> Task :poi-excelant:spotbugsMain
> Task :poi-ooxml-lite:getDeps
> Task :poi-examples:spotbugsMain
> Task :poi-ooxml:javadoc
> Task :poi-examples:spotbugsTest
> Task :poi-excelant:spotbugsTest
> Task :soLinkCheck
> Task :poi-integration:spotbugsTest

> Task :poi-examples:test
Jun 25, 2026 12:32:16 AM sun.util.locale.provider.LocaleProviderAdapter <clinit>
WARNING: COMPAT locale provider will be removed in a future release
Jun 25, 2026 12:32:16 AM sun.util.locale.provider.LocaleProviderAdapter <clinit>
WARNING: COMPAT locale provider will be removed in a future release

> Task :poi-fuzz:spotbugsMain

> Task :poi-examples:test
org.apache.poi.integration.TestXLSX2CSV testInvalidFile() PASSED
org.apache.poi.integration.TestXLSX2CSV testNoArgument() PASSED
org.apache.poi.integration.TestXLSX2CSV microBenchmark() SKIPPED

> Task :poi-integration:test
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports

> Task :poi-excelant:spotbugsMain
M V EI2: org.apache.poi.ss.excelant.ExcelAntSet.setWorkbookUtil(ExcelAntWorkbookUtil) may expose internal representation by storing an externally mutable object into ExcelAntSet.wbUtil  At ExcelAntSet.java:[line 39]
M V EI: org.apache.poi.ss.excelant.util.ExcelAntWorkbookUtil.getWorkbook() may expose internal representation by returning ExcelAntWorkbookUtil.workbook  At ExcelAntWorkbookUtil.java:[line 193]
M B CT: Exception thrown in class org.apache.poi.ss.excelant.util.ExcelAntWorkbookUtil at new org.apache.poi.ss.excelant.util.ExcelAntWorkbookUtil(String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks.  At ExcelAntWorkbookUtil.java:[line 71]
M V EI2: org.apache.poi.ss.excelant.ExcelAntTest.setWorkbookUtil(ExcelAntWorkbookUtil) may expose internal representation by storing an externally mutable object into ExcelAntTest.workbookUtil  At ExcelAntTest.java:[line 67]
M D DCN: Do not catch NullPointerException like in org.apache.poi.ss.excelant.ExcelAntTest.execute()  At ExcelAntTest.java:[line 180]
M V EI2: org.apache.poi.ss.excelant.ExcelAntTask.addPrecision(ExcelAntPrecision) may expose internal representation by storing an externally mutable object into ExcelAntTask.precision  At ExcelAntTask.java:[line 55]
SpotBugs ended with exit code 1

> Task :poi-examples:test
org.apache.poi.examples.hssf.eventusermodel.TestXLS2CSVmra testProcessNumberRecord() PASSED (6s)
org.apache.poi.examples.hssf.eventusermodel.TestXLS2CSVmra testProcess() PASSED
org.apache.poi.examples.hssf.eventusermodel.TestXLS2CSVmra test() PASSED
org.apache.poi.examples.hssf.eventusermodel.TestXLS2CSVmra testWithMinCols() PASSED
org.apache.poi.integration.TestXLSX2CSV testSampleFile() PASSED (5.9s)
org.apache.poi.integration.TestXLSX2CSV testMinColumns() PASSED
org.apache.poi.integration.TestXLSX2CSV testInvalidSampleFile() PASSED

> Task :poi-excelant:test
Jun 25, 2026 12:35:05 AM sun.util.locale.provider.LocaleProviderAdapter <clinit>
WARNING: COMPAT locale provider will be removed in a future release

The message received from the daemon indicates that the daemon has disappeared.
Build request sent: Build{id=577893ef-9769-4008-90e0-45dac3a3ccea, currentDir=<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.21/ws/}>
Attempting to read last messages from the daemon log...

> Task :poi-integration:test
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
Jun 25, 2026 12:35:04 AM sun.util.locale.provider.LocaleProviderAdapter <clinit>
WARNING: COMPAT locale provider will be removed in a future release
Jun 25, 2026 12:35:07 AM sun.util.locale.provider.LocaleProviderAdapter <clinit>
WARNING: COMPAT locale provider will be removed in a future release
Jun 25, 2026 12:35:08 AM sun.util.locale.provider.LocaleProviderAdapter <clinit>
WARNING: COMPAT locale provider will be removed in a future release
Jun 25, 2026 12:35:08 AM sun.util.locale.provider.LocaleProviderAdapter <clinit>
WARNING: COMPAT locale provider will be removed in a future release
Jun 25, 2026 12:35:08 AM sun.util.locale.provider.LocaleProviderAdapter <clinit>
WARNING: COMPAT locale provider will be removed in a future release
Jun 25, 2026 12:35:09 AM sun.util.locale.provider.LocaleProviderAdapter <clinit>
WARNING: COMPAT locale provider will be removed in a future release
Jun 25, 2026 12:35:09 AM sun.util.locale.provider.LocaleProviderAdapter <clinit>
WARNING: COMPAT locale provider will be removed in a future release
Jun 25, 2026 12:35:10 AM sun.util.locale.provider.LocaleProviderAdapter <clinit>
WARNING: COMPAT locale provider will be removed in a future release
Jun 25, 2026 12:35:10 AM sun.util.locale.provider.LocaleProviderAdapter <clinit>
WARNING: COMPAT locale provider will be removed in a future release

Daemon pid: 2134334
  log file: /home/jenkins/.gradle/daemon/9.5.1/daemon-2134334.out.log
----- Last 20 lines from daemon log file - daemon-2134334.out.log -----
org.apache.poi.integration.TestXLSX2CSV testMinColumns() PASSED
Jun 25, 2026 12:35:05 AM sun.util.locale.provider.LocaleProviderAdapter <clinit>
WARNING: COMPAT locale provider will be removed in a future release
org.apache.poi.integration.TestXLSX2CSV testInvalidSampleFile() PASSED
Jun 25, 2026 12:35:07 AM sun.util.locale.provider.LocaleProviderAdapter <clinit>
WARNING: COMPAT locale provider will be removed in a future release
Jun 25, 2026 12:35:08 AM sun.util.locale.provider.LocaleProviderAdapter <clinit>
WARNING: COMPAT locale provider will be removed in a future release
Jun 25, 2026 12:35:08 AM sun.util.locale.provider.LocaleProviderAdapter <clinit>
WARNING: COMPAT locale provider will be removed in a future release
Jun 25, 2026 12:35:08 AM sun.util.locale.provider.LocaleProviderAdapter <clinit>
WARNING: COMPAT locale provider will be removed in a future release
Jun 25, 2026 12:35:09 AM sun.util.locale.provider.LocaleProviderAdapter <clinit>
WARNING: COMPAT locale provider will be removed in a future release
Jun 25, 2026 12:35:09 AM sun.util.locale.provider.LocaleProviderAdapter <clinit>
WARNING: COMPAT locale provider will be removed in a future release
Jun 25, 2026 12:35:10 AM sun.util.locale.provider.LocaleProviderAdapter <clinit>
WARNING: COMPAT locale provider will be removed in a future release
Jun 25, 2026 12:35:10 AM sun.util.locale.provider.LocaleProviderAdapter <clinit>
WARNING: COMPAT locale provider will be removed in a future release----- End of the daemon log -----


FAILURE: Build failed with an exception.

* What went wrong:
Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)

* 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.
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.
[Checks API] No suitable checks publisher found.
ERROR: Not all environment variables could be successfully injected. Check for similarly-named environment variables.