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] o.o.c.r.OperationRoutingTests.testWeightedOperationRoutingWeightUndefinedForOneZone test failure #4897

Closed
adnapibar opened this issue Oct 24, 2022 · 1 comment
Labels
bug Something isn't working flaky-test Random test failure that succeeds on second run untriaged

Comments

@adnapibar
Copy link
Contributor

Describe the bug
Flaky random test failure

To Reproduce

./gradlew ':server:test' --tests "org.opensearch.cluster.routing.OperationRoutingTests.testWeightedOperationRoutingWeightUndefinedForOneZone" -Dtests.seed=3B2C6CE9221D74CD

Expected behavior
Test should pass

Plugins
None

Screenshots

org.opensearch.cluster.routing.OperationRoutingTests > testWeightedOperationRoutingWeightUndefinedForOneZone FAILED
    java.lang.AssertionError
        at __randomizedtesting.SeedInfo.seed([3B2C6CE9221D74CD:A39B435FC3A085CB]:0)
        at org.junit.Assert.fail(Assert.java:87)
        at org.junit.Assert.assertTrue(Assert.java:42)
        at org.junit.Assert.assertFalse(Assert.java:65)
        at org.junit.Assert.assertFalse(Assert.java:75)
        at org.opensearch.cluster.routing.OperationRoutingTests.testWeightedOperationRoutingWeightUndefinedForOneZone(OperationRoutingTests.java:950)


Suite: Test class org.opensearch.cluster.routing.OperationRoutingTests
  1> [2022-10-24T13:36:27,269][INFO ][o.o.c.r.OperationRoutingTests] [testWeightedOperationRoutingWeightUndefinedForOneZone] before test
  1> [2022-10-24T13:36:27,978][INFO ][o.o.c.s.ClusterApplierService] [test] cluster-manager node changed {previous [{node}{xHJ3Nr-2QF-VB1HFApH7kg}{0.0.0.0}{0.0.0.0:8}{dimrs}], current [{cluster-manager}{6pc-Y2XtQ_y9dyS9bZXtYg}{0.0.0.0}{0.0.0.0:7}{m}]}, removed {{node}{xHJ3Nr-2QF-VB1HFApH7kg}{0.0.0.0}{0.0.0.0:8}{dimrs}}, added {{node_a_1}{H5mJGuYaRbClgArU9OGP-w}{0.0.0.0}{0.0.0.0:2}{d}{zone=a},{node_b_3}{lz0hMNO4RJu2PT8BWf1B_A}{0.0.0.0}{0.0.0.0:4}{d}{zone=b},{node_c_5}{FBMhz-qPRVOLT7e0uUnPvA}{0.0.0.0}{0.0.0.0:6}{d}{zone=c},{node_c_4}{Zz4RDPsSSeaI4NiGfhTA3Q}{0.0.0.0}{0.0.0.0:5}{d}{zone=c},{cluster-manager}{6pc-Y2XtQ_y9dyS9bZXtYg}{0.0.0.0}{0.0.0.0:7}{m},{node_b_2}{8E-kBOwxTy2C6a2C124NQA}{0.0.0.0}{0.0.0.0:3}{d}{zone=b}}, term: 0, version: 1, reason: test setting state
  1> [2022-10-24T13:36:28,003][INFO ][o.o.c.r.OperationRoutingTests] [testWeightedOperationRoutingWeightUndefinedForOneZone] after test

Host/Environment (please complete the following information):

  • OS: macOS Monterey
  • Version: 12.6

Additional context
None

@adnapibar adnapibar added bug Something isn't working untriaged flaky-test Random test failure that succeeds on second run labels Oct 24, 2022
@adnapibar
Copy link
Contributor Author

duplicate of #4881

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working flaky-test Random test failure that succeeds on second run untriaged
Projects
None yet
Development

No branches or pull requests

1 participant