Acceptance testing
- Version
- since 2.x, describes 2.52.14
- Feature flag
- none
- For
- Platform operator
On delivery, and again after an upgrade, your administrators verify each capability against the running deployment. This page gives one procedure per capability, written generically: precondition, steps, expected result, and whether the platform's own test suites automate it. Each procedure links to the capability page that holds the behaviour and the numbers it checks. Run the procedures with throwaway test users, workspaces and projects, and restore any flag you change.
The platform's own test suites
Two kinds of suite ship with the product and can be run against a deployment by the vendor's engineers:
- API end-to-end suite. Runs against the live API and the real integrations (scheduler cluster, monitoring core, storage cluster, registry, identity provider, model source, inference gateway). Each spec records the flags it touches and restores them afterwards, and creates and removes its own users, workspaces, projects, pools and frames. Specs are not safe to run in parallel with each other. At the UAT rehearsal recorded in the sources, the seven platform specs of the time passed 45 of 45 tests against real backends.
- Recorded browser walkthrough. Drives the web app and the operator console as a user and an operator would, recording video, trace and screenshots of every step so that the output doubles as acceptance evidence. A preflight spec runs first and names exactly what is missing if the deployment is not wired together: both portals served, the expected flag posture in the bootstrap route, the identity provider published to the sign-in page, the storage, monitoring and registry endpoints active and healthy, the test region present.
Where a procedure below says Automated, the suite kind is named. Steps that touch physical hardware or a GPU engine are manual and say so.
Feature flags and bootstrap
Capability page: Configuration.
Precondition: a staff account with the admin_feature_flags permission.
Steps:
- Open Platform, then Feature flags. Confirm all twelve keys are listed with their descriptions and that
billingis the only one on by default on a fresh deployment. - Switch one flag, for example
product_announcements. - Call
GET /api/v1/bootstrapwithout a session and readfeatures. - Reload the web app and the console. Check the menu entry the flag controls.
- Open Activity, then Staff, and find the entry for the change.
- Add a workspace override on one flag, then remove it.
- Restore the flag.
Expected result: the bootstrap route reflects the new value on the next call; the menu entry appears or disappears on the reload; the activity log carries the change with the acting user and a reason; the override is listed under the flag and removable.
Automated: API end-to-end suite (flag listing, toggle reflected on the bootstrap route, unauthenticated bootstrap with a public cache header); recorded browser walkthrough (read-only check of the flag posture).
Branding profile
Capability page: Configuration.
Precondition: a second branding profile with a product name different from the default and a light logo, saved but inactive.
Steps:
- Open Platform, then Branding, select the profile and press Activate; give a reason.
- Reload the web app and the console.
- Send an e-mail from the platform, for example invite a user to a workspace.
- Try Delete on the now-active profile.
Expected result: both apps show the badge "for Product name" with the logo under the product logo, and the browser title carries both names; the e-mail carries the profile's sender name and address, product name and legal footer; the delete is refused with branding_profile_is_active.
Automated: recorded browser walkthrough (badge and title in both apps). The e-mail check is manual.
Single sign-on
Capability page: Single sign-on and 2FA.
Precondition: the provider is registered, its callback URL is registered at the identity provider, Test discovery returns success, the provider is enabled and oidc_federation is on. At the identity provider: one test user whose verified e-mail matches an existing platform account, and one test user unknown to the platform. Allow signup on.
Steps:
- Open the sign-in page. A button with the provider's name is shown.
- Sign in as the existing user through the provider.
- Sign out. Sign in as the unknown user through the provider.
- In the console, open Manage, then Staff, and confirm the new user holds no staff role.
- Disable the provider and try to sign in through it.
- Re-enable the provider. Switch
oidc_federationoff, reload the sign-in page, then switch it back on.
Expected result: step 2 signs the existing account in without creating another; step 3 creates an account marked verified and signs it in, and a second sign-in lands on the same account; step 4 shows no staff role; step 5 shows no button and the flow is refused; step 6 hides the buttons while the provider remains editable under Platform, then Identity providers.
Automated: API end-to-end suite (complete authorisation-code round trips for an existing and a new user, staff not granted, disabled provider, callback replay rejected, flag gating with provider administration reachable); recorded browser walkthrough (sign-in round trip through a test identity provider, session survives a reload).
Organizations
Capability page: Organizations.
Precondition: organization_tier, consumption_reports and resource_quotas on; an organisation with one administrator member; a capacity pool and an organisation quota frame on it; one workspace attached; an OIDC auto-attach rule if federated sign-in is in scope.
Steps:
- Sign in to the web app as the organisation administrator. Open the organisation dashboard, members, workspaces and reports pages.
- Create an organisation-owned workspace with yourself as owner.
- Invite a member: once with the e-mail of a registered user, once with an unknown e-mail. For the unknown one, register with that e-mail and open the link from the invitation e-mail.
- Sign in as a plain member and open the administration pages.
- From an attached workspace, request a purchase that exceeds the organisation frame, then one within it.
- Generate the organisation-wide consumption report as JSON and CSV.
- In the console, attach a workspace whose usage does not fit the frame's headroom.
- Switch
organization_tieroff, reload the web app, then switch it back on.
Expected result: step 3 adds the registered user at once and the unknown user after the join link; replaying the link is refused; step 4 is refused with organization_admin_required; step 5 is refused with quota_exceeded_organization (or the storage or registry variant) and then accepted; step 6 returns rows and a CSV; step 7 is refused with org_attach_headroom_exceeded until Force is ticked; step 8 hides every organisation route and menu entry while Platform, then Organizations keeps working.
Automated: API end-to-end suite (membership and summary, invitation of a registered and of an unregistered e-mail, owner outside the organisation refused, over-frame purchase refused and within-frame accepted, consumption as JSON and CSV, auto-attach by a verified e-mail domain, flag-off posture); recorded browser walkthrough (dashboard, create workspace, invite a member, organisation report).
Quotas and capacity
Capability page: Quotas and capacity.
Precondition: resource_quotas on; an active region; a test workspace.
Steps:
- In Platform, then Capacity, create a usage-enforcement pool in the region with small caps, and confirm it appears with zero usage.
- Set the test workspace's frame on that pool with caps below one product's resource shape (Manage, then Workspaces, the workspace, Workspace resource quota frame).
- As the workspace owner, open Settings, then Usage & Quota.
- Start a purchase of a product that exceeds the frame.
- Set a project quota inside the workspace frame and view it.
- Edit the pool's caps below current allocations.
Expected result: step 3 shows the frame, the usage bars and the per-project quotas; step 4 is refused with quota_exceeded_workspace (or the cause for the level that is over); step 6 is refused until Force is ticked.
Automated: API end-to-end suite (pool creation, workspace frame, owner's quota view, a purchase over the frame refused with quota_exceeded_workspace); recorded browser walkthrough (Usage & Quota view, product catalogue per region).
Jobs and scheduling
Capability page: Jobs and scheduling.
Precondition: a scheduler cluster registered, active and Healthy under Platform, then Scheduler; hpc_scheduler on; a test workspace created after the flag was switched on (its Sync status row shows a synchronisation time and no error); with resource_quotas on, a project quota of 2 GPUs on a test project; a compute node with at least one GPU. For interactive sessions: the session proxy deployed and the notebook software on the compute nodes.
Steps:
- As a workspace member, submit a batch job requesting 1 GPU and a short command.
- Watch the job list until the job ends.
- Submit a job requesting 4 GPUs against the 2-GPU project quota.
- Generate the scheduler usage report as JSON and CSV for the window.
- Optional: open an interactive session and open it in the browser.
- Optional, manual: restart the scheduler controller while jobs are queued; then reboot a compute node under a running job.
Expected result: step 2 ends in completed with non-zero usage; step 3 is refused with 400 quota_exceeded_project before the job reaches the scheduler; step 4 lists the completed job with non-zero GPU hours; step 5 reaches running and opens through the proxy URL; step 6 shows the platform converging on the controller's recovered state within one reconcile and one ingest pass, and the interrupted job either resuming or reaching a terminal state within one ingest pass of the scheduler reporting it, with no manual repair.
Automated: API end-to-end suite (cluster registered, active and healthy; workspace synchronised without error; project quota visible; 1-GPU job completes with usage; 4-GPU job refused; usage report as JSON and CSV); recorded browser walkthrough (HPC Jobs list and submit form, consumption Reports page). Step 6 is manual.
Project storage
Capability page: Project storage.
Precondition: a storage endpoint registered, active and Healthy under Platform, then Storage; project_storage on; the test workspace holds a frame with a storage cap; a test project; for the attach step, a running virtual machine in the workspace on a Proxmox or OpenStack region with the region's block storage configured.
Steps:
- Open Platform, then Storage, and read Cluster capacity.
- In the project's Storage tab, create a share. Open its mount information.
- Create a block volume. Grow it. Try to shrink it.
- Create a block volume larger than the frame's storage cap.
- Attach the volume to the virtual machine, then detach it.
- Delete the share, typing its name to confirm.
- Switch
project_storageoff, reload, then switch it back on.
Expected result: step 1 shows a non-zero total; step 2 reaches available with a backend reference and the mount information renders the mount source; step 3 grows and refuses the shrink with storage_shrink_not_allowed; step 4 is refused with quota_exceeded_storage_workspace and leaves no row; step 5 shows the disk on the virtual machine and the backend image survives the detach; step 6 removes the share; step 7 hides the Storage tab and the console's capacity and volumes sections while the endpoint table stays reachable.
Automated: API end-to-end suite (endpoint healthy, live capacity, share and block volume lifecycle with the objects verified in the cluster, quota refusal, shrink refusal, duplicate name conflict, attach scoping, mount information, flag gating); recorded browser walkthrough (project storage page). Step 5 against a real virtual machine is manual, per the runbook's attach checklist.
Container registry
Capability page: Container registry.
Precondition: the registry installed with TLS and provisioned; an endpoint registered, active and Healthy under Platform, then Registry, with both proxy caches listed; container_registry on; the test workspace holds a frame whose registry cap is at least the default grant; a machine with a container runtime that trusts the registry's certificate.
Steps:
- Open Platform, then Registry. Read Proxy caches; press Open registry console.
- In the workspace, open Settings, then Container Registry, and enable the registry.
- Issue a robot credential. Copy the secret from the dialog; close it; list the robots.
- Run the
docker logincommand the dialog rendered. Push a small image to the workspace project and pull it back. - Revoke the robot and run
docker loginagain. - From a compute node, pull a public image through the proxy-cache path shown in the app; remove it locally and pull again.
- In the console, Override quota for the workspace project above its frame, then to a permitted value.
Expected result: step 1 lists both upstream caches with a ping verdict and the console opens; step 2 shows the project active with the default quota; step 3 shows the secret exactly once and the listing carries no secret; step 4 succeeds; step 5 fails; step 6 succeeds twice, the second time from the local cache; step 7 is refused with quota_exceeded_registry_workspace and then applied to the registry.
Automated: API end-to-end suite (endpoint healthy with proxy caches, undersized frame refused, enable verified in the registry, staff quota override, robot lifecycle including a live docker login, flag gating); recorded browser walkthrough (registry settings page, healthy endpoint). Step 6 is manual, per the runbook's proxy-cache checklist.
Monitoring and alerting
Capability page: Monitoring and alerting.
Precondition: the monitoring core deployed and provisioned; nodes, management controllers and switches enrolled, with each node's name in the core equal to its platform hostname; an endpoint registered, active and Healthy under Platform, then Monitoring; monitoring on; a workspace with an enrolled instance.
Steps:
- Open Platform, then Monitoring. Read the health cards and Problems. Open Node metrics for one host and load a range.
- Call
GET /admin/monitoring/summary. - In the web app, open Monitoring and view the metrics of the enrolled instance; open Scheduled usage if the scheduler is live.
- Force a test problem in the core (a test item and trigger you create there, or one of the alarm-simulation alternatives below), find it in Problems, Acknowledge it with a message, then clear the condition.
- Run the alarm simulation below.
Expected result: step 1 shows host totals at least equal to the enrolled count, open problems by severity and real graphs; step 2 returns the same totals; step 3 renders the instance's series; step 4 shows the problem, the acknowledgement, and its resolution.
Automated: API end-to-end suite (endpoint healthy, summary with real data, forced trigger surfaces as a problem, acknowledged with a message, resolves; workspace scoping; flag gating); recorded browser walkthrough (monitoring page renders, endpoint healthy in the console).
Alarm simulation
Capability page: Monitoring and alerting.
This is the acceptance rehearsal for detection, escalation and recovery. The GPU telemetry variant below was the one rehearsed against a real GPU node in the sources; the alternatives are listed at the end.
Precondition: a recipient user in the core with the "Cerebro Email" media assigned for all severities and periods; the media type's SMTP settings pointing at your relay (without a relay, the logged attempt is the pass criterion); a GPU node with the exporter running and both GPU templates linked; monitoring on.
Steps:
- Record the time. Stop the GPU exporter service on one GPU node.
- Wait for the exporter's missing-data window to elapse (value on the capability page).
- In Platform, then Monitoring, Problems, find "GPU telemetry: dcgm-exporter is not reporting" for that host. Confirm it in the core's problems view as well.
- In the core, read the alert log for the event.
- Confirm that no watchdog problem fired for the same host.
- Start the exporter service again.
- Watch the problem and the alert log.
- Optional: leave a different problem unacknowledged and unresolved past the re-notification window.
Expected result: step 3 shows the problem at severity HIGH, fired at the end of the window; step 4 shows an alert for the action "Cerebro hardware and platform alerts" to the recipient with the rendered subject, with status sent when a relay is configured, or a logged attempt with the connection error when it is not; step 5 shows no duplicate, because the watchdog triggers depend on the exporter trigger; step 7 shows the problem resolving on the next successful collection and a recovery alert whose subject starts with "Resolved"; step 8 produces a second notification.
Alternatives for step 1, from simplest to most production-like: send a value over a test trigger's threshold; pull a power supply or a fan on a lab node; administratively shut an unused switch port.
Automated: the platform-side half (a forced problem surfaces in Problems, is acknowledged and resolves) by the API end-to-end suite. Stopping the exporter, reading the core's alert log and the hardware alternatives are manual.
Reports and accounting
Capability page: Reports and accounting.
Precondition: consumption_reports on; a workspace with usage in the window (jobs, instances, storage grants or registry grants).
Steps:
- In the web app, open Reports. Choose a window and a grouping, generate the report, download the CSV and open the printable view.
- Request the same window with the end before the start, and a window longer than the maximum.
- Turn the monthly report e-mail off and on in the report settings.
- In the console, open Reports, then Consumption. Generate the cross-tenant report, filter by the workspace, download the CSV.
- Compare the workspace's CSV with the console's row for it.
Expected result: step 1 shows summary cards and tables, and the CSV ends with a TOTAL row; step 2 is refused with report_window_invalid; step 3 saves both states; step 4 returns rows keyed by workspace and a CSV; step 5 matches.
Automated: API end-to-end suite (exact seeded totals as JSON, CSV by parameter and by Accept header with content type and TOTAL row, grouping by user, invalid window, e-mail settings round trip, cross-tenant report with workspace filter and CSV parity, flag gating); recorded browser walkthrough (Reports page generates, CSV download). The monthly e-mail itself can only be observed on the first day of a month.
Command-line client
Reference: CLI.
Precondition: the client binary installed on a login node or workstation that can reach the API; a workspace access token with view_projects and, for job commands, manage_scheduler_jobs ticked.
Steps:
cerebro auth login --endpoint <api url> --token-file ./token, thencerebro auth status.cerebro jobs list --jsonin a workspace with job history.cerebro reports pullfor a window, and compare the file with the CSV downloaded from the web app.- Run a command of a capability whose flag is off.
Expected result: step 1 reports the token's workspace and the server's verdict; step 2 lists the jobs; step 3 is byte-identical; step 4 reports that the feature is not enabled on this deployment.
Automated: API end-to-end suite (login and status, jobs list, reports pull byte-identical to the HTTP download) against a live API.
Model catalogue
Capability page: Model catalogue.
Precondition: model_catalog on; the model cache mounted on the fetcher host and read-only on compute nodes; the fetcher service running; the model source (or your mirror) reachable; a small public model repository to use.
Steps:
- In the console, open Catalog, then Models, Add model, and enter the repository id.
- Open the entry and press Cache now. Watch the cache status.
- Publish the entry.
- As a workspace user, open Models, find the card, and use Use in project on a test project. Open the project's storage tab.
- Use Open in notebook from the ready model.
- Optional: use Copy to project storage on a project with a storage cap of zero, then with a sufficient cap.
- Repeat step 4 with another user on an entry that is licence-gated (gating comes from the source metadata or is set through the staff models API; the console shows the gated state but has no switch for it).
- Delete: remove the grants, Remove cache, then Delete the entry. Try Delete first to see the refusal.
Expected result: step 1 autofills display name, size and licence and pins the current revision; step 2 goes queued, shows progress, and ends cached; step 3 makes the card visible to users; step 4 creates a mount grant that is ready at once, listed on the card and on the project; step 5 opens the session dialog with the model path prefilled; step 6 is refused with quota_exceeded_storage_workspace, then lands ready with the files on the project share; step 7 blocks until the user accepts the licence in the app; step 8 is refused with model_in_use while grants exist, then succeeds in order.
Automated: API end-to-end suite (create with autofill and pinned revision, cache through the running fetcher with files verified on disk, licence gate, mount grant, copy grant quota guard, notebook path gate, flag gating, delete choreography); recorded browser walkthrough (curate, cache, publish; tenant mount and open in notebook).
Inference endpoints
Capability page: Inference endpoints.
Precondition: the model catalogue and the scheduler live; inference_serving on; the gateway deployed behind TLS with its public URL configured on the API; the gateway host resolving compute node hostnames and compute nodes reaching the API; an inference engine installed on the compute nodes; a ready mount grant in a test project.
Steps:
- In the project's storage tab, use Serve on the ready model and create an endpoint with the engine, resources and idle timeout.
- Watch the endpoint reach
running. Copy its URL. - Mint an API token on the Inference page.
- Send a non-streaming chat completion to the endpoint URL with the token, then a streaming one.
- Read the usage on the Inference page and under Platform, then Inference.
- Stop the endpoint and wait for it to settle. Start it again, then stop it from the console as an operator.
- Revoke the token and repeat step 4.
- Delete the endpoint.
Expected result: step 2 reaches running after the engine job reports in; step 3 shows the secret exactly once; step 4 returns completions with token usage, the streamed one ending with a usage chunk; step 5 shows matching usage on both pages; step 6 shows stopping then stopped within the settle window on the capability page, and the operator stop is activity-logged; step 7 answers 401 once the revocation latency on the capability page has passed; step 8 removes the endpoint and its usage rows.
Automated: API end-to-end suite (flag gating, token lifecycle, create validation, lifecycle over a real scheduler job with the deterministic mock engine, connection route, gateway authentication, exact non-streaming and streaming usage, usage rows and overview agreement, operator stop, stop and start transitions, delete cascade); recorded browser walkthrough (Serve to running, token, completion through the gateway, stop to stopped, console overview). The sources record no run with a real GPU engine; perform and record that drill manually as part of acceptance.
Product announcements
Capability page: Product announcements.
Precondition: product_announcements on; an active region.
Steps:
- In the console, open Announcements, Add announcement, fill in kind, category, title, badge, hardware label and the call to action Register interest, and save.
- Open the announcement and publish it.
- In the web app, open the virtual machine create page and select the region.
- Press Register interest on the card.
- In the console, open the announcement's Interested workspaces tab and Export CSV.
- Unpublish, reload the create page, then delete the announcement.
Expected result: step 1 saves a draft with a live card preview; step 2 shows Published; step 3 shows the card; step 4 confirms the registration; step 5 lists the workspace and exports it; step 6 removes the card and then the announcement.
Automated: recorded browser walkthrough (create, publish and delete in the console; the card and register-interest flow in the web app).
Billing switched off
Capability page: Configuration.
Precondition: billing off.
Steps:
- Register a new user, create a workspace and follow the onboarding.
- Open the workspace menu and the virtual machine create page.
- In the console, open Manage, then Workspaces, and a workspace's detail page; look for the Billing menu group.
- Call a workspace billing route.
Expected result: step 1 lands on the dashboard without a billing step; step 2 shows no Billing menu and offers creation without a deposit prompt; step 3 shows no Billing group and no balance or limits cards; step 4 answers 404 feature_disabled.
Automated: recorded browser walkthrough (sign-in lands on the dashboard, no Billing menu, console flag posture).
Related pages
- Deployment and integration: the bring-up order each precondition assumes
- Operations: what to check when a step fails
- Capabilities by delivery model