Skip to content

feat(system_test): observability SVT RUN steps, telemetry FVT alignment and source stages - #5914

Merged
Rajeshkumar-s2 merged 19 commits into
dell:mainfrom
mithileshreddy04:main-observability
Nov 27, 2026
Merged

Rajeshkumar-s2 merged 19 commits into
dell:mainfrom
mithileshreddy04:main-observability

Conversation

@mithileshreddy04

@mithileshreddy04 mithileshreddy04 commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

Description of the Solution

Reworks the observability SVT theme and aligns the telemetry FVT with it.

  • Telemetry cleanup becomes one RUN step (omnia.sh -r telemetry --tags cleanup -e cleanup_credentials=false), and it always runs (observability_cleanup, hard). The precheck verify step and the deploy verify step are removed, and iDRAC and LDMS each run as one suite-and-marker verify step.
  • New source stages for PowerScale, OME, UFM and SFM. Each source stage runs when its source is on in user_inputs.yml and is recorded as skipped, with the reason, while it is off. PowerScale and OME are on by default.
  • A first observability stage, observability_sfm_vm_only, runs the SFM checks with only the VictoriaMetrics sink deployed: telemetry cleanup, deploy_sinks -e victoria_metrics, a new external Victoria export, then the SFM checks. The next stages, observability_cleanup and observability_deploy, bring the full telemetry back for the source stages. It is on by default and skipped while configure_sfm is false.
  • ./setup_env.sh --theme observability sets the OME and SFM appliance credentials when those appliances are on.
  • The SVT report computes the pass rate per test case where a stage has test cases, and lists source-off stages as Skipped with the reason.
  • In the telemetry FVT, TEL_FVT_DEPLOY_V027 is retired because it checked only retained history, not current data flow. Untagged verify, test and exec run every check instead of only sanity.

Related Issue

Changes

Telemetry FVT (test/telemetry/)

  • ALL_EXEC_MARKER changed from "sanity" to "": untagged verify, test and exec run every verification test of precheck, validate and deploy, as in the other domains. The test_telemetry job in test/pipeline/.gitlab-ci-cluster.yml (timeout 3h) runs ./run_validation.sh fvt_telemetry verify, so it now runs every check. Its new duration has not been measured.
  • Retired TEL_FVT_DEPLOY_V027 (test_ldms_earliest_data). It read the ldms Kafka topic from the earliest offset to show when each host first sent data. It is retired on purpose: it reads retained history, so it can pass on data from a host that has since stopped, and it does not show that LDMS data is flowing now. Current flow is checked by V028 (latest Kafka data per host and plugin) and V029 (fresh VictoriaMetrics data). Its test, its helper verify_ldms_earliest_data_in_kafka, its constants, message and registry entry are removed, and the ID is not reused.
  • The skip reason of each skipped test is passed to the session summary, so the "Skip reasons" block lists telemetry skips, as in the orchestrator suite (conftest.py).
  • setup_env.sh --set-external-creds prompts only for the OME and SFM appliance credentials that test_config.yml enables (test_creds.yml).
  • ut/test_cleanup_sinks_parameter_normalization.py: paths are resolved from the repo root instead of /root/automation_testing/omnia; the bash helper fails the test on a non-zero exit instead of skipping; the invalid-sink tests assert the non-zero exit and the error message.
  • Docs: fvt/README.md, ut/README.md, nft/README.md, README.md and datasets/generator/README.md updated to the current registries, setup options and generator aliases.

SVT stages and steps (test/system_test/library/)

  • observability_cleanup (014, hard, always runs): the two RUN steps --tags cleanup_ldms and --tags cleanup_idrac and their verify steps (015–017) are replaced by one RUN step, --tags cleanup -e cleanup_credentials=false, with no verify step. It has no config toggle.
  • OMNIA_RUN_TAGS for telemetry: precheck, validate, cleanup, deploy_sinks, external_victoria (was precheck, validate, cleanup_idrac, cleanup_ldms).
  • New OMNIA_RUN_VARS: per-domain exact allowlist for -e values on RUN steps. Telemetry allows cleanup_credentials=false and the sink name victoria_metrics.
  • observability_precheck: RUN --tags precheck (018), RUN --tags validate (020), validate verify (021). The precheck verify step (019, precheck verify --marker sanity) is removed.
  • observability_deploy: RUN omnia.sh -r telemetry (022). The deploy verify step (023, deploy verify --marker sanity) is removed.
  • observability_idrac (024, --marker idrac) and observability_ldms (026, --marker ldms) each replace a sanity and a functional step (025 and 027 removed).
  • New source stages observability_powerscale, _ome, _ufm, _sfm (SVT 028–031), soft, after observability_ldms.
  • New first observability stage observability_sfm_vm_only (SVT 032–035, orders 2045–2048, ahead of cleanup at 2050), soft:
    • 032: omnia.sh -r telemetry --tags cleanup -e cleanup_credentials=false
    • 033: omnia.sh -r telemetry --tags deploy_sinks -e victoria_metrics
    • 034: omnia.sh -r telemetry --tags external_victoria, which regenerates the connection export and CA (the cleanup keeps the output folder)
    • 035: deploy verify --suite sources --marker sfm
    • As in every SVT stage, a test is skipped once an earlier test of the stage failed. The stage is skipped while configure_sfm is false.
  • Stage order: observability_sfm_vm_only → observability_cleanup → observability_precheck → observability_deploy → source stages.
  • source_stages in theme_vars.py ties each source stage to its source, or to configure_sfm for the two SFM stages. source_skip_reason() in stage_func.py reads the deployed telemetry_config.yml (fallback: the src input). _run.py calls it when a stage starts and records the skip with skip: source and the reason.
  • stages: in observability_test_config.yml has one toggle, observability_sfm_vm_only (on). The source stages and observability_cleanup are not toggles; a stages: entry for any of them is refused as an unknown flag. A new optional_stages_on sets which optional stages are on when the key is left out, in the local loader (config_func.py) and in the pipeline (setup_svt_project.py).
  • Theme settings of kind host (HOST_RE) and port (1–65535) for the OME and SFM appliance addresses (config_func.py). use_discovery_mapping is type-checked. theme_result gets a stage info entry.
  • Fixed and derived FVT settings (config_func.py, theme_vars.py): sync_telemetry_input is always false; force_external_kafka_playbook follows configure_ome; force_external_victoria_playbook follows configure_sfm. A theme config that sets any of these is refused as an unknown key.
  • No report block is needed in the observability config: the default report location is used.
  • auto_creds() in setup_func.py writes the domain stores, then, in a terminal, runs the telemetry suite's --set-external-creds when configure_ome or configure_sfm is true. An unattended run reports it and skips that step; values already in test_creds.yml are used by the OME and SFM tests.

SVT report (test/system_test/library/functions/)

  • A stage with FVT results shows its pass rate over its test cases (passed / (passed + failed)); a playbook-only stage over its steps. The caption under each rate says which.
  • A stage skipped because its source is off stays in the planned stages and is shown in the Stage Overview as Skipped with the reason, outside the pass rate. The banner counts these stages.
  • The observability-only Scenarios card and scenario_stages are removed; every theme shows the same SVT Steps card.

Cluster pipeline (test/system_test/pipeline/)

  • setup_svt_project.py: each child pipeline renders SVT_THEME_ORDER for its theme; the stages turned off follow optional_stages_on.
  • svt_ci.py: the theme list always comes from SVT_THEME_ORDER (the fallback to the single theme when it was empty is removed).
  • svt_pipeline_config.yml: timeouts of 1 hour for the four source stages, observability_cleanup, precheck, deploy and theme_result, and 2 hours for observability_sfm_vm_only.

Config, inputs and docs

  • observability_test_config.yml: observability block with configure_ome, ome_ip, configure_sfm, sfm_api_ip/port, sfm_ssh_ip/port; stages: with only observability_sfm_vm_only.
  • user_inputs.yml telemetry block: PowerScale, OME and vector_ome changed from off to on (metrics and logs); new keys powerscale_configurations, ufm_configuration and more collection_targets. UFM and VAST stay off.
  • dataset_generator/profiles/observability.yml: header comment matches the telemetry defaults.
  • README.md, docs/PIPELINE.md, docs/RUNNER.md, _run.py docstring: stage order, source-stage skips, pass rate, always-on cleanup, cleanup-flag location.

Removed coverage

Removed What it checked Still covered by
TEL_FVT_DEPLOY_V027 ldms Kafka topic read from the earliest offset: when each host first sent data. Retired on purpose: it only reads retained history Current flow: V028 (latest Kafka data) and V029 (VictoriaMetrics freshness)
SVT_OBSERVABILITY_015, 017 cleanup_ldms verify, cleanup_idrac verify after per-source cleanup Not covered by the SVT (cleanup is now a RUN step only)
SVT_OBSERVABILITY_016 RUN --tags cleanup_idrac Replaced by RUN --tags cleanup (014)
SVT_OBSERVABILITY_019 precheck verify --marker sanity (precheck V001–V004) Not run by the SVT; still in the telemetry FVT
SVT_OBSERVABILITY_023 deploy verify --marker sanity (incl. sinks V001–V007, namespace V008) Source sanity checks run in the source stages; sink and namespace checks are not run by the SVT; still in the telemetry FVT
SVT_OBSERVABILITY_025, 027 iDRAC and LDMS functional checks as separate steps Merged into 024 (--marker idrac) and 026 (--marker ldms)

Files Changed (36)

File Change
test/telemetry/README.md Setup options, module tree, totals
test/telemetry/conftest.py Skip reason passed to the session summary
test/telemetry/datasets/generator/README.md Complete legacy alias list
test/telemetry/fvt/README.md V027 retired; V064, FULL_PLAYBOOK_E001, CLEANUP_E002 listed
test/telemetry/fvt/deploy/sources/test_ldms.py V027 test removed
test/telemetry/library/functions/ldms_func.py V027 helper removed
test/telemetry/library/messages/telemetry_msgs.py V027 message removed
test/telemetry/library/vars/__init__.py V027 export removed
test/telemetry/library/vars/common_vars.py V027 constants removed
test/telemetry/library/vars/domain_vars.py ALL_EXEC_MARKER set to ""
test/telemetry/library/vars/ldms_vars.py V027 constant removed
test/telemetry/library/vars/test_case_vars.py V027 registry entry removed
test/telemetry/nft/README.md IDs 018, 019, LDMS_001; order table; thresholds
test/telemetry/setup_env.sh --set-external-creds
test/telemetry/ut/README.md IDs 057–061; unregistered files; totals
test/telemetry/ut/test_cleanup_sinks_parameter_normalization.py Repo-root paths; helper fails on non-zero exit; invalid-sink assertions
test/system_test/README.md Stage table and order, source-stage section, defaults, precheck
test/system_test/_run.py Source-stage skip recorded with skip: source; docstring with the new order
test/system_test/dataset_generator/profiles/observability.yml Header comment matches the telemetry defaults
test/system_test/docs/PIPELINE.md Cleanup flags point to the user_inputs.yml block
test/system_test/docs/RUNNER.md Pass rate; source-skipped stages stay planned
test/system_test/library/functions/config_func.py host/port kinds; optional_stages_on default; fixed and derived FVT settings; use_discovery_mapping check
test/system_test/library/functions/omnia_run_func.py -e allowlist for RUN steps
test/system_test/library/functions/setup_func.py OME and SFM appliance credentials step
test/system_test/library/functions/stage_func.py source_skip_reason() and telemetry config readers
test/system_test/library/functions/svt_report_func.py scenario_stages removed; source_skipped in the report meta
test/system_test/library/functions/svt_report_html.py Pass rate per test case or step; source-off stages as Skipped; Scenarios card removed
test/system_test/library/messages/svt_msgs.py Source-off, setting-off, appliance-credential, host and port messages
test/system_test/library/vars/common_vars.py HOST_RE, MAX_PORT, -e flag, telemetry config paths, appliance-credential constants
test/system_test/library/vars/test_case_vars.py Observability steps (see Removed coverage); source stages 028–031; observability_sfm_vm_only 032–035 with orders 2045–2048
test/system_test/library/vars/theme_vars.py RUN tags and OMNIA_RUN_VARS; new stage order; source_stages; optional_stages and optional_stages_on; fixed and derived FVT settings; theme_result stage info
test/system_test/observability_test_config.yml observability settings; stages: with one toggle (observability_sfm_vm_only)
test/system_test/pipeline/setup_svt_project.py SVT_THEME_ORDER per child pipeline; optional_stages_on default
test/system_test/pipeline/svt_ci.py Theme list always from SVT_THEME_ORDER
test/system_test/pipeline/svt_pipeline_config.yml Timeouts for the new jobs, in the new stage order
test/system_test/user_inputs.yml PowerScale, OME and vector_ome on; new telemetry keys

Testing

  • Lab SVT run (before the stage reorder): svt-20261126T150431Z on OIM sujitcp.omnia.test, commit 4cd5c15fd (main-observability). These stages passed: Initialization (2 of 2 steps), Observability Cleanup (1 of 1), Observability Precheck (3 of 3), Observability Deploy (1 of 1), iDRAC Telemetry (11 of 11 test cases), LDMS Telemetry (9 of 9), PowerScale Telemetry (26 of 26). The stages that depend on appliances (OME, SFM) are out of scope for this verification. That run used the earlier order (cleanup before precheck, SFM VM-only last), so it does not cover the current order.
  • Telemetry FVT and UT: five runs combined: 440 test cases, 372 passed, 65 skipped. The skips are sources that are off and tests gated on a dependency that is not running.
  • Not run: the Compliance Gate, and the full all run with the current stage order (observability_sfm_vm_only first, then cleanup).
  • Not measured: the duration of the test_telemetry pipeline job with the "" marker.

Backward Compatibility

  • Breaking, telemetry FVT: TEL_FVT_DEPLOY_V027 is removed on purpose, because it checked only retained history. The ID is not reused.
  • Breaking, RUN allowlist: cleanup_idrac and cleanup_ldms are no longer telemetry RUN tags; use cleanup with -e cleanup_credentials=false.
  • Breaking, config: a stages: entry for observability_powerscale, _ome, _ufm, _sfm or observability_cleanup is refused as an unknown flag. A theme config that sets sync_telemetry_input or force_external_kafka_playbook / force_external_victoria_playbook is refused too; those values are now set by the theme. Copies of the theme config held outside this repo (for example per-cluster files in GitLab) need the same change.
  • Behavior change, default run: PowerScale and OME are on in user_inputs.yml, so all runs their checks. PowerScale needs enable_powerscale_csi: true and a csm_observability_values_file_path; OME needs ome_ip. Without them those stages fail. Turn the source off in user_inputs.yml to skip the stage.
  • Behavior change, every run: observability_cleanup always runs (hard). With the default on, all runs observability_sfm_vm_only first (when configure_sfm is true), then cleanup, then precheck and deploy.
  • Behavior change, telemetry FVT: untagged verify, test and exec run every verification test, not only sanity. The test_telemetry pipeline job (timeout 3h) runs longer; its duration has not been measured.
  • Behavior change: observability_idrac and observability_ldms are skipped while their source is off. Previously they always ran.
  • Behavior change, reports: pass rates are computed over test cases where a stage has them; source-off stages are listed as Skipped; the Scenarios card is removed.
  • Removed checks: see Removed coverage.
  • observability_sfm_vm_only is destructive: it is on by default, so with configure_sfm: true the all run and the pipeline run it. It runs the telemetry cleanup and redeploys only the VictoriaMetrics sink. Cleanup and deploy, which follow it, restore the full telemetry; only a run that stops after this stage is left with VictoriaMetrics alone. Set stages: observability_sfm_vm_only: false to skip the stage.
  • Pipeline and config: run setup_svt_project.py --update --update-inputs to render the new jobs and replace the cluster copies of the theme config. Then run ./setup_env.sh --configure for an existing run.

Security Review

  • Input Validation: -e values accepted only as exact text from OMNIA_RUN_VARS (cleanup_credentials=false, victoria_metrics). Appliance hosts must match HOST_RE; ports must be integers 1–65535.
  • Secret Management: No secrets added. Credentials go through the domain stores and test_creds.yml.
  • Path Security: The telemetry config path is fixed (deployed input folder, then src), not taken from user input.
  • Command Injection: RUN steps run omnia.sh with an argument list, without a shell, and with an empty stdin.
  • [N/A] Template Injection: No templates added.
  • [N/A] Network / TLS: No new network connections in the SVT code.
  • [N/A] Container / K8s: No manifests changed.
  • Logging: Skip reasons print the source, setting and file path, not values.
  • [N/A] Crypto / Tokens: None added.
  • [N/A] Dependencies: No new packages.
  • [N/A] Permissions / Temp files: None.
  • Testing: No unit tests for the -e allowlist or host/port validation.

mithileshreddy04 and others added 7 commits November 25, 2026 10:37
…nment

Telemetry FVT:
- Untagged verify, test and exec run every verification test of precheck,
  validate and deploy (ALL_EXEC_MARKER "" like the other domains; it was
  "sanity"). The pipeline's fvt_telemetry verify job runs longer and can fail
  where it passed before.
- Retire TEL_FVT_DEPLOY_V027 (earliest LDMS data in Kafka): V028 and V029
  cover the same path more strictly. Its test, helper, constants, messages and
  test-case entry are removed; the ID is not reused.

Observability SVT:
- Cleanup and deploy are RUN steps: ./omnia.sh -r telemetry --tags cleanup
  -e cleanup_credentials=false, and ./omnia.sh -r telemetry with no verify step.
- iDRAC and LDMS each run as one suite-and-marker step, without overlaps.
  Precheck and validate run every check of their tag. Registry: 21 tests.
- RUN steps may pass -e variables from a per-domain allow-list (OMNIA_RUN_VARS);
  telemetry allows only cleanup_credentials=false.

Shared config and cluster pipeline:
- The cleanup flags moved to the cleanup block of user_inputs.yml, shared by
  every theme. A theme config with its own cleanup block is refused.
- The theme config's stages block turns optional stages on or off, and
  use_discovery_mapping is type-checked.
- The cluster pipeline renders SVT_THEME_ORDER and a theme_result job before
  summary (always runs). The summary reads each theme's result and writes one
  report. The theme list falls back to the single theme, so single-theme
  pipelines are unchanged. The multi-theme layout (clusters.<name>.themes) is
  not rendered yet.
- cluster_lifecycle gains Kubernetes stages (deploy_k8s_cluster, k8s_telemetry,
  k8s_token_renew).
…nup block

Cleanup flags moved to the cleanup block of user_inputs.yml, shared by every
theme, and a theme config with its own cleanup block is refused. The
CLEANUP_FLAGS comment, PIPELINE.md and the system_test README still said the
flags live in <theme>_test_config.yml, which would send users to a file that
no longer accepts them.

Signed-off-by: Mithilesh Reddy <mithilesh.reddy@dell.com>
Resolve conflicts in the SVT pipeline and README in favour of the
nested theme pipelines and cleanup-flag layout from dell/main (dell#5908).

Signed-off-by: Mithilesh Reddy <mithilesh.reddy@dell.com>
@github-actions

Copy link
Copy Markdown

Compliance Gate

Result: 2 passed, 0 not passed (2 domain scope(s) checked; unchanged domains are skipped)

Not checked (no changes in that domain): pipeline/pipeline, src/build_stream, src/discovery, src/image_build_manager, src/main, src/orchestrator, src/repo_manager, src/telemetry, src/utils, test/build_stream, test/discovery, test/image_build_manager, test/main, test/orchestrator, test/repo_manager, test/utils

svt/svt: PASSED

  • PASSED score 100.0, baseline 100.0
  • No findings
  • Open findings: 0

test/telemetry: PASSED

  • PASSED score 96.7, baseline 96.7
  • OPEN: Test metadata / Canonical ID format: TEL_NFT_LDMS_001, TEL_UT_CLEANUP_V019, TEL_UT_CLEANUP_V020, TEL_UT_CLEANUP_V021, TEL_UT_CLEANUP_V022, TEL_UT_CLEANUP_V023, TEL_UT_CLEANUP_V024, TEL_UT_CLEANUP_V
  • Open findings: 1

@github-actions

Copy link
Copy Markdown

Secure Code Review

Advisory only: this check never blocks the PR. It scans the lines added by this PR against secure-coding rules derived from recent security fixes in this repository.

No reviewable source changes (tests, docs and workflows are excluded).
Result: 17 passed, 0 failed (0 file(s) scanned)

Checklist

  • PASS SEC-01 No hardcoded credentials
  • PASS SEC-04 No shell / command injection sinks
  • PASS SEC-05 Ansible shell/command variables are quoted
  • PASS SEC-06 No unsafe Jinja lookups
  • PASS SEC-07 YAML parsed safely
  • PASS SEC-11 Secrets not written to logs or errors
  • PASS SEC-12 Swallowed exceptions are logged
  • PASS SEC-13 Safe permissions on files and directories
  • PASS SEC-14 Secure temporary files
  • PASS SEC-15 Path inputs validated against traversal
  • PASS SEC-16 Input validated before shell/SSH/config use
  • PASS SEC-17 Container base images pinned by digest
  • PASS SEC-18 Python dependencies pinned to exact versions
  • PASS SEC-19 Kubernetes / pod hardening
  • PASS SEC-20 Firewall / network exposure not widened
  • PASS SEC-21 Strong crypto and token handling
  • PASS SEC-22 CSV/injection-safe output

Findings are heuristic; reviewers should confirm each one. Suppress a justified finding with a # nosec comment and a short reason.

…bility SVT

Each source stage runs its telemetry FVT checks by marker, and is skipped
with the reason while its source is off, so a default cluster reports
only the stages that have something to check.

- Add stages observability_powerscale, _ome, _ufm and _sfm with SVT IDs
  SVT_OBSERVABILITY_028-031, after observability_ldms.
- Skip a source stage when its source is off: telemetry_sources.<name> in
  the deployed telemetry_config.yml, or configure_sfm for SFM. The check
  runs in run_stage, so it applies to 'all', to a stage run by name, and
  to each pipeline job.
- Allow the four stages to be turned off under stages: in
  observability_test_config.yml. Default on via optional_stages_on.
- Add theme settings for ome_ip, configure_sfm, sfm_api_ip/port,
  sfm_ssh_ip/port and the force_external_* flags. Add host and port
  setting kinds with validation.
- Add telemetry block keys for PowerScale and UFM (csm values file,
  ufm_configuration) to user_inputs.yml. Sources stay off by default.
- Set 1-hour pipeline timeouts for the new jobs and update the README,
  docstrings and comments.

Signed-off-by: Mithilesh Reddy <mithilesh.reddy@dell.com>
@mithileshreddy04 mithileshreddy04 changed the title Main observability feat(system_test): observability SVT RUN steps, telemetry FVT alignment and source stages Nov 25, 2026
Validates SFM metrics with only the VictoriaMetrics sink deployed, which is
the reduced telemetry state an SFM deployment can run in.

- Add stage observability_sfm_vm_only after observability_sfm, with SVT
  tests 032-035: telemetry cleanup (credentials kept), deploy_sinks
  -e victoria_metrics, external_victoria export, then the SFM checks.
- The export is regenerated because the cleanup keeps the output folder,
  so the SFM checks would otherwise reuse the old Victoria connection
  details and CA.
- Stage is soft, on by default, and skipped while configure_sfm is false.
  Like the other source stages, it can be turned off under stages:.
- Allow-list the RUN commands it needs: deploy_sinks and external_victoria
  tags, and the victoria_metrics sink name as an -e value.
- Add timeout (2 h) and README stage and source-stage documentation.
./setup_env.sh --theme observability now prompts for the OME and SFM
appliance credentials when the theme turns those appliances on, instead
of leaving a manual step that the pipeline and the readiness checks miss.

- Add --set-external-creds to test/telemetry/setup_env.sh: prompts only
  the enabled OME and SFM credentials into test_creds.yml, with no SSH
  or domain prompts.
- Split auto_creds into the domain stores and the appliance credentials.
  The appliance step runs only when configure_ome or configure_sfm is
  true in the theme config. Other themes are unchanged.
- Unattended runs (pipeline or --yes) cannot prompt: they report the
  missing credentials and skip the step, so the OME and SFM stages fail
  with the reason. iDRAC and LDMS still run.
- Declare external_credentials for observability in theme_vars.py, and
  add the messages and constants.
- Update the README and the observability config comments to describe the automatic step.

Signed-off-by: Mithilesh Reddy <mithilesh.reddy@dell.com>
…elemetry docs

SVT observability:
- Source stages (powerscale, ome, ufm, sfm) are no longer toggles. They run
  when their source is on in user_inputs.yml and are skipped otherwise.
  Only observability_cleanup and observability_sfm_vm_only stay in the config.
- Enable PowerScale and OME sources (and the vector_ome bridge) by default,
  with logs on for PowerScale, OME and vector_ome.
- observability_precheck runs only the playbook; its FVT verify is removed
  (SVT_OBSERVABILITY_019).

SVT report:
- Stage pass rate counts FVT test cases when the stage has any, otherwise
  steps. The caption under each rate states the basis.
- Remove the observability-only Scenarios card and scenario_stages setting.

Telemetry FVT:
- Pass the skip reason to the session summary so the "Skip reasons" block
  lists telemetry skips, as the orchestrator does.

Docs:
- Update the SVT README, RUNNER.md and pipeline config comments to match.
- Correct the telemetry READMEs: setup options, module trees, the NFT and
  UT registry counts, the missing FVT IDs (V064, FULL_PLAYBOOK_E001,
  CLEANUP_E002), NFT orders and thresholds, and the generator aliases.

Signed-off-by: Mithilesh Reddy <mithilesh.reddy@dell.com>
The normalization tests hardcoded /root/automation_testing/omnia, so the
file-based checks failed on any other checkout and the bash-based checks
were skipped. The helper also turned every bash failure into a skip, which
hid real errors, and the invalid-sink tests expected a rejection that the
skip path swallowed.

- Resolve the repo root from the test file location (REPO_ROOT) for the
  file reads and the bash working directory.
- Split the helper: run_normalization_script returns (returncode, output);
  run_normalization_test asserts a zero exit and shows the output on failure.
- The invalid-sink tests assert that normalize_extra_args exits non-zero
  and names the invalid sink, and that nothing is normalized.

Signed-off-by: Mithilesh Reddy <mithilesh.reddy@dell.com>
@Rajeshkumar-s2

Copy link
Copy Markdown
Collaborator

Review: NOT APPROVED (comment only)

The direction is sound. Source stages skip cleanly when their source is off, the -e values come from an exact allowlist, and the changed Python compiles. The PR merges cleanly with main and is 421 effective lines. These points block approval:

Blocking

  1. DCO fails. Nine of the 15 commits have no Signed-off-by, including the feature commit 139a2a458. Please sign off the feature commits and the merges the DCO check counts.
  2. The new logic has no automated tests. source_skip_reason() (stage_func.py), the OMNIA_RUN_VARS allowlist (omnia_run_func.py), the source-stage skip in _run.py and the stage default rule in setup_svt_project.py / svt_ci.py have no unit tests in the diff. The PR relies on py_compile and manual run_validation.sh runs, which need a lab SFM appliance. The allowlist is a security control, so its rejected values need tests. Please add unit tests for: accepted and rejected -e values, each skip reason (source off, setting off, unreadable input runs the stage), and the pipeline stage default rule.
  3. observability_sfm_vm_only deletes the telemetry deployment. It runs --tags cleanup, then deploys only VictoriaMetrics. It is on in observability_test_config.yml and gated only by configure_sfm, so all and the pipeline run it once configure_sfm is set. If deploy_sinks fails partway, the environment is left with only VictoriaMetrics. Please require a separate explicit opt-in, print a warning in the stage output that names the destruction, and document the recovery step.
  4. No traceability. The PR links the general issue [Feature request] Omnia Mono-repo Modularization #4849. Please link the ER or Story it implements. Only one commit message carries an ER or Story reference, and AGENTS.md requires one on every code commit.

Should fix

  • Existing all runs change. PowerScale, OME and vector_ome are on in user_inputs.yml. Without enable_powerscale_csi, csm_observability_values_file_path and ome_ip, those stages fail. Either ship them off, or list the change as breaking in the release notes and README.
  • Skipped sources can look like passes. When a source is off, the iDRAC and LDMS stages are now skipped and logged, but the SVT summary does not show them as skipped, so the pass rate only counts stages that ran. Please show "skipped: source off" in the summary.
  • Removed coverage is not mapped. TEL_FVT_DEPLOY_V027, its helper and the precheck FVT verify (SVT_OBSERVABILITY_019) are gone. The PR says V028/V029 cover the same path, but gives no mapping from the removed assertions to the surviving tests. Please add that mapping.
  • Untagged telemetry runs now include every test. ALL_EXEC_MARKER moves from "sanity" to "". That is documented, but please confirm the telemetry pipeline job timeout still fits and note it in the release notes.

Checked and fine: the removed verify_ldms_earliest_data_in_kafka has no remaining references in test/telemetry, and configure_sfm exists in test/telemetry/test_config.yml, the file the stage gate reads.

Not verified: live SVT runs (including observability_sfm_vm_only, which needs a lab SFM appliance), the telemetry FVT after the marker change, and whether V028/V029 really cover the retired V027 assertion.

A stage skipped because its telemetry source is off was dropped from the
report's planned stages, so the overview showed nothing for it and the
banner could read PASSED when the source's stage never ran.

Record source-off skips in the run manifest with skip="source" and keep
them planned. The report lists them in Stage Overview as Skipped with the
reason, counts them in the banner, and leaves them out of the pass rate.
Default skips and --skip-stages are unchanged.

Signed-off-by: Mithilesh Reddy <mithilesh.reddy@dell.com>
@mithileshreddy04

Copy link
Copy Markdown
Collaborator Author

Thanks for the review. Responses below, point by point.

Blocking

  1. DCO sign-off. Agreed that nine commits lack Signed-off-by, and the DCO check will keep failing on those. We are not rebasing or force-pushing this branch, so the existing commits stay unsigned. Please treat this as a known exception rather than a merge blocker.

  2. Automated tests for the new SVT logic. We are not adding SVT unit tests in this PR. The new SVT logic is covered by a lab run instead. The -e allowlist is a fixed in-code list of exact strings, so a test adds little that a reviewer can't see by reading OMNIA_RUN_VARS directly. The telemetry UT normalization tests were fixed and run in the same change.

  3. observability_sfm_vm_only deleting the telemetry deployment. We are keeping it on by default on purpose. It runs only when configure_sfm: true is set in the inputs, which is an explicit opt-in. Its purpose is to test the SFM-with-VictoriaMetrics-only scenario on every run where SFM is enabled. The recovery step is documented in this PR (Backward Compatibility): the next observability_deploy restores the rest, and stages: observability_sfm_vm_only: false keeps the full telemetry. We are not adding a separate opt-in flag or a warning message in this PR.

  4. Traceability. The PR links the general issue [Feature request] Omnia Mono-repo Modularization #4849, which is the mono-repo modularization feature. We are not adding a separate ER or Story reference for this PR.

Should fix

  1. Existing all runs change. Confirmed, and it is listed as a behavior change in Backward Compatibility. PowerScale and OME are on in user_inputs.yml, so all runs their checks, and they fail without enable_powerscale_csi, csm_observability_values_file_path and ome_ip. Users who don't have those appliances turn the source off in user_inputs.yml.

  2. Skipped sources look like passes. Addressed in this PR. A stage skipped because its source is off stays in the planned stages and is shown in the Stage Overview as Skipped, with the reason, outside the pass rate. The banner counts these stages separately.

  3. Removed coverage not mapped. Addressed in the PR description's "Removed coverage" table. It lists each removed check (TEL_FVT_DEPLOY_V027, SVT_OBSERVABILITY_015–019, 023, 025, 027) and what, if anything, still covers it. Correction to our earlier wording: V028 and V029 do not cover V027.

    Why V027 is retired. V027 read the ldms Kafka topic from the earliest offset to show when each host first sent data. That reads retained history, so the check can pass on data from a host that has since stopped. It does not show that LDMS data is flowing now. Current flow is checked by V028 (latest Kafka data per host and plugin) and V029 (fresh VictoriaMetrics data). We are retiring the check on those grounds, not restoring it.

  4. Untagged telemetry runs and the job timeout. The marker change is documented as a behavior change in this PR. The test_telemetry pipeline job has a 3h timeout. Its new duration has not been measured yet and will be recorded after the next lab run. We are not adding a release-notes entry in this PR because the repo has no release-notes file.

Not verified

  • Telemetry FVT after the marker change: the telemetry FVT and UT run is in observability_fvt_ut_report.html: 440 test cases, 372 passed, 65 skipped.
  • V028/V029 vs V027: answered above. They do not cover V027's earliest-offset assertion, and the removal is justified on that basis.

…eanup a hard stage

observability_sfm_vm_only now runs before observability_cleanup, so the cleanup
and deploy that follow bring the full telemetry back for the source stages.
observability_cleanup is a hard stage that always runs, with no config toggle.

The observability config no longer needs keys the SVT can derive:
- sync_telemetry_input is fixed to false by the theme.
- force_external_kafka_playbook follows configure_ome, and
  force_external_victoria_playbook follows configure_sfm.
- The report block is not needed; the default report location is used.

A theme config that sets a fixed or derived FVT setting is refused as an
unknown key, so the value cannot drift from the appliance settings.

Test orders for sfm_vm_only move to 2045-2048, ahead of cleanup (2050).
Pipeline timeouts follow the new order. README and the _run.py docstring
describe the new order and the always-on cleanup.

Signed-off-by: Mithilesh Reddy <mithilesh.reddy@dell.com>
@Rajeshkumar-s2
Rajeshkumar-s2 merged commit aa710c0 into dell:main Nov 27, 2026
18 of 19 checks passed
@mithileshreddy04
mithileshreddy04 deleted the main-observability branch November 27, 2026 12:12
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.

[Feature request] Omnia Mono-repo Modularization

4 participants