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
439 lines
14 KiB
JSON
439 lines
14 KiB
JSON
{
|
|
"label": "c4",
|
|
"baselineServer": false,
|
|
"utc": "2026-11-12T16:04:31.2664908Z",
|
|
"cases": [
|
|
{
|
|
"name": "encrypt-valid-key-65",
|
|
"args": [
|
|
"probe",
|
|
"C:\\OtOpcUa800\\state\\client-pki",
|
|
"opc.tcp://localhost:14841/OtOpcUa",
|
|
"encrypt",
|
|
"allow"
|
|
],
|
|
"exit": 0,
|
|
"secretOccurrencesInOutput": 0,
|
|
"result": {
|
|
"mode": "probe",
|
|
"securityMode": "SignAndEncrypt",
|
|
"policy": "Basic256Sha256",
|
|
"expected": "allow",
|
|
"result": "allowed",
|
|
"serverState": "0 (Good [0x00000000])",
|
|
"serviceLevel": "255 (Good [0x00000000])",
|
|
"unsNamespaceIndex": 3,
|
|
"virtualTag": "800 (Good [0x00000000])",
|
|
"serverCertSha1": "A5A8238BB21874C381EA46294F2D21AF072EF1C0",
|
|
"autoAccept": false
|
|
},
|
|
"output": null
|
|
},
|
|
{
|
|
"name": "sign-valid-key-65",
|
|
"args": [
|
|
"probe",
|
|
"C:\\OtOpcUa800\\state\\client-pki",
|
|
"opc.tcp://localhost:14841/OtOpcUa",
|
|
"sign",
|
|
"allow"
|
|
],
|
|
"exit": 0,
|
|
"secretOccurrencesInOutput": 0,
|
|
"result": {
|
|
"mode": "probe",
|
|
"securityMode": "Sign",
|
|
"policy": "Basic256Sha256",
|
|
"expected": "allow",
|
|
"result": "allowed",
|
|
"serverState": "0 (Good [0x00000000])",
|
|
"serviceLevel": "255 (Good [0x00000000])",
|
|
"unsNamespaceIndex": 3,
|
|
"virtualTag": "800 (Good [0x00000000])",
|
|
"serverCertSha1": "A5A8238BB21874C381EA46294F2D21AF072EF1C0",
|
|
"autoAccept": false
|
|
},
|
|
"output": null
|
|
},
|
|
{
|
|
"name": "encrypt-valid-key-54",
|
|
"args": [
|
|
"probe",
|
|
"C:\\OtOpcUa800\\state\\client-pki",
|
|
"opc.tcp://localhost:14841/OtOpcUa",
|
|
"encrypt",
|
|
"allow"
|
|
],
|
|
"exit": 0,
|
|
"secretOccurrencesInOutput": 0,
|
|
"result": {
|
|
"mode": "probe",
|
|
"securityMode": "SignAndEncrypt",
|
|
"policy": "Basic256Sha256",
|
|
"expected": "allow",
|
|
"result": "allowed",
|
|
"serverState": "0 (Good [0x00000000])",
|
|
"serviceLevel": "255 (Good [0x00000000])",
|
|
"unsNamespaceIndex": 3,
|
|
"virtualTag": "800 (Good [0x00000000])",
|
|
"serverCertSha1": "A5A8238BB21874C381EA46294F2D21AF072EF1C0",
|
|
"autoAccept": false
|
|
},
|
|
"output": null
|
|
},
|
|
{
|
|
"name": "sign-valid-key-54",
|
|
"args": [
|
|
"probe",
|
|
"C:\\OtOpcUa800\\state\\client-pki",
|
|
"opc.tcp://localhost:14841/OtOpcUa",
|
|
"sign",
|
|
"allow"
|
|
],
|
|
"exit": 0,
|
|
"secretOccurrencesInOutput": 0,
|
|
"result": {
|
|
"mode": "probe",
|
|
"securityMode": "Sign",
|
|
"policy": "Basic256Sha256",
|
|
"expected": "allow",
|
|
"result": "allowed",
|
|
"serverState": "0 (Good [0x00000000])",
|
|
"serviceLevel": "255 (Good [0x00000000])",
|
|
"unsNamespaceIndex": 3,
|
|
"virtualTag": "800 (Good [0x00000000])",
|
|
"serverCertSha1": "A5A8238BB21874C381EA46294F2D21AF072EF1C0",
|
|
"autoAccept": false
|
|
},
|
|
"output": null
|
|
},
|
|
{
|
|
"name": "encrypt-wrong-secret-54",
|
|
"args": [
|
|
"probe",
|
|
"C:\\OtOpcUa800\\state\\client-pki",
|
|
"opc.tcp://localhost:14841/OtOpcUa",
|
|
"encrypt",
|
|
"key-deny"
|
|
],
|
|
"exit": 0,
|
|
"secretOccurrencesInOutput": 0,
|
|
"result": {
|
|
"mode": "probe",
|
|
"securityMode": "SignAndEncrypt",
|
|
"expected": "key-deny",
|
|
"result": "denied",
|
|
"status": "BadIdentityTokenRejected",
|
|
"autoAccept": false
|
|
},
|
|
"output": null
|
|
},
|
|
{
|
|
"name": "sign-wrong-secret-54",
|
|
"args": [
|
|
"probe",
|
|
"C:\\OtOpcUa800\\state\\client-pki",
|
|
"opc.tcp://localhost:14841/OtOpcUa",
|
|
"sign",
|
|
"key-deny"
|
|
],
|
|
"exit": 0,
|
|
"secretOccurrencesInOutput": 0,
|
|
"result": {
|
|
"mode": "probe",
|
|
"securityMode": "Sign",
|
|
"expected": "key-deny",
|
|
"result": "denied",
|
|
"status": "BadIdentityTokenRejected",
|
|
"autoAccept": false
|
|
},
|
|
"output": null
|
|
},
|
|
{
|
|
"name": "encrypt-unknown-key-id-54",
|
|
"args": [
|
|
"probe",
|
|
"C:\\OtOpcUa800\\state\\client-pki",
|
|
"opc.tcp://localhost:14841/OtOpcUa",
|
|
"encrypt",
|
|
"key-deny"
|
|
],
|
|
"exit": 0,
|
|
"secretOccurrencesInOutput": 0,
|
|
"result": {
|
|
"mode": "probe",
|
|
"securityMode": "SignAndEncrypt",
|
|
"expected": "key-deny",
|
|
"result": "denied",
|
|
"status": "BadIdentityTokenRejected",
|
|
"autoAccept": false
|
|
},
|
|
"output": null
|
|
},
|
|
{
|
|
"name": "encrypt-disabled-key-54",
|
|
"args": [
|
|
"probe",
|
|
"C:\\OtOpcUa800\\state\\client-pki",
|
|
"opc.tcp://localhost:14841/OtOpcUa",
|
|
"encrypt",
|
|
"key-deny"
|
|
],
|
|
"exit": 0,
|
|
"secretOccurrencesInOutput": 0,
|
|
"result": {
|
|
"mode": "probe",
|
|
"securityMode": "SignAndEncrypt",
|
|
"expected": "key-deny",
|
|
"result": "denied",
|
|
"status": "BadIdentityTokenRejected",
|
|
"autoAccept": false
|
|
},
|
|
"output": null
|
|
},
|
|
{
|
|
"name": "encrypt-wrong-secret-65",
|
|
"args": [
|
|
"probe",
|
|
"C:\\OtOpcUa800\\state\\client-pki",
|
|
"opc.tcp://localhost:14841/OtOpcUa",
|
|
"encrypt",
|
|
"key-deny"
|
|
],
|
|
"exit": 0,
|
|
"secretOccurrencesInOutput": 0,
|
|
"result": {
|
|
"mode": "probe",
|
|
"securityMode": "SignAndEncrypt",
|
|
"expected": "key-deny",
|
|
"result": "denied",
|
|
"status": "BadIdentityTokenRejected",
|
|
"autoAccept": false
|
|
},
|
|
"output": null
|
|
},
|
|
{
|
|
"name": "encrypt-unknown-key-id-65",
|
|
"args": [
|
|
"probe",
|
|
"C:\\OtOpcUa800\\state\\client-pki",
|
|
"opc.tcp://localhost:14841/OtOpcUa",
|
|
"encrypt",
|
|
"key-deny"
|
|
],
|
|
"exit": 0,
|
|
"secretOccurrencesInOutput": 0,
|
|
"result": {
|
|
"mode": "probe",
|
|
"securityMode": "SignAndEncrypt",
|
|
"expected": "key-deny",
|
|
"result": "denied",
|
|
"status": "BadIdentityTokenRejected",
|
|
"autoAccept": false
|
|
},
|
|
"output": null
|
|
},
|
|
{
|
|
"name": "encrypt-anonymous",
|
|
"args": [
|
|
"probe",
|
|
"C:\\OtOpcUa800\\state\\client-pki",
|
|
"opc.tcp://localhost:14841/OtOpcUa",
|
|
"encrypt",
|
|
"anon-deny"
|
|
],
|
|
"exit": 0,
|
|
"secretOccurrencesInOutput": 0,
|
|
"result": {
|
|
"mode": "probe",
|
|
"securityMode": "SignAndEncrypt",
|
|
"expected": "anon-deny",
|
|
"result": "denied",
|
|
"status": "BadIdentityTokenInvalid",
|
|
"autoAccept": false
|
|
},
|
|
"output": null
|
|
},
|
|
{
|
|
"name": "encrypt-untrusted-client",
|
|
"args": [
|
|
"probe",
|
|
"C:\\OtOpcUa800\\state\\untrusted-client-pki",
|
|
"opc.tcp://localhost:14841/OtOpcUa",
|
|
"encrypt",
|
|
"peer-deny"
|
|
],
|
|
"exit": 0,
|
|
"secretOccurrencesInOutput": 0,
|
|
"result": {
|
|
"mode": "probe",
|
|
"securityMode": "SignAndEncrypt",
|
|
"expected": "peer-deny",
|
|
"result": "denied",
|
|
"status": "BadSecurityChecksFailed",
|
|
"autoAccept": false
|
|
},
|
|
"output": null
|
|
},
|
|
{
|
|
"name": "sign-untrusted-client",
|
|
"args": [
|
|
"probe",
|
|
"C:\\OtOpcUa800\\state\\untrusted-client-pki",
|
|
"opc.tcp://localhost:14841/OtOpcUa",
|
|
"sign",
|
|
"peer-deny"
|
|
],
|
|
"exit": 0,
|
|
"secretOccurrencesInOutput": 0,
|
|
"result": {
|
|
"mode": "probe",
|
|
"securityMode": "Sign",
|
|
"expected": "peer-deny",
|
|
"result": "denied",
|
|
"status": "BadSecurityChecksFailed",
|
|
"autoAccept": false
|
|
},
|
|
"output": null
|
|
},
|
|
{
|
|
"name": "encrypt-untrusted-server",
|
|
"args": [
|
|
"probe",
|
|
"C:\\OtOpcUa800\\state\\client-pki",
|
|
"opc.tcp://localhost:14841/OtOpcUa",
|
|
"encrypt",
|
|
"peer-deny"
|
|
],
|
|
"exit": 0,
|
|
"secretOccurrencesInOutput": 0,
|
|
"result": {
|
|
"mode": "probe",
|
|
"securityMode": "SignAndEncrypt",
|
|
"expected": "peer-deny",
|
|
"result": "denied",
|
|
"status": "BadCertificateUntrusted",
|
|
"autoAccept": false
|
|
},
|
|
"output": null
|
|
}
|
|
],
|
|
"clis": [
|
|
{
|
|
"name": "cli-sdk1-encrypt-key-65",
|
|
"exe": "C:\\OtOpcUa800\\upload\\baseline-cli\\ZB.MOM.WW.OtOpcUa.Client.CLI.exe",
|
|
"argv": "read --url <url> --security encrypt --username apikey --password <task-secret> --node i=2259",
|
|
"exit": 0,
|
|
"good": true,
|
|
"secretOccurrencesInOutput": 0,
|
|
"output": "Node: i=2259\r\nValue: 0\r\nStatus: Good [0x00000000]\r\nSource Time: 2026-11-12T16:04:19.7719968Z\r\nServer Time: 2026-11-12T16:04:19.7719968Z\r\n"
|
|
},
|
|
{
|
|
"name": "cli-sdk2-encrypt-key-54",
|
|
"exe": "C:\\OtOpcUa800\\upload\\candidate-cli\\ZB.MOM.WW.OtOpcUa.Client.CLI.exe",
|
|
"argv": "read --url <url> --security encrypt --username apikey --password <task-secret> --node i=2259",
|
|
"exit": 0,
|
|
"good": true,
|
|
"secretOccurrencesInOutput": 0,
|
|
"output": "Node: i=2259\r\nValue: 0\r\nStatus: Good [0x00000000]\r\nSource Time: 11/12/2026 16:04:22\r\nServer Time: 11/12/2026 16:04:22\r\n"
|
|
},
|
|
{
|
|
"name": "cli-sdk2-encrypt-key-65",
|
|
"exe": "C:\\OtOpcUa800\\upload\\candidate-cli\\ZB.MOM.WW.OtOpcUa.Client.CLI.exe",
|
|
"argv": "read --url <url> --security encrypt --username apikey --password <task-secret> --node i=2259",
|
|
"exit": 0,
|
|
"good": true,
|
|
"secretOccurrencesInOutput": 0,
|
|
"output": "Node: i=2259\r\nValue: 0\r\nStatus: Good [0x00000000]\r\nSource Time: 11/12/2026 16:04:26\r\nServer Time: 11/12/2026 16:04:26\r\n"
|
|
}
|
|
],
|
|
"findings": [
|
|
{
|
|
"name": "endpoints-advertised",
|
|
"args": [
|
|
"endpoints",
|
|
"C:\\OtOpcUa800\\state\\client-pki",
|
|
"opc.tcp://localhost:14841/OtOpcUa"
|
|
],
|
|
"exit": 3,
|
|
"secretOccurrencesInOutput": 0,
|
|
"result": {
|
|
"mode": "endpoints",
|
|
"result": "insecure-offered",
|
|
"endpoints": [
|
|
{
|
|
"mode": "None",
|
|
"policy": "None",
|
|
"tokens": [
|
|
"UserName"
|
|
],
|
|
"certSha1": "A5A8238BB21874C381EA46294F2D21AF072EF1C0"
|
|
},
|
|
{
|
|
"mode": "Sign",
|
|
"policy": "Basic256Sha256",
|
|
"tokens": [
|
|
"UserName"
|
|
],
|
|
"certSha1": "A5A8238BB21874C381EA46294F2D21AF072EF1C0"
|
|
},
|
|
{
|
|
"mode": "SignAndEncrypt",
|
|
"policy": "Basic256Sha256",
|
|
"tokens": [
|
|
"UserName"
|
|
],
|
|
"certSha1": "A5A8238BB21874C381EA46294F2D21AF072EF1C0"
|
|
}
|
|
]
|
|
},
|
|
"output": null
|
|
},
|
|
{
|
|
"name": "none-endpoint-valid-key-54",
|
|
"args": [
|
|
"probe",
|
|
"C:\\OtOpcUa800\\state\\client-pki",
|
|
"opc.tcp://localhost:14841/OtOpcUa",
|
|
"none",
|
|
"allow"
|
|
],
|
|
"exit": 0,
|
|
"secretOccurrencesInOutput": 0,
|
|
"result": {
|
|
"mode": "probe",
|
|
"securityMode": "None",
|
|
"policy": "None",
|
|
"expected": "allow",
|
|
"result": "allowed",
|
|
"serverState": "0 (Good [0x00000000])",
|
|
"serviceLevel": "255 (Good [0x00000000])",
|
|
"unsNamespaceIndex": 3,
|
|
"virtualTag": "800 (Good [0x00000000])",
|
|
"serverCertSha1": "A5A8238BB21874C381EA46294F2D21AF072EF1C0",
|
|
"autoAccept": false
|
|
},
|
|
"output": null
|
|
}
|
|
],
|
|
"health": [
|
|
{
|
|
"path": "/health/ready",
|
|
"status": 200,
|
|
"body": "{\"status\":\"Healthy\",\"totalDurationMs\":4.0779,\"entries\":{\"opcua-endpoint\":{\"status\":\"Healthy\",\"description\":\"OPC UA endpoint is listening\",\"durationMs\":0.0185,\"data\":{\"status\":\"Started\"}},\"script-runner\":{\"status\":\"Healthy\",\"description\":\"Out-of-process script runner ready.\",\"durationMs\":3.743,\"data\":{\"state\":\"Ready\",\"suspects\":0,\"quarantined\":0,\"peCache\":true,\"shard.0\":\"up pid 25172, 0 in flight\",\"shard.1\":\"not started\",\"shard.iso\":\"not started\"}},\"akka\":{\"status\":\"Healthy\",\"description\":\"Akka cluster member status: Up\",\"durationMs\":0.1523,\"data\":{\"selfAddress\":\"akka.tcp://otopcua@127.0.0.1:18801\",\"selfRoles\":[\"driver\"],\"memberCount\":1,\"unreachableCount\":0,\"leader\":\"akka.tcp://otopcua@127.0.0.1:18801\"}}}}"
|
|
},
|
|
{
|
|
"path": "/healthz",
|
|
"status": 200,
|
|
"body": "Healthy"
|
|
},
|
|
{
|
|
"path": "/health/active",
|
|
"status": 200,
|
|
"body": "{\"status\":\"Healthy\",\"totalDurationMs\":1.641,\"entries\":{\"opcua-endpoint\":{\"status\":\"Healthy\",\"description\":\"OPC UA endpoint is listening\",\"durationMs\":0.0164,\"data\":{\"status\":\"Started\"}},\"akka\":{\"status\":\"Healthy\",\"description\":\"Akka cluster member status: Up\",\"durationMs\":0.1192,\"data\":{\"selfAddress\":\"akka.tcp://otopcua@127.0.0.1:18801\",\"selfRoles\":[\"driver\"],\"memberCount\":1,\"unreachableCount\":0,\"leader\":\"akka.tcp://otopcua@127.0.0.1:18801\"}},\"cluster-primary\":{\"status\":\"Healthy\",\"description\":\"Active node for role \\u0027driver\\u0027 (oldest Up member).\",\"durationMs\":0.17,\"data\":{\"selfAddress\":\"akka.tcp://otopcua@127.0.0.1:18801\",\"activeRole\":\"driver\",\"activeNode\":\"akka.tcp://otopcua@127.0.0.1:18801\"}},\"localdb-replication\":{\"status\":\"Healthy\",\"description\":\"LocalDb replication is not configured on this node (default-OFF).\",\"durationMs\":0.8106}}}"
|
|
}
|
|
],
|
|
"failed": [],
|
|
"outputsWithSecrets": []
|
|
}
|