See
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/171/display/redirect?page=changes>
Changes:
[Dominik Stadler] Remove one unnecessary exclude
It seems the problem when cloning was fixed in the meantime
[Dominik Stadler] Exclude one more file when running tests without
poi-scratchpad
[Dominik Stadler] Add more output when integration-tests do not fail with the
expected exception
[Dominik Stadler] Adjust thread-names when running integration
This allows to identify in thread-dumps which
file is taking a long time or is causing issues
[Dominik Stadler] Don't create an error-log when slightly broken spreadsheets
contain an empty value for attribute "s"
[Dominik Stadler] Don't add main classes to *-test.jar files
Better to only provide them once to avoid very strange
errors if they differ for some reason
[Dominik Stadler] Avoid log-spam when using SXSSFWorkbook with auto-sizing
[Dominik Stadler] Fix invalid comparison and optimize construction of CellStyle
objects for comparison
Fix copy/paste-errors where object are compared
with itself for "hidden" and "locked".
Integration tests showed that sometimes lots of time is
spent here, so let's try to reduce the number of calls to
getCellStyle().
[Dominik Stadler] Adjust one more version-number in the osgi-pom.xml
[Dominik Stadler] Introduce an OldVisioFormatException similar to other
file-types
[Dominik Stadler] Improve error-message, include some details why processing
the file fails
[Dominik Stadler] Make all text-extractors always return a non-null String
This changes the expected exception of some test-files
[Dominik Stadler] Avoid stackoverflow exception that can be caused by a
corrupted slideshow file
[Dominik Stadler] Add test-dependency on slf4j-simple to include all logs in
captured test-output
------------------------------------------
[...truncated 41.46 KB...]
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/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.17/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.17/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.17/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);
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/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.17/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());
^
> Task :poi-ooxml-full:compileJava
> Task :poi:compileTestJava
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/extractor/TestOldExcelExtractor.java>:312:
warning: [removal] SecurityManager in java.lang has been deprecated and marked
for removal
SecurityManager sm = System.getSecurityManager();
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/extractor/TestOldExcelExtractor.java>:312:
warning: [removal] getSecurityManager() in System has been deprecated and
marked for removal
SecurityManager sm = System.getSecurityManager();
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi/src/test/java/org/apache/poi/hssf/extractor/TestOldExcelExtractor.java>:313:
warning: [removal] setSecurityManager(SecurityManager) in System has been
deprecated and marked for removal
System.setSecurityManager(new NoExitSecurityManager());
^
<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
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:forbiddenApisMain
> 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);
^
> Task :poi:forbiddenApisTest
> Task :poi:forbiddenApis
> 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/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: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
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
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
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
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
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
> Task :poi-scratchpad:compileTest9 FAILED
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java9/module-info.java>:24:
error: cannot find symbol
uses org.apache.poi.sl.usermodel.MetroShapeProvider;
^
symbol: class MetroShapeProvider
location: package org.apache.poi.sl.usermodel
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java9/module-info.java>:26:
error: package org.apache.poi.extractor does not exist
provides org.apache.poi.extractor.ExtractorProvider with
org.apache.poi.extractor.ole2.OLE2ScratchpadExtractorFactory;
^
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java9/module-info.java>:27:
error: cannot find symbol
provides org.apache.poi.sl.usermodel.SlideShowProvider with
org.apache.poi.hslf.usermodel.HSLFSlideShowFactory;
^
symbol: class SlideShowProvider
location: package org.apache.poi.sl.usermodel
<https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/ws/poi-scratchpad/src/test/java9/module-info.java>:28:
error: package org.apache.poi.sl.draw does not exist
provides org.apache.poi.sl.draw.ImageRenderer with
org.apache.poi.hwmf.draw.HwmfImageRenderer,
org.apache.poi.hemf.draw.HemfImageRenderer;
^
4 errors
> Task :poi-scratchpad:spotbugsMain
> 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: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>
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f1fe16dab12, pid=16968, tid=24427
#
# 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_pid16968.log
#
# Compiler replay data is saved as:
# /home/jenkins/.gradle/workers/replay_pid16968.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:spotbugsTest
447 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>
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':poi-scratchpad:compileTest9'.
> Compilation failed; see the compiler error output for details.
* 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.
==============================================================================
2: Task 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 2' 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 3m 36s
57 actionable tasks: 56 executed, 1 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
[Fast Archiver] Compressed 11.43 MB of artifacts by 40.5% relative to #170
Recording test results
[Checks API] No suitable checks publisher found.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]