This repository was archived by the owner on Sep 17, 2024. It is now read-only.
[7.13.x](backport #707) feat: add support for running the tests in ARM#1220
Closed
mergify[bot] wants to merge 1 commit into7.13.xfrom
Closed
[7.13.x](backport #707) feat: add support for running the tests in ARM#1220mergify[bot] wants to merge 1 commit into7.13.xfrom
mergify[bot] wants to merge 1 commit into7.13.xfrom
Conversation
* feat: add support for running the tests in ARM * fix: arm workers are not immutable yet * chore: calculate artifact from the GOARCH variable At this moment we support amd64 and arm64 * chore: run elasticsearch in the right platform * chore: add log for architecture * chore: print env variable for GOARCH * chore: set GOARCH based in the worker * fix: wrong copy&paste * chore: install k8s dependencies on ARM * chore: install godog using GOARCH * fix: proper values for GO env in Makefile * chore: add log when requesting a node * fix: define Groovy variable * chore: use proper platform for kibana * chore: simplify platforms selection logic * fix: use proper CI label for node selector * chore: remove running containers in clean-docker script * chore: clean up docker state on mutable workers * chore: use parallel branch name for filebeat logs * fix: add forgotten double quotes * chore: print Docker compose version On ARM * chore: use aarch64 architecture for RPM packages * chore: support ARM in tar installer * fix: proper arch for TAR installer * chore: log when the artifact is found * chore: be defensive about no running containers * chore: add tests for RPM artifact name * chore: add tests for x86_64 TAR artifact * chore: remove docker label from CI workers * chore: separate ARM tests in a second parallel stage This pretends to avoid using too many workers, adding a second layer for ARM. * chore: update stage name * fix: update arm target platform * chore: use GOARCH in the junit file * chore: use GOARCH in filebeat logs * chore: run all stages in parallel * chore: add platform to log when skipping tests * fix: use a filebeat version that supports multiplatform * chore: do not run integrations on ARM See elastic/beats#25195 * chore: move test resources for ARM * chore: use staging environment for package-registry See https://github.com/elastic/package-storage * fix: remove clean because arm workers are now immutable * chore: use new multiplatform images * chore: use new multiplatform base images for fleet-server * chore: add platform to elastic-agent cloud flavour * fix: use proper variable for platform * chore: do not clean up installer's workspace Because we are using ephemeral workers, we do not want to remove previous files * Revert "chore: do not clean up installer's workspace" This reverts commit 9104501. * chore(ci): skip pull of images from code * Revert "chore(ci): skip pull of images from code" This reverts commit 01cc441. * chore: set platform when pulling images * chore: update packer cache with our systemd images * fix: request proper platform image for the agent * feat: exclude scenarios per platform * chore: remove tags for endpoint, as they are not used at all They are also blocking the addition of a parent tag at the feature level, as maximun number of tags is 3 * fix: skip endpoint integration on ARM64 * feat: provide supported platforms at the scenario level on CI The scenario will be able to override its parent suite's platforms, making possible to select different platforms at the scenario level. * fix: use proper length method for groovy arrays * fix: groovy arrays use size * fix: override suite platforms per scenario * chore: update Jenkins label for arm workers Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com> * chore: simplify platforms, reusing stack * chore: explicitly pass GOARCH to CI script * Revert "chore: update Jenkins label for arm workers" This reverts commit 9ef81ca. Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com> (cherry picked from commit e1a97f3) # Conflicts: # cli/config/compose/profiles/fleet/docker-compose.yml # cli/config/compose/profiles/metricbeat/docker-compose.yml # e2e/_suites/fleet/stand-alone.go # internal/installer/elasticagent_deb.go # internal/installer/elasticagent_docker.go # internal/installer/elasticagent_rpm.go # internal/installer/elasticagent_tar.go # internal/utils/utils_test.go
Contributor
💔 Tests Failed
Expand to view the summary
Build stats
Test stats 🧪
Trends 🧪Test errors
Expand to view the tests failures
|
| Test | Results |
|---|---|
| Failed | 2 |
| Passed | 52 |
| Skipped | 0 |
| Total | 54 |
Genuine test errors 
💔 There are test failures but not known flaky tests, most likely a genuine test failure.
- Name:
Initializing / Pre-Submit / Sanity checks / Check Yaml – pre_commit.lint - Name:
Initializing / Pre-Submit / Sanity checks / golangcilint – pre_commit.lint
Contributor
|
Waiting for #1213 to be merged first |
Contributor
|
Closing, as we are going to resolve the conflicts locally |
Contributor
Author
|
This pull request is now in conflict. Could you fix it @mergify[bot]? 🙏 |
8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is an automatic backport of pull request #707 done by Mergify.
Cherry-pick of e1a97f3 has failed:
To fix up this pull request, you can check it out locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/
Mergify commands and options
More conditions and actions can be found in the documentation.
You can also trigger Mergify actions by commenting on this pull request:
@Mergifyio refreshwill re-evaluate the rules@Mergifyio rebasewill rebase this PR on its base branch@Mergifyio updatewill merge the base branch into this PR@Mergifyio backport <destination>will backport this PR on<destination>branchAdditionally, on Mergify dashboard you can:
Finally, you can contact us on https://mergify.io/