TEST_HEARTBEAT {"epoch": 1784338796.3573248, "event": "START", "pid": 554, "test_id": "tests.test_r10r3r2.R10R3R2Tests.test_sacrificial_worker_uses_minimal_real_process_tree_probe"}
test_sacrificial_worker_uses_minimal_real_process_tree_probe (tests.test_r10r3r2.R10R3R2Tests.test_sacrificial_worker_uses_minimal_real_process_tree_probe) ... TEST_HEARTBEAT {"epoch": 1784338796.8590531, "event": "PULSE", "pid": 554, "test_id": "tests.test_r10r3r2.R10R3R2Tests.test_sacrificial_worker_uses_minimal_real_process_tree_probe"}
TEST_HEARTBEAT {"epoch": 1784338797.3593323, "event": "PULSE", "pid": 554, "test_id": "tests.test_r10r3r2.R10R3R2Tests.test_sacrificial_worker_uses_minimal_real_process_tree_probe"}
TEST_HEARTBEAT {"epoch": 1784338797.8596227, "event": "PULSE", "pid": 554, "test_id": "tests.test_r10r3r2.R10R3R2Tests.test_sacrificial_worker_uses_minimal_real_process_tree_probe"}
TEST_HEARTBEAT {"epoch": 1784338798.3598924, "event": "PULSE", "pid": 554, "test_id": "tests.test_r10r3r2.R10R3R2Tests.test_sacrificial_worker_uses_minimal_real_process_tree_probe"}
TEST_HEARTBEAT {"epoch": 1784338798.8601933, "event": "PULSE", "pid": 554, "test_id": "tests.test_r10r3r2.R10R3R2Tests.test_sacrificial_worker_uses_minimal_real_process_tree_probe"}
TEST_HEARTBEAT {"epoch": 1784338799.3604286, "event": "PULSE", "pid": 554, "test_id": "tests.test_r10r3r2.R10R3R2Tests.test_sacrificial_worker_uses_minimal_real_process_tree_probe"}
TEST_HEARTBEAT {"epoch": 1784338799.8606749, "event": "PULSE", "pid": 554, "test_id": "tests.test_r10r3r2.R10R3R2Tests.test_sacrificial_worker_uses_minimal_real_process_tree_probe"}
TEST_HEARTBEAT {"epoch": 1784338800.3609047, "event": "PULSE", "pid": 554, "test_id": "tests.test_r10r3r2.R10R3R2Tests.test_sacrificial_worker_uses_minimal_real_process_tree_probe"}
TEST_HEARTBEAT {"epoch": 1784338800.8613691, "event": "PULSE", "pid": 554, "test_id": "tests.test_r10r3r2.R10R3R2Tests.test_sacrificial_worker_uses_minimal_real_process_tree_probe"}
TEST_HEARTBEAT {"epoch": 1784338801.3619812, "event": "PULSE", "pid": 554, "test_id": "tests.test_r10r3r2.R10R3R2Tests.test_sacrificial_worker_uses_minimal_real_process_tree_probe"}
FAIL
TEST_HEARTBEAT {"epoch": 1784338801.3835917, "event": "END", "pid": 554, "status": "FAIL", "test_id": "tests.test_r10r3r2.R10R3R2Tests.test_sacrificial_worker_uses_minimal_real_process_tree_probe"}

======================================================================
FAIL: test_sacrificial_worker_uses_minimal_real_process_tree_probe (tests.test_r10r3r2.R10R3R2Tests.test_sacrificial_worker_uses_minimal_real_process_tree_probe)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/workspace/scratch/18d6706012ab/deliverables/AGENT_RELIABILITY_LIVE_DEMO_SUBMISSION_R1_20260718/agent-reliability-demo/tests/test_r10r3r2.py", line 331, in test_sacrificial_worker_uses_minimal_real_process_tree_probe
    self.assertEqual(record["exit_code"], 0, record)
AssertionError: 2 != 0 : {'command': ['/opt/codex/runtimes/codex-primary-runtime/dependencies/python/bin/python', '/workspace/scratch/18d6706012ab/deliverables/AGENT_RELIABILITY_LIVE_DEMO_SUBMISSION_R1_20260718/agent-reliability-demo/scripts/r8_sacrificial_worker.py', '--test-id', 'R4-RG-05', '--iteration', '1', '--mode', 'pass'], 'exit_code': 2, 'elapsed_ms': 4984.119, 'stdout': '{"iteration": 1, "result": {"implementation": "minimal_process_tree_probe", "latency_ms": 2991.897, "observed": {"alive_after_timeout": [], "elapsed_ms": 2983.994, "orphan_process_count": 0, "output_drain_threads_stopped": true, "ready": true, "ready_budget_source": "run_scoped_phase_calibration", "ready_timeout_seconds": 2.0, "timed_out": true, "tracked_descendant_count": 3, "tracker_thread_stopped": true, "zombie_process_count": 2}, "passed": false, "test_id": "R4-RG-05"}}\n', 'stderr': '', 'stdout_total_bytes': 480, 'stderr_total_bytes': 0, 'stdout_truncated': False, 'stderr_truncated': False, 'output_limit_bytes': 262144, 'output_drain_threads_stopped': True, 'output_drain_errors': [], 'pid': 559, 'total_timeout_seconds': 5.1, 'bootstrap_timeout_seconds': None, 'ready_timeout_seconds': None, 'execution_timeout_seconds': None, 'timed_out': False, 'total_deadline_exceeded': False, 'deadline_overrun_ms': 0.0, 'orphan_process_count': 0, 'tracked_descendant_count': 5, 'tracked_descendants': [{'pid': 416356, 'started': '3554476', 'state': 'R'}, {'pid': 416360, 'started': '3554530', 'state': 'R'}, {'pid': 416380, 'started': '3554560', 'state': 'R'}, {'pid': 416383, 'started': '3554588', 'state': 'R'}, {'pid': 416421, 'started': '3554829', 'state': 'R'}], 'surviving_descendant_pids': [], 'zombie_process_count': 2, 'zombies_before_reap_count': 2, 'reaped_descendant_count': 0, 'tracker_thread_stopped': True, 'linux_subreaper_enabled': True, 'bootstrap_handshake': {'status': 'NOT_REQUESTED', 'reason': 'not_requested', 'elapsed_ms': 0.0, 'payload': None, 'bootstrapped': None}, 'ready_handshake': {'status': 'NOT_REQUESTED', 'reason': 'not_requested', 'elapsed_ms': 0.0, 'payload': None, 'ready': None}, 'stage_timings': {'python_start_to_bootstrapped_ms': None, 'bootstrapped_to_ready_ms': None, 'bootstrapped_event_epoch': None, 'ready_event_epoch': None}, 'started_epoch': 1784338796.3926394, 'ended_epoch': 1784338801.376841, 'platform': 'Linux-6.12.47-x86_64-with-glibc2.39', 'root_process_identity': {'pid': 559, 'started': 'popen-1784338796.3926394', 'state': 'RUNNING'}, 'process_tree_strategy': 'normal_exit_with_marker_and_identity_verification', 'windows_job_assigned': False, 'process_marker': 'f62ce3f1cf629e3f507f0f8b14973062d88c3e4b8911934bea31053c7b2de6d7'}

----------------------------------------------------------------------
Ran 1 test in 5.026s

FAILED (failures=1)
TEST_WORKER_REPORT {"error_count": 0, "failed_test_ids": ["tests.test_r10r3r2.R10R3R2Tests.test_sacrificial_worker_uses_minimal_real_process_tree_probe"], "failure_count": 1, "group": "isolated_058", "last_completed": "tests.test_r10r3r2.R10R3R2Tests.test_sacrificial_worker_uses_minimal_real_process_tree_probe", "last_started": "tests.test_r10r3r2.R10R3R2Tests.test_sacrificial_worker_uses_minimal_real_process_tree_probe", "passed": false, "tests_run": 1}
