Skip to content

Release tests fail with "external test module [test-deprecated-query] found in non-snapshot build" #64910

@danielmitterdorfer

Description

@danielmitterdorfer

Build scan:

Repro line:

There is no reproduction line emitted by the test infrastructure but the test that is failing in CI can be executed with:

./gradlew :x-pack:plugin:async-search:qa:rest:yamlRestTest

Reproduces locally?: no

Applicable branches: 7.x, master

Failure history:

This started failing on November 10 and has failed 26 times since then.

Failure excerpt:

01:40:17 » ERROR][o.e.b.ElasticsearchUncaughtExceptionHandler] [yamlRestTest-0] uncaught exception in thread [main]
01:40:17 »  org.elasticsearch.bootstrap.StartupException: java.lang.IllegalStateException: external test module [test-deprecated-query] found in non-snapshot build
01:40:17 »  	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:174) ~[elasticsearch-8.0.0.jar:8.0.0]
01:40:17 »  	at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:161) ~[elasticsearch-8.0.0.jar:8.0.0]
01:40:17 »  	at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-8.0.0.jar:8.0.0]
01:40:17 »  	at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:127) ~[elasticsearch-cli-8.0.0.jar:8.0.0]
01:40:17 »  	at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-8.0.0.jar:8.0.0]
01:40:17 »  	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:126) ~[elasticsearch-8.0.0.jar:8.0.0]
01:40:17 »  	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) ~[elasticsearch-8.0.0.jar:8.0.0]
01:40:17 »  Caused by: java.lang.IllegalStateException: external test module [test-deprecated-query] found in non-snapshot build
01:40:17 »  	at org.elasticsearch.plugins.PluginsService.findBundles(PluginsService.java:361) ~[elasticsearch-8.0.0.jar:8.0.0]
01:40:17 »  	at org.elasticsearch.plugins.PluginsService.getModuleBundles(PluginsService.java:341) ~[elasticsearch-8.0.0.jar:8.0.0]
01:40:17 »  	at org.elasticsearch.plugins.PluginsService.<init>(PluginsService.java:136) ~[elasticsearch-8.0.0.jar:8.0.0]
01:40:17 »  	at org.elasticsearch.node.Node.<init>(Node.java:333) ~[elasticsearch-8.0.0.jar:8.0.0]
01:40:17 »  	at org.elasticsearch.node.Node.<init>(Node.java:276) ~[elasticsearch-8.0.0.jar:8.0.0]
01:40:17 »  	at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:225) ~[elasticsearch-8.0.0.jar:8.0.0]
01:40:17 »  	at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:225) ~[elasticsearch-8.0.0.jar:8.0.0]
01:40:17 »  	at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:387) ~[elasticsearch-8.0.0.jar:8.0.0]
01:40:17 »  	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:170) ~[elasticsearch-8.0.0.jar:8.0.0]
01:40:17 »  	... 6 more

I believe this has been introduced by #64832 as that commit has added test-deprecated-query which is showing up in the error message. @rjernst could you please take a look at this?

Metadata

Metadata

Assignees

Labels

:Delivery/BuildBuild or test infrastructure>test-failureTriaged test failures from CITeam:DeliveryMeta label for Delivery team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions