See <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/347/display/redirect?page=changes>
Changes: [PJ Fanning] add npv tests [PJ Fanning] add npv tests (including a commented out one that fails) ------------------------------------------ [...truncated 36.85 KB...] sectionTable.writeTo(fileSys, 0); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/model/TestFontTable.java>:47: warning: [deprecation] writeTo(org.apache.poi.hwpf.model.io.HWPFFileSystem) in org.apache.poi.hwpf.model.FontTable has been deprecated _fontTable.writeTo(fileSys); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestBug49820.java>:64: warning: [deprecation] getParagraphStyle(int) in org.apache.poi.hwpf.model.StyleSheet has been deprecated assertEquals(expectedStyleLvl, styleSheet.getParagraphStyle(par.getStyleIndex()).getLvl()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestHWPFOldDocument.java>:186: warning: [deprecation] getParagraphText() in org.apache.poi.hwpf.extractor.Word6Extractor has been deprecated for (String p : ex.getParagraphText()) { ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestHWPFOldDocument.java>:203: warning: [deprecation] getParagraphText() in org.apache.poi.hwpf.extractor.Word6Extractor has been deprecated for (String p : ex.getParagraphText()) { ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/usermodel/TestHWPFOldDocument.java>:240: warning: [deprecation] getParagraphText() in org.apache.poi.hwpf.extractor.Word6Extractor has been deprecated for (String p : ex.getParagraphText()) { ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractorBugs.java>:56: warning: [deprecation] getParagraphText() in org.apache.poi.hwpf.extractor.Word6Extractor has been deprecated assertNotNull(extractor.getParagraphText()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java>:190: warning: [deprecation] getHeaderText() in org.apache.poi.hwpf.extractor.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.8/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java>:200: warning: [deprecation] getHeaderText() in org.apache.poi.hwpf.extractor.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.8/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java>:213: warning: [deprecation] getFooterText() in org.apache.poi.hwpf.extractor.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.8/ws/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestWordExtractor.java>:223: warning: [deprecation] getFooterText() in org.apache.poi.hwpf.extractor.WordExtractor has been deprecated assertEquals("The footer, with Moli\u00e8re, has Unicode in it.\n", extractor2.getFooterText()); ^ 15 warnings > Task :poi-scratchpad:processTestResources NO-SOURCE > Task :poi-scratchpad:testClasses > Task :poi-scratchpad:testJar > Task :poi-ooxml:compileTestJava <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xddf/usermodel/chart/TestXDDFChartRemoveSeries.java>:129: warning: [deprecation] getSeries() in org.apache.poi.xddf.usermodel.chart.XDDFChartData has been deprecated assertThrows(UnsupportedOperationException.class, () -> chartData.getSeries().remove(0)); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:203: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated assertEquals(7, run.getFontSize()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:211: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated assertEquals(25, run.getFontSize()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:589: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated assertEquals(-1, run.getFontSize()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:592: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated assertEquals(10, run.getFontSize()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:595: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated assertEquals(Short.MAX_VALUE - 1, run.getFontSize()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:598: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated assertEquals(Short.MAX_VALUE, run.getFontSize()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:601: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated assertEquals(Short.MAX_VALUE + 1, run.getFontSize()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:604: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated assertEquals(Integer.MAX_VALUE - 1, run.getFontSize()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:607: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated assertEquals(Integer.MAX_VALUE, run.getFontSize()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:610: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated assertEquals(-1, run.getFontSize()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/src/test/java/org/apache/poi/xwpf/usermodel/TestXWPFRun.java>:658: warning: [deprecation] getFontSize() in org.apache.poi.xwpf.usermodel.XWPFRun has been deprecated assertEquals(10, run.getFontSize()); ^ 12 warnings > Task :poi-ooxml:processTestResources > Task :poi-ooxml:testClasses > Task :poi-ooxml:testJar > Task :poi-integration:compileTestJava > Task :poi-integration:compileTest9 SKIPPED > Task :poi-integration:cacheTest9 NO-SOURCE > Task :poi-integration:processTestResources > Task :poi-integration:testClasses > Task :poi-integration:testJar > Task :allJavaDoc <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/blip/Bitmap.java>:49: warning - Tag @link: can't find addPicture(byte[], PictureType) in org.apache.poi.hslf.usermodel.HSLFSlideShow <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/blip/DIB.java>:48: warning - Tag @link: can't find addPicture(byte[], PictureType) in org.apache.poi.hslf.usermodel.HSLFSlideShow <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/blip/EMF.java>:49: warning - Tag @link: can't find addPicture(byte[], PictureType) in org.apache.poi.hslf.usermodel.HSLFSlideShow <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/blip/JPEG.java>:43: warning - Tag @link: can't find addPicture(byte[], PictureType) in org.apache.poi.hslf.usermodel.HSLFSlideShow <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/blip/Metafile.java>:52: warning - Tag @link: can't find addPicture(byte[], PictureType) in org.apache.poi.hslf.usermodel.HSLFSlideShow <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/blip/PICT.java>:54: warning - Tag @link: can't find addPicture(byte[], PictureType) in org.apache.poi.hslf.usermodel.HSLFSlideShow <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/blip/PNG.java>:39: warning - Tag @link: can't find addPicture(byte[], PictureType) in org.apache.poi.hslf.usermodel.HSLFSlideShow <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/blip/WMF.java>:49: warning - Tag @link: can't find addPicture(byte[], PictureType) in org.apache.poi.hslf.usermodel.HSLFSlideShow <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFPictureData.java>:119: warning - Tag @link: can't find addPicture(byte[], PictureType) in org.apache.poi.hslf.usermodel.HSLFSlideShow <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFPictureData.java>:261: warning - Tag @link: can't find addPicture(byte[], PictureType) in org.apache.poi.hslf.usermodel.HSLFSlideShow 10 warnings > Task :zipJavadocs > Task :poi-integration:test > Task :poi-ooxml:test > Task :poi-excelant:compileJava > Task :poi-excelant:compileJava9 SKIPPED > Task :poi-excelant:cacheJava9 NO-SOURCE > Task :poi-excelant:processResources > Task :poi-excelant:classes > Task :poi-excelant:jar > Task :poi-excelant:javadoc javadoc: warning - Error fetching URL: https://xmlbeans.apache.org/docs/5.0.0/ 1 warning > Task :poi-excelant:javadocJar > Task :poi-excelant:sourcesJar > Task :poi-excelant:assemble > Task :poi-excelant:forbiddenApisMain UP-TO-DATE > Task :poi-excelant:compileTestJava > Task :poi-excelant:processTestResources > Task :poi-excelant:testClasses > Task :poi-excelant:forbiddenApisTest > Task :poi-excelant:forbiddenApis > Task :poi-excelant:compileTest9 SKIPPED > Task :poi-excelant:cacheTest9 NO-SOURCE > Task :poi-excelant:testJar > Task :poi-excelant:spotbugsMain 4 SpotBugs violations were found. See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-excelant/build/reports/spotbugs/main.xml> > Task :poi-excelant:spotbugsTest 4 SpotBugs violations were found. See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-excelant/build/reports/spotbugs/test.xml> > Task :poi-excelant:test > Task :poi-excelant:check > Task :poi-excelant:build > 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:forbiddenApisTest > Task :poi-integration:forbiddenApis > Task :poi-integration:spotbugsMain NO-SOURCE > Task :poi-ooxml:javadoc javadoc: warning - Error fetching URL: https://xmlbeans.apache.org/docs/5.0.0/ > Task :poi-integration:spotbugsTest 5 SpotBugs violations were found. See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-integration/build/reports/spotbugs/test.xml> > Task :poi-ooxml:javadoc 1 warning > Task :poi-integration:check > Task :poi-integration:build > Task :poi-ooxml:javadocJar > Task :poi-ooxml:sourcesJar > Task :poi-ooxml:assemble > Task :poi-ooxml:forbiddenApisMain UP-TO-DATE > Task :poi-ooxml:forbiddenApisTest > Task :poi-ooxml:forbiddenApis > Task :replaceVersion > Task :poi-ooxml:compileJava9 SKIPPED > Task :poi-ooxml:cacheJava9 NO-SOURCE > Task :poi-ooxml:compileTest9 SKIPPED > Task :poi-ooxml:cacheTest9 NO-SOURCE > Task :poi-ooxml-full:compileJava9 SKIPPED > Task :poi-ooxml-full:cacheJava9 NO-SOURCE > Task :poi-ooxml-lite-agent:compileJava9 SKIPPED > Task :poi-ooxml-lite-agent:cacheJava9 NO-SOURCE > Task :poi-scratchpad:compileJava9 SKIPPED > Task :poi-scratchpad:cacheJava9 NO-SOURCE > Task :poi-scratchpad:compileTest9 SKIPPED > Task :poi-scratchpad:cacheTest9 NO-SOURCE > Task :poi:javadoc javadoc: warning - Error fetching URL: https://xmlbeans.apache.org/docs/5.0.0/ 1 warning > Task :poi-ooxml:spotbugsMain > Task :poi-ooxml:spotbugsTest > Task :poi:javadocJar > Task :poi:sourcesJar Execution optimizations have been disabled for task ':poi:sourcesJar' to ensure correctness due to the following reasons: - Gradle detected a problem with the following location: '<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/build/generated-sources'.> Reason: Task ':poi:sourcesJar' uses this output of task ':poi:generateVersionJava' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#implicit_dependency for more details about this problem. > Task :poi:assemble > Task :poi:forbiddenApisMain UP-TO-DATE > Task :poi:forbiddenApisTest > Task :poi:forbiddenApis > Task :poi-ooxml:spotbugsTest 52 SpotBugs violations were found. See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/build/reports/spotbugs/test.xml> > Task :poi:spotbugsMain > Task :poi:spotbugsTest > Task :poi:test > Task :poi-ooxml:spotbugsMain 579 SpotBugs violations were found. See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi-ooxml/build/reports/spotbugs/main.xml> > Task :poi:test TestFinanceLib > testMicrosoftNpvExample2() FAILED org.opentest4j.AssertionFailedError at TestFinanceLib.java:155 > Task :poi:spotbugsTest 109 SpotBugs violations were found. See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/build/reports/spotbugs/test.xml> > Task :poi:spotbugsMain 439 SpotBugs violations were found. See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/ws/poi/build/reports/spotbugs/main.xml> > Task :poi:test 7066 tests completed, 1 failed, 26 skipped > Task :poi:test FAILED 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.8/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.2/userguide/command_line_interface.html#sec:command_line_warnings Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness. Please consult deprecation warnings for more details. BUILD FAILED in 39m 50s 78 actionable tasks: 75 executed, 3 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: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org