********************** Windows PowerShell transcript start Start time: 20260922211637 Username: DESKTOP-DJ40RL2\Administrator RunAs User: DESKTOP-DJ40RL2\Administrator Configuration Name: Machine: DESKTOP-DJ40RL2 (Microsoft Windows NT 10.0.28000.0) Host Application: C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File tests\test_rc2_core_e2e.ps1 Process ID: 42164 PSVersion: 5.1.28000.2704 PSEdition: Desktop PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.28000.2704 BuildVersion: 10.0.28000.2704 CLRVersion: 4.0.30319.42000 WSManStackVersion: 3.0 PSRemotingProtocolVersion: 2.3 SerializationVersion: 1.1.0.1 ********************** ========================================================== ClassNotify P1 RC2 — Gate RC-2: Core Business E2E Target RCArtifactId: P1-RC2-20260922-151442-F2C14966 Evidence ID: EVIDENCE-RC2-20260922-211637 ========================================================== >>> [Pre-Flight] System & Environment Verification... [PASS] Local ClassNotifySetup.exe SHA256 matches baseline F2C14966E99B47A5A67436F7E4E1FB72A363FCB560BF19C07BDF23DEA5BDADD9 [PASS] ClassNotifyService is RUNNING in Session 0 PID: 32692 [PASS] ClassNotify.Client is running in user session PID: 27420, Session: 4 [PASS] Device bound to cls_802 in t_beijing_no4 DeviceId: dev_59e35e79 [PASS] Clock skew with server is acceptable (< 2.0s) Skew: 1.659s [PASS] Teacher and SchoolAdmin tokens obtained [PASS] Server confirms device dev_59e35e79 is currently ONLINE LastHeartbeat: 2026-09-22T13:17:27.2155776+00:00 >>> [Group A] Online Notification Full Business Chain (Notice, Call, Urgent)... [PASS] Group A1: Notice sent via API (ID: msg_1790083051953_5379) [PASS] Group A1: Service received and dispatched Notice [PASS] Group A2: Call sent via API (ID: msg_1790083054608_1928) [PASS] Group A2: Service received and dispatched Call [PASS] Group A3: Urgent notification sent via API (ID: msg_1790083057254_0f0e) [FAIL] Group A3: WPF Notification Window active on interactive desktop Handle: [FAIL] Group A3: Clicked '我知道了' button via UIAutomation [FAIL] Group A3: Server confirms receipt status is 'Acknowledged' ReceiptStatus: >>> [Group B] Offline / TTL / Queue Buffer Scenarios... [B1] Applying outbound firewall rule on Service to simulate network cut... Waiting for Server to recognize device as OFFLINE... [PASS] Group B1: Server confirmed device dev_59e35e79 is OFFLINE [PASS] Group B1: Offline notification sent with 60s TTL (ID: msg_1790083094313_d99d) Waiting 15s in offline state before restoring network... Network restored, waiting for device reconnect and catch-up... [PASS] Group B1: Reconnected device caught up and received notification within TTL [B2] Testing TTL Expiration (15s): message must NEVER display after expiry... [PASS] Group B2: Notification sent with 15s TTL (ID: msg_1790083148160_05d9) Waiting 22s for TTL to expire before restoring network... Network restored, waiting for reconnection... [PASS] Group B2: Expired notification was NEVER displayed on client UI [B3] Testing Client Downtime & FIFO Queue Flushing... [PASS] Group B3: 3 messages sent while Client is offline (m1, m2, m3) [PASS] Group B3: Service Watchdog automatically restored Client New PID: 32192 [FAIL] Group B3: All 3 queued messages flushed to Client [B4] Testing Replay Deduplication... [PASS] Group B4: Replay duplicate suppression active No unexpected duplicate popups >>> [Group C] Remote Command Full Chain (SelfCheck, RestartClient)... [PASS] Group C1: SelfCheck command dispatched (ID: cmd_29f28d919d7345e6a52afcbdfa7e2e9c) [PASS] Group C1: SelfCheck executed with status 'Succeeded' ResultCode: 0, DurationMs: 2870 [PASS] Group C2: RestartClient command dispatched (ID: cmd_4838d14aafd74959b3eac8a889a90369) [PASS] Group C2: RestartClient status is 'Succeeded' ResultCode: 0 [PASS] Group C2: PID Rollover verified (Old PID: 32192 != New PID: 39800) >>> [Group D] Remote Command Abnormal Lifecycle (Pending Expired, TimedOut)... [D1] Applying outbound firewall rule to test Pending -> Expired (Wait ~140s)... [PASS] Group D1: Command sent to offline device queued as 'Pending' (ID: cmd_a2015e08d752498d99887d3e82187fb7) Waiting 140s for 2-minute Command TTL to expire... Waiting for Command TTL expiration (0s/140s)... Waiting for Command TTL expiration (20s/140s)... Waiting for Command TTL expiration (40s/140s)... Waiting for Command TTL expiration (60s/140s)... Waiting for Command TTL expiration (80s/140s)... Waiting for Command TTL expiration (100s/140s)... Waiting for Command TTL expiration (120s/140s)... [PASS] Group D1: Command transitioned to 'Expired' after TTL Status: Expired Network restored, waiting 10s to verify expired command is NEVER executed... [PASS] Group D1: Expired command was NEVER executed (PID unchanged: 39800) [PASS] Group D2: DeviceCommand history queryable with timeout audit trail CommandsAudited: 3 >>> [Group E] Cross-Tier Audit & Consistency (DB, API, Log)... [FAIL] Group E: PostgreSQL Notification record consistent with API [FAIL] Group E: PostgreSQL Receipt record confirms 'Acknowledged' state [PASS] Group E: PostgreSQL DeviceCommand record confirms 'Succeeded' status ********************** Windows PowerShell transcript end End time: 20260922212323 **********************