ebourg commented on PR #731:
URL: https://github.com/apache/poi/pull/731#issuecomment-2503828148
I haven't been able to run the integration tests, Gradle keeps throwing
error messages, but looking at the CI log I see two failures:
```
org.apache.poi.stress.TestAllFiles > handleFile(String, FileHandlerKnown,
String, Class, String) #2892 xmldsign/ms-office-2010-signed.pptx XSLF PASSED
(2.3s)
org.apache.poi.stress.TestAllFiles > handleFile(String, FileHandlerKnown,
String, Class, String) #2382 spreadsheet/StructuredRefs-lots-with-lookups.xlsx
XSSF FAILED (1h 3m)
org.opentest4j.AssertionFailedError:
spreadsheet/StructuredRefs-lots-with-lookups.xlsx - failed for handler
XSSFFileHandler: ==> Unexpected exception thrown:
java.lang.IllegalArgumentException: Self-suppression not permitted
at org.apache.poi.stress.TestAllFiles.verify(TestAllFiles.java:298)
Caused by: java.lang.IllegalArgumentException: Self-suppression not
permitted
at
org.apache.poi.stress.TestAllFiles.lambda$handleFile$1(TestAllFiles.java:226)
Caused by: java.lang.OutOfMemoryError: Java heap space
org.apache.poi.stress.TestAllFiles > handleExtracting(String,
FileHandlerKnown, String, Class, String) Extracting - #2382
spreadsheet/StructuredRefs-lots-with-lookups.xlsx XSSF PASSED (1h 22m)
org.apache.poi.stress.TestAllFiles > handleFile(String, FileHandlerKnown,
String, Class, String) #2729 spreadsheet/poc-shared-strings.xlsx XSSF PASSED
(1h 21m)
```
and:
```
org.apache.poi.stress.TestAllFiles > handleAdditional(String,
FileHandlerKnown, String, Class, String) Additional - #2781
spreadsheet/styles-3563.xls HSSF PASSED
org.apache.poi.stress.TestAllFiles > handleAdditional(String,
FileHandlerKnown, String, Class, String) Additional - #2729
spreadsheet/poc-shared-strings.xlsx XSSF PASSED (1m 7s)
JUnit Jupiter executionError FAILED
org.junit.platform.commons.JUnitException: TestEngine with ID
'junit-jupiter' failed to execute tests
Caused by: org.junit.platform.commons.JUnitException: Error executing
tests for engine junit-jupiter
Caused by: java.util.concurrent.ExecutionException:
java.lang.OutOfMemoryError
Caused by: java.lang.OutOfMemoryError
Caused by: java.lang.OutOfMemoryError
Caused by: java.lang.OutOfMemoryError: Java heap space
org.apache.poi.stress.TestAllFiles > handleExtracting(String,
FileHandlerKnown, String, Class, String) Extracting - #2383
spreadsheet/StructuredRefs-lots-with-lookups.xlsx OPC SKIPPED
org.apache.poi.stress.TestAllFiles > handleExtracting(String,
FileHandlerKnown, String, Class, String) Extracting - #1963
spreadsheet/57893-many-merges.xlsx OPC SKIPPED
org.apache.poi.stress.TestAllFiles > handleExtracting(String,
FileHandlerKnown, String, Class, String) Extracting - #2707
spreadsheet/mv-calculator-final-2-20-2013.xlsm XSSF SKIPPED
org.apache.poi.stress.TestAllFiles > handleExtracting(String,
FileHandlerKnown, String, Class, String) Extracting - #1728
spreadsheet/51585.xlsx XSSF SKIPPED
```
The first one is related to an OOXML file
(spreadsheet/StructuredRefs-lots-with-lookups.xlsx). It's not clear which file
was being processed on the second failure, but the error occurs in the middle
of OOXML files.
If I'm not mistaken OOXML files are completely unrelated to the old
OLE/COM/CFB files, so I fail to see why the change to the calculation of the
size of the root property triggered these failures. Maybe the memory usage
changed slightly and the garbage collector kicked in at a different time, which
in a tight memory context may lead to an OOM. Is it possible to increase the
memory allocated to the integration tests?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]