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

Changes:

[PJ Fanning] java 17 build issue

[PJ Fanning] sonar issues


------------------------------------------
[...truncated 43.76 KB...]
> Task :poi:cacheTest9 NO-SOURCE
> Task :poi:processTestResources
> Task :poi:testClasses
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by 
edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue 
(file:/home/jenkins/.gradle/caches/modules-2/files-2.1/com.github.spotbugs/spotbugs/4.5.0/6bc031deec8506968417da46ba4367d159b99d76/spotbugs-4.5.0.jar)
WARNING: Please consider reporting this to the maintainers of 
edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue
WARNING: System::setSecurityManager will be removed in a future release
> Task :poi:testJar
> Task :poi-ooxml-full:compileJava
> Task :poi:sourcesJar
> Task :poi:forbiddenApisMain

> Task :poi-scratchpad:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hslf/extractor/TestExtractor.java>:498:
 warning: [deprecation] getCodepoints(String,Boolean,Boolean) in 
SlideShowExtractor has been deprecated
                BitSet l1 = ppt.getCodepoints(font, null, null);
                               ^

> Task :poi:forbiddenApisTest
> Task :poi:forbiddenApis

> Task :poi-scratchpad:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/sprm/TestSprms.java>:77:
 warning: [deprecation] getParagraphStyle(int) in StyleSheet has been deprecated
            assertEquals(1, 
hwpfDocument.getStyleSheet().getParagraphStyle(8).getJustification());
                                                        ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/sprm/TestSprms.java>:80:
 warning: [deprecation] getParagraphStyle(int) in StyleSheet has been deprecated
                assertEquals(1, 
hwpfDocument2.getStyleSheet().getParagraphStyle(8).getJustification());
                                                             ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/model/TestCHPBinTable.java>:53:
 warning: [deprecation] writeTo(HWPFFileSystem,int,CharIndexTranslator) in 
CHPBinTable has been deprecated
    _cHPBinTable.writeTo(fileSys, 0, fakeTPT);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/model/TestSectionTable.java>:50:
 warning: [deprecation] writeTo(HWPFFileSystem,int) in SectionTable has been 
deprecated
    sectionTable.writeTo(fileSys, 0);
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/model/TestFontTable.java>:47:
 warning: [deprecation] writeTo(HWPFFileSystem) in FontTable has been deprecated
    _fontTable.writeTo(fileSys);
              ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestBug49820.java>:64:
 warning: [deprecation] getParagraphStyle(int) in StyleSheet has been deprecated
    assertEquals(expectedStyleLvl, 
styleSheet.getParagraphStyle(par.getStyleIndex()).getLvl());
                                             ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestHWPFOldDocument.java>:186:
 warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
        for (String p : ex.getParagraphText()) {
                          ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestHWPFOldDocument.java>:203:
 warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
        for (String p : ex.getParagraphText()) {
                          ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestHWPFOldDocument.java>:240:
 warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
        for (String p : ex.getParagraphText()) {
                          ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractorBugs.java>:56:
 warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
                assertNotNull(extractor.getParagraphText());
                                       ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java>:190:
 warning: [deprecation] getHeaderText() in WordExtractor has been deprecated
        assertEquals("First header column!\tMid header Right header!\n", 
extractor1.getHeaderText());
                                                                                
   ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java>:200:
 warning: [deprecation] getHeaderText() in WordExtractor has been deprecated
        assertEquals("This is a simple header, with a \u20ac euro symbol in 
it.\n\n", extractor2.getHeaderText());
                                                                                
                ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java>:213:
 warning: [deprecation] getFooterText() in WordExtractor has been deprecated
        assertEquals("Footer Left\tFooter Middle Footer Right\n", 
extractor1.getFooterText());
                                                                            ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java>:223:
 warning: [deprecation] getFooterText() in WordExtractor has been deprecated
        assertEquals("The footer, with Moli\u00e8re, has Unicode in it.\n", 
extractor2.getFooterText());
                                                                                
      ^
15 warnings

> Task :poi-scratchpad:compileTest9 SKIPPED
> Task :poi-scratchpad:cacheTest9 NO-SOURCE
> Task :poi-scratchpad:testClasses

> Task :poi:test
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
--illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
--illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
--illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
--illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
--illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
--illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
--illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
--illegal-access=warn; support was removed in 17.0
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
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
--illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
--illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
--illegal-access=warn; support was removed in 17.0
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
--illegal-access=warn; support was removed in 17.0
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
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-scratchpad:testJar
> Task :poi-scratchpad:forbiddenApisTest
> Task :poi-scratchpad:forbiddenApis

> Task :poi-scratchpad:test
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
--illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
--illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
--illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
--illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
--illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
--illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
--illegal-access=warn; support was removed in 17.0
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
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-scratchpad:spotbugsMain
> Task :poi:spotbugsMain
> Task :poi:spotbugsTest

WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by 
edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue 
(file:/home/jenkins/.gradle/caches/modules-2/files-2.1/com.github.spotbugs/spotbugs/4.5.0/6bc031deec8506968417da46ba4367d159b99d76/spotbugs-4.5.0.jar)
WARNING: Please consider reporting this to the maintainers of 
edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue
WARNING: System::setSecurityManager will be removed in a future release

> Task :poi-scratchpad:spotbugsTest

WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by 
edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue 
(file:/home/jenkins/.gradle/caches/modules-2/files-2.1/com.github.spotbugs/spotbugs/4.5.0/6bc031deec8506968417da46ba4367d159b99d76/spotbugs-4.5.0.jar)
WARNING: Please consider reporting this to the maintainers of 
edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue
WARNING: System::setSecurityManager will be removed in a future release

> Task :poi:test
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by 
org.apache.poi.poifs.dev.TestPOIFSDump 
(<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/build/classes/java/test/)>
WARNING: Please consider reporting this to the maintainers of 
org.apache.poi.poifs.dev.TestPOIFSDump
WARNING: System::setSecurityManager will be removed in a future release

WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by 
edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue 
(file:/home/jenkins/.gradle/caches/modules-2/files-2.1/com.github.spotbugs/spotbugs/4.5.0/6bc031deec8506968417da46ba4367d159b99d76/spotbugs-4.5.0.jar)
WARNING: Please consider reporting this to the maintainers of 
edu.umd.cs.findbugs.ba.jsr305.TypeQualifierValue
WARNING: System::setSecurityManager will be removed in a future release

> Task :poi-scratchpad:test
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
--illegal-access=warn; support was removed in 17.0
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
--illegal-access=warn; support was removed in 17.0
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
--illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
--illegal-access=warn; support was removed in 17.0
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
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option 
--illegal-access=warn; support was removed in 17.0
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports
WARNING: Unknown module: org.junit.platform.commons specified to --add-exports

> Task :poi:test

TestIndirectFunctionFromSpreadsheet > processFunctionRow(String, String, 
HSSFSheet, int, HSSFFormulaEvaluator, int) > 
org.apache.poi.ss.formula.functions.TestIndirectFunctionFromSpreadsheet.processFunctionRow(String,
 String, HSSFSheet, int, HSSFFormulaEvaluator, int)[5] FAILED
    org.opentest4j.AssertionFailedError at AssertionUtils.java:55

TestIndirectFunctionFromSpreadsheet > processFunctionRow(String, String, 
HSSFSheet, int, HSSFFormulaEvaluator, int) > 
org.apache.poi.ss.formula.functions.TestIndirectFunctionFromSpreadsheet.processFunctionRow(String,
 String, HSSFSheet, int, HSSFFormulaEvaluator, int)[6] FAILED
    org.opentest4j.AssertionFailedError at AssertionUtils.java:55

TestIndirectFunctionFromSpreadsheet > processFunctionRow(String, String, 
HSSFSheet, int, HSSFFormulaEvaluator, int) > 
org.apache.poi.ss.formula.functions.TestIndirectFunctionFromSpreadsheet.processFunctionRow(String,
 String, HSSFSheet, int, HSSFFormulaEvaluator, int)[8] FAILED
    org.opentest4j.AssertionFailedError at AssertionUtils.java:55

TestIndirectFunctionFromSpreadsheet > processFunctionRow(String, String, 
HSSFSheet, int, HSSFFormulaEvaluator, int) > 
org.apache.poi.ss.formula.functions.TestIndirectFunctionFromSpreadsheet.processFunctionRow(String,
 String, HSSFSheet, int, HSSFFormulaEvaluator, int)[9] FAILED
    org.opentest4j.AssertionFailedError at AssertionUtils.java:55

TestIndirectFunctionFromSpreadsheet > processFunctionRow(String, String, 
HSSFSheet, int, HSSFFormulaEvaluator, int) > 
org.apache.poi.ss.formula.functions.TestIndirectFunctionFromSpreadsheet.processFunctionRow(String,
 String, HSSFSheet, int, HSSFFormulaEvaluator, int)[11] FAILED
    org.opentest4j.AssertionFailedError at AssertionUtils.java:39

> Task :poi-scratchpad:spotbugsTest
41 SpotBugs violations were found.See the report at: 
file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/build/reports/spotbugs/test.xml>

> Task :poi-scratchpad:spotbugsMain
672 SpotBugs violations were found.See the report at: 
file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/build/reports/spotbugs/main.xml>

> Task :poi-ooxml-full:compileJava9 SKIPPED
> Task :poi-ooxml-full:cacheJava9 NO-SOURCE
> Task :poi-ooxml-full:processResources NO-SOURCE
> Task :poi-ooxml-full:classes
> Task :poi-scratchpad:jacocoTestReport
> Task :poi-scratchpad:check
> Task :poi-ooxml-full:sourceJar

> Task :poi:test

6810 tests completed, 5 failed, 28 skipped

> Task :poi:test FAILED
> Task :poi-ooxml-full:jar

> Task :poi:spotbugsTest
448 SpotBugs violations were found.See the report at: 
file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/build/reports/spotbugs/test.xml>

> Task :poi:spotbugsMain
442 SpotBugs violations were found.See the report at: 
file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/build/reports/spotbugs/main.xml>

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':poi:test'.
> There were failing tests. See the report at: 
> file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/build/reports/tests/test/index.html>

* 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.4/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 4m 3s
55 actionable tasks: 53 executed, 2 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'
Archiving artifacts
Recording test results
[Checks API] No suitable checks publisher found.

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

Reply via email to