Hi, I think I found the problem with the test, inside the XLSX, there is a file at docProps\core.xml which contains the "created" date, and the test is writing two Workbooks and is doing a binary compare on the resulting bytes, so if writing is done at the seconds-boundary, this will fail, let's see if there is a way to avoid this...
<dcterms:created xsi:type="dcterms:W3CDTF">2015-05-05T18:21:01Z</dcterms:created> Thanks... Dominik. On Wed, May 6, 2015 at 10:12 AM, Dominik Stadler <[email protected]> wrote: > Hi, > > After Andi's fix the latest run did fail with a different problem that > we saw before: 1) bug56468(org.apache.poi.xssf.usermodel.TestXSSFBugs) > > Seems to be an intermittent failure when comparing the binary > serialization of Workbooks, I expect that the serialization is not > 100% stable for some reason. Unfortunately the test works when run > locally, so it is hard to reproduce/analyze. > > Dominik. > > On Wed, May 6, 2015 at 1:16 AM, Andreas Beeker <[email protected]> wrote: >> Hi Tim, >> >> I guess if this minor change affected the heap/perm space, any other schema >> inclusion would >> have the same effect. >> Not sure if we should change the heap parameters of the gump run or try to >> optimize >> that bug57880 test (... disabling it is probably not an option ...) >> I'll wait for releasing until we have fixed this - one way or the other ... >> and try to fiddle around on this test via visualvm. >> >> Best wishes, >> Andi >> >> >> [1] http://stackoverflow.com/questions/1279449/what-is-perm-space >> >> On 05.05.2015 14:39, Allison, Timothy B. wrote: >>> To confirm my reading of GUMP[1]... Is there any way that my small changes >>> in 57889 are causing an OOM during the build of ooxml-lite?! >>> >>> There was 1 failure: >>> [java] 1) bug57880(org.apache.poi.xssf.usermodel.TestXSSFBugs) >>> [java] org.apache.poi.POIXMLException: >>> java.lang.reflect.InvocationTargetException >>> [java] at >>> org.apache.poi.xssf.usermodel.XSSFFactory.createDocumentPart(XSSFFactory.java:62) >>> [java] at >>> org.apache.poi.POIXMLDocumentPart.read(POIXMLDocumentPart.java:456) >>> [java] at org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:162) >>> [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:100) >>> ... >>> Caused by: java.lang.OutOfMemoryError: Java heap space >>> >>> >>> [1] >>> http://vmgump.apache.org/gump/public/poi/poi/gump_work/build_poi_poi.html >>> -----Original Message----- >>> From: Gump [HEAD] :-( [mailto:[email protected]] >>> Sent: Tuesday, May 05, 2015 6:03 AM >>> To: [email protected] >>> Subject: [GUMP@vmgump]: Project poi (in module poi) failed >>> >>> To whom it may engage... >>> >>> This is an automated request, but not an unsolicited one. For >>> more information please visit http://gump.apache.org/nagged.html, >>> and/or contact the folk at [email protected]. >>> >>> Project poi has an issue affecting its community integration. >>> This issue affects 3 projects. >>> The current state of this project is 'Failed', with reason 'Build Failed'. >>> For reference only, the following projects are affected by this: >>> - org.apache.poi : POI >>> - poi : POI >>> - poi-test : POI >>> >>> >>> Full details are available at: >>> http://vmgump.apache.org/gump/public/poi/poi/index.html >>> >>> That said, some information snippets are provided here. >>> >>> The following annotations (debug/informational/warning/error messages) were >>> provided: >>> -INFO- Failed with reason build failed >>> -DEBUG- Extracted fallback artifacts from Gump Repository >>> >>> >>> >>> The following work was performed: >>> http://vmgump.apache.org/gump/public/poi/poi/gump_work/build_poi_poi.html >>> Work Name: build_poi_poi (Type: Build) >>> Work ended in a state of : Failed >>> Elapsed: 8 mins 22 secs >>> Command Line: /usr/lib/jvm/java-8-oracle/bin/java -Djava.awt.headless=true >>> -Dbuild.sysclasspath=only >>> -Xbootclasspath/p:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/srv/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/srv/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar:/srv/gump/public/workspace/xml-xalan/build/serializer.jar >>> org.apache.tools.ant.Main >>> -Dgump.merge=/srv/gump/public/gump/work/merge.xml -Dversion.id=gump >>> -DDSTAMP=20150505 jar >>> [Working Directory: /srv/gump/public/workspace/poi] >>> CLASSPATH: >>> /usr/lib/jvm/java-8-oracle/lib/tools.jar:/srv/gump/public/workspace/poi/build/classes:/srv/gump/public/workspace/poi/build/scratchpad-classes:/srv/gump/public/workspace/poi/build/ooxml-classes:/srv/gump/public/workspace/poi/build/excelant-classes:/srv/gump/public/workspace/poi/build/test-classes:/srv/gump/public/workspace/poi/build/scratchpad-test-classes:/srv/gump/public/workspace/poi/build/ooxml-test-classes:/srv/gump/public/workspace/poi/build/excelant-test-classes:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit4.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/logging-log4j-12/target/log4j-1.2 >>> .18-SNAP >>> >>> SHOT.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-20150505.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-20150505.jar:/srv/gump/public/workspace/apache-commons/beanutils/dist/commons-beanutils-20150505.jar:/srv/gump/public/workspace/commons-codec-1.x/dist/commons-codec-20150505.jar:/srv/gump/packages/commons-collections3/commons-collections-3.2.1.jar:/srv/gump/public/workspace/commons-lang-2.x/target/commons-lang-2.7-SNAPSHOT.jar:/srv/gump/public/workspace/junit/target/junit-4.13-SNAPSHOT.jar:/srv/gump/packages/hamcrest/hamcrest-core-1.3.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:/srv/gump/packages/dom4j/dom4j-1.6.1.jar:/srv/gump/public/workspace/poi/ooxml-lib/xmlbeans-2.6.0.jar:/srv/gump/public/workspace/poi/compile-lib/bcpkix-jdk15on-1.51.jar:/srv/gump/public/workspace/poi/compile-lib/bcprov-ext-jdk15on-1.51.jar:/srv/gump/public/workspace/poi/compile-lib/slf4j-api-1.7.7. >>> jar:/srv >>> >>> /gump/public/workspace/poi/compile-lib/xmlsec-2.0.1.jar:/srv/gump/public/workspace/poi/ooxml-lib/ooxml-schemas-1.1.jar:/srv/gump/public/workspace/poi/ooxml-lib/ooxml-security-1.0.jar >>> --------------------------------------------- >>> [java] at org.apache.poi.util.OOXMLLite.main(OOXMLLite.java:84) >>> [java] Caused by: java.lang.reflect.InvocationTargetException >>> [java] at >>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) >>> [java] at >>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) >>> [java] at >>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) >>> [java] at >>> java.lang.reflect.Constructor.newInstance(Constructor.java:408) >>> [java] at >>> org.apache.poi.xssf.usermodel.XSSFFactory.createDocumentPart(XSSFFactory.java:60) >>> [java] ... 36 more >>> [java] Caused by: java.lang.OutOfMemoryError: Java heap space >>> [java] at >>> org.apache.xmlbeans.impl.store.Cur$CurLoadContext.attr(Cur.java:3044) >>> [java] at >>> org.apache.xmlbeans.impl.store.Cur$CurLoadContext.attr(Cur.java:3065) >>> [java] at >>> org.apache.xmlbeans.impl.store.Locale$SaxHandler.startElement(Locale.java:3263) >>> [java] at >>> org.apache.xmlbeans.impl.piccolo.xml.Piccolo.reportStartTag(Piccolo.java:1082) >>> [java] at >>> org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.parseAttributesNS(PiccoloLexer.java:1822) >>> [java] at >>> org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.parseOpenTagNS(PiccoloLexer.java:1521) >>> [java] at >>> org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.parseTagNS(PiccoloLexer.java:1362) >>> [java] at >>> org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.yylex(PiccoloLexer.java:4682) >>> [java] at >>> org.apache.xmlbeans.impl.piccolo.xml.Piccolo.yylex(Piccolo.java:1290) >>> [java] at >>> org.apache.xmlbeans.impl.piccolo.xml.Piccolo.yyparse(Piccolo.java:1400) >>> [java] at >>> org.apache.xmlbeans.impl.piccolo.xml.Piccolo.parse(Piccolo.java:714) >>> [java] at >>> org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3479) >>> [java] at >>> org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1277) >>> [java] at >>> org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1264) >>> [java] at >>> org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:345) >>> [java] at >>> org.openxmlformats.schemas.spreadsheetml.x2006.main.StyleSheetDocument$Factory.parse(Unknown >>> Source) >>> [java] at >>> org.apache.poi.xssf.model.StylesTable.readFrom(StylesTable.java:126) >>> [java] at >>> org.apache.poi.xssf.model.StylesTable.<init>(StylesTable.java:97) >>> [java] at >>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) >>> [java] at >>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) >>> [java] at >>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) >>> [java] at >>> java.lang.reflect.Constructor.newInstance(Constructor.java:408) >>> [java] at >>> org.apache.poi.xssf.usermodel.XSSFFactory.createDocumentPart(XSSFFactory.java:60) >>> [java] at >>> org.apache.poi.POIXMLDocumentPart.read(POIXMLDocumentPart.java:456) >>> [java] at org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:162) >>> [java] at >>> org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:271) >>> [java] at >>> org.apache.poi.xssf.XSSFTestDataSamples.writeOutAndReadBack(XSSFTestDataSamples.java:73) >>> [java] at >>> org.apache.poi.xssf.usermodel.TestXSSFBugs.bug57880(TestXSSFBugs.java:2466) >>> [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:483) >>> [java] >>> [java] FAILURES!!! >>> [java] Tests run: 1243, Failures: 1 >>> [java] >>> >>> BUILD FAILED >>> /srv/gump/public/workspace/poi/build.xml:1144: Java returned: 1 >>> >>> Total time: 8 minutes 21 seconds >>> --------------------------------------------- >>> >>> To subscribe to this information via syndicated feeds: >>> - RSS: http://vmgump.apache.org/gump/public/poi/poi/rss.xml >>> - Atom: http://vmgump.apache.org/gump/public/poi/poi/atom.xml >>> >>> ============================== Gump Tracking Only === >>> Produced by Apache Gump(TM) version 2.3. >>> Gump Run 20150505080004, vmgump.apache.org:vmgump:20150505080004 >>> Gump E-mail Identifier (unique within run) #1. >>> >>> -- >>> Apache Gump >>> http://gump.apache.org/ [Instance: vmgump] >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
