You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2022/03/15 01:21:34 UTC

Build failed in Jenkins: POI » POI-DSL-Windows-1.17 #193

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

Changes:

[PJ Fanning] upgrade gradle


------------------------------------------
[...truncated 48.97 KB...]
            cell.setCellType(CellType.STRING);
                ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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);
                ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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);
                ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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);
                ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\test\java\org\apache\poi\ss\usermodel\BaseTestSheetUpdateArrayFormulas.java:277: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            scell.setCellType(CellType.STRING);
                 ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\test\java\org\apache\poi\ss\usermodel\BaseTestSheetUpdateArrayFormulas.java:287: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
                IllegalStateException e = assertThrows(IllegalStateException.class, () -> mcell.setCellType(CellType.NUMERIC));
                                                                                               ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\test\java\org\apache\poi\poifs\dev\TestPOIFSDump.java:156: warning: [removal] SecurityManager in java.lang has been deprecated and marked for removal
    private static class TestOverrideSecurityManager extends SecurityManager {
                                                             ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\test\java\org\apache\poi\poifs\dev\TestPOIFSDump.java:174: warning: [removal] SecurityManager in java.lang has been deprecated and marked for removal
        SecurityManager sm = System.getSecurityManager();
        ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\test\java\org\apache\poi\poifs\dev\TestPOIFSDump.java:174: warning: [removal] getSecurityManager() in System has been deprecated and marked for removal
        SecurityManager sm = System.getSecurityManager();
                                   ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\test\java\org\apache\poi\poifs\dev\TestPOIFSDump.java:176: warning: [removal] setSecurityManager(SecurityManager) in System has been deprecated and marked for removal
            System.setSecurityManager(new TestOverrideSecurityManager());
                  ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\test\java\org\apache\poi\poifs\dev\TestPOIFSDump.java:179: warning: [removal] setSecurityManager(SecurityManager) in System has been deprecated and marked for removal
            System.setSecurityManager(sm);
                  ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi\src\test\java\org\apache\poi\ss\util\TestSheetUtil.java:212: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
            cell.setCellType(CellType.STRING);
                ^
26 warnings

> Task :poi:compileTest9 SKIPPED
> Task :poi:cacheTest9 NO-SOURCE
> Task :poi:processTestResources
> Task :poi:testClasses
> Task :poi:testJar
> Task :poi:sourcesJar
> Task :poi:forbiddenApisMain
> Task :poi-scratchpad:compileTestJava
> Task :poi:forbiddenApisTest
> Task :poi:forbiddenApis

> Task :poi-scratchpad:compileTestJava
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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);
                               ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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());
                                                                                   ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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());
                                                                                                ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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());
                                                                            ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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());
                                                                                      ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java\org\apache\poi\hwpf\extractor\TestWordExtractorBugs.java:56: warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
                assertNotNull(extractor.getParagraphText());
                                       ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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);
                ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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);
              ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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);
                ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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());
                                                        ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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());
                                                             ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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());
                                             ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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()) {
                          ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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()) {
                          ^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\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()) {
                          ^
15 warnings

> Task :poi-scratchpad:compileTest9 SKIPPED
> Task :poi-scratchpad:cacheTest9 NO-SOURCE
> Task :poi-scratchpad: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:/C:/Users/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:testJar

> Task :poi: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:spotbugsMain
> Task :poi:spotbugsTest

> 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 (file:/F:/jenkins/jenkins-home/712657a4/workspace/POI/POI-DSL-Windows-1.17/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 org.apache.poi.poifs.dev.TestPOIFSDump (file:/F:/jenkins/jenkins-home/712657a4/workspace/POI/POI-DSL-Windows-1.17/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

> Task :poi:spotbugsTest
448 SpotBugs violations were found.See the report at: file:///F:/jenkins/jenkins-home/712657a4/workspace/POI/POI-DSL-Windows-1.17/poi/build/reports/spotbugs/test.xml

> Task :poi-scratchpad:forbiddenApisTest
> Task :poi-scratchpad:forbiddenApis

> Task :poi: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
java.lang.InternalError: Unexpected CryptoAPI failure generating seed
	at java.base/sun.security.provider.NativeSeedGenerator.getSeedBytes(NativeSeedGenerator.java:62)
	at java.base/sun.security.provider.SeedGenerator.generateSeed(SeedGenerator.java:144)
	at java.base/sun.security.provider.AbstractDrbg.lambda$static$0(AbstractDrbg.java:524)
	at java.base/sun.security.provider.AbstractDrbg.getEntropyInput(AbstractDrbg.java:507)
	at java.base/sun.security.provider.AbstractDrbg.getEntropyInput(AbstractDrbg.java:494)
	at java.base/sun.security.provider.AbstractDrbg.instantiateIfNecessary(AbstractDrbg.java:696)
	at java.base/sun.security.provider.AbstractDrbg.engineNextBytes(AbstractDrbg.java:378)
	at java.base/sun.security.provider.AbstractDrbg.engineNextBytes(AbstractDrbg.java:334)
	at java.base/sun.security.provider.AbstractDrbg$SeederHolder.lambda$static$0(AbstractDrbg.java:558)
	at java.base/sun.security.provider.AbstractDrbg.getEntropyInput(AbstractDrbg.java:507)
	at java.base/sun.security.provider.AbstractDrbg.getEntropyInput(AbstractDrbg.java:494)
	at java.base/sun.security.provider.AbstractDrbg.instantiateIfNecessary(AbstractDrbg.java:696)
	at java.base/sun.security.provider.AbstractDrbg.engineNextBytes(AbstractDrbg.java:378)
	at java.base/sun.security.provider.AbstractDrbg.engineNextBytes(AbstractDrbg.java:334)
	at java.base/sun.security.provider.DRBG.engineNextBytes(DRBG.java:235)
	at java.base/java.security.SecureRandom.nextBytes(SecureRandom.java:758)
	at java.base/java.security.SecureRandom.next(SecureRandom.java:815)
	at java.base/java.util.Random.nextInt(Random.java:323)
	at java.base/sun.nio.ch.UnixDomainSockets.generateTempName(UnixDomainSockets.java:134)
	at java.base/sun.nio.ch.ServerSocketChannelImpl.unixBind(ServerSocketChannelImpl.java:309)
	at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:292)
	at java.base/java.nio.channels.ServerSocketChannel.bind(ServerSocketChannel.java:224)
	at java.base/sun.nio.ch.PipeImpl.createListener(PipeImpl.java:222)
	at java.base/sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(PipeImpl.java:125)
	at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:83)
	at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:67)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:569)
	at java.base/sun.nio.ch.PipeImpl.<init>(PipeImpl.java:195)
	at java.base/sun.nio.ch.WEPollSelectorImpl.<init>(WEPollSelectorImpl.java:78)
	at java.base/sun.nio.ch.WEPollSelectorProvider.openSelector(WEPollSelectorProvider.java:33)
	at java.base/java.nio.channels.Selector.open(Selector.java:295)
	at org.gradle.internal.remote.internal.inet.SocketConnection$SocketInputStream.<init>(SocketConnection.java:162)
	at org.gradle.internal.remote.internal.inet.SocketConnection.<init>(SocketConnection.java:60)
	at org.gradle.internal.remote.internal.inet.SocketConnectCompletion.create(SocketConnectCompletion.java:40)
	at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection.connect(MessageHubBackedObjectConnection.java:136)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.startReceivingTests(TestWorker.java:150)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:95)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:133)
	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)

> Task :poi-scratchpad:spotbugsTest

Unexpected exception thrown.
org.gradle.internal.remote.internal.MessageIOException: Could not write '/127.0.0.1:51814'.
	at org.gradle.internal.remote.internal.inet.SocketConnection.flush(SocketConnection.java:140)
	at org.gradle.internal.remote.internal.hub.MessageHub$ConnectionDispatch.run(MessageHub.java:333)
	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:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.io.IOException: Connection reset by peer
	at java.base/sun.nio.ch.SocketDispatcher.write0(Native Method)
	at java.base/sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:54)
	at java.base/sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:132)
	at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:76)
	at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:53)
	at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:532)
	at org.gradle.internal.remote.internal.inet.SocketConnection$SocketOutputStream.writeWithNonBlockingRetry(SocketConnection.java:279)
	at org.gradle.internal.remote.internal.inet.SocketConnection$SocketOutputStream.writeBufferToChannel(SocketConnection.java:267)
	at org.gradle.internal.remote.internal.inet.SocketConnection$SocketOutputStream.flush(SocketConnection.java:261)
	at org.gradle.internal.remote.internal.inet.SocketConnection.flush(SocketConnection.java:138)
	... 6 more

> Task :poi:spotbugsMain
443 SpotBugs violations were found.See the report at: file:///F:/jenkins/jenkins-home/712657a4/workspace/POI/POI-DSL-Windows-1.17/poi/build/reports/spotbugs/main.xml

> Task :poi-scratchpad: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-scratchpad:spotbugsTest
41 SpotBugs violations were found.See the report at: file:///F:/jenkins/jenkins-home/712657a4/workspace/POI/POI-DSL-Windows-1.17/poi-scratchpad/build/reports/spotbugs/test.xml

> Task :poi-scratchpad: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:test FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':poi:test'.
> Process 'Gradle Test Executor 5' 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.4.1/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

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 43m 54s
52 actionable tasks: 52 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
[Checks API] No suitable checks publisher found.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Jenkins build is back to normal : POI » POI-DSL-Windows-1.17 #194

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/POI/job/POI-DSL-Windows-1.17/194/display/redirect?page=changes>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org