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: run build workflows daily #259

Merged
merged 1 commit into from
Mar 8, 2024
Merged

Conversation

anakryiko
Copy link
Member

Let's have regular daily CI build test runs.

Let's have regular daily CI build test runs.

Signed-off-by: Andrii Nakryiko <[email protected]>
@anakryiko
Copy link
Member Author

@waruqi it seems like Android builds started failing (and we didn't have daily CI runs to notice in time, oops). Can you please check what's wrong and help fixing. It's failing with:

  => install linux-tools 5.16.9 .. failed

But no details are available in CI.

@anakryiko anakryiko merged commit c86d5a8 into libbpf:master Mar 8, 2024
10 of 13 checks passed
@anakryiko anakryiko deleted the ci-nightly branch March 8, 2024 22:30
@waruqi
Copy link
Contributor

waruqi commented Mar 9, 2024

It seems that bpftool fails to execute when ci's linux environment is upgraded. I'm not sure why at the moment, but maybe I need to update the linux kernel version, and it may take some time to fix it.

@waruqi
Copy link
Contributor

waruqi commented Mar 11, 2024

I have fixed it.

@anakryiko
Copy link
Member Author

I have fixed it.

great, thank you! for history, do you have a link to the fix, if anyone would be curious to check?

@waruqi
Copy link
Contributor

waruqi commented Mar 11, 2024

I have updated linux tools (kernel) to 6.x, see
xmake-io/xmake-repo#3371

becasue linux action ci has been upgraded.

After compiling bpftool, make calls bpftool to dump vmlinux. calling 5.x kernel/bpftool on a newer linux kernel fails, I don't know why, maybe it's strongly correlated to the linux kernel version.

@anakryiko
Copy link
Member Author

After compiling bpftool, make calls bpftool to dump vmlinux. calling 5.x kernel/bpftool on a newer linux kernel fails, I don't know why, maybe it's strongly correlated to the linux kernel version.

newer kernel has newer BTF (e.g., types like ENUM64), which old bpftool won't recognize and will refuse to work with BTF. This is probably what you are running into.

@anakryiko
Copy link
Member Author

@waruqi I'm not sure why, but now Android build tests are timing out after 6 hours, being stuck. See https://github.com/libbpf/libbpf-bootstrap/actions/runs/8253131606/job/22586521612 as an example. One of the runs did succeed (https://github.com/libbpf/libbpf-bootstrap/actions/runs/8253131606/job/22586521503), so it's not 100% rate, but I don't think we had a successful full run just yet.

@waruqi
Copy link
Contributor

waruqi commented Mar 14, 2024

I will look at it.

@waruqi
Copy link
Contributor

waruqi commented Mar 14, 2024

@waruqi I'm not sure why, but now Android build tests are timing out after 6 hours, being stuck. See https://github.com/libbpf/libbpf-bootstrap/actions/runs/8253131606/job/22586521612 as an example. One of the runs did succeed (https://github.com/libbpf/libbpf-bootstrap/actions/runs/8253131606/job/22586521503), so it's not 100% rate, but I don't think we had a successful full run just yet.

I've fixed this, but it requires the master version to work now, I'll update it to latest after the next release.

#263

the related xmake patch: xmake-io/xmake@ff083f9

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.

2 participants