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

complexity-tests: fix copying verifier log output to artifacts #29752

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

lmb
Copy link
Contributor

@lmb lmb commented Dec 8, 2023

It turns out that the following find command is subtle:

find . -name foo -o -name bar -exec ...

This means: execute the command for bar. It doesn't execute the command for foo. For this reason verifier logs are currently not being copied correctly into GH artifacts.

Fixes: 735807f ("test/verifier: fix complexity tests not being recompiled")

Fix collecting of verifier logs in ci-verifier

It turns out that the following find command is subtle:

    find . -name foo -o -name bar -exec ...

This means: execute the command for bar. It doesn't execute the command for foo.
For this reason verifier logs are currently not being copied correctly into
GH artifacts.

Fixes: 735807f ("test/verifier: fix complexity tests not being recompiled")
Signed-off-by: Lorenz Bauer <lmb@isovalent.com>
@lmb lmb added sig/loader Impacts the loading of BPF programs into the kernel. release-note/ci This PR makes changes to the CI. needs-backport/1.14 This PR / issue needs backporting to the v1.14 branch labels Dec 8, 2023
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from main in 1.14.5 Dec 8, 2023
@lmb
Copy link
Contributor Author

lmb commented Dec 8, 2023

/ci-verifier

@lmb lmb marked this pull request as ready for review December 8, 2023 17:30
@lmb lmb requested review from a team as code owners December 8, 2023 17:30
@lmb
Copy link
Contributor Author

lmb commented Dec 8, 2023

/test

@nebril nebril added this to Needs backport from main in 1.14.6 Dec 11, 2023
@nebril nebril removed this from Needs backport from main in 1.14.5 Dec 11, 2023
@lmb lmb enabled auto-merge December 12, 2023 10:25
@lmb
Copy link
Contributor Author

lmb commented Dec 12, 2023

/ci-ipsec-upgrade

@lmb
Copy link
Contributor Author

lmb commented Dec 12, 2023

/ci-awscni

@lmb lmb added this pull request to the merge queue Dec 12, 2023
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Dec 12, 2023
Merged via the queue into cilium:main with commit c947484 Dec 12, 2023
62 checks passed
@lmb lmb deleted the bpf-copy-log branch December 12, 2023 11:15
@giorio94 giorio94 mentioned this pull request Dec 13, 2023
10 tasks
@giorio94 giorio94 added backport-pending/1.14 The backport for Cilium 1.14.x for this PR is in progress. and removed needs-backport/1.14 This PR / issue needs backporting to the v1.14 branch labels Dec 13, 2023
@github-actions github-actions bot added backport-done/1.14 The backport for Cilium 1.14.x for this PR is done. and removed backport-pending/1.14 The backport for Cilium 1.14.x for this PR is in progress. labels Dec 14, 2023
@gentoo-root gentoo-root moved this from Needs backport from main to Backport done to v1.14 in 1.14.6 Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-done/1.14 The backport for Cilium 1.14.x for this PR is done. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/ci This PR makes changes to the CI. sig/loader Impacts the loading of BPF programs into the kernel.
Projects
No open projects
1.14.6
Backport done to v1.14
Status: Released
Development

Successfully merging this pull request may close these issues.

None yet

4 participants