Skip to content

[14.5-stable] bpftrace-compiler: increase overall test timeout - #6936

Merged
eriknordmark merged 1 commit into
lf-edge:14.5-stablefrom
eriknordmark:bpftrace_compiler_increase_test_timeout-14.5-stable
Oct 27, 2026
Merged

eriknordmark merged 1 commit into
lf-edge:14.5-stablefrom
eriknordmark:bpftrace_compiler_increase_test_timeout-14.5-stable

Conversation

@eriknordmark

@eriknordmark eriknordmark commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Description

Backport of #5481 to 14.5-stable.

The bpftrace-compiler tests can take more than one hour on virtualized machines, so this raises the overall go test timeout from 1h to 5h.
On 14.5-stable, TestCurrentKernels runs past the 1h limit in the Go Tests job of every PR, so Go Tests is red branch-wide (for example #6875 and #6879). The test is still building kernel images when it is killed, not hung.

Picked with -x. Adaptation: this branch's test line lacks master's -coverprofile flags, so only the timeout changed.

#5481 marked 14.5-stable "No" because users of older EVEs should run bpftrace-compiler from master. That still holds for users; this backport is for the branch's own CI, which runs its copy of the test.

How to test and validate this PR

The Go Tests job of this PR: make -C eve-tools/bpftrace-compiler test should finish instead of failing with panic: test timed out after 1h0m0s.

Changelog notes

None.

PR Backports

Checklist

  • I've provided a proper description
  • I've added the proper documentation (not needed)
  • I've tested my PR on amd64 device (CI only)
  • I've tested my PR on arm64 device (CI only)
  • I've written the test verification instructions
  • I've set the proper labels to this PR (none needed, as on [16.0] bpftrace compiler increase test timeout #5485)

For backport PRs (remove it if it's not a backport):

  • I've added a reference link to the original PR
  • PR's title follows the template

And the last but not least:

  • I've checked the boxes above, or I've provided a good reason why I didn't
    check them.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NJpEoTH6Ao3gsxFwLNtCXK

on some machines, especially if virtualized the tests
take more than one hour, therefore increase the timeout

on my laptop it takes about 35 minutes

Signed-off-by: Christoph Ostarek <christoph@zededa.com>
(cherry picked from commit 6039db8)
[Conflict: this branch's test line lacks master's -coverprofile flags;
only the timeout was changed.]
Signed-off-by: eriknordmark <erik@zededa.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NJpEoTH6Ao3gsxFwLNtCXK
@eriknordmark
eriknordmark marked this pull request as ready for review October 26, 2026 21:46
@codecov

codecov Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 25.60%. Comparing base (272ffae) to head (ef4cbe4).
⚠️ Report is 285 commits behind head on 14.5-stable.

Additional details and impacted files
@@               Coverage Diff               @@
##           14.5-stable    #6936      +/-   ##
===============================================
+ Coverage        24.97%   25.60%   +0.62%     
===============================================
  Files                8       14       +6     
  Lines             1185     2882    +1697     
===============================================
+ Hits               296      738     +442     
- Misses             820     1992    +1172     
- Partials            69      152      +83     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@eriknordmark

Copy link
Copy Markdown
Contributor Author

@christoph-zededa could you review this backport of your #5481? Without it the bpftrace-compiler tests hit the 1h timeout and fail Go Tests on this branch.

@eriknordmark

Copy link
Copy Markdown
Contributor Author

@rene could you also take a look? It is a one-line backport of #5481.

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