poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: POI-DSL-1.8 #113
Date Fri, 07 Apr 2017 01:08:07 GMT
See <https://builds.apache.org/job/POI-DSL-1.8/113/display/redirect?page=changes>

Changes:

[centic] Test for another type of xml-bomb

[centic] Fix issue found via large corpus tests: HSSFPicture in a HSSFShapeGroup might not
have a patriarch set, so let's walk up the parents to try to find one.

------------------------------------------
[...truncated 379.15 KB...]
     [java] Formula Result Type:STRING
     [java] .I.....I..............Cell formula evaluation currently unsupported
     [java] Array formulas currently unsupported
     [java] .....................................................................................................................................................................I..........................................................I......................................................................................................................................................................................................................................................................................Setting
col: 0 and row 0
     [java] Setting col: 1 and row 1
     [java] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
     [java] SLF4J: Defaulting to no-operation (NOP) logger implementation
     [java] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
     [java] ....................................................I...........................................................................................................................................Took:
2674ms
     [java] ...................setCellStyleProps start
     [java] setCellStyleProps nearing end
     [java] ................setCellStyleProps start
     [java] setCellStyleProps nearing end
     [java] org.apache.poi.openxml4j.exceptions.NotOfficeXmlFileException: No valid entries
or contents found, this is not a valid OOXML (Office Open XML) file
     [java] 	at org.apache.poi.openxml4j.opc.ZipPackage.getPartsImpl(ZipPackage.java:286)
     [java] 	at org.apache.poi.openxml4j.opc.OPCPackage.getParts(OPCPackage.java:758)
     [java] 	at org.apache.poi.openxml4j.opc.OPCPackage.open(OPCPackage.java:298)
     [java] 	at org.apache.poi.openxml4j.opc.TestPackage.testCorruptFile(TestPackage.java:958)
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
     [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     [java] 	at java.lang.reflect.Method.invoke(Method.java:498)
     [java] 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
     [java] 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
     [java] 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
     [java] 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
     [java] 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
     [java] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
     [java] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
     [java] 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
     [java] 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
     [java] 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
     [java] 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
     [java] 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
     [java] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
     [java] 	at org.junit.runners.Suite.runChild(Suite.java:128)
     [java] 	at org.junit.runners.Suite.runChild(Suite.java:27)
     [java] 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
     [java] 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
     [java] 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
     [java] 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
     [java] 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
     [java] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
     [java] 	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
     [java] 	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
     [java] 	at org.junit.runner.JUnitCore.run(JUnitCore.java:105)
     [java] 	at org.junit.runner.JUnitCore.run(JUnitCore.java:94)
     [java] 	at org.apache.poi.util.OOXMLLite.build(OOXMLLite.java:131)
     [java] 	at org.apache.poi.util.OOXMLLite.main(OOXMLLite.java:88)
     [java] ......................................................I........................................................................I.....................................................................................................................................................................................I...........................org.apache.poi.openxml4j.exceptions.NotOfficeXmlFileException
     [java] No valid entries or contents found, this is not a valid OOXML (Office Open XML)
file
     [java] .........I.........E...........................I.........................................................Reading
zip-file <https://builds.apache.org/job/POI-DSL-1.8/ws/test-data/spreadsheet/Formatting.xlsx>
and writing pretty-printed XML to /tmp/poifiles/Formatting812527415279518875-pretty.xlsx
     [java] ............
     [java] Done.
     [java] III.<https://builds.apache.org/job/POI-DSL-1.8/ws/test-data/spreadsheet/Formatting.xlsx>
     [java] 
     [java] /_rels/.rels
     [java] 	application/vnd.openxmlformats-package.relationships+xml
     [java] 	588 bytes
     [java] /docProps/app.xml
     [java] 	application/vnd.openxmlformats-officedocument.extended-properties+xml
     [java] 	839 bytes
     [java] 	0 relations
     [java] /docProps/core.xml
     [java] 	application/vnd.openxmlformats-package.core-properties+xml
     [java] 	0 relations
     [java] /xl/_rels/workbook.xml.rels
     [java] 	application/vnd.openxmlformats-package.relationships+xml
     [java] 	980 bytes
     [java] /xl/sharedStrings.xml
     [java] 	application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml
     [java] 	477 bytes
     [java] 	0 relations
     [java] /xl/styles.xml
     [java] 	application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml
     [java] 	2237 bytes
     [java] 	0 relations
     [java] /xl/theme/theme1.xml
     [java] 	application/vnd.openxmlformats-officedocument.theme+xml
     [java] 	6995 bytes
     [java] 	0 relations
     [java] /xl/workbook.xml
     [java] 	application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml
     [java] 	624 bytes
     [java] 	6 relations
     [java] 	  Relationship:
     [java] 	  	From: /xl/workbook.xml
     [java] 	  	To:   /xl/worksheets/sheet1.xml
     [java] 	  	ID:   rId1
     [java] 	  	Mode: INTERNAL
     [java] 	  	Type: http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet
     [java] 	  Relationship:
     [java] 	  	From: /xl/workbook.xml
     [java] 	  	To:   /xl/worksheets/sheet2.xml
     [java] 	  	ID:   rId2
     [java] 	  	Mode: INTERNAL
     [java] 	  	Type: http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet
     [java] 	  Relationship:
     [java] 	  	From: /xl/workbook.xml
     [java] 	  	To:   /xl/worksheets/sheet3.xml
     [java] 	  	ID:   rId3
     [java] 	  	Mode: INTERNAL
     [java] 	  	Type: http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet
     [java] 	  Relationship:
     [java] 	  	From: /xl/workbook.xml
     [java] 	  	To:   /xl/theme/theme1.xml
     [java] 	  	ID:   rId4
     [java] 	  	Mode: INTERNAL
     [java] 	  	Type: http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme
     [java] 	  Relationship:
     [java] 	  	From: /xl/workbook.xml
     [java] 	  	To:   /xl/styles.xml
     [java] 	  	ID:   rId5
     [java] 	  	Mode: INTERNAL
     [java] 	  	Type: http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles
     [java] 	  Relationship:
     [java] 	  	From: /xl/workbook.xml
     [java] 	  	To:   /xl/sharedStrings.xml
     [java] 	  	ID:   rId6
     [java] 	  	Mode: INTERNAL
     [java] 	  	Type: http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings
     [java] /xl/worksheets/sheet1.xml
     [java] 	application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml
     [java] 	1814 bytes
     [java] 	0 relations
     [java] /xl/worksheets/sheet2.xml
     [java] 	application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml
     [java] 	439 bytes
     [java] 	0 relations
     [java] /xl/worksheets/sheet3.xml
     [java] 	application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml
     [java] 	439 bytes
     [java] 	0 relations
     [java] 
     [java] Relationship:
     [java] 	From: /
     [java] 	To:   /xl/workbook.xml
     [java] 	ID:   rId1
     [java] 	Mode: INTERNAL
     [java] 	Type: http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument
     [java] Relationship:
     [java] 	From: /
     [java] 	To:   /docProps/core.xml
     [java] 	ID:   rId2
     [java] 	Mode: INTERNAL
     [java] 	Type: http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties
     [java] Relationship:
     [java] 	From: /
     [java] 	To:   /docProps/app.xml
     [java] 	ID:   rId3
     [java] 	Mode: INTERNAL
     [java] 	Type: http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties
     [java] .
     [java] Time: 189.08
     [java] There was 1 failure:
     [java] 1) zipBombSampleFiles(org.apache.poi.openxml4j.opc.TestPackage)
     [java] java.lang.IllegalStateException: Expected to catch an Exception because of a detected
Zip Bomb, but did not find the related error message in the exception
     [java] 	at org.apache.poi.openxml4j.opc.TestPackage.checkForZipBombException(TestPackage.java:921)
     [java] 	at org.apache.poi.openxml4j.opc.TestPackage.checkForZipBombException(TestPackage.java:917)
     [java] 	at org.apache.poi.openxml4j.opc.TestPackage.checkForZipBombException(TestPackage.java:917)
     [java] 	at org.apache.poi.openxml4j.opc.TestPackage.checkForZipBombException(TestPackage.java:917)
     [java] 	at org.apache.poi.openxml4j.opc.TestPackage.openZipBombFile(TestPackage.java:839)
     [java] 	at org.apache.poi.openxml4j.opc.TestPackage.zipBombSampleFiles(TestPackage.java:816)
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
     [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     [java] 	at java.lang.reflect.Method.invoke(Method.java:498)
     [java] 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
     [java] 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
     [java] 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
     [java] 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
     [java] 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
     [java] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
     [java] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
     [java] 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
     [java] 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
     [java] 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
     [java] 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
     [java] 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
     [java] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
     [java] 	at org.junit.runners.Suite.runChild(Suite.java:128)
     [java] 	at org.junit.runners.Suite.runChild(Suite.java:27)
     [java] 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
     [java] 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
     [java] 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
     [java] 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
     [java] 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
     [java] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
     [java] 	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
     [java] 	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
     [java] 	at org.junit.runner.JUnitCore.run(JUnitCore.java:105)
     [java] 	at org.junit.runner.JUnitCore.run(JUnitCore.java:94)
     [java] 	at org.apache.poi.util.OOXMLLite.build(OOXMLLite.java:131)
     [java] 	at org.apache.poi.util.OOXMLLite.main(OOXMLLite.java:88)
     [java] Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; JAXP00010001:
The parser has encountered more than "4096" entity expansions in this document; this is the
limit imposed by the JDK.
     [java] 	at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
     [java] 	at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
     [java] 	at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
     [java] 	at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
     [java] 	at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:284)
     [java] 	at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1316)
     [java] 	at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1240)
     [java] 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEntityReference(XMLDocumentFragmentScannerImpl.java:1908)
     [java] 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3061)
     [java] 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
     [java] 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
     [java] 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
     [java] 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:841)
     [java] 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770)
     [java] 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
     [java] 	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:243)
     [java] 	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)
     [java] 	at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121)
     [java] 	at org.apache.poi.util.DocumentHelper.readDocument(DocumentHelper.java:140)
     [java] 	at org.apache.poi.POIXMLTypeLoader.parse(POIXMLTypeLoader.java:143)
     [java] 	at org.openxmlformats.schemas.spreadsheetml.x2006.main.SstDocument$Factory.parse(Unknown
Source)
     [java] 	at org.apache.poi.xssf.model.SharedStringsTable.readFrom(SharedStringsTable.java:119)
     [java] 	at org.apache.poi.xssf.model.SharedStringsTable.<init>(SharedStringsTable.java:107)
     [java] 	at sun.reflect.GeneratedConstructorAccessor111.newInstance(Unknown Source)
     [java] 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
     [java] 	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
     [java] 	at org.apache.poi.xssf.usermodel.XSSFFactory.createDocumentPart(XSSFFactory.java:56)
     [java] 	at org.apache.poi.POIXMLFactory.createDocumentPart(POIXMLFactory.java:60)
     [java] 	at org.apache.poi.POIXMLDocumentPart.read(POIXMLDocumentPart.java:604)
     [java] 	at org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:186)
     [java] 	at org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:296)
     [java] 	at org.apache.poi.xssf.XSSFTestDataSamples.openSampleWorkbook(XSSFTestDataSamples.java:61)
     [java] 	at org.apache.poi.openxml4j.opc.TestPackage.openZipBombFile(TestPackage.java:822)
     [java] 	... 32 more
     [java] 
     [java] FAILURES!!!
     [java] Tests run: 2161,  Failures: 1
     [java] 
     [java] Exception in thread "main" java.lang.RuntimeException: Tests did not succeed,
cannot build ooxml-lite jar
     [java] 	at org.apache.poi.util.OOXMLLite.build(OOXMLLite.java:133)
     [java] 	at org.apache.poi.util.OOXMLLite.main(OOXMLLite.java:88)

BUILD FAILED
<https://builds.apache.org/job/POI-DSL-1.8/ws/build.xml>:1624: Java returned: 1

Total time: 8 minutes 7 seconds
Build step 'Invoke Ant' marked build as failure
Skipping publisher since build result is FAILURE
Archiving artifacts
Compressed 66.31 MB of artifacts by 65.3% relative to #112
Skipping publisher since build result is FAILURE
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found.
Configuration error?


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


Mime
View raw message