NAT opc-plc fixture: persistent PKI so CI can run the positive secure case; raise MIN_EXECUTED #818
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #813. The NAT fixture generates a new certificate whenever the container is recreated, so CI can only run the refusal form of the secure test. Give it a persistent PKI volume (and trust the cert in the CI browser trust store) so
OPCUA_NAT_SERVER_CERT_TRUSTED=1can run in CI. Once a hosted v2-integration run confirms the 3 NAT tests execute, raiseMIN_EXECUTEDby 3.Re-verified 2026-11-11 (worktree commit
b57fb471, docs only). Persistent PKI fromae91e6b7holds: on 10.100.0.35, /opt/otopcua-opcuaclient-nat compose == repo; container 55e75b949250 -> --force-recreate -> ddb3ca81b9dd, server cert SHA-1 1FBF87914070AA01D492AA7DBD31EC7F387BC6AE both times == committed Docker/nat/opc-plc-nat-server.der. NatPublishedEndpointBrowseTests 7/7 passed, 0 skipped, against the shared stack (committed cert; OPCUA_NAT_SERVER_CERT_TRUSTED is retired) AND against a CI-style throwaway docker run + docker-exec cert hand-off (OPCUA_NAT_SERVER_CERT). CI filter, local: Driver.OpcUaClient 9 / Browser 12 executed (13 -> 21, +8 => 448). MIN_EXECUTED NOT raised: no hosted v2-integration run has reached the test step (runs 1137, 1213 fail at 'TIMEOUT waiting for questdb', which is the first network probe) -> filed #860. Raise 440->448 once a hosted TRX shows 9/12.The CI fixture-host bug blocking this is fixed in
4b68729a(#860), Pushed to master ine857135e. Once a hostedv2-integrationrun executes the NAT tests (9 + 12 executed in the two OpcUaClient projects), raiseMIN_EXECUTED440 → 448 (and the e2e floor 35 → 39 after a hosted e2e run).Done. Hosted run 1225 shows
Driver.OpcUaClient.trxexecuted=9 andDriver.OpcUaClient.Browser.trxexecuted=12, with 0 skipped, so the NAT certificate hand-off works on the runner.MIN_EXECUTEDinv2-integration.ymlis raised from 440 to 448 (71740a5a, master43f8b8e8). Thev2-e2e.ymlraise from 35 to 39 still needs a hosted e2e run; it is noted in scripts/ci/README.md.