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

Release tests fail with "external test module [test-die-with-dignity] found in non-snapshot build" #77326

Closed
cbuescher opened this issue Sep 7, 2021 · 2 comments · Fixed by #77335
Assignees
Labels
:Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team >test-failure Triaged test failures from CI v8.0.0-alpha2

Comments

@cbuescher
Copy link
Member

Build scan:

https://gradle-enterprise.elastic.co/s/jlyy743idzdw2

Repro line:

No repro line

Reproduces locally?:

No

Applicable branches:

master

Failure history:

Looks like it started recently. The failure I'm looking at is from Sep. 7th.

Failure excerpt:

09:57:01 > Task :test:external-modules:test-die-with-dignity:javaRestTest FAILED
09:57:01 
09:57:01 === Log output of node `node{:test:external-modules:test-die-with-dignity:javaRestTest-0}` ===
09:57:01 
09:57:01 »    ↓ errors and warnings from /dev/shm/elastic+elasticsearch+master+periodic+release-tests/test/external-modules/die-with-dignity/build/testclusters/javaRestTest-0/logs/javaRestTest.log ↓
09:57:01 » [2021-09-07T07:56:59,658][ERROR][o.e.b.Bootstrap          ] [javaRestTest-0] Exception
09:57:01 »  java.lang.IllegalStateException: external test module [test-die-with-dignity] found in non-snapshot build
09:57:01 »  	at org.elasticsearch.plugins.PluginsService.findBundles(PluginsService.java:369) ~[elasticsearch-8.0.0.jar:8.0.0]
09:57:01 »  	at org.elasticsearch.plugins.PluginsService.getModuleBundles(PluginsService.java:352) ~[elasticsearch-8.0.0.jar:8.0.0]
09:57:01 »  	at org.elasticsearch.plugins.PluginsService.<init>(PluginsService.java:125) ~[elasticsearch-8.0.0.jar:8.0.0]
09:57:01 »  	at org.elasticsearch.node.Node.<init>(Node.java:337) ~[elasticsearch-8.0.0.jar:8.0.0]
09:57:01 »  	at org.elasticsearch.node.Node.<init>(Node.java:270) ~[elasticsearch-8.0.0.jar:8.0.0]
09:57:01 »  	at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:225) ~[elasticsearch-8.0.0.jar:8.0.0]
09:57:01 »  	at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:225) ~[elasticsearch-8.0.0.jar:8.0.0]
09:57:01 »  	at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:365) [elasticsearch-8.0.0.jar:8.0.0]
09:57:01 »  	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:167) [elasticsearch-8.0.0.jar:8.0.0]
09:57:01 »  	at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:158) [elasticsearch-8.0.0.jar:8.0.0]
09:57:01 »  	at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:75) [elasticsearch-8.0.0.jar:8.0.0]
09:57:01 »  	at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:114) [elasticsearch-cli-8.0.0.jar:8.0.0]
09:57:01 »  	at org.elasticsearch.cli.Command.main(Command.java:79) [elasticsearch-cli-8.0.0.jar:8.0.0]
09:57:01 »  	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:123) [elasticsearch-8.0.0.jar:8.0.0]
09:57:01 »  	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:81) [elasticsearch-8.0.0.jar:8.0.0]
09:57:01 » [2021-09-07T07:56:59,674][ERROR][o.e.b.ElasticsearchUncaughtExceptionHandler] [javaRestTest-0] uncaught exception in thread [main]
09:57:01 »  org.elasticsearch.bootstrap.StartupException: java.lang.IllegalStateException: external test module [test-die-with-dignity] found in non-snapshot build
09:57:01 »  	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:171) ~[elasticsearch-8.0.0.jar:8.0.0]
09:57:01 »  	at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:158) ~[elasticsearch-8.0.0.jar:8.0.0]
09:57:01 »  	at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:75) ~[elasticsearch-8.0.0.jar:8.0.0]
09:57:01 »  	at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:114) ~[elasticsearch-cli-8.0.0.jar:8.0.0]
09:57:01 »  	at org.elasticsearch.cli.Command.main(Command.java:79) ~[elasticsearch-cli-8.0.0.jar:8.0.0]
09:57:01 »  	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:123) ~[elasticsearch-8.0.0.jar:8.0.0]
09:57:01 »  	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:81) ~[elasticsearch-8.0.0.jar:8.0.0]
09:57:01 »  Caused by: java.lang.IllegalStateException: external test module [test-die-with-dignity] found in non-snapshot build
09:57:01 »  	at org.elasticsearch.plugins.PluginsService.findBundles(PluginsService.java:369) ~[elasticsearch-8.0.0.jar:8.0.0]
09:57:01 »  	at org.elasticsearch.plugins.PluginsService.getModuleBundles(PluginsService.java:352) ~[elasticsearch-8.0.0.jar:8.0.0]
09:57:01 »  	at org.elasticsearch.plugins.PluginsService.<init>(PluginsService.java:125) ~[elasticsearch-8.0.0.jar:8.0.0]
09:57:01 »  	at org.elasticsearch.node.Node.<init>(Node.java:337) ~[elasticsearch-8.0.0.jar:8.0.0]
09:57:01 »  	at org.elasticsearch.node.Node.<init>(Node.java:270) ~[elasticsearch-8.0.0.jar:8.0.0]
09:57:01 »  	at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:225) ~[elasticsearch-8.0.0.jar:8.0.0]
09:57:01 »  	at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:225) ~[elasticsearch-8.0.0.jar:8.0.0]
09:57:01 »  	at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:365) ~[elasticsearch-8.0.0.jar:8.0.0]
09:57:01 »  	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:167) ~[elasticsearch-8.0.0.jar:8.0.0]
09:57:01 »  	... 6 more
@cbuescher cbuescher added :Delivery/Build Build or test infrastructure >test-failure Triaged test failures from CI v8.0.0 labels Sep 7, 2021
@elasticmachine elasticmachine added the Team:Delivery Meta label for Delivery team label Sep 7, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-delivery (Team:Delivery)

@cbuescher
Copy link
Member Author

And the same on 7.x: https://gradle-enterprise.elastic.co/s/fdnvgnvw52574

@breskeby breskeby self-assigned this Sep 7, 2021
breskeby added a commit to breskeby/elasticsearch that referenced this issue Sep 7, 2021
After moving test-die-with-dignity to an external test module (see elastic#77136) we need
to ensure the javaRestTests are only triggered in snapshot builds as they fail
on non snapshot builds.

Fixes elastic#77326
elasticsearchmachine pushed a commit that referenced this issue Sep 7, 2021
After moving test-die-with-dignity to an external test module (see #77136) we need
to ensure the javaRestTests are only triggered in snapshot builds as they fail
on non snapshot builds.

Fixes #77326
breskeby added a commit to breskeby/elasticsearch that referenced this issue Sep 7, 2021
After moving test-die-with-dignity to an external test module (see elastic#77136) we need
to ensure the javaRestTests are only triggered in snapshot builds as they fail
on non snapshot builds.

Fixes elastic#77326
elasticsearchmachine pushed a commit that referenced this issue Sep 7, 2021
After moving test-die-with-dignity to an external test module (see #77136) we need
to ensure the javaRestTests are only triggered in snapshot builds as they fail
on non snapshot builds.

Fixes #77326
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team >test-failure Triaged test failures from CI v8.0.0-alpha2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants