1172687d4b
v2-ci / unit-tests (push) Has been cancelled
Re-runs only the ScriptWorker step on windev (master da948e5f, SDK 2.0.1, 16 vCPUs): install as the OtOpcUaHost service,
repo Install-ScriptWorkerIsolation.ps1 applied/re-applied/uninstalled twice under pwsh 7 and Windows PowerShell 5.1,
restricted worker, pipe refuses the admin, runner Healthy, strict-peer/API-key matrix on, then cleanup. The harness drops
-PatchedIsolation, gains -PrepareFrom candidate and -ApplyHost, and suffixes the isolation evidence with -Label.
Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
51 lines
4.3 KiB
JSON
51 lines
4.3 KiB
JSON
{
|
|
"applyHost": "powershell.exe",
|
|
"first": {
|
|
"script": "install-candidate",
|
|
"host": "powershell.exe",
|
|
"args": "-Uninstall",
|
|
"exit": 0,
|
|
"output": "ScriptWorker isolation ROLLBACK: worker identity NT SERVICE\\OtOpcUaScriptWorker (S-1-5-80-1846135827-3903057317-1998105452-3938448374-3023753135), host account NT SERVICE\\OtOpcUaHost (S-1-5-80-3928861625-3486739760-3962757976-1980707066-3667558059)\r\n [changed ] HostServiceEnv OtOpcUaHost\r\n [changed ] FirewallBlockOutbound OtOpcUa-ScriptWorker-BlockOutbound\r\n [changed ] InstallRootDeny C:\\OtOpcUa800\\OtOpcUa\r\n [changed ] WorkerFolderAcl C:\\OtOpcUa800\\OtOpcUa\\script-worker\r\n [changed ] PeEntriesDir C:\\OtOpcUa800\\state\\pe-cache\\pe\r\n [changed ] AnchorService OtOpcUaScriptWorker\r\n\r\nRolled back. If the host still sets Scripting:Worker:Identity (appsettings or env), unset it and restart the host.\r\n\r\nId Target Outcome\r\n-- ------ -------\r\nHostServiceEnv OtOpcUaHost changed\r\nFirewallBlockOutbound OtOpcUa-ScriptWorker-BlockOutbound changed\r\nInstallRootDeny C:\\OtOpcUa800\\OtOpcUa changed\r\nWorkerFolderAcl C:\\OtOpcUa800\\OtOpcUa\\script-worker changed\r\nPeEntriesDir C:\\OtOpcUa800\\state\\pe-cache\\pe changed\r\nAnchorService OtOpcUaScriptWorker changed\r\n\r\n\r\n"
|
|
},
|
|
"second": {
|
|
"script": "install-candidate",
|
|
"host": "pwsh",
|
|
"args": "-Uninstall",
|
|
"exit": 0,
|
|
"output": "ScriptWorker isolation ROLLBACK: worker identity NT SERVICE\\OtOpcUaScriptWorker (S-1-5-80-1846135827-3903057317-1998105452-3938448374-3023753135), host account NT SERVICE\\OtOpcUaHost (S-1-5-80-3928861625-3486739760-3962757976-1980707066-3667558059)\r\n [unchanged] HostServiceEnv OtOpcUaHost\r\n [unchanged] FirewallBlockOutbound OtOpcUa-ScriptWorker-BlockOutbound\r\n [unchanged] InstallRootDeny C:\\OtOpcUa800\\OtOpcUa\r\n [unchanged] WorkerFolderAcl C:\\OtOpcUa800\\OtOpcUa\\script-worker\r\n [unchanged] PeEntriesDir C:\\OtOpcUa800\\state\\pe-cache\\pe\r\n [unchanged] AnchorService OtOpcUaScriptWorker\r\n\r\nRolled back. If the host still sets Scripting:Worker:Identity (appsettings or env), unset it and restart the host.\r\n\r\n\u001b[32;1mId \u001b[0m\u001b[32;1m Target \u001b[0m\u001b[32;1m Outcome\u001b[0m\r\n\u001b[32;1m-- \u001b[0m \u001b[32;1m------ \u001b[0m \u001b[32;1m-------\u001b[0m\r\nHostServiceEnv OtOpcUaHost unchanged\r\nFirewallBlockOutbound OtOpcUa-ScriptWorker-BlockOutbound unchanged\r\nInstallRootDeny C:\\OtOpcUa800\\OtOpcUa unchanged\r\nWorkerFolderAcl C:\\OtOpcUa800\\OtOpcUa\\script-worker unchanged\r\nPeEntriesDir C:\\OtOpcUa800\\state\\pe-cache\\pe unchanged\r\nAnchorService OtOpcUaScriptWorker unchanged\r\n\r\n"
|
|
},
|
|
"secondAllUnchanged": true,
|
|
"anchorGone": true,
|
|
"firewallGone": true,
|
|
"installAcl": "C:\\OtOpcUa800\\OtOpcUa NT SERVICE\\OtOpcUaHost:(OI)(CI)(RX)\r\n NT AUTHORITY\\SYSTEM:(I)(OI)(CI)(F)\r\n BUILTIN\\Administrators:(I)(OI)(CI)(F)\r\n\r\nSuccessfully processed 1 files; Failed processing 0 files\r\n",
|
|
"envNames": [
|
|
"ASPNETCORE_URLS",
|
|
"Cluster__Hostname",
|
|
"Cluster__Port",
|
|
"Cluster__PublicHostname",
|
|
"Cluster__Roles__0",
|
|
"Cluster__SeedNodes__0",
|
|
"Cluster__SystemName",
|
|
"ConfigSource__ApiKey",
|
|
"ConfigSource__CentralFetchEndpoints__0",
|
|
"ConfigSource__FetchTimeoutSeconds",
|
|
"ConfigSource__Mode",
|
|
"DOTNET_ENVIRONMENT",
|
|
"OpcUa__AllowAnonymous",
|
|
"OpcUa__ApplicationName",
|
|
"OpcUa__ApplicationUri",
|
|
"OpcUa__AutoAcceptUntrustedClientCertificates",
|
|
"OpcUa__EnabledSecurityProfiles__0",
|
|
"OpcUa__EnabledSecurityProfiles__1",
|
|
"OpcUa__OpcUaPort",
|
|
"OpcUa__PublicHostname",
|
|
"OTOPCUA_ROLES",
|
|
"Secrets__SqlitePath",
|
|
"Security__Acl__Enabled",
|
|
"Security__ApiKeys__Pepper",
|
|
"Security__Ldap__Enabled",
|
|
"ZB_SECRETS_MASTER_KEY"
|
|
],
|
|
"envDigest": "c024591968c843be6079202c2a4dd9c3121194de305044d671fc0b00ce753b49"
|
|
}
|