Bug#749365: lucene2: FTBFS - tests fail
I rebuilt lucene2 ten times with pbuilder. It succeeded 9 times and failed once but with a different test failure (also reported by Miguel on debian-java in July): [junit] Testcase: testPhraseQueryWithStopAnalyzer(org.apache.lucene.search.TestPhraseQuery): FAILED [junit] expected:1 but was:0 [junit] junit.framework.AssertionFailedError: expected:1 but was:0 [junit] at org.apache.lucene.search.TestPhraseQuery.testPhraseQueryWithStopAnalyzer(TestPhraseQuery.java:228) [junit] at org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:221) [junit] [junit] [junit] Test org.apache.lucene.search.TestPhraseQuery FAILED I haven't been able to reproduce the error with TestStressIndexing2.testRandomIWReader. The lucene tests have random parameters that are probably the cause of the instability observed, fortunately that's the exception and not the rule. __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#749365: lucene2: FTBFS - tests fail
Package: lucene2 Version: 2.9.4+ds1-4 Severity: serious Usertags: goto-cc During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder and pbuilder) the build failed with the following error. [...] [junit] [junit] WARNING: 5 broken segments (containing 40 documents) detected [junit] [junit] NOTE: random seed of testcase 'testRandomIWReader' was: 1587924981741442114 [junit] - --- [junit] Testcase: testRandomIWReader(org.apache.lucene.index.TestStressIndexing2): Caused an ERROR [junit] CheckIndex failed [junit] java.lang.RuntimeException: CheckIndex failed [junit] at org.apache.lucene.util._TestUtil.checkIndex(_TestUtil.java:79) [junit] at org.apache.lucene.index.TestStressIndexing2.indexRandomIWReader(TestStressIndexing2.java:169) [junit] at org.apache.lucene.index.TestStressIndexing2.testRandomIWReader(TestStressIndexing2.java:61) [junit] at org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:221) [junit] [junit] The full build log is attached. Best, Michael lucene-build-log.txt.gz Description: application/gunzip pgpVXRRb8uORR.pgp Description: PGP signature __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.