PLAT-162 run mandatory CMS runtime tests in prepared UID33 executor #78
Open
moeardent
wants to merge 246 commits from
fix/OCV-246-cms-runtime-test-harness into dev
pull from: fix/OCV-246-cms-runtime-test-harness
merge into: moebiusol:dev
moebiusol:dev
moebiusol:fix/PLAT-122-ci-agent-capability-cms
moebiusol:main
moebiusol:fix/OCV-246-cms-route-guard
moebiusol:fix/OCV-246-cms-runtime-contract
moebiusol:fix/OCV-206-cms-source-sbom-scope
moebiusol:fix/OCV-229-contact-return-origin
moebiusol:fix/OCV-246-trusted-review-proposal
moebiusol:test
moebiusol:fix/PLAT-122-cms-retention-dev
moebiusol:fix/PLAT-122-cms-shared-main
moebiusol:fix/PLAT-122-cms-shared-test
moebiusol:fix/PLAT-122-cms-shared-delivery-roles
moebiusol:fix/PLAT-107-forgejo-consumers-main
moebiusol:fix/PLAT-107-forgejo-consumers-test
moebiusol:fix/PLAT-122-cms-chain-consolidation
moebiusol:fix/PLAT-107-forgejo-consumers-dev
moebiusol:fix/OCV-206-cms-measured-coverage
moebiusol:fix/OCV-206-cms-snyk-advisory-doc
moebiusol:fix/OCV-206-cms-snyk-always-advisory
moebiusol:fix/medcms-auto-chain-promotion-evidence
moebiusol:fix/nonprod-discovery-promotion-gate
moebiusol:feature/medcms-syndication-discovery-formats
moebiusol:fix/feed-alias-runtime-db-dev
moebiusol:fix/feed-alias-runtime-db-prod
moebiusol:fix/feed-alias-runtime-db-test
moebiusol:fix/feed-alias-runtime-db
moebiusol:fix/prod-api-smoke-evidence-script
moebiusol:fix/prod-image-retention-script
moebiusol:fix/prod-export-smoke-ajax-envelope
moebiusol:fix/prod-legal-canonical-links
moebiusol:fix/prod-argo-sync-retry
moebiusol:fix/seo-indexing-cleanup-prod
moebiusol:fix/seo-indexing-cleanup-dev-backport
moebiusol:fix/seo-hero-auth-nofollow-from-test
moebiusol:fix/seo-indexing-cleanup-from-test
moebiusol:fix/workbench-authoring-ux-polish
moebiusol:feature/medcms-workbench-authoring-v2
moebiusol:fix/workbench-export-layout-regression
moebiusol:feature/medcms-mobile-fable-critical-path
moebiusol:fix/medcms-workbench-article-view-500
moebiusol:fix/medcms-post-uplift-regression-cleanup
moebiusol:feature/medcms-public-nextgen-uplift
moebiusol:feature/medcms-nextgen-theme-uplift
moebiusol:promotion/medcms-social-connect-flow-map-dev-to-test-20260604
moebiusol:fix/medcms-social-connect-flow-map
moebiusol:promotion/medcms-social-connect-dev-to-test-20260604
moebiusol:fix/medcms-social-connect-return-flow
moebiusol:promotion/medcms-dev-to-test-20260603
moebiusol:fix/medcms-export-smoke-auth-secret
moebiusol:quality/medcms-qms-wow-alignment
moebiusol:promotion/medcms-dev-to-test-professional-vetting-ci-fix
moebiusol:fix/medcms-qodana-quality-guard
moebiusol:fix/medcms-qodana-workspace-headroom
moebiusol:promotion/medcms-dev-to-test-professional-vetting
moebiusol:feature/medcms-professional-vetting-compat
moebiusol:fix/medcms-export-public-base-internal-m2m
moebiusol:feature/medcms-export-rich-feed-payload
moebiusol:fix/medcms-workbench-access-social-qa
moebiusol:fix/medcms-final-rc-cleanup
moebiusol:fix/medcms-account-workbench-routes
moebiusol:feature/medcms-backend-export-contract
moebiusol:feature/backend-content-metadata-export
moebiusol:fix/medcms-workbench-helper-root
moebiusol:feature/medcms-workbench-editor
moebiusol:fix/cms-teamcity-auto-chain-trigger
moebiusol:fix/cms-container-image-retention
moebiusol:promotion/medcms-ci-ai-nonblocking-test-to-prod
moebiusol:promotion/medcms-ci-ai-nonblocking-dev-to-test
moebiusol:fix/medcms-ai-informative-promotion-dependency
moebiusol:promotion/medcms-test-to-prod-9e2b1f4a
moebiusol:promotion/medcms-dev-to-test-d0a67f26
moebiusol:fix/medcms-branch-protection-status-context
moebiusol:fix/medcms-ci-governance-readme-promotion-hardening
moebiusol:promotion/medcms-test-to-prod-8453cafe
moebiusol:promotion/medcms-dev-to-test-961e82e7
moebiusol:fix/medcms-empty-category-dropdown-navigation
moebiusol:fix/medcms-education-clean-category-routes
moebiusol:fix/medcms-education-filter-navigation
moebiusol:fix/medcms-promotion-rbac-fallback
moebiusol:fix/medcms-promotion-rbac-tolerant-gate
moebiusol:fix/medcms-promotion-image-env
moebiusol:fix/medcms-promotion-image-verification
moebiusol:fix/medcms-qodana-moderate-cleanup
moebiusol:fix/medcms-route-gate-timeout-handling
moebiusol:fix/medcms-language-switcher-runtime-warning
moebiusol:fix/medcms-php84-controller-property-compat
moebiusol:fix/medcms-dev-validate-personalization
moebiusol:quality/medcms-zero-qodana
moebiusol:fix/medcms-full-package-qodana-remediation
moebiusol:quality/medcms-account-resource-refactor
moebiusol:quality/medcms-critical-codepath-refactor
moebiusol:fix/medcms-qodana-dist-cache-idempotent
moebiusol:fix/medcms-qodana-authored-warnings
moebiusol:fix/medcms-qodana-dist-cache
moebiusol:fix/medcms-qodana-native-run-dir
moebiusol:fix/medcms-qodana-generated-tooling-exclusion
moebiusol:fix/medcms-qodana-runtime-headroom
moebiusol:fix/medcms-qodana-release-tag-format
moebiusol:fix/medcms-teamcity-promotion-trigger-branch-filter
moebiusol:feature/medcms-6.2.0-full-quality-gates
moebiusol:fix/test-prod-promotion-vcs-triggers
moebiusol:fix/mobile-resource-card-title-order
moebiusol:fix/mobile-menu-responsive-ux-ci-version
moebiusol:fix/mobile-menu-responsive-ux
moebiusol:fix/oralert-booking-resource-link
moebiusol:fix/gitops-promotion-retry
moebiusol:fix/footer-access-modal-overlay-badges
moebiusol:fix/medcms-teamcity-default-trigger
moebiusol:fix/medcms-footer-access-points
moebiusol:fix/oralert-responsive-ux-coherence
moebiusol:fix/medcms-cloudflare-purge-on-unchanged-gitops
moebiusol:fix/medcms-startup-config-repair
moebiusol:fix/medcms-cache-config-dedup
moebiusol:fix/medcms-cache-hardening
moebiusol:promote/medcms-dev-to-test-static-route-gate
moebiusol:fix/medcms-promotion-gate-sso-crawl
moebiusol:fix/medcms-static-alternate-sef-routes
moebiusol:fix/medcms-route-pregmatch-warning
moebiusol:feature/medcms-sex-at-birth-profile
moebiusol:feature/medcms-heavyweight-seo-sef
moebiusol:fix/medcms-ai-review-dev-runtime-warning
moebiusol:fix/medcms-qodana-joomla-stubs
moebiusol:feature/medcms-durable-dev-recovery
moebiusol:feature/oralert-contact-about-hcp
moebiusol:feature/medcms-voice-reader
moebiusol:fix/medcms-devops-superuser
moebiusol:fix/medcms-home-language-and-auth-flow
moebiusol:feature/medcms-prototype-demo-experience
moebiusol:fix/medcms-security-hardening
moebiusol:feature/medcms-joomla61-foundation
No reviewers
Labels
Clear labels
Breaking change that won't be backward compatible
Something is not working
Documentation changes
Improve existing functionality
New functionality
This is security issue
Issue or pull request related to testing
The priority is critical
The priority is high
The priority is low
The priority is medium
Issue has been confirmed
This issue or pull request already exists
Invalid issue
This issue won't be fixed
Somebody has started to work on this but abandoned work
Something is blocking this issue or pull request
Feedback is required to reproduce issue or to continue work
Compat/Breaking
Breaking change that won't be backward compatible
Kind/Bug
Something is not working
Kind/Documentation
Documentation changes
Kind/Enhancement
Improve existing functionality
Kind/Feature
New functionality
Kind/Security
This is security issue
Kind/Testing
Issue or pull request related to testing
Priority
Critical
The priority is critical
Priority
High
The priority is high
Priority
Low
The priority is low
Priority
Medium
The priority is medium
Reviewed
Confirmed
Issue has been confirmed
Reviewed
Duplicate
This issue or pull request already exists
Reviewed
Invalid
Invalid issue
Reviewed
Won't Fix
This issue won't be fixed
Status
Abandoned
Somebody has started to work on this but abandoned work
Status
Blocked
Something is blocking this issue or pull request
Status
Need More Info
Feedback is required to reproduce issue or to continue work
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set.
Reference: moebiusol/oculus_vita-cms#78
Reference in a new issue
No description provided.
Delete branch "fix/OCV-246-cms-runtime-test-harness"
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?
The existing CMS runtime job always invokes its mandatory mount regression through unshare, which the isolated executor rejects. This change adds a generic prepared executor capability to the existing caller: the Docker daemon provisions dedicated UID33 nosuid,nodev tmpfs mounts, a fixed identity-only setpriv preamble drops all capabilities and supplementary groups, and the runner verifies actual UID/GID, capability sets, NNP, seccomp, root protection and the live fixture mount before reading branch source. The full runtime suite forwards the observed mount path/ID to the existing mandatory prepared regression. The default namespace route remains the default; no test is skipped and no job is added.
PLAT-162, OCV-268, OCV-246.
The same source also corrects supplier memory observation for the actual daemon-bound Kubernetes cgroupfs-v2 ancestry. It checks every pod-bound ancestor and retains the original11GiB ancestor /22GiB node thresholds and /docker compatibility. Commit and artifact digests record traceability/integrity; no permanent source revision allowlist or cross-repository hash compatibility gate is introduced.
Current candidate896249fd4e90b3e9b4438d6e478f2b5f6592cef4 contains the independently reviewed memory helper correction(c49d8a5d,125 source checks passing), existing caller wiring(53ac9168), and effective-profile static guard correction(896249fd,26 focused checks plus the complete source guard passing). The source guard permits only the fixed three startup identity capabilities in prepared mode; it retains privilege/credential/socket prohibitions and requires the effective identity/capability/mount proof before source input. Mutation checks reject expanded/dynamic capabilities, absent drops, moved proof and fake mount identity. Current native supplier53ac remains unchanged because the new commit touches only the source guard and tests. One original inspect watchdog test exceeded9seconds on its first run; its isolated recheck and all22 full-suite source tests then passed. The source archive allowlist includes the seven required files from the product-owner account-retry changes.
Actual prepared fixture execution passed on retained intermediate PHP8.4.27 recovery bytes: UID/GID33, no supplementary groups, all five capability sets zero, read-only root, NNP, active seccomp filter, dedicated nosuid,nodev tmpfs, four positively controlled remote TCP denials, route activation/rollback/concurrency/hostile paths and owned-container cleanup. This proves the executor precheck only. Final supplier PHP native/runtime/interface qualification, paired-image security/SBOM, immutable publication/readback, normal MEDCMS_RUNTIME_TEST_IMAGE binding and the full prepared runtime suite on the final qualified image remain required.
Prior PR77/a33a6dab remains intact. Four inherited product-owner commits after that snapshot cover protected Qodana credential setup, account-demographic retry fencing, its PostgreSQL proof and the prepared mount interface. Those changes and inherited PR77 history retain their own review/normal CI obligations; platform helper reviews do not approve them. No merge, deployment, production action or release approval is claimed. Evidence: moe-workload/artifacts/verification/PLAT-107-cms-normal-custody-recovery-20261110/cms-pr235-chain-acceptance/plat162-runtime-qualification-v2/.
Candidate targetdev only. Revert through the same review path for recovery; existing deployed images remain governed by their normal controls.
PLAT-162 qualify CMS prepared fixture and actual supplier memory ancestryto PLAT-162 run mandatory CMS runtime tests in prepared UID33 executorReview-pending source checkpoint:
bb252312737d6d5c6797596df3c8010c686441f7(OCV-206, OCV-269). Normal non-force update of this existing review branch; no merge, approval or native activation.Exact20 frozen paths:17 supplier/delivery source paths,2 Serbian localization paths and1 timeout-fixture path. Focused runtime/delivery161 tests passed13.554s; localization23 and fixture30 passed in separate retained receipts. These are source/mocked-transport checks, not whole-branch CI or actual CMS image/deployment acceptance. Existing automatic Qodana validation is observed through the shared CI reader; no manual duplicate build was triggered.
Different-provider technical source review (and linguistic review where applicable) remains pending. The new protected Validation/DEV/TEST entry and original-DEV artifact reuse are not activated. Existing signing/security/runtime/deployment gates and platform-owner custody/permission prerequisites remain required. This comment is review trace only, never acceptance. Existing Docu evidence:
ocv206-cms-native-supplier-bootstrap-20261114/delivery-entry-{verification,native-contract,review-packet}.json,local-checkpoint-bb252312-20261114.json, plus the separately frozen localization/fixture receipts.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.