Committed a fix in 1524900. Shai
On Tue, Sep 17, 2013 at 11:48 PM, Shai Erera <ser...@gmail.com> wrote: > Ok this is one tricky bug. Without prints, it took 2000 iters to > reproduce on Windows, 700 on Linux. > But the more prints I add, the faster it reproduces. So anti-heisen > (fortunately!) > > Anyway, I think I found the cause, running some tests and exploring how > best to solve it. Just wanted to update the status. > > Shai > > > On Mon, Sep 16, 2013 at 10:34 AM, Shai Erera <ser...@gmail.com> wrote: > >> I failed to reproduce with the reported seed, master seed, random seeds >> ... all with iters. I'll dig. >> >> Shai >> >> >> On Mon, Sep 16, 2013 at 9:07 AM, Policeman Jenkins Server < >> jenk...@thetaphi.de> wrote: >> >>> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/7485/ >>> Java: 64bit/jdk1.8.0-ea-b106 -XX:-UseCompressedOops -XX:+UseSerialGC >>> >>> 1 tests failed. >>> REGRESSION: >>> >>> org.apache.lucene.index.TestNumericDocValuesUpdates.testManyReopensAndFields >>> >>> Error Message: >>> invalid value for doc=351, field=f1 expected:<15> but was:<14> >>> >>> Stack Trace: >>> java.lang.AssertionError: invalid value for doc=351, field=f1 >>> expected:<15> but was:<14> >>> at >>> __randomizedtesting.SeedInfo.seed([5E1E0079E35D52E:331D82281FC0B632]: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.apache.lucene.index.TestNumericDocValuesUpdates.testManyReopensAndFields(TestNumericDocValuesUpdates.java:757) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>> at java.lang.reflect.Method.invoke(Method.java:491) >>> at >>> com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1559) >>> at >>> com.carrotsearch.randomizedtesting.RandomizedRunner.access$600(RandomizedRunner.java:79) >>> at >>> com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:737) >>> at >>> com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:773) >>> at >>> com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:787) >>> at >>> org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50) >>> at >>> org.apache.lucene.util.TestRuleFieldCacheSanity$1.evaluate(TestRuleFieldCacheSanity.java:51) >>> at >>> org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) >>> at >>> com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) >>> at >>> org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49) >>> at >>> org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70) >>> 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:358) >>> at >>> com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:782) >>> at >>> com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:442) >>> at >>> com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:746) >>> at >>> com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:648) >>> at >>> com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:682) >>> at >>> com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:693) >>> at >>> org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) >>> at >>> org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42) >>> at >>> com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) >>> at >>> com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) >>> at >>> com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) >>> at >>> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) >>> at >>> org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:43) >>> at >>> org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) >>> at >>> org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70) >>> 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:358) >>> at java.lang.Thread.run(Thread.java:724) >>> >>> >>> >>> >>> Build Log: >>> [...truncated 776 lines...] >>> [junit4] Suite: org.apache.lucene.index.TestNumericDocValuesUpdates >>> [junit4] 2> NOTE: reproduce with: ant test >>> -Dtestcase=TestNumericDocValuesUpdates >>> -Dtests.method=testManyReopensAndFields -Dtests.seed=5E1E0079E35D52E >>> -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=tr >>> -Dtests.timezone=Etc/GMT-6 -Dtests.file.encoding=US-ASCII >>> [junit4] FAILURE 1.40s J0 | >>> TestNumericDocValuesUpdates.testManyReopensAndFields <<< >>> [junit4] > Throwable #1: java.lang.AssertionError: invalid value >>> for doc=351, field=f1 expected:<15> but was:<14> >>> [junit4] > at >>> __randomizedtesting.SeedInfo.seed([5E1E0079E35D52E:331D82281FC0B632]:0) >>> [junit4] > at >>> org.apache.lucene.index.TestNumericDocValuesUpdates.testManyReopensAndFields(TestNumericDocValuesUpdates.java:757) >>> [junit4] > at java.lang.Thread.run(Thread.java:724) >>> [junit4] 2> NOTE: test params are: codec=Asserting, >>> sim=RandomSimilarityProvider(queryNorm=false,coord=no): {}, locale=tr, >>> timezone=Etc/GMT-6 >>> [junit4] 2> NOTE: Linux 3.2.0-53-generic amd64/Oracle Corporation >>> 1.8.0-ea (64-bit)/cpus=8,threads=1,free=66621176,total=210272256 >>> [junit4] 2> NOTE: All tests run in this JVM: [TestSegmentReader, >>> TestStressNRT, TestSort, TestShardSearching, TestEliasFanoSequence, >>> TestBytesRefHash, TestPhrasePrefixQuery, TestLucene45DocValuesFormat, >>> TestFastCompressionMode, TestEliasFanoDocIdSet, TestSearchForDuplicates, >>> TestFixedBitSet, TestIsCurrent, TestFilteredSearch, >>> TestFieldCacheSanityChecker, TestSegmentTermEnum, TestDeletionPolicy, >>> TestSimpleExplanations, TestRegexpRandom, TestIndexCommit, >>> TestCloseableThreadLocal, TestNumericRangeQuery32, TestTwoPhaseCommitTool, >>> TestIndexWriterOnDiskFull, TestPhraseQuery, TestSearchAfter, >>> TestParallelReaderEmptyIndex, TestMaxTermFrequency, >>> TestFlushByRamOrCountsPolicy, TestSimilarity, TestNumericRangeQuery64, >>> TestByteSlices, TestSameScoresWithThreads, TestDocValuesWithThreads, >>> TestMockAnalyzer, TestArrayUtil, TestPostingsOffsets, >>> TestCompressingTermVectorsFormat, TestSentinelIntSet, TestCustomNorms, >>> TestExternalCodecs, TestNumericDocValuesUpdates] >>> [junit4] Completed on J0 in 83.46s, 24 tests, 1 failure <<< FAILURES! >>> >>> [...truncated 800 lines...] >>> BUILD FAILED >>> /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:396: The >>> following error occurred while executing this line: >>> /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:376: The >>> following error occurred while executing this line: >>> /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:39: The >>> following error occurred while executing this line: >>> /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/build.xml:49: >>> The following error occurred while executing this line: >>> /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/common-build.xml:1230: >>> The following error occurred while executing this line: >>> /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/common-build.xml:873: >>> There were test failures: 368 suites, 2600 tests, 1 failure, 100 >>> ignored (87 assumptions) >>> >>> Total time: 9 minutes 29 seconds >>> Build step 'Invoke Ant' marked build as failure >>> Description set: Java: 64bit/jdk1.8.0-ea-b106 -XX:-UseCompressedOops >>> -XX:+UseSerialGC >>> Archiving artifacts >>> Recording test results >>> Email was triggered for: Failure >>> Sending email for trigger: Failure >>> >>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org >>> For additional commands, e-mail: dev-h...@lucene.apache.org >>> >> >> >