See <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/562/display/redirect?page=changes>
Changes: [PJ Fanning] spotbugs upgrade ------------------------------------------ [...truncated 34.06 KB...] <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:385: warning: [deprecation] setCellType(CellType) in Cell has been deprecated cell.setCellType(CellType.STRING); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:389: warning: [deprecation] setCellType(CellType) in Cell has been deprecated cell.setCellType(CellType.BOOLEAN); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:391: warning: [deprecation] setCellType(CellType) in Cell has been deprecated cell.setCellType(CellType.BOOLEAN); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:394: warning: [deprecation] setCellType(CellType) in Cell has been deprecated cell.setCellType(CellType.BOOLEAN); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:398: warning: [deprecation] setCellType(CellType) in Cell has been deprecated cell.setCellType(CellType.BOOLEAN); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:399: warning: [deprecation] setCellType(CellType) in Cell has been deprecated cell.setCellType(CellType.STRING); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:400: warning: [deprecation] setCellType(CellType) in Cell has been deprecated cell.setCellType(CellType.ERROR); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:401: warning: [deprecation] setCellType(CellType) in Cell has been deprecated cell.setCellType(CellType.STRING); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFCell.java>:403: warning: [deprecation] setCellType(CellType) in Cell has been deprecated cell.setCellType(CellType.STRING); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/ws/poi/src/test/java/org/apache/poi/hssf/usermodel/TestBugs.java>:2362: warning: [deprecation] setCellType(CellType) in Cell has been deprecated cell.setCellType(CellType.STRING); ^ > Task :poi-ooxml-full:compileJava > Task :poi:compileTestJava <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/ws/poi/src/test/java/org/apache/poi/hssf/record/TestFormulaRecord.java>:90: warning: [deprecation] getCode() in CellType has been deprecated assertEquals(CellType.ERROR.getCode(), record.getCachedResultType()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/ws/poi/src/test/java/org/apache/poi/hssf/record/TestFormulaRecord.java>:90: warning: [deprecation] getCachedResultType() in FormulaRecord has been deprecated assertEquals(CellType.ERROR.getCode(), record.getCachedResultType()); ^ 15 warnings > Task :poi:compileTest9 > Task :poi:cacheTest9 > Task :poi:processTestResources > Task :poi:testClasses > Task :poi:testJar > Task :poi:sourcesJar > Task :poi:forbiddenApisMain > Task :poi:forbiddenApisTest > Task :poi:forbiddenApis Unexpected exception thrown. org.gradle.internal.remote.internal.MessageIOException: Could not read message from '/127.0.0.1:35700'. at org.gradle.internal.remote.internal.inet.SocketConnection.receive(SocketConnection.java:94) at org.gradle.internal.remote.internal.hub.MessageHub$ConnectionReceive.run(MessageHub.java:270) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64) at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:61) at java.base/java.lang.Thread.run(Thread.java:831) Caused by: java.lang.IllegalArgumentException at org.gradle.internal.remote.internal.hub.InterHubMessageSerializer$MessageReader.read(InterHubMessageSerializer.java:72) at org.gradle.internal.remote.internal.hub.InterHubMessageSerializer$MessageReader.read(InterHubMessageSerializer.java:52) at org.gradle.internal.remote.internal.inet.SocketConnection.receive(SocketConnection.java:81) ... 7 more > Task :poi:test OpenJDK 64-Bit Server VM warning: Option --illegal-access is deprecated and will be removed in a future release. OpenJDK 64-Bit Server VM warning: Option --illegal-access is deprecated and will be removed in a future release. OpenJDK 64-Bit Server VM warning: Option --illegal-access is deprecated and will be removed in a future release. OpenJDK 64-Bit Server VM warning: Option --illegal-access is deprecated and will be removed in a future release. OpenJDK 64-Bit Server VM warning: Option --illegal-access is deprecated and will be removed in a future release. OpenJDK 64-Bit Server VM warning: Option --illegal-access is deprecated and will be removed in a future release. OpenJDK 64-Bit Server VM warning: Option --illegal-access is deprecated and will be removed in a future release. OpenJDK 64-Bit Server VM warning: Option --illegal-access is deprecated and will be removed in a future release. OpenJDK 64-Bit Server VM warning: Option --illegal-access is deprecated and will be removed in a future release. 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 OpenJDK 64-Bit Server VM warning: Option --illegal-access is deprecated and will be removed in a future release. 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 OpenJDK 64-Bit Server VM warning: Option --illegal-access is deprecated and will be removed in a future release. OpenJDK 64-Bit Server VM warning: Option --illegal-access is deprecated and will be removed in a future release. 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 org.gradle.internal.remote.internal.ConnectException: Could not connect to server [219de585-18ff-4798-b7fa-e96df49a377d port:37409, addresses:[/127.0.0.1]]. Tried addresses: [/127.0.0.1]. at org.gradle.internal.remote.internal.inet.TcpOutgoingConnector.connect(TcpOutgoingConnector.java:67) at org.gradle.internal.remote.internal.hub.MessageHubBackedClient.getConnection(MessageHubBackedClient.java:36) at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:123) at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:71) at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69) at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74) Caused by: java.net.ConnectException: Connection refused at java.base/sun.nio.ch.Net.pollConnect(Native Method) at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:669) at java.base/sun.nio.ch.SocketChannelImpl.finishTimedConnect(SocketChannelImpl.java:1139) at java.base/sun.nio.ch.SocketChannelImpl.blockingConnect(SocketChannelImpl.java:1181) at java.base/sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:97) at org.gradle.internal.remote.internal.inet.TcpOutgoingConnector.tryConnect(TcpOutgoingConnector.java:81) at org.gradle.internal.remote.internal.inet.TcpOutgoingConnector.connect(TcpOutgoingConnector.java:54) ... 5 more > Task :poi-scratchpad:javadoc > Task :poi:spotbugsMain -output option and -outputFile option are deprecated. Set file path to each option for reporter. > Task :poi:spotbugsTest -output option and -outputFile option are deprecated. Set file path to each option for reporter. > Task :poi-scratchpad:compileTestJava <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/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); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/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.16/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.16/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.16/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()); ^ <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/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.16/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.16/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.16/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.16/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.16/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.16/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.16/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.16/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.16/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()); ^ 15 warnings > Task :poi-scratchpad:compileTest9 > Task :poi-scratchpad:cacheTest9 > Task :poi-scratchpad:testClasses > Task :poi-scratchpad:testJar > Task :poi-scratchpad:javadocJar > Task :poi-scratchpad:assemble > Task :poi-scratchpad:forbiddenApisMain > Task :poi-scratchpad:forbiddenApisTest > Task :poi-scratchpad:forbiddenApis > Task :poi-scratchpad:test OpenJDK 64-Bit Server VM warning: Option --illegal-access is deprecated and will be removed in a future release. OpenJDK 64-Bit Server VM warning: Option --illegal-access is deprecated and will be removed in a future release. OpenJDK 64-Bit Server VM warning: Option --illegal-access is deprecated and will be removed in a future release. OpenJDK 64-Bit Server VM warning: Option --illegal-access is deprecated and will be removed in a future release. OpenJDK 64-Bit Server VM warning: Option --illegal-access is deprecated and will be removed in a future release. OpenJDK 64-Bit Server VM warning: Option --illegal-access is deprecated and will be removed in a future release. OpenJDK 64-Bit Server VM warning: Option --illegal-access is deprecated and will be removed in a future release. OpenJDK 64-Bit Server VM warning: Option --illegal-access is deprecated and will be removed in a future release. OpenJDK 64-Bit Server VM warning: Option --illegal-access is deprecated and will be removed in a future release. OpenJDK 64-Bit Server VM warning: Option --illegal-access is deprecated and will be removed in a future release. OpenJDK 64-Bit Server VM warning: Option --illegal-access is deprecated and will be removed in a future release. OpenJDK 64-Bit Server VM warning: Option --illegal-access is deprecated and will be removed in a future release. > Task :poi-scratchpad:spotbugsMain -output option and -outputFile option are deprecated. Set file path to each option for reporter. > Task :poi-scratchpad:spotbugsTest -output option and -outputFile option are deprecated. Set file path to each option for reporter. > Task :poi-ooxml-full:compileJava9 > Task :poi-ooxml-full:cacheJava9 > Task :poi-ooxml-full:processResources NO-SOURCE > Task :poi-ooxml-full:classes > Task :poi-ooxml-full:sourceJar > Task :poi:test FAILED > Task :poi-ooxml-full:jar > 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.16/ws/poi-scratchpad/build/reports/spotbugs/test.xml> > Task :poi:spotbugsTest 447 SpotBugs violations were found. See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/ws/poi/build/reports/spotbugs/test.xml> > Task :poi:spotbugsMain 441 SpotBugs violations were found. See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/ws/poi/build/reports/spotbugs/main.xml> > Task :poi-scratchpad:spotbugsMain 668 SpotBugs violations were found. See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.16/ws/poi-scratchpad/build/reports/spotbugs/main.xml> FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':poi:test'. > Process 'Gradle Test Executor 14' finished with non-zero exit value 1 This problem might be caused by incorrect test process configuration. Please refer to the test execution section in the User Manual at https://docs.gradle.org/7.2/userguide/java_testing.html#sec:test_execution * 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 BUILD FAILED in 4m 43s 68 actionable tasks: 68 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 [Fast Archiver] Compressed 40.05 MB of artifacts by 13.0% relative to #561 Recording test results [Checks API] No suitable checks publisher found. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
