See
<https://builds.apache.org/job/POI-DSL-1.6/249/display/redirect?page=changes>
Changes:
[onealj] use assertStartsWith and assertEndsWith for better unit test error
messages
------------------------------------------
[...truncated 35.25 KB...]
[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: 246.535
[java] There were 6 failures:
[java] 1)
testGetComplexText(org.apache.poi.xssf.extractor.TestXSSFExcelExtractorUsingFactory)
[java] org.junit.ComparisonFailure: string does not start with prefix
expected:<... TAX RATES ON ANNUAL[]> but was:<... TAX RATES ON ANNUAL[ EARN...
(length=8912)]>
[java] at org.junit.Assert.assertEquals(Assert.java:115)
[java] at
org.apache.poi.POITestCase.assertStartsWith(POITestCase.java:81)
[java] at
org.apache.poi.xssf.extractor.TestXSSFExcelExtractor.testGetComplexText(TestXSSFExcelExtractor.java:115)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at junit.framework.TestCase.runTest(TestCase.java:176)
[java] at junit.framework.TestCase.runBare(TestCase.java:141)
[java] at junit.framework.TestResult$1.protect(TestResult.java:122)
[java] at junit.framework.TestResult.runProtected(TestResult.java:142)
[java] at junit.framework.TestResult.run(TestResult.java:125)
[java] at junit.framework.TestCase.run(TestCase.java:129)
[java] at junit.framework.TestSuite.runTest(TestSuite.java:252)
[java] at junit.framework.TestSuite.run(TestSuite.java:247)
[java] at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
[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] 2)
testComparedToOLE2(org.apache.poi.xssf.extractor.TestXSSFExcelExtractorUsingFactory)
[java] org.junit.ComparisonFailure: string does not start with prefix
expected:<...w2nd row 2nd column
[java] []> but was:<...w2nd row 2nd column
[java] [This ... (length=194)]>
[java] at org.junit.Assert.assertEquals(Assert.java:115)
[java] at
org.apache.poi.POITestCase.assertStartsWith(POITestCase.java:81)
[java] at
org.apache.poi.xssf.extractor.TestXSSFExcelExtractor.testComparedToOLE2(TestXSSFExcelExtractor.java:141)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at junit.framework.TestCase.runTest(TestCase.java:176)
[java] at junit.framework.TestCase.runBare(TestCase.java:141)
[java] at junit.framework.TestResult$1.protect(TestResult.java:122)
[java] at junit.framework.TestResult.runProtected(TestResult.java:142)
[java] at junit.framework.TestResult.run(TestResult.java:125)
[java] at junit.framework.TestCase.run(TestCase.java:129)
[java] at junit.framework.TestSuite.runTest(TestSuite.java:252)
[java] at junit.framework.TestSuite.run(TestSuite.java:247)
[java] at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
[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] 3)
testGetSimpleText(org.apache.poi.xssf.extractor.TestXSSFExcelExtractorUsingFactory)
[java] org.junit.ComparisonFailure: string does not start with prefix
expected:<Sheet1[]> but was:<Sheet1[
[java] Lore... (length=269)]>
[java] at org.junit.Assert.assertEquals(Assert.java:115)
[java] at
org.apache.poi.POITestCase.assertStartsWith(POITestCase.java:81)
[java] at
org.apache.poi.xssf.extractor.TestXSSFExcelExtractor.testGetSimpleText(TestXSSFExcelExtractor.java:54)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at junit.framework.TestCase.runTest(TestCase.java:176)
[java] at junit.framework.TestCase.runBare(TestCase.java:141)
[java] at junit.framework.TestResult$1.protect(TestResult.java:122)
[java] at junit.framework.TestResult.runProtected(TestResult.java:142)
[java] at junit.framework.TestResult.run(TestResult.java:125)
[java] at junit.framework.TestCase.run(TestCase.java:129)
[java] at junit.framework.TestSuite.runTest(TestSuite.java:252)
[java] at junit.framework.TestSuite.run(TestSuite.java:247)
[java] at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
[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] 4)
testGetComplexText(org.apache.poi.xssf.extractor.TestXSSFExcelExtractor)
[java] org.junit.ComparisonFailure: string does not start with prefix
expected:<... TAX RATES ON ANNUAL[]> but was:<... TAX RATES ON ANNUAL[ EARN...
(length=8912)]>
[java] at org.junit.Assert.assertEquals(Assert.java:115)
[java] at
org.apache.poi.POITestCase.assertStartsWith(POITestCase.java:81)
[java] at
org.apache.poi.xssf.extractor.TestXSSFExcelExtractor.testGetComplexText(TestXSSFExcelExtractor.java:115)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at junit.framework.TestCase.runTest(TestCase.java:176)
[java] at junit.framework.TestCase.runBare(TestCase.java:141)
[java] at junit.framework.TestResult$1.protect(TestResult.java:122)
[java] at junit.framework.TestResult.runProtected(TestResult.java:142)
[java] at junit.framework.TestResult.run(TestResult.java:125)
[java] at junit.framework.TestCase.run(TestCase.java:129)
[java] at junit.framework.TestSuite.runTest(TestSuite.java:252)
[java] at junit.framework.TestSuite.run(TestSuite.java:247)
[java] at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
[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] 5)
testComparedToOLE2(org.apache.poi.xssf.extractor.TestXSSFExcelExtractor)
[java] org.junit.ComparisonFailure: string does not start with prefix
expected:<...w2nd row 2nd column
[java] []> but was:<...w2nd row 2nd column
[java] [This ... (length=194)]>
[java] at org.junit.Assert.assertEquals(Assert.java:115)
[java] at
org.apache.poi.POITestCase.assertStartsWith(POITestCase.java:81)
[java] at
org.apache.poi.xssf.extractor.TestXSSFExcelExtractor.testComparedToOLE2(TestXSSFExcelExtractor.java:141)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at junit.framework.TestCase.runTest(TestCase.java:176)
[java] at junit.framework.TestCase.runBare(TestCase.java:141)
[java] at junit.framework.TestResult$1.protect(TestResult.java:122)
[java] at junit.framework.TestResult.runProtected(TestResult.java:142)
[java] at junit.framework.TestResult.run(TestResult.java:125)
[java] at junit.framework.TestCase.run(TestCase.java:129)
[java] at junit.framework.TestSuite.runTest(TestSuite.java:252)
[java] at junit.framework.TestSuite.run(TestSuite.java:247)
[java] at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
[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] 6)
testGetSimpleText(org.apache.poi.xssf.extractor.TestXSSFExcelExtractor)
[java] org.junit.ComparisonFailure: string does not start with prefix
expected:<Sheet1[]> but was:<Sheet1[
[java] Lore... (length=269)]>
[java] at org.junit.Assert.assertEquals(Assert.java:115)
[java] at
org.apache.poi.POITestCase.assertStartsWith(POITestCase.java:81)
[java] at
org.apache.poi.xssf.extractor.TestXSSFExcelExtractor.testGetSimpleText(TestXSSFExcelExtractor.java:54)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at junit.framework.TestCase.runTest(TestCase.java:176)
[java] at junit.framework.TestCase.runBare(TestCase.java:141)
[java] at junit.framework.TestResult$1.protect(TestResult.java:122)
[java] at junit.framework.TestResult.runProtected(TestResult.java:142)
[java] at junit.framework.TestResult.run(TestResult.java:125)
[java] at junit.framework.TestCase.run(TestCase.java:129)
[java] at junit.framework.TestSuite.runTest(TestSuite.java:252)
[java] at junit.framework.TestSuite.run(TestSuite.java:247)
[java] at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
[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]
[java] FAILURES!!!
[java] Tests run: 2163, Failures: 6
[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.6/ws/build.xml>:1624: Java returned: 1
Total time: 5 minutes 48 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 100.0% relative to #248
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: [email protected]
For additional commands, e-mail: [email protected]