Skip to content

Exploratory testing for Elemental and Rancher Manager interoperability#588

Open
lscalabrini01 wants to merge 2 commits intorancher:mainfrom
lscalabrini01:qa-issue_1859
Open

Exploratory testing for Elemental and Rancher Manager interoperability#588
lscalabrini01 wants to merge 2 commits intorancher:mainfrom
lscalabrini01:qa-issue_1859

Conversation

@lscalabrini01
Copy link
Copy Markdown
Contributor

@lscalabrini01 lscalabrini01 commented Mar 30, 2026

This pull request introduces a new Go build tag, pit.elemental, to enable targeted testing for Elemental setups. The tag is added to documentation and applied across multiple test files to include them in the Elemental test suite. Additionally, the Elemental test suite definition YAML is removed, likely to transition to using the new tag-based approach.

Test coverage and build tag updates:

  • Introduced the pit.elemental build tag in documentation (.github/copilot-instructions.md, TAG_GUIDE.md) to define and describe tests that should run on Elemental setups. [1] [2]
  • Updated Go build constraints in various test files (e.g., alerting_test.go, istio_test.go, cis_benchmark_test.go, logging_test.go, monitoring_test.go, neuvector_test.go, public_gitrepo_test.go, upgrade_test.go, installation_test.go, longhorn_test.go, network_policy_test.go, port_test.go, neuvector_hardened_test.go, workload_test.go, workload_test.go in multiple directories) to include the new pit.elemental tag, ensuring these tests are executed for Elemental environments. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16]

Test suite definition cleanup:

  • Removed the elemental_schemas.yaml file, which previously defined the Elemental test suite and individual test cases, likely in favor of the new tag-based test selection.

@lscalabrini01 lscalabrini01 self-assigned this Mar 30, 2026
@lscalabrini01 lscalabrini01 added the team/pit-crew slack notifier for pit crew label Mar 30, 2026
@lscalabrini01 lscalabrini01 marked this pull request as ready for review April 1, 2026 18:55
@lscalabrini01 lscalabrini01 requested a review from a team as a code owner April 1, 2026 18:55
Copy link
Copy Markdown
Contributor

@floatingman floatingman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few questions, because I don't know.

3. **Test tier tags**: `sanity`, `extended`, `stress`
4. **PIT (Platform Interoperability Testing) tags**:
* `pit.daily`: Tests that run daily
* `pit.elemental`: Daily tests for Harvester setup
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are the elemental tests also harvester tests?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, they are not. I’m updating the description

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this deleted?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because elemental_schema.yaml is a test suite, while the Elemental tests are actually a test plan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team/pit-crew slack notifier for pit crew

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants