[
https://issues.apache.org/jira/browse/SOLR-14094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16997280#comment-16997280
]
Andrzej Bialecki edited comment on SOLR-14094 at 12/16/19 1:22 PM:
-------------------------------------------------------------------
[~ichattopadhyaya] yes, this test was actually added in SOLR-13898.
{{FastLRUCache}} has been removed from 9.0. I'll look into this failure to see
if I didn't miss anything obvious but other than that I'm not going to spend a
lot of time on this.
[~jpountz] this failure is specific to {{FastLRUCache}}, this test on master
doesn't use this implementation (because it's no longer present there) so I'm
going to re-enable this test on master.
was (Author: ab):
[~ichattopadhyaya] yes, this test was actually added in SOLR-13898.
{{FastLRUCache}} has been removed from 9.0. I'll look into this failure to see
if I didn't miss anything obvious but other than that I'm not going to spend a
lot of time on this.
> TestSolrCachePerf is flaky
> --------------------------
>
> Key: SOLR-14094
> URL: https://issues.apache.org/jira/browse/SOLR-14094
> Project: Solr
> Issue Type: Test
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Adrien Grand
> Assignee: Andrzej Bialecki
> Priority: Major
>
> I hit the below failure while building the RC.
> {noformat}
> [junit4] Suite: org.apache.solr.search.TestSolrCachePerf
> [junit4] 2> 921086 INFO
> (SUITE-TestSolrCachePerf-seed#[1D407DF9BFA38129]-worker) [ ]
> o.a.s.SolrTestCaseJ4 Created dataDir:
> /home/jpountz/.lucene-releases/8.4.0/lucene-solr/solr/build/solr-core/test/J2/temp/solr.search.TestSolrCachePerf_1D407DF9BFA38129-001/data-dir-97-001
> [junit4] 2> 921086 WARN
> (SUITE-TestSolrCachePerf-seed#[1D407DF9BFA38129]-worker) [ ]
> o.a.s.SolrTestCaseJ4 startTrackingSearchers: numOpens=16 numCloses=16
> [junit4] 2> 921086 INFO
> (SUITE-TestSolrCachePerf-seed#[1D407DF9BFA38129]-worker) [ ]
> o.a.s.SolrTestCaseJ4 Using PointFields (NUMERIC_POINTS_SYSPROP=true)
> w/NUMERIC_DOCVALUES_SYSPROP=false
> [junit4] 2> 921087 INFO
> (SUITE-TestSolrCachePerf-seed#[1D407DF9BFA38129]-worker) [ ]
> o.a.s.SolrTestCaseJ4 Randomized ssl (false) and clientAuth (true) via:
> @org.apache.solr.util.RandomizeSSL(reason=, value=NaN, ssl=NaN,
> clientAuth=NaN)
> [junit4] 2> 921087 INFO
> (SUITE-TestSolrCachePerf-seed#[1D407DF9BFA38129]-worker) [ ]
> o.a.s.SolrTestCaseJ4 SecureRandom sanity checks:
> test.solr.allowed.securerandom=null & java.security.egd=file:/dev/./urandom
> [junit4] 2> 921088 INFO
> (TEST-TestSolrCachePerf.testGetPutCompute-seed#[1D407DF9BFA38129]) [ ]
> o.a.s.SolrTestCaseJ4 ###Starting testGetPutCompute
> [junit4] 2> 927857 INFO
> (TEST-TestSolrCachePerf.testGetPutCompute-seed#[1D407DF9BFA38129]) [ ]
> o.a.s.SolrTestCaseJ4 ###Ending testGetPutCompute
> [junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestSolrCachePerf
> -Dtests.method=testGetPutCompute -Dtests.seed=1D407DF9BFA38129
> -Dtests.slow=true -Dtests.locale=ar-QA -Dtests.timezone=AGT
> -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
> [junit4] FAILURE 6.77s J2 | TestSolrCachePerf.testGetPutCompute <<<
> [junit4] > Throwable #1: java.lang.AssertionError: Cache FastLRUCache:
> compute ratio should be higher or equal to get/put ratio: 0.9917 >= 0.9941
> [junit4] > at
> __randomizedtesting.SeedInfo.seed([1D407DF9BFA38129:9DE8FAF1672A99B6]:0)
> [junit4] > at
> org.apache.solr.search.TestSolrCachePerf.assertGreaterThanOrEqual(TestSolrCachePerf.java:84)
> [junit4] > at
> org.apache.solr.search.TestSolrCachePerf.lambda$testGetPutCompute$0(TestSolrCachePerf.java:75)
> [junit4] > at java.util.HashMap.forEach(HashMap.java:1289)
> [junit4] > at
> org.apache.solr.search.TestSolrCachePerf.testGetPutCompute(TestSolrCachePerf.java:73)
> [junit4] > at java.lang.Thread.run(Thread.java:748)
> [junit4] 2> NOTE: leaving temporary files on disk at:
> /home/jpountz/.lucene-releases/8.4.0/lucene-solr/solr/build/solr-core/test/J2/temp/solr.search.TestSolrCachePerf_1D407DF9BFA38129-001
> [junit4] 2> NOTE: test params are: codec=Asserting(Lucene84): {},
> docValues:{}, maxPointsInLeafNode=825, maxMBSortInHeap=7.419122986645501,
> sim=Asserting(org.apache.lucene.search.similarities.AssertingSimilarity@d7facc8),
> locale=ar-QA, timezone=AGT
> [junit4] 2> NOTE: Linux 4.4.0-104-generic amd64/Oracle Corporation
> 1.8.0_151 (64-bit)/cpus=12,threads=1,free=188791576,total=528482304
> [junit4] 2> NOTE: All tests run in this JVM: [TestCryptoKeys,
> AtomicUpdatesTest, TestNestedUpdateProcessor, SolrPluginUtilsTest,
> TestStressCloudBlindAtomicUpdates, DirectoryFactoryTest, TaggerTest,
> IndexSizeTriggerMixedBoundsTest, NumberUtilsTest, TestZkChroot,
> HdfsDirectoryTest, RollingRestartTest, TestSolrCLIRunExample,
> ClusterStateTest, DocValuesMultiTest, TestLeaderElectionWithEmptyReplica,
> TestCustomSort, TestSchemaManager, TestInPlaceUpdatesDistrib,
> TestReloadAndDeleteDocs, HighlighterConfigTest, MBeansHandlerTest,
> PeerSyncWithIndexFingerprintCachingTest, SubstringBytesRefFilterTest,
> TestChildDocTransformer, IndexSizeTriggerTest, HealthCheckHandlerTest,
> SuggesterFSTTest, TestLuceneIndexBackCompat, TestDelegationWithHadoopAuth,
> TestSolrCoreProperties, DistanceFunctionTest,
> SignatureUpdateProcessorFactoryTest, CdcrBootstrapTest, DebugComponentTest,
> TriggerEventQueueTest, TestLegacyBM25SimilarityFactory,
> SolrMetricReporterTest, TestCorePropertiesReload, TestPseudoReturnFields,
> DistributedVersionInfoTest, CollectionPropsTest, SpatialFilterTest,
> CurrencyRangeFacetCloudTest, SolrCoreCheckLockOnStartupTest, EchoParamsTest,
> TestImpersonationWithHadoopAuth, CollectionsAPIDistributedZkTest,
> TestPerFieldSimilarityWithDefaultOverride, QueryParsingTest,
> TestDefaultStatsCache, DocExpirationUpdateProcessorFactoryTest,
> TestComplexPhraseQParserPlugin, RecoveryZkTest, CSVRequestHandlerTest,
> RulesTest, TestReqParamsAPI, ScriptEngineTest, TestSolrDeletionPolicy2,
> TestExceedMaxTermLength, TestCSVResponseWriter, SortSpecParsingTest,
> TestSimDistributedQueue, CdcrVersionReplicationTest,
> TestSolrCloudWithDelegationTokens, TestMissingGroups, TestBlobHandler,
> SuggestComponentContextFilterQueryTest, TestUtilizeNode, QueryResultKeyTest,
> OrderedExecutorTest, TestSolrCoreParser, TestSearchPerf, TestExportTool,
> SynonymTokenizerTest, ManagedSchemaRoundRobinCloudTest,
> DistributedFacetPivotLongTailTest, SolrIndexMetricsTest,
> DistributedUpdateProcessorTest, TestMergePolicyConfig, NodeLostTriggerTest,
> TestClusterProperties, SegmentsInfoRequestHandlerTest,
> ScheduledTriggerIntegrationTest, LeaderElectionIntegrationTest,
> TestGraphMLResponseWriter, BufferStoreTest, DistributedFacetPivotSmallTest,
> CategoryRoutedAliasUpdateProcessorTest, ResourceLoaderTest, PeerSyncTest,
> TestCloudRecovery2, TestSolrCachePerf]
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]