Archived
Fix sampled monitoring races in isolated recovery infrastructure
This commit is contained in:
1 parent
7f53f1b422
commit
f9eeb1262f
9 files changed
+626
No files matched your search
@@ -0,0 +1,10 @@
|
||||
test_coordinator_repolls_fault_with_active_workers_without_killing_them (__main__.InfrastructureTests) ... ok
|
||||
test_cumulative_cpu_counts_incident_once_and_real_caps_stop (__main__.InfrastructureTests) ... ok
|
||||
test_live_guard_monitor_exception_does_not_kill_child (__main__.InfrastructureTests) ... ok
|
||||
test_old_tmp_replace_race_reproduced_new_scan_survives (__main__.InfrastructureTests) ... ok
|
||||
test_wall_cap_still_stops_with_monitor_faults (__main__.InfrastructureTests) ... ok
|
||||
|
||||
----------------------------------------------------------------------
|
||||
Ran 5 tests in 0.315s
|
||||
|
||||
OK
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"status": "PASS_SYNTHETIC_INFRASTRUCTURE_FIX",
|
||||
"tests": 5,
|
||||
"passed": 5,
|
||||
"source_sha256": {
|
||||
"tools/s2_recovery_monitoring.py": "442c2a9c75e8c00b30a8f2e91cb52d87c466b19a80aea9128b10c021e61b922e",
|
||||
"tools/s2_recovery_supervisor.py": "f563ca3c2665f5baf0c04f296616e4640423a59b815fbb00479af0f29e57a919",
|
||||
"tools/s2_recovery_gpu_supervisor.py": "689c0f3179e4fcd362e546d90214829a9e4f8739abdbdf74b560763e5a392f15",
|
||||
"tools/run_s2_recovery_preparation.py": "c135a8f718468b5b1286924d45b83597bf6cf8785af53c70c53fc074787730f1",
|
||||
"tools/test_s2_recovery_infrastructure.py": "3263b2c143d1bac908093acff15a77ffe5914edd40654297b69e8ad47e2fc829"
|
||||
},
|
||||
"original_worker_and_dependencies_pins_intact": true,
|
||||
"real_recovery_started": false,
|
||||
"initial_test_failure": "Coordinator fixture omitted contract.json; 4 checks passed, fixture corrected, final 5/5 PASS. Initial log retained.",
|
||||
"final_small_change": "Preserve an already-recorded real global budget stop instead of replacing its reason with subsequent externally killed worker status.",
|
||||
"test_log_sha256": "7e657ff3c93e2b206204635e4e0197136196f1ebe9c8a69c962e5027072838f7",
|
||||
"ruling": "1794689807.792819"
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
test_coordinator_repolls_fault_with_active_workers_without_killing_them (__main__.InfrastructureTests) ... ERROR
|
||||
test_cumulative_cpu_counts_incident_once_and_real_caps_stop (__main__.InfrastructureTests) ... ok
|
||||
test_live_guard_monitor_exception_does_not_kill_child (__main__.InfrastructureTests) ... ok
|
||||
test_old_tmp_replace_race_reproduced_new_scan_survives (__main__.InfrastructureTests) ... ok
|
||||
test_wall_cap_still_stops_with_monitor_faults (__main__.InfrastructureTests) ... ok
|
||||
|
||||
======================================================================
|
||||
ERROR: test_coordinator_repolls_fault_with_active_workers_without_killing_them (__main__.InfrastructureTests)
|
||||
----------------------------------------------------------------------
|
||||
Traceback (most recent call last):
|
||||
File "/home/frank14f/optane/MeltMind/tools/test_s2_recovery_infrastructure.py", line 81, in test_coordinator_repolls_fault_with_active_workers_without_killing_them
|
||||
coordinator.run(root)
|
||||
File "/home/frank14f/optane/MeltMind/tools/run_s2_recovery_preparation.py", line 40, in run
|
||||
fcntl.flock(lock,fcntl.LOCK_EX|fcntl.LOCK_NB);return run_locked(root)
|
||||
File "/home/frank14f/optane/MeltMind/tools/run_s2_recovery_preparation.py", line 49, in run_locked
|
||||
save(root/'batch-started.json',dict(started_unix=time.time(),pid=os.getpid(),contract_sha256=sha(root/'contract.json')))
|
||||
File "/home/frank14f/optane/MeltMind/tools/freeze_g1_components.py", line 35, in sha
|
||||
with Path(path).open('rb') as f:
|
||||
File "/home/frank14f/anaconda3/envs/pycuda_3_10/lib/python3.10/pathlib.py", line 1119, in open
|
||||
return self._accessor.open(self, mode, buffering, encoding, errors,
|
||||
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpfzpikjip/contract.json'
|
||||
|
||||
----------------------------------------------------------------------
|
||||
Ran 5 tests in 0.400s
|
||||
|
||||
FAILED (errors=1)
|
||||
Reference in new issue
Block a user