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

[CI] tasks.list/10_basic/tasks_list test failure #2757

Closed
nknize opened this issue Apr 4, 2022 · 1 comment · Fixed by #2766
Closed

[CI] tasks.list/10_basic/tasks_list test failure #2757

nknize opened this issue Apr 4, 2022 · 1 comment · Fixed by #2766
Labels
backwards-compatibility bug Something isn't working >test-failure Test failure from CI, local build, etc. v3.0.0 Issues and PRs related to version 3.0.0

Comments

@nknize
Copy link
Collaborator

nknize commented Apr 4, 2022

Reproducible in main. Muted by fbb2725

./gradlew ':qa:mixed-cluster:v2.1.0#mixedClusterTest' --tests "org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT" -Dtests.method="test {p0=tasks.list/10_basic/tasks_list test}" -Dtests.seed=B4F39ACD8A2A3DED -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=es-PE -Dtests.timezone=Australia/ACT -Druntime.java=17
org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT > test {p0=tasks.list/10_basic/tasks_list test} FAILED
    java.lang.AssertionError: Failure at [tasks.list/10_basic:15]: field [nodes.$node_id.roles] doesn't have a true value
    Expected: not null
         but: was null

See the Gradle check log for detailed error message:
Log 4153
Reports 4153
(Comes from #2660 (comment))
Log 4160
Reports 4160
(Comes from #2752 (comment))

@nknize
Copy link
Collaborator Author

nknize commented Apr 5, 2022

This bwc failure is because #2089 backport PRs (#2654 & #2655) are failing and have not been merged. So TaskInfo.java version checks are throwing off transport serialization in mixedCluster tests:

 1>           "type" : "failed_node_exception",
  1>           "reason" : "Failed node [X1glRVaPToqVI72W7C36Pg]",
  1>           "node_id" : "X1glRVaPToqVI72W7C36Pg",
  1>           "caused_by" : {
  1>             "type" : "transport_serialization_exception",
  1>             "reason" : "Failed to deserialize response from handler [org.opensearch.transport.TransportService$ContextRestoreResponseHandler/org.opensearch.transport.TransportService$6/[cluster:monitor/tasks/lists[n]]:org.opensearch.action.support.tasks.TransportTasksAction$AsyncAction$1@349c4662]",
  1>             "caused_by" : {
  1>               "type" : "illegal_state_exception",
  1>               "reason" : "Message not fully read (response) for requestId [80], handler [org.opensearch.transport.TransportService$ContextRestoreResponseHandler/org.opensearch.transport.TransportService$6/[cluster:monitor/tasks/lists[n]]:org.opensearch.action.support.tasks.TransportTasksAction$AsyncAction$1@349c4662], error [false]; resetting"
  1>             }
  1>           }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backwards-compatibility bug Something isn't working >test-failure Test failure from CI, local build, etc. v3.0.0 Issues and PRs related to version 3.0.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant