-
Notifications
You must be signed in to change notification settings - Fork 25.3k
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
test: saucelab targets for all karma tests #35516
Conversation
300a023
to
20f29a9
Compare
20f29a9
to
bc2b175
Compare
In talking with Igor, we realized that if we enable saucelabs for both Ivy and VE on all of our PRs, we run into concurrency issues causing resource contention. We likely need to run a subset of these tests for all PRs and on master and do the full run on a cron each day. |
SGTM. I'll list the all the tests here and we can pick the ones (if any) we want to run in PR. The Ivy & VE jobs can be run sequentially to reduce resource contention (tho you'll still get that for when multiple PRs are building). |
Here all of the tests currently running and how long they take: ViewEngine (25 minutes)
Ivy (19 minutes)
NB: See the PR diff for the few that are failing on IE 10 & 11 These can all get moved to a master-only cron job. Question to answer is which ones (if any) do we want to run on all PRs. |
For now, lets just run the same subset of tests we were running before on PRs and on master, and then on a cron we can set up to run them all. We should have the cron notify the dev-infra failures channel if it fails. |
bc2b175
to
693e7fb
Compare
Sounds good. Currently legacy saucelabs test runs around 6000 specs in a single karma config which takes around 7m (https://app.circleci.com/jobs/github/angular/angular/628633). I suspect that running the same specs across multiple karma configs will take longer with the extra browser provisioning & teardown overhead. I'll account for which ones are being run right now and compare to what is run in the current 25m ViewEngine bazel saucelabs job that runs 25 different karma_web_test targets. @devversion @josephperrott I wonder it would be possible to tell the karma-sauce-launcher (https://github.com/karma-runner/karma-sauce-launcher) to keep browsers it provisioned open for some amount of time so that they could be re-used in the tunnel by the next karma-sauce-launcher? |
79067d6
to
9d9f3ef
Compare
Moved the two bazel saucelabs jobs (Ivy & ViewEngine) to master-only and kept the legacy_saucelabs job for now until we can fix the browsering provisioning with Bazel. CI tested for the master-only jobs here: #35643 The question is if we should run the two saucelabs jobs on each master commit or on a cron job? |
…xme-saucelabs-ve” tags
…g CircleCI workflow
9d9f3ef
to
91da62b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Ready to go. #35643 all green |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information