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

veristat, kernel-test: fix vmlinuz search #319

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

theihor
Copy link
Contributor

@theihor theihor commented Dec 6, 2024

By using sparse checkout in kernel-test and veristat jobs we can save about 1.5 minute of runtime on each job. Job invoking libbpf/ci/run-vmtest action do not need access to the full kernel source tree.

However, this requires an adjustment to the list of the artifacts collected by kernel build. VMLINUZ might be search via make image_name, which requires makefiles and other scripts to be accessible.

Example of a failure:
https://github.com/kernel-patches/bpf/actions/runs/12204941090/job/34051427386

Set ARCHIVE_MAKE_HELPERS flag for libbpf/ci/tar-artifacts action to true in kernel-build.

Also, add check for vars.AWS_REGION before executing veristat-meta.

By using sparse checkout in kernel-test and veristat jobs we can save
about 1.5 minute of runtime on each job. Job invoking
libbpf/ci/run-vmtest action do not need access to the full kernel
source tree.

However, this requires an adjustment to the list of the artifacts
collected by kernel build. VMLINUZ might be search via `make
image_name`, which requires makefiles and other scripts to be
accessible.

Example of a failure:
https://github.com/kernel-patches/bpf/actions/runs/12204941090/job/34051427386

Set ARCHIVE_MAKE_HELPERS flag for libbpf/ci/tar-artifacts action to
true in kernel-build.

Also, add check for vars.AWS_REGION before executing veristat-meta.

Signed-off-by: Ihor Solodrai <[email protected]>
@theihor theihor merged commit a0408d2 into kernel-patches:master Dec 6, 2024
52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant