Skip to content

Backport of ci: fix test splits that have less test packages than runner count from hanging into release/1.14.x#17084

Merged
jmurret merged 3 commits into
release/1.14.xfrom
backport/jm/runner-count/usefully-feasible-jackal
Apr 21, 2023
Merged

Backport of ci: fix test splits that have less test packages than runner count from hanging into release/1.14.x#17084
jmurret merged 3 commits into
release/1.14.xfrom
backport/jm/runner-count/usefully-feasible-jackal

Conversation

@hc-github-team-consul-core
Copy link
Copy Markdown
Collaborator

Backport

This PR is auto-generated from #17080 to be assessed for backporting due to the inclusion of the label backport/1.14.

WARNING automatic cherry-pick of commits failed. Commits will require human attention.

merge conflict error: POST https://api.github.com/repos/hashicorp/consul/merges: 409 Merge conflict []

The below text is copied from the body of the original PR.


Description

In 1.13, there are only two compatibility test packages. So when a generate matrix job has a TOTAL_RUNNERS of 5 but there are only 2 packages, the process hangs. This PR changes the runner count to 2 in this case.

Another issue that occurs that is fixed in this PR is that when you specify TOTAL_RUNNERS = 4, you will actually split across 5 runners. (The same occurs with any number you set TOTAL_RUNNERS to. You will actually get 1 greater.)


Overview of commits

@hashicorp-cla
Copy link
Copy Markdown

hashicorp-cla commented Apr 21, 2023

CLA assistant check

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement

Learn more about why HashiCorp requires a CLA and what the CLA includes


1 out of 2 committers have signed the CLA.

  • jmurret
  • temp

temp seems not to be a GitHub user.
You need a GitHub account to be able to sign the CLA. If you already have a GitHub account, please add the email address used for this commit to your account.

Have you signed the CLA already but the status is still pending? Recheck it.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Auto approved Consul Bot automated PR

@hc-github-team-consul-core hc-github-team-consul-core force-pushed the backport/jm/runner-count/usefully-feasible-jackal branch 2 times, most recently from 6d02197 to 21b2646 Compare April 21, 2023 16:02
@jmurret jmurret marked this pull request as ready for review April 21, 2023 16:17
@jmurret jmurret enabled auto-merge (squash) April 21, 2023 16:17
@jmurret jmurret force-pushed the backport/jm/runner-count/usefully-feasible-jackal branch 3 times, most recently from 37433be to 6827372 Compare April 21, 2023 17:40
@jmurret jmurret force-pushed the backport/jm/runner-count/usefully-feasible-jackal branch from 6827372 to 7ec4923 Compare April 21, 2023 17:46
@jmurret jmurret disabled auto-merge April 21, 2023 17:58
@jmurret jmurret merged commit 3342eeb into release/1.14.x Apr 21, 2023
@jmurret jmurret deleted the backport/jm/runner-count/usefully-feasible-jackal branch April 21, 2023 17:59
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.

4 participants