Example failure: https://gradle-enterprise.elastic.co/s/mintfr3qh2thk
Error reported:
java.lang.AssertionError: Failure at [license/30_enterprise_license:18]: license_status didn't match expected value:
09:26:23 license_status: expected String [valid] but was String [invalid]
Happens only on openSUSE-15-1 workers and started happening after #49474 got merged but given it only happens on openSUSE-15-1 it's likely an environmental failure. For now labelling as :security/License but I will link an additional environmental investigation as required.
Reproduction:
./gradlew ':x-pack:plugin:integTestRunner' --tests "org.elasticsearch.xpack.test.rest.XPackRestIT.test {p0=license/30_enterprise_license/Installing enterprise license}" -Dtests.seed=73249DEC77D30869 -Dtests.security.manager=true -Dbuild.snapshot=false -Dtests.jvm.argline="-Dbuild.snapshot=false" -Dtests.locale=en-GB -Dtests.timezone=Asia/Famagusta -Dcompiler.java=13 -Druntime.java=8 -Dtests.rest.blacklist=getting_started/10_monitor_cluster_health/*,xpack/15_basic/*,license/20_put_license/*