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 2021/12/31 01:04:17 UTC

Build failed in Jenkins: POI » POI-DSL-1.17 #153

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

Changes:

[Andreas Beeker] update xmlbeans gradle calls

[PJ Fanning] license

[Dominik Stadler] Limit the maximum number of records that are read for an XLS

To avoid unexpected behavior on some corrupted input-data

[Dominik Stadler] Do not set readIndex to "-1" on EOF

Add some simple tests of LittleEndianInputStream

[Dominik Stadler] Bug 65312: Make RecordType.byName work for type "formula"

Also avoid NullPointerException when parsing unexpected record types
and check for bounds in byId()

[Dominik Stadler] Bug 52447: Allow HyperLinkRecord to appear as part of the RowRecordsAggregate

[PJ Fanning] fix switch

[PJ Fanning] fix excel-ant tests

[PJ Fanning] use isEmpty()

[PJ Fanning] excelant evaluator if seems useless

[PJ Fanning] refactor CopyCompare again

[PJ Fanning] try to fix test issue

[PJ Fanning] use isEmpty()

[PJ Fanning] deprecated annotation

[PJ Fanning] typo

[PJ Fanning] rewrite CopyCompare to remove its ThreadLocal which causes a sonar code smell

[Dominik Stadler] Fix Sonar issues and print out some more in test-assertions that do fail sometimes


------------------------------------------
[...truncated 46.85 KB...]
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/extractor/TestOldExcelExtractor.java>:319: warning: [removal] setSecurityManager(SecurityManager) in System has been deprecated and marked for removal
            System.setSecurityManager(sm);
                  ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/extractor/TestOldExcelExtractor.java>:363: warning: [removal] SecurityManager in java.lang has been deprecated and marked for removal
    private static class NoExitSecurityManager extends SecurityManager {
                                                       ^
27 warnings

> Task :poi:compileTest9
> Task :poi:cacheTest9
> Task :poi:processTestResources
> Task :poi:testClasses
> Task :poi:testJar
> Task :poi:sourcesJar
> Task :poi-ooxml-full:compileJava
> Task :poi:forbiddenApisMain
> Task :poi:forbiddenApisTest
> Task :poi:forbiddenApis

> Task :poi:test
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 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 HotSpot(TM) 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 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 HotSpot(TM) 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 HotSpot(TM) 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
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
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:javadoc
> Task :poi:spotbugsMain
> Task :poi:spotbugsTest

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:/home/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
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:/home/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: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 (<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/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-scratchpad:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/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.17/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.17/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());
                                                             ^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/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.17/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.17/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.17/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.17/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.17/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.17/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.17/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.17/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.17/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.17/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.17/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());
                                                                                      ^
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
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0

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:/home/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
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:/home/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:spotbugsMain
> Task :poi-scratchpad:spotbugsTest
> 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-ooxml-full:jar
> Task :poi-ooxml-full:javadoc SKIPPED
> Task :poi-ooxml-full:javadocJar SKIPPED
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f3710e1cb12, pid=12017, tid=16618
#
# JRE version: Java(TM) SE Runtime Environment (17.0.1+12) (build 17.0.1+12-LTS-39)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0.1+12-LTS-39, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0xcc6b12]  PhaseIdealLoop::spinup(Node*, Node*, Node*, Node*, Node*, small_cache*) [clone .part.0]+0x52
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/jenkins/.gradle/workers/hs_err_pid12017.log
#
# Compiler replay data is saved as:
# /home/jenkins/.gradle/workers/replay_pid12017.log
#
# If you would like to submit a bug report, please visit:
#   https://bugreport.java.com/bugreport/crash.jsp
#
> Task :poi:spotbugsMain FAILED
> Task :poi-ooxml-full:sourcesJar

> 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.17/ws/poi-scratchpad/build/reports/spotbugs/test.xml>

> Task :poi-ooxml:compileJava
[ant:jacocoReport] <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:170: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
[ant:jacocoReport]             XSSFName nm = _uBook.getNameAt(i);
[ant:jacocoReport]                                 ^
[ant:jacocoReport] <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:214: warning: [deprecation] getNameIndex(String) in XSSFWorkbook has been deprecated
[ant:jacocoReport]             int nameIdx = _uBook.getNameIndex(nameName);
[ant:jacocoReport]                                 ^
[ant:jacocoReport] <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:285: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
[ant:jacocoReport]         XSSFName xname = _uBook.getNameAt(idx);
[ant:jacocoReport]                                ^
[ant:jacocoReport] <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:340: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
[ant:jacocoReport]         return _uBook.getNameAt(namePtg.getIndex()).getNameName();
[ant:jacocoReport]                      ^
[ant:jacocoReport] <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFEvaluationWorkbook.java>:345: warning: [deprecation] getNameAt(int) in XSSFWorkbook has been deprecated
[ant:jacocoReport]         return new Name(_uBook.getNameAt(ix), ix, this);
[ant:jacocoReport]                               ^
[ant:jacocoReport] <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/BaseXSSFFormulaEvaluator.java>:85: warning: [deprecation] setCellType(CellType) in Cell has been deprecated
[ant:jacocoReport]             cell.setCellType(cellType);
[ant:jacocoReport]                 ^
[ant:jacocoReport] <https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignaturePart.java>:212: warning: [unchecked] getPrefixes(String) in SignaturePart.XPathNSContext implements getPrefixes(String) in NamespaceContext
[ant:jacocoReport]         public Iterator getPrefixes(String val) {
[ant:jacocoReport]                         ^
[ant:jacocoReport]   return type requires unchecked conversion from Iterator to Iterator<String>

> Task :poi:jacocoTestReport

> Task :poi:spotbugsTest
446 SpotBugs violations were found.See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/build/reports/spotbugs/test.xml>

> Task :poi-scratchpad:spotbugsMain
670 SpotBugs violations were found.See the report at: file://<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/build/reports/spotbugs/main.xml>

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':poi:spotbugsMain'.
> A failure occurred while executing com.github.spotbugs.snom.internal.SpotBugsRunnerForWorker$SpotBugsExecutor
   > Failed to run Gradle Worker Daemon
      > Process 'Gradle Worker Daemon 1' finished with non-zero exit value 134

* 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 4s
71 actionable tasks: 69 executed, 2 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-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


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

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


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