You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Orion Poplawski <or...@cora.nwra.com> on 2011/02/11 18:56:27 UTC

Test failues

I'm building apache-poi 3.7 rpms for Fedora and coming across the following test
errors and am at a loss.  Any help would be greatly appreciated.

    [junit] Running org.apache.poi.hssf.usermodel.TestBugs
    [junit] Warning, header block comes after data blocks in POIFS block listing
    [junit] Warning, incorrectly terminated empty data blocks in POIFS block
listing (should end at -2, ended at 0)
    [junit] Warning - ExtRst was has wrong magic marker, expecting 1 but found
12 - ignoring
    [junit] ExtRst was supposed to be 12 bytes long, but seems to actually be 14
    [junit] Tests run: 104, Failures: 0, Errors: 1, Time elapsed: 1.33 sec


Also:

compile-ooxml-lite:
     [java] Collecting unit tests from
/builddir/build/BUILD/poi-3.7/build/ooxml-test-classes
     [java] ......WARNING: DateFormatTests.xlsx: Flag AllColors = "false" [not
"true"]
     [java] WARNING: DateFormatTests.xlsx: Flag Categories = "Debug" [not ""]
     [java] ...................................
     [java] .........................................
     [java] .........................................
     [java] .........................................
     [java] .........................................
     [java] .........................................
     [java] .........................................
     [java] ...........E.E.............................
     [java] .........................................
     [java] .........................................
     [java] .........................................
     [java] .........................................
     [java] .........................................
     [java] ...........
     [java] Time: 15.823
     [java] There were 2 errors:
     [java] 1)
testAutoSizeColumn(org.apache.poi.xssf.usermodel.TestXSSFSheet)java.lang.Error:
Probable fatal error:No fonts found.
     [java] 	at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1088)
     [java] 	at sun.font.FontManager.initialiseDeferredFont(FontManager.java:960)
     [java] 	at sun.font.FontManager.findOtherDeferredFont(FontManager.java:899)
     [java] 	at sun.font.FontManager.findDeferredFont(FontManager.java:916)
     [java] 	at sun.font.FontManager.findFont2D(FontManager.java:1904)
     [java] 	at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1071)

This is running in a minimal chroot environment, but there are at least a few
fonts installed.


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


Re: Test failures

Posted by Nick Burch <ni...@alfresco.com>.
On Fri, 11 Feb 2011, Orion Poplawski wrote:
> Full build log for the above available here:
>
> http://koji.fedoraproject.org/koji/getfile?taskID=2833452&name=build.log

It's org.apache.poi.hssf.usermodel.TestBugs that is failing. The warnings 
are ok, they're to be expected, but we need to know which test failed as 
none of them should do

Can you look at the junit text file for the test (in build/test-results/) 
and spot which test failed and why?

FWIW, all the POI tests pass just fine for me on Ubuntu and Debian...

Nick

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


Re: Test failures

Posted by Orion Poplawski <or...@cora.nwra.com>.
Orion Poplawski <orion <at> cora.nwra.com> writes:
> 
>[junit] Running org.apache.poi.hssf.usermodel.TestBugs
>[junit] Warning, header block comes after data blocks in POIFS block listing
>[junit] Warning, incorrectly terminated empty data blocks in POIFS block
> listing (should end at -2, ended at 0)
>[junit] Warning - ExtRst was has wrong magic marker, expecting 1 but found
> 12 - ignoring
>[junit] ExtRst was supposed to be 12 bytes long, but seems to actually be 14
>[junit] Tests run: 104, Failures: 0, Errors: 1, Time elapsed: 1.33 sec
> 

Scratch the second failure for now - may have been transient.

Full build log for the above available here:

http://koji.fedoraproject.org/koji/getfile?taskID=2833452&name=build.log


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