Thanks Adrien, I reopened the issue ... I'll work on it. Sorry! Mike McCandless
http://blog.mikemccandless.com On Wed, Jan 20, 2016 at 2:47 PM, Adrien Grand <[email protected]> wrote: > This is due to a RAMDirectory bug that was introduced in > https://issues.apache.org/jira/browse/LUCENE-6932. I updated the issue with > a simplified reproduction of the problem. > > Le mer. 20 janv. 2016 à 18:46, Adrien Grand <[email protected]> a écrit : >> >> I'll look into it. >> >> Le mer. 20 janv. 2016 à 09:12, Robert Muir <[email protected]> a écrit : >>> >>> this assert is related to the expected size / file pointer of the >>> amount of compressed data read. >>> >>> But it returns the correct integers if you disable the assert: so >>> something about the assert is off, or we write too much data? >>> >>> On Tue, Jan 19, 2016 at 9:58 PM, Robert Muir <[email protected]> wrote: >>> > it reproduces... >>> > >>> > On Tue, Jan 19, 2016 at 8:43 PM, Policeman Jenkins Server >>> > <[email protected]> wrote: >>> >> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/15594/ >>> >> Java: 64bit/jdk1.8.0_66 -XX:-UseCompressedOops -XX:+UseG1GC >>> >> >>> >> 1 tests failed. >>> >> FAILED: >>> >> org.apache.lucene.util.packed.TestPackedInts.testMonotonicBlockPackedReaderWriter >>> >> >>> >> Error Message: >>> >> expected:<235520> but was:<236544> >>> >> >>> >> Stack Trace: >>> >> java.lang.AssertionError: expected:<235520> but was:<236544> >>> >> at >>> >> __randomizedtesting.SeedInfo.seed([1393C4E0AB3CA0AD:C4E3168A0998CEC]:0) >>> >> at org.junit.Assert.fail(Assert.java:93) >>> >> at org.junit.Assert.failNotEquals(Assert.java:647) >>> >> at org.junit.Assert.assertEquals(Assert.java:128) >>> >> at org.junit.Assert.assertEquals(Assert.java:472) >>> >> at org.junit.Assert.assertEquals(Assert.java:456) >>> >> at >>> >> org.apache.lucene.util.packed.TestPackedInts.testMonotonicBlockPackedReaderWriter(TestPackedInts.java:1240) >>> >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> >> at >>> >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) >>> >> at >>> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>> >> at java.lang.reflect.Method.invoke(Method.java:497) >>> >> at >>> >> com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1764) >>> >> at >>> >> com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:871) >>> >> at >>> >> com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:907) >>> >> at >>> >> com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:921) >>> >> at >>> >> org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50) >>> >> at >>> >> org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) >>> >> at >>> >> org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49) >>> >> at >>> >> org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65) >>> >> at >>> >> org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) >>> >> at >>> >> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) >>> >> at >>> >> com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:367) >>> >> at >>> >> com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:809) >>> >> at >>> >> com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:460) >>> >> at >>> >> com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:880) >>> >> at >>> >> com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:781) >>> >> at >>> >> com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:816) >>> >> at >>> >> com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:827) >>> >> at >>> >> org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) >>> >> at >>> >> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) >>> >> at >>> >> org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42) >>> >> at >>> >> com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40) >>> >> at >>> >> com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40) >>> >> at >>> >> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) >>> >> at >>> >> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) >>> >> at >>> >> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) >>> >> at >>> >> org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:54) >>> >> at >>> >> org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) >>> >> at >>> >> org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65) >>> >> at >>> >> org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:55) >>> >> at >>> >> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) >>> >> at >>> >> com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:367) >>> >> at java.lang.Thread.run(Thread.java:745) >>> >> >>> >> >>> >> >>> >> >>> >> Build Log: >>> >> [...truncated 1105 lines...] >>> >> [junit4] Suite: org.apache.lucene.util.packed.TestPackedInts >>> >> [junit4] 2> NOTE: reproduce with: ant test >>> >> -Dtestcase=TestPackedInts >>> >> -Dtests.method=testMonotonicBlockPackedReaderWriter >>> >> -Dtests.seed=1393C4E0AB3CA0AD -Dtests.multiplier=3 -Dtests.slow=true >>> >> -Dtests.locale=de-CH -Dtests.timezone=Pacific/Apia -Dtests.asserts=true >>> >> -Dtests.file.encoding=UTF-8 >>> >> [junit4] FAILURE 0.16s J2 | >>> >> TestPackedInts.testMonotonicBlockPackedReaderWriter <<< >>> >> [junit4] > Throwable #1: java.lang.AssertionError: >>> >> expected:<235520> but was:<236544> >>> >> [junit4] > at >>> >> __randomizedtesting.SeedInfo.seed([1393C4E0AB3CA0AD:C4E3168A0998CEC]:0) >>> >> [junit4] > at >>> >> org.apache.lucene.util.packed.TestPackedInts.testMonotonicBlockPackedReaderWriter(TestPackedInts.java:1240) >>> >> [junit4] > at java.lang.Thread.run(Thread.java:745) >>> >> [junit4] IGNOR/A 0.00s J2 | TestPackedInts.testBlockReaderOverflow >>> >> [junit4] > Assumption #1: 'nightly' test group is disabled >>> >> (@Nightly()) >>> >> [junit4] 2> NOTE: leaving temporary files on disk at: >>> >> /home/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/build/core/test/J2/temp/lucene.util.packed.TestPackedInts_1393C4E0AB3CA0AD-001 >>> >> [junit4] 2> NOTE: test params are: >>> >> codec=HighCompressionCompressingStoredFields(storedFieldsFormat=CompressingStoredFieldsFormat(compressionMode=HIGH_COMPRESSION, >>> >> chunkSize=209, maxDocsPerChunk=2, blockSize=9), >>> >> termVectorsFormat=CompressingTermVectorsFormat(compressionMode=HIGH_COMPRESSION, >>> >> chunkSize=209, blockSize=9)), >>> >> sim=RandomSimilarity(queryNorm=false,coord=no): {}, locale=de-CH, >>> >> timezone=Pacific/Apia >>> >> [junit4] 2> NOTE: Linux 3.19.0-42-generic amd64/Oracle >>> >> Corporation 1.8.0_66 >>> >> (64-bit)/cpus=12,threads=1,free=186878536,total=536870912 >>> >> [junit4] 2> NOTE: All tests run in this JVM: >>> >> [TestIndexWriterOutOfFileDescriptors, TestDemoParallelLeafReader, >>> >> TestIndexWriterOnJRECrash, TestConcurrentMergeScheduler, >>> >> TestSPIClassIterator, TestRegexpRandom2, TestRollingUpdates, >>> >> TestReaderClosed, TestBagOfPositions, TestElevationComparator, >>> >> TestAllFilesHaveChecksumFooter, TestCustomSearcherSort, TestBytesStore, >>> >> TestForceMergeForever, TestNeedsScores, TestTermsEnum2, >>> >> TestLucene50SegmentInfoFormat, TestUsageTrackingFilterCachingPolicy, >>> >> TestLiveFieldValues, TestFilterSpans, TestMergeRateLimiter, >>> >> TestConsistentFieldNumbers, TestIsCurrent, TestOfflineSorter, >>> >> TestMultiMMap, >>> >> TestNamedSPILoader, TestTermVectorsReader, >>> >> TestControlledRealTimeReopenThread, TestMixedCodecs, >>> >> TestCachingCollector, >>> >> TestBKD, TestNIOFSDirectory, TestMaxTermFrequency, TestMultiCollector, >>> >> TestDateTools, TestNumericRangeQuery32, TestCloseableThreadLocal, >>> >> TestAtomicUpdate, TestEarlyTermination, TestSpanExplanationsOfNonMatches, >>> >> TestCharsRefBuilder, Test2BPositions, TestTopDocsMerge, TestSpans, >>> >> TestBooleanScorer, TestNRTReaderCleanup, TestIndexWriterMerging, >>> >> TestArrayUtil, TestDocCount, TestSortedSetSelector, TestDocumentWriter, >>> >> TestIntroSorter, TestReqExclBulkScorer, TestMultiThreadTermVectors, >>> >> TestIndexWriterFromReader, TestForUtil, TestBufferedChecksum, >>> >> TestCompiledAutomaton, TestStressDeletes, TestNGramPhraseQuery, >>> >> Test2BPostingsBytes, TestCharTermAttributeImpl, TestSimpleAttributeImpl, >>> >> TestIndexFileDeleter, TestDocValues, TestIndexableField, TestFieldType, >>> >> TestSleepingLockWrapper, TestIndexWriter, TestIndexWriterReader, >>> >> TestFSTs, >>> >> TestNumericRangeQuery64, TestPackedInts] >>> >> [junit4] Completed [200/406 (1!)] on J2 in 8.55s, 28 tests, 1 >>> >> failure, 3 skipped <<< FAILURES! >>> >> >>> >> [...truncated 682 lines...] >>> >> BUILD FAILED >>> >> /home/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:784: The >>> >> following error occurred while executing this line: >>> >> /home/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:728: The >>> >> following error occurred while executing this line: >>> >> /home/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:59: The >>> >> following error occurred while executing this line: >>> >> /home/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/build.xml:50: >>> >> The following error occurred while executing this line: >>> >> >>> >> /home/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/common-build.xml:1424: >>> >> The following error occurred while executing this line: >>> >> >>> >> /home/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/common-build.xml:981: >>> >> There were test failures: 406 suites (1 ignored), 3328 tests, 1 failure, >>> >> 52 >>> >> ignored (48 assumptions) [seed: 1393C4E0AB3CA0AD] >>> >> >>> >> Total time: 6 minutes 14 seconds >>> >> Build step 'Invoke Ant' marked build as failure >>> >> Archiving artifacts >>> >> [WARNINGS] Skipping publisher since build result is FAILURE >>> >> Recording test results >>> >> Email was triggered for: Failure - Any >>> >> Sending email for trigger: Failure - Any >>> >> >>> >> >>> >> >>> >> >>> >> --------------------------------------------------------------------- >>> >> To unsubscribe, e-mail: [email protected] >>> >> For additional commands, e-mail: [email protected] >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
