See <https://ci-builds.apache.org/job/POI/job/POI-DSL-Windows-1.18/21/display/redirect?page=changes>
Changes: [Dominik Stadler] Improve error message if formula cannot be parsed [Dominik Stadler] Add reproducer for possible OOM when reading pictures in XWPF [Dominik Stadler] Fix issues found when fuzzing Apache POI via Jazzer Throw RecordFormatException instead of NPE or assertion for cases that can be triggered by a malformed document [Dominik Stadler] Prevent one more case of allocating endlessly on invalid TNEF/HMEF/MAPI files Limit the number of attributes to 10,000 by default [Dominik Stadler] Bug 65854: Use revert() instead of close() when OPCPackage is opened read-only Also add tests, however it is not possible to verify that no logging takes place, so you have to use debugging to verify it. [Dominik Stadler] Fix issues found when fuzzing Apache POI via Jazzer Replace assertions with actual checks when input-data can trigger them. We would not handle such input-data properly otherwise. Sometimes logging seems a better option if the issue is not blocking us from parsing the document anyway ------------------------------------------ [...truncated 8.69 KB...] U doap_POI.rdf U osgi\pom.xml AU test-data\spreadsheet\WidthsAndHeights.xlsx AU test-data\slideshow\rain.pptx U gradle\wrapper\gradle-wrapper.properties U poi-ooxml-lite-agent\build.gradle U poi-excelant\build.gradle U poi-integration\build.gradle U poi-integration\src\test\java\org\apache\poi\stress\AbstractFileHandler.java U poi-integration\src\test\java\org\apache\poi\stress\FileHandlerKnown.java U poi-integration\src\test\java\org\apache\poi\stress\TestAllFiles.java U file-leak-detector.exclude U .github\workflows\test-gradle.yml U jenkins\create_jobs.groovy U poi-examples\build.gradle U poi-ooxml-full\build.gradle U poi-ooxml-lite\build.gradle <-- Got one external: documentation, svn url: https://svn.apache.org/repos/asf/poi/site/src/documentation --> Fetching 'https://svn.apache.org/repos/asf/poi/site/src/documentation' at -1 into 'F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.18\src\documentation' U src\documentation\content\xdocs\changes.xml U src\documentation\content\xdocs\components\hmef\index.xml U src\documentation\content\xdocs\components\poi-jvm-languages.xml U src\documentation\content\xdocs\components\slideshow\ppt-wmf-emf-renderer.xml U src\documentation\content\xdocs\components\spreadsheet\examples.xml U src\documentation\content\xdocs\download.xml U src\documentation\content\xdocs\help\faq.xml U src\documentation\content\xdocs\index.xml U src\documentation\content\xdocs\related-projects.xml At revision 1899075 <-- Got one external: forrest.properties, svn url: https://svn.apache.org/repos/asf/poi/site/forrest.properties --> Fetching 'https://svn.apache.org/repos/asf/poi/site/forrest.properties' at -1 into 'F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.18\forrest.properties' At revision 1899075 At revision 1899075 No changes for https://svn.apache.org/repos/asf/poi/site/src/documentation since the previous build No changes for https://svn.apache.org/repos/asf/poi/site/forrest.properties since the previous build [POI-DSL-Windows-1.18] $ cmd /c call F:\jenkins\jenkins-slave\temp\jenkins1686045439946915417.bat X forrest.properties M poi\src\main\java9\module-info.class M poi\src\test\java9\module-info.class M poi-examples\src\main\java9\module-info.class M poi-excelant\src\main\java9\module-info.class M poi-excelant\src\test\java9\module-info.class M poi-integration\src\test\java9\module-info.class M poi-ooxml\src\main\java9\module-info.class M poi-ooxml\src\test\java9\module-info.class M poi-ooxml-full\src\main\java9\module-info.class M poi-ooxml-lite\src\main\java9\module-info.class M poi-ooxml-lite-agent\src\main\java9\module-info.class M poi-scratchpad\src\main\java9\module-info.class M poi-scratchpad\src\test\java9\module-info.class X src\documentation Performing status on external item at 'src\documentation': svn: E155010: The node 'F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.18\poi*\src\*' was not found. Java-Home: f:\\jenkins\\tools\\java\\latest18 Volume in drive F is data Volume Serial Number is FEB9-6BE4 Directory of f:\jenkins\tools\java\latest18 01/11/2022 02:11 PM <DIR> . 01/11/2022 02:11 PM <DIR> .. 01/11/2022 02:11 PM <DIR> bin 01/11/2022 02:11 PM <DIR> conf 01/11/2022 02:11 PM <DIR> include 01/11/2022 02:11 PM <DIR> jmods 01/11/2022 02:11 PM <DIR> legal 01/11/2022 02:11 PM <DIR> lib 12/08/2021 12:01 PM 1,237 release 1 File(s) 1,237 bytes 8 Dir(s) 1,238,804,017,152 bytes free openjdk version "18-ea" 2022-03-22 OpenJDK Runtime Environment (build 18-ea+27-1924) OpenJDK 64-Bit Server VM (build 18-ea+27-1924, mixed mode, sharing) [Gradle] - Launching build. [POI-DSL-Windows-1.18] $ cmd.exe /C "<https://ci-builds.apache.org/job/POI/job/POI-DSL-Windows-1.18/ws/gradlew.bat> -PjdkVersion=18 clean jenkins && exit %%ERRORLEVEL%%" Downloading https://services.gradle.org/distributions/gradle-7.4.1-bin.zip ...........10%...........20%...........30%...........40%...........50%...........60%...........70%...........80%...........90%...........100% Welcome to Gradle 7.4.1! Here are the highlights of this release: - Aggregated test and JaCoCo reports - Marking additional test source directories as tests in IntelliJ - Support for Adoptium JDKs in Java toolchains For more details see https://docs.gradle.org/7.4.1/release-notes.html Starting a Gradle Daemon (subsequent builds will be faster) 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 [Fatal Error] :1:38: Invalid encoding name "UTF8". > Task :poi-integration:clean > Task :poi-ooxml-lite-agent:clean > Task :poi-excelant:clean > Task :poi-integration:compileJava NO-SOURCE > Task :poi-integration:processResources NO-SOURCE > Task :poi-integration:classes UP-TO-DATE > Task :poi-examples:clean > Task :poi-examples:processResources NO-SOURCE > Task :poi-integration:processTestResources > Task :poi-excelant:processResources > Task :poi-excelant:processTestResources > Task :poi-integration:javadoc SKIPPED > Task :poi-integration:forbiddenApisMain NO-SOURCE > Task :poi-integration:spotbugsMain NO-SOURCE > Task :poi-examples:processTestResources NO-SOURCE > Task :poi-scratchpad:clean > Task :poi-ooxml:clean > Task :poi-ooxml:fixBatik > Task :clean > Task :poi-scratchpad:processResources > Task :poi-scratchpad:processTestResources NO-SOURCE > Task :replaceVersion > Task :poi-integration:jar > Task :poi-integration:javadocJar SKIPPED > Task :poi-integration:sourcesJar SKIPPED > Task :poi-integration:assemble > Task :poi-ooxml:processResources > Task :poi-ooxml:processTestResources > Task :poi-excelant:sourcesJar > Task :poi:clean > Task :poi:generateVersionJava > Task :poi-examples:sourcesJar > Task :poi-ooxml-full:clean > Task :poi-ooxml-lite:clean > Task :poi-ooxml-lite-agent:compileJava > Task :poi-ooxml-lite:processTestResources NO-SOURCE > Task :poi-scratchpad:sourcesJar > Task :poi-ooxml:sourcesJar > Task :poi:compileJava > Task :poi-ooxml-full:copy_xsds > Task :poi-ooxml-full:generate_beans [ant:xmlbean] ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console... > Task :poi-ooxml-lite-agent:compileJava9 SKIPPED > Task :poi-ooxml-lite-agent:cacheJava9 NO-SOURCE > 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.386 seconds > Task :poi:compileJava F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.18\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 F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.18\poi\src\main\java\org\apache\poi\common\usermodel\HyperlinkType.java:76: warning: [dep-ann] deprecated item is not annotated with @Deprecated int getCode() { ^ F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.18\poi\src\main\java\org\apache\poi\hssf\model\InternalWorkbook.java:1120: warning: [removal] AccessControlException in java.security has been deprecated and marked for removal } catch (AccessControlException e) { ^ F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.18\poi\src\main\java\org\apache\poi\hssf\record\NameRecord.java:466: warning: [deprecation] readAllContinuedRemainder() in RecordInputStream has been deprecated byte[] remainder = ris.readAllContinuedRemainder(); ^ F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.18\poi\src\main\java\org\apache\poi\hssf\record\AbstractEscherHolderRecord.java:62: warning: [deprecation] readAllContinuedRemainder() in RecordInputStream has been deprecated byte[] data = in.readAllContinuedRemainder(); ^ F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.18\poi\src\main\java\org\apache\poi\hssf\usermodel\HSSFSheet.java:1493: warning: [dep-ann] deprecated item is not annotated with @Deprecated protected void shiftMerged(int startRow, int endRow, int n, boolean isRow) { ^ F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.18\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) { ^ F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.18\poi\src\main\java\org\apache\poi\ss\usermodel\CellType.java:69: warning: [dep-ann] deprecated item is not annotated with @Deprecated private final int code; ^ F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.18\poi\src\main\java\org\apache\poi\ss\usermodel\CellType.java:75: warning: [dep-ann] deprecated item is not annotated with @Deprecated private CellType(int code) { ^ F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.18\poi\src\main\java\org\apache\poi\ss\usermodel\CellType.java:83: warning: [dep-ann] deprecated item is not annotated with @Deprecated public static CellType forInt(int code) { ^ F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.18\poi\src\main\java\org\apache\poi\ss\usermodel\CellType.java:96: warning: [dep-ann] deprecated item is not annotated with @Deprecated public int getCode() { ^ F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.18\poi\src\main\java\org\apache\poi\ss\formula\BaseFormulaEvaluator.java:225: warning: [deprecation] setCellType(CellType) in Cell has been deprecated cell.setCellType(cellType); ^ F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.18\poi\src\main\java\org\apache\poi\hssf\record\RecordFactoryInputStream.java:335: warning: [deprecation] processContinueRecord(byte[]) in DrawingRecord has been deprecated _lastDrawingRecord.processContinueRecord(contRec.getData()); ^ F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.18\poi\src\main\java\org\apache\poi\poifs\nio\CleanerUtil.java:78: warning: [removal] AccessController in java.security has been deprecated and marked for removal final Object hack = AccessController.doPrivileged( ^ F:\jenkins\jenkins-slave\712657a4\workspace\POI\POI-DSL-Windows-1.18\poi\src\main\java\org\apache\poi\poifs\nio\CleanerUtil.java:178: warning: [removal] AccessController in java.security has been deprecated and marked for removal final Throwable error = AccessController.doPrivileged( ^ > Task :poi-ooxml-full:generate_beans Time to generate code: 34.626 seconds > Task :poi:compileJava 15 warnings FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':poi-ooxml-lite-agent:forbiddenApisMain'. > IO problem while reading files with API signatures. * 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.1/userguide/command_line_interface.html#sec:command_line_warnings BUILD FAILED in 2m 34s 31 actionable tasks: 31 executed 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 ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error? --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org