Skip to content

[release-7.3] Fix an old exclude failed bug - #13662

Merged
spraza merged 1 commit into
apple:release-7.3from
spraza:exc-fail-bug-7.3-backport
Jul 9, 2026
Merged

spraza merged 1 commit into
apple:release-7.3from
spraza:exc-fail-bug-7.3-backport

Conversation

@spraza

@spraza spraza commented Jul 8, 2026 •

Copy link
Copy Markdown
Collaborator

Backport of #13645 to release-7.3.

In removeKeysFromFailedServer, the writes that unassign a dropped shard from the dest servers (serverKeysFalse) and the writes that reassign it to the new team as an empty range were pushed into a single actors vector and awaited together. krmSetRangeCoalescing performs a read-modify-write on the serverKeys map, so when a server appears in both the dest set and the new team, running the two batches concurrently lets the coalescing reads observe stale state and produce an incorrect serverKeys assignment.

Await the unassign batch first, then run the empty-range assignment in a separate batch, ensuring the serverKey map assignment is correct.

100K results below.

$ j list --stopped | grep 20260708-174937-praza-exc-fail-bug-7.3-backport-047bba1366fb
  20260708-174937-praza-exc-fail-bug-7.3-backport-047bba1366fb compressed=True data_size=34947832 duration=3580953 ended=100000 fail=1 fail_fast=10 max_runs=100000 pass=99999 priority=100 remaining=0 runtime=0:44:58 sanity=False started=100000 stopped=20260708-183435 submitted=20260708-174937 timeout=5400 username=praza-exc-fail-bug-7.3-backport-047bba1366fb23c1fc31c07e47cc751564f6515b

# Don't see any failures
$ j tail --xml --errors 20260708-174937-praza-exc-fail-bug-7.3-backport-047bba1366fb
Results for test ensemble: 20260708-174937-praza-exc-fail-bug-7.3-backport-047bba1366fb
<Trace>Ensemble stopped
</Trace>⏎

@spraza
spraza requested review from jzhou77 and saintstack July 8, 2026 17:07
@spraza
spraza force-pushed the exc-fail-bug-7.3-backport branch from b055f6d to 047bba1 Compare July 8, 2026 17:13
@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-macos on macOS 14.x

  • Commit ID: b055f6d
  • Duration 0:06:22
  • Result: ❌ FAILED
  • Error: git checkout failed with exit status 128: fatal: unable to read tree (b055f6d348f5e855a96bc176e20e2d462f8f2e06) for primary source and source version b055f6d348f5e855a96bc176e20e2d462f8f2e06
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-clang-73 on Linux CentOS 7

  • Commit ID: b055f6d
  • Duration 0:18:10
  • Result: ❌ FAILED
  • Error: Error while executing command: ninja -v -C build_output -j ${NPROC} all packages strip_targets. Reason: exit status 1
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@saintstack

Copy link
Copy Markdown
Contributor

MoveKeys.actor.g.cpp.o -c /codebuild/output/src3439205401/src/github.com/apple/foundationdb/build_output/fdbserver/MoveKeys.actor.g.cpp
distcc[11255] ERROR: compile /codebuild/output/src3439205401/src/github.com/apple/foundationdb/build_output/fdbserver/MoveKeys.actor.g.cpp on distcc-c0afcb341c31fb8c.elb.us-west-2.amazonaws.com/96 failed
distcc[11255] (dcc_build_somewhere) Warning: remote compilation of '/codebuild/output/src3439205401/src/github.com/apple/foundationdb/build_output/fdbserver/MoveKeys.actor.g.cpp' failed, retrying locally
distcc[11255] Warning: failed to distribute /codebuild/output/src3439205401/src/github.com/apple/foundationdb/build_output/fdbserver/MoveKeys.actor.g.cpp to distcc-c0afcb341c31fb8c.elb.us-west-2.amazonaws.com/96, running locally instead
distcc[11255] ERROR: compile /codebuild/output/src3439205401/src/github.com/apple/foundationdb/build_output/fdbserver/MoveKeys.actor.g.cpp on localhost failed
/codebuild/output/src3439205401/src/github.com/apple/foundationdb/fdbserver/MoveKeys.actor.cpp:2967:117: error: use of undeclared identifier 'shardId'; did you mean 'srcId'?
emptyRangeActors.push_back(krmSetRangeCoalescing( &tr, serverKeysPrefixFor(id), range, allKeys, serverKeysValue(shardId)));
^~~~~~~
srcId
/codebuild/output/src3439205401/src/github.com/apple/foundationdb/fdbserver/MoveKeys.actor.cpp:2851:6: note: 'srcId' declared here
UID srcId;
^
/codebuild/output/src3439205401/src/github.com/apple/foundationdb/fdbserver/MoveKeys.actor.cpp:2967:117: error: use of undeclared identifier 'shardId'; did you mean 'srcId'?
emptyRangeActors.push_back(krmSetRangeCoalescing( &tr, serverKeysPrefixFor(id), range, allKeys, serverKeysValue(shardId)));
^~~~~~~
srcId
/codebuild/output/src3439205401/src/github.com/apple/foundationdb/fdbserver/MoveKeys.actor.cpp:2851:6: note: 'srcId' declared here
UID srcId;
^
2 errors generated.

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-clang on Linux RHEL 9

  • Commit ID: b055f6d
  • Duration 0:25:26
  • Result: ❌ FAILED
  • Error: Error while executing command: ninja -v -C build_output -j ${NPROC} all packages strip_targets. Reason: exit status 1
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-73 on Linux CentOS 7

  • Commit ID: b055f6d
  • Duration 0:25:52
  • Result: ❌ FAILED
  • Error: Error while executing command: ninja -v -C build_output -j ${NPROC} all packages strip_targets. Reason: exit status 1
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-cluster-tests-73 on Linux CentOS 7

  • Commit ID: b055f6d
  • Duration 0:25:58
  • Result: ❌ FAILED
  • Error: Error while executing command: ninja -v -C build_output -j ${NPROC} all packages strip_targets. Reason: exit status 1
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)
  • Cluster Test Logs zip file of the test logs (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr on Linux RHEL 9

  • Commit ID: b055f6d
  • Duration 0:30:12
  • Result: ❌ FAILED
  • Error: Error while executing command: ninja -v -C build_output -j ${NPROC} all packages strip_targets. Reason: exit status 1
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@spraza

spraza commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator Author

MoveKeys.actor.g.cpp.o -c /codebuild/output/src3439205401/src/github.com/apple/foundationdb/build_output/fdbserver/MoveKeys.actor.g.cpp distcc[11255] ERROR: compile /codebuild/output/src3439205401/src/github.com/apple/foundationdb/build_output/fdbserver/MoveKeys.actor.g.cpp on distcc-c0afcb341c31fb8c.elb.us-west-2.amazonaws.com/96 failed distcc[11255] (dcc_build_somewhere) Warning: remote compilation of '/codebuild/output/src3439205401/src/github.com/apple/foundationdb/build_output/fdbserver/MoveKeys.actor.g.cpp' failed, retrying locally distcc[11255] Warning: failed to distribute /codebuild/output/src3439205401/src/github.com/apple/foundationdb/build_output/fdbserver/MoveKeys.actor.g.cpp to distcc-c0afcb341c31fb8c.elb.us-west-2.amazonaws.com/96, running locally instead distcc[11255] ERROR: compile /codebuild/output/src3439205401/src/github.com/apple/foundationdb/build_output/fdbserver/MoveKeys.actor.g.cpp on localhost failed /codebuild/output/src3439205401/src/github.com/apple/foundationdb/fdbserver/MoveKeys.actor.cpp:2967:117: error: use of undeclared identifier 'shardId'; did you mean 'srcId'? emptyRangeActors.push_back(krmSetRangeCoalescing( &tr, serverKeysPrefixFor(id), range, allKeys, serverKeysValue(shardId))); ^~~~~~~ srcId /codebuild/output/src3439205401/src/github.com/apple/foundationdb/fdbserver/MoveKeys.actor.cpp:2851:6: note: 'srcId' declared here UID srcId; ^ /codebuild/output/src3439205401/src/github.com/apple/foundationdb/fdbserver/MoveKeys.actor.cpp:2967:117: error: use of undeclared identifier 'shardId'; did you mean 'srcId'? emptyRangeActors.push_back(krmSetRangeCoalescing( &tr, serverKeysPrefixFor(id), range, allKeys, serverKeysValue(shardId))); ^~~~~~~ srcId /codebuild/output/src3439205401/src/github.com/apple/foundationdb/fdbserver/MoveKeys.actor.cpp:2851:6: note: 'srcId' declared here UID srcId; ^ 2 errors generated.

@saintstack I already fixed this, it triggered a new CI but I think the new results are not posted yet.

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-clang-73 on Linux CentOS 7

  • Commit ID: 047bba1
  • Duration 0:39:14
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-clang on Linux RHEL 9

  • Commit ID: 047bba1
  • Duration 0:45:47
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-macos-m1 on macOS 14.x

  • Commit ID: 047bba1
  • Duration 0:50:29
  • Result: ❌ FAILED
  • Error: Error while executing command: ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ${HOME}/.ssh_key ec2-user@${MAC_EC2_HOST} /opt/homebrew/bin/bash --login ./build_pr_macos.sh. Reason: exit status 8
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr on Linux RHEL 9

  • Commit ID: 047bba1
  • Duration 0:54:43
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-73 on Linux CentOS 7

  • Commit ID: 047bba1
  • Duration 0:58:11
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-macos-m1 on macOS 14.x

  • Commit ID: b055f6d
  • Duration 1:04:36
  • Result: ❌ FAILED
  • Error: Error while executing command: ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ${HOME}/.ssh_key ec2-user@${MAC_EC2_HOST} /opt/homebrew/bin/bash --login ./build_pr_macos.sh. Reason: exit status 1
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-macos on macOS 14.x

  • Commit ID: 047bba1
  • Duration 1:06:32
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@spraza
spraza requested a review from gxglass July 8, 2026 18:24
@spraza

spraza commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator Author

Result of foundationdb-pr-macos-m1 on macOS 14.x

  • Commit ID: 047bba1
  • Duration 0:50:29
  • Result: ❌ FAILED
  • Error: Error while executing command: ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ${HOME}/.ssh_key ec2-user@${MAC_EC2_HOST} /opt/homebrew/bin/bash --login ./build_pr_macos.sh. Reason: exit status 8
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

Failures:

The following tests FAILED:
          4 - multi_process_fdbcli_tests (Failed)
          6 - multi_process_external_client_fdbcli_tests (Timeout)
Errors while running CTest

Don't think these are related to this PR. Will re-run this phase.

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-cluster-tests-73 on Linux CentOS 7

  • Commit ID: 047bba1
  • Duration 2:13:39
  • Result: ❌ FAILED
  • Error: Error while executing command: if $fail_test; then exit 1; fi. Reason: exit status 1
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)
  • Cluster Test Logs zip file of the test logs (available for 30 days)

Backport of apple#13645 to release-7.3.

In removeKeysFromFailedServer, the writes that unassign a dropped shard
from the dest servers (serverKeysFalse) and the writes that reassign it
to the new team as an empty range were pushed into a single actors vector
and awaited together. krmSetRangeCoalescing performs a read-modify-write
on the serverKeys map, so when a server appears in both the dest set and
the new team, running the two batches concurrently lets the coalescing
reads observe stale state and produce an incorrect serverKeys assignment.

Await the unassign batch first, then run the empty-range assignment in a
separate batch, ensuring the serverKey map assignment is correct.
@spraza
spraza force-pushed the exc-fail-bug-7.3-backport branch from 047bba1 to 0a16f6a Compare July 8, 2026 20:18
@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-clang-73 on Linux CentOS 7

  • Commit ID: 0a16f6a
  • Duration 0:43:34
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-clang on Linux RHEL 9

  • Commit ID: 0a16f6a
  • Duration 0:43:51
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-macos-m1 on macOS 14.x

  • Commit ID: 0a16f6a
  • Duration 0:51:51
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-73 on Linux CentOS 7

  • Commit ID: 0a16f6a
  • Duration 0:52:51
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr on Linux RHEL 9

  • Commit ID: 0a16f6a
  • Duration 1:02:50
  • Result: ❌ FAILED
  • Error: Error while executing command: if python3 -m joshua.joshua list --stopped | grep ${ENSEMBLE_ID} | grep -q 'pass=10[0-9][0-9][0-9]'; then echo PASS; else echo FAIL && exit 1; fi. Reason: exit status 1
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-macos-m1 on macOS 14.x

  • Commit ID: 0a16f6a
  • Duration 1:15:32
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-macos on macOS 14.x

  • Commit ID: 0a16f6a
  • Duration 1:28:38
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-cluster-tests-73 on Linux CentOS 7

  • Commit ID: 0a16f6a
  • Duration 2:08:38
  • Result: ❌ FAILED
  • Error: `Error while executing command: cd ${CODEBUILD_SRC_DIR}

summary / time info

for f in fdb-kubernetes-/logs/.log); do
echo ; echo "$f :"
grep -A3 -E '^Ran [0-9]+ of [0-9]+ Specs in' "$f" || echo "TIMEOUT/PANIC"
done

check all fail types

fail_test=false
if [ -n "${FDB_K8S_TESTS_FAIL:-}" ]; then
echo "FAIL: fdb-kubernetes-tests"
fail_test=true
fi
if [ -n "${FDB_E2E_TESTS_FAIL:-}" ]; then
echo "FAIL: fdb-kubernetes-operator/e2e tests"
fail_test=true
fi

Check for test failures where one or more tests have failed for a test suite.

if grep -q -- "--- FAIL:" fdb-kubernetes-/logs/.log ; then
for f in $(grep -l -- "--- FAIL:" fdb-kubernetes-/logs/.log); do
echo "======================================================================"
echo "FAILED: $f"
echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
tail -n90 "$f"
echo "----------------------------------------------------------------------"
done
fail_test=true
fi

Check for all tests that have not finished e.g. because they timed out or they paniced during the execution.

for f in $(grep -L -- "SUCCESS! --" fdb-kubernetes-/logs/.log); do
if ! grep -q -- "--- FAIL:" $f; then
echo "======================================================================"
echo "TIMEOUT/PANIC: $f"
echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
tail -n90 "$f"
echo "----------------------------------------------------------------------"
fail_test=true
fi
done
. Reason: exit status 2`

@spraza

spraza commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator Author

Result of foundationdb-pr on Linux RHEL 9

  • Commit ID: 0a16f6a
  • Duration 1:02:50
  • Result: ❌ FAILED
  • Error: Error while executing command: if python3 -m joshua.joshua list --stopped | grep ${ENSEMBLE_ID} | grep -q 'pass=10[0-9][0-9][0-9]'; then echo PASS; else echo FAIL && exit 1; fi. Reason: exit status 1
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

Very interesting:

<Test TestUID="f38d67f5-543c-481d-9896-b37ded30caf5" Statistics="FgAAACgAAAAFAAAADgAAAHkAAACBAAAAWQAAABkAAAAdAAAAHQAAAAoAAAAEAAAABQAAAA0AAAAQAAAAIAAAAAgAAAB7AAAAzAAAABAAAAABAAAAFAAAABoAAABlAAAAJwAAAAUAAAAHAAAANAAAADIAAACnAAAACgAAACsAAAA4AAAABwAAABQAAAAjAAAABAAAAAEAAAADAAAADgEAACIAAAAGAAAAHAAAADgAAAANAAAAUwAAACEAAAAXAAAAMwAAAAkAAAAnAAAABgAAACYAAAAJAAAABwAAABAAAAA0AAAAhAAAAC0AAAAdAAAAFAAAAEcAAAAKAAAAAQAAAAMAAAAUAAAADgAAAAMAAAA1AAAAAQAAAFQAAAAXAAAAZwAAAF0AAAAGAAAAHgAAAJsAAAA7AAAACQAAAEMAAAAdAAAADQAAAIAAAAAZAAAADQAAAB8AAAAlAAAAEQAAADAAAAAgAAAAOAAAAIEAAACfAAAA
BQAAAIgAAABLAAAARAAAACUAAABdAAAA+AAAAD0AAAAIAAAAhQAAAAwAAABGAAAAYAAAAA8AAAAKAAAALgAAAHwAAAArAAAAbQEAAKgAAAARAAAAFwAAAB4AAABgAAAAcQAAAA==" JoshuaSeed="2753987455935518957" WillRestart="0" NegativeTest="0" RandomSeed="1036680253" SourceVersion="0a16f6a4d0a6f019e5885b540a79061804aac16a" Time="1783544436" BuggifyEnabled="0" DeterminismCheck="1" FaultInjectionEnabled="1" TestFile="tests/rare/PerpetualWiggleStorageMigration.toml" ConfigString='new backup_worker_enabled:=1 blob_granules_enabled:=0 commit_proxies:=3 encryption_at_rest_mode=disabled grv_proxies:=1
 log_engine=ssd-2 log_spill:=2 logs:=3 perpetual_storage_wiggle:=1 perpetual_storage_wiggle_engine=none proxies:=4 triple remote_single resolvers:=2 storage_engine=ssd-2 storage_migration_type=disabled tenant_mode=disabled usable_regions:=2 regions=[{"datacenters":[{"id":"0","priority":2},{"id":"2","priority":1,"satellite":1},{"id":"4","priority":1,"satellite":1}],"satell
ite_redundancy_mode":"two_satellite_safe"},{"datacenters":[{"id":"1","priority":1},{"id":"3","priority":1,"satellite":1,"satellite_logs":6},{"id":"5","priority":1,"satellite":1}],"satellite_redundancy_mode":"two_satellite_safe"}]' SimElapsedTime="491.563" RealElapsedTime="47.677" RandomUnseed="33177" PeakMemory="562080" Ok="0" Runtime="47.82106161117554" FailReason="ProducedErrors"><DisableConnectionFailures_Tester Severity="30" Time="5.871937" DateTime="2026-07-08T21:00:37Z" Machine="0.0.0.0:0" ID="0000000000000000" ThreadID="9917251628720618996" LogGrou
p="default"/><QuietDatabaseStartFail Severity="30" Time="142.907222" DateTime="2026-07-08T21:00:50Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="MaxTLogPoppedVersionLag, DataDistributionActive" FailedAfter="77.8113" Timeout="1000" ThreadID="9917251628720618996" LogGroup="default"/><EnableConnectionFailures_Tester Severity="30" Time="150.360305" DateTime="2026-07-08
T21:00:51Z" Machine="0.0.0.0:0" ID="0000000000000000" ThreadID="9917251628720618996" LogGroup="default"/><ScheduleDisableConnectionFailures_Tester Severity="30" Time="150.360305" DateTime="2026-07-08T21:00:51Z" Machine="0.0.0.0:0" ID="0000000000000000" At="600.36" ThreadID="9917251628720618996" LogGroup="default"/><DisableConnectionFailures_ConsistencyCheck Severity="30" Time="284.629397" DateTime="2026-07-08T21:01:04Z" Machine="0.0.0.0:0" ID="0000000000000000" ThreadID="9917251628720618996" LogGroup="default"/><QuietDatabaseConsistencyCheckStartFail Seve
rity="30" Time="300.540598" DateTime="2026-07-08T21:01:06Z" Machine="[abcd::3:4:3:2]:1" ID="0000000000000000" Reasons="MaxTLogPoppedVersionLag, MaxStorageQueueSize" FailedAfter="14.8756" Timeout="1000" ThreadID="9917251628720618996" LogGroup="default" Roles="TS"/><QuietDatabaseConsistencyCheckStartFail Severity="30" Time="361.546944" DateTime="2026-07-08T21:01:11Z" Machin
e="[abcd::3:4:3:2]:1" ID="0000000000000000" Reasons="MaxTLogPoppedVersionLag, MaxStorageQueueSize, DataDistributionActive, StorageServersRecruiting" FailedAfter="75.882" Timeout="1000" ThreadID="9917251628720618996" LogGroup="default" Roles="TS"/><QuietDatabaseEndFail Severity="30" Time="485.056889" DateTime="2026-07-08T21:01:23Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="DataDistributionActive" FailedAfter="16.3579" Timeout="1000" ThreadID="9917251628720618996" LogGroup="default"/><UnseedMismatch Unseed="33177" ExpectedUnseed="59091" Severity="4
0"/><JoshuaLogTool ExitCode="0" StdOut="" StdErr="INFO:joshua.joshua_model:transaction_timeout: 512000 and transaction_retry_limit: 2000&#10;"/></Test>

Somehow this code is making simulation non-deterministic? Or is this an existing issue?

@spraza

spraza commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator Author

Result of foundationdb-pr on Linux RHEL 9

  • Commit ID: 0a16f6a
  • Duration 1:02:50
  • Result: ❌ FAILED
  • Error: Error while executing command: if python3 -m joshua.joshua list --stopped | grep ${ENSEMBLE_ID} | grep -q 'pass=10[0-9][0-9][0-9]'; then echo PASS; else echo FAIL && exit 1; fi. Reason: exit status 1
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

Very interesting:

<Test TestUID="f38d67f5-543c-481d-9896-b37ded30caf5" Statistics="FgAAACgAAAAFAAAADgAAAHkAAACBAAAAWQAAABkAAAAdAAAAHQAAAAoAAAAEAAAABQAAAA0AAAAQAAAAIAAAAAgAAAB7AAAAzAAAABAAAAABAAAAFAAAABoAAABlAAAAJwAAAAUAAAAHAAAANAAAADIAAACnAAAACgAAACsAAAA4AAAABwAAABQAAAAjAAAABAAAAAEAAAADAAAADgEAACIAAAAGAAAAHAAAADgAAAANAAAAUwAAACEAAAAXAAAAMwAAAAkAAAAnAAAABgAAACYAAAAJAAAABwAAABAAAAA0AAAAhAAAAC0AAAAdAAAAFAAAAEcAAAAKAAAAAQAAAAMAAAAUAAAADgAAAAMAAAA1AAAAAQAAAFQAAAAXAAAAZwAAAF0AAAAGAAAAHgAAAJsAAAA7AAAACQAAAEMAAAAdAAAADQAAAIAAAAAZAAAADQAAAB8AAAAlAAAAEQAAADAAAAAgAAAAOAAAAIEAAACfAAAA
BQAAAIgAAABLAAAARAAAACUAAABdAAAA+AAAAD0AAAAIAAAAhQAAAAwAAABGAAAAYAAAAA8AAAAKAAAALgAAAHwAAAArAAAAbQEAAKgAAAARAAAAFwAAAB4AAABgAAAAcQAAAA==" JoshuaSeed="2753987455935518957" WillRestart="0" NegativeTest="0" RandomSeed="1036680253" SourceVersion="0a16f6a4d0a6f019e5885b540a79061804aac16a" Time="1783544436" BuggifyEnabled="0" DeterminismCheck="1" FaultInjectionEnabled="1" TestFile="tests/rare/PerpetualWiggleStorageMigration.toml" ConfigString='new backup_worker_enabled:=1 blob_granules_enabled:=0 commit_proxies:=3 encryption_at_rest_mode=disabled grv_proxies:=1
 log_engine=ssd-2 log_spill:=2 logs:=3 perpetual_storage_wiggle:=1 perpetual_storage_wiggle_engine=none proxies:=4 triple remote_single resolvers:=2 storage_engine=ssd-2 storage_migration_type=disabled tenant_mode=disabled usable_regions:=2 regions=[{"datacenters":[{"id":"0","priority":2},{"id":"2","priority":1,"satellite":1},{"id":"4","priority":1,"satellite":1}],"satell
ite_redundancy_mode":"two_satellite_safe"},{"datacenters":[{"id":"1","priority":1},{"id":"3","priority":1,"satellite":1,"satellite_logs":6},{"id":"5","priority":1,"satellite":1}],"satellite_redundancy_mode":"two_satellite_safe"}]' SimElapsedTime="491.563" RealElapsedTime="47.677" RandomUnseed="33177" PeakMemory="562080" Ok="0" Runtime="47.82106161117554" FailReason="ProducedErrors"><DisableConnectionFailures_Tester Severity="30" Time="5.871937" DateTime="2026-07-08T21:00:37Z" Machine="0.0.0.0:0" ID="0000000000000000" ThreadID="9917251628720618996" LogGrou
p="default"/><QuietDatabaseStartFail Severity="30" Time="142.907222" DateTime="2026-07-08T21:00:50Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="MaxTLogPoppedVersionLag, DataDistributionActive" FailedAfter="77.8113" Timeout="1000" ThreadID="9917251628720618996" LogGroup="default"/><EnableConnectionFailures_Tester Severity="30" Time="150.360305" DateTime="2026-07-08
T21:00:51Z" Machine="0.0.0.0:0" ID="0000000000000000" ThreadID="9917251628720618996" LogGroup="default"/><ScheduleDisableConnectionFailures_Tester Severity="30" Time="150.360305" DateTime="2026-07-08T21:00:51Z" Machine="0.0.0.0:0" ID="0000000000000000" At="600.36" ThreadID="9917251628720618996" LogGroup="default"/><DisableConnectionFailures_ConsistencyCheck Severity="30" Time="284.629397" DateTime="2026-07-08T21:01:04Z" Machine="0.0.0.0:0" ID="0000000000000000" ThreadID="9917251628720618996" LogGroup="default"/><QuietDatabaseConsistencyCheckStartFail Seve
rity="30" Time="300.540598" DateTime="2026-07-08T21:01:06Z" Machine="[abcd::3:4:3:2]:1" ID="0000000000000000" Reasons="MaxTLogPoppedVersionLag, MaxStorageQueueSize" FailedAfter="14.8756" Timeout="1000" ThreadID="9917251628720618996" LogGroup="default" Roles="TS"/><QuietDatabaseConsistencyCheckStartFail Severity="30" Time="361.546944" DateTime="2026-07-08T21:01:11Z" Machin
e="[abcd::3:4:3:2]:1" ID="0000000000000000" Reasons="MaxTLogPoppedVersionLag, MaxStorageQueueSize, DataDistributionActive, StorageServersRecruiting" FailedAfter="75.882" Timeout="1000" ThreadID="9917251628720618996" LogGroup="default" Roles="TS"/><QuietDatabaseEndFail Severity="30" Time="485.056889" DateTime="2026-07-08T21:01:23Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="DataDistributionActive" FailedAfter="16.3579" Timeout="1000" ThreadID="9917251628720618996" LogGroup="default"/><UnseedMismatch Unseed="33177" ExpectedUnseed="59091" Severity="4
0"/><JoshuaLogTool ExitCode="0" StdOut="" StdErr="INFO:joshua.joshua_model:transaction_timeout: 512000 and transaction_retry_limit: 2000&#10;"/></Test>

Somehow this code is making simulation non-deterministic? Or is this an existing issue?

Running this test 10K times:

20260708-222803-praza-exc-fail-bug-7.3-backport-047bba1366fb compressed=True data_size=34977396 fail_fast=100 max_runs=10000 priority=100 sanity=False submitted=20260708-222803 timeout=5400 username=praza-exc-fail-bug-7.3-backport-047bba1366fb23c1fc31c07e47cc751564f6515b

Curious if I see any UnseedMismatch failures.

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-cluster-tests-73 on Linux CentOS 7

  • Commit ID: 0a16f6a
  • Duration 2:19:51
  • Result: ❌ FAILED
  • Error: `Error while executing command: cd ${CODEBUILD_SRC_DIR}

summary / time info

for f in fdb-kubernetes-/logs/.log); do
echo ; echo "$f :"
grep -A3 -E '^Ran [0-9]+ of [0-9]+ Specs in' "$f" || echo "TIMEOUT/PANIC"
done

check all fail types

fail_test=false
if [ -n "${FDB_K8S_TESTS_FAIL:-}" ]; then
echo "FAIL: fdb-kubernetes-tests"
fail_test=true
fi
if [ -n "${FDB_E2E_TESTS_FAIL:-}" ]; then
echo "FAIL: fdb-kubernetes-operator/e2e tests"
fail_test=true
fi

Check for test failures where one or more tests have failed for a test suite.

if grep -q -- "--- FAIL:" fdb-kubernetes-/logs/.log ; then
for f in $(grep -l -- "--- FAIL:" fdb-kubernetes-/logs/.log); do
echo "======================================================================"
echo "FAILED: $f"
echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
tail -n90 "$f"
echo "----------------------------------------------------------------------"
done
fail_test=true
fi

Check for all tests that have not finished e.g. because they timed out or they paniced during the execution.

for f in $(grep -L -- "SUCCESS! --" fdb-kubernetes-/logs/.log); do
if ! grep -q -- "--- FAIL:" $f; then
echo "======================================================================"
echo "TIMEOUT/PANIC: $f"
echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
tail -n90 "$f"
echo "----------------------------------------------------------------------"
fail_test=true
fi
done
. Reason: exit status 2`

@spraza

spraza commented Jul 8, 2026 •

Copy link
Copy Markdown
Collaborator Author

Result of foundationdb-pr on Linux RHEL 9

  • Commit ID: 0a16f6a
  • Duration 1:02:50
  • Result: ❌ FAILED
  • Error: Error while executing command: if python3 -m joshua.joshua list --stopped | grep ${ENSEMBLE_ID} | grep -q 'pass=10[0-9][0-9][0-9]'; then echo PASS; else echo FAIL && exit 1; fi. Reason: exit status 1
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

Very interesting:

<Test TestUID="f38d67f5-543c-481d-9896-b37ded30caf5" Statistics="FgAAACgAAAAFAAAADgAAAHkAAACBAAAAWQAAABkAAAAdAAAAHQAAAAoAAAAEAAAABQAAAA0AAAAQAAAAIAAAAAgAAAB7AAAAzAAAABAAAAABAAAAFAAAABoAAABlAAAAJwAAAAUAAAAHAAAANAAAADIAAACnAAAACgAAACsAAAA4AAAABwAAABQAAAAjAAAABAAAAAEAAAADAAAADgEAACIAAAAGAAAAHAAAADgAAAANAAAAUwAAACEAAAAXAAAAMwAAAAkAAAAnAAAABgAAACYAAAAJAAAABwAAABAAAAA0AAAAhAAAAC0AAAAdAAAAFAAAAEcAAAAKAAAAAQAAAAMAAAAUAAAADgAAAAMAAAA1AAAAAQAAAFQAAAAXAAAAZwAAAF0AAAAGAAAAHgAAAJsAAAA7AAAACQAAAEMAAAAdAAAADQAAAIAAAAAZAAAADQAAAB8AAAAlAAAAEQAAADAAAAAgAAAAOAAAAIEAAACfAAAA
BQAAAIgAAABLAAAARAAAACUAAABdAAAA+AAAAD0AAAAIAAAAhQAAAAwAAABGAAAAYAAAAA8AAAAKAAAALgAAAHwAAAArAAAAbQEAAKgAAAARAAAAFwAAAB4AAABgAAAAcQAAAA==" JoshuaSeed="2753987455935518957" WillRestart="0" NegativeTest="0" RandomSeed="1036680253" SourceVersion="0a16f6a4d0a6f019e5885b540a79061804aac16a" Time="1783544436" BuggifyEnabled="0" DeterminismCheck="1" FaultInjectionEnabled="1" TestFile="tests/rare/PerpetualWiggleStorageMigration.toml" ConfigString='new backup_worker_enabled:=1 blob_granules_enabled:=0 commit_proxies:=3 encryption_at_rest_mode=disabled grv_proxies:=1
 log_engine=ssd-2 log_spill:=2 logs:=3 perpetual_storage_wiggle:=1 perpetual_storage_wiggle_engine=none proxies:=4 triple remote_single resolvers:=2 storage_engine=ssd-2 storage_migration_type=disabled tenant_mode=disabled usable_regions:=2 regions=[{"datacenters":[{"id":"0","priority":2},{"id":"2","priority":1,"satellite":1},{"id":"4","priority":1,"satellite":1}],"satell
ite_redundancy_mode":"two_satellite_safe"},{"datacenters":[{"id":"1","priority":1},{"id":"3","priority":1,"satellite":1,"satellite_logs":6},{"id":"5","priority":1,"satellite":1}],"satellite_redundancy_mode":"two_satellite_safe"}]' SimElapsedTime="491.563" RealElapsedTime="47.677" RandomUnseed="33177" PeakMemory="562080" Ok="0" Runtime="47.82106161117554" FailReason="ProducedErrors"><DisableConnectionFailures_Tester Severity="30" Time="5.871937" DateTime="2026-07-08T21:00:37Z" Machine="0.0.0.0:0" ID="0000000000000000" ThreadID="9917251628720618996" LogGrou
p="default"/><QuietDatabaseStartFail Severity="30" Time="142.907222" DateTime="2026-07-08T21:00:50Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="MaxTLogPoppedVersionLag, DataDistributionActive" FailedAfter="77.8113" Timeout="1000" ThreadID="9917251628720618996" LogGroup="default"/><EnableConnectionFailures_Tester Severity="30" Time="150.360305" DateTime="2026-07-08
T21:00:51Z" Machine="0.0.0.0:0" ID="0000000000000000" ThreadID="9917251628720618996" LogGroup="default"/><ScheduleDisableConnectionFailures_Tester Severity="30" Time="150.360305" DateTime="2026-07-08T21:00:51Z" Machine="0.0.0.0:0" ID="0000000000000000" At="600.36" ThreadID="9917251628720618996" LogGroup="default"/><DisableConnectionFailures_ConsistencyCheck Severity="30" Time="284.629397" DateTime="2026-07-08T21:01:04Z" Machine="0.0.0.0:0" ID="0000000000000000" ThreadID="9917251628720618996" LogGroup="default"/><QuietDatabaseConsistencyCheckStartFail Seve
rity="30" Time="300.540598" DateTime="2026-07-08T21:01:06Z" Machine="[abcd::3:4:3:2]:1" ID="0000000000000000" Reasons="MaxTLogPoppedVersionLag, MaxStorageQueueSize" FailedAfter="14.8756" Timeout="1000" ThreadID="9917251628720618996" LogGroup="default" Roles="TS"/><QuietDatabaseConsistencyCheckStartFail Severity="30" Time="361.546944" DateTime="2026-07-08T21:01:11Z" Machin
e="[abcd::3:4:3:2]:1" ID="0000000000000000" Reasons="MaxTLogPoppedVersionLag, MaxStorageQueueSize, DataDistributionActive, StorageServersRecruiting" FailedAfter="75.882" Timeout="1000" ThreadID="9917251628720618996" LogGroup="default" Roles="TS"/><QuietDatabaseEndFail Severity="30" Time="485.056889" DateTime="2026-07-08T21:01:23Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="DataDistributionActive" FailedAfter="16.3579" Timeout="1000" ThreadID="9917251628720618996" LogGroup="default"/><UnseedMismatch Unseed="33177" ExpectedUnseed="59091" Severity="4
0"/><JoshuaLogTool ExitCode="0" StdOut="" StdErr="INFO:joshua.joshua_model:transaction_timeout: 512000 and transaction_retry_limit: 2000&#10;"/></Test>

Somehow this code is making simulation non-deterministic? Or is this an existing issue?

Running this test 10K times:

20260708-222803-praza-exc-fail-bug-7.3-backport-047bba1366fb compressed=True data_size=34977396 fail_fast=100 max_runs=10000 priority=100 sanity=False submitted=20260708-222803 timeout=5400 username=praza-exc-fail-bug-7.3-backport-047bba1366fb23c1fc31c07e47cc751564f6515b

Curious if I see any UnseedMismatch failures.

I do see one UnseedMismatch in this 10K run:

....
p" Line="659"/><BuggifySection File="/root/src/foundationdb/fdbclient/include/fdbclient/KeyBackedRangeMap.actor.h" Line="331"/><QuietDatabaseStartFail Severity="30" Time="26.025072" DateTime="2026-07-08T22:40:39Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="DataDistributionActive" FailedAfter="14.032" Timeout="4000" ThreadID="13500037276309414428" LogGroup="default"/><QuietDatabaseStartFail Severity="30" Time="27.047870" DateTime="2026-07-08T22:40:39Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="DataDistributionActive" FailedAfter="15.0548" Timeout="4000" ThreadID="13500037276309414428" LogGroup="default"/><QuietDatabaseStartFail Severity="30" Time="28.071194" DateTime="2026-07-08T22:40:39Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="DataDistributionActive" FailedAfter="16.0781" Timeout="4000" ThreadID="13500037276309414428" LogGroup="default"/><QuietDatabaseStartFail Severity="30" Time="29.094264" DateTime="2026-07-08T22:40:39Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="DataDistributionActive" FailedAfter="17.1012" Timeout="4000" ThreadID="13500037276309414428" LogGroup="default"/><QuietDatabaseStartFail Severity="30" Time="30.121247" DateTime="2026-07-08T22:40:39Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="DataDistributionActive" FailedAfter="18.1282" Timeout="4000" ThreadID="13500037276309414428" LogGroup="default"/><QuietDatabaseStartFail Severity="30" Time="31.143544" DateTime="2026-07-08T22:40:39Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="DataDistributionActive" FailedAfter="19.1505" Timeout="4000" ThreadID="13500037276309414428" LogGroup="default"/><QuietDatabaseStartFail Severity="30" Time="32.165799" DateTime="2026-07-08T22:40:39Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="DataDistributionActive" FailedAfter="20.1727" Timeout="4000" ThreadID="13500037276309414428" LogGroup="default"/><QuietDatabaseStartFail Severity="30" Time="33.188707" DateTime="2026-07-08T22:40:39Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="DataDistributionActive" FailedAfter="21.1957" Timeout="4000" ThreadID="13500037276309414428" LogGroup="default"/><QuietDatabaseStartFail Severity="30" Time="34.216618" DateTime="2026-07-08T22:40:39Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="DataDistributionActive" FailedAfter="22.2236" Timeout="4000" ThreadID="13500037276309414428" LogGroup="default"/><BuggifySection File="/root/src/foundationdb/fdbserver/storageserver.actor.cpp" Line="4431"/><BuggifySection File="/root/src/foundationdb/fdbserver/ConsistencyScan.actor.cpp" Line="111"/><UnseedMismatch Unseed="2008" ExpectedUnseed="53869" Severity="40"/><WarningLimitExceeded Severity="30" WarningCount="54"/><JoshuaLogTool ExitCode="0" StdOut="" StdErr="INFO:joshua.joshua_model:transaction_timeout: 512000 and transaction_retry_limit: 2000&#10;"/></Test>

I am going to run the same 10K test again without the changs in this PR. If that also shows the UnseedMismatch, it's highly likely that the testing non determinism exists as is in 7.3.

Update: the joshua job with the revert is 20260709-000115-praza-exc-fail-bug-7.3-backport-det-test-c92 compressed=True data_size=34975912 fail_fast=100 max_runs=10000 priority=100 sanity=False submitted=20260709-000115 timeout=5400 username=praza-exc-fail-bug-7.3-backport-det-test-c929a5f995043ed567d37d01bacb5072d52b27cf

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-cluster-tests-73 on Linux CentOS 7

  • Commit ID: 0a16f6a
  • Duration 2:18:21
  • Result: ❌ FAILED
  • Error: Error while executing command: if $fail_test; then exit 1; fi. Reason: exit status 1
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)
  • Cluster Test Logs zip file of the test logs (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-cluster-tests-73 on Linux CentOS 7

  • Commit ID: 0a16f6a
  • Duration 1:33:12
  • Result: ❌ FAILED
  • Error: Error while executing command: if $fail_test; then exit 1; fi. Reason: exit status 1
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)
  • Cluster Test Logs zip file of the test logs (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr on Linux RHEL 9

  • Commit ID: 0a16f6a
  • Duration 0:57:46
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-cluster-tests-73 on Linux CentOS 7

  • Commit ID: 0a16f6a
  • Duration 1:23:53
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)
  • Cluster Test Logs zip file of the test logs (available for 30 days)

@spraza

spraza commented Jul 9, 2026 •

Copy link
Copy Markdown
Collaborator Author

Result of foundationdb-pr on Linux RHEL 9

  • Commit ID: 0a16f6a
  • Duration 1:02:50
  • Result: ❌ FAILED
  • Error: Error while executing command: if python3 -m joshua.joshua list --stopped | grep ${ENSEMBLE_ID} | grep -q 'pass=10[0-9][0-9][0-9]'; then echo PASS; else echo FAIL && exit 1; fi. Reason: exit status 1
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

Very interesting:

<Test TestUID="f38d67f5-543c-481d-9896-b37ded30caf5" Statistics="FgAAACgAAAAFAAAADgAAAHkAAACBAAAAWQAAABkAAAAdAAAAHQAAAAoAAAAEAAAABQAAAA0AAAAQAAAAIAAAAAgAAAB7AAAAzAAAABAAAAABAAAAFAAAABoAAABlAAAAJwAAAAUAAAAHAAAANAAAADIAAACnAAAACgAAACsAAAA4AAAABwAAABQAAAAjAAAABAAAAAEAAAADAAAADgEAACIAAAAGAAAAHAAAADgAAAANAAAAUwAAACEAAAAXAAAAMwAAAAkAAAAnAAAABgAAACYAAAAJAAAABwAAABAAAAA0AAAAhAAAAC0AAAAdAAAAFAAAAEcAAAAKAAAAAQAAAAMAAAAUAAAADgAAAAMAAAA1AAAAAQAAAFQAAAAXAAAAZwAAAF0AAAAGAAAAHgAAAJsAAAA7AAAACQAAAEMAAAAdAAAADQAAAIAAAAAZAAAADQAAAB8AAAAlAAAAEQAAADAAAAAgAAAAOAAAAIEAAACfAAAA
BQAAAIgAAABLAAAARAAAACUAAABdAAAA+AAAAD0AAAAIAAAAhQAAAAwAAABGAAAAYAAAAA8AAAAKAAAALgAAAHwAAAArAAAAbQEAAKgAAAARAAAAFwAAAB4AAABgAAAAcQAAAA==" JoshuaSeed="2753987455935518957" WillRestart="0" NegativeTest="0" RandomSeed="1036680253" SourceVersion="0a16f6a4d0a6f019e5885b540a79061804aac16a" Time="1783544436" BuggifyEnabled="0" DeterminismCheck="1" FaultInjectionEnabled="1" TestFile="tests/rare/PerpetualWiggleStorageMigration.toml" ConfigString='new backup_worker_enabled:=1 blob_granules_enabled:=0 commit_proxies:=3 encryption_at_rest_mode=disabled grv_proxies:=1
 log_engine=ssd-2 log_spill:=2 logs:=3 perpetual_storage_wiggle:=1 perpetual_storage_wiggle_engine=none proxies:=4 triple remote_single resolvers:=2 storage_engine=ssd-2 storage_migration_type=disabled tenant_mode=disabled usable_regions:=2 regions=[{"datacenters":[{"id":"0","priority":2},{"id":"2","priority":1,"satellite":1},{"id":"4","priority":1,"satellite":1}],"satell
ite_redundancy_mode":"two_satellite_safe"},{"datacenters":[{"id":"1","priority":1},{"id":"3","priority":1,"satellite":1,"satellite_logs":6},{"id":"5","priority":1,"satellite":1}],"satellite_redundancy_mode":"two_satellite_safe"}]' SimElapsedTime="491.563" RealElapsedTime="47.677" RandomUnseed="33177" PeakMemory="562080" Ok="0" Runtime="47.82106161117554" FailReason="ProducedErrors"><DisableConnectionFailures_Tester Severity="30" Time="5.871937" DateTime="2026-07-08T21:00:37Z" Machine="0.0.0.0:0" ID="0000000000000000" ThreadID="9917251628720618996" LogGrou
p="default"/><QuietDatabaseStartFail Severity="30" Time="142.907222" DateTime="2026-07-08T21:00:50Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="MaxTLogPoppedVersionLag, DataDistributionActive" FailedAfter="77.8113" Timeout="1000" ThreadID="9917251628720618996" LogGroup="default"/><EnableConnectionFailures_Tester Severity="30" Time="150.360305" DateTime="2026-07-08
T21:00:51Z" Machine="0.0.0.0:0" ID="0000000000000000" ThreadID="9917251628720618996" LogGroup="default"/><ScheduleDisableConnectionFailures_Tester Severity="30" Time="150.360305" DateTime="2026-07-08T21:00:51Z" Machine="0.0.0.0:0" ID="0000000000000000" At="600.36" ThreadID="9917251628720618996" LogGroup="default"/><DisableConnectionFailures_ConsistencyCheck Severity="30" Time="284.629397" DateTime="2026-07-08T21:01:04Z" Machine="0.0.0.0:0" ID="0000000000000000" ThreadID="9917251628720618996" LogGroup="default"/><QuietDatabaseConsistencyCheckStartFail Seve
rity="30" Time="300.540598" DateTime="2026-07-08T21:01:06Z" Machine="[abcd::3:4:3:2]:1" ID="0000000000000000" Reasons="MaxTLogPoppedVersionLag, MaxStorageQueueSize" FailedAfter="14.8756" Timeout="1000" ThreadID="9917251628720618996" LogGroup="default" Roles="TS"/><QuietDatabaseConsistencyCheckStartFail Severity="30" Time="361.546944" DateTime="2026-07-08T21:01:11Z" Machin
e="[abcd::3:4:3:2]:1" ID="0000000000000000" Reasons="MaxTLogPoppedVersionLag, MaxStorageQueueSize, DataDistributionActive, StorageServersRecruiting" FailedAfter="75.882" Timeout="1000" ThreadID="9917251628720618996" LogGroup="default" Roles="TS"/><QuietDatabaseEndFail Severity="30" Time="485.056889" DateTime="2026-07-08T21:01:23Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="DataDistributionActive" FailedAfter="16.3579" Timeout="1000" ThreadID="9917251628720618996" LogGroup="default"/><UnseedMismatch Unseed="33177" ExpectedUnseed="59091" Severity="4
0"/><JoshuaLogTool ExitCode="0" StdOut="" StdErr="INFO:joshua.joshua_model:transaction_timeout: 512000 and transaction_retry_limit: 2000&#10;"/></Test>

Somehow this code is making simulation non-deterministic? Or is this an existing issue?

Running this test 10K times:
20260708-222803-praza-exc-fail-bug-7.3-backport-047bba1366fb compressed=True data_size=34977396 fail_fast=100 max_runs=10000 priority=100 sanity=False submitted=20260708-222803 timeout=5400 username=praza-exc-fail-bug-7.3-backport-047bba1366fb23c1fc31c07e47cc751564f6515b
Curious if I see any UnseedMismatch failures.

I do see one UnseedMismatch in this 10K run:

....
p" Line="659"/><BuggifySection File="/root/src/foundationdb/fdbclient/include/fdbclient/KeyBackedRangeMap.actor.h" Line="331"/><QuietDatabaseStartFail Severity="30" Time="26.025072" DateTime="2026-07-08T22:40:39Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="DataDistributionActive" FailedAfter="14.032" Timeout="4000" ThreadID="13500037276309414428" LogGroup="default"/><QuietDatabaseStartFail Severity="30" Time="27.047870" DateTime="2026-07-08T22:40:39Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="DataDistributionActive" FailedAfter="15.0548" Timeout="4000" ThreadID="13500037276309414428" LogGroup="default"/><QuietDatabaseStartFail Severity="30" Time="28.071194" DateTime="2026-07-08T22:40:39Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="DataDistributionActive" FailedAfter="16.0781" Timeout="4000" ThreadID="13500037276309414428" LogGroup="default"/><QuietDatabaseStartFail Severity="30" Time="29.094264" DateTime="2026-07-08T22:40:39Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="DataDistributionActive" FailedAfter="17.1012" Timeout="4000" ThreadID="13500037276309414428" LogGroup="default"/><QuietDatabaseStartFail Severity="30" Time="30.121247" DateTime="2026-07-08T22:40:39Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="DataDistributionActive" FailedAfter="18.1282" Timeout="4000" ThreadID="13500037276309414428" LogGroup="default"/><QuietDatabaseStartFail Severity="30" Time="31.143544" DateTime="2026-07-08T22:40:39Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="DataDistributionActive" FailedAfter="19.1505" Timeout="4000" ThreadID="13500037276309414428" LogGroup="default"/><QuietDatabaseStartFail Severity="30" Time="32.165799" DateTime="2026-07-08T22:40:39Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="DataDistributionActive" FailedAfter="20.1727" Timeout="4000" ThreadID="13500037276309414428" LogGroup="default"/><QuietDatabaseStartFail Severity="30" Time="33.188707" DateTime="2026-07-08T22:40:39Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="DataDistributionActive" FailedAfter="21.1957" Timeout="4000" ThreadID="13500037276309414428" LogGroup="default"/><QuietDatabaseStartFail Severity="30" Time="34.216618" DateTime="2026-07-08T22:40:39Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="DataDistributionActive" FailedAfter="22.2236" Timeout="4000" ThreadID="13500037276309414428" LogGroup="default"/><BuggifySection File="/root/src/foundationdb/fdbserver/storageserver.actor.cpp" Line="4431"/><BuggifySection File="/root/src/foundationdb/fdbserver/ConsistencyScan.actor.cpp" Line="111"/><UnseedMismatch Unseed="2008" ExpectedUnseed="53869" Severity="40"/><WarningLimitExceeded Severity="30" WarningCount="54"/><JoshuaLogTool ExitCode="0" StdOut="" StdErr="INFO:joshua.joshua_model:transaction_timeout: 512000 and transaction_retry_limit: 2000&#10;"/></Test>

I am going to run the same 10K test again without the changs in this PR. If that also shows the UnseedMismatch, it's highly likely that the testing non determinism exists as is in 7.3.

Update: the joshua job with the revert is 20260709-000115-praza-exc-fail-bug-7.3-backport-det-test-c92 compressed=True data_size=34975912 fail_fast=100 max_runs=10000 priority=100 sanity=False submitted=20260709-000115 timeout=5400 username=praza-exc-fail-bug-7.3-backport-det-test-c929a5f995043ed567d37d01bacb5072d52b27cf

Without this PR changes, did a larger run for the specific test. See results below. But basically it's showing that UnseedMismatch is present even without this PR. So I am concluding that this PR did not introduce it, looking at the code again also doesn't point to anything.

Going to merge this PR now.

$ j list --stopped | grep 20260709-171403-praza-exc-fail-bug-7.3-backport-det-test-c92
  20260709-171403-praza-exc-fail-bug-7.3-backport-det-test-c92 compressed=True data_size=34975817 duration=314049 ended=3212 fail=2 fail_fast=2 max_runs=200000 pass=3210 priority=100 remaining=0 runtime=0:04:48 sanity=False started=7535 stopped=20260709-171851 submitted=20260709-171403 timeout=5400 username=praza-exc-fail-bug-7.3-backport-det-test-c929a5f995043ed567d37d01bacb5072d52b27cf

$ j tail --xml --errors 20260709-171403-praza-exc-fail-bug-7.3-backport-det-test-c92
Results for test ensemble: 20260709-171403-praza-exc-fail-bug-7.3-backport-det-test-c92
<Trace><Test TestUID="5368de4c-a40b-46b6-b72b-ab35f125dba8" Statistics="hTsAAA==" JoshuaSeed="7647276319093022474" WillRestart="0" NegativeTest="0" RandomSeed="1755896769" SourceVersion="c929a5f995043ed567d37d01bacb5072d52b27cf" Time="1783617361" BuggifyEnabled="1" DeterminismCheck="0" FaultInjectionEnabled="1" TestFile="tests/rare/PerpetualWiggleStorageMigration.toml" ConfigString='new backup_worker_enabled:=0 blob_granules_enabled:=0 commit_proxies:=3 encryption_at_rest_mode=disabled grv_proxies:=3 log_engine=ssd-2 log_spill:=2 logs:=3 perpetual_storage_wiggle:=0 perpetual_storage_wiggle_engine=none proxies:=6 triple regions=[{"datacenters":[{"id":"0","priority":2},{"id":"2","priority":1,"satellite":1},{"id":"4","priority":1,"satellite":1,"satellite_logs":6}]}] remote_logs:=5 remote_single resolvers:=1 storage_engine=ssd-2 storage_migration_type=disabled tenant_mode=disabled usable_regions:=1' SimElapsedTime="436.693" RealElapsedTime="16.5418" RandomUnseed="75708" PeakMemory="312204" Ok="1" Runtime="16.67238473892212" TotalTestTime="15254" TestRunCount="234"><BuggifySection File="/root/src/foundationdb/flow/Knobs.cpp" Line="51"/><BuggifySection File="/root/src/foundationdb/flow/Knobs.cpp" Line="61"/><BuggifySection File="/root/src/foundationdb/flow/Knobs.cpp" Line="62"/><BuggifySection File="/root/src/foundationdb/flow/Knobs.cpp" Line="91"/><BuggifySection File="/root/src/foundationdb/flow/Knobs.cpp" Line="97"/><BuggifySection File="/root/src/foundationdb/flow/Knobs.cpp" Line="106"/><BuggifySection File="/root/src/foundationdb/flow/Knobs.cpp" Line="167"/><BuggifySection File="/root/src/foundationdb/flow/Knobs.cpp" Line="171"/><BuggifySection File="/root/src/foundationdb/flow/Knobs.cpp" Line="187"/><BuggifySection File="/root/src/foundationdb/flow/Knobs.cpp" Line="316"/><BuggifySection File="/root/src/foundationdb/flow/Knobs.cpp" Line="326"/><BuggifySection File="/root/src/foundationdb/flow/Knobs.cpp" Line="328"/><BuggifySection File="/root/src/foundationdb/fdbclient/ClientKnobs.cpp" Line="66"/><BuggifySection File="/root/src/foundationdb/fdbclient/ClientKnobs.cpp" Line="89"/><BuggifySection File="/root/src/foundationdb/fdbclient/ClientKnobs.cpp" Line="131"/><BuggifySection File="/root/src/foundationdb/fdbclient/ClientKnobs.cpp" Line="279"/><BuggifySection File="/root/src/foundationdb/fdbclient/ClientKnobs.cpp" Line="298"/><BuggifySection File="/root/src/foundationdb/fdbclient/ClientKnobs.cpp" Line="302"/><BuggifySection File="/root/src/foundationdb/fdbclient/ClientKnobs.cpp" Line="328"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="44"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="86"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="100"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="119"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="129"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="137"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="144"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="180"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="216"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="316"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="330"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="338"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="343"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="345"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="354"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="357"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="381"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="382"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="386"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="446"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="447"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="451"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="516"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="571"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="673"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="674"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="679"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="686"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="701"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="765"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="778"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="779"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="822"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="833"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="837"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="897"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="939"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="947"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="970"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="978"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1066"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1081"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1082"/><Bu
ggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1086"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1124"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1157"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1159"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1162"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1165"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1167"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1174"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1176"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1179"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1180"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1185"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1188"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1191"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1215"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1254"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1261"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1282"/><BuggifySection File="/root/src/foundationdb/fdbrpc/AsyncFileCached.actor.cpp" Line="62"/><BuggifySection File="/root/src/foundationdb/fdbrpc/sim2.actor.cpp" Line="2974"/><BuggifySection File="/root/src/foundationdb/fdbclient/NativeAPI.actor.cpp" Line="1927"/><BuggifySection File="/root/src/foundationdb/fdbserver/CoordinatedState.actor.cpp" Line="39"/><BuggifySection File="/root/src/foundationdb/fdbserver/DiskQueue.actor.cpp" Line="374"/><BuggifySection File="/root/src/foundationdb/fdbserver/CoordinatedState.actor.cpp" Line="53"/><DisableConnectionFailures_Tester Severity="30" Time="7.052062" DateTime="2026-07-09T17:16:02Z" Machine="0.0.0.0:0" ID="0000000000000000" ThreadID="15477795530036633056" LogGroup="default"/><BuggifySection File="/root/src/foundationdb/fdbserver/TLogServer.actor.cpp" Line="1500"/><BuggifySection File="/root/src/foundationdb/fdbserver/LogSystemDiskQueueAdapter.actor.cpp" Line="101"/><BuggifySection File="/root/src/foundationdb/fdbserver/TLogServer.actor.cpp" Line="2568"/><EnableConnectionFailures_Tester Severity="30" Time="61.676202" DateTime="2026-07-09T17:16:04Z" Machine="0.0.0.0:0" ID="0000000000000000" ThreadID="15477795530036633056" LogGroup="default"/><ScheduleDisableConnectionFailures_Tester Severity="30" Time="61.676202" DateTime="2026-07-09T17:16:04Z" Machine="0.0.0.0:0" ID="0000000000000000" At="511.676" ThreadID="15477795530036633056" LogGroup="default"/><BuggifySection File="/root/src/foundationdb/fdbserver/storageserver.actor.cpp" Line="4431"/><BuggifySection File="/root/src/foundationdb/fdbserver/tester.actor.cpp" Line="2007"/><DisableConnectionFailures_ConsistencyCheck Severity="30" Time="190.264242" DateTime="2026-07-09T17:16:09Z" Machine="0.0.0.0:0" ID="0000000000000000" ThreadID="15477795530036633056" LogGroup="default"/><QuietDatabaseConsistencyCheckStartFail Severity="30" Time="208.644377" DateTime="2026-07-09T17:16:10Z" Machine="3.4.3.4:1" ID="0000000000000000" Reasons="MaxTLogPoppedVersionLag" FailedAfter="17.3536" Timeout="4000" ThreadID="15477795530036633056" LogGroup="default" Roles="TS"/><QuietDatabaseConsistencyCheckStartFail Severity="30" Time="269.657520" DateTime="2026-07-09T17:16:12Z" Machine="3.4.3.4:1" ID="0000000000000000" Reasons="MaxTLogPoppedVersionLag, DataDistributionActive, StorageServersRecruiting" FailedAfter="78.3667" Timeout="4000" ThreadID="15477795530036633056" LogGroup="default" Roles="TS"/><JoshuaLogTool IsNegative="False" IsOk="True" HasError="False" JoshuaLogToolIgnored="True"/><SimFDB TestDir="tmp/5368de4c-a40b-46b6-b72b-ab35f125dba8"><Directory Name="7e78e5350be8cae937d69d0b51cb8d99"/><Directory Name="804552c84f60b0561527abeaee1778b8"/><Directory Name="6318d6c7f6201ba8d3a5c2188066c0ce"/><Directory Name="5942647391c35bd4d15f9318b1097223"/><Directory Name="da34c7ca1477b8eef7d316c94c669c5b"/><Directory Name="2ed834cd6327cca512c3f793ea0ef7b3"/><Directory Name="2d4ea810a2e6a38399f083a8ee849f33"/><Directory Name="db1b438054a82ef8c94e3c48575f9c44"/><Directory Name="2b3914605e94c82966a44640599647c6"/><Directory Name="d63ec42c4e4db6a8d62303dbc3f36a4d"/><Directory Name="b64a26ce791b1232fd8045093ae8324d"/><Directory Name="3418882fcd1d57326823aafc177807a1"/><Directory Name="306adc9f37fc3d6e1559ec47d94c25fd"/><Directory Name="22e44c19de9939078cf7f3703dd6c510"/><Directory Name="213f239d119b406779243c8dc86f9bfe"/><Directory Name="064cd9f921c88308f13f302778d2e4d0"/><Directory Name="afc90547c45f6657e10fba3de273b9a6"/><Directory Name="fac405d6538577d68121422b0e6a570b"/><Directory Name="35392d9ea4e079f28e38aa8e3ef1ea44"/><Directory Name="be1629560f829e2836f4ac6f0830e168"/><Directory Name="a7da810ff69730a5858124db4f2e443a"/><Directory Name="9b002c8f8e5d9ab007cd2f39a1ae8d2c"/><Directory Name="9b2569bfc3c1a5e8882bd123bb88f79e"/><Directory Name="673303bbcdb0e3d5f0f2186520e13fa8"/><Directory Name="694bd40f290bb18491ec10381f2cfafd"/><Directory Name="b3a3d253cba3e48e531848605bf9d447"/><Directory Name="fb5b983b1d98e701e434b4ae49af5727"/><Directory Name="b13daf4d8f5174cf9fecad19aefa2207"/><Directory Name="a6b8b7450cf29ca50daaf92f0a9e4ea5"/><Directory Name="b044929b75f80511699c8cc77bfcc994"/><Directory Name="8abe7f157bb0e9e96f17dd02d7d2fa5c"/><Directory Name="c94cfd8fe59ffcf62727394556a3212e"/><Directory Name="1a40dc794850cf75a4c811cb3b38b318"/><Directory Name="a038d7caf7bebed777ca0ebf373760b6"/><Directory Name="bb69ef2aee8d8fca8e90e1c80e39b99a"/><Directory Name="bcce5df601e15b36513f9adef18b4c6d"/><Directory Name="9e72f94e7108f42b73d963f91fd1f94b"/><Directory Name="41c0343f03b22fa74fcebcb8b60a02c9"/><Directory Name="1160224f03fc1e9786461ae16ec5314b"/><Directory Name="5e4c48c6b24edb87646e5042ad3991f2"/><Directory Name="b46246c91a08a2d6fb2db5fddabf36a8"/><Directory Name="28bd6bb9d078a948dd59821cd9b69add"/><Directory Name="c7defe4a903f1c8f8f3ae05db95b6aeb"/><Directory Name="170cc540d1907406d55bf98759c95ca1"/><Directory Name="c9c76385f582ad5da56813e04bcbe5cb"/><Directory Name="084951c5f6340b31dc209d7afb816daa"/><Directory Name="d558cdf933e3e819ac076e4b7c39d81a"/><Directory Name="450b116bc620bd29e86ad9b10984a283"/><Directory Name="d55e85241955287ffdfab3f50ef11fcd"/><Directory Name="c17ada0590170445c116bac9ea64bc19"/><Directory Name="a39080b7e1a1d67174fcfac2b8998688"/><Directory Name="32d85213f8cbbb5def17b4c417ce4e33"/><Directory Name="9cc7fcd0db8cf18155ae38123c87cc2d"/><Directory Name="d9c95d0e6f4fc329ceb7fcc7282e029c"/><Directory Name="4b53cea31ad222b173d41f2d02d6e72c"/><Directory Name="fb1b173b3ce9e9d529dcb5ddcd00e651"/><Directory Name="c990a448b1739181ea69c9f68c480225"/><Directory Name="3d396814684f133d7fbff9f8a9b4a1f5"/><Directory Name="2b302740575f161b4626f74530527022"/><Directory Name="4c9887b5bd63f155d237cfb50aa6e49b"/><Directory Name="fadd3ee2a90148d96b671057037520cd"/><Directory Name="a70f2ba704274cd0aa5797a6fabe9c51"/><Directory Name="eac8f4bd76b38f4014c432fbf860e952"/><Directory Name="b05020ab176095465e6f4a097bea04f4"/><Directory Name="3f8e88d70db5f69a4543b27a2ab8a5e7"/><Directory Name="5ffcd6fab10426e4a7a391390bec7141"/><Directory Name="94037878f267adb5160b5c0713635581"/><Directory Name="e2feba541c109817fabcac6540a56b44"/><Directory Name="396bf388384e70f231aedd6fff37401b"/><Directory Name="19a6fbbfb7b5bebece7094f50e64d649"/><Directory Name="1d1ae357b82fbd5dea34f5c67f77e077"/><Directory Name="b3a3428c2db61a5b37e023ab13c7d67e"/><Directory Name="b9453c1a0fb18966e93346813d217aa8"/><Directory Name="7b0cf5ccf6bcd774b02481460e2a1ff4"/><Directory Name="c4cdb1aadbdb555681f44256f2c3cc42"/><Directory Name="8d57ae3c1ea19b27a2e016658b8e65eb"/><Directory Name="1c2de510bad081e9fc4e08b53f87f2b9"/><Directory Name="625e0eda9160e955089b7ee6faf4382a"/><Directory Name="01cda1b94554aa02deb72e7db465371a"/><Directory Name="0c4898b2cd2cb8f0dfe40d4739a9fe13"/><Directory Name="1d776a97efee241d7c30718db545adca"/><Directory Name="937e986b65a3b3db45ac56099a314c7b"/><Directory Name="0b0564f7b45151fbe7d276598b4b1cb8"/><Directory Name="107d6c92fd56f77a4d3fb0c5170f6dc6"/><Directory Name="9c79ff5ad4eaa86d3189b08ec7c5575f"/><Directory Name="9a91acadcb034c5e9d9bce2bfd17a584"/><Directory Name="ae3c0c3873c346762aeb1e76dc0d600f"/><Directory Name="128b14eefa70a7824a0c44a9192c9505"/><Directory Name="51a2d0209b35ebfcd0bdd2bebb1eaad0"/><Directory Name="e19d16a653bae00d339ec309db5e34fe"/><Directory Name="21097ef6d887737a779d5855050c104c"/><Directory Name="aeb596d7aa495c551434f6679baaf9ba"/><Directory Name="e9e69dfbd4cacb2bb9ad934370f71f27"/><Directory Name="711670812647fd8a5b3ea42c1578ad4b"/><Directory Name="74bfb216b31ef1293a3e3ed433555ac3"/><Directory Name="3138abe3b68d388300b05c90d54cdddc"/><Directory Name="60f0ca4012e7ad487d862acbcce1b934"/><Directory Name="de457cd0393086e4be0d3331c924e89f"/><Directory Name="ffcac8e05172bfcf9697bb328efc06ca"/><Directory Name="fd99c75a56dd5fa0eae768205304d42a"/><Directory Name="469b8de5906dea2cc8fa85b6844cb22b"/><Directory Name="39c64f8937e7f62a1af23790a91d3791"/><Directory Name="1e491e102dffdcaf37c1244cd75899d6"/><Directory Name="73e8a0cfa043b2bfbd9a9eb2a705ea1a"/><Directory Name="b00b42950a05e15731df6e27da495cd6"/><Directory Name="e2373515fc6678955339990aa5a72417"/><Directory Name="1e7e68ae64c6b291951b7f723913303a"/><Directory Name="51d2a3a57236f26b4b781495b1a5ff2d"/><Directory Name="7b0f15851494547c098e20604aed66ed"/><Directory Name="0c48df552f08d3fb1a0d4348b02112fa"/><Directory Name="48c11455fcb86fbd1ce0c1f19e23e28b"/><Directory Name="4bf75f0c9002ebac0d792652072e119d"/><Directory Name="23df38f5a1397ee12e92ffcd4b2d0545"/><Directory Name="4d41f66eaca68589665a89f0bf132387"/><Directory Name="874ae3baa9517e18bc3bb2d1d4f4ba8f"/><Directory Name="37e06840cd36e851c81d6ce4d67f2646"/><Directory Name="0756c1cc1d9d23e2bfd1dd16fd7e7069"/><Directory Name="6e36bd200bb6573a02b754ad00950294"/></SimFDB></Test>
<Test TestUID="5368de4c-a40b-46b6-b72b-ab35f125dba8" Statistics="ljsAAA==" JoshuaSeed="7647276319093022474" WillRestart="0" NegativeTest="0" RandomSeed="1755896769" SourceVersion="c929a5f995043ed567d37d01bacb5072d52b27cf" Time="1783617379" BuggifyEnabled="1" DeterminismCheck="1" FaultInjectionEnabled="1" TestFile="tests/rare/PerpetualWiggleStorageMigration.toml" ConfigString='new backup_worker_enabled:=0 blob_granules_enabled:=0 commit_proxies:=3 encryption_at_rest_mode=disabled grv_proxies:=3 log_engine=ssd-2 log_spill:=2 logs:=3 perpetual_storage_wiggle:=0 perpetual_storage_wiggle_engine=none proxies:=6 triple regions=[{"datacenters":[{"id":"0","priority":2},{"id":"2","priority":1,"satellite":1},{"id":"4","priority":1,"satellite":1,"satellite_logs":6}]}] remote_logs:=5 remote_single resolvers:=1 storage_engine=ssd-2 storage_migration_type=disabled tenant_mode=disabled usable_regions:=1' SimElapsedTime="431.358" RealElapsedTime="17.498" RandomUnseed="83761" PeakMemory="312212" Ok="0" Runtime="17.630407571792603" FailReason="ProducedErrors"><BuggifySection File="/root/src/foundationdb/flow/Knobs.cpp" Line="51"/><BuggifySection File="/root/src/foundationdb/flow/Knobs.cpp" Line="61"/><BuggifySection File="/root/src/foundationdb/flow/Knobs.cpp" Line="62"/><BuggifySection File="/root/src/foundationdb/flow/Knobs.cpp" Line="91"/><BuggifySection File="/root/src/foundationdb/flow/Knobs.cpp" Line="97"/><BuggifySection File="/root/src/foundationdb/flow/Knobs.cpp" Line="106"/><BuggifySection File="/root/src/foundationdb/flow/Knobs.cpp" Line="167"/><BuggifySection File="/root/src/foundationdb/flow/Knobs.cpp" Line="171"/><BuggifySection File="/root/src/foundationdb/flow/Knobs.cpp" Line="187"/><BuggifySection File="/root/src/foundationdb/flow/Knobs.cpp" Line="316"/><BuggifySection File="/root/src/foundationdb/flow/Knobs.cpp" Line="326"/><BuggifySection File="/root/src/foundationdb/flow/Knobs.cpp" Line="328"/><BuggifySection File="/root/src/foundationdb/fdbclient/ClientKnobs.cpp" Line="66"/><BuggifySection File="/root/src/foundat
iondb/fdbclient/ClientKnobs.cpp" Line="89"/><BuggifySection File="/root/src/foundationdb/fdbclient/ClientKnobs.cpp" Line="131"/><BuggifySection File="/root/src/foundationdb/fdbclient/ClientKnobs.cpp" Line="279"/><BuggifySection File="/root/src/foundationdb/fdbclient/ClientKnobs.cpp" Line="298"/><BuggifySection File="/root/src/foundationdb/fdbclient/ClientKnobs.cpp" Line="302"/><BuggifySection File="/root/src/foundationdb/fdbclient/ClientKnobs.cpp" Line="328"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="44"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="86"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="100"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="119"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="129"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="137"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="144"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="180"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="216"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="316"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="330"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="338"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="343"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="345"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="354"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="357"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="381"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="382"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="386"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="446"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="447"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="451"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="516"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="571"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="673"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="674"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="679"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="686"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="701"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="765"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="778"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="779"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="822"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="833"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="837"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="897"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="939"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="947"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="970"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="978"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1066"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1081"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1082"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1086"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1124"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1157"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1159"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1162"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1165"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1167"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1174"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1176"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1179"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1180"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1185"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1188"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1191"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1215"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1254"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1261"/><BuggifySection File="/root/src/foundationdb/fdbclient/ServerKnobs.cpp" Line="1282"/><BuggifySection File="/root/src/foundationdb/fdbrpc/AsyncFileCached.actor.cpp" Line="62"/><BuggifySection File="/root/src/foundationdb/fdbrpc/sim2.actor.cpp" Line="2974"/><BuggifySection File="/root/src/foundationdb/fdbclient/NativeAPI.actor.cpp" Line="1927"/><BuggifySection File="/root/src/foundationdb/fdbserver/CoordinatedState.actor.cpp" Line="39"/><BuggifySection File="/root/src/foundationdb/fdbserver/DiskQueue.actor.cpp" Line="374"/><BuggifySection File="/root/src/foundationdb/fdbserver/CoordinatedState.actor.cpp" Line="53"/><DisableConnectionFailures_Tester Severity="30" Time="7.052062" DateTime="2026-07-09T17:16:19Z" Machine="0.0.0.0:0" ID="0000000000000000" ThreadID="15477795530036633056" LogGroup="default"/><BuggifySection File="/root/src/foundationdb/fdbserver/TLogServer.actor.cpp" Line="1500"/><BuggifySection File="/root/src/foundationdb/fdbserver/LogSystemDiskQueueAdapter.actor.cpp" Line="101"/><BuggifySection File="/root/src/foundationdb/fdbserver/TLogServer.actor.cpp" Line="2568"/><EnableConnectionFailures_Tester Severity="30" Time="61.676202" DateTime="2026-07-09T17:16:22Z" Machine="0.0.0.0:0" ID="0000000000000000" ThreadID="15477795530036633056" LogGroup="default"/><ScheduleDisableConnectionFailures_Tester Severity="30" Time="61.676202" DateTime="2026-07-09T17:16:22Z" Machine="0.0.0.0:0" ID="0000000000000000" At="511.676" ThreadID="15477795530036633056" LogGroup="default"/><BuggifySection File="/root/src/foundationdb/fdbserver/storageserver.actor.cpp" Line="4431"/><BuggifySection File="/root/src/foundationdb/fdbserver/tester.actor.cpp" Line="2007"/><DisableConnectionFailures_ConsistencyCheck Severity="30" Time="190.264242" DateTime="2026-07-09T17:16:27Z" Machine="0.0.0.0:0" ID="0000000000000000" ThreadID="15477795530036633056" LogGroup="default"/><QuietDatabaseConsistencyCheckStartFail Severity="30" Time="208.644377" DateTime="2026-07-09T17:16:28Z" Machine="3.4.3.4:1" ID="0000000000000000" Reasons="MaxTLogPoppedVersionLag" FailedAfter="17.3536" Timeout="4000" ThreadID="15477795530036633056" LogGroup="default" Roles="TS"/><QuietDatabaseConsistencyCheckStartFail Severity="30" Time="269.657520" DateTime="2026-07-09T17:16:30Z" Machine="3.4.3.4:1" ID="0000000000000000" Reasons="MaxTLogPoppedVersionLag, DataDistributionActive, StorageServersRecruiting" FailedAfter="78.3667" Timeout="4000" ThreadID="15477795530036633056" LogGroup="default" Roles="TS"/><UnseedMismatch Unseed="83761" ExpectedUnseed="75708" Severity="40"/><JoshuaLogTool ExitCode="0" StdOut="" StdErr="INFO:joshua.joshua_model:transaction_timeout: 512000 and transaction_retry_limit: 2000&#10;"/></Test>
Ensemble stopped
</Trace>⏎

@spraza
spraza merged commit 5e99cf3 into apple:release-7.3 Jul 9, 2026
1 check passed
spraza added a commit that referenced this pull request Aug 17, 2026
In removeKeysFromFailedServer, the writes that unassign a dropped shard
from the dest servers (serverKeysFalse) and the writes that reassign it
to the new team as an empty range were pushed into a single actors vector
and awaited together. krmSetRangeCoalescing performs a read-modify-write
on the serverKeys map, so when a server appears in both the dest set and
the new team, running the two batches concurrently lets the coalescing
reads observe stale state and produce an incorrect serverKeys assignment.

Await the unassign batch first, then run the empty-range assignment in a
separate batch, ensuring the serverKey map assignment is correct.

Ported from upstream/main PR #13645 (8bd7e44).
Conflicts resolved in: fdbserver/MoveKeys.actor.cpp (release-7.4 still uses
the wait()/actor-compiler style rather than main's co_await; shardId needed
to become state since it now crosses the new wait() boundary). Same
resolution as the release-7.3 backport, PR #13662.

Co-authored-by: Michael Stack <saintstack@users.noreply.github.com>
Co-authored-by: Pierce Lopez <pierce.lopez@apple.com>
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.

4 participants