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

[test] Avoid running the NoImds test on AWS #118675

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

jozala
Copy link
Contributor

@jozala jozala commented Dec 13, 2024

Disabled the NoImds test on AWS EC2 instance where it fails because the AWS metadata are available, which is not expected by this test.

Disabled the NoImds test on AWS EC2 instance where it fails because the
AWS metadata are available, which is not expected by this test.
@jozala jozala added >non-issue :Delivery/Build Build or test infrastructure auto-backport Automatically create backport pull requests when merged v8.18.0 labels Dec 13, 2024
@elasticsearchmachine elasticsearchmachine added Team:Delivery Meta label for Delivery team v9.0.0 labels Dec 13, 2024
@elasticsearchmachine
Copy link
Collaborator

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

@jozala jozala enabled auto-merge (squash) December 13, 2024 15:52
@brianseeders
Copy link
Contributor

@DaveCTurner is this reasonable, or would you prefer the fixture be updated so that even when real EC2 metadata is present, the test can run?

@brianseeders
Copy link
Contributor

Ah, I missed that David is on vacation. I think it's okay to merge as-is for now.

@jozala jozala merged commit 950db57 into main Dec 13, 2024
17 checks passed
@jozala jozala deleted the test-ec2-discovery-disable-in-aws branch December 13, 2024 16:27
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.x

jozala added a commit to jozala/elasticsearch that referenced this pull request Dec 13, 2024
Disabled the NoImds test on AWS EC2 instance where it fails because the
AWS metadata are available, which is not expected by this test.
@mhl-b
Copy link
Contributor

mhl-b commented Dec 14, 2024

looks reasonable to me, I see failures in AWS only

jozala added a commit to jozala/elasticsearch that referenced this pull request Dec 16, 2024
Disabled the NoImds test on AWS EC2 instance where it fails because the
AWS metadata are available, which is not expected by this test.
elasticsearchmachine pushed a commit that referenced this pull request Dec 16, 2024
Disabled the NoImds test on AWS EC2 instance where it fails because the
AWS metadata are available, which is not expected by this test.
maxhniebergall pushed a commit to maxhniebergall/elasticsearch that referenced this pull request Dec 16, 2024
…#118688)

Disabled the NoImds test on AWS EC2 instance where it fails because the
AWS metadata are available, which is not expected by this test.
DaveCTurner added a commit to DaveCTurner/elasticsearch that referenced this pull request Dec 17, 2024
This test asserts that no AZ attribute is set, assuming that the current
AZ is unavailable, but in fact that's not true when running these tests
in EC2. With this commit we override the IMDS endpoint address to one
that definitely does not exist.

Relates elastic#118675
Closes elastic#118564
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Automatically create backport pull requests when merged :Delivery/Build Build or test infrastructure >non-issue Team:Delivery Meta label for Delivery team v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants