You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2010/07/26 23:25:19 UTC
[jira] Created: (LUCENE-2569) TestParallelTermEnum fails with Sep
codec
TestParallelTermEnum fails with Sep codec
-----------------------------------------
Key: LUCENE-2569
URL: https://issues.apache.org/jira/browse/LUCENE-2569
Project: Lucene - Java
Issue Type: Bug
Components: Index
Affects Versions: 4.0
Reporter: Robert Muir
Priority: Minor
Fix For: 4.0
reproduceable in the 'preflexfixes' branch (since we test all codecs there) with: ant test-core -Dtestcase=TestParallelTermEnum -Dtests.codec=Sep
But I think there are probably more tests like this that have only been run with Standard and we might find more like this.
I don't think this should block LUCENE-2554.
{noformat}
[junit] Testsuite: org.apache.lucene.index.TestParallelTermEnum
[junit] Testcase: test1(org.apache.lucene.index.TestParallelTermEnum): Caused an ERROR
[junit] read past EOF
[junit] java.io.IOException: read past EOF
[junit] at org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:154)
[junit] at org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:39)
[junit] at org.apache.lucene.store.DataInput.readVInt(DataInput.java:86)
[junit] at org.apache.lucene.index.codecs.sep.SingleIntIndexInput$Reader.next(SingleIntIndexInput.java:64)
[junit] at org.apache.lucene.index.codecs.sep.SepPostingsReaderImpl$SepDocsEnum.nextDoc(SepPostingsReaderImpl.java:316)
[junit] at org.apache.lucene.index.TestParallelTermEnum.test1(TestParallelTermEnum.java:188)
[junit] at org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:316)
[junit]
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.009 sec
[junit]
[junit] ------------- Standard Output ---------------
[junit] NOTE: random codec of testcase 'test1' was: Sep
[junit] ------------- ---------------- ---------------
{noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Resolved: (LUCENE-2569) TestParallelTermEnum fails with Sep
codec
Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-2569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless resolved LUCENE-2569.
----------------------------------------
Resolution: Fixed
> TestParallelTermEnum fails with Sep codec
> -----------------------------------------
>
> Key: LUCENE-2569
> URL: https://issues.apache.org/jira/browse/LUCENE-2569
> Project: Lucene - Java
> Issue Type: Bug
> Components: Index
> Affects Versions: 4.0
> Reporter: Robert Muir
> Assignee: Michael McCandless
> Priority: Minor
> Fix For: 4.0
>
> Attachments: LUCENE-2569.patch
>
>
> reproduceable in the 'preflexfixes' branch (since we test all codecs there) with: ant test-core -Dtestcase=TestParallelTermEnum -Dtests.codec=Sep
> But I think there are probably more tests like this that have only been run with Standard and we might find more like this.
> I don't think this should block LUCENE-2554.
> {noformat}
> [junit] Testsuite: org.apache.lucene.index.TestParallelTermEnum
> [junit] Testcase: test1(org.apache.lucene.index.TestParallelTermEnum): Caused an ERROR
> [junit] read past EOF
> [junit] java.io.IOException: read past EOF
> [junit] at org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:154)
> [junit] at org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:39)
> [junit] at org.apache.lucene.store.DataInput.readVInt(DataInput.java:86)
> [junit] at org.apache.lucene.index.codecs.sep.SingleIntIndexInput$Reader.next(SingleIntIndexInput.java:64)
> [junit] at org.apache.lucene.index.codecs.sep.SepPostingsReaderImpl$SepDocsEnum.nextDoc(SepPostingsReaderImpl.java:316)
> [junit] at org.apache.lucene.index.TestParallelTermEnum.test1(TestParallelTermEnum.java:188)
> [junit] at org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:316)
> [junit]
> [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.009 sec
> [junit]
> [junit] ------------- Standard Output ---------------
> [junit] NOTE: random codec of testcase 'test1' was: Sep
> [junit] ------------- ---------------- ---------------
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Assigned: (LUCENE-2569) TestParallelTermEnum fails with Sep
codec
Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-2569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless reassigned LUCENE-2569:
------------------------------------------
Assignee: Michael McCandless
> TestParallelTermEnum fails with Sep codec
> -----------------------------------------
>
> Key: LUCENE-2569
> URL: https://issues.apache.org/jira/browse/LUCENE-2569
> Project: Lucene - Java
> Issue Type: Bug
> Components: Index
> Affects Versions: 4.0
> Reporter: Robert Muir
> Assignee: Michael McCandless
> Priority: Minor
> Fix For: 4.0
>
>
> reproduceable in the 'preflexfixes' branch (since we test all codecs there) with: ant test-core -Dtestcase=TestParallelTermEnum -Dtests.codec=Sep
> But I think there are probably more tests like this that have only been run with Standard and we might find more like this.
> I don't think this should block LUCENE-2554.
> {noformat}
> [junit] Testsuite: org.apache.lucene.index.TestParallelTermEnum
> [junit] Testcase: test1(org.apache.lucene.index.TestParallelTermEnum): Caused an ERROR
> [junit] read past EOF
> [junit] java.io.IOException: read past EOF
> [junit] at org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:154)
> [junit] at org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:39)
> [junit] at org.apache.lucene.store.DataInput.readVInt(DataInput.java:86)
> [junit] at org.apache.lucene.index.codecs.sep.SingleIntIndexInput$Reader.next(SingleIntIndexInput.java:64)
> [junit] at org.apache.lucene.index.codecs.sep.SepPostingsReaderImpl$SepDocsEnum.nextDoc(SepPostingsReaderImpl.java:316)
> [junit] at org.apache.lucene.index.TestParallelTermEnum.test1(TestParallelTermEnum.java:188)
> [junit] at org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:316)
> [junit]
> [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.009 sec
> [junit]
> [junit] ------------- Standard Output ---------------
> [junit] NOTE: random codec of testcase 'test1' was: Sep
> [junit] ------------- ---------------- ---------------
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Updated: (LUCENE-2569) TestParallelTermEnum fails with Sep
codec
Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-2569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless updated LUCENE-2569:
---------------------------------------
Attachment: LUCENE-2569.patch
This was just a reuse bug -- the Sep codec wasn't properly vetting the income reuse Docs/AndPositionsEnum.
> TestParallelTermEnum fails with Sep codec
> -----------------------------------------
>
> Key: LUCENE-2569
> URL: https://issues.apache.org/jira/browse/LUCENE-2569
> Project: Lucene - Java
> Issue Type: Bug
> Components: Index
> Affects Versions: 4.0
> Reporter: Robert Muir
> Assignee: Michael McCandless
> Priority: Minor
> Fix For: 4.0
>
> Attachments: LUCENE-2569.patch
>
>
> reproduceable in the 'preflexfixes' branch (since we test all codecs there) with: ant test-core -Dtestcase=TestParallelTermEnum -Dtests.codec=Sep
> But I think there are probably more tests like this that have only been run with Standard and we might find more like this.
> I don't think this should block LUCENE-2554.
> {noformat}
> [junit] Testsuite: org.apache.lucene.index.TestParallelTermEnum
> [junit] Testcase: test1(org.apache.lucene.index.TestParallelTermEnum): Caused an ERROR
> [junit] read past EOF
> [junit] java.io.IOException: read past EOF
> [junit] at org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:154)
> [junit] at org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:39)
> [junit] at org.apache.lucene.store.DataInput.readVInt(DataInput.java:86)
> [junit] at org.apache.lucene.index.codecs.sep.SingleIntIndexInput$Reader.next(SingleIntIndexInput.java:64)
> [junit] at org.apache.lucene.index.codecs.sep.SepPostingsReaderImpl$SepDocsEnum.nextDoc(SepPostingsReaderImpl.java:316)
> [junit] at org.apache.lucene.index.TestParallelTermEnum.test1(TestParallelTermEnum.java:188)
> [junit] at org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:316)
> [junit]
> [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.009 sec
> [junit]
> [junit] ------------- Standard Output ---------------
> [junit] NOTE: random codec of testcase 'test1' was: Sep
> [junit] ------------- ---------------- ---------------
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org