Accept real Windows Update installation and native restart recovery

This commit is contained in:
2026-11-17 18:07:09 +01:00
parent 22e514a048
commit 3868eb31aa
4 changed files with 124 additions and 6 deletions
@@ -0,0 +1,110 @@
{
"date": "2026-11-17",
"environment": "development",
"platform": "windows-x86_64-gnu",
"authorization": "Explicit user request to install real Windows Updates and restart this test VM if necessary",
"agent_id": "858a27db-8ba3-4a75-af51-66f6a0909a91",
"asset_id": "26d4cdef-dc84-47c3-8f49-49e22ef64ea8",
"agent_version": "0.1.4",
"preexisting_restart_requirement": {
"job": "84cc1051-e95c-4d98-988f-da5b3ff923bf",
"state": "failed",
"exit_code": 1,
"reboot_required": true,
"status": "restart_pending"
},
"restart": {
"scheduled": true,
"boot_before": "2026-11-14T12:26:49.3911430Z",
"agent_id": "858a27db-8ba3-4a75-af51-66f6a0909a91",
"delay_seconds": 20,
"origin": "authorized development SSH maintenance"
},
"boot_after": "2026-11-17T16:43:17.5000000Z",
"windows_time_service": {
"utc": "2026-11-17T16:54:30.7486108Z",
"service": "Running",
"startup": "Auto",
"status": "Sprungindikator: 0(keine Warnung)\nStratum: 5 (Sekund�rreferenz - synchr. �ber (S)NTP)\nPr�zision: -23 (119.209ns pro Tick)\nStammverz�gerung: 0.0246275s\nStammabweichung: 8.4119144s\nReferenz-ID: 0x33917B1D (Quell-IP: 51.145.123.29)\nLetzte erfolgr. Synchronisierungszeit: 17.11.2026 17:54:04\nQuelle: time.windows.com,0x9 \nAbrufintervall: 10 (1024s)\n"
},
"bounded_time_correction": {
"ntp_reference": "time.windows.com",
"measured_offset_seconds": -0.6382626,
"utc_before": "2026-11-17T16:57:23.9464196Z",
"utc_after": "2026-11-17T16:57:23.3180395Z",
"resync_exit": 0
},
"plan_and_approval": {
"revision": "0f7c8eca-ac4e-4697-b912-6479dfa4ecae",
"version": 1,
"plan": "f3f0aa7e-0741-4ced-a243-65fc815a75af",
"plan_hash": "820e2384e46370a1a86fc52d1e81fbca52505c27689ea98d7b4b0d5f34ab370d",
"job": "6d5f9437-8285-4158-bdb0-7a73493f86d2",
"attempt": "8d653eaf-0be0-4a44-909c-572217d320c7",
"job_payload_hash": "b6cdaadc4c496c7f4f61e1449d31a6bed5fa935925395a4dbce643972b4bdc8d",
"agent": "858a27db-8ba3-4a75-af51-66f6a0909a91",
"asset": "26d4cdef-dc84-47c3-8f49-49e22ef64ea8",
"operation": "10380fe3-b9bd-4bad-b5c9-e144448c5f50",
"preapproval_job_count": 0,
"approval": "dev_test_browser_simulation",
"approved_at": "2026-11-17T17:00:04.122Z",
"ui_result": true,
"stdout": "{\"id\":\"20a25326-d78f-4a69-bc81-fa8430093374\",\"title\":\"Windows-Tool zum Entfernen b�sartiger Software x64 - v5.147 (KB890830)\",\"status\":2,\"hresult\":0,\"reboot_required\":false}\\u000d\n{\"reboot_required\":false,\"found\":1}\\u000d\n",
"observed_at": "2026-11-17T17:03:24.561Z"
},
"script_sha256": "0fa5f513a06b6cf902a3f9ac1989987642c181eedd6c305b3912771bd10f2ebf",
"outcome": {
"job": "6d5f9437-8285-4158-bdb0-7a73493f86d2",
"attempt": "8d653eaf-0be0-4a44-909c-572217d320c7",
"state": "succeeded",
"revision": 2,
"exit_code": 0,
"reboot_required": false,
"stdout_base64": "eyJpZCI6IjIwYTI1MzI2LWQ3OGYtNGE2OS1iYzgxLWZhODQzMDA5MzM3NCIsInRpdGxlIjoiV2luZG93cy1Ub29sIHp1bSBFbnRmZXJuZW4gYpRzYXJ0aWdlciBTb2Z0d2FyZSB4NjQgLSB2NS4xNDcgKEtCODkwODMwKSIsInN0YXR1cyI6MiwiaHJlc3VsdCI6MCwicmVib290X3JlcXVpcmVkIjpmYWxzZX0NCnsicmVib290X3JlcXVpcmVkIjpmYWxzZSwiZm91bmQiOjF9DQo=",
"stdout_encoding": "OEM CP850, raw native bytes retained",
"parsed_lines": [
{
"id": "20a25326-d78f-4a69-bc81-fa8430093374",
"title": "Windows-Tool zum Entfernen bösartiger Software x64 - v5.147 (KB890830)",
"status": 2,
"hresult": 0,
"reboot_required": false
},
{
"reboot_required": false,
"found": 1
}
],
"stderr_bytes": 0,
"ui_result_verified": true
},
"independent_native_verification": {
"system_event_id": 19,
"system_event_record": 1567,
"system_event_time_utc": "2026-11-17T17:01:37.7856413Z",
"update_id": "20a25326-d78f-4a69-bc81-fa8430093374",
"update_revision": 201,
"matching_completed_native_consumptions_per_lane": 1,
"matching_start_evidence_bytes_per_lane": 14243,
"matching_outcome_bytes_per_lane": 2274,
"native_outcome_sha256": "9351f221df7897a45a58d114d42bf70fda273d45486c0ce5d3eef3c8c3487ee0",
"execution_sid": "S-1-5-18",
"windows_update_reboot_marker": false,
"cbs_reboot_marker": false,
"marker_readback_utc": "2026-11-17T17:03:28Z"
},
"final_state": {
"contact": "2026-11-17T17:05:33.327672+00:00",
"sync_ready": true,
"helper_service": null,
"system_capability": false,
"open_jobs": 0,
"agent": "Running",
"release_puller": "Running"
},
"notes": [
"The first maintenance restart was performed through the pinned development SSH connection. It is an external VM-maintenance observation, not an acceptance of the RMM reboot job.",
"The original install attempt briefly reported unknown. It reconciled to succeeded revision 2 from matching native outcome bytes without any new attempt.",
"Native CP850 output bytes are preserved. The UTF-8 text view renders one German umlaut incorrectly; KB, version, status and raw bytes are verifiable."
]
}