poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominik Stadler <dominik.stad...@gmx.at>
Subject Re: Build failed in Jenkins: POI #1229
Date Sun, 10 Apr 2016 05:19:49 GMT
Hi,

just FYI, most of the recent build-failures are due to files that were
modified as part of the tests which causes LATER builds to fail. We fixed
the original problems already and I have added output to the Jenkins-jobs
that at least allows to detect this in the jenkins builds:

[POI] $ /bin/bash -xe /tmp/hudson4394283970506438120.sh
+ svn status
    X   forrest.properties
X       src/documentation
M       test-data/openxml4j/50154.xlsx
M       test-data/openxml4j/51444.xlsx
M       test-data/openxml4j/53282.xlsx
...

We could do a "svn revert" at the beginning, but builds/tests that change
released files are never a good idea so I am a bit reluctant to just fix
the symptoms here.

For now the only other solution is to clean the workspace in Jenkins, which
unfortunately is only done on the machine that executed the job the last
time, so if it re-runs on another machine, it will fail once more :(

Dominik.


On Sat, Apr 9, 2016 at 2:44 PM, Apache Jenkins Server <
jenkins@builds.apache.org> wrote:

> See <https://builds.apache.org/job/POI/1229/changes>
>
> Changes:
>
> [kiwiwings] remove copy&paste error in release-prep
>
> ------------------------------------------
> [...truncated 542 lines...]
>      [java] Column 34 took 13.0 ms
>      [java] Column 35 took 13.0 ms
>      [java] Column 36 took 12.0 ms
>      [java] Column 37 took 12.0 ms
>      [java] Column 38 took 13.0 ms
>      [java] Column 39 took 13.0 ms
>      [java] Column 40 took 13.0 ms
>      [java] Column 41 took 13.0 ms
>      [java] Column 42 took 14.0 ms
>      [java] Column 43 took 13.0 ms
>      [java] Column 44 took 13.0 ms
>      [java] Column 45 took 14.0 ms
>      [java] Column 46 took 24.0 ms
>      [java] Column 47 took 14.0 ms
>      [java] Column 48 took 14.0 ms
>      [java] Column 49 took 14.0 ms
>      [java] Column 50 took 14.0 ms
>      [java] Column 51 took 14.0 ms
>      [java] Column 52 took 14.0 ms
>      [java] Column 53 took 14.0 ms
>      [java] Column 54 took 13.0 ms
>      [java] Column 55 took 14.0 ms
>      [java] Column 56 took 13.0 ms
>      [java] Column 57 took 13.0 ms
>      [java] Column 58 took 16.0 ms
>      [java] Column 59 took 14.0 ms
>      [java] Column 60 took 14.0 ms
>      [java] Column 61 took 120.0 ms
>      [java] Column 62 took 36.0 ms
>      [java] Column 63 took 12.0 ms
>      [java] Column 64 took 12.0 ms
>      [java] Column 65 took 12.0 ms
>      [java] Column 66 took 12.0 ms
>      [java] Column 67 took 1595.0 ms
>      [java] Column 68 took 30.0 ms
>      [java] Column 69 took 13.0 ms
>      [java] Column 70 took 13.0 ms
>      [java] Column 71 took 24.0 ms
>      [java] Column 72 took 22.0 ms
>      [java] Column 73 took 22.0 ms
>      [java] Column 74 took 20.0 ms
>      [java] Column 75 took 18.0 ms
>      [java] Column 76 took 42.0 ms
>      [java] Column 77 took 44.0 ms
>      [java] Column 78 took 49.0 ms
>      [java] Column 79 took 57.0 ms
>      [java] Column 80 took 35.0 ms
>      [java] Column 81 took 32.0 ms
>      [java] Column 82 took 24.0 ms
>      [java] Column 83 took 22.0 ms
>      [java] Column 84 took 33.0 ms
>      [java] Column 85 took 41.0 ms
>      [java] Column 86 took 12.0 ms
>      [java] Column 87 took 13.0 ms
>      [java] Column 88 took 22.0 ms
>      [java] Column 89 took 55.0 ms
>      [java] Column 90 took 58.0 ms
>      [java] Column 91 took 62.0 ms
>      [java] Column 92 took 73.0 ms
>      [java] Column 93 took 59.0 ms
>      [java] Column 94 took 35.0 ms
>      [java] Column 95 took 28.0 ms
>      [java] Column 96 took 27.0 ms
>      [java] Column 97 took 26.0 ms
>      [java] Column 98 took 24.0 ms
>      [java] Column 99 took 25.0 ms
>      [java] Column 100 took 25.0 ms
>      [java] Column 101 took 25.0 ms
>      [java] Column 102 took 25.0 ms
>      [java] Column 103 took 26.0 ms
>      [java] Column 104 took 27.0 ms
>      [java] Column 105 took 49.0 ms
>      [java] Column 106 took 98.0 ms
>      [java] Column 107 took 85.0 ms
>      [java] Column 108 took 69.0 ms
>      [java] Column 109 took 79.0 ms
>      [java] Column 110 took 29.0 ms
>      [java] Column 111 took 20.0 ms
>      [java] Column 112 took 14.0 ms
>      [java] Column 113 took 14.0 ms
>      [java] Column 114 took 14.0 ms
>      [java] Column 115 took 13.0 ms
>      [java] Column 116 took 13.0 ms
>      [java] Column 117 took 14.0 ms
>      [java] Column 118 took 14.0 ms
>      [java] Column 119 took 51.0 ms
>      [java] Column 120 took 54.0 ms
>      [java] Column 121 took 42.0 ms
>      [java] Column 122 took 28.0 ms
>      [java] Column 123 took 14.0 ms
>      [java] Column 124 took 14.0 ms
>      [java] Column 125 took 34.0 ms
>      [java] Column 126 took 28.0 ms
>      [java] Column 127 took 28.0 ms
>      [java] Column 128 took 28.0 ms
>      [java] Column 129 took 27.0 ms
>      [java] Column 130 took 27.0 ms
>      [java] Column 131 took 28.0 ms
>      [java] Column 132 took 27.0 ms
>      [java] Column 133 took 16.0 ms
>      [java] Column 134 took 13.0 ms
>      [java] Column 135 took 14.0 ms
>      [java] Column 136 took 14.0 ms
>      [java] Column 137 took 15.0 ms
>      [java] Column 138 took 14.0 ms
>      [java] Auto sizing columns took a total of 6222.0 ms
> (44.76258992805755 ms per column)
>      [java] Best fit width time per cell: 279766.18705035973 ns
>      [java] Total time: 6.49 s
>      [java] .................................................Setting col:
> 0 and row 0
>      [java] Setting col: 1 and row 1
>      [java]
> .....................................................................................I..I.I..........................................................................................................11
>      [java] Calibri
>      [java]
> ......................................................................................................................................................................................................................................Name:
> /word/document.xml - Content Type:
> application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml
>      [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...E....I............................................................................................................................................................................I..........................................E.E........................I................................................................
>      [java] Time: 449.534
>      [java] There were 3 failures:
>      [java] 1)
> encryptPackageWithoutCoreProperties(org.apache.poi.poifs.crypt.TestEncryptor)
>      [java] java.lang.AssertionError: expected:<0> but was:<1>
>      [java]     at org.junit.Assert.fail(Assert.java:88)
>      [java]     at org.junit.Assert.failNotEquals(Assert.java:834)
>      [java]     at org.junit.Assert.assertEquals(Assert.java:645)
>      [java]     at org.junit.Assert.assertEquals(Assert.java:631)
>      [java]     at
> org.apache.poi.poifs.crypt.TestEncryptor.encryptPackageWithoutCoreProperties(TestEncryptor.java:286)
>      [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
> 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:104)
>      [java]     at org.apache.poi.util.OOXMLLite.main(OOXMLLite.java:87)
>      [java] 2)
> testNoCoreProperties_saveNew(org.apache.poi.openxml4j.opc.compliance.TestOPCComplianceCoreProperties)
>      [java] junit.framework.AssertionFailedError: expected:<0> but was:<1>
>      [java]     at junit.framework.Assert.fail(Assert.java:57)
>      [java]     at junit.framework.Assert.failNotEquals(Assert.java:329)
>      [java]     at junit.framework.Assert.assertEquals(Assert.java:78)
>      [java]     at junit.framework.Assert.assertEquals(Assert.java:234)
>      [java]     at junit.framework.Assert.assertEquals(Assert.java:241)
>      [java]     at junit.framework.TestCase.assertEquals(TestCase.java:409)
>      [java]     at
> org.apache.poi.openxml4j.opc.compliance.TestOPCComplianceCoreProperties.testNoCoreProperties_saveNew(TestOPCComplianceCoreProperties.java:243)
>      [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:104)
>      [java]     at org.apache.poi.util.OOXMLLite.main(OOXMLLite.java:87)
>      [java] 3)
> testNoCoreProperties_saveInPlace(org.apache.poi.openxml4j.opc.compliance.TestOPCComplianceCoreProperties)
>      [java] junit.framework.AssertionFailedError: expected:<0> but was:<1>
>      [java]     at junit.framework.Assert.fail(Assert.java:57)
>      [java]     at junit.framework.Assert.failNotEquals(Assert.java:329)
>      [java]     at junit.framework.Assert.assertEquals(Assert.java:78)
>      [java]     at junit.framework.Assert.assertEquals(Assert.java:234)
>      [java]     at junit.framework.Assert.assertEquals(Assert.java:241)
>      [java]     at junit.framework.TestCase.assertEquals(TestCase.java:409)
>      [java]     at
> org.apache.poi.openxml4j.opc.compliance.TestOPCComplianceCoreProperties.testNoCoreProperties_saveInPlace(TestOPCComplianceCoreProperties.java:302)
>      [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:104)
>      [java]     at org.apache.poi.util.OOXMLLite.main(OOXMLLite.java:87)
>      [java]
>      [java] FAILURES!!!
>      [java] Tests run: 1903,  Failures: 3
>      [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:106)
>      [java]     at org.apache.poi.util.OOXMLLite.main(OOXMLLite.java:87)
>
> BUILD FAILED
> <https://builds.apache.org/job/POI/ws/build.xml>:1338: Java returned: 1
>
> Total time: 9 minutes 21 seconds
> Build step 'Invoke Ant' marked build as failure
> [FINDBUGS] Skipping publisher since build result is FAILURE
> [WARNINGS] Skipping publisher since build result is FAILURE
> Archiving artifacts
> Compressed 66.84 MB of artifacts by 64.8% relative to #1228
> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message