Skip to content

Make linux CI parallel - #9209

Merged
Travis Plunk (TravisEz13) merged 4 commits into
PowerShell:masterfrom
TravisEz13:make_linux_CI_parallel
Mar 24, 2019
Merged

Travis Plunk (TravisEz13) merged 4 commits into
PowerShell:masterfrom
TravisEz13:make_linux_CI_parallel

Conversation

@TravisEz13

@TravisEz13 Travis Plunk (TravisEz13) commented Mar 23, 2019 •

Copy link
Copy Markdown
Member

PR Summary

Make the Linux CI build once and then run the tests on 4 different machines, by tag.

PR Context

Running in parallel allows us to run all tests in about the same amount of clock time

PR Checklist

@TravisEz13 Travis Plunk (TravisEz13) changed the title Make linux ci parallel Make linux CI parallel Mar 23, 2019
@TravisEz13 Travis Plunk (TravisEz13) added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Mar 23, 2019
@iSazonov

Copy link
Copy Markdown
Collaborator

Looks great!

Unelevated tests on all platforms take about 13-14 minutes. Can we split them and run on 2-3 VMs?

@RDIL Reece Dunham (RDIL) left a comment

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.

LGTM, but I agree with Ilya, the unelevated pspester tests would be better off on different VMs for speed

@TravisEz13

Copy link
Copy Markdown
Member Author

Ilya (@iSazonov) We can split them up by folder or another tag. Folder would be easier.

@TravisEz13

Copy link
Copy Markdown
Member Author

We also need to remove the [feature] tag code. It causes problems and isn't needed after this PR. I'll do it in another PR...

@RDIL

Copy link
Copy Markdown
Contributor

Travis Plunk (@TravisEz13) I’ll take care of it after this is merged.

@iSazonov

Copy link
Copy Markdown
Collaborator

Folder would be easier.

It seems we need to put the list in a config file to load-balance VMs.

@TravisEz13

Copy link
Copy Markdown
Member Author

Ilya (@iSazonov) That might work... the script would need to see if any folders had been added and run those on some machine designated as a primary machine

@iSazonov

Ilya (iSazonov) commented Mar 23, 2019 •

Copy link
Copy Markdown
Collaborator

Interesting, can these machines interact so as to receive a test batch from a controller VM and return a report? This would solve the load-balancing problem. And we could use this for remoting tests.

@TravisEz13

Copy link
Copy Markdown
Member Author

Ilya (@iSazonov) Interactions between the machines may work sometimes but not consistently. The machines are only given private IP Addresses and are not guaranteed to be on the same subnet. I don't think we need that complexity. It's not needed to create a solution. The added complexity would add failure cases.

A simpler solution does mean that we would need to manually rebalance occasionally, but I don't think that is a problem.

@daxian-dbw

Copy link
Copy Markdown
Member

Come on PoshChan-Bot (@PoshChan) you are nitpicking the letter case 😆

@TravisEz13

Copy link
Copy Markdown
Member Author

PoshChan-Bot (@PoshChan) Please remind me in 3 hours

@PoshChan

Copy link
Copy Markdown
Collaborator

Travis Plunk (@TravisEz13), all requests start with the magic word Please.

@TravisEz13
Travis Plunk (TravisEz13) merged commit 5aed18d into PowerShell:master Mar 24, 2019
@TravisEz13
Travis Plunk (TravisEz13) deleted the make_linux_CI_parallel branch March 24, 2019 01:23
Travis Plunk (TravisEz13) added a commit that referenced this pull request Mar 25, 2019
Make the Linux CI build once and then run the tests on 4 different machines, by tag.

## PR Context

Running in parallel allows us to run all tests in about the same amount of clock time
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
Make the Linux CI build once and then run the tests on 4 different machines, by tag.

## PR Context

Running in parallel allows us to run all tests in about the same amount of clock time
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants