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

[CI] Buildkite integration tests: Run integration tests on ARM #5956

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

pazone
Copy link
Contributor

@pazone pazone commented Nov 6, 2024

What does this PR do?

Enhances the buildkite tests pipeline by ARM tests. It uses the prebuilt Ubuntu 22.04 ARM image
Runs integration test groups separately. Allows independent reruns.
Tested here: Example build.

Note: It doesn't replace current integration tests. The new buildkite pipeline is not triggered by GitHub events

Why is it important?

We have to test elastic agent on ARM architecture

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in ./changelog/fragments using the changelog tool
  • I have added an integration test or an E2E test

Disruptive User Impact

How to test this PR locally

Related issues

Questions to ask yourself

  • How are we going to support this in production?
  • How are we going to measure its adoption?
  • How are we going to debug this?
  • What are the metrics I should take care of?
  • ...

Copy link
Contributor

mergify bot commented Nov 6, 2024

This pull request does not have a backport label. Could you fix it @pazone? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-./d./d is the label to automatically backport to the 8./d branch. /d is the digit

Copy link
Contributor

mergify bot commented Nov 6, 2024

backport-v8.x has been added to help with the transition to the new branch 8.x.
If you don't need it please use backport-skip label and remove the backport-8.x label.

@mergify mergify bot added the backport-8.x Automated backport to the 8.x branch with mergify label Nov 6, 2024
Copy link

Copy link
Member

@pchila pchila left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rowlandgeoff
Copy link
Contributor

Where do we run the non-sudo tests?

@pazone
Copy link
Contributor Author

pazone commented Nov 7, 2024

Where do we run the non-sudo tests?

I can add return non-sudo tests back to the pipeline. I'd do that in a separate PR

artifact_paths:
- build/**
agents:
provider: "gcp"
imageProject: elastic-images-qa
machineType: "n1-standard-8"
image: "family/platform-ingest-elastic-agent-ubuntu-2204"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like agent tests are currently running against 2404, not 2204

@@ -38,115 +38,45 @@ steps:
- package-it
- integration-ess
steps:
- label: "Default"
key: stateful-ubuntu-default-sudo
- label: "x86:Group: {{matrix}}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: more accurate to call this x64? Or x86-x64?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

x86_64. But now i think amd64 is more clear 🤔

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's go with x86_64, since I think we use that term more consistently in other places

@rowlandgeoff
Copy link
Contributor

Run the new pipeline on push to main.

Do you want to enable with this PR or a follow-up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-8.x Automated backport to the 8.x branch with mergify enhancement New feature or request skip-changelog Team:Ingest-EngProd
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants