-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Ensure acceptance test artifacts are being built for correct arch #18079
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
Ensure acceptance test artifacts are being built for correct arch #18079
Conversation
With the improvment in elastic#17995 we only build packages that match the architecture of the host. This is specified with an enviornment variable. Previously the acceptance tests did not need to specifcy the architecture when building packages. This commit updates the builder to build packages with the correct arch.
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
This pull request does not have a backport label. Could you fix it @donoghuc? 🙏
|
Exhaustive test run: https://buildkite.com/elastic/logstash-exhaustive-tests-pipeline/builds/2396 |
#18079 (comment) showed that the package based tests are fixed, kicked off a run to test the container based acceptance tests https://buildkite.com/elastic/logstash-exhaustive-tests-pipeline/builds/2409 |
|
💛 Build succeeded, but was flaky
Failed CI Steps
History
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Going to handle backports manually (as part of backporting the change that made this required in the first place). |
…8079) * Ensure acceptance test artifacts are being built for correct arch With the improvment in #17995 we only build packages that match the architecture of the host. This is specified with an enviornment variable. Previously the acceptance tests did not need to specifcy the architecture when building packages. This commit updates the builder to build packages with the correct arch. * Ensure ARCH is set for docker acceptance tests
…8079) * Ensure acceptance test artifacts are being built for correct arch With the improvment in #17995 we only build packages that match the architecture of the host. This is specified with an enviornment variable. Previously the acceptance tests did not need to specifcy the architecture when building packages. This commit updates the builder to build packages with the correct arch. * Ensure ARCH is set for docker acceptance tests
…8079) * Ensure acceptance test artifacts are being built for correct arch With the improvment in #17995 we only build packages that match the architecture of the host. This is specified with an enviornment variable. Previously the acceptance tests did not need to specifcy the architecture when building packages. This commit updates the builder to build packages with the correct arch. * Ensure ARCH is set for docker acceptance tests
…8079) * Ensure acceptance test artifacts are being built for correct arch With the improvment in #17995 we only build packages that match the architecture of the host. This is specified with an enviornment variable. Previously the acceptance tests did not need to specifcy the architecture when building packages. This commit updates the builder to build packages with the correct arch. * Ensure ARCH is set for docker acceptance tests
…8079) * Ensure acceptance test artifacts are being built for correct arch With the improvment in #17995 we only build packages that match the architecture of the host. This is specified with an enviornment variable. Previously the acceptance tests did not need to specifcy the architecture when building packages. This commit updates the builder to build packages with the correct arch. * Ensure ARCH is set for docker acceptance tests
…st arch (#18071) * Build artifacts only for those that match host arch (#17995) * Build artifacts only for those that match host arch Previously when doing platform specific builds (x86_64, arm) BOTH sets of artifacts were produced regarless of host. This increases CI run times and is needless resource consumption. This commit makes the rake tasks compile artifacts for only the host arch it is being run on. * set ARCH for building observabilitysre image * Parallelize system package steps across different build hosts This follows the pattern for prepping docker artifacts by preparing artifacts for a target architecture on a specific build host. This allows us to process x86 and arm packages in parallel across builders. Note that there is no requirement today for the system packages to be built on an arch that matches the target, spearating out to a separate builder opens up that opportunity for us though. (cherry picked from commit f2e4948) # Conflicts: # .buildkite/pull_request_pipeline.yml # rakelib/artifacts.rake * fix merge conflicts * Ensure acceptance test artifacts are being built for correct arch (#18079) * Ensure acceptance test artifacts are being built for correct arch With the improvment in #17995 we only build packages that match the architecture of the host. This is specified with an enviornment variable. Previously the acceptance tests did not need to specifcy the architecture when building packages. This commit updates the builder to build packages with the correct arch. * Ensure ARCH is set for docker acceptance tests --------- Co-authored-by: Cas Donoghue <[email protected]>
…st arch (#18073) * Build artifacts only for those that match host arch (#17995) * Build artifacts only for those that match host arch Previously when doing platform specific builds (x86_64, arm) BOTH sets of artifacts were produced regarless of host. This increases CI run times and is needless resource consumption. This commit makes the rake tasks compile artifacts for only the host arch it is being run on. * set ARCH for building observabilitysre image * Parallelize system package steps across different build hosts This follows the pattern for prepping docker artifacts by preparing artifacts for a target architecture on a specific build host. This allows us to process x86 and arm packages in parallel across builders. Note that there is no requirement today for the system packages to be built on an arch that matches the target, spearating out to a separate builder opens up that opportunity for us though. (cherry picked from commit f2e4948) # Conflicts: # rakelib/artifacts.rake * fix merge conflicts * Ensure acceptance test artifacts are being built for correct arch (#18079) * Ensure acceptance test artifacts are being built for correct arch With the improvment in #17995 we only build packages that match the architecture of the host. This is specified with an enviornment variable. Previously the acceptance tests did not need to specifcy the architecture when building packages. This commit updates the builder to build packages with the correct arch. * Ensure ARCH is set for docker acceptance tests --------- Co-authored-by: Cas Donoghue <[email protected]>
…t arch (#18074) * Build artifacts only for those that match host arch (#17995) * Build artifacts only for those that match host arch Previously when doing platform specific builds (x86_64, arm) BOTH sets of artifacts were produced regarless of host. This increases CI run times and is needless resource consumption. This commit makes the rake tasks compile artifacts for only the host arch it is being run on. * set ARCH for building observabilitysre image * Parallelize system package steps across different build hosts This follows the pattern for prepping docker artifacts by preparing artifacts for a target architecture on a specific build host. This allows us to process x86 and arm packages in parallel across builders. Note that there is no requirement today for the system packages to be built on an arch that matches the target, spearating out to a separate builder opens up that opportunity for us though. (cherry picked from commit f2e4948) # Conflicts: # .buildkite/pull_request_pipeline.yml # rakelib/artifacts.rake * fix merge conflicts * Ensure acceptance test artifacts are being built for correct arch (#18079) * Ensure acceptance test artifacts are being built for correct arch With the improvment in #17995 we only build packages that match the architecture of the host. This is specified with an enviornment variable. Previously the acceptance tests did not need to specifcy the architecture when building packages. This commit updates the builder to build packages with the correct arch. * Ensure ARCH is set for docker acceptance tests --------- Co-authored-by: Cas Donoghue <[email protected]>
…t arch (#18075) * Build artifacts only for those that match host arch (#17995) * Build artifacts only for those that match host arch Previously when doing platform specific builds (x86_64, arm) BOTH sets of artifacts were produced regarless of host. This increases CI run times and is needless resource consumption. This commit makes the rake tasks compile artifacts for only the host arch it is being run on. * set ARCH for building observabilitysre image * Parallelize system package steps across different build hosts This follows the pattern for prepping docker artifacts by preparing artifacts for a target architecture on a specific build host. This allows us to process x86 and arm packages in parallel across builders. Note that there is no requirement today for the system packages to be built on an arch that matches the target, spearating out to a separate builder opens up that opportunity for us though. (cherry picked from commit f2e4948) # Conflicts: # .buildkite/pull_request_pipeline.yml # rakelib/artifacts.rake * fix merge conflicts * Ensure acceptance test artifacts are being built for correct arch (#18079) * Ensure acceptance test artifacts are being built for correct arch With the improvment in #17995 we only build packages that match the architecture of the host. This is specified with an enviornment variable. Previously the acceptance tests did not need to specifcy the architecture when building packages. This commit updates the builder to build packages with the correct arch. * Ensure ARCH is set for docker acceptance tests --------- Co-authored-by: Cas Donoghue <[email protected]>
…st arch (#18072) * Build artifacts only for those that match host arch (#17995) * Build artifacts only for those that match host arch Previously when doing platform specific builds (x86_64, arm) BOTH sets of artifacts were produced regarless of host. This increases CI run times and is needless resource consumption. This commit makes the rake tasks compile artifacts for only the host arch it is being run on. * set ARCH for building observabilitysre image * Parallelize system package steps across different build hosts This follows the pattern for prepping docker artifacts by preparing artifacts for a target architecture on a specific build host. This allows us to process x86 and arm packages in parallel across builders. Note that there is no requirement today for the system packages to be built on an arch that matches the target, spearating out to a separate builder opens up that opportunity for us though. (cherry picked from commit f2e4948) # Conflicts: # .buildkite/pull_request_pipeline.yml # rakelib/artifacts.rake * fix merge conflicts * Ensure acceptance test artifacts are being built for correct arch (#18079) * Ensure acceptance test artifacts are being built for correct arch With the improvment in #17995 we only build packages that match the architecture of the host. This is specified with an enviornment variable. Previously the acceptance tests did not need to specifcy the architecture when building packages. This commit updates the builder to build packages with the correct arch. * Ensure ARCH is set for docker acceptance tests * fix merge conflict --------- Co-authored-by: Cas Donoghue <[email protected]>
This commit fixes the aarch64 acceptance tests. With elastic#18079 a new env var was added to aarch64 docker acceptance tests. At that time the fact that the `command` was missing a block scalar `|` was missed. Thus the newlines were not respected and the script for preparing a vm agent was not executed correctly. This resulted in `bundle` command not being found on the test runner. This commit fixes the `command` section to include a block scalar. Additionally we stop waiting on unit tests before starting docker tests as this is unncessary.
This commit fixes the aarch64 acceptance tests. With #18079 a new env var was added to aarch64 docker acceptance tests. At that time the fact that the `command` was missing a block scalar `|` was missed. Thus the newlines were not respected and the script for preparing a vm agent was not executed correctly. This resulted in `bundle` command not being found on the test runner. This commit fixes the `command` section to include a block scalar. Additionally we stop waiting on unit tests before starting docker tests as this is unncessary.
This commit fixes the aarch64 acceptance tests. With #18079 a new env var was added to aarch64 docker acceptance tests. At that time the fact that the `command` was missing a block scalar `|` was missed. Thus the newlines were not respected and the script for preparing a vm agent was not executed correctly. This resulted in `bundle` command not being found on the test runner. This commit fixes the `command` section to include a block scalar. Additionally we stop waiting on unit tests before starting docker tests as this is unncessary. (cherry picked from commit 1e127fd)
This commit fixes the aarch64 acceptance tests. With #18079 a new env var was added to aarch64 docker acceptance tests. At that time the fact that the `command` was missing a block scalar `|` was missed. Thus the newlines were not respected and the script for preparing a vm agent was not executed correctly. This resulted in `bundle` command not being found on the test runner. This commit fixes the `command` section to include a block scalar. Additionally we stop waiting on unit tests before starting docker tests as this is unncessary. (cherry picked from commit 1e127fd)
This commit fixes the aarch64 acceptance tests. With #18079 a new env var was added to aarch64 docker acceptance tests. At that time the fact that the `command` was missing a block scalar `|` was missed. Thus the newlines were not respected and the script for preparing a vm agent was not executed correctly. This resulted in `bundle` command not being found on the test runner. This commit fixes the `command` section to include a block scalar. Additionally we stop waiting on unit tests before starting docker tests as this is unncessary. (cherry picked from commit 1e127fd)
This commit fixes the aarch64 acceptance tests. With #18079 a new env var was added to aarch64 docker acceptance tests. At that time the fact that the `command` was missing a block scalar `|` was missed. Thus the newlines were not respected and the script for preparing a vm agent was not executed correctly. This resulted in `bundle` command not being found on the test runner. This commit fixes the `command` section to include a block scalar. Additionally we stop waiting on unit tests before starting docker tests as this is unncessary. (cherry picked from commit 1e127fd)
This commit fixes the aarch64 acceptance tests. With #18079 a new env var was added to aarch64 docker acceptance tests. At that time the fact that the `command` was missing a block scalar `|` was missed. Thus the newlines were not respected and the script for preparing a vm agent was not executed correctly. This resulted in `bundle` command not being found on the test runner. This commit fixes the `command` section to include a block scalar. Additionally we stop waiting on unit tests before starting docker tests as this is unncessary. (cherry picked from commit 1e127fd) Co-authored-by: Cas Donoghue <[email protected]>
This commit fixes the aarch64 acceptance tests. With #18079 a new env var was added to aarch64 docker acceptance tests. At that time the fact that the `command` was missing a block scalar `|` was missed. Thus the newlines were not respected and the script for preparing a vm agent was not executed correctly. This resulted in `bundle` command not being found on the test runner. This commit fixes the `command` section to include a block scalar. Additionally we stop waiting on unit tests before starting docker tests as this is unncessary. (cherry picked from commit 1e127fd) Co-authored-by: Cas Donoghue <[email protected]>
This commit fixes the aarch64 acceptance tests. With #18079 a new env var was added to aarch64 docker acceptance tests. At that time the fact that the `command` was missing a block scalar `|` was missed. Thus the newlines were not respected and the script for preparing a vm agent was not executed correctly. This resulted in `bundle` command not being found on the test runner. This commit fixes the `command` section to include a block scalar. Additionally we stop waiting on unit tests before starting docker tests as this is unncessary. (cherry picked from commit 1e127fd) Co-authored-by: Cas Donoghue <[email protected]>
This commit fixes the aarch64 acceptance tests. With #18079 a new env var was added to aarch64 docker acceptance tests. At that time the fact that the `command` was missing a block scalar `|` was missed. Thus the newlines were not respected and the script for preparing a vm agent was not executed correctly. This resulted in `bundle` command not being found on the test runner. This commit fixes the `command` section to include a block scalar. Additionally we stop waiting on unit tests before starting docker tests as this is unncessary. (cherry picked from commit 1e127fd) Co-authored-by: Cas Donoghue <[email protected]>
With the improvment in #17995 we only build packages that match the architecture of the host. This is specified with an enviornment variable. Previously the acceptance tests did not need to specifcy the architecture when building packages. This commit updates the builder to build packages with the correct arch.