diff --git a/docs/ui-validation/evidence/mx-fault-identity/after.json b/docs/ui-validation/evidence/mx-fault-identity/after.json new file mode 100644 index 00000000..0a118ab1 --- /dev/null +++ b/docs/ui-validation/evidence/mx-fault-identity/after.json @@ -0,0 +1,14 @@ +[ + { + "mode": "compact", + "aStillOpen": true, + "focusedDiagnosticStillSessionA": true, + "originalElementStillConnected": true + }, + { + "mode": "table", + "aStillOpen": true, + "focusedDiagnosticStillSessionA": true, + "originalElementStillConnected": true + } +] \ No newline at end of file diff --git a/docs/ui-validation/evidence/mx-fault-identity/after.log b/docs/ui-validation/evidence/mx-fault-identity/after.log new file mode 100644 index 00000000..537f8b2f --- /dev/null +++ b/docs/ui-validation/evidence/mx-fault-identity/after.log @@ -0,0 +1 @@ +[{"mode": "compact", "aStillOpen": true, "focusedDiagnosticStillSessionA": true, "originalElementStillConnected": true}, {"mode": "table", "aStillOpen": true, "focusedDiagnosticStillSessionA": true, "originalElementStillConnected": true}] diff --git a/docs/ui-validation/evidence/mx-fault-identity/before.json b/docs/ui-validation/evidence/mx-fault-identity/before.json new file mode 100644 index 00000000..063f2378 --- /dev/null +++ b/docs/ui-validation/evidence/mx-fault-identity/before.json @@ -0,0 +1,14 @@ +[ + { + "mode": "compact", + "aStillOpen": false, + "focusedDiagnosticStillSessionA": false, + "originalElementStillConnected": true + }, + { + "mode": "table", + "aStillOpen": false, + "focusedDiagnosticStillSessionA": false, + "originalElementStillConnected": true + } +] \ No newline at end of file diff --git a/docs/ui-validation/evidence/mx-fault-identity/before.log b/docs/ui-validation/evidence/mx-fault-identity/before.log new file mode 100644 index 00000000..435dc2de --- /dev/null +++ b/docs/ui-validation/evidence/mx-fault-identity/before.log @@ -0,0 +1,6 @@ +[{"mode": "compact", "aStillOpen": false, "focusedDiagnosticStillSessionA": false, "originalElementStillConnected": true}, {"mode": "table", "aStillOpen": false, "focusedDiagnosticStillSessionA": false, "originalElementStillConnected": true}] +Traceback (most recent call last): + File "/Users/dohertj2/Desktop/MxAccessGateway/docs/ui-validation/fault_identity.py", line 10, in + (OUT/(sys.argv[1]+'.json')).write_text(json.dumps(rows,indent=2));print(json.dumps(rows));assert all(r['aStillOpen'] and r['focusedDiagnosticStillSessionA'] for r in rows) + ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +AssertionError diff --git a/docs/ui-validation/evidence/mx-final-layout/recovery-1024-zoom1.png b/docs/ui-validation/evidence/mx-final-layout/recovery-1024-zoom1.png new file mode 100644 index 00000000..baf96911 Binary files /dev/null and b/docs/ui-validation/evidence/mx-final-layout/recovery-1024-zoom1.png differ diff --git a/docs/ui-validation/evidence/mx-final-layout/recovery-1440-zoom1.png b/docs/ui-validation/evidence/mx-final-layout/recovery-1440-zoom1.png new file mode 100644 index 00000000..ea96627f Binary files /dev/null and b/docs/ui-validation/evidence/mx-final-layout/recovery-1440-zoom1.png differ diff --git a/docs/ui-validation/evidence/mx-final-layout/recovery-1440-zoom2.png b/docs/ui-validation/evidence/mx-final-layout/recovery-1440-zoom2.png new file mode 100644 index 00000000..72321dff Binary files /dev/null and b/docs/ui-validation/evidence/mx-final-layout/recovery-1440-zoom2.png differ diff --git a/docs/ui-validation/evidence/mx-final-layout/recovery-390-zoom1.png b/docs/ui-validation/evidence/mx-final-layout/recovery-390-zoom1.png new file mode 100644 index 00000000..256f0316 Binary files /dev/null and b/docs/ui-validation/evidence/mx-final-layout/recovery-390-zoom1.png differ diff --git a/docs/ui-validation/evidence/mx-final-layout/results.json b/docs/ui-validation/evidence/mx-final-layout/results.json new file mode 100644 index 00000000..511a680c --- /dev/null +++ b/docs/ui-validation/evidence/mx-final-layout/results.json @@ -0,0 +1,274 @@ +{ + "cases": [ + { + "case": "retry", + "width": 1440, + "dpr": 1, + "attemptDelta": 2, + "watchRetained": true, + "focusStable": true + }, + { + "case": "navigation", + "principal": "admin", + "width": 1440, + "hrefs": [ + "/", + "/sessions", + "/workers", + "/events", + "/alarms", + "/galaxy", + "/browse", + "/apikeys", + "/admin/secrets", + "/settings" + ], + "footerKeyboardReachable": true + }, + { + "case": "navigation", + "principal": "viewer", + "width": 1440, + "hrefs": [ + "/", + "/sessions", + "/workers", + "/events", + "/alarms", + "/galaxy", + "/browse", + "/apikeys", + "/settings" + ], + "footerKeyboardReachable": true + }, + { + "case": "navigation", + "principal": "anonymous", + "width": 1440, + "hrefs": [ + "/", + "/sessions", + "/workers", + "/events", + "/galaxy", + "/browse", + "/apikeys", + "/settings", + "/login" + ], + "footerKeyboardReachable": true + }, + { + "case": "retry", + "width": 1024, + "dpr": 1, + "attemptDelta": 2, + "watchRetained": true, + "focusStable": true + }, + { + "case": "navigation", + "principal": "admin", + "width": 1024, + "hrefs": [ + "/", + "/sessions", + "/workers", + "/events", + "/alarms", + "/galaxy", + "/browse", + "/apikeys", + "/admin/secrets", + "/settings" + ], + "footerKeyboardReachable": true + }, + { + "case": "navigation", + "principal": "viewer", + "width": 1024, + "hrefs": [ + "/", + "/sessions", + "/workers", + "/events", + "/alarms", + "/galaxy", + "/browse", + "/apikeys", + "/settings" + ], + "footerKeyboardReachable": true + }, + { + "case": "navigation", + "principal": "anonymous", + "width": 1024, + "hrefs": [ + "/", + "/sessions", + "/workers", + "/events", + "/galaxy", + "/browse", + "/apikeys", + "/settings", + "/login" + ], + "footerKeyboardReachable": true + }, + { + "case": "retry", + "width": 390, + "dpr": 1, + "attemptDelta": 2, + "watchRetained": true, + "focusStable": true + }, + { + "case": "navigation", + "principal": "admin", + "width": 390, + "hrefs": [ + "/", + "/sessions", + "/workers", + "/events", + "/alarms", + "/galaxy", + "/browse", + "/apikeys", + "/admin/secrets", + "/settings" + ], + "footerKeyboardReachable": true + }, + { + "case": "navigation", + "principal": "viewer", + "width": 390, + "hrefs": [ + "/", + "/sessions", + "/workers", + "/events", + "/alarms", + "/galaxy", + "/browse", + "/apikeys", + "/settings" + ], + "footerKeyboardReachable": true + }, + { + "case": "navigation", + "principal": "anonymous", + "width": 390, + "hrefs": [ + "/", + "/sessions", + "/workers", + "/events", + "/galaxy", + "/browse", + "/apikeys", + "/settings", + "/login" + ], + "footerKeyboardReachable": true + }, + { + "case": "retry", + "width": 720, + "dpr": 2, + "attemptDelta": 2, + "watchRetained": true, + "focusStable": true + }, + { + "case": "navigation", + "principal": "admin", + "width": 720, + "hrefs": [ + "/", + "/sessions", + "/workers", + "/events", + "/alarms", + "/galaxy", + "/browse", + "/apikeys", + "/admin/secrets", + "/settings" + ], + "footerKeyboardReachable": true + }, + { + "case": "navigation", + "principal": "viewer", + "width": 720, + "hrefs": [ + "/", + "/sessions", + "/workers", + "/events", + "/alarms", + "/galaxy", + "/browse", + "/apikeys", + "/settings" + ], + "footerKeyboardReachable": true + }, + { + "case": "navigation", + "principal": "anonymous", + "width": 720, + "hrefs": [ + "/", + "/sessions", + "/workers", + "/events", + "/galaxy", + "/browse", + "/apikeys", + "/settings", + "/login" + ], + "footerKeyboardReachable": true + }, + { + "case": "reduced-motion", + "elements": [ + { + "animation": "none", + "opacity": "1" + }, + { + "animation": "none", + "opacity": "1" + }, + { + "animation": "none", + "opacity": "1" + }, + { + "animation": "none", + "opacity": "1" + }, + { + "animation": "none", + "opacity": "1" + }, + { + "animation": "none", + "opacity": "1" + } + ] + } + ], + "errors": [] +} \ No newline at end of file diff --git a/docs/ui-validation/evidence/mx-final/coarse-final.log b/docs/ui-validation/evidence/mx-final/coarse-final.log new file mode 100644 index 00000000..db2dc560 --- /dev/null +++ b/docs/ui-validation/evidence/mx-final/coarse-final.log @@ -0,0 +1 @@ +{"cases": 2, "errors": []} diff --git a/docs/ui-validation/evidence/mx-final/fixture-final-build.log b/docs/ui-validation/evidence/mx-final/fixture-final-build.log new file mode 100644 index 00000000..45f7cfed --- /dev/null +++ b/docs/ui-validation/evidence/mx-final/fixture-final-build.log @@ -0,0 +1,11 @@ + Determining projects to restore... + All projects are up-to-date for restore. + ZB.MOM.WW.MxGateway.Contracts -> /tmp/mx-ui-final-artifacts/bin/ZB.MOM.WW.MxGateway.Contracts/release_net10.0/ZB.MOM.WW.MxGateway.Contracts.dll + ZB.MOM.WW.MxGateway.Server -> /tmp/mx-ui-final-artifacts/bin/ZB.MOM.WW.MxGateway.Server/release/ZB.MOM.WW.MxGateway.Server.dll + MxUiCanary -> /tmp/mx-ui-final-artifacts/bin/MxUiCanary/release/MxUiCanary.dll + +Build succeeded. + 0 Warning(s) + 0 Error(s) + +Time Elapsed 00:00:01.37 diff --git a/docs/ui-validation/evidence/mx-final/focused-final.log b/docs/ui-validation/evidence/mx-final/focused-final.log new file mode 100644 index 00000000..c68529a3 --- /dev/null +++ b/docs/ui-validation/evidence/mx-final/focused-final.log @@ -0,0 +1,7 @@ + ZB.MOM.WW.MxGateway.Contracts -> /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Contracts/bin/Debug/net10.0/ZB.MOM.WW.MxGateway.Contracts.dll + ZB.MOM.WW.MxGateway.Server -> /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server/bin/Debug/net10.0/ZB.MOM.WW.MxGateway.Server.dll + ZB.MOM.WW.MxGateway.Tests -> /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Tests/bin/Debug/net10.0/ZB.MOM.WW.MxGateway.Tests.dll +Test run for /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Tests/bin/Debug/net10.0/ZB.MOM.WW.MxGateway.Tests.dll (.NETCoreApp,Version=v10.0) +A total of 1 test files matched the specified pattern. + +Passed! - Failed: 0, Passed: 6, Skipped: 0, Total: 6, Duration: 26 ms - ZB.MOM.WW.MxGateway.Tests.dll (net10.0) diff --git a/docs/ui-validation/evidence/mx-final/full-tests.log b/docs/ui-validation/evidence/mx-final/full-tests.log new file mode 100644 index 00000000..666c4a87 --- /dev/null +++ b/docs/ui-validation/evidence/mx-final/full-tests.log @@ -0,0 +1,21 @@ + ZB.MOM.WW.MxGateway.Contracts -> /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Contracts/bin/Debug/net10.0/ZB.MOM.WW.MxGateway.Contracts.dll + ZB.MOM.WW.MxGateway.Server -> /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server/bin/Debug/net10.0/ZB.MOM.WW.MxGateway.Server.dll + ZB.MOM.WW.MxGateway.Tests -> /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Tests/bin/Debug/net10.0/ZB.MOM.WW.MxGateway.Tests.dll +Test run for /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Tests/bin/Debug/net10.0/ZB.MOM.WW.MxGateway.Tests.dll (.NETCoreApp,Version=v10.0) +A total of 1 test files matched the specified pattern. +[xUnit.net 00:00:00.39] ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.OrdinaryLocalShareToContentRoot_IsInsideOnWindows [SKIP] +[xUnit.net 00:00:00.39] ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.DevicePrefixedAndLoopbackShareSpellings_AreInsideOnWindows [SKIP] + Skipped ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.OrdinaryLocalShareToContentRoot_IsInsideOnWindows [1 ms] + Skipped ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.DevicePrefixedAndLoopbackShareSpellings_AreInsideOnWindows [1 ms] +[xUnit.net 00:00:00.39] ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.ShortNameSpelling_IsInsideOnWindows [SKIP] +[xUnit.net 00:00:00.39] ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.DriveAndRootRelativePaths_AreNotAbsoluteOnWindows [SKIP] + Skipped ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.ShortNameSpelling_IsInsideOnWindows [1 ms] + Skipped ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.DriveAndRootRelativePaths_AreNotAbsoluteOnWindows [1 ms] +[xUnit.net 00:00:00.41] ZB.MOM.WW.MxGateway.Tests.Gateway.Sessions.WorkerPipeSecurityTests.CreatePipe_OnWindows_AppliesCurrentUserOnlyAcl [SKIP] +[xUnit.net 00:00:00.41] ZB.MOM.WW.MxGateway.Tests.Gateway.Sessions.WorkerPipeSecurityTests.Create_GrantsOnlyTheUser [SKIP] + Skipped ZB.MOM.WW.MxGateway.Tests.Gateway.Sessions.WorkerPipeSecurityTests.CreatePipe_OnWindows_AppliesCurrentUserOnlyAcl [1 ms] + Skipped ZB.MOM.WW.MxGateway.Tests.Gateway.Sessions.WorkerPipeSecurityTests.Create_GrantsOnlyTheUser [1 ms] +WARNING: Overwriting results file: /tmp/mx-final-results/mx-final.trx +Results File: /tmp/mx-final-results/mx-final.trx + +Passed! - Failed: 0, Passed: 1460, Skipped: 6, Total: 1466, Duration: 47 s - ZB.MOM.WW.MxGateway.Tests.dll (net10.0) diff --git a/docs/ui-validation/evidence/mx-final/full.trx b/docs/ui-validation/evidence/mx-final/full.trx new file mode 100644 index 00000000..b690459f --- /dev/null +++ b/docs/ui-validation/evidence/mx-final/full.trx @@ -0,0 +1,9184 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Windows path semantics; run on a Windows host. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Windows path semantics; run on a Windows host. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Requires Windows. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Requires Windows. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Windows path semantics; run on a Windows host. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Windows path semantics; run on a Windows host. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.1.4+50e68bbb8b (64-bit .NET 10.0.14) +[xUnit.net 00:00:00.07] Discovering: ZB.MOM.WW.MxGateway.Tests +[xUnit.net 00:00:00.15] Discovered: ZB.MOM.WW.MxGateway.Tests +[xUnit.net 00:00:00.22] Starting: ZB.MOM.WW.MxGateway.Tests +[xUnit.net 00:00:00.39] Windows path semantics; run on a Windows host. +[xUnit.net 00:00:00.39] Windows path semantics; run on a Windows host. +Test 'ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.OrdinaryLocalShareToContentRoot_IsInsideOnWindows' was skipped in the test run. +Test 'ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.DevicePrefixedAndLoopbackShareSpellings_AreInsideOnWindows' was skipped in the test run. +[xUnit.net 00:00:00.39] Windows path semantics; run on a Windows host. +[xUnit.net 00:00:00.39] Windows path semantics; run on a Windows host. +Test 'ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.ShortNameSpelling_IsInsideOnWindows' was skipped in the test run. +Test 'ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.DriveAndRootRelativePaths_AreNotAbsoluteOnWindows' was skipped in the test run. +[xUnit.net 00:00:00.41] Requires Windows. +[xUnit.net 00:00:00.41] Requires Windows. +Test 'ZB.MOM.WW.MxGateway.Tests.Gateway.Sessions.WorkerPipeSecurityTests.CreatePipe_OnWindows_AppliesCurrentUserOnlyAcl' was skipped in the test run. +Test 'ZB.MOM.WW.MxGateway.Tests.Gateway.Sessions.WorkerPipeSecurityTests.Create_GrantsOnlyTheUser' was skipped in the test run. +[20:08:39 ERR] Hosting failed to start +Microsoft.Extensions.Options.OptionsValidationException: MxGateway:Dashboard:GroupToRole['GwAdmin'] must be 'Administrator' or 'Viewer'. + at Microsoft.Extensions.Options.OptionsFactory`1.Create(String name) + at Microsoft.Extensions.Options.UnnamedOptionsManager`1.get_Value() + at ZB.MOM.WW.MxGateway.Server.Workers.OrphanWorkerTerminator..ctor(IOptions`1 gatewayOptions, IRunningProcessInspector inspector, GatewayMetrics metrics, ILogger`1 logger) in /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server/Workers/OrphanWorkerTerminator.cs:line 40 + at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Constructor(Object obj, IntPtr* args) + at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr) + at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitIEnumerable(IEnumerableCallSite enumerableCallSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) + at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) + at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) + at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) + at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) + at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken) +[20:08:39 ERR] Hosting failed to start +ZB.MOM.WW.Auth.ApiKeys.Sqlite.AuthStoreMigrationException: Auth database schema version 4 is newer than supported version 3. + at ZB.MOM.WW.Auth.ApiKeys.Sqlite.SqliteAuthStoreMigrator.MigrateAsync(CancellationToken cancellationToken) + at ZB.MOM.WW.Auth.ApiKeys.Sqlite.SqliteAuthStoreMigrator.MigrateAsync(CancellationToken cancellationToken) + at ZB.MOM.WW.Auth.ApiKeys.Sqlite.SqliteAuthStoreMigrator.MigrateAsync(CancellationToken cancellationToken) + at ZB.MOM.WW.Auth.ApiKeys.DependencyInjection.ApiKeyMigrationHostedService.StartAsync(CancellationToken cancellationToken) + at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__14_1(IHostedService service, CancellationToken token) + at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation) +[20:08:39 ERR] Hosting failed to start +Microsoft.Extensions.Options.OptionsValidationException: MxGateway:Events:QueueCapacity must be greater than zero. + at Microsoft.Extensions.Options.OptionsFactory`1.Create(String name) + at Microsoft.Extensions.Options.UnnamedOptionsManager`1.get_Value() + at ZB.MOM.WW.MxGateway.Server.Workers.OrphanWorkerTerminator..ctor(IOptions`1 gatewayOptions, IRunningProcessInspector inspector, GatewayMetrics metrics, ILogger`1 logger) in /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server/Workers/OrphanWorkerTerminator.cs:line 40 + at InvokeStub_OrphanWorkerTerminator..ctor(Object, Span`1) + at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitIEnumerable(IEnumerableCallSite enumerableCallSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) + at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) + at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) + at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) + at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) + at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken) +[20:08:40 WRN] DASHBOARD LOGIN DISABLED (MxGateway:Dashboard:DisableLogin=true) — every request is authenticated as 'multi-role' with full permissions (Administrator, Viewer). Dev/test only; never enable in production. +[20:08:40 ERR] Hosting failed to start +Microsoft.Extensions.Options.OptionsValidationException: MxGateway:Worker:ExecutablePath must point to a .exe file. + at Microsoft.Extensions.Options.OptionsFactory`1.Create(String name) + at Microsoft.Extensions.Options.UnnamedOptionsManager`1.get_Value() + at ZB.MOM.WW.MxGateway.Server.Workers.OrphanWorkerTerminator..ctor(IOptions`1 gatewayOptions, IRunningProcessInspector inspector, GatewayMetrics metrics, ILogger`1 logger) in /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server/Workers/OrphanWorkerTerminator.cs:line 40 + at InvokeStub_OrphanWorkerTerminator..ctor(Object, Span`1) + at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitIEnumerable(IEnumerableCallSite enumerableCallSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) + at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) + at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) + at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) + at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) + at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken) +[20:08:41 ERR] Hosting failed to start +Microsoft.Extensions.Options.OptionsValidationException: MxGateway:Authentication:PepperSecretName is required when API-key authentication is enabled. + at Microsoft.Extensions.Options.OptionsFactory`1.Create(String name) + at Microsoft.Extensions.Options.UnnamedOptionsManager`1.get_Value() + at ZB.MOM.WW.MxGateway.Server.Workers.OrphanWorkerTerminator..ctor(IOptions`1 gatewayOptions, IRunningProcessInspector inspector, GatewayMetrics metrics, ILogger`1 logger) in /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server/Workers/OrphanWorkerTerminator.cs:line 40 + at InvokeStub_OrphanWorkerTerminator..ctor(Object, Span`1) + at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitIEnumerable(IEnumerableCallSite enumerableCallSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) + at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) + at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) + at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) + at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) + at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken) +[20:08:41 INF] Now listening on: http://127.0.0.1:53565 +[20:08:41 INF] Application started. Press Ctrl+C to shut down. +[20:08:41 INF] Hosting environment: Development +[20:08:41 INF] Content root path: /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server +[20:08:41 WRN] Galaxy hierarchy cache refresh failed. +Microsoft.Data.SqlClient.SqlException (0x80131904): The target principal name is incorrect. Cannot generate SSPI context. +GenericFailure + at Microsoft.Data.SqlClient.NegotiateSSPIContextProvider.GenerateSspiClientContext(ReadOnlyMemory`1 received, Byte[]& sendBuff, UInt32& sendLength, Byte[][] _sniSpnBuffer) + at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIData(ReadOnlyMemory`1 receivedBuff, Byte[]& sendBuff, UInt32& sendLength, Byte[][] sniSpnBuffer) + at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) + at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, SqlCommand command, Boolean callerHasConnectionLock, Boolean asyncClose) + at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIError(String error, String procedure) + at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIData(ReadOnlyMemory`1 receivedBuff, Byte[]& sendBuff, UInt32& sendLength, Byte[][] sniSpnBuffer) + at Microsoft.Data.SqlClient.TdsParser.TdsLogin(SqlLogin rec, FeatureExtension requestedFeatures, SessionData recoverySessionData, FederatedAuthenticationFeatureExtensionData fedAuthFeatureExtensionData, SqlConnectionEncryptOption encrypt) + at Microsoft.Data.SqlClient.SqlInternalConnectionTds.Login(ServerInfo server, TimeoutTimer timeout, String newPassword, SecureString newSecurePassword, SqlConnectionEncryptOption encrypt) + at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, TimeoutTimer timeout, Boolean withFailover) + at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout) + at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance) + at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool, Func`3 accessTokenCallback) + at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) + at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) + at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) + at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) + at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionPool.WaitForPendingOpen() +--- End of stack trace from previous location --- + at ZB.MOM.WW.GalaxyRepository.GalaxyRepository.GetLastDeployTimeAsync(CancellationToken ct) + at ZB.MOM.WW.GalaxyRepository.GalaxyHierarchyCache.RefreshCoreAsync(CancellationToken cancellationToken) +ClientConnectionId:a9a08385-9cb7-4a99-8bc9-03c50567c26d +[20:08:41 ERR] Hosting failed to start +Microsoft.Extensions.Options.OptionsValidationException: MxGateway:Ldap:AllowInsecure must be true when Transport is None (plaintext). + at Microsoft.Extensions.Options.OptionsFactory`1.Create(String name) + at Microsoft.Extensions.Options.UnnamedOptionsManager`1.get_Value() + at ZB.MOM.WW.MxGateway.Server.Workers.OrphanWorkerTerminator..ctor(IOptions`1 gatewayOptions, IRunningProcessInspector inspector, GatewayMetrics metrics, ILogger`1 logger) in /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server/Workers/OrphanWorkerTerminator.cs:line 40 + at InvokeStub_OrphanWorkerTerminator..ctor(Object, Span`1) + at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitIEnumerable(IEnumerableCallSite enumerableCallSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) + at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) + at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) + at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) + at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) + at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken) +[20:08:42 WRN] Galaxy hierarchy cache refresh failed. +Microsoft.Data.SqlClient.SqlException (0x80131904): The target principal name is incorrect. Cannot generate SSPI context. +GenericFailure + at Microsoft.Data.SqlClient.NegotiateSSPIContextProvider.GenerateSspiClientContext(ReadOnlyMemory`1 received, Byte[]& sendBuff, UInt32& sendLength, Byte[][] _sniSpnBuffer) + at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIData(ReadOnlyMemory`1 receivedBuff, Byte[]& sendBuff, UInt32& sendLength, Byte[][] sniSpnBuffer) + at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) + at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) + at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides) + at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(SqlConnectionOverrides overrides, CancellationToken cancellationToken) +--- End of stack trace from previous location --- + at ZB.MOM.WW.GalaxyRepository.GalaxyRepository.GetLastDeployTimeAsync(CancellationToken ct) + at ZB.MOM.WW.GalaxyRepository.GalaxyHierarchyCache.RefreshCoreAsync(CancellationToken cancellationToken) +ClientConnectionId:a9a08385-9cb7-4a99-8bc9-03c50567c26d +[20:08:42 INF] Now listening on: http://127.0.0.1:53568 +[20:08:42 INF] Application started. Press Ctrl+C to shut down. +[20:08:42 INF] Hosting environment: Development +[20:08:42 INF] Content root path: /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server +[20:08:42 INF] AuthenticationScheme: MxGateway.Metrics was forbidden. +[20:08:42 WRN] Galaxy hierarchy cache refresh failed. +Microsoft.Data.SqlClient.SqlException (0x80131904): The target principal name is incorrect. Cannot generate SSPI context. +GenericFailure + at Microsoft.Data.SqlClient.NegotiateSSPIContextProvider.GenerateSspiClientContext(ReadOnlyMemory`1 received, Byte[]& sendBuff, UInt32& sendLength, Byte[][] _sniSpnBuffer) + at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIData(ReadOnlyMemory`1 receivedBuff, Byte[]& sendBuff, UInt32& sendLength, Byte[][] sniSpnBuffer) + at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) + at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) + at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides) + at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(SqlConnectionOverrides overrides, CancellationToken cancellationToken) +--- End of stack trace from previous location --- + at ZB.MOM.WW.GalaxyRepository.GalaxyRepository.GetLastDeployTimeAsync(CancellationToken ct) + at ZB.MOM.WW.GalaxyRepository.GalaxyHierarchyCache.RefreshCoreAsync(CancellationToken cancellationToken) +ClientConnectionId:a9a08385-9cb7-4a99-8bc9-03c50567c26d +[20:08:42 INF] Now listening on: http://127.0.0.1:53570 +[20:08:42 INF] Application started. Press Ctrl+C to shut down. +[20:08:42 INF] Hosting environment: Development +[20:08:42 INF] Content root path: /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server +[20:08:42 INF] Application is shutting down... +[20:08:42 WRN] Galaxy hierarchy cache refresh failed. +Microsoft.Data.SqlClient.SqlException (0x80131904): The target principal name is incorrect. Cannot generate SSPI context. +GenericFailure + at Microsoft.Data.SqlClient.NegotiateSSPIContextProvider.GenerateSspiClientContext(ReadOnlyMemory`1 received, Byte[]& sendBuff, UInt32& sendLength, Byte[][] _sniSpnBuffer) + at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIData(ReadOnlyMemory`1 receivedBuff, Byte[]& sendBuff, UInt32& sendLength, Byte[][] sniSpnBuffer) + at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) + at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) + at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides) + at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(SqlConnectionOverrides overrides, CancellationToken cancellationToken) +--- End of stack trace from previous location --- + at ZB.MOM.WW.GalaxyRepository.GalaxyRepository.GetLastDeployTimeAsync(CancellationToken ct) + at ZB.MOM.WW.GalaxyRepository.GalaxyHierarchyCache.RefreshCoreAsync(CancellationToken cancellationToken) +ClientConnectionId:a9a08385-9cb7-4a99-8bc9-03c50567c26d +[20:08:42 INF] Now listening on: http://127.0.0.1:53572 +[20:08:42 INF] Application started. Press Ctrl+C to shut down. +[20:08:42 INF] Hosting environment: Development +[20:08:42 INF] Content root path: /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server +[20:08:42 INF] AuthenticationScheme: MxGateway.Metrics was challenged. +[20:08:42 WRN] Galaxy hierarchy cache refresh failed. +Microsoft.Data.SqlClient.SqlException (0x80131904): The target principal name is incorrect. Cannot generate SSPI context. +GenericFailure + at Microsoft.Data.SqlClient.NegotiateSSPIContextProvider.GenerateSspiClientContext(ReadOnlyMemory`1 received, Byte[]& sendBuff, UInt32& sendLength, Byte[][] _sniSpnBuffer) + at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIData(ReadOnlyMemory`1 receivedBuff, Byte[]& sendBuff, UInt32& sendLength, Byte[][] sniSpnBuffer) + at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) + at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) + at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides) + at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(SqlConnectionOverrides overrides, CancellationToken cancellationToken) +--- End of stack trace from previous location --- + at ZB.MOM.WW.GalaxyRepository.GalaxyRepository.GetLastDeployTimeAsync(CancellationToken ct) + at ZB.MOM.WW.GalaxyRepository.GalaxyHierarchyCache.RefreshCoreAsync(CancellationToken cancellationToken) +ClientConnectionId:a9a08385-9cb7-4a99-8bc9-03c50567c26d +[20:08:43 INF] Now listening on: http://127.0.0.1:53574 +[20:08:43 INF] Application started. Press Ctrl+C to shut down. +[20:08:43 INF] Hosting environment: Development +[20:08:43 INF] Content root path: /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server +[20:08:43 WRN] Galaxy hierarchy cache refresh failed. +Microsoft.Data.SqlClient.SqlException (0x80131904): The target principal name is incorrect. Cannot generate SSPI context. +GenericFailure + at Microsoft.Data.SqlClient.NegotiateSSPIContextProvider.GenerateSspiClientContext(ReadOnlyMemory`1 received, Byte[]& sendBuff, UInt32& sendLength, Byte[][] _sniSpnBuffer) + at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIData(ReadOnlyMemory`1 receivedBuff, Byte[]& sendBuff, UInt32& sendLength, Byte[][] sniSpnBuffer) + at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) + at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) + at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides) + at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(SqlConnectionOverrides overrides, CancellationToken cancellationToken) +--- End of stack trace from previous location --- + at ZB.MOM.WW.GalaxyRepository.GalaxyRepository.GetLastDeployTimeAsync(CancellationToken ct) + at ZB.MOM.WW.GalaxyRepository.GalaxyHierarchyCache.RefreshCoreAsync(CancellationToken cancellationToken) +ClientConnectionId:a9a08385-9cb7-4a99-8bc9-03c50567c26d +[20:08:43 INF] Now listening on: http://127.0.0.1:53576 +[20:08:43 INF] Application started. Press Ctrl+C to shut down. +[20:08:43 INF] Hosting environment: Development +[20:08:43 INF] Content root path: /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server +[20:08:43 WRN] DASHBOARD LOGIN DISABLED (MxGateway:Dashboard:DisableLogin=true) — every request is authenticated as 'multi-role' with full permissions (Administrator, Viewer). Dev/test only; never enable in production. +[20:08:43 WRN] DASHBOARD LOGIN DISABLED (MxGateway:Dashboard:DisableLogin=true) — every request is authenticated as 'multi-role' with full permissions (Administrator, Viewer). Dev/test only; never enable in production. +[20:08:43 WRN] Galaxy hierarchy cache refresh failed. +Microsoft.Data.SqlClient.SqlException (0x80131904): The target principal name is incorrect. Cannot generate SSPI context. +GenericFailure + at Microsoft.Data.SqlClient.NegotiateSSPIContextProvider.GenerateSspiClientContext(ReadOnlyMemory`1 received, Byte[]& sendBuff, UInt32& sendLength, Byte[][] _sniSpnBuffer) + at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIData(ReadOnlyMemory`1 receivedBuff, Byte[]& sendBuff, UInt32& sendLength, Byte[][] sniSpnBuffer) + at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) + at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) + at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides) + at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(SqlConnectionOverrides overrides, CancellationToken cancellationToken) +--- End of stack trace from previous location --- + at ZB.MOM.WW.GalaxyRepository.GalaxyRepository.GetLastDeployTimeAsync(CancellationToken ct) + at ZB.MOM.WW.GalaxyRepository.GalaxyHierarchyCache.RefreshCoreAsync(CancellationToken cancellationToken) +ClientConnectionId:a9a08385-9cb7-4a99-8bc9-03c50567c26d +[20:08:43 INF] Now listening on: http://127.0.0.1:53578 +[20:08:43 INF] Application started. Press Ctrl+C to shut down. +[20:08:43 INF] Hosting environment: Development +[20:08:43 INF] Content root path: /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server +[20:08:43 INF] AuthenticationScheme: MxGateway.Metrics was challenged. +info: ZB.MOM.WW.MxGateway.Server.Security.Tls.SelfSignedCertificateProvider[0] + Generated gateway self-signed certificate: thumbprint=EB0DDD5B10D88E1120CC85868E9510A804DD8C23, notAfter=2036-11-14 01:09:25Z, sans=DNS:localhost, DNS:Josephs-MBP, IP Address:127.0.0.1, IP Address:0:0:0:0:0:0:0:1 +[20:09:25 WRN] Galaxy hierarchy cache refresh failed. +Microsoft.Data.SqlClient.SqlException (0x80131904): The target principal name is incorrect. Cannot generate SSPI context. +GenericFailure + at Microsoft.Data.SqlClient.NegotiateSSPIContextProvider.GenerateSspiClientContext(ReadOnlyMemory`1 received, Byte[]& sendBuff, UInt32& sendLength, Byte[][] _sniSpnBuffer) + at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIData(ReadOnlyMemory`1 receivedBuff, Byte[]& sendBuff, UInt32& sendLength, Byte[][] sniSpnBuffer) + at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) + at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, SqlCommand command, Boolean callerHasConnectionLock, Boolean asyncClose) + at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIError(String error, String procedure) + at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIData(ReadOnlyMemory`1 receivedBuff, Byte[]& sendBuff, UInt32& sendLength, Byte[][] sniSpnBuffer) + at Microsoft.Data.SqlClient.TdsParser.TdsLogin(SqlLogin rec, FeatureExtension requestedFeatures, SessionData recoverySessionData, FederatedAuthenticationFeatureExtensionData fedAuthFeatureExtensionData, SqlConnectionEncryptOption encrypt) + at Microsoft.Data.SqlClient.SqlInternalConnectionTds.Login(ServerInfo server, TimeoutTimer timeout, String newPassword, SecureString newSecurePassword, SqlConnectionEncryptOption encrypt) + at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, TimeoutTimer timeout, Boolean withFailover) + at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout) + at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance) + at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool, Func`3 accessTokenCallback) + at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) + at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) + at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) + at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) + at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionPool.WaitForPendingOpen() +--- End of stack trace from previous location --- + at ZB.MOM.WW.GalaxyRepository.GalaxyRepository.GetLastDeployTimeAsync(CancellationToken ct) + at ZB.MOM.WW.GalaxyRepository.GalaxyHierarchyCache.RefreshCoreAsync(CancellationToken cancellationToken) +ClientConnectionId:6b85fe36-2b89-41ef-8707-620bf1118f3e +[20:09:25 INF] Now listening on: https://127.0.0.1:53637 +[20:09:25 INF] Application started. Press Ctrl+C to shut down. +[20:09:25 INF] Hosting environment: Development +[20:09:25 INF] Content root path: /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server +[20:09:25 INF] Application is shutting down... +[xUnit.net 00:00:47.30] Finished: ZB.MOM.WW.MxGateway.Tests + + + + + [xUnit.net 00:00:00.39] ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.OrdinaryLocalShareToContentRoot_IsInsideOnWindows [SKIP] + + + [xUnit.net 00:00:00.39] ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.DevicePrefixedAndLoopbackShareSpellings_AreInsideOnWindows [SKIP] + + + [xUnit.net 00:00:00.39] ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.ShortNameSpelling_IsInsideOnWindows [SKIP] + + + [xUnit.net 00:00:00.39] ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.DriveAndRootRelativePaths_AreNotAbsoluteOnWindows [SKIP] + + + [xUnit.net 00:00:00.41] ZB.MOM.WW.MxGateway.Tests.Gateway.Sessions.WorkerPipeSecurityTests.CreatePipe_OnWindows_AppliesCurrentUserOnlyAcl [SKIP] + + + [xUnit.net 00:00:00.41] ZB.MOM.WW.MxGateway.Tests.Gateway.Sessions.WorkerPipeSecurityTests.Create_GrantsOnlyTheUser [SKIP] + + + + \ No newline at end of file diff --git a/docs/ui-validation/evidence/mx-final/navigation-destinations.json b/docs/ui-validation/evidence/mx-final/navigation-destinations.json new file mode 100644 index 00000000..99a6cef4 --- /dev/null +++ b/docs/ui-validation/evidence/mx-final/navigation-destinations.json @@ -0,0 +1,86 @@ +[ + { + "route": "/", + "title": "MXAccess Gateway \u2014 Overview", + "principal": "admin", + "width": 1440, + "active": "/" + }, + { + "route": "/browse", + "title": "MXAccess Gateway \u2014 Browse", + "principal": "admin", + "width": 1440, + "active": "/browse" + }, + { + "route": "/apikeys", + "title": "MXAccess Gateway \u2014 API keys", + "principal": "admin", + "width": 1440, + "active": "/apikeys" + }, + { + "route": "/", + "title": "MXAccess Gateway \u2014 Overview", + "principal": "viewer", + "width": 1440, + "active": "/" + }, + { + "route": "/browse", + "title": "MXAccess Gateway \u2014 Browse", + "principal": "viewer", + "width": 1440, + "active": "/browse" + }, + { + "route": "/apikeys", + "title": "MXAccess Gateway \u2014 API keys", + "principal": "viewer", + "width": 1440, + "active": "/apikeys" + }, + { + "route": "/", + "title": "MXAccess Gateway \u2014 Overview", + "principal": "admin", + "width": 390, + "active": "/" + }, + { + "route": "/browse", + "title": "MXAccess Gateway \u2014 Browse", + "principal": "admin", + "width": 390, + "active": "/browse" + }, + { + "route": "/apikeys", + "title": "MXAccess Gateway \u2014 API keys", + "principal": "admin", + "width": 390, + "active": "/apikeys" + }, + { + "route": "/", + "title": "MXAccess Gateway \u2014 Overview", + "principal": "viewer", + "width": 390, + "active": "/" + }, + { + "route": "/browse", + "title": "MXAccess Gateway \u2014 Browse", + "principal": "viewer", + "width": 390, + "active": "/browse" + }, + { + "route": "/apikeys", + "title": "MXAccess Gateway \u2014 API keys", + "principal": "viewer", + "width": 390, + "active": "/apikeys" + } +] \ No newline at end of file diff --git a/docs/ui-validation/evidence/mx-final/packages.json b/docs/ui-validation/evidence/mx-final/packages.json new file mode 100644 index 00000000..461b32e7 --- /dev/null +++ b/docs/ui-validation/evidence/mx-final/packages.json @@ -0,0 +1,19 @@ +{ + "zb.mom.ww.secrets.ui": { + "version": "1.0.1", + "sha256": "cd0efe497b2efa7acb61e634b727e802e883700d7c63681f895bcc4d0c6b816a", + "source": "https://gitea.dohertylan.com/api/packages/dohertj2/nuget/index.json" + }, + "zb.mom.ww.secrets.abstractions": { + "version": "0.6.6", + "sha256": "5cb0386469638bda89eb6c9afa25ead397b86730c3c5e43e4e496269d316acdc", + "source": "https://gitea.dohertylan.com/api/packages/dohertj2/nuget/index.json" + }, + "zb.mom.ww.theme": { + "version": "1.0.1", + "sha256": "995b117b0245577598c91404ed7957c071ebe3413696c8be48b419c9deb1bd5d", + "source": "https://gitea.dohertylan.com/api/packages/dohertj2/nuget/index.json" + }, + "corePackagePreserved": "ZB.MOM.WW.Secrets/0.6.2", + "testPackagesInProductionGraph": false +} \ No newline at end of file diff --git a/docs/ui-validation/evidence/mx-final/pre-package-refresh-full-tests.log b/docs/ui-validation/evidence/mx-final/pre-package-refresh-full-tests.log new file mode 100644 index 00000000..15ce93e9 --- /dev/null +++ b/docs/ui-validation/evidence/mx-final/pre-package-refresh-full-tests.log @@ -0,0 +1,20 @@ + ZB.MOM.WW.MxGateway.Contracts -> /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Contracts/bin/Debug/net10.0/ZB.MOM.WW.MxGateway.Contracts.dll + ZB.MOM.WW.MxGateway.Server -> /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server/bin/Debug/net10.0/ZB.MOM.WW.MxGateway.Server.dll + ZB.MOM.WW.MxGateway.Tests -> /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Tests/bin/Debug/net10.0/ZB.MOM.WW.MxGateway.Tests.dll +Test run for /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Tests/bin/Debug/net10.0/ZB.MOM.WW.MxGateway.Tests.dll (.NETCoreApp,Version=v10.0) +A total of 1 test files matched the specified pattern. +[xUnit.net 00:00:00.49] ZB.MOM.WW.MxGateway.Tests.Gateway.Sessions.WorkerPipeSecurityTests.CreatePipe_OnWindows_AppliesCurrentUserOnlyAcl [SKIP] +[xUnit.net 00:00:00.49] ZB.MOM.WW.MxGateway.Tests.Gateway.Sessions.WorkerPipeSecurityTests.Create_GrantsOnlyTheUser [SKIP] + Skipped ZB.MOM.WW.MxGateway.Tests.Gateway.Sessions.WorkerPipeSecurityTests.CreatePipe_OnWindows_AppliesCurrentUserOnlyAcl [1 ms] + Skipped ZB.MOM.WW.MxGateway.Tests.Gateway.Sessions.WorkerPipeSecurityTests.Create_GrantsOnlyTheUser [1 ms] +[xUnit.net 00:00:00.80] ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.OrdinaryLocalShareToContentRoot_IsInsideOnWindows [SKIP] +[xUnit.net 00:00:00.80] ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.DevicePrefixedAndLoopbackShareSpellings_AreInsideOnWindows [SKIP] + Skipped ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.OrdinaryLocalShareToContentRoot_IsInsideOnWindows [1 ms] + Skipped ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.DevicePrefixedAndLoopbackShareSpellings_AreInsideOnWindows [1 ms] +[xUnit.net 00:00:00.81] ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.ShortNameSpelling_IsInsideOnWindows [SKIP] +[xUnit.net 00:00:00.81] ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.DriveAndRootRelativePaths_AreNotAbsoluteOnWindows [SKIP] + Skipped ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.ShortNameSpelling_IsInsideOnWindows [1 ms] + Skipped ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.DriveAndRootRelativePaths_AreNotAbsoluteOnWindows [1 ms] +Results File: /tmp/mx-final-results/mx-final.trx + +Passed! - Failed: 0, Passed: 1458, Skipped: 6, Total: 1464, Duration: 47 s - ZB.MOM.WW.MxGateway.Tests.dll (net10.0) diff --git a/docs/ui-validation/evidence/mx-final/pre-package-refresh-full.trx b/docs/ui-validation/evidence/mx-final/pre-package-refresh-full.trx new file mode 100644 index 00000000..baa4d9c0 --- /dev/null +++ b/docs/ui-validation/evidence/mx-final/pre-package-refresh-full.trx @@ -0,0 +1,9166 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Requires Windows. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Windows path semantics; run on a Windows host. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Windows path semantics; run on a Windows host. + + + + + + + + + + + + + + + + Windows path semantics; run on a Windows host. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Requires Windows. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Windows path semantics; run on a Windows host. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.1.4+50e68bbb8b (64-bit .NET 10.0.14) +[xUnit.net 00:00:00.07] Discovering: ZB.MOM.WW.MxGateway.Tests +[xUnit.net 00:00:00.15] Discovered: ZB.MOM.WW.MxGateway.Tests +[xUnit.net 00:00:00.24] Starting: ZB.MOM.WW.MxGateway.Tests +[xUnit.net 00:00:00.49] Requires Windows. +[xUnit.net 00:00:00.49] Requires Windows. +Test 'ZB.MOM.WW.MxGateway.Tests.Gateway.Sessions.WorkerPipeSecurityTests.CreatePipe_OnWindows_AppliesCurrentUserOnlyAcl' was skipped in the test run. +Test 'ZB.MOM.WW.MxGateway.Tests.Gateway.Sessions.WorkerPipeSecurityTests.Create_GrantsOnlyTheUser' was skipped in the test run. +[xUnit.net 00:00:00.80] Windows path semantics; run on a Windows host. +[xUnit.net 00:00:00.80] Windows path semantics; run on a Windows host. +Test 'ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.OrdinaryLocalShareToContentRoot_IsInsideOnWindows' was skipped in the test run. +Test 'ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.DevicePrefixedAndLoopbackShareSpellings_AreInsideOnWindows' was skipped in the test run. +[xUnit.net 00:00:00.81] Windows path semantics; run on a Windows host. +[xUnit.net 00:00:00.81] Windows path semantics; run on a Windows host. +Test 'ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.ShortNameSpelling_IsInsideOnWindows' was skipped in the test run. +Test 'ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.DriveAndRootRelativePaths_AreNotAbsoluteOnWindows' was skipped in the test run. +[19:36:27 ERR] Hosting failed to start +Microsoft.Extensions.Options.OptionsValidationException: MxGateway:Dashboard:GroupToRole['GwAdmin'] must be 'Administrator' or 'Viewer'. + at Microsoft.Extensions.Options.OptionsFactory`1.Create(String name) + at Microsoft.Extensions.Options.UnnamedOptionsManager`1.get_Value() + at ZB.MOM.WW.MxGateway.Server.Workers.OrphanWorkerTerminator..ctor(IOptions`1 gatewayOptions, IRunningProcessInspector inspector, GatewayMetrics metrics, ILogger`1 logger) in /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server/Workers/OrphanWorkerTerminator.cs:line 40 + at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Constructor(Object obj, IntPtr* args) + at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr) + at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitIEnumerable(IEnumerableCallSite enumerableCallSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) + at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) + at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) + at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) + at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) + at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken) +[19:36:27 WRN] DASHBOARD LOGIN DISABLED (MxGateway:Dashboard:DisableLogin=true) — every request is authenticated as 'multi-role' with full permissions (Administrator, Viewer). Dev/test only; never enable in production. +[19:36:27 INF] Now listening on: http://127.0.0.1:50848 +[19:36:27 INF] Application started. Press Ctrl+C to shut down. +[19:36:27 INF] Hosting environment: Development +[19:36:27 INF] Content root path: /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server +[19:36:27 WRN] Galaxy hierarchy cache refresh failed. +Microsoft.Data.SqlClient.SqlException (0x80131904): The target principal name is incorrect. Cannot generate SSPI context. +GenericFailure + at Microsoft.Data.SqlClient.NegotiateSSPIContextProvider.GenerateSspiClientContext(ReadOnlyMemory`1 received, Byte[]& sendBuff, UInt32& sendLength, Byte[][] _sniSpnBuffer) + at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIData(ReadOnlyMemory`1 receivedBuff, Byte[]& sendBuff, UInt32& sendLength, Byte[][] sniSpnBuffer) + at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) + at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, SqlCommand command, Boolean callerHasConnectionLock, Boolean asyncClose) + at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIError(String error, String procedure) + at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIData(ReadOnlyMemory`1 receivedBuff, Byte[]& sendBuff, UInt32& sendLength, Byte[][] sniSpnBuffer) + at Microsoft.Data.SqlClient.TdsParser.TdsLogin(SqlLogin rec, FeatureExtension requestedFeatures, SessionData recoverySessionData, FederatedAuthenticationFeatureExtensionData fedAuthFeatureExtensionData, SqlConnectionEncryptOption encrypt) + at Microsoft.Data.SqlClient.SqlInternalConnectionTds.Login(ServerInfo server, TimeoutTimer timeout, String newPassword, SecureString newSecurePassword, SqlConnectionEncryptOption encrypt) + at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, TimeoutTimer timeout, Boolean withFailover) + at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout) + at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance) + at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool, Func`3 accessTokenCallback) + at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) + at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) + at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) + at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) + at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionPool.WaitForPendingOpen() +--- End of stack trace from previous location --- + at ZB.MOM.WW.GalaxyRepository.GalaxyRepository.GetLastDeployTimeAsync(CancellationToken ct) + at ZB.MOM.WW.GalaxyRepository.GalaxyHierarchyCache.RefreshCoreAsync(CancellationToken cancellationToken) +ClientConnectionId:867400cc-48af-4d6a-96a5-67790803ace1 +[19:36:28 ERR] Hosting failed to start +Microsoft.Extensions.Options.OptionsValidationException: MxGateway:Events:QueueCapacity must be greater than zero. + at Microsoft.Extensions.Options.OptionsFactory`1.Create(String name) + at Microsoft.Extensions.Options.UnnamedOptionsManager`1.get_Value() + at ZB.MOM.WW.MxGateway.Server.Workers.OrphanWorkerTerminator..ctor(IOptions`1 gatewayOptions, IRunningProcessInspector inspector, GatewayMetrics metrics, ILogger`1 logger) in /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server/Workers/OrphanWorkerTerminator.cs:line 40 + at InvokeStub_OrphanWorkerTerminator..ctor(Object, Span`1) + at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitIEnumerable(IEnumerableCallSite enumerableCallSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) + at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) + at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) + at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) + at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) + at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken) +[19:36:29 ERR] Hosting failed to start +ZB.MOM.WW.Auth.ApiKeys.Sqlite.AuthStoreMigrationException: Auth database schema version 4 is newer than supported version 3. + at ZB.MOM.WW.Auth.ApiKeys.Sqlite.SqliteAuthStoreMigrator.MigrateAsync(CancellationToken cancellationToken) + at ZB.MOM.WW.Auth.ApiKeys.Sqlite.SqliteAuthStoreMigrator.MigrateAsync(CancellationToken cancellationToken) + at ZB.MOM.WW.Auth.ApiKeys.Sqlite.SqliteAuthStoreMigrator.MigrateAsync(CancellationToken cancellationToken) + at ZB.MOM.WW.Auth.ApiKeys.DependencyInjection.ApiKeyMigrationHostedService.StartAsync(CancellationToken cancellationToken) + at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__14_1(IHostedService service, CancellationToken token) + at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation) +[19:36:30 ERR] Hosting failed to start +Microsoft.Extensions.Options.OptionsValidationException: MxGateway:Worker:ExecutablePath must point to a .exe file. + at Microsoft.Extensions.Options.OptionsFactory`1.Create(String name) + at Microsoft.Extensions.Options.UnnamedOptionsManager`1.get_Value() + at ZB.MOM.WW.MxGateway.Server.Workers.OrphanWorkerTerminator..ctor(IOptions`1 gatewayOptions, IRunningProcessInspector inspector, GatewayMetrics metrics, ILogger`1 logger) in /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server/Workers/OrphanWorkerTerminator.cs:line 40 + at InvokeStub_OrphanWorkerTerminator..ctor(Object, Span`1) + at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitIEnumerable(IEnumerableCallSite enumerableCallSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) + at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) + at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) + at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken) +[19:36:30 WRN] Galaxy hierarchy cache refresh failed. +Microsoft.Data.SqlClient.SqlException (0x80131904): The target principal name is incorrect. Cannot generate SSPI context. +GenericFailure + at Microsoft.Data.SqlClient.NegotiateSSPIContextProvider.GenerateSspiClientContext(ReadOnlyMemory`1 received, Byte[]& sendBuff, UInt32& sendLength, Byte[][] _sniSpnBuffer) + at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIData(ReadOnlyMemory`1 receivedBuff, Byte[]& sendBuff, UInt32& sendLength, Byte[][] sniSpnBuffer) + at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) + at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) + at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides) + at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(SqlConnectionOverrides overrides, CancellationToken cancellationToken) +--- End of stack trace from previous location --- + at ZB.MOM.WW.GalaxyRepository.GalaxyRepository.GetLastDeployTimeAsync(CancellationToken ct) + at ZB.MOM.WW.GalaxyRepository.GalaxyHierarchyCache.RefreshCoreAsync(CancellationToken cancellationToken) +ClientConnectionId:867400cc-48af-4d6a-96a5-67790803ace1 +[19:36:30 INF] Now listening on: http://127.0.0.1:50856 +[19:36:30 INF] Application started. Press Ctrl+C to shut down. +[19:36:30 INF] Hosting environment: Development +[19:36:30 INF] Content root path: /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server +[19:36:30 INF] AuthenticationScheme: MxGateway.Metrics was forbidden. +[19:36:31 ERR] Hosting failed to start +Microsoft.Extensions.Options.OptionsValidationException: MxGateway:Authentication:PepperSecretName is required when API-key authentication is enabled. + at Microsoft.Extensions.Options.OptionsFactory`1.Create(String name) + at Microsoft.Extensions.Options.UnnamedOptionsManager`1.get_Value() + at ZB.MOM.WW.MxGateway.Server.Workers.OrphanWorkerTerminator..ctor(IOptions`1 gatewayOptions, IRunningProcessInspector inspector, GatewayMetrics metrics, ILogger`1 logger) in /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server/Workers/OrphanWorkerTerminator.cs:line 40 + at InvokeStub_OrphanWorkerTerminator..ctor(Object, Span`1) + at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitIEnumerable(IEnumerableCallSite enumerableCallSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) + at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) + at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) + at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken) +[19:36:31 WRN] Galaxy hierarchy cache refresh failed. +Microsoft.Data.SqlClient.SqlException (0x80131904): The target principal name is incorrect. Cannot generate SSPI context. +GenericFailure + at Microsoft.Data.SqlClient.NegotiateSSPIContextProvider.GenerateSspiClientContext(ReadOnlyMemory`1 received, Byte[]& sendBuff, UInt32& sendLength, Byte[][] _sniSpnBuffer) + at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIData(ReadOnlyMemory`1 receivedBuff, Byte[]& sendBuff, UInt32& sendLength, Byte[][] sniSpnBuffer) + at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) + at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) + at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides) + at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(SqlConnectionOverrides overrides, CancellationToken cancellationToken) +--- End of stack trace from previous location --- + at ZB.MOM.WW.GalaxyRepository.GalaxyRepository.GetLastDeployTimeAsync(CancellationToken ct) + at ZB.MOM.WW.GalaxyRepository.GalaxyHierarchyCache.RefreshCoreAsync(CancellationToken cancellationToken) +ClientConnectionId:867400cc-48af-4d6a-96a5-67790803ace1 +[19:36:31 INF] Now listening on: http://127.0.0.1:50858 +[19:36:31 INF] Application started. Press Ctrl+C to shut down. +[19:36:31 INF] Hosting environment: Development +[19:36:31 INF] Content root path: /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server +[19:36:31 INF] AuthenticationScheme: MxGateway.Metrics was challenged. +[19:36:31 ERR] Hosting failed to start +Microsoft.Extensions.Options.OptionsValidationException: MxGateway:Ldap:AllowInsecure must be true when Transport is None (plaintext). + at Microsoft.Extensions.Options.OptionsFactory`1.Create(String name) + at Microsoft.Extensions.Options.UnnamedOptionsManager`1.get_Value() + at ZB.MOM.WW.MxGateway.Server.Workers.OrphanWorkerTerminator..ctor(IOptions`1 gatewayOptions, IRunningProcessInspector inspector, GatewayMetrics metrics, ILogger`1 logger) in /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server/Workers/OrphanWorkerTerminator.cs:line 40 + at InvokeStub_OrphanWorkerTerminator..ctor(Object, Span`1) + at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitIEnumerable(IEnumerableCallSite enumerableCallSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) + at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) + at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) + at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) + at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken) +[19:36:32 WRN] Galaxy hierarchy cache refresh failed. +Microsoft.Data.SqlClient.SqlException (0x80131904): The target principal name is incorrect. Cannot generate SSPI context. +GenericFailure + at Microsoft.Data.SqlClient.NegotiateSSPIContextProvider.GenerateSspiClientContext(ReadOnlyMemory`1 received, Byte[]& sendBuff, UInt32& sendLength, Byte[][] _sniSpnBuffer) + at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIData(ReadOnlyMemory`1 receivedBuff, Byte[]& sendBuff, UInt32& sendLength, Byte[][] sniSpnBuffer) + at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) + at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) + at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides) + at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(SqlConnectionOverrides overrides, CancellationToken cancellationToken) +--- End of stack trace from previous location --- + at ZB.MOM.WW.GalaxyRepository.GalaxyRepository.GetLastDeployTimeAsync(CancellationToken ct) + at ZB.MOM.WW.GalaxyRepository.GalaxyHierarchyCache.RefreshCoreAsync(CancellationToken cancellationToken) +ClientConnectionId:867400cc-48af-4d6a-96a5-67790803ace1 +[19:36:32 INF] Now listening on: http://127.0.0.1:50860 +[19:36:32 INF] Application started. Press Ctrl+C to shut down. +[19:36:32 INF] Hosting environment: Development +[19:36:32 INF] Content root path: /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server +[19:36:32 WRN] Galaxy hierarchy cache refresh failed. +Microsoft.Data.SqlClient.SqlException (0x80131904): The target principal name is incorrect. Cannot generate SSPI context. +GenericFailure + at Microsoft.Data.SqlClient.NegotiateSSPIContextProvider.GenerateSspiClientContext(ReadOnlyMemory`1 received, Byte[]& sendBuff, UInt32& sendLength, Byte[][] _sniSpnBuffer) + at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIData(ReadOnlyMemory`1 receivedBuff, Byte[]& sendBuff, UInt32& sendLength, Byte[][] sniSpnBuffer) + at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) + at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) + at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides) + at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(SqlConnectionOverrides overrides, CancellationToken cancellationToken) +--- End of stack trace from previous location --- + at ZB.MOM.WW.GalaxyRepository.GalaxyRepository.GetLastDeployTimeAsync(CancellationToken ct) + at ZB.MOM.WW.GalaxyRepository.GalaxyHierarchyCache.RefreshCoreAsync(CancellationToken cancellationToken) +ClientConnectionId:867400cc-48af-4d6a-96a5-67790803ace1 +[19:36:32 INF] Now listening on: http://127.0.0.1:50862 +[19:36:32 INF] Application started. Press Ctrl+C to shut down. +[19:36:32 INF] Hosting environment: Development +[19:36:32 INF] Content root path: /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server +[19:36:32 WRN] Galaxy hierarchy cache refresh failed. +Microsoft.Data.SqlClient.SqlException (0x80131904): The target principal name is incorrect. Cannot generate SSPI context. +GenericFailure + at Microsoft.Data.SqlClient.NegotiateSSPIContextProvider.GenerateSspiClientContext(ReadOnlyMemory`1 received, Byte[]& sendBuff, UInt32& sendLength, Byte[][] _sniSpnBuffer) + at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIData(ReadOnlyMemory`1 receivedBuff, Byte[]& sendBuff, UInt32& sendLength, Byte[][] sniSpnBuffer) + at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) + at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) + at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides) + at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(SqlConnectionOverrides overrides, CancellationToken cancellationToken) +--- End of stack trace from previous location --- + at ZB.MOM.WW.GalaxyRepository.GalaxyRepository.GetLastDeployTimeAsync(CancellationToken ct) + at ZB.MOM.WW.GalaxyRepository.GalaxyHierarchyCache.RefreshCoreAsync(CancellationToken cancellationToken) +ClientConnectionId:867400cc-48af-4d6a-96a5-67790803ace1 +[19:36:32 INF] Now listening on: http://127.0.0.1:50864 +[19:36:32 INF] Application started. Press Ctrl+C to shut down. +[19:36:32 INF] Hosting environment: Development +[19:36:32 INF] Content root path: /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server +[19:36:32 INF] Application is shutting down... +[19:36:32 WRN] DASHBOARD LOGIN DISABLED (MxGateway:Dashboard:DisableLogin=true) — every request is authenticated as 'multi-role' with full permissions (Administrator, Viewer). Dev/test only; never enable in production. +[19:36:32 WRN] DASHBOARD LOGIN DISABLED (MxGateway:Dashboard:DisableLogin=true) — every request is authenticated as 'multi-role' with full permissions (Administrator, Viewer). Dev/test only; never enable in production. +[19:36:32 WRN] Galaxy hierarchy cache refresh failed. +Microsoft.Data.SqlClient.SqlException (0x80131904): The target principal name is incorrect. Cannot generate SSPI context. +GenericFailure + at Microsoft.Data.SqlClient.NegotiateSSPIContextProvider.GenerateSspiClientContext(ReadOnlyMemory`1 received, Byte[]& sendBuff, UInt32& sendLength, Byte[][] _sniSpnBuffer) + at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIData(ReadOnlyMemory`1 receivedBuff, Byte[]& sendBuff, UInt32& sendLength, Byte[][] sniSpnBuffer) + at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) + at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) + at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides) + at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(SqlConnectionOverrides overrides, CancellationToken cancellationToken) +--- End of stack trace from previous location --- + at ZB.MOM.WW.GalaxyRepository.GalaxyRepository.GetLastDeployTimeAsync(CancellationToken ct) + at ZB.MOM.WW.GalaxyRepository.GalaxyHierarchyCache.RefreshCoreAsync(CancellationToken cancellationToken) +ClientConnectionId:867400cc-48af-4d6a-96a5-67790803ace1 +[19:36:32 INF] Now listening on: http://127.0.0.1:50866 +[19:36:32 INF] Application started. Press Ctrl+C to shut down. +[19:36:32 INF] Hosting environment: Development +[19:36:32 INF] Content root path: /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server +[19:36:32 INF] AuthenticationScheme: MxGateway.Metrics was challenged. +info: ZB.MOM.WW.MxGateway.Server.Security.Tls.SelfSignedCertificateProvider[0] + Generated gateway self-signed certificate: thumbprint=23E7078D92EA6651F3D3EAC5F45FC32982314B39, notAfter=2036-11-14 00:37:13Z, sans=DNS:localhost, DNS:Josephs-MBP, IP Address:127.0.0.1, IP Address:0:0:0:0:0:0:0:1 +[19:37:13 INF] Now listening on: https://127.0.0.1:50921 +[19:37:13 WRN] Galaxy hierarchy cache refresh failed. +Microsoft.Data.SqlClient.SqlException (0x80131904): The target principal name is incorrect. Cannot generate SSPI context. +GenericFailure + at Microsoft.Data.SqlClient.NegotiateSSPIContextProvider.GenerateSspiClientContext(ReadOnlyMemory`1 received, Byte[]& sendBuff, UInt32& sendLength, Byte[][] _sniSpnBuffer) + at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIData(ReadOnlyMemory`1 receivedBuff, Byte[]& sendBuff, UInt32& sendLength, Byte[][] sniSpnBuffer) + at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) + at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, SqlCommand command, Boolean callerHasConnectionLock, Boolean asyncClose) + at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIError(String error, String procedure) + at Microsoft.Data.SqlClient.SSPIContextProvider.SSPIData(ReadOnlyMemory`1 receivedBuff, Byte[]& sendBuff, UInt32& sendLength, Byte[][] sniSpnBuffer) + at Microsoft.Data.SqlClient.TdsParser.TdsLogin(SqlLogin rec, FeatureExtension requestedFeatures, SessionData recoverySessionData, FederatedAuthenticationFeatureExtensionData fedAuthFeatureExtensionData, SqlConnectionEncryptOption encrypt) + at Microsoft.Data.SqlClient.SqlInternalConnectionTds.Login(ServerInfo server, TimeoutTimer timeout, String newPassword, SecureString newSecurePassword, SqlConnectionEncryptOption encrypt) + at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, TimeoutTimer timeout, Boolean withFailover) + at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout) + at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance) + at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool, Func`3 accessTokenCallback) + at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) + at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) + at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) + at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) + at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) + at Microsoft.Data.ProviderBase.DbConnectionPool.WaitForPendingOpen() +--- End of stack trace from previous location --- + at ZB.MOM.WW.GalaxyRepository.GalaxyRepository.GetLastDeployTimeAsync(CancellationToken ct) + at ZB.MOM.WW.GalaxyRepository.GalaxyHierarchyCache.RefreshCoreAsync(CancellationToken cancellationToken) +ClientConnectionId:2d6356bf-a5b4-40b5-9aea-9e5d1f36f7d9 +[19:37:13 INF] Application started. Press Ctrl+C to shut down. +[19:37:13 INF] Hosting environment: Development +[19:37:13 INF] Content root path: /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server +[19:37:13 INF] Application is shutting down... +[xUnit.net 00:00:47.76] Finished: ZB.MOM.WW.MxGateway.Tests + + + + + [xUnit.net 00:00:00.49] ZB.MOM.WW.MxGateway.Tests.Gateway.Sessions.WorkerPipeSecurityTests.CreatePipe_OnWindows_AppliesCurrentUserOnlyAcl [SKIP] + + + [xUnit.net 00:00:00.49] ZB.MOM.WW.MxGateway.Tests.Gateway.Sessions.WorkerPipeSecurityTests.Create_GrantsOnlyTheUser [SKIP] + + + [xUnit.net 00:00:00.80] ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.OrdinaryLocalShareToContentRoot_IsInsideOnWindows [SKIP] + + + [xUnit.net 00:00:00.80] ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.DevicePrefixedAndLoopbackShareSpellings_AreInsideOnWindows [SKIP] + + + [xUnit.net 00:00:00.81] ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.ShortNameSpelling_IsInsideOnWindows [SKIP] + + + [xUnit.net 00:00:00.81] ZB.MOM.WW.MxGateway.Tests.Configuration.GatewayConfigPathSpellingTests.DriveAndRootRelativePaths_AreNotAbsoluteOnWindows [SKIP] + + + + \ No newline at end of file diff --git a/docs/ui-validation/evidence/mx-final/pre-package-refresh-solution-build.log b/docs/ui-validation/evidence/mx-final/pre-package-refresh-solution-build.log new file mode 100644 index 00000000..4a5d489e --- /dev/null +++ b/docs/ui-validation/evidence/mx-final/pre-package-refresh-solution-build.log @@ -0,0 +1,11 @@ + ZB.MOM.WW.MxGateway.Contracts -> /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Contracts/bin/Debug/net48/ZB.MOM.WW.MxGateway.Contracts.dll + ZB.MOM.WW.MxGateway.Contracts -> /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Contracts/bin/Debug/net10.0/ZB.MOM.WW.MxGateway.Contracts.dll + ZB.MOM.WW.MxGateway.Server -> /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server/bin/Debug/net10.0/ZB.MOM.WW.MxGateway.Server.dll + ZB.MOM.WW.MxGateway.Tests -> /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Tests/bin/Debug/net10.0/ZB.MOM.WW.MxGateway.Tests.dll + ZB.MOM.WW.MxGateway.IntegrationTests -> /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.IntegrationTests/bin/Debug/net10.0/ZB.MOM.WW.MxGateway.IntegrationTests.dll + +Build succeeded. + 0 Warning(s) + 0 Error(s) + +Time Elapsed 00:00:01.61 diff --git a/docs/ui-validation/evidence/mx-final/served-assets.json b/docs/ui-validation/evidence/mx-final/served-assets.json new file mode 100644 index 00000000..9bd5d0ab --- /dev/null +++ b/docs/ui-validation/evidence/mx-final/served-assets.json @@ -0,0 +1,59 @@ +[ + { + "runtimeAssembly": "ZB.MOM.WW.Theme", + "version": "1.0.1", + "bytesMatchOfficialPackage": true + }, + { + "asset": "css/theme.css", + "package": "ZB.MOM.WW.Theme", + "http": 200, + "sha256": "7a6da7aefcf036f971f18816e3ceb129f1abb4a39f6db33d449420b814cfb4a6" + }, + { + "asset": "css/layout.css", + "package": "ZB.MOM.WW.Theme", + "http": 200, + "sha256": "1a4960c5552110f9d1521621816117e6496646b55d919c85f3a815ae98e3a781" + }, + { + "asset": "fonts/ibm-plex-sans-400.woff2", + "package": "ZB.MOM.WW.Theme", + "http": 200, + "sha256": "db71f8a28ad8501544fb4e7668e3c6d0b731760b6f20de3525ebaeba597f1922" + }, + { + "asset": "fonts/ibm-plex-sans-600.woff2", + "package": "ZB.MOM.WW.Theme", + "http": 200, + "sha256": "31535a91ce3f6b8ed3ddedadab1e49957e2220263a640df1a3f14f6fdfe15eb6" + }, + { + "asset": "fonts/ibm-plex-mono-500.woff2", + "package": "ZB.MOM.WW.Theme", + "http": 200, + "sha256": "756026ff72eb76fd971ac4b7504cec55eef62109d2684c2cad8da32170b80b37" + }, + { + "runtimeAssembly": "ZB.MOM.WW.Secrets.Ui", + "version": "1.0.1", + "bytesMatchOfficialPackage": true + }, + { + "asset": "js/secrets-dialog.js", + "package": "ZB.MOM.WW.Secrets.Ui", + "http": 200, + "sha256": "1c6ff0ebae1d9d1581e88fc8d2a374b35a27713941cf42782548b76e6a988e24" + }, + { + "asset": "js/secrets-reveal.js", + "package": "ZB.MOM.WW.Secrets.Ui", + "http": 200, + "sha256": "7d5dd46f1add9e1c52556d6005d0049db2b4ac049ca94c5ee01966e05cf53246" + }, + { + "runtimeAssembly": "ZB.MOM.WW.Secrets.Abstractions", + "version": "0.6.6", + "bytesMatchOfficialPackage": true + } +] \ No newline at end of file diff --git a/docs/ui-validation/evidence/mx-final/solution-build.log b/docs/ui-validation/evidence/mx-final/solution-build.log new file mode 100644 index 00000000..78a34585 --- /dev/null +++ b/docs/ui-validation/evidence/mx-final/solution-build.log @@ -0,0 +1,11 @@ + ZB.MOM.WW.MxGateway.Contracts -> /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Contracts/bin/Debug/net48/ZB.MOM.WW.MxGateway.Contracts.dll + ZB.MOM.WW.MxGateway.Contracts -> /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Contracts/bin/Debug/net10.0/ZB.MOM.WW.MxGateway.Contracts.dll + ZB.MOM.WW.MxGateway.Server -> /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server/bin/Debug/net10.0/ZB.MOM.WW.MxGateway.Server.dll + ZB.MOM.WW.MxGateway.IntegrationTests -> /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.IntegrationTests/bin/Debug/net10.0/ZB.MOM.WW.MxGateway.IntegrationTests.dll + ZB.MOM.WW.MxGateway.Tests -> /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Tests/bin/Debug/net10.0/ZB.MOM.WW.MxGateway.Tests.dll + +Build succeeded. + 0 Warning(s) + 0 Error(s) + +Time Elapsed 00:00:01.59 diff --git a/docs/ui-validation/evidence/mx-final/targeted-final.log b/docs/ui-validation/evidence/mx-final/targeted-final.log new file mode 100644 index 00000000..5bd401b5 --- /dev/null +++ b/docs/ui-validation/evidence/mx-final/targeted-final.log @@ -0,0 +1,7 @@ + ZB.MOM.WW.MxGateway.Contracts -> /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Contracts/bin/Debug/net10.0/ZB.MOM.WW.MxGateway.Contracts.dll + ZB.MOM.WW.MxGateway.Server -> /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server/bin/Debug/net10.0/ZB.MOM.WW.MxGateway.Server.dll + ZB.MOM.WW.MxGateway.Tests -> /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Tests/bin/Debug/net10.0/ZB.MOM.WW.MxGateway.Tests.dll +Test run for /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Tests/bin/Debug/net10.0/ZB.MOM.WW.MxGateway.Tests.dll (.NETCoreApp,Version=v10.0) +A total of 1 test files matched the specified pattern. + +Passed! - Failed: 0, Passed: 9, Skipped: 0, Total: 9, Duration: 32 ms - ZB.MOM.WW.MxGateway.Tests.dll (net10.0) diff --git a/docs/ui-validation/evidence/mx04/browser-first.log b/docs/ui-validation/evidence/mx04/browser-first.log new file mode 100644 index 00000000..ec81850d --- /dev/null +++ b/docs/ui-validation/evidence/mx04/browser-first.log @@ -0,0 +1,37 @@ +{ + "cases": 9, + "overflow": [], + "firstViewportMessages": [ + [ + "mixed", + 1440, + { + "x": 924, + "y": 160.734375, + "width": 480.609375, + "withinFirstViewport": true + } + ], + [ + "mixed", + 390, + { + "x": 450.1875, + "y": 237.84375, + "width": 333, + "withinFirstViewport": false + } + ], + [ + "mixed", + 720, + { + "x": 456.578125, + "y": 204.234375, + "width": 333.0078125, + "withinFirstViewport": false + } + ] + ], + "errors": [] +} diff --git a/docs/ui-validation/evidence/mx04/confirmation.log b/docs/ui-validation/evidence/mx04/confirmation.log new file mode 100644 index 00000000..30a27918 --- /dev/null +++ b/docs/ui-validation/evidence/mx04/confirmation.log @@ -0,0 +1,37 @@ +{ + "cases": 9, + "overflow": [], + "firstViewportMessages": [ + [ + "mixed", + 1440, + { + "x": 255.390625, + "y": 147.109375, + "width": 1149.21875, + "withinFirstViewport": true + } + ], + [ + "mixed", + 390, + { + "x": 28.984375, + "y": 224.21875, + "width": 332.03125, + "withinFirstViewport": true + } + ], + [ + "mixed", + 720, + { + "x": 35.3984375, + "y": 190.6171875, + "width": 649.203125, + "withinFirstViewport": true + } + ] + ], + "errors": [] +} diff --git a/docs/ui-validation/evidence/mx04/fixture-build.log b/docs/ui-validation/evidence/mx04/fixture-build.log new file mode 100644 index 00000000..1e9a15dc --- /dev/null +++ b/docs/ui-validation/evidence/mx04/fixture-build.log @@ -0,0 +1,11 @@ + Determining projects to restore... + All projects are up-to-date for restore. + ZB.MOM.WW.MxGateway.Contracts -> /tmp/mx-ui-overview-artifacts/bin/ZB.MOM.WW.MxGateway.Contracts/release_net10.0/ZB.MOM.WW.MxGateway.Contracts.dll + ZB.MOM.WW.MxGateway.Server -> /tmp/mx-ui-overview-artifacts/bin/ZB.MOM.WW.MxGateway.Server/release/ZB.MOM.WW.MxGateway.Server.dll + MxUiCanary -> /tmp/mx-ui-overview-artifacts/bin/MxUiCanary/release/MxUiCanary.dll + +Build succeeded. + 0 Warning(s) + 0 Error(s) + +Time Elapsed 00:00:00.99 diff --git a/docs/ui-validation/evidence/mx04/green.log b/docs/ui-validation/evidence/mx04/green.log new file mode 100644 index 00000000..81615a50 --- /dev/null +++ b/docs/ui-validation/evidence/mx04/green.log @@ -0,0 +1,9 @@ + Determining projects to restore... + All projects are up-to-date for restore. + ZB.MOM.WW.MxGateway.Contracts -> /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Contracts/bin/Release/net10.0/ZB.MOM.WW.MxGateway.Contracts.dll + ZB.MOM.WW.MxGateway.Server -> /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server/bin/Release/net10.0/ZB.MOM.WW.MxGateway.Server.dll + ZB.MOM.WW.MxGateway.Tests -> /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Tests/bin/Release/net10.0/ZB.MOM.WW.MxGateway.Tests.dll +Test run for /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Tests/bin/Release/net10.0/ZB.MOM.WW.MxGateway.Tests.dll (.NETCoreApp,Version=v10.0) +A total of 1 test files matched the specified pattern. + +Passed! - Failed: 0, Passed: 3, Skipped: 0, Total: 3, Duration: 62 ms - ZB.MOM.WW.MxGateway.Tests.dll (net10.0) diff --git a/docs/ui-validation/evidence/mx04/red.log b/docs/ui-validation/evidence/mx04/red.log new file mode 100644 index 00000000..972a8d38 --- /dev/null +++ b/docs/ui-validation/evidence/mx04/red.log @@ -0,0 +1,27 @@ + Determining projects to restore... + All projects are up-to-date for restore. + ZB.MOM.WW.MxGateway.Contracts -> /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Contracts/bin/Release/net10.0/ZB.MOM.WW.MxGateway.Contracts.dll + ZB.MOM.WW.MxGateway.Server -> /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server/bin/Release/net10.0/ZB.MOM.WW.MxGateway.Server.dll + ZB.MOM.WW.MxGateway.Tests -> /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Tests/bin/Release/net10.0/ZB.MOM.WW.MxGateway.Tests.dll +Test run for /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Tests/bin/Release/net10.0/ZB.MOM.WW.MxGateway.Tests.dll (.NETCoreApp,Version=v10.0) +A total of 1 test files matched the specified pattern. +[xUnit.net 00:00:00.21] ZB.MOM.WW.MxGateway.Tests.Dashboard.DashboardHomeRenderTests.LongFault_HasKeyboardDisclosureAndEscapedCompleteDiagnostic [FAIL] +[xUnit.net 00:00:00.21] ZB.MOM.WW.MxGateway.Tests.Dashboard.DashboardHomeRenderTests.FaultSnapshot_LeadsWithActionableFaultAndPreservesAllCounters [FAIL] + Failed ZB.MOM.WW.MxGateway.Tests.Dashboard.DashboardHomeRenderTests.LongFault_HasKeyboardDisclosureAndEscapedCompleteDiagnostic [2 ms] + Error Message: + Assert.Contains() Failure: Sub-string not found +String: "
<"··· +Not found: "
<"··· +Not found: "href="sessions/fixture-session"" + Stack Trace: + at ZB.MOM.WW.MxGateway.Tests.Dashboard.DashboardHomeRenderTests.FaultSnapshot_LeadsWithActionableFaultAndPreservesAllCounters() in /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Tests/Dashboard/DashboardHomeRenderTests.cs:line 21 +--- End of stack trace from previous location --- + +Failed! - Failed: 2, Passed: 1, Skipped: 0, Total: 3, Duration: 40 ms - ZB.MOM.WW.MxGateway.Tests.dll (net10.0) diff --git a/docs/ui-validation/evidence/mx05-06-08/initial-fixture-no-child.log b/docs/ui-validation/evidence/mx05-06-08/initial-fixture-no-child.log new file mode 100644 index 00000000..506fe32b --- /dev/null +++ b/docs/ui-validation/evidence/mx05-06-08/initial-fixture-no-child.log @@ -0,0 +1,30 @@ +Traceback (most recent call last): + File "/Users/dohertj2/Desktop/MxAccessGateway/docs/ui-validation/final_browser.py", line 16, in + before=page.request.get(BASE+'/fixtures/browse-counts').json()['attempts'];page.request.post(BASE+'/fixtures/fail-next-browse');page.get_by_role('button',name='Expand Pump01',exact=True).click();retry=page.get_by_role('button',name='Retry loading Pump01',exact=True);retry.wait_for() + ~~~~~~~~~~~~~~^^ + File "/opt/homebrew/lib/python3.14/site-packages/playwright/sync_api/_generated.py", line 18074, in wait_for + self._sync(self._impl_obj.wait_for(timeout=timeout, state=state)) + ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_sync_base.py", line 115, in _sync + return task.result() + ~~~~~~~~~~~^^ + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_locator.py", line 710, in wait_for + await self._frame.wait_for_selector( + self._selector, strict=True, timeout=timeout, state=state + ) + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_frame.py", line 369, in wait_for_selector + await self._channel.send( + "waitForSelector", self._timeout, locals_to_params(locals()) + ) + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_connection.py", line 69, in send + return await self._connection.wrap_api_call( + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ...<3 lines>... + ) + ^ + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_connection.py", line 559, in wrap_api_call + raise rewrite_error(error, f"{parsed_st['apiName']}: {error}") from None +playwright._impl._errors.TimeoutError: Locator.wait_for: Timeout 30000ms exceeded. +Call log: + - waiting for get_by_role("button", name="Retry loading Pump01", exact=True) to be visible + diff --git a/docs/ui-validation/evidence/mx05-06-08/recovery-1024-zoom1.png b/docs/ui-validation/evidence/mx05-06-08/recovery-1024-zoom1.png new file mode 100644 index 00000000..16c4d7e8 Binary files /dev/null and b/docs/ui-validation/evidence/mx05-06-08/recovery-1024-zoom1.png differ diff --git a/docs/ui-validation/evidence/mx05-06-08/recovery-1440-zoom1.png b/docs/ui-validation/evidence/mx05-06-08/recovery-1440-zoom1.png new file mode 100644 index 00000000..78f290d1 Binary files /dev/null and b/docs/ui-validation/evidence/mx05-06-08/recovery-1440-zoom1.png differ diff --git a/docs/ui-validation/evidence/mx05-06-08/recovery-1440-zoom2.png b/docs/ui-validation/evidence/mx05-06-08/recovery-1440-zoom2.png new file mode 100644 index 00000000..ed3768fd Binary files /dev/null and b/docs/ui-validation/evidence/mx05-06-08/recovery-1440-zoom2.png differ diff --git a/docs/ui-validation/evidence/mx05-06-08/recovery-390-zoom1.png b/docs/ui-validation/evidence/mx05-06-08/recovery-390-zoom1.png new file mode 100644 index 00000000..256f0316 Binary files /dev/null and b/docs/ui-validation/evidence/mx05-06-08/recovery-390-zoom1.png differ diff --git a/docs/ui-validation/evidence/mx05-06-08/results.json b/docs/ui-validation/evidence/mx05-06-08/results.json new file mode 100644 index 00000000..511a680c --- /dev/null +++ b/docs/ui-validation/evidence/mx05-06-08/results.json @@ -0,0 +1,274 @@ +{ + "cases": [ + { + "case": "retry", + "width": 1440, + "dpr": 1, + "attemptDelta": 2, + "watchRetained": true, + "focusStable": true + }, + { + "case": "navigation", + "principal": "admin", + "width": 1440, + "hrefs": [ + "/", + "/sessions", + "/workers", + "/events", + "/alarms", + "/galaxy", + "/browse", + "/apikeys", + "/admin/secrets", + "/settings" + ], + "footerKeyboardReachable": true + }, + { + "case": "navigation", + "principal": "viewer", + "width": 1440, + "hrefs": [ + "/", + "/sessions", + "/workers", + "/events", + "/alarms", + "/galaxy", + "/browse", + "/apikeys", + "/settings" + ], + "footerKeyboardReachable": true + }, + { + "case": "navigation", + "principal": "anonymous", + "width": 1440, + "hrefs": [ + "/", + "/sessions", + "/workers", + "/events", + "/galaxy", + "/browse", + "/apikeys", + "/settings", + "/login" + ], + "footerKeyboardReachable": true + }, + { + "case": "retry", + "width": 1024, + "dpr": 1, + "attemptDelta": 2, + "watchRetained": true, + "focusStable": true + }, + { + "case": "navigation", + "principal": "admin", + "width": 1024, + "hrefs": [ + "/", + "/sessions", + "/workers", + "/events", + "/alarms", + "/galaxy", + "/browse", + "/apikeys", + "/admin/secrets", + "/settings" + ], + "footerKeyboardReachable": true + }, + { + "case": "navigation", + "principal": "viewer", + "width": 1024, + "hrefs": [ + "/", + "/sessions", + "/workers", + "/events", + "/alarms", + "/galaxy", + "/browse", + "/apikeys", + "/settings" + ], + "footerKeyboardReachable": true + }, + { + "case": "navigation", + "principal": "anonymous", + "width": 1024, + "hrefs": [ + "/", + "/sessions", + "/workers", + "/events", + "/galaxy", + "/browse", + "/apikeys", + "/settings", + "/login" + ], + "footerKeyboardReachable": true + }, + { + "case": "retry", + "width": 390, + "dpr": 1, + "attemptDelta": 2, + "watchRetained": true, + "focusStable": true + }, + { + "case": "navigation", + "principal": "admin", + "width": 390, + "hrefs": [ + "/", + "/sessions", + "/workers", + "/events", + "/alarms", + "/galaxy", + "/browse", + "/apikeys", + "/admin/secrets", + "/settings" + ], + "footerKeyboardReachable": true + }, + { + "case": "navigation", + "principal": "viewer", + "width": 390, + "hrefs": [ + "/", + "/sessions", + "/workers", + "/events", + "/alarms", + "/galaxy", + "/browse", + "/apikeys", + "/settings" + ], + "footerKeyboardReachable": true + }, + { + "case": "navigation", + "principal": "anonymous", + "width": 390, + "hrefs": [ + "/", + "/sessions", + "/workers", + "/events", + "/galaxy", + "/browse", + "/apikeys", + "/settings", + "/login" + ], + "footerKeyboardReachable": true + }, + { + "case": "retry", + "width": 720, + "dpr": 2, + "attemptDelta": 2, + "watchRetained": true, + "focusStable": true + }, + { + "case": "navigation", + "principal": "admin", + "width": 720, + "hrefs": [ + "/", + "/sessions", + "/workers", + "/events", + "/alarms", + "/galaxy", + "/browse", + "/apikeys", + "/admin/secrets", + "/settings" + ], + "footerKeyboardReachable": true + }, + { + "case": "navigation", + "principal": "viewer", + "width": 720, + "hrefs": [ + "/", + "/sessions", + "/workers", + "/events", + "/alarms", + "/galaxy", + "/browse", + "/apikeys", + "/settings" + ], + "footerKeyboardReachable": true + }, + { + "case": "navigation", + "principal": "anonymous", + "width": 720, + "hrefs": [ + "/", + "/sessions", + "/workers", + "/events", + "/galaxy", + "/browse", + "/apikeys", + "/settings", + "/login" + ], + "footerKeyboardReachable": true + }, + { + "case": "reduced-motion", + "elements": [ + { + "animation": "none", + "opacity": "1" + }, + { + "animation": "none", + "opacity": "1" + }, + { + "animation": "none", + "opacity": "1" + }, + { + "animation": "none", + "opacity": "1" + }, + { + "animation": "none", + "opacity": "1" + }, + { + "animation": "none", + "opacity": "1" + } + ] + } + ], + "errors": [] +} \ No newline at end of file diff --git a/docs/ui-validation/evidence/mx05/after-states.png b/docs/ui-validation/evidence/mx05/after-states.png new file mode 100644 index 00000000..286a5926 Binary files /dev/null and b/docs/ui-validation/evidence/mx05/after-states.png differ diff --git a/docs/ui-validation/evidence/mx05/before-states.png b/docs/ui-validation/evidence/mx05/before-states.png new file mode 100644 index 00000000..65a225a6 Binary files /dev/null and b/docs/ui-validation/evidence/mx05/before-states.png differ diff --git a/docs/ui-validation/evidence/mx05/primary-before-removal.json b/docs/ui-validation/evidence/mx05/primary-before-removal.json new file mode 100644 index 00000000..5724913e --- /dev/null +++ b/docs/ui-validation/evidence/mx05/primary-before-removal.json @@ -0,0 +1,78 @@ +{ + "withLocalPrimary": { + "normal": { + "color": "rgb(255, 255, 255)", + "backgroundColor": "rgb(47, 95, 208)", + "borderColor": "rgb(47, 95, 208)", + "outlineColor": "rgb(255, 255, 255)", + "outlineWidth": "0px", + "boxShadow": "none", + "opacity": "1" + }, + "hover": { + "color": "rgb(255, 255, 255)", + "backgroundColor": "rgb(30, 63, 153)", + "borderColor": "rgb(30, 63, 153)", + "outlineColor": "rgb(255, 255, 255)", + "outlineWidth": "0px", + "boxShadow": "none", + "opacity": "1" + }, + "focus": { + "color": "rgb(255, 255, 255)", + "backgroundColor": "rgb(30, 63, 153)", + "borderColor": "rgb(30, 63, 153)", + "outlineColor": "rgb(30, 63, 153)", + "outlineWidth": "2px", + "boxShadow": "none", + "opacity": "1" + }, + "disabled": { + "color": "rgb(255, 255, 255)", + "backgroundColor": "rgb(47, 95, 208)", + "borderColor": "rgb(47, 95, 208)", + "outlineColor": "rgb(255, 255, 255)", + "outlineWidth": "0px", + "boxShadow": "none", + "opacity": "0.65" + } + }, + "withoutLocalPrimary": { + "normal": { + "color": "rgb(255, 255, 255)", + "backgroundColor": "rgb(47, 95, 208)", + "borderColor": "rgb(47, 95, 208)", + "outlineColor": "rgb(255, 255, 255)", + "outlineWidth": "0px", + "boxShadow": "none", + "opacity": "1" + }, + "hover": { + "color": "rgb(255, 255, 255)", + "backgroundColor": "rgb(30, 63, 153)", + "borderColor": "rgb(30, 63, 153)", + "outlineColor": "rgb(255, 255, 255)", + "outlineWidth": "0px", + "boxShadow": "none", + "opacity": "1" + }, + "focus": { + "color": "rgb(255, 255, 255)", + "backgroundColor": "rgb(30, 63, 153)", + "borderColor": "rgb(30, 63, 153)", + "outlineColor": "rgb(30, 63, 153)", + "outlineWidth": "2px", + "boxShadow": "none", + "opacity": "1" + }, + "disabled": { + "color": "rgb(255, 255, 255)", + "backgroundColor": "rgb(47, 95, 208)", + "borderColor": "rgb(47, 95, 208)", + "outlineColor": "rgb(255, 255, 255)", + "outlineWidth": "0px", + "boxShadow": "none", + "opacity": "0.65" + } + } +} \ No newline at end of file diff --git a/docs/ui-validation/evidence/mx05/style-confirmation.json b/docs/ui-validation/evidence/mx05/style-confirmation.json new file mode 100644 index 00000000..c5d2fce1 --- /dev/null +++ b/docs/ui-validation/evidence/mx05/style-confirmation.json @@ -0,0 +1,282 @@ +{ + "before": { + "texts": [ + { + "text": "Good", + "fg": "rgb(47, 158, 68)", + "bg": "rgb(233, 246, 236)", + "contrast": 3.0940123100031176 + }, + { + "text": "Bad", + "fg": "rgb(224, 49, 49)", + "bg": "rgb(252, 234, 234)", + "contrast": 3.889060446727155 + }, + { + "text": "Active", + "fg": "rgb(224, 49, 49)", + "bg": "rgb(252, 234, 234)", + "contrast": 3.889060446727155 + }, + { + "text": "Acknowledged", + "fg": "rgb(232, 146, 12)", + "bg": "rgb(253, 241, 221)", + "contrast": 2.1996593071409705 + }, + { + "text": "Unknown", + "fg": "rgb(134, 142, 150)", + "bg": "rgb(238, 240, 242)", + "contrast": 2.906981512371258 + }, + { + "text": "Secondary text", + "fg": "rgb(98, 105, 112)", + "bg": "rgb(255, 255, 255)", + "contrast": 5.564484353037145 + }, + { + "text": "Success text", + "fg": "rgb(35, 111, 52)", + "bg": "rgb(255, 255, 255)", + "contrast": 6.185881447238118 + }, + { + "text": "Warning text", + "fg": "rgb(133, 80, 0)", + "bg": "rgb(255, 255, 255)", + "contrast": 6.6777466698617465 + }, + { + "text": "Danger text", + "fg": "rgb(180, 33, 33)", + "bg": "rgb(255, 255, 255)", + "contrast": 6.603434368361208 + }, + { + "text": "Information text", + "fg": "rgb(30, 63, 153)", + "bg": "rgb(255, 255, 255)", + "contrast": 9.433165060131532 + }, + { + "text": "Success notice", + "fg": "rgb(47, 158, 68)", + "bg": "rgb(233, 246, 236)", + "contrast": 3.0940123100031176 + }, + { + "text": "Error notice", + "fg": "rgb(224, 49, 49)", + "bg": "rgb(252, 234, 234)", + "contrast": 3.889060446727155 + }, + { + "text": "Information notice", + "fg": "rgb(30, 63, 153)", + "bg": "rgb(231, 236, 251)", + "contrast": 7.990777005942016 + }, + { + "text": "Warning notice", + "fg": "rgb(133, 80, 0)", + "bg": "rgb(253, 241, 221)", + "contrast": 5.979044404341219 + } + ], + "states": { + "normal": { + "fg": "rgb(255, 255, 255)", + "bg": "rgb(47, 95, 208)", + "border": "rgb(47, 95, 208)", + "outline": "0px", + "outlineColor": "rgb(255, 255, 255)", + "disabled": false, + "busy": "false" + }, + "hover": { + "fg": "rgb(255, 255, 255)", + "bg": "rgb(30, 63, 153)", + "border": "rgb(30, 63, 153)", + "outline": "0px", + "outlineColor": "rgb(255, 255, 255)", + "disabled": false, + "busy": "false" + }, + "active": { + "fg": "rgb(255, 255, 255)", + "bg": "rgb(30, 63, 153)", + "border": "rgb(30, 63, 153)", + "outline": "0px", + "outlineColor": "rgb(255, 255, 255)", + "disabled": false, + "busy": "false" + }, + "pointerFocus": { + "fg": "rgb(255, 255, 255)", + "bg": "rgb(30, 63, 153)", + "border": "rgb(30, 63, 153)", + "outline": "0px", + "outlineColor": "rgb(255, 255, 255)", + "disabled": false, + "busy": "false" + }, + "focus": { + "fg": "rgb(255, 255, 255)", + "bg": "rgb(30, 63, 153)", + "border": "rgb(30, 63, 153)", + "outline": "2px", + "outlineColor": "rgb(30, 63, 153)", + "disabled": false, + "busy": "false" + } + }, + "fieldFocus": { + "outline": "2px", + "color": "rgb(30, 63, 153)", + "shadow": "rgba(0, 0, 0, 0) 0px 0px 0px 0px" + } + }, + "after": { + "texts": [ + { + "text": "Good", + "fg": "rgb(35, 111, 52)", + "bg": "rgb(233, 246, 236)", + "contrast": 5.554998206317173 + }, + { + "text": "Bad", + "fg": "rgb(180, 33, 33)", + "bg": "rgb(252, 234, 234)", + "contrast": 5.6903741760936315 + }, + { + "text": "Active", + "fg": "rgb(180, 33, 33)", + "bg": "rgb(252, 234, 234)", + "contrast": 5.6903741760936315 + }, + { + "text": "Acknowledged", + "fg": "rgb(133, 80, 0)", + "bg": "rgb(253, 241, 221)", + "contrast": 5.979044404341219 + }, + { + "text": "Unknown", + "fg": "rgb(83, 93, 102)", + "bg": "rgb(238, 240, 242)", + "contrast": 5.881363117248676 + }, + { + "text": "Secondary text", + "fg": "rgb(98, 105, 112)", + "bg": "rgb(255, 255, 255)", + "contrast": 5.564484353037145 + }, + { + "text": "Success text", + "fg": "rgb(35, 111, 52)", + "bg": "rgb(255, 255, 255)", + "contrast": 6.185881447238118 + }, + { + "text": "Warning text", + "fg": "rgb(133, 80, 0)", + "bg": "rgb(255, 255, 255)", + "contrast": 6.6777466698617465 + }, + { + "text": "Danger text", + "fg": "rgb(180, 33, 33)", + "bg": "rgb(255, 255, 255)", + "contrast": 6.603434368361208 + }, + { + "text": "Information text", + "fg": "rgb(30, 63, 153)", + "bg": "rgb(255, 255, 255)", + "contrast": 9.433165060131532 + }, + { + "text": "Success notice", + "fg": "rgb(35, 111, 52)", + "bg": "rgb(233, 246, 236)", + "contrast": 5.554998206317173 + }, + { + "text": "Error notice", + "fg": "rgb(180, 33, 33)", + "bg": "rgb(252, 234, 234)", + "contrast": 5.6903741760936315 + }, + { + "text": "Information notice", + "fg": "rgb(30, 63, 153)", + "bg": "rgb(231, 236, 251)", + "contrast": 7.990777005942016 + }, + { + "text": "Warning notice", + "fg": "rgb(133, 80, 0)", + "bg": "rgb(253, 241, 221)", + "contrast": 5.979044404341219 + } + ], + "states": { + "normal": { + "fg": "rgb(255, 255, 255)", + "bg": "rgb(47, 95, 208)", + "border": "rgb(47, 95, 208)", + "outline": "0px", + "outlineColor": "rgb(255, 255, 255)", + "disabled": false, + "busy": "false" + }, + "hover": { + "fg": "rgb(255, 255, 255)", + "bg": "rgb(30, 63, 153)", + "border": "rgb(30, 63, 153)", + "outline": "0px", + "outlineColor": "rgb(255, 255, 255)", + "disabled": false, + "busy": "false" + }, + "active": { + "fg": "rgb(255, 255, 255)", + "bg": "rgb(30, 63, 153)", + "border": "rgb(30, 63, 153)", + "outline": "0px", + "outlineColor": "rgb(255, 255, 255)", + "disabled": false, + "busy": "false" + }, + "pointerFocus": { + "fg": "rgb(255, 255, 255)", + "bg": "rgb(30, 63, 153)", + "border": "rgb(30, 63, 153)", + "outline": "0px", + "outlineColor": "rgb(255, 255, 255)", + "disabled": false, + "busy": "false" + }, + "focus": { + "fg": "rgb(255, 255, 255)", + "bg": "rgb(30, 63, 153)", + "border": "rgb(30, 63, 153)", + "outline": "2px", + "outlineColor": "rgb(30, 63, 153)", + "disabled": false, + "busy": "false" + } + }, + "fieldFocus": { + "outline": "2px", + "color": "rgb(30, 63, 153)", + "shadow": "none" + } + } +} \ No newline at end of file diff --git a/docs/ui-validation/evidence/mx06-coarse-final/recovery-390-zoom1.png b/docs/ui-validation/evidence/mx06-coarse-final/recovery-390-zoom1.png new file mode 100644 index 00000000..cd77d4cd Binary files /dev/null and b/docs/ui-validation/evidence/mx06-coarse-final/recovery-390-zoom1.png differ diff --git a/docs/ui-validation/evidence/mx06-coarse-final/results.json b/docs/ui-validation/evidence/mx06-coarse-final/results.json new file mode 100644 index 00000000..2c99a176 --- /dev/null +++ b/docs/ui-validation/evidence/mx06-coarse-final/results.json @@ -0,0 +1,42 @@ +{ + "cases": [ + { + "case": "retry", + "width": 390, + "dpr": 1, + "attemptDelta": 2, + "watchRetained": true, + "focusStable": true + }, + { + "case": "reduced-motion", + "elements": [ + { + "animation": "none", + "opacity": "1" + }, + { + "animation": "none", + "opacity": "1" + }, + { + "animation": "none", + "opacity": "1" + }, + { + "animation": "none", + "opacity": "1" + }, + { + "animation": "none", + "opacity": "1" + }, + { + "animation": "none", + "opacity": "1" + } + ] + } + ], + "errors": [] +} \ No newline at end of file diff --git a/docs/ui-validation/evidence/mx06-recheck/peer-tree-lifecycle.log b/docs/ui-validation/evidence/mx06-recheck/peer-tree-lifecycle.log new file mode 100644 index 00000000..e929f414 --- /dev/null +++ b/docs/ui-validation/evidence/mx06-recheck/peer-tree-lifecycle.log @@ -0,0 +1,10 @@ + Determining projects to restore... + All projects are up-to-date for restore. + ZB.MOM.WW.MxGateway.Contracts -> /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Contracts/bin/Release/net10.0/ZB.MOM.WW.MxGateway.Contracts.dll + ZB.MOM.WW.MxGateway.Server -> /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Server/bin/Release/net10.0/ZB.MOM.WW.MxGateway.Server.dll + ZB.MOM.WW.MxGateway.Tests -> /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Tests/bin/Release/net10.0/ZB.MOM.WW.MxGateway.Tests.dll +Test run for /Users/dohertj2/Desktop/MxAccessGateway/src/ZB.MOM.WW.MxGateway.Tests/bin/Release/net10.0/ZB.MOM.WW.MxGateway.Tests.dll (.NETCoreApp,Version=v10.0) +A total of 1 test files matched the specified pattern. +Results File: /Users/dohertj2/Desktop/MxAccessGateway/docs/ui-validation/evidence/mx06-recheck/peer-tree-lifecycle.trx + +Passed! - Failed: 0, Passed: 2, Skipped: 0, Total: 2, Duration: 37 ms - ZB.MOM.WW.MxGateway.Tests.dll (net10.0) diff --git a/docs/ui-validation/evidence/mx06-recheck/peer-tree-lifecycle.trx b/docs/ui-validation/evidence/mx06-recheck/peer-tree-lifecycle.trx new file mode 100644 index 00000000..cefc5905 --- /dev/null +++ b/docs/ui-validation/evidence/mx06-recheck/peer-tree-lifecycle.trx @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.1.4+50e68bbb8b (64-bit .NET 10.0.14) +[xUnit.net 00:00:00.07] Discovering: ZB.MOM.WW.MxGateway.Tests +[xUnit.net 00:00:00.15] Discovered: ZB.MOM.WW.MxGateway.Tests +[xUnit.net 00:00:00.16] Starting: ZB.MOM.WW.MxGateway.Tests +[xUnit.net 00:00:00.21] Finished: ZB.MOM.WW.MxGateway.Tests + + + + \ No newline at end of file diff --git a/docs/ui-validation/evidence/mx06-recheck/recovery-390-zoom1.png b/docs/ui-validation/evidence/mx06-recheck/recovery-390-zoom1.png new file mode 100644 index 00000000..256f0316 Binary files /dev/null and b/docs/ui-validation/evidence/mx06-recheck/recovery-390-zoom1.png differ diff --git a/docs/ui-validation/evidence/mx06-recheck/results.json b/docs/ui-validation/evidence/mx06-recheck/results.json new file mode 100644 index 00000000..2c99a176 --- /dev/null +++ b/docs/ui-validation/evidence/mx06-recheck/results.json @@ -0,0 +1,42 @@ +{ + "cases": [ + { + "case": "retry", + "width": 390, + "dpr": 1, + "attemptDelta": 2, + "watchRetained": true, + "focusStable": true + }, + { + "case": "reduced-motion", + "elements": [ + { + "animation": "none", + "opacity": "1" + }, + { + "animation": "none", + "opacity": "1" + }, + { + "animation": "none", + "opacity": "1" + }, + { + "animation": "none", + "opacity": "1" + }, + { + "animation": "none", + "opacity": "1" + }, + { + "animation": "none", + "opacity": "1" + } + ] + } + ], + "errors": [] +} \ No newline at end of file diff --git a/docs/ui-validation/fault_identity.py b/docs/ui-validation/fault_identity.py new file mode 100644 index 00000000..93821364 --- /dev/null +++ b/docs/ui-validation/fault_identity.py @@ -0,0 +1,10 @@ +import json,re,sys +from pathlib import Path +from playwright.sync_api import sync_playwright,expect +ROOT=Path(__file__).resolve().parent;BASE=re.search(r'Now listening on: (http://127.0.0.1:\d+)',Path('/tmp/mx-ui-final-host.log').read_text()).group(1);OUT=ROOT/'evidence/mx-fault-identity';OUT.mkdir(exist_ok=True);rows=[] +with sync_playwright() as p: + b=p.chromium.launch(channel='chromium',headless=True);page=b.new_page() + for mode in ['compact','table']: + page.goto(BASE+'/fault-identity-fixture');page.wait_for_selector('html[data-mx-ready="true"]');page.evaluate('Promise.all(document.getAnimations().map(a=>a.finished.catch(()=>{})))');container=page.locator('[data-fault-mode='+mode+']');row=container.locator('article' if mode=='compact' else 'tbody tr').filter(has=page.locator('a[href="sessions/session-a"]'));detail=row.locator('details');detail.locator('summary').click();pre=detail.locator('pre');page.get_by_role('button',name='Arm synthetic next snapshot').click();pre.focus();handle=pre.element_handle();expect(page.get_by_role('status')).to_have_text('Snapshot 1');rows.append({'mode':mode,'aStillOpen':detail.get_attribute('open') is not None,'focusedDiagnosticStillSessionA':handle.evaluate('e=>document.activeElement===e && e.closest("article,tr").querySelector("a").getAttribute("href")==="sessions/session-a"'),'originalElementStillConnected':handle.evaluate('e=>e.isConnected')}) + b.close() +(OUT/(sys.argv[1]+'.json')).write_text(json.dumps(rows,indent=2));print(json.dumps(rows));assert all(r['aStillOpen'] and r['focusedDiagnosticStillSessionA'] for r in rows) diff --git a/docs/ui-validation/final_browser.py b/docs/ui-validation/final_browser.py new file mode 100644 index 00000000..8538b0bf --- /dev/null +++ b/docs/ui-validation/final_browser.py @@ -0,0 +1,30 @@ +import json,re,sys +from pathlib import Path +from playwright.sync_api import sync_playwright,expect +ROOT=Path(__file__).resolve().parent;BASE=re.search(r'Now listening on: (http://127.0.0.1:\d+)',Path('/tmp/mx-ui-final-host.log').read_text()).group(1);OUT=ROOT/'evidence/mx05-06-08';OUT.mkdir(exist_ok=True);rows=[];errors=[] +sys.path.insert(0,'/Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/theme-1.0.0/canary') +from browser_zoom import zoom_browser,set_browser_zoom +with sync_playwright() as p: + with zoom_browser(p) as (ctx,worker): + page=ctx.new_page();page.on('pageerror',lambda e:errors.append(str(e))) + def goto(path): + page.goto(BASE+path);page.wait_for_selector('html[data-mx-ready="true"]');page.evaluate('document.fonts.ready');page.evaluate('Promise.all(document.getAnimations().map(a=>a.finished.catch(()=>{})))') + for width,zoom in [(1440,1),(1024,1),(390,1),(1440,2)]: + page.set_viewport_size({'width':width,'height':900});goto('/browse-fixture');set_browser_zoom(worker,page,zoom) + page.get_by_role('button',name='Expand SyntheticPlant',exact=True).click();page.get_by_role('button',name='Expand Pump01',exact=True).wait_for();page.get_by_role('button',name='Expand Sibling01',exact=True).click() + page.get_by_role('button',name='Watch Sibling01.PV',exact=True).click();watched=page.get_by_role('region',name='Watched attribute values',exact=True);watched.wait_for() + before=page.request.get(BASE+'/fixtures/browse-counts').json()['attempts'];page.request.post(BASE+'/fixtures/fail-next-browse');page.get_by_role('button',name='Expand Pump01',exact=True).click();retry=page.get_by_role('button',name='Retry loading Pump01',exact=True);retry.wait_for() + notice=page.locator('.dashboard-diagnostic');notice.locator('summary').focus();page.keyboard.press('Enter');detail=notice.get_by_role('region');assert len(detail.inner_text())>600 and '' in detail.inner_text();assert detail.locator('script').count()==0 + retry.focus();page.keyboard.press('Enter');expect(page.get_by_role('button',name='Watch Pump01.PV',exact=True)).to_be_visible();expect(watched).to_contain_text('Sibling01.PV');expect(page.get_by_role('button',name='Collapse Pump01',exact=True)).to_be_focused();assert page.request.get(BASE+'/fixtures/browse-counts').json()['attempts']==before+2 + assert page.locator('[role="status"]').filter(has_text='Loaded Pump01.').count()==1 + assert page.evaluate('document.documentElement.scrollWidth<=innerWidth');page.screenshot(path=str(OUT/f'recovery-{width}-zoom{zoom}.png'),full_page=False);rows.append({'case':'retry','width':page.evaluate('innerWidth'),'dpr':page.evaluate('devicePixelRatio'),'attemptDelta':2,'watchRetained':True,'focusStable':True}) + for principal in ['admin','viewer','anonymous']: + goto('/layout-fixture?principal='+principal) + if page.evaluate('innerWidth')<992:page.locator('summary.rail-toggle').click() + nav=page.locator('nav.side-rail');expect(nav.get_by_role('link',name='Overview',exact=True)).to_be_visible();expect(nav.get_by_role('link',name='API keys',exact=True)).to_be_visible();assert nav.get_by_role('link',name='Secrets',exact=True).count()==(1 if principal=='admin' else 0);assert nav.get_by_role('link',name='Alarms',exact=True).count()==(0 if principal=='anonymous' else 1) + footer=nav.get_by_role('link',name='Sign in',exact=True) if principal=='anonymous' else nav.get_by_role('button',name='Sign out',exact=True);footer.focus();expect(footer).to_be_focused();footer.scroll_into_view_if_needed();assert page.evaluate('document.documentElement.scrollWidth<=innerWidth');assert page.locator('form[action="/logout"] input[name="__RequestVerificationToken"]').count()==(0 if principal=='anonymous' else 1) + rows.append({'case':'navigation','principal':principal,'width':page.evaluate('innerWidth'),'hrefs':nav.locator('a').evaluate_all('(es)=>es.map(e=>e.getAttribute("href"))'),'footerKeyboardReachable':True}) + set_browser_zoom(worker,page,1) + page.emulate_media(reduced_motion='reduce');goto('/overview-fixture');motion=page.locator('.dashboard-page-header,.metric-grid,.dashboard-section').evaluate_all('(es)=>es.map(e=>({animation:getComputedStyle(e).animationName,opacity:getComputedStyle(e).opacity}))');assert all(r['animation']=='none' and r['opacity']=='1' for r in motion);rows.append({'case':'reduced-motion','elements':motion}) + assert not errors,errors +(OUT/'results.json').write_text(json.dumps({'cases':rows,'errors':errors},indent=2));print(json.dumps({'cases':len(rows),'errors':errors})) diff --git a/docs/ui-validation/final_layout_browser.py b/docs/ui-validation/final_layout_browser.py new file mode 100644 index 00000000..62de4bbe --- /dev/null +++ b/docs/ui-validation/final_layout_browser.py @@ -0,0 +1,30 @@ +import json,re,sys +from pathlib import Path +from playwright.sync_api import sync_playwright,expect +ROOT=Path(__file__).resolve().parent;BASE=re.search(r'Now listening on: (http://127.0.0.1:\d+)',Path('/tmp/mx-ui-final-host.log').read_text()).group(1);OUT=ROOT/'evidence/mx-final-layout';OUT.mkdir(exist_ok=True);rows=[];errors=[] +sys.path.insert(0,'/Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/theme-1.0.0/canary') +from browser_zoom import zoom_browser,set_browser_zoom +with sync_playwright() as p: + with zoom_browser(p) as (ctx,worker): + page=ctx.new_page();page.on('pageerror',lambda e:errors.append(str(e))) + def goto(path): + page.goto(BASE+path);page.wait_for_selector('html[data-mx-ready="true"]');page.evaluate('document.fonts.ready');page.evaluate('Promise.all(document.getAnimations().map(a=>a.finished.catch(()=>{})))') + for width,zoom in [(1440,1),(1024,1),(390,1),(1440,2)]: + page.set_viewport_size({'width':width,'height':900});goto('/browse-fixture');set_browser_zoom(worker,page,zoom) + page.get_by_role('button',name='Expand SyntheticPlant',exact=True).click();page.get_by_role('button',name='Expand Pump01',exact=True).wait_for();page.get_by_role('button',name='Expand Sibling01',exact=True).click() + page.get_by_role('button',name='Watch Sibling01.PV',exact=True).click();watched=page.get_by_role('region',name='Watched attribute values',exact=True);watched.wait_for() + before=page.request.get(BASE+'/fixtures/browse-counts').json()['attempts'];page.request.post(BASE+'/fixtures/fail-next-browse');page.get_by_role('button',name='Expand Pump01',exact=True).click();retry=page.get_by_role('button',name='Retry loading Pump01',exact=True);retry.wait_for() + notice=page.locator('.dashboard-diagnostic');notice.locator('summary').focus();page.keyboard.press('Enter');detail=notice.get_by_role('region');assert len(detail.inner_text())>600 and '' in detail.inner_text();assert detail.locator('script').count()==0 + retry.focus();page.keyboard.press('Enter');expect(page.get_by_role('button',name='Watch Pump01.PV',exact=True)).to_be_visible();expect(watched).to_contain_text('Sibling01.PV');expect(page.get_by_role('button',name='Collapse Pump01',exact=True)).to_be_focused();assert page.request.get(BASE+'/fixtures/browse-counts').json()['attempts']==before+2 + assert page.locator('[role="status"]').filter(has_text='Loaded Pump01.').count()==1 + assert page.evaluate('document.documentElement.scrollWidth<=innerWidth');page.screenshot(path=str(OUT/f'recovery-{width}-zoom{zoom}.png'),full_page=False);rows.append({'case':'retry','width':page.evaluate('innerWidth'),'dpr':page.evaluate('devicePixelRatio'),'attemptDelta':2,'watchRetained':True,'focusStable':True}) + for principal in ['admin','viewer','anonymous']: + goto('/layout-fixture?principal='+principal) + if page.evaluate('innerWidth')<992:page.locator('summary.rail-toggle').click() + nav=page.locator('nav.side-rail');expect(nav.get_by_role('link',name='Overview',exact=True)).to_be_visible();expect(nav.get_by_role('link',name='API keys',exact=True)).to_be_visible();assert nav.get_by_role('link',name='Secrets',exact=True).count()==(1 if principal=='admin' else 0);assert nav.get_by_role('link',name='Alarms',exact=True).count()==(0 if principal=='anonymous' else 1) + footer=nav.get_by_role('link',name='Sign in',exact=True) if principal=='anonymous' else nav.get_by_role('button',name='Sign out',exact=True);footer.focus();expect(footer).to_be_focused();footer.scroll_into_view_if_needed();assert page.evaluate('document.documentElement.scrollWidth<=innerWidth');assert page.locator('form[action="/logout"] input[name="__RequestVerificationToken"]').count()==(0 if principal=='anonymous' else 1) + rows.append({'case':'navigation','principal':principal,'width':page.evaluate('innerWidth'),'hrefs':nav.locator('a').evaluate_all('(es)=>es.map(e=>e.getAttribute("href"))'),'footerKeyboardReachable':True}) + set_browser_zoom(worker,page,1) + page.emulate_media(reduced_motion='reduce');goto('/overview-fixture');motion=page.locator('.dashboard-page-header,.metric-grid,.dashboard-section').evaluate_all('(es)=>es.map(e=>({animation:getComputedStyle(e).animationName,opacity:getComputedStyle(e).opacity}))');assert all(r['animation']=='none' and r['opacity']=='1' for r in motion);rows.append({'case':'reduced-motion','elements':motion}) + assert not errors,errors +(OUT/'results.json').write_text(json.dumps({'cases':rows,'errors':errors},indent=2));print(json.dumps({'cases':len(rows),'errors':errors})) diff --git a/docs/ui-validation/host/Components/ApiKeysFixture.razor b/docs/ui-validation/host/Components/ApiKeysFixture.razor new file mode 100644 index 00000000..65d18f01 --- /dev/null +++ b/docs/ui-validation/host/Components/ApiKeysFixture.razor @@ -0,0 +1,6 @@ +@namespace MxUiCanary.Components +@page "/apikeys" +@layout ZB.MOM.WW.MxGateway.Server.Dashboard.Components.Layout.MainLayout +@inject IJSRuntime JS + +@code { protected override async Task OnAfterRenderAsync(bool firstRender){if(firstRender)await JS.InvokeVoidAsync("mxCanaryReady");} } diff --git a/docs/ui-validation/host/Components/BrowseFixture.razor b/docs/ui-validation/host/Components/BrowseFixture.razor index 31adc5d1..1813ec32 100644 --- a/docs/ui-validation/host/Components/BrowseFixture.razor +++ b/docs/ui-validation/host/Components/BrowseFixture.razor @@ -1,5 +1,7 @@ @namespace MxUiCanary.Components @page "/browse-fixture" +@page "/browse" +@layout ZB.MOM.WW.MxGateway.Server.Dashboard.Components.Layout.MainLayout @inject IJSRuntime JS -

Synthetic cached Galaxy and redacted fixture values. No COM or worker.

+

Synthetic cached Galaxy and redacted fixture values. No COM or worker.

@code { protected override async Task OnAfterRenderAsync(bool firstRender){if(firstRender)await JS.InvokeVoidAsync("mxCanaryReady");} } diff --git a/docs/ui-validation/host/Components/FaultIdentityFixture.razor b/docs/ui-validation/host/Components/FaultIdentityFixture.razor new file mode 100644 index 00000000..9bf0cac5 --- /dev/null +++ b/docs/ui-validation/host/Components/FaultIdentityFixture.razor @@ -0,0 +1,20 @@ +@namespace MxUiCanary.Components +@using ZB.MOM.WW.MxGateway.Server.Dashboard +@page "/fault-identity-fixture" +@implements IDisposable +@inject IJSRuntime JS + +

Fault identity fixture

+ +

Snapshot @_round

+
+
+
+@code { + private int _round;private bool _disposed; + private IReadOnlyList _faults=[Fault("session-a"),Fault("session-b")]; + private static DashboardFaultSummary Fault(string id)=>new("Worker",id,123,"Faulted","Synthetic fault for "+id+" "+new string('x',300),DateTimeOffset.UnixEpoch); + private async Task ArmAsync(){await Task.Delay(1200);if(_disposed)return;_round++;_faults=[Fault("session-c"),Fault("session-b"),Fault("session-a") with{ObservedAt=DateTimeOffset.UnixEpoch.AddMinutes(1)}];} + protected override async Task OnAfterRenderAsync(bool firstRender){if(firstRender)await JS.InvokeVoidAsync("mxCanaryReady");} + public void Dispose()=>_disposed=true; +} diff --git a/docs/ui-validation/host/Components/FixtureBody.razor b/docs/ui-validation/host/Components/FixtureBody.razor index 415ebf8c..9ef52560 100644 --- a/docs/ui-validation/host/Components/FixtureBody.razor +++ b/docs/ui-validation/host/Components/FixtureBody.razor @@ -1,5 +1,5 @@ @namespace MxUiCanary.Components -@page "/" +@page "/native-fixture" @inject IJSRuntime JS diff --git a/docs/ui-validation/host/Components/LayoutFixture.razor b/docs/ui-validation/host/Components/LayoutFixture.razor new file mode 100644 index 00000000..0013610c --- /dev/null +++ b/docs/ui-validation/host/Components/LayoutFixture.razor @@ -0,0 +1,7 @@ +@namespace MxUiCanary.Components +@page "/layout-fixture" +@layout ZB.MOM.WW.MxGateway.Server.Dashboard.Components.Layout.MainLayout +@inject IJSRuntime JS +

Navigation fixture

+

Synthetic principals; links and the logout form are inspected without submitting them.

+@code { protected override async Task OnAfterRenderAsync(bool firstRender){if(firstRender)await JS.InvokeVoidAsync("mxCanaryReady");} } diff --git a/docs/ui-validation/host/Components/OverviewFixture.razor b/docs/ui-validation/host/Components/OverviewFixture.razor index 88990c79..07b39018 100644 --- a/docs/ui-validation/host/Components/OverviewFixture.razor +++ b/docs/ui-validation/host/Components/OverviewFixture.razor @@ -1,5 +1,7 @@ @namespace MxUiCanary.Components @page "/overview-fixture" +@page "/" +@layout ZB.MOM.WW.MxGateway.Server.Dashboard.Components.Layout.MainLayout @inject IJSRuntime JS - + @code { protected override async Task OnAfterRenderAsync(bool firstRender){if(firstRender)await JS.InvokeVoidAsync("mxCanaryReady");} } diff --git a/docs/ui-validation/host/Components/StyleFixture.razor b/docs/ui-validation/host/Components/StyleFixture.razor new file mode 100644 index 00000000..5ca17bd9 --- /dev/null +++ b/docs/ui-validation/host/Components/StyleFixture.razor @@ -0,0 +1,22 @@ +@namespace MxUiCanary.Components +@page "/style-fixture" +@inject IJSRuntime JS + +

Component states

+

Shared components with MX host adapters; no operation provider.

+
+Primary action +Secondary action +Danger action +Disabled action +Busy action +
+ +
+

Good Bad

+

Active Acknowledged Unknown

+

Secondary text Success text Warning text Danger text Information text

+
Success notice
Error notice
Information notice
Warning notice
+
+
+@code { protected override async Task OnAfterRenderAsync(bool firstRender){if(firstRender)await JS.InvokeVoidAsync("mxCanaryReady");} } diff --git a/docs/ui-validation/host/Fakes.cs b/docs/ui-validation/host/Fakes.cs index 9b8b838b..113ddfcc 100644 --- a/docs/ui-validation/host/Fakes.cs +++ b/docs/ui-validation/host/Fakes.cs @@ -71,7 +71,7 @@ using ZB.MOM.WW.MxGateway.Server.Security.Authorization; internal sealed class ManagingApiKeyService : IDashboardApiKeyManagementService { /// - public bool CanManage(ClaimsPrincipal user) => true; + public bool CanManage(ClaimsPrincipal user) => user.IsInRole(DashboardRoles.Admin); /// public Task CreateAsync( @@ -102,15 +102,16 @@ using ZB.MOM.WW.MxGateway.Server.Security.Authorization; Task.FromResult(DashboardApiKeyManagementResult.Fail("not exercised")); } - internal sealed class StubAuthenticationStateProvider : AuthenticationStateProvider + internal sealed class StubAuthenticationStateProvider(Microsoft.AspNetCore.Components.NavigationManager nav) : AuthenticationStateProvider { - /// - public override Task GetAuthenticationStateAsync() => - Task.FromResult(new AuthenticationState(new ClaimsPrincipal(new ClaimsIdentity( - [new Claim(ClaimTypes.Name, "admin-user"), new Claim(ClaimTypes.Role, DashboardRoles.Admin)], - authenticationType: "test", - nameType: ClaimTypes.Name, - roleType: ClaimTypes.Role)))); + public override Task GetAuthenticationStateAsync() + { + var query = Microsoft.AspNetCore.WebUtilities.QueryHelpers.ParseQuery(new Uri(nav.Uri).Query); + string role = query.TryGetValue("principal", out var value) ? value.ToString() : "admin"; + var identity = role == "anonymous" ? new ClaimsIdentity() : new ClaimsIdentity( + [new Claim(ClaimTypes.Name, "fixture-user"), new Claim(ClaimTypes.Role, role == "viewer" ? DashboardRoles.Viewer : DashboardRoles.Admin)], "synthetic"); + return Task.FromResult(new AuthenticationState(new ClaimsPrincipal(identity))); + } } // In-memory Galaxy projection and read-only fake values for the actual BrowsePage. internal sealed class FixtureGalaxyCache : ZB.MOM.WW.GalaxyRepository.IGalaxyHierarchyCache @@ -124,7 +125,7 @@ internal sealed class FixtureGalaxyCache : ZB.MOM.WW.GalaxyRepository.IGalaxyHie pump.Attributes.Add(new ZB.MOM.WW.GalaxyRepository.Grpc.GalaxyAttribute { AttributeName = new string('x', 200), FullTagReference = "Pump01." + new string('x', 200), DataTypeName = "Float" }); var sibling = new ZB.MOM.WW.GalaxyRepository.Grpc.GalaxyObject { GobjectId = 3, ParentGobjectId = 1, TagName = "Sibling01", BrowseName = "Sibling01" }; sibling.Attributes.Add(new ZB.MOM.WW.GalaxyRepository.Grpc.GalaxyAttribute { AttributeName = "PV", FullTagReference = "Sibling01.PV", DataTypeName = "Float" }); - ZB.MOM.WW.GalaxyRepository.Grpc.GalaxyObject[] rows = [plant, pump, sibling]; + ZB.MOM.WW.GalaxyRepository.Grpc.GalaxyObject[] rows = [plant, pump, sibling, new() { GobjectId=4, ParentGobjectId=2, TagName="PumpChild", BrowseName="PumpChild" }]; Current = ZB.MOM.WW.GalaxyRepository.GalaxyHierarchyCacheEntry.Empty with { Status = ZB.MOM.WW.GalaxyRepository.GalaxyCacheStatus.Healthy, Sequence = 1, Objects = rows, Index = ZB.MOM.WW.GalaxyRepository.GalaxyHierarchyIndex.Build(rows), ObjectCount = rows.Length, AttributeCount = 3, @@ -141,3 +142,18 @@ internal sealed class FixtureLiveData : IDashboardLiveDataService public Task QueryAlarmsAsync(CancellationToken cancellationToken) => Task.FromResult(new DashboardAlarmQueryResult([], null, null)); } + +internal sealed class FaultableBrowseService(ZB.MOM.WW.GalaxyRepository.IGalaxyHierarchyCache cache) : IDashboardBrowseService +{ + private readonly DashboardBrowseService _real = new(cache); + public bool FailNext { get; set; } + public int Attempts { get; private set; } + public ulong CurrentCacheSequence => _real.CurrentCacheSequence; + public BrowseLevelResult GetRoots(BrowseFilterArgs filter) => _real.GetRoots(filter); + public BrowseLevelResult GetChildren(int id, BrowseFilterArgs filter) + { + Attempts++; + if (FailNext) { FailNext = false; throw new InvalidOperationException("Synthetic hierarchy outage " + new string('x', 600) + " "); } + return _real.GetChildren(id, filter); + } +} diff --git a/docs/ui-validation/host/Program.cs b/docs/ui-validation/host/Program.cs index 536edf05..9e21d101 100644 --- a/docs/ui-validation/host/Program.cs +++ b/docs/ui-validation/host/Program.cs @@ -1,3 +1,4 @@ +using Microsoft.AspNetCore.DataProtection; using Microsoft.AspNetCore.Components.Authorization; using Microsoft.Extensions.FileProviders; using MxUiCanary.Components; @@ -6,12 +7,20 @@ var builder = WebApplication.CreateBuilder(args); builder.WebHost.UseUrls("http://127.0.0.1:0"); builder.WebHost.UseStaticWebAssets(); builder.Services.AddRazorComponents().AddInteractiveServerComponents(); +builder.Services.AddDataProtection().UseEphemeralDataProtectionProvider(); +builder.Services.AddAuthorizationCore(options => { + ZB.MOM.WW.Secrets.Ui.SecretsAuthorization.AddSecretsAuthorization(options); + options.AddPolicy(DashboardAuthenticationDefaults.AlarmsPolicy, policy => policy.AddRequirements(AuthenticatedDashboardRoleRequirement.AnyDashboardRole)); +}); +builder.Services.AddSingleton(); +builder.Services.AddCascadingAuthenticationState(); builder.Services.AddSingleton(); builder.Services.AddSingleton(); builder.Services.AddSingleton(); -builder.Services.AddSingleton(); +builder.Services.AddScoped(); builder.Services.AddSingleton(); -builder.Services.AddSingleton(); +builder.Services.AddSingleton(); +builder.Services.AddSingleton(s=>s.GetRequiredService()); builder.Services.AddSingleton(); builder.Services.AddSingleton(); builder.Services.AddSingleton(); @@ -25,4 +34,6 @@ app.MapPost("/fixtures/snapshot/{scene}",(string scene, IDashboardSnapshotServic ((StubSnapshotService)source).Scene = scene; return Results.Ok(new { scene, syntheticOnly=true }); }); app.MapGet("/provenance",()=>new { theme=typeof(ZB.MOM.WW.Theme.ThemeShell).Assembly.GetName().Version?.ToString(), syntheticOnly=true }); +app.MapPost("/fixtures/fail-next-browse",(FaultableBrowseService source)=>{source.FailNext=true;return Results.Ok();}); +app.MapGet("/fixtures/browse-counts",(FaultableBrowseService source)=>new{attempts=source.Attempts}); app.Run(); diff --git a/docs/ui-validation/native_dialog_browser.py b/docs/ui-validation/native_dialog_browser.py index b9e0f555..69e1999a 100644 --- a/docs/ui-validation/native_dialog_browser.py +++ b/docs/ui-validation/native_dialog_browser.py @@ -13,7 +13,7 @@ with sync_playwright() as p: for width,zoom in [(1440,1),(1024,1),(390,1),(1440,2)]: page.set_viewport_size({'width':width,'height':900});page.goto(BASE);page.wait_for_selector('html[data-mx-ready="true"]');page.evaluate('document.fonts.ready') set_browser_zoom(worker,page,zoom) - trigger=page.get_by_role('button',name='Create API Key',exact=True);trigger.focus();trigger.press('Enter') + trigger=page.get_by_role('button',name='Create API key',exact=True);trigger.focus();trigger.press('Enter') dialog=page.locator('dialog:modal');dialog.wait_for() page.wait_for_function("document.querySelector('dialog:modal [data-dialog-initial]')===document.activeElement") focus=[] @@ -26,7 +26,7 @@ with sync_playwright() as p: page.screenshot(path=str(OUT/f'create-{width}-zoom{zoom}.png'),full_page=False) results.append({'width':page.evaluate('innerWidth'),'dpr':page.evaluate('devicePixelRatio'),'scroll':page.evaluate('document.documentElement.scrollWidth'),'zoom':zoom,'nativeModal':True,'outsideFocusBlocked':True,'focusSamples':focus,'validationInsideDialog':True}) page.keyboard.press('Escape');page.wait_for_function("!document.querySelector('dialog:modal')") - page.wait_for_function("document.activeElement.textContent.trim()==='Create API Key'") + page.wait_for_function("document.activeElement.textContent.trim()==='Create API key'") set_browser_zoom(worker,page,1) page.set_viewport_size({'width':390,'height':844}) trigger=page.locator('#slow-trigger');trigger.click();page.locator('dialog:modal').wait_for() diff --git a/docs/ui-validation/native_dialog_lifecycle.py b/docs/ui-validation/native_dialog_lifecycle.py index 0810ef08..faaed058 100644 --- a/docs/ui-validation/native_dialog_lifecycle.py +++ b/docs/ui-validation/native_dialog_lifecycle.py @@ -11,7 +11,7 @@ async def main(): requested.set();await release.wait();await route.continue_() await page.route('**/js/dashboard-dialog.js',hold) await page.goto(BASE);await page.wait_for_selector('html[data-mx-ready="true"]') - await page.get_by_role('button',name='Create API Key',exact=True).click();await asyncio.wait_for(requested.wait(),10) + await page.get_by_role('button',name='Create API key',exact=True).click();await asyncio.wait_for(requested.wait(),10) dialog=page.locator('dialog.api-key-create-modal');assert await dialog.count()==1 assert not await dialog.is_visible(), 'Requested native dialog must stay hidden until showModal' # Close the parent while its import is pending. Completion must not resurrect it. @@ -23,7 +23,7 @@ async def main(): assert await page.locator('dialog:modal').count()==0 await page.unroute('**/js/dashboard-dialog.js',hold) # Reopen after disposal, then make the connected trigger unusable before cancel. - trigger=page.get_by_role('button',name='Create API Key',exact=True) + trigger=page.get_by_role('button',name='Create API key',exact=True) await trigger.click();await page.locator('dialog:modal').wait_for() await trigger.evaluate('(e)=>e.disabled=true') await page.keyboard.press('Escape');await page.wait_for_function("!document.querySelector('dialog:modal')") diff --git a/docs/ui-validation/navigation_destinations.py b/docs/ui-validation/navigation_destinations.py new file mode 100644 index 00000000..9d64f837 --- /dev/null +++ b/docs/ui-validation/navigation_destinations.py @@ -0,0 +1,17 @@ +import json,re +from pathlib import Path +from playwright.sync_api import sync_playwright,expect +ROOT=Path(__file__).resolve().parent;BASE=re.search(r'Now listening on: (http://127.0.0.1:\d+)',Path('/tmp/mx-ui-final-host.log').read_text()).group(1);rows=[] +with sync_playwright() as p: + b=p.chromium.launch(channel='chromium',headless=True);page=b.new_page() + for width in [1440,390]: + page.set_viewport_size({'width':width,'height':844}) + for role in ['admin','viewer']: + for route,title in [('/','Overview'),('/browse','Browse'),('/apikeys','API keys')]: + page.goto(BASE+route+'?principal='+role);page.wait_for_selector('html[data-mx-ready="true"]');expect(page.get_by_role('heading',level=1)).to_have_text(title);expect(page).to_have_title('MXAccess Gateway — '+title) + if width<992:page.locator('summary.rail-toggle').click() + active=page.locator('nav.side-rail a.active');assert active.count()==1;assert active.get_attribute('href')==route + if route=='/apikeys':assert page.get_by_role('button',name='Create API key',exact=True).count()==(1 if role=='admin' else 0) + rows.append({'route':route,'title':page.title(),'principal':role,'width':width,'active':active.get_attribute('href')}) + b.close() +(ROOT/'evidence/mx-final/navigation-destinations.json').write_text(json.dumps(rows,indent=2));print('12 actual destination/principal/width cases passed') diff --git a/docs/ui-validation/package_assets.py b/docs/ui-validation/package_assets.py new file mode 100644 index 00000000..e241d6c1 --- /dev/null +++ b/docs/ui-validation/package_assets.py @@ -0,0 +1,13 @@ +import re,json,hashlib,urllib.request,zipfile +from pathlib import Path +ROOT=Path(__file__).resolve().parent;BASE=re.search(r'Now listening on: (http://127.0.0.1:\d+)',Path('/tmp/mx-ui-final-host.log').read_text()).group(1);rows=[] +for name,version,files in [('Theme','1.0.1',['css/theme.css','css/layout.css','fonts/ibm-plex-sans-400.woff2','fonts/ibm-plex-sans-600.woff2','fonts/ibm-plex-mono-500.woff2']),('Secrets.Ui','1.0.1',['js/secrets-dialog.js','js/secrets-reveal.js']),('Secrets.Abstractions','0.6.6',[])]: + id='ZB.MOM.WW.'+name;cache=Path.home()/'.nuget/packages'/id.lower()/version + with zipfile.ZipFile(cache/(id.lower()+'.'+version+'.nupkg')) as z: + dll=Path('/tmp/mx-ui-final-artifacts/bin/MxUiCanary/release')/(id+'.dll');assert dll.read_bytes()==z.read('lib/net10.0/'+id+'.dll') + rows.append({'runtimeAssembly':id,'version':version,'bytesMatchOfficialPackage':True}) + for path in files: + url=BASE+'/_content/'+id+'/'+path + with urllib.request.urlopen(url) as r:data=r.read();assert r.status==200 + assert data==z.read('staticwebassets/'+path);rows.append({'asset':path,'package':id,'http':200,'sha256':hashlib.sha256(data).hexdigest()}) +(ROOT/'evidence/mx-final/served-assets.json').write_text(json.dumps(rows,indent=2));print('3 runtime assemblies and7 served assets equal accepted official packages') diff --git a/docs/ui-validation/recovery_coarse.py b/docs/ui-validation/recovery_coarse.py new file mode 100644 index 00000000..ae425d95 --- /dev/null +++ b/docs/ui-validation/recovery_coarse.py @@ -0,0 +1,24 @@ +import json,re,sys +from pathlib import Path +from playwright.sync_api import sync_playwright,expect +ROOT=Path(__file__).resolve().parent;BASE=re.search(r'Now listening on: (http://127.0.0.1:\d+)',Path('/tmp/mx-ui-final-host.log').read_text()).group(1);OUT=ROOT/'evidence/mx06-coarse-final';OUT.mkdir(exist_ok=True);rows=[];errors=[] +sys.path.insert(0,'/Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/theme-1.0.0/canary') +from browser_zoom import zoom_browser,set_browser_zoom +with sync_playwright() as p: + with zoom_browser(p) as (ctx,worker): + page=ctx.new_page();ctx.new_cdp_session(page).send('Emulation.setTouchEmulationEnabled',{'enabled':True,'maxTouchPoints':1});page.on('pageerror',lambda e:errors.append(str(e))) + def goto(path): + page.goto(BASE+path);page.wait_for_selector('html[data-mx-ready="true"]');page.evaluate('document.fonts.ready');page.evaluate('Promise.all(document.getAnimations().map(a=>a.finished.catch(()=>{})))') + for width,zoom in [(390,1)]: + page.set_viewport_size({'width':width,'height':900});goto('/browse-fixture');set_browser_zoom(worker,page,zoom) + page.get_by_role('button',name='Expand SyntheticPlant',exact=True).click();page.get_by_role('button',name='Expand Pump01',exact=True).wait_for();page.get_by_role('button',name='Expand Sibling01',exact=True).click() + page.get_by_role('button',name='Watch Sibling01.PV',exact=True).click();watched=page.get_by_role('region',name='Watched attribute values',exact=True);watched.wait_for() + before=page.request.get(BASE+'/fixtures/browse-counts').json()['attempts'];page.request.post(BASE+'/fixtures/fail-next-browse');page.get_by_role('button',name='Expand Pump01',exact=True).click();retry=page.get_by_role('button',name='Retry loading Pump01',exact=True);retry.wait_for() + assert page.evaluate('matchMedia("(pointer: coarse)").matches && navigator.maxTouchPoints===1');notice=page.locator('.dashboard-diagnostic');assert notice.locator('summary').bounding_box()['height']>=44;expect(notice.locator('summary')).to_have_text('Show diagnostic details for Pump01');notice.locator('summary').focus();page.keyboard.press('Enter');detail=notice.get_by_role('region');assert len(detail.inner_text())>600 and '' in detail.inner_text();assert detail.locator('script').count()==0 + retry.focus();page.keyboard.press('Enter');expect(page.get_by_role('button',name='Watch Pump01.PV',exact=True)).to_be_visible();expect(watched).to_contain_text('Sibling01.PV');expect(page.get_by_role('button',name='Collapse Pump01',exact=True)).to_be_focused();assert page.request.get(BASE+'/fixtures/browse-counts').json()['attempts']==before+2 + assert page.locator('[role="status"]').filter(has_text='Loaded Pump01.').count()==1 + assert page.evaluate('document.documentElement.scrollWidth<=innerWidth');page.screenshot(path=str(OUT/f'recovery-{width}-zoom{zoom}.png'),full_page=False);rows.append({'case':'retry','width':page.evaluate('innerWidth'),'dpr':page.evaluate('devicePixelRatio'),'attemptDelta':2,'watchRetained':True,'focusStable':True}) + set_browser_zoom(worker,page,1) + page.emulate_media(reduced_motion='reduce');goto('/overview-fixture');motion=page.locator('.dashboard-page-header,.metric-grid,.dashboard-section').evaluate_all('(es)=>es.map(e=>({animation:getComputedStyle(e).animationName,opacity:getComputedStyle(e).opacity}))');assert all(r['animation']=='none' and r['opacity']=='1' for r in motion);rows.append({'case':'reduced-motion','elements':motion}) + assert not errors,errors +(OUT/'results.json').write_text(json.dumps({'cases':rows,'errors':errors},indent=2));print(json.dumps({'cases':len(rows),'errors':errors})) diff --git a/docs/ui-validation/recovery_recheck.py b/docs/ui-validation/recovery_recheck.py new file mode 100644 index 00000000..5fc755b3 --- /dev/null +++ b/docs/ui-validation/recovery_recheck.py @@ -0,0 +1,24 @@ +import json,re,sys +from pathlib import Path +from playwright.sync_api import sync_playwright,expect +ROOT=Path(__file__).resolve().parent;BASE=re.search(r'Now listening on: (http://127.0.0.1:\d+)',Path('/tmp/mx-ui-final-host.log').read_text()).group(1);OUT=ROOT/'evidence/mx06-recheck';OUT.mkdir(exist_ok=True);rows=[];errors=[] +sys.path.insert(0,'/Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/theme-1.0.0/canary') +from browser_zoom import zoom_browser,set_browser_zoom +with sync_playwright() as p: + with zoom_browser(p) as (ctx,worker): + page=ctx.new_page();page.on('pageerror',lambda e:errors.append(str(e))) + def goto(path): + page.goto(BASE+path);page.wait_for_selector('html[data-mx-ready="true"]');page.evaluate('document.fonts.ready');page.evaluate('Promise.all(document.getAnimations().map(a=>a.finished.catch(()=>{})))') + for width,zoom in [(390,1)]: + page.set_viewport_size({'width':width,'height':900});goto('/browse-fixture');set_browser_zoom(worker,page,zoom) + page.get_by_role('button',name='Expand SyntheticPlant',exact=True).click();page.get_by_role('button',name='Expand Pump01',exact=True).wait_for();page.get_by_role('button',name='Expand Sibling01',exact=True).click() + page.get_by_role('button',name='Watch Sibling01.PV',exact=True).click();watched=page.get_by_role('region',name='Watched attribute values',exact=True);watched.wait_for() + before=page.request.get(BASE+'/fixtures/browse-counts').json()['attempts'];page.request.post(BASE+'/fixtures/fail-next-browse');page.get_by_role('button',name='Expand Pump01',exact=True).click();retry=page.get_by_role('button',name='Retry loading Pump01',exact=True);retry.wait_for() + notice=page.locator('.dashboard-diagnostic');expect(notice.locator('summary')).to_have_text('Show diagnostic details for Pump01');notice.locator('summary').focus();page.keyboard.press('Enter');detail=notice.get_by_role('region');assert len(detail.inner_text())>600 and '' in detail.inner_text();assert detail.locator('script').count()==0 + retry.focus();page.keyboard.press('Enter');expect(page.get_by_role('button',name='Watch Pump01.PV',exact=True)).to_be_visible();expect(watched).to_contain_text('Sibling01.PV');expect(page.get_by_role('button',name='Collapse Pump01',exact=True)).to_be_focused();assert page.request.get(BASE+'/fixtures/browse-counts').json()['attempts']==before+2 + assert page.locator('[role="status"]').filter(has_text='Loaded Pump01.').count()==1 + assert page.evaluate('document.documentElement.scrollWidth<=innerWidth');page.screenshot(path=str(OUT/f'recovery-{width}-zoom{zoom}.png'),full_page=False);rows.append({'case':'retry','width':page.evaluate('innerWidth'),'dpr':page.evaluate('devicePixelRatio'),'attemptDelta':2,'watchRetained':True,'focusStable':True}) + set_browser_zoom(worker,page,1) + page.emulate_media(reduced_motion='reduce');goto('/overview-fixture');motion=page.locator('.dashboard-page-header,.metric-grid,.dashboard-section').evaluate_all('(es)=>es.map(e=>({animation:getComputedStyle(e).animationName,opacity:getComputedStyle(e).opacity}))');assert all(r['animation']=='none' and r['opacity']=='1' for r in motion);rows.append({'case':'reduced-motion','elements':motion}) + assert not errors,errors +(OUT/'results.json').write_text(json.dumps({'cases':rows,'errors':errors},indent=2));print(json.dumps({'cases':len(rows),'errors':errors})) diff --git a/docs/ui-validation/style_confirmation.py b/docs/ui-validation/style_confirmation.py new file mode 100644 index 00000000..110611e3 --- /dev/null +++ b/docs/ui-validation/style_confirmation.py @@ -0,0 +1,28 @@ +import json,re,subprocess +from pathlib import Path +from playwright.sync_api import sync_playwright,expect +ROOT=Path(__file__).resolve().parent;BASE=re.search(r'Now listening on: (http://127.0.0.1:\d+)',Path('/tmp/mx-ui-final-host.log').read_text()).group(1);OUT=ROOT/'evidence/mx05';rows={} +def contrast(fg,bg): + def lum(c): + v=[float(x)/255 for x in re.findall(r'[\d.]+',c)[:3]];v=[x/12.92 if x<=.04045 else ((x+.055)/1.055)**2.4 for x in v];return sum(x*w for x,w in zip(v,[.2126,.7152,.0722])) + a,b=sorted([lum(fg),lum(bg)]);return(b+.05)/(a+.05) +with sync_playwright() as p: + browser=p.chromium.launch(channel='chromium',headless=True);page=browser.new_page(viewport={'width':1024,'height':900});page.goto(BASE+'/style-fixture');page.wait_for_selector('html[data-mx-ready="true"]');page.evaluate('document.fonts.ready');page.evaluate('Promise.all(document.getAnimations().filter(a=>a.effect.getComputedTiming().iterations!==Infinity).map(a=>a.finished.catch(()=>{})))') + old=page.add_style_tag(content=subprocess.check_output(['git','show','b06921ce:src/ZB.MOM.WW.MxGateway.Server/wwwroot/css/site.css'],text=True)) + for phase in ['before','after']: + if phase=='after':old.evaluate('e=>e.remove()') + texts=page.locator('.quality-chip,.alarm-state,.text-secondary,.text-success,.text-warning,.text-danger,.text-info,.alert').evaluate_all('''es=>es.map(e=>{let bg='rgb(255,255,255)';for(let p=e;p;p=p.parentElement){let c=getComputedStyle(p).backgroundColor;if(c!=='rgba(0, 0, 0, 0)'&&c!=='transparent'){bg=c;break}}return {text:e.textContent.trim(),fg:getComputedStyle(e).color,bg}})''') + for t in texts:t['contrast']=contrast(t['fg'],t['bg']) + states={};button=page.locator('#style-primary') + def measure(): + page.wait_for_timeout(250);return button.evaluate('e=>{let s=getComputedStyle(e);return {fg:s.color,bg:s.backgroundColor,border:s.borderColor,outline:s.outlineWidth,outlineColor:s.outlineColor,disabled:e.disabled,busy:e.getAttribute("aria-busy")}}') + page.mouse.move(0,0);button.evaluate('e=>e.blur()');states['normal']=measure();button.hover();states['hover']=measure();button.click(position={'x':5,'y':5},trial=True);page.mouse.down();states['active']=measure();page.mouse.up();page.mouse.move(0,0);button.focus();states['pointerFocus']=measure();page.keyboard.press('Tab');page.keyboard.press('Shift+Tab');states['focus']=measure() + disabled=page.get_by_role('button',name='Disabled action');busy=page.get_by_role('button',name='Working…');assert disabled.is_disabled() and busy.is_disabled() and busy.get_attribute('aria-busy')=='true' + field=page.get_by_role('textbox',name='Fixture field');field.focus();focus=field.evaluate('e=>({outline:getComputedStyle(e).outlineWidth,color:getComputedStyle(e).outlineColor,shadow:getComputedStyle(e).boxShadow})');rows[phase]={'texts':texts,'states':states,'fieldFocus':focus} + page.screenshot(path=str(OUT/(phase+'-states.png')),full_page=True) + assert all(t['contrast']>=4.5 for t in rows['after']['texts']),rows['after']['texts'] + assert rows['after']['fieldFocus']['outline']=='2px' and rows['after']['fieldFocus']['shadow']=='none' + (OUT/'style-confirmation.json').write_text(json.dumps(rows,indent=2)) + for state in ['normal','hover','active','pointerFocus','focus']:assert rows['after']['states'][state]['fg']==rows['before']['states'][state]['fg'] and rows['after']['states'][state]['bg']==rows['before']['states'][state]['bg'] + browser.close() +(OUT/'style-confirmation.json').write_text(json.dumps(rows,indent=2));print(json.dumps({'minContrast':min(t['contrast'] for t in rows['after']['texts']),'primaryStateParity':True,'fieldCanonicalFocus':True})) diff --git a/docs/ui-validation/style_probe.py b/docs/ui-validation/style_probe.py new file mode 100644 index 00000000..e6401cc0 --- /dev/null +++ b/docs/ui-validation/style_probe.py @@ -0,0 +1,15 @@ +import json +from pathlib import Path +from playwright.sync_api import sync_playwright +ROOT=Path(__file__).resolve().parent;BASE=json.load(open('/tmp/mx-ui-overview-state.json'))['origin'];rows={} +with sync_playwright() as p: + browser=p.chromium.launch(channel='chromium',headless=True);page=browser.new_page();page.goto(BASE+'/native-fixture');page.wait_for_selector('html[data-mx-ready="true"]');page.evaluate('Promise.all(document.getAnimations().map(a=>a.finished.catch(()=>{})))') + button=page.get_by_role('button',name='Create API key',exact=True) + def measure(): + page.wait_for_timeout(250) + return button.evaluate('e=>{let s=getComputedStyle(e);return Object.fromEntries(["color","backgroundColor","borderColor","outlineColor","outlineWidth","boxShadow","opacity"].map(k=>[k,s[k]]))}') + for phase in ['withLocalPrimary','withoutLocalPrimary']: + if phase=='withoutLocalPrimary':page.evaluate('''()=>{let s=[...document.styleSheets].find(s=>s.href?.endsWith('/css/site.css'));for(let i=s.cssRules.length-1;i>=0;i--){let r=s.cssRules[i];if(r.selectorText==='.btn-primary'||r.selectorText==='.btn-primary:hover, .btn-primary:focus')s.deleteRule(i)}}''') + states={};page.mouse.move(0,0);button.evaluate('e=>e.blur()');states['normal']=measure();button.hover();states['hover']=measure();page.mouse.move(0,0);button.focus();states['focus']=measure();button.evaluate('e=>{e.disabled=true}');states['disabled']=measure();button.evaluate('e=>{e.disabled=false}');rows[phase]=states + browser.close() +OUT=ROOT/'evidence/mx05';OUT.mkdir(exist_ok=True);(OUT/'primary-before-removal.json').write_text(json.dumps(rows,indent=2));print(json.dumps(rows,indent=2)) diff --git a/docs/ui-validation/technical-light-token-migration.md b/docs/ui-validation/technical-light-token-migration.md new file mode 100644 index 00000000..877cf7aa --- /dev/null +++ b/docs/ui-validation/technical-light-token-migration.md @@ -0,0 +1,35 @@ +# Technical-Light token, recovery and navigation acceptance + +MX-05/06/08 use shared Theme1.0.1 and delivered Secrets.Ui1.0.1/Abstractions0.6.6; the existing Secrets/Core runtime package remains0.6.2. Exact official nupkg hashes and restored graph are in evidence/mx-final/packages.json. Framework HtmlRenderer/xUnit remain; no bUnit/parser dependency was added to production or tests. No worker/COM/proto/options or production authorization policy changes. + +## Shared visual ownership + +Repeated surface/border/hover/semantic text colors now resolve to canonical tokens. Signal fills remain distinct from readable status inks. Bootstrap's important text utilities have explicit host adapters. Theme owns primary normal/hover/active/disabled colors; the measured pointer-focus difference requires one retained token-based local focus rule. Shared keyboard outlines and form focus replace the duplicate local halo; app-specific field/button geometry remains local. Structural native backdrop opacity and menu elevation remain documented local geometry, with menu color derived from ink. + +Actual paired component measurements use the real Theme buttons and MX host styles. Semantic text contrast is at least5.555:1. Primary normal/hover/active/pointer-focus/keyboard-focus colors match before/after; disabled/busy semantics remain native, busy text is meaningful. Field keyboard focus is2px with no duplicate shadow. Evidence/mx05 contains computed values, source CSS comparison and captured component states. The first immediate-transition probe was corrected to wait for actual state settling. A first busy fixture wait incorrectly awaited the infinite busy spinner; the harness now waits only finite entrances. These are measurement fixes, not product animation workarounds. Local page-owned entrance animations now honor reduced motion with final opaque content. + +## Recoverable browse failures + +App-local DashboardDiagnostic renders escaped complete detail through the existing DashboardRedactor boundary. Tree failures expose context-named native disclosure and Retry. Retry shares existing loading callbacks, has a guard before focus await, keeps the affected object's stable toggle focused and announces one recovery. Siblings, watched values and tree state remain. Search/read errors have visible recovery text, and redeploy notification failures retain their existing automatic reconnection. Manual live-read Retry uses the existing read path under a shared single-flight guard; no new automatic retry/poll loop or telemetry was introduced. Existing per-value quality error hover metadata remains outside this tree/global-error task. + +Four meaningful framework cases cover sensitive detail redaction and long escaped text; existing tree/home/render tests remain. Actual once-failing child fixture verifies full600+character detail, exactly one recovery attempt, retained watched sibling and stable focus at1440/1024/390px and real200% zoom. Initial fixture attempted to fail a leaf whose attributes were already loaded; no child request occurred. That failed harness run is retained, followed by a fixture-only nested child and correct actual failure/recovery proof. A final focused recheck covers the guard refinement. No COM/worker provider runs. + +## Navigation and real host layout + +Overview, API keys and Sign out use shared sentence case. Routes, NavRailSection persistence keys, enum text, policy constants and static POST logout/antiforgery are unchanged. Actual MainLayout fixtures cover Admin/Viewer/anonymous visibility, keyboard footer reachability and native narrow navigation. Twelve destination cases verify exactly one active rail item and matching h1/document title for Overview/Browse/API keys at1440/390px for Admin/Viewer; viewers retain read-only key access without create controls. Login remains the shared native POST LoginCard with existing return URL and antiforgery behavior. No login/logout is submitted during browser QA. + +The fixture now exposes actual production URL aliases for the three destination checks; its standalone native-dialog scenario moved to /native-fixture. Reproduction scripts use that synthetic path. These aliases do not change production routing. + +## Verification and limits + +NonWindows solution build:0warnings/0errors. Full gateway: **1460 passed,0failed,6existing platform skips**, after a standard-path restore of the final shared package graph. A prior no-restore full run still read the old standard obj graph while the isolated fixture had the new graph; pre-package-refresh evidence is retained separately and is not the final package proof. Final targeted tests cover subsequent copy/description-only adjustments. Actual MainLayout17-case keyboard/recovery/principal/viewport/reduced-motion matrix has0pageerrors/document overflow; separate12 destination cases pass. Earlier generic-shell17 cases remain history, not proof of the actual rail. + +Shared Theme assets must be deployed together with their app. Rollback restores the consumer commit/package graph plus matching dialog module and component, never just one side. Previous immutable Theme0.5.0/Secrets0.6.2 artifacts and pre-migration source identify the rollback inputs; no application deployment has occurred. Windows/COM/live LDAP/worker acceptance is not claimed. The shared Abstractions450-character name/tombstone limit requires host inventory before production adoption; legacy-provider default snapshot behavior has the bounded producer compatibility proof. No real secret, historian write, key mutation, database migration or live gateway restart was used for these checks. + +## Independent identity review corrections + +The peer review found two concrete identity/lifetime gaps before final commit. Tree Retry now captures node/callback/generation before native focus awaits, invalidates on parameter replacement/disposal, and applies post-await load/error/recovery only to the current captured node. Roots and recursive children have stable object keys. Two actual framework lifecycle regressions defer the native FocusAsync seam, replace parameters or dispose the renderer, then verify no stale callback dispatch; these passed2/2. No initial red is claimed because the production fix existed at the first runnable regression build. + +Fault summaries/table rows now key their session/source/worker/message identity, excluding the per-snapshot observation timestamp. A real Blazor fixture opens and focuses sessionA's complete diagnostic, then prepends/reorders faults and advances A's timestamp. Before correction, both compact and table modes transferred the open/focused DOM to another session; retained browser JSON records both failures. After correction, both retain A's original focused/open element across that snapshot. This is actual DOM identity evidence, not an HTML snapshot assertion. The final whole gateway suite passes1460/6 after both fixes. + +The newly introduced diagnostic/supporting-counter disclosures also measure at least44px in an explicitly verified coarse/touch context. Final native recovery/reduced-motion recheck has0pageerrors. Three actual runtime shared DLLs and seven downloaded CSS/font/module assets equal accepted official package bytes (served-assets.json). The fixture uses ephemeral data protection and synthetic principals; no new persistent credential store is required. diff --git a/docs/ui-validation/validation_visibility.py b/docs/ui-validation/validation_visibility.py index 0358d8bf..b704356b 100644 --- a/docs/ui-validation/validation_visibility.py +++ b/docs/ui-validation/validation_visibility.py @@ -11,7 +11,7 @@ with sync_playwright() as p: page=ctx.new_page() for width,zoom in [(1440,1),(390,1),(1440,2)]: page.set_viewport_size({'width':width,'height':900});page.goto(BASE);page.wait_for_selector('html[data-mx-ready="true"]');set_browser_zoom(worker,page,zoom) - page.get_by_role('button',name='Create API Key',exact=True).click();page.locator('dialog:modal').wait_for() + page.get_by_role('button',name='Create API key',exact=True).click();page.locator('dialog:modal').wait_for() page.wait_for_function("document.querySelector('#keyId')===document.activeElement") initial=page.locator('#keyId').evaluate('(e)=>{const r=e.getBoundingClientRect();return r.top>=0&&r.bottom<=innerHeight}') samples=[] diff --git a/src/ZB.MOM.WW.MxGateway.Server/Dashboard/Components/Layout/MainLayout.razor b/src/ZB.MOM.WW.MxGateway.Server/Dashboard/Components/Layout/MainLayout.razor index 76a27781..b1e96645 100644 --- a/src/ZB.MOM.WW.MxGateway.Server/Dashboard/Components/Layout/MainLayout.razor +++ b/src/ZB.MOM.WW.MxGateway.Server/Dashboard/Components/Layout/MainLayout.razor @@ -7,7 +7,7 @@ is owned by the kit's
+ ThemeScripts (no JS interop here). *@