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(docs-infra): enable the Selenium Promise Manager in e2e tests to a void flakiness on CI #39905

Closed
wants to merge 2 commits into from

Conversation

gkalpak
Copy link
Member

@gkalpak gkalpak commented Dec 1, 2020

Since we turned off the Selenium Promise Manager in #39600, the AIO e2e tests have started flaking on CI. After trying out several things, the only change that seems to eliminate the flakiness is turning the Selenium Promise Manager back on (see #39873 for more details).

This commit turns the Selenium Project Manager on to get rid of the flakiness.

Fixes #39872.

@google-cla google-cla bot added the cla: yes label Dec 1, 2020
@@ -21,7 +21,12 @@ exports.config = {
},
},
directConnect: true,
SELENIUM_PROMISE_MANAGER: false,
// Keep he Selenium Promise Manager enabled to avoid flakiness on CI.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// Keep he Selenium Promise Manager enabled to avoid flakiness on CI.
// Keep the Selenium Promise Manager enabled to avoid flakiness on CI.

// See https://github.com/angular/angular/issues/39872 for more details.
//
// TODO(gkalpak): Set this back to `false` to align with CLI-generated apps when the flakiness is
// fixed in the future.
Copy link
Member

Choose a reason for hiding this comment

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

...in the future

😆

Copy link
Member Author

Choose a reason for hiding this comment

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

What? Flakiness can be randomly fixed "on its own". True story (see the first commit in this PR) 😆

@mary-poppins
Copy link

You can preview fd15fd6 at https://pr39905-fd15fd6.ngbuilds.io/.

In angular#32497, an option was introduced to retry failed docs examples tests
a second time. This was done to work around some then recently
introduced flakiness. After inspecting ~50 recent CI docs examples jobs,
all tests passed on the first try.

This commit gets rid of the retry attempt. This will avoid covering up
any new flakiness introduces in the future.
…kiness on CI

Since we turned off the Selenium Promise Manager in angular#39600, the AIO e2e
tests have started flaking on CI. After trying out several things, the
only change that seems to eliminate the flakiness is turning the
Selenium Promise Manager back on (see angular#39873 for more details).

This commit turns the Selenium Project Manager on to get rid of the
flakiness.

Fixes angular#39872
@mary-poppins
Copy link

You can preview 2ba3652 at https://pr39905-2ba3652.ngbuilds.io/.

@gkalpak gkalpak added action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project comp: docs-infra target: patch This PR is targeted for the next patch release labels Dec 1, 2020
@ngbot ngbot bot modified the milestone: needsTriage Dec 1, 2020
@gkalpak gkalpak marked this pull request as ready for review December 1, 2020 10:52
jessicajaniuk pushed a commit that referenced this pull request Dec 1, 2020
In #32497, an option was introduced to retry failed docs examples tests
a second time. This was done to work around some then recently
introduced flakiness. After inspecting ~50 recent CI docs examples jobs,
all tests passed on the first try.

This commit gets rid of the retry attempt. This will avoid covering up
any new flakiness introduces in the future.

PR Close #39905
jessicajaniuk pushed a commit that referenced this pull request Dec 1, 2020
…kiness on CI (#39905)

Since we turned off the Selenium Promise Manager in #39600, the AIO e2e
tests have started flaking on CI. After trying out several things, the
only change that seems to eliminate the flakiness is turning the
Selenium Promise Manager back on (see #39873 for more details).

This commit turns the Selenium Project Manager on to get rid of the
flakiness.

Fixes #39872

PR Close #39905
jessicajaniuk pushed a commit that referenced this pull request Dec 1, 2020
…kiness on CI (#39905)

Since we turned off the Selenium Promise Manager in #39600, the AIO e2e
tests have started flaking on CI. After trying out several things, the
only change that seems to eliminate the flakiness is turning the
Selenium Promise Manager back on (see #39873 for more details).

This commit turns the Selenium Project Manager on to get rid of the
flakiness.

Fixes #39872

PR Close #39905
@gkalpak gkalpak deleted the ci-aio-fix-e2e-flakiness branch December 1, 2020 20:02
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jan 1, 2021
@pullapprove pullapprove bot added area: dev-infra Issues related to Angular's own dev infra (build, test, CI, releasing) and removed area: build & ci Related the build and CI infrastructure of the project labels Jan 1, 2021
@ngbot ngbot bot removed this from the needsTriage milestone Jan 1, 2021
@ngbot ngbot bot modified the milestones: Backlog, needsTriage Jan 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: dev-infra Issues related to Angular's own dev infra (build, test, CI, releasing) cla: yes target: patch This PR is targeted for the next patch release type: bug/fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

build: flakes in e2e test in test_aio(_local(_viewengine)) CI jobs
3 participants