See
<https://ci-builds.apache.org/job/POI/job/POI-DSL-Windows-1.17/927/display/redirect?page=changes>
Changes:
[github] Add fuzz targets for OSS-Fuzz integration (RLE + FormulaParser) (#1020)
[Dominik Stadler] Log instead of assertion when handling a slightly corrupted
wmf-file
[Dominik Stadler] Move fuzz-targets from oss-fuzz to Apache POI
------------------------------------------
[...truncated 827.13 KiB...]
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xssf\streaming\TestSXSSFWorkbookWithNullAutoSizeTracker.java:494:
warning: [deprecation] dispose() in SXSSFWorkbook has been deprecated
wb.dispose();
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xssf\streaming\TestSXSSFWorkbookWithNullAutoSizeTracker.java:651:
warning: [deprecation] dispose() in SXSSFWorkbook has been deprecated
assertTrue(wb.dispose());
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xssf\usermodel\TestSXSSFBugs.java:195:
warning: [deprecation] dispose() in SXSSFWorkbook has been deprecated
workbook.dispose();
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xssf\usermodel\TestUnfixedBugs.java:212:
warning: [deprecation] BORDER_BOTTOM in CellUtil has been deprecated
CellUtil.setCellStyleProperty(cell0, CellUtil.BORDER_BOTTOM,
BorderStyle.THIN);
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xssf\usermodel\TestUnfixedBugs.java:212:
warning: [deprecation] setCellStyleProperty(Cell,String,Object) in CellUtil
has been deprecated
CellUtil.setCellStyleProperty(cell0, CellUtil.BORDER_BOTTOM,
BorderStyle.THIN);
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xssf\usermodel\TestUnfixedBugs.java:214:
warning: [deprecation] BORDER_BOTTOM in CellUtil has been deprecated
CellUtil.setCellStyleProperty(cell1, CellUtil.BORDER_BOTTOM,
BorderStyle.THIN);
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xssf\usermodel\TestUnfixedBugs.java:214:
warning: [deprecation] setCellStyleProperty(Cell,String,Object) in CellUtil
has been deprecated
CellUtil.setCellStyleProperty(cell1, CellUtil.BORDER_BOTTOM,
BorderStyle.THIN);
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xssf\usermodel\TestXSSFBugs.java:2798:
warning: [deprecation] BORDER_BOTTOM in CellUtil has been deprecated
properties.put(CellUtil.BORDER_BOTTOM, BorderStyle.THIN);
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xssf\usermodel\TestXSSFBugs.java:2799:
warning: [deprecation] setCellStyleProperties(Cell,Map<String,Object>) in
CellUtil has been deprecated
CellUtil.setCellStyleProperties(cell, properties);
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xssf\usermodel\TestXSSFComment.java:360:
warning: [deprecation] dispose() in SXSSFWorkbook has been deprecated
workbook.dispose();
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xssf\usermodel\TestXSSFComment.java:375:
warning: [deprecation] dispose() in SXSSFWorkbook has been deprecated
workbook.dispose();
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xssf\usermodel\TestXSSFComment.java:390:
warning: [deprecation] dispose() in SXSSFWorkbook has been deprecated
workbook.dispose();
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xssf\usermodel\TestXSSFComment.java:405:
warning: [deprecation] dispose() in SXSSFWorkbook has been deprecated
workbook.dispose();
^
> Task :poi:javadocJar
> Task :poi-examples:javadoc
> Task :poi-ooxml:compileTestJava
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xssf\usermodel\TestXSSFSheet.java:309:
warning: [deprecation] createSplitPane(int,int,int,int,int) in XSSFSheet has
been deprecated
sheet.createSplitPane(4, 8, 12, 12,
PaneInformation.PANE_LOWER_RIGHT + 1);
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xssf\usermodel\TestXSSFWorkbook.java:1421:
warning: [removal] getCTExternalLink() in ExternalLinksTable has been
deprecated and marked for removal
CTExternalLink link =
workbook2.getExternalLinksTable(0).getCTExternalLink();
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-ooxml\src\test\java\org\apache\poi\xwpf\usermodel\TestXWPFRun.java:242:
warning: [deprecation] getFontSize() in XWPFRun has been deprecated
assertEquals(7, run.getFontSize());
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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());
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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());
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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());
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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());
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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());
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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());
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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());
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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());
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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());
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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());
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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());
^
95 warnings
> Task :poi-ooxml:compileTest9 FROM-CACHE
> Task :poi-ooxml:testClasses
> Task :poi-examples:javadocJar
> Task :poi-examples:assemble
> Task :poi-ooxml:testJar
> Task :poi-examples:forbiddenApisMain
> Task :poi-integration:compileTestJava
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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-excelant:compileTestJava FROM-CACHE
> Task :poi-integration:testJar
> Task :poi-excelant:compileTest9 FROM-CACHE
> Task :poi-examples:compileTestJava
> Task :poi-examples:testClasses
> Task :poi-examples:forbiddenApisTest
> Task :poi-examples:forbiddenApis
> Task :poi-fuzz:compileJava
> Task :soLinkCheck
> Task :poi-examples:spotbugsMain
> Task :poi-examples:spotbugsTest
> Task :poi-examples:test
OpenJDK 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-examples:spotbugsMain
M V EI2: new org.apache.poi.examples.hwpf.Word2Forrest(HWPFDocument,
OutputStream) may expose internal representation by storing an externally
mutable object into Word2Forrest._doc At Word2Forrest.java:[line 46]
M D FE: Test for floating point equality in
org.apache.poi.examples.xwpf.usermodel.UpdateEmbeddedDoc.checkUpdatedDoc() At
UpdateEmbeddedDoc.java:[line 165]
M B CT: Exception thrown in class
org.apache.poi.examples.xwpf.usermodel.UpdateEmbeddedDoc at new
org.apache.poi.examples.xwpf.usermodel.UpdateEmbeddedDoc(String) will leave the
constructor. The object under construction remains partially initialized and
may be vulnerable to Finalizer attacks. At UpdateEmbeddedDoc.java:[line 77]
M V EI2:
org.apache.poi.examples.hssf.usermodel.EventExample.processRecord(Record) may
expose internal representation by storing an externally mutable object into
EventExample.sstrec At EventExample.java:[line 80]
M D SF: Switch statement found in
org.apache.poi.examples.hssf.usermodel.EventExample.processRecord(Record) where
default case is missing At EventExample.java:[lines 50-88]
M V EI2: new
org.apache.poi.examples.hssf.eventusermodel.XLS2CSVmra(POIFSFileSystem,
PrintStream, int) may expose internal representation by storing an externally
mutable object into XLS2CSVmra.output At XLS2CSVmra.java:[line 92]
M V EI2:
org.apache.poi.examples.hssf.eventusermodel.XLS2CSVmra.processRecord(Record)
may expose internal representation by storing an externally mutable object into
XLS2CSVmra.sstRecord At XLS2CSVmra.java:[line 172]
M V EI2: new
org.apache.poi.examples.hssf.eventusermodel.XLS2CSVmra(POIFSFileSystem,
PrintStream, int) may expose internal representation by storing an externally
mutable object into XLS2CSVmra.fs At XLS2CSVmra.java:[line 91]
M B CT: Exception thrown in class
org.apache.poi.examples.ss.LinkedDropDownLists at new
org.apache.poi.examples.ss.LinkedDropDownLists(String) will leave the
constructor. The object under construction remains partially initialized and
may be vulnerable to Finalizer attacks. At LinkedDropDownLists.java:[line 107]
M C FL: Using floating-point loop counters can lead to unexpected behavior. At
OfficeDrawingWithGraphics.java:[line 93]
M V EI2: new org.apache.poi.examples.ss.html.HSSFHtmlHelper(HSSFWorkbook) may
expose internal representation by storing an externally mutable object into
HSSFHtmlHelper.wb At HSSFHtmlHelper.java:[line 38]
M V EI:
org.apache.poi.examples.hssf.usermodel.InCellLists$MultiLevelListItem.getLowerLevelItems()
may expose internal representation by returning
InCellLists$MultiLevelListItem.lowerLevelItems At InCellLists.java:[line 536]
M V EI2: new
org.apache.poi.examples.hssf.usermodel.InCellLists$MultiLevelListItem(String,
List) may expose internal representation by storing an externally mutable
object into InCellLists$MultiLevelListItem.lowerLevelItems At
InCellLists.java:[line 516]
M V EI2: new org.apache.poi.examples.xssf.eventusermodel.XLSX2CSV(OPCPackage,
PrintStream, int) may expose internal representation by storing an externally
mutable object into XLSX2CSV.xlsxPackage At XLSX2CSV.java:[line 181]
M V EI2: new org.apache.poi.examples.xssf.eventusermodel.XLSX2CSV(OPCPackage,
PrintStream, int) may expose internal representation by storing an externally
mutable object into XLSX2CSV.output At XLSX2CSV.java:[line 182]
M V EI2: new
org.apache.poi.examples.ss.formula.CheckFunctionsSupported(Workbook) may expose
internal representation by storing an externally mutable object into
CheckFunctionsSupported.workbook At CheckFunctionsSupported.java:[line 103]
M C UwF: Unwritten field:
org.apache.poi.examples.hssf.eventusermodel.XLS2CSVmra.workbookBuildingListener
At XLS2CSVmra.java:[line 151]
M P SS: Unread field:
org.apache.poi.examples.hssf.eventusermodel.XLS2CSVmra.outputFormulaValues;
should this field be static? At XLS2CSVmra.java:[line 64]
SpotBugs ended with exit code 1
> Task :poi-examples:test
[0K[1morg.apache.poi.examples.hssf.eventusermodel.TestXLS2CSVmra[22m
testProcessNumberRecord()[32m PASSED[31m (6.1s)[m
[0K[1morg.apache.poi.examples.hssf.eventusermodel.TestXLS2CSVmra[22m
testProcess()[32m PASSED[m
[0K[1morg.apache.poi.examples.hssf.eventusermodel.TestXLS2CSVmra[22m
test()[32m PASSED[m
[0K[1morg.apache.poi.examples.hssf.eventusermodel.TestXLS2CSVmra[22m
testWithMinCols()[32m PASSED[m
OpenJDK 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
[0K[1morg.apache.poi.integration.TestXLSX2CSV[22m testInvalidFile()[32m
PASSED[m
[0K[1morg.apache.poi.integration.TestXLSX2CSV[22m testNoArgument()[32m
PASSED[m
[0K[1morg.apache.poi.integration.TestXLSX2CSV[22m microBenchmark()[33m
SKIPPED[m
> Task :poi-excelant:jar
> Task :poi-examples:test
[0K[1morg.apache.poi.integration.TestXLSX2CSV[22m testSampleFile()[32m
PASSED[31m (3.7s)[m
[0K[1morg.apache.poi.integration.TestXLSX2CSV[22m testMinColumns()[32m
PASSED[m
[0K[1morg.apache.poi.integration.TestXLSX2CSV[22m
testInvalidSampleFile()[32m PASSED[m
[0K[1morg.apache.poi.integration.TestXLSX2CSV[22m testDeepFile()[32m
PASSED[31m (6.3s)[m
[0K[1;32mSUCCESS: [39mExecuted 11 tests in 43.9s (1 skipped)[m
> Task :poi-examples:check
> Task :poi-examples:build
> Task :poi-examples:getDeps
> Task :poi-examples:jacocoTestReport
> Task :poi-fuzz:classes
> Task :poi-fuzz:jar
> Task :poi-fuzz:javadoc SKIPPED
> Task :poi-fuzz:javadocJar
> Task :poi-fuzz:assemble
> Task :poi-fuzz:forbiddenApisMain
> 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-excelant:javadoc
> Task :poi-fuzz:spotbugsMain
M D RV: Return value of org.apache.poi.hsmf.MAPIMessage.getAttachmentFiles()
ignored, but method has no side effect At POIHSMFFuzzer.java:[line 38]
M D DCN: Do not catch NullPointerException like in
org.apache.poi.fuzz.POIFileHandlerFuzzer.fuzzerTestOneInput(byte[]) At
POIFileHandlerFuzzer.java:[line 129]
M D DCN: Do not catch NullPointerException like in
org.apache.poi.fuzz.POIXSSFFuzzer.fuzzerTestOneInput(byte[]) At
POIXSSFFuzzer.java:[line 56]
M D RV: Return value of org.apache.poi.ooxml.POIXMLDocument.getPackage()
ignored, but method has no side effect At POIXWPFFuzzer.java:[line 46]
M D RV: Return value of
org.apache.poi.xwpf.usermodel.XWPFDocument.getBodyElementsIterator() ignored,
but method has no side effect At POIXWPFFuzzer.java:[line 52]
M D DCN: Do not catch NullPointerException like in
org.apache.poi.fuzz.POIVisioFuzzer.fuzzerTestOneInput(byte[]) At
POIVisioFuzzer.java:[line 45]
M D RV: Return value of
org.apache.poi.ooxml.extractor.POIXMLTextExtractor.getPackage() ignored, but
method has no side effect At POIFuzzer.java:[line 172]
SpotBugs ended with exit code 1
> Task :poi-fuzz:spotbugsTest NO-SOURCE
> Task :poi-fuzz:test SKIPPED
> Task :poi-fuzz:check
> Task :poi-fuzz:build
> Task :poi-fuzz:getDeps
> Task :poi-fuzz:jacocoTestReport SKIPPED
> Task :poi-integration:forbiddenApisTest
> Task :poi-integration:forbiddenApis
> Task :poi-integration:spotbugsTest
M D RV: Return value of org.apache.poi.extractor.POIOLE2TextExtractor.getRoot()
ignored, but method has no side effect At AbstractFileHandler.java:[line 113]
M D RV: Return value of
org.apache.poi.hwmf.record.HwmfText$WmfExtTextOut.getText(Charset) ignored, but
method has no side effect At HWMFFileHandler.java:[line 55]
M D RV: Return value of
org.apache.poi.hwmf.record.HwmfRecord.getWmfRecordType() ignored, but method
has no side effect At HWMFFileHandler.java:[line 75]
M D RV: Return value of
org.apache.poi.hwmf.record.HwmfRecord.getGenericRecordType() ignored, but
method has no side effect At HWMFFileHandler.java:[line 76]
M D RV: Return value of
org.apache.poi.hemf.record.emf.HemfText$EmfExtTextOutA.getText(Charset)
ignored, but method has no side effect At HEMFFileHandler.java:[line 47]
M V MS: org.apache.poi.stress.AbstractFileHandler.EXPECTED_EXTRACTOR_FAILURES
is a mutable collection which should be package protected At
AbstractFileHandler.java:[line 47]
M V MS: org.apache.poi.stress.TestAllFiles.SCAN_EXCLUDES should be package
protected At TestAllFiles.java:[line 86]
M V MS: org.apache.poi.stress.TestAllFiles.SCAN_EXCLUDES_NOSCRATCHPAD should be
package protected At TestAllFiles.java:[line 111]
SpotBugs ended with exit code 1
> Task :poi-excelant:javadoc
error: Error fetching URL:
https://www.javadocs.dev/org.apache.commons/commons-compress/1.28.0/
(java.io.IOException: Server returned HTTP response code: 503 for URL:
https://www.javadocs.dev/org.apache.commons/commons-compress/1.28.0/package-list)
1 error
> Task :poi-excelant:javadoc FAILED
> Task :rat
> Task :srcDistTar
> Task :fixDistDir
[Incubating] Problems report is available at:
file:///F:/jenkins/jenkins-home/712657a4/workspace/POI/POI-DSL-Windows-1.17/build/reports/problems/problems-report.html
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':poi-excelant:javadoc'.
> Javadoc generation failed. Generated Javadoc options file (useful for
> troubleshooting):
> 'F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-excelant\build\tmp\javadoc\javadoc.options'
* 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 9.0.
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/8.14.3/userguide/command_line_interface.html#sec:command_line_warnings
in the Gradle documentation.
BUILD FAILED in 21m 53s
117 actionable tasks: 87 executed, 25 from cache, 5 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]