Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] org.opensearch.index.query.TermsQueryBuilderTests.testToQuery is flaky #13480

Closed
harshavamsi opened this issue Apr 30, 2024 · 2 comments · Fixed by #13517
Closed

[BUG] org.opensearch.index.query.TermsQueryBuilderTests.testToQuery is flaky #13480

harshavamsi opened this issue Apr 30, 2024 · 2 comments · Fixed by #13517
Labels
bug Something isn't working Build Build Tasks/Gradle Plugin, groovy scripts, build tools, Javadoc enforcement. Search Search query, autocomplete ...etc

Comments

@harshavamsi
Copy link
Contributor

Describe the bug

java.lang.AssertionError: 
Expected: ((((((an instance of org.apache.lucene.search.TermInSetQuery or an instance of org.apache.lucene.search.PointInSetQuery) or an instance of org.apache.lucene.search.ConstantScoreQuery) or an instance of org.apache.lucene.search.MatchNoDocsQuery) or an instance of org.apache.lucene.search.IndexOrDocValuesQuery) or an instance of org.apache.lucene.search.MatchAllDocsQuery) or an instance of org.apache.lucene.search.FieldExistsQuery)
     but: was <mapped_boolean:F>

Related component

Build

To Reproduce

REPRODUCE WITH: ./gradlew ':server:test' --tests "org.opensearch.index.query.TermsQueryBuilderTests.testToQuery" -Dtests.seed=B65CA32A2CA0A9AC -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=da -Dtests.timezone=Asia/Urumqi -Druntime.java=21
NOTE: leaving temporary files on disk at: /var/jenkins/workspace/gradle-check/search/server/build/testrun/test/temp/org.opensearch.index.query.TermsQueryBuilderTests_B65CA32A2CA0A9AC-001
NOTE: test params are: codec=Asserting(Lucene99): {}, docValues:{}, maxPointsInLeafNode=901, maxMBSortInHeap=6.102524463741149, sim=Asserting(RandomSimilarity(queryNorm=true): {}), locale=da, timezone=Asia/Urumqi
NOTE: Linux 5.15.0-1056-aws amd64/Eclipse Adoptium 21.0.3 (64-bit)/cpus=32,threads=1,free=386066424,total=536870912
NOTE: All tests run in this JVM: [SpecialPermissionTests, AddVotingConfigExclusionsRequestTests, NodeInfoTests, VerifyRepositoryResponseTests, SnapshotIndexShardStatusTests, GetStoredScriptResponseTests, TransportVerifyShardBeforeCloseActionTests, GetIndexActionTests, RolloverRequestTests, DeleteComposableIndexTemplateRequestTests, ListViewNamesResponseTests, TransportShardBulkActionTests, IndexRequestBuilderTests, TransportResyncReplicationActionTests, QueryPhaseResultConsumerTests, SearchScrollRequestTests, RefreshPolicyTests, TransportWriteActionForIndexingPressureTests, OpenSearchUncaughtExceptionHandlerTests, FeatureAwareTests, ClusterBootstrapServiceRenamedSettingTests, NoClusterManagerBlockServiceRenamedSettingTests, AliasMetadataTests, HumanReadableIndexSettingsTests, MetadataMappingServiceTests, GroupShardsIteratorTests, AllocateUnassignedDecisionTests, DiskThresholdSettingsTests, PreferPrimaryAllocationTests, SingleShardNoReplicasRoutingTests, TargetPoolAllocationDeciderTests, FieldMemoryStatsTests, RemoteTransferContainerTests, DefaultCacheStatsHolderTests, GeoJsonShapeParserTests, PointBuilderTests, LoggingOutputStreamTests, NetworkModuleTests, DateFormattersTests, CollectionUtilsTests, AbstractLifecycleRunnableTests, RunOnceTests, JsonVsSmileTests, BlockingClusterStatePublishResponseHandlerTests, DiscoveryExtensionNodeTests, RestSendToExtensionActionTests, ReplicaShardAllocatorTests, IndexingPressureTests, AnalysisRegistryTests, FuzzyFilterPostingsFormatTests, SegmentTests, ReplaceMissingTests, CopyToMapperTests, DynamicTemplateTests, GeoShapeFieldTypeTests, MapperTests, PathMatchDynamicTemplateTests, BoolQueryBuilderTests, GeoBoundingBoxQueryBuilderTests, MoreLikeThisQueryBuilderTests, ScoreModeTests, TermsQueryBuilderTests]

Expected behavior

Tests pass

Additional Details

Plugins
Please list all plugins currently enabled.

Screenshots
If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@harshavamsi harshavamsi added bug Something isn't working untriaged labels Apr 30, 2024
@github-actions github-actions bot added the Build Build Tasks/Gradle Plugin, groovy scripts, build tools, Javadoc enforcement. label Apr 30, 2024
@peternied peternied added Search Search query, autocomplete ...etc and removed untriaged labels May 1, 2024
@peternied
Copy link
Member

[Triage - attendees 1 2 3 4 5 6 7 8]
@harshavamsi Thanks for creating this issue

@msfroh
Copy link
Collaborator

msfroh commented May 2, 2024

@harshavamsi -- based on the failure message, it sounds like this one is caused by #11650

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Build Build Tasks/Gradle Plugin, groovy scripts, build tools, Javadoc enforcement. Search Search query, autocomplete ...etc
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants