Skip to content

test(uat): SYSTEM priv string tracks PHY_IO in VMS_PRV_M_ENFORCED (vms-3a7) - #1033

Open
baron-3dl wants to merge 1 commit into
mainfrom
fix/uat-phyio-drift
Open

test(uat): SYSTEM priv string tracks PHY_IO in VMS_PRV_M_ENFORCED (vms-3a7)#1033
baron-3dl wants to merge 1 commit into
mainfrom
fix/uat-phyio-drift

Conversation

@baron-3dl

Copy link
Copy Markdown
Contributor

Fix a deterministic main-red: stale UAT privilege string

The VMS User Acceptance Test leg is red on main (and was already red on the parent of the current tip — this is not the db20-a/160c5f18 cluster commit, which is exonerated).

Root cause

#1009 (97f3cc5a, vms-7eb — "executive L2 AF_PACKET datalink + PHY_IO gate") added VMS_PRV_M_PHY_IO (bit 22) to VMS_PRV_M_ENFORCED (src/kernel/vms_ioctl.h:290-293), so the booted SYSTEM identity now renders as …WORLD,MOUNT,PHY_IO". That commit updated the C-level oracle test (tests/qemu/test_syssvc_ident.c:1937, which passes) but left the UAT script's two IDENT_CURPRIV/IDENT_AUTHPRIV literals stale at …WORLD,MOUNT".

The UAT literal is derived from that mask — its own comment says so and says to update it whenever VMS_PRV_M_ENFORCED changes. This just does that.

Change

  • Append ,PHY_IO to both UAT literals (tests/uat/vms_session_qemu.sh:980-981), matching the ascending-bit-position order the C oracle already asserts (PHY_IO bit 22, after MOUNT bit 17).
  • Extend the derivation comment to record PHY_IO's addition, matching how it already tracks MOUNT (vms-651).

Tightens the assertion to the shipped, oracle-asserted privilege set; nothing weakened. bash -n clean. No other stale WORLD,MOUNT" occurrences remain in the tree.

Tracks vms-3a7.

🤖 Generated with Claude Code

…s-3a7)

#1009 (vms-7eb) added VMS_PRV_M_PHY_IO (bit 22) to VMS_PRV_M_ENFORCED and
updated the C-level oracle test (tests/qemu/test_syssvc_ident.c:1937) to
expect the booted runtime's SYSTEM identity as
  ...WORLD,MOUNT,PHY_IO"
but left the UAT script's IDENT_CURPRIV/AUTHPRIV literals stale at
  ...WORLD,MOUNT"
The UAT literal is DERIVED from that mask (its own comment says so and
that it must be updated whenever VMS_PRV_M_ENFORCED changes); the drift
red the "VMS User Acceptance Test" leg on main deterministically.

Align the two UAT literals to the shipped, oracle-asserted privilege set
and extend the derivation comment to record PHY_IO's addition (bit 22,
after MOUNT), matching how it already tracks MOUNT (bit 17, vms-651).
Tightens the assertion; nothing weakened.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PhM3QcmFEY3p8YNnHGaYwP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant