Skip to content

[13.4-stable] bpftrace-compiler: increase overall test timeout - #6937

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

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

Conversation

@eriknordmark

@eriknordmark eriknordmark commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Description

Backport of #5481 to 13.4-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.
13.4-stable has the same 1h limit. Its Go Tests pass today; this keeps it in line with the other stable branches and avoids the timeout that hits 14.5-stable.

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

#5481 marked 13.4-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 stays green; locally, make test in eve-tools/bpftrace-compiler on a slow or virtualized machine.

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
@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 32.66%. Comparing base (8077a3d) to head (8c50763).
⚠️ Report is 337 commits behind head on 13.4-stable.

Additional details and impacted files
@@               Coverage Diff               @@
##           13.4-stable    #6937      +/-   ##
===============================================
+ Coverage        24.78%   32.66%   +7.88%     
===============================================
  Files                8        9       +1     
  Lines             1138     1090      -48     
===============================================
+ Hits               282      356      +74     
+ Misses             788      654     -134     
- Partials            68       80      +12     

☔ 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
eriknordmark marked this pull request as ready for review October 26, 2026 21:46
@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.

@eriknordmark
eriknordmark merged commit fc47641 into lf-edge:13.4-stable Oct 27, 2026
28 of 35 checks passed
@eriknordmark
eriknordmark deleted the bpftrace_compiler_increase_test_timeout-13.4-stable branch October 31, 2026 01:40
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