Skip to content

test(ci): re-baseline the 3.5.0 expect manifests against current master - #7391

Merged
oferchen merged 1 commit into
masterfrom
fix/regenerate-3.5.0-expect-manifests
Aug 19, 2026
Merged

oferchen merged 1 commit into
masterfrom
fix/regenerate-3.5.0-expect-manifests

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Problem

upstream testsuite and upstream testsuite (root) — both required contexts — are red on master itself, and every open PR inherits the failure.

Master run 32296056003 (commit b87da3dcf) reports:

----- expected-result mismatches:
      rename-fullpath-symlink-race: expected fail, got pass (xpass)
      rrsync-no-overwrite-delay-updates: expected fail, got pass (xpass)
overall result is 2

Root cause

The manifests were baselined at commit 5d11768ee and committed by #7387. #7388 then landed real behaviour changes, flipping two tests fail → pass. Nobody regenerated the manifests, so the gate has been demanding a failure the code no longer produces.

This is not a waiver: an XPASS is exactly the signal the gate exists to raise ("these are listed in the known-failures list but now pass — remove them"). The fix is to record current behaviour.

Change

Both files are taken verbatim from the expect-result artifacts emitted by master's own run, so all 345 outcome rows remain generated rather than typed. Only the Baseline: provenance comment is added by hand, matching the convention the previous baseline used.

Beyond the two flips the diff carries:

  • a header-text change — the emitter now names its own regeneration command (EMIT_EXPECT_RESULT=<path> bash tools/ci/run_upstream_testsuite.sh) instead of the older "take it from the uploaded artifact" wording;
  • a reposition of partial_nowrite, a collation artifact. This is inert: parse_expect_result builds a {testbase: outcome} dict (runtests.py:332), so line order does not affect the gate.

Verification

  • The committed content is byte-identical to the emitted artifacts apart from the one provenance line — the diff above is the whole delta against master.
  • 345 outcome rows in each leg, matching the suite's test count.
  • Two independent runs at different commits (5d11768ee, b87da3dcf) agree on 343 of 345 outcomes, which is what makes the two flips attributable to a behaviour change rather than noise.

Deliberately not included

symlink-race-source was not re-baselined. It passes on master and is correct as pass; it failed on one PR run only, and that is a genuine TOCTOU race test (it runs a flipping thread and retries under a timeout). Recording a flap as the expectation there would hide a real escape, so it stays pinned to pass and is being investigated separately.

The manifests were baselined at commit 5d11768 and committed by #7387.
#7388 then landed behaviour changes that flip two tests from fail to pass,
and nothing regenerated the manifests. `upstream testsuite` and
`upstream testsuite (root)` - both required contexts - have been red on
master ever since, and every open PR inherits the same two mismatches:

    rename-fullpath-symlink-race: expected fail, got pass (xpass)
    rrsync-no-overwrite-delay-updates: expected fail, got pass (xpass)

Both files are taken verbatim from the expect-result artifacts emitted by
master's own run 32296056003 (commit b87da3d), so all 345 outcome rows
stay generated rather than typed. Only the Baseline provenance comment is
added by hand, matching the convention the previous baseline used.

Besides the two flips the diff carries a header-text change (the emitter
now names its own regeneration command) and a reposition of
`partial_nowrite`, which is a collation artifact: parse_expect_result
builds a {testbase: outcome} dict (runtests.py:332), so line order does
not affect the gate.
@github-actions github-actions Bot added the test label Aug 19, 2026
@oferchen
oferchen merged commit f2583f4 into master Aug 19, 2026
65 of 67 checks passed
@oferchen
oferchen deleted the fix/regenerate-3.5.0-expect-manifests branch August 19, 2026 21:14
oferchen added a commit that referenced this pull request Aug 24, 2026
…er (#7391)

The manifests were baselined at commit 5d11768 and committed by #7387.
#7388 then landed behaviour changes that flip two tests from fail to pass,
and nothing regenerated the manifests. `upstream testsuite` and
`upstream testsuite (root)` - both required contexts - have been red on
master ever since, and every open PR inherits the same two mismatches:

    rename-fullpath-symlink-race: expected fail, got pass (xpass)
    rrsync-no-overwrite-delay-updates: expected fail, got pass (xpass)

Both files are taken verbatim from the expect-result artifacts emitted by
master's own run 32296056003 (commit 5af2685), so all 345 outcome rows
stay generated rather than typed. Only the Baseline provenance comment is
added by hand, matching the convention the previous baseline used.

Besides the two flips the diff carries a header-text change (the emitter
now names its own regeneration command) and a reposition of
`partial_nowrite`, which is a collation artifact: parse_expect_result
builds a {testbase: outcome} dict (runtests.py:332), so line order does
not affect the gate.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant