test: retain completed two-hour client lifecycle evidence
v2-ci / unit-tests (pull_request) Has been cancelled

This commit is contained in:
Joseph Doherty
2026-11-10 14:54:38 -05:00
parent c6c05a1001
commit ab35ddd3c2
9 changed files with 2951 additions and 23 deletions
@@ -52,10 +52,12 @@ verified diagnostic), RID `linux-arm64`, self-contained runtime 10.0.14, explici
node, and an external task-owned artifacts directory. All runtime packs were
already cached. No production or test source is patched during publish. The
launcher requires an empty production/package source diff against the reviewed
`cd60e469` production tree and
`67bc6123` production tree and
records the actual published revision separately from the launcher revision.
The reference was advanced from `7b353d7b` after source review of comment-only
production edits; historical receipts retain their actual source/reference hashes.
The reference was advanced from `7b353d7b` after review of comment-only edits,
then to `67bc6123` for the independently reviewed/tested HG1.0 adapter/package
change. Canonical SDK server code is unchanged by that consumer update. Historical
receipts retain their actual source/reference hashes.
That is source equivalence, not a claim that separately built Linux and macOS
assemblies have identical hashes. The full publish file hashes, exact test source
hash, runtimeconfig and SDK dependency versions are retained.
@@ -17,7 +17,7 @@ ROOT = HERE.parents[2]
PROJECT = ROOT / 'tests/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer.IntegrationTests/ZB.MOM.WW.OtOpcUa.OpcUaServer.IntegrationTests.csproj'
APPNAME = 'ZB.MOM.WW.OtOpcUa.OpcUaServer.IntegrationTests'
TARGET = 'Repeated_lifecycles_return_resources_to_a_steady_baseline'
BASE = 'cd60e469a100412ee08f598accad07a6959778ba'
BASE = '67bc61236a7798e87deb9ae45e54bd29cf3d8ae9'
def write(path, value):
@@ -97,7 +97,7 @@ def main():
revision = subprocess.check_output(['git', '-C', str(ROOT), 'rev-parse', 'HEAD'], text=True).strip()
production_diff = subprocess.check_output(['git', '-C', str(ROOT), 'diff', BASE, 'HEAD', '--', 'src', 'Directory.Packages.props', 'Directory.Build.props'], text=True)
if production_diff:
raise RuntimeError('Production/package source differs from reviewed cd60e469 source; review required')
raise RuntimeError('Production/package source differs from reviewed ' + BASE[:8] + ' source; review required')
image = json.loads(subprocess.check_output(['docker', 'image', 'inspect', args.image, '--format', '{{json .}}'], text=True))
if image['Architecture'] != 'arm64' or image['Os'] != 'linux':
raise RuntimeError('Expected cached official Linux ARM64 image')