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

ArchiveTests test41AutoconfigurationNotTriggeredWhenNodeCannotContainData failing #116299

Closed
pxsalehi opened this issue Nov 6, 2024 · 9 comments · Fixed by #116324
Closed

ArchiveTests test41AutoconfigurationNotTriggeredWhenNodeCannotContainData failing #116299

pxsalehi opened this issue Nov 6, 2024 · 9 comments · Fixed by #116324
Labels
:Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts low-risk An open issue or test failure that is a low risk to future releases Team:Delivery Meta label for Delivery team >test-failure Triaged test failures from CI

Comments

@pxsalehi
Copy link
Member

pxsalehi commented Nov 6, 2024

CI Link

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

Repro line

n/a

Does it reproduce?

Didn't try

Applicable branches

main

Failure history

No response

Failure excerpt


[2024-11-06T08:17:36,616][ERROR][o.e.b.Elasticsearch      ] [BK-AGENT-PROD-G] fatal exception while booting Elasticsearch |  
-- | --
  | org.elasticsearch.ElasticsearchException: Failure running machine learning native code. This could be due to running on an unsupported OS or distribution, missing OS libraries, or a problem with the temp directory. To bypass this problem by running Elasticsearch without machine learning functionality set [xpack.ml.enabled: false]. |  
  | at org.elasticsearch.xpack.ml.MachineLearning.createComponents(MachineLearning.java:1061) ~[?:?] |  
  | at org.elasticsearch.node.NodeConstruction.lambda$construct$16(NodeConstruction.java:888) ~[elasticsearch-9.0.0-SNAPSHOT.jar:?] |  
  | at org.elasticsearch.plugins.PluginsService.lambda$flatMap$1(PluginsService.java:254) ~[elasticsearch-9.0.0-SNAPSHOT.jar:?] |  
  | at java.util.stream.ReferencePipeline$7$1FlatMap.accept(ReferencePipeline.java:289) ~[?:?] |  
  | at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:215) ~[?:?] |  
  | at java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:722) ~[?:?] |  
  | at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:570) ~[?:?] |  
  | at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:560) ~[?:?] |  
  | at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:636) ~[?:?] |  
  | at java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:291) ~[?:?] |  
  | at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:656) ~[?:?] |  
  | at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:662) ~[?:?] |  
  | at java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:667) ~[?:?] |  
  | at org.elasticsearch.node.NodeConstruction.construct(NodeConstruction.java:910) ~[elasticsearch-9.0.0-SNAPSHOT.jar:?] |  
  | at org.elasticsearch.node.NodeConstruction.prepareConstruction(NodeConstruction.java:290) ~[elasticsearch-9.0.0-SNAPSHOT.jar:?] |  
  | at org.elasticsearch.node.Node.<init>(Node.java:184) ~[elasticsearch-9.0.0-SNAPSHOT.jar:?] |  
  | at org.elasticsearch.bootstrap.Elasticsearch$2.<init>(Elasticsearch.java:245) ~[elasticsearch-9.0.0-SNAPSHOT.jar:?] |  
  | at org.elasticsearch.bootstrap.Elasticsearch.initPhase3(Elasticsearch.java:245) ~[elasticsearch-9.0.0-SNAPSHOT.jar:?] |  
  | at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:76) ~[elasticsearch-9.0.0-SNAPSHOT.jar:?]


@pxsalehi pxsalehi added :ml Machine learning >test-failure Triaged test failures from CI labels Nov 6, 2024
@elasticsearchmachine elasticsearchmachine added Team:ML Meta label for the ML team needs:risk Requires assignment of a risk label (low, medium, blocker) labels Nov 6, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/ml-core (Team:ML)

@pxsalehi
Copy link
Member Author

pxsalehi commented Nov 6, 2024

This is a windows packaging test.

@pxsalehi
Copy link
Member Author

pxsalehi commented Nov 6, 2024

Muted in dee5186.

@pxsalehi pxsalehi added :Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts and removed :ml Machine learning labels Nov 6, 2024
@elasticsearchmachine elasticsearchmachine added the Team:Delivery Meta label for Delivery team label Nov 6, 2024
@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine elasticsearchmachine removed the Team:ML Meta label for the ML team label Nov 6, 2024
@pxsalehi
Copy link
Member Author

pxsalehi commented Nov 6, 2024

Also :qa:packaging:destructiveDistroTest.default-windows-archive org.elasticsearch.packaging.test.ArchiveTests test42AutoconfigurationNotTriggeredWhenNodeCannotBecomeMaster seems to be failing for the same reason.

@breskeby breskeby added :Core/Infra/Core Core issues without another label Team:Core/Infra Meta label for core/infra team labels Nov 6, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@breskeby
Copy link
Contributor

breskeby commented Nov 6, 2024

From looking at the commit history, I think the most likely change that started causing that test failure is the dynamic entitlement PR #116125

@breskeby breskeby added blocker and removed :Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts Team:Delivery Meta label for Delivery team needs:risk Requires assignment of a risk label (low, medium, blocker) labels Nov 6, 2024
breskeby added a commit that referenced this issue Nov 6, 2024
breskeby added a commit to breskeby/elasticsearch that referenced this issue Nov 6, 2024
@davidkyle
Copy link
Member

This is due to ML upgrading the build system to Windows 2022 on the main branch elastic/ml-cpp#2769

breskeby added a commit that referenced this issue Nov 6, 2024
@breskeby breskeby added the :Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts label Nov 6, 2024
@breskeby breskeby added Team:Delivery Meta label for Delivery team and removed :Core/Infra/Core Core issues without another label Team:Core/Infra Meta label for core/infra team labels Nov 6, 2024
breskeby added a commit that referenced this issue Nov 6, 2024
breskeby added a commit to breskeby/elasticsearch that referenced this issue Nov 6, 2024
breskeby added a commit that referenced this issue Nov 6, 2024
@davidkyle
Copy link
Member

This Windows 2019 is failing due to upgrading the Windows build to 2022 in elastic/ml-cpp#2769

Windows 2016 and 2019 will not be supported in version 9

@davidkyle davidkyle added low-risk An open issue or test failure that is a low risk to future releases and removed blocker labels Nov 6, 2024
breskeby added a commit to breskeby/elasticsearch that referenced this issue Nov 6, 2024
Follow up on elastic#116299 due to
ml dropping support for windows < 2022
breskeby added a commit that referenced this issue Nov 6, 2024
* Remove test coverage for windows 2016 and 2019

Follow up on #116299 due to
ml dropping support for windows < 2022

* Unmute archive tests
arteam pushed a commit to arteam/elasticsearch that referenced this issue Nov 6, 2024
* Remove test coverage for windows 2016 and 2019

Follow up on elastic#116299 due to
ml dropping support for windows < 2022

* Unmute archive tests
jozala pushed a commit that referenced this issue Nov 13, 2024
jozala pushed a commit that referenced this issue Nov 13, 2024
jozala pushed a commit that referenced this issue Nov 13, 2024
jozala pushed a commit that referenced this issue Nov 13, 2024
jozala pushed a commit that referenced this issue Nov 13, 2024
* Remove test coverage for windows 2016 and 2019

Follow up on #116299 due to
ml dropping support for windows < 2022

* Unmute archive tests
alexey-ivanov-es pushed a commit to alexey-ivanov-es/elasticsearch that referenced this issue Nov 28, 2024
alexey-ivanov-es pushed a commit to alexey-ivanov-es/elasticsearch that referenced this issue Nov 28, 2024
alexey-ivanov-es pushed a commit to alexey-ivanov-es/elasticsearch that referenced this issue Nov 28, 2024
alexey-ivanov-es pushed a commit to alexey-ivanov-es/elasticsearch that referenced this issue Nov 28, 2024
alexey-ivanov-es pushed a commit to alexey-ivanov-es/elasticsearch that referenced this issue Nov 28, 2024
* Remove test coverage for windows 2016 and 2019

Follow up on elastic#116299 due to
ml dropping support for windows < 2022

* Unmute archive tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts low-risk An open issue or test failure that is a low risk to future releases Team:Delivery Meta label for Delivery team >test-failure Triaged test failures from CI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants