Skip to content

DAOS-19102 test: Stabilize NLT memcheck testing of Go binaries (#18454)#18552

Draft
mjmac wants to merge 1 commit into
release/2.8from
mjmac/DAOS-19102-2.8
Draft

DAOS-19102 test: Stabilize NLT memcheck testing of Go binaries (#18454)#18552
mjmac wants to merge 1 commit into
release/2.8from
mjmac/DAOS-19102-2.8

Conversation

@mjmac

@mjmac mjmac commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Go 1.25+ includes a new valgrind build tag which instruments the
Go runtime in a way that valgrind can comprehend. Instead of
fighting a constantly losing battle with valgrind, let's work
with it and ditch the unstable suppressions that need to be updated
for every release of the Go toolchain.

This commit introduces scons and Jenkinsfile changes to enable this
build mode for NLT, but keeps the -race build for normal non-release
testing.

Additionally:
By default, NLT runs each test once. Add a --repeat N flag to
allow for multiple iterations to really soak a change. Add a
--failfast flag to allow the loop to be broken if any iteration
fails; otherwise the loop will keep going until the requested
number of loops has completed.

New test pragmas:

  • NLT-repeat: N
  • NLT-repeat-failfast: true

Signed-off-by: Michael MacDonald github@macdonald.cx

Go 1.25+ includes a new valgrind build tag which instruments the
Go runtime in a way that valgrind can comprehend. Instead of
fighting a constantly losing battle with valgrind, let's work
with it and ditch the unstable suppressions that need to be updated
for every release of the Go toolchain.

This commit introduces scons and Jenkinsfile changes to enable this
build mode for NLT, but keeps the -race build for normal non-release
testing.

Additionally:
By default, NLT runs each test once. Add a --repeat N flag to
allow for multiple iterations to really soak a change. Add a
--failfast flag to allow the loop to be broken if any iteration
fails; otherwise the loop will keep going until the requested
number of loops has completed.

New test pragmas:
  * NLT-repeat: N
  * NLT-repeat-failfast: true

Signed-off-by: Michael MacDonald <github@macdonald.cx>
@github-actions

Copy link
Copy Markdown

Ticket title is 'Make Go suppressions stable across toolchain versions'
Status is 'In Review'
https://daosio.atlassian.net/browse/DAOS-19102

@daosbuild3

Copy link
Copy Markdown
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants