Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] split molecule testes to run in parallel #8756

Merged

Conversation

cristicalin
Copy link
Contributor

What type of PR is this?
/kind feature

What this PR does / why we need it:
This PR splits the molecule tests to allow them to run in parallel and in multiple stages to prevent stage1 from being blocked for a long time and give more rapid feedback on CI job failures.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

[CI] split molecule testes to run in parallel

@k8s-ci-robot k8s-ci-robot added kind/feature Categorizes issue or PR as related to a new feature. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Apr 28, 2022
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cristicalin

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

The pull request process is described here

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 28, 2022
@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Apr 28, 2022
@cristicalin cristicalin force-pushed the paralelize_molecule_tests branch 2 times, most recently from e7a0319 to 0775552 Compare April 28, 2022 07:26
@cristicalin cristicalin force-pushed the paralelize_molecule_tests branch from 0775552 to f556d55 Compare April 28, 2022 07:49
@oomichi
Copy link
Contributor

oomichi commented Apr 28, 2022

confirmed all following existing molecule tests are running in parallel

roles/container-engine/cri-o/molecule
roles/container-engine/docker/molecule
roles/container-engine/youki/molecule
roles/container-engine/kata-containers/molecule
roles/container-engine/cri-dockerd/molecule
roles/container-engine/containerd/molecule
roles/container-engine/gvisor/molecule
roles/bastion-ssh-config/molecule
roles/bootstrap-os/molecule
roles/adduser/molecule

This is a nice work, thanks @cristicalin !

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 28, 2022
@k8s-ci-robot k8s-ci-robot merged commit 835fd86 into kubernetes-sigs:master Apr 29, 2022
@oomichi oomichi mentioned this pull request May 28, 2022
LuckySB pushed a commit to southbridgeio/kubespray that referenced this pull request Jun 30, 2023
* add parametrization to molecule_run.sh

* [CI] split molecule tests to allow parallelization of work
LuckySB pushed a commit to southbridgeio/kubespray that referenced this pull request Oct 23, 2023
* add parametrization to molecule_run.sh

* [CI] split molecule tests to allow parallelization of work
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants