ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Build failed on CI server
Date Thu, 09 Oct 2008 07:10:40 GMT
On Thu, 9 Oct 2008, Jan Materne <Jan.Materne@rzf.fin-nrw.de> wrote:

> Linux:
> http://teamcity.jetbrains.com/viewLog.html;jsessionid=B2FCF7E3EAB6A4B0CD
> 46200A14A00579?tab=buildLog&buildTypeId=bt134&buildId=14460&all=true
> 
> [19:39:16]: Testsuite: org.apache.tools.ant.util.VectorSetTest
> [19:39:16]: Tests run: 20, Failures: 1, Errors: 0, Time elapsed:
> 0.007 sec [19:39:16]: [19:39:16]: Testcase:
> testAddAll2(org.apache.tools.ant.util.VectorSetTest): FAILED
> [19:39:16]: expected:<1> but was:<0> [19:39:16]:
> junit.framework.AssertionFailedError: expected:<1> but was:<0>
> [19:39:16]: at
> org.apache.tools.ant.util.VectorSetTest.testAddAll2(VectorSetTest.java:5
> 5)

Failed on Java6 for me as well, until I fixed it yesterday.

> [19:40:18]: Build File:
> /home/builduser/buildagent/work/819a8265f243c7f8/src/tests/antunit/taskd
> efs/optional/depend/depend-test.xml [19:40:21]: Tests run: 1,
> Failures: 1, Errors: 0, Time elapsed: 3.496 sec [19:40:21]: Target:
> testBug45916 FAILED [19:40:21]: at line 69, column 59 [19:40:21]:
> Message: Expected file '/tmp/testoutput/b/Main$1.class' to exist

That should pass.  I have seen other errors that made me suspect the
tests were not being run against the freshly built Ant and this could
be sucha a case as well.

> [19:39:19]: [junit] Testcase:
> testClear(org.apache.tools.ant.util.VectorSetTest): Caused an ERROR
> [19:39:19]: [junit] null [19:39:19]: [junit]
> java.lang.StackOverflowError [19:39:19]:

Indicates the tests are being run against a pretty old (i.e. a few
days older than trunk) version of VectorSet.  If you look into the
stack trace youll see line numbers that don't make sense when compared
to trunk.

Stefan

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


Mime
View raw message