Skip to content

🌱 Fix capi-md-e2e test to support taint propagation feature#2981

Merged
metal3-io-bot merged 1 commit intometal3-io:mainfrom
Nordix:fix-capi-md-test/adil
Dec 3, 2025
Merged

🌱 Fix capi-md-e2e test to support taint propagation feature#2981
metal3-io-bot merged 1 commit intometal3-io:mainfrom
Nordix:fix-capi-md-test/adil

Conversation

@adilGhaffarDev
Copy link
Copy Markdown
Member

What this PR does / why we need it:
CAPI added taint propagation feature and updated their e2e test to test it.
We are running same capi test on our side so we also have to update our yamls.
This pr is enabling EXP_MACHINE_TAINT_PROPAGATION and updating md yaml so it can be tested.

Fixes #

Checklist:

  • Documentation has been updated, if necessary.
  • Unit tests have been added, if necessary.
  • E2E tests have been added, if necessary.
  • Integration tests have been added, if necessary.

@adilGhaffarDev
Copy link
Copy Markdown
Member Author

/test ?

@metal3-io-bot metal3-io-bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Dec 1, 2025
@metal3-io-bot
Copy link
Copy Markdown
Contributor

@adilGhaffarDev: The following commands are available to trigger required jobs:

/test build
/test build-fkas
/test generate
/test gomod
/test manifestlint
/test markdownlint
/test metal3-centos-e2e-integration-test-main
/test metal3-ubuntu-e2e-integration-test-main
/test shellcheck
/test test
/test unit

The following commands are available to trigger optional jobs:

/test metal3-centos-e2e-basic-test-main
/test metal3-centos-e2e-capi-md-test-main
/test metal3-centos-e2e-feature-test-main-features
/test metal3-centos-e2e-feature-test-main-pivoting
/test metal3-centos-e2e-feature-test-main-remediation
/test metal3-centos-e2e-feature-test-main-scalability
/test metal3-centos-e2e-integration-k8s-pre-release-test-main
/test metal3-centos-e2e-integration-test-main-capi-nightly-build
/test metal3-e2e-1-33-1-34-upgrade-test-main
/test metal3-e2e-clusterctl-upgrade-test-main
/test metal3-e2e-conformance-test-main
/test metal3-ubuntu-e2e-basic-test-main
/test metal3-ubuntu-e2e-capi-md-test-main
/test metal3-ubuntu-e2e-feature-test-main-features
/test metal3-ubuntu-e2e-feature-test-main-pivoting
/test metal3-ubuntu-e2e-feature-test-main-remediation
/test metal3-ubuntu-e2e-integration-k8s-pre-release-test-main
/test metal3-ubuntu-e2e-integration-test-main-capi-nightly-build

Use /test all to run the following jobs that were automatically triggered:

build
build-fkas
generate
gomod
manifestlint
shellcheck
test
unit
Details

In response to this:

/test ?

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@adilGhaffarDev adilGhaffarDev force-pushed the fix-capi-md-test/adil branch 2 times, most recently from 071168d to 0bc9a8c Compare December 1, 2025 13:50
@adilGhaffarDev
Copy link
Copy Markdown
Member Author

/test metal3-centos-e2e-capi-md-test-main
/test metal3-ubuntu-e2e-capi-md-test-main

@adilGhaffarDev
Copy link
Copy Markdown
Member Author

/test metal3-centos-e2e-capi-md-test-main
/test metal3-ubuntu-e2e-capi-md-test-main

Copy link
Copy Markdown
Member

@fmuyassarov fmuyassarov left a comment

Choose a reason for hiding this comment

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

LGTM

@adilGhaffarDev
Copy link
Copy Markdown
Member Author

/test metal3-centos-e2e-integration-test-main metal3-ubuntu-e2e-integration-test-main

@adilGhaffarDev
Copy link
Copy Markdown
Member Author

we need to use 1.12-rc of capi to enable this, I will update the pr to use it.

@adilGhaffarDev
Copy link
Copy Markdown
Member Author

/test metal3-centos-e2e-capi-md-test-main

@adilGhaffarDev
Copy link
Copy Markdown
Member Author

/test metal3-centos-e2e-capi-md-test-main

@adilGhaffarDev
Copy link
Copy Markdown
Member Author

/test metal3-centos-e2e-capi-md-test-main

@adilGhaffarDev
Copy link
Copy Markdown
Member Author

/test metal3-centos-e2e-capi-md-test-main

@adilGhaffarDev
Copy link
Copy Markdown
Member Author

/test metal3-centos-e2e-capi-md-test-main

@adilGhaffarDev
Copy link
Copy Markdown
Member Author

/test metal3-ubuntu-e2e-capi-md-test-main
/test metal3-ubuntu-e2e-integration-test-main metal3-centos-e2e-integration-test-main

1 similar comment
@adilGhaffarDev
Copy link
Copy Markdown
Member Author

/test metal3-ubuntu-e2e-capi-md-test-main
/test metal3-ubuntu-e2e-integration-test-main metal3-centos-e2e-integration-test-main

@adilGhaffarDev
Copy link
Copy Markdown
Member Author

cc
@peppi-lotta

Signed-off-by: Muhammad Adil Ghaffar <muhammad.adil.ghaffar@est.tech>
@adilGhaffarDev
Copy link
Copy Markdown
Member Author

/test metal3-centos-e2e-capi-md-test-main
/test metal3-ubuntu-e2e-integration-test-main metal3-centos-e2e-integration-test-main

@tuminoid tuminoid requested a review from Copilot December 3, 2025 09:11
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR enables support for the CAPI machine taint propagation feature in Metal3's end-to-end tests. CAPI has introduced a taint propagation feature that allows taints to be defined on MachineDeployment specs and propagated to the underlying nodes, and this PR updates the Metal3 e2e test infrastructure to test this capability.

Key changes:

  • Updates the MachineDeployment rollout test to use specialized "-md-taints" flavored cluster templates
  • Adds new cluster template configurations for both Ubuntu and CentOS that include taint definitions with different propagation modes (OnInitialization and Always)
  • Enables the EXP_MACHINE_TAINT_PROPAGATION feature flag in both the e2e configuration and CI script

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
test/e2e/md_rollout_test.go Updates Flavor to use osType + "-md-taints" template for testing taint propagation
test/e2e/data/infrastructure-metal3/main/cluster-template-ubuntu-md-taints/md-taints.yaml Adds MachineDeployment patch with taint specifications for Ubuntu
test/e2e/data/infrastructure-metal3/main/cluster-template-ubuntu-md-taints/kustomization.yaml Adds kustomization configuration for Ubuntu md-taints template
test/e2e/data/infrastructure-metal3/main/cluster-template-centos-md-taints/md-taints.yaml Adds MachineDeployment patch with taint specifications for CentOS
test/e2e/data/infrastructure-metal3/main/cluster-template-centos-md-taints/kustomization.yaml Adds kustomization configuration for CentOS md-taints template
test/e2e/config/e2e_conf.yaml Switches to CAPI v1.12.0-rc.0 release for testing, adds md-taints templates to provider files, and enables EXP_MACHINE_TAINT_PROPAGATION variable
scripts/ci-e2e.sh Updates CAPI release version, ensures CAPI config directory exists early, appends taint propagation feature flag to clusterctl.yaml, and exports the feature flag for e2e tests
Makefile Adds build commands for the new Ubuntu and CentOS md-taints cluster templates

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Member

@tuminoid tuminoid left a comment

Choose a reason for hiding this comment

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

/retitle 🌱 Fix capi-md-e2e test to support taint propagation feature

/approve

@metal3-io-bot metal3-io-bot changed the title 🌱 Fix capi-md-e2e test to support taint propogation feature 🌱 Fix capi-md-e2e test to support taint propagation feature Dec 3, 2025
@metal3-io-bot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tuminoid

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@metal3-io-bot metal3-io-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 3, 2025
@fmuyassarov
Copy link
Copy Markdown
Member

/lgtm
Thanks @adilGhaffarDev

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label Dec 3, 2025
@metal3-io-bot metal3-io-bot merged commit d296722 into metal3-io:main Dec 3, 2025
35 checks passed
@metal3-io-bot metal3-io-bot deleted the fix-capi-md-test/adil branch December 3, 2025 10:42
@metal3-io-bot metal3-io-bot added this to the CAPM3 - v1.12 milestone Dec 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants