-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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] Security Index upgrade failure during FullClusterRestart #82837
Comments
Pinging @elastic/es-core-infra (Team:Core/Infra) |
Been seeing the same behaviour, what struck me is that a WarningFailureException is being thrown but no warnings are being printed out with the exception message. Any reason why this test was not muted? |
I muted 6b6f06e |
I believe William just fixed this here: #84780. I'm going to revert the workaround fix, reproduce the failure and confirm the fix resolves it. |
I have confirmed that the fix in #84780 resolves the problem with the unexpected warning. I'll wait for the fix to be merged and submit a PR to revert the workaround for the test. |
The failing test is FullClusterRestartIT testApiKeySuperuser
This happens on my PR CI and related to my change.
But the underlying reason seems to be upgrade failure of security system index. Cluster log shows a NPE https://gradle-enterprise.elastic.co/s/wgya6tyniu7y2/console-log#L2024 for
AliasMetadata#isHidden
invocation and comparison.I suspect it has something to do with #79512 and recent enforce of 7.last for 8.x upgrade.
Build scan:
https://gradle-enterprise.elastic.co/s/wgya6tyniu7y2/tests/:x-pack:qa:full-cluster-restart:v7.8.1%23upgradedClusterTest/org.elasticsearch.xpack.restart.FullClusterRestartIT/testApiKeySuperuser
Reproduction line:
./gradlew ':x-pack:qa:full-cluster-restart:v7.8.1#upgradedClusterTest' -Dtests.class="org.elasticsearch.xpack.restart.FullClusterRestartIT" -Dtests.method="testApiKeySuperuser" -Dtests.seed=704325F309264EE2 -Dtests.bwc=true -Dtests.locale=fi -Dtests.timezone=America/Boise -Druntime.java=17
Applicable branches:
master
Reproduces locally?:
Yes
Failure history:
https://gradle-enterprise.elastic.co/scans/tests?tests.container=org.elasticsearch.xpack.restart.FullClusterRestartIT&tests.test=testApiKeySuperuser
Failure excerpt:
The text was updated successfully, but these errors were encountered: