8000 ci: the TSan abort budget is 5, and the collector has not aborted in 18 jobs · Issue #122 · nixidae/nixidae · GitHub
[go: up one dir, main page]

Skip to content

ci: the TSan abort budget is 5, and the collector has not aborted in 18 jobs #122

Closed

Description

@Lillecarl

ci/workflows/lib.nix:443 sets ABORT_BUDGET=5. A test-tsan-* job passes
with up to five attempts that exit 134 with Signals delivery fails.

That budget answered #98, when the abort was frequent and had no known cause.
It has a known cause now, and the cause is corrected: 99f74d82 registers the
thread that builds an evaluator with Boehm, and #101 gives the mechanism -- the
collector signalled a pthread_t that glibc had already handed to another
thread.

What the budget costs now

Every test-tsan-* job since 99f74d82 reports 0 tolerated collector abort(s). That is 18 jobs over six runs and three Nix versions, and each job
runs five seeds against the local and the daemon backends.

So the budget tolerates nothing that happens, and it hides a regression of
99f74d82 up to five times over. A job that started aborting again would stay
green, and the only sign would be the summary line that nobody reads on a
green job.

What to do

Set ABORT_BUDGET=0. Keep every other part of the block:

A data race still fails the job through its own branch, which runs first.

Acceptance criteria

  • ABORT_BUDGET=0, and the comment says the budget exists for a regression of
    99f74d82 rather than for an upstream signal disagreement.
  • An abort still prints its resend log before the job fails.
  • .github/workflows/on_commit.yml is rendered again from the Nix source, and
    both are committed.

Refs #98, #101.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    source: nanopynix

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0