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: add test run with race detector #1674

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

paulcacheux
Copy link
Contributor

@paulcacheux paulcacheux commented Feb 11, 2025

As discussed in #1673, this PR adds a test run with the race detector enabled.

In the thread it was discussed to re-use the "previous go version" run and to add -race to it, but it's not possible because the race detector requires CGo, this makes the test binary not static anymore, and vimto is having a hard time running it.

This PR choses the easy path and just creates a new test run closer to the arm64 one (no vimto)

@paulcacheux paulcacheux force-pushed the race-tests branch 2 times, most recently from 1e9c8d8 to 36a9355 Compare February 11, 2025 07:51
@ti-mo ti-mo marked this pull request as ready for review February 26, 2025 08:32
@ti-mo ti-mo requested a review from a team as a code owner February 26, 2025 08:32
Copy link
Collaborator

@ti-mo ti-mo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Not sure why this and the gotestsum PR were drafts. 😉 I gave this a rebase and fixed up the gotestsum version.

Signed-off-by: Timo Beckers <[email protected]>
@ti-mo
Copy link
Collaborator

ti-mo commented Feb 26, 2025

Looks like running with the race detector enabled crashes the GH runner (?). The logs aren't showing, but they did stream in when I started the job, and RoundtripVMLinux was the last test it was able to start.

Locally, this works fine, but there may be some additional constraints on these runners.

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