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

[Manual] [Backport 1.x] Automates chromedriver version selection for tests (#2990) #3128

Merged

Conversation

joshuarrrr
Copy link
Member

backport a26fb43 from #2990

Note that I manually ported the changes from .github/workflows/build_and_test_workflow.yml to .github/workflows/pr_check_workflow.yml

…t#2990)

Signed-off-by: Miki <amoo_miki@yahoo.com>
(cherry picked from commit a26fb43)

Signed-off-by: Josh Romero <rmerqg@amazon.com>
Copy link
Collaborator

@AMoo-Miki AMoo-Miki left a comment

Choose a reason for hiding this comment

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

Thanks

Copy link
Member

@ashwin-pc ashwin-pc left a comment

Choose a reason for hiding this comment

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

The changes here are breaking the CI flows. Did we change the babel transpiler in 2.x too?

scripts/upgrade_chromedriver.js Outdated Show resolved Hide resolved
Copy link
Collaborator

@AMoo-Miki AMoo-Miki left a comment

Choose a reason for hiding this comment

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

We need to dumb down the code for Node v10; i have made suggestions for the code changes.

That said, we cannot enable Node v10 tests on latest images of any OS because they use latest versions of Chrome and they require latest versions of chromedriver which only work on Node v14+.

One solution would be to have a specific version of Chrome installed on the latest images; there is an Action for that.

scripts/upgrade_chromedriver.js Outdated Show resolved Hide resolved
scripts/upgrade_chromedriver.js Outdated Show resolved Hide resolved
AMoo-Miki and others added 2 commits January 18, 2023 16:34
Signed-off-by: Miki <miki@amazon.com>
Make `upgrade_chromedriver.js` work on Node v10
@manasvinibs
Copy link
Member

Merging this with know failures in CI checks related to chromdriver versions.
Note from Miki - failures of chrome (in tests) and chromedriver (in bootstrap) are expected that as long as build and test in linux (the very first one) succeeds, we are gtg

@manasvinibs manasvinibs merged commit 3dab4c0 into opensearch-project:1.x Jan 19, 2023
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 19, 2023
…tests (#2990) (#3128)

* Automates chromedriver version selection for tests (#2990)

Signed-off-by: Miki <amoo_miki@yahoo.com>
(cherry picked from commit a26fb43)

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* Make `upgrade_chromedriver.js` work on Node v10

Signed-off-by: Miki <miki@amazon.com>

Signed-off-by: Josh Romero <rmerqg@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Co-authored-by: Miki <miki@amazon.com>
(cherry picked from commit 3dab4c0)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
manasvinibs added a commit that referenced this pull request Jan 19, 2023
ananzh pushed a commit that referenced this pull request Jan 24, 2023
…tests (#2990) (#3128) (#3294)

* Automates chromedriver version selection for tests (#2990)

Signed-off-by: Miki <amoo_miki@yahoo.com>
(cherry picked from commit a26fb43)

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* Make `upgrade_chromedriver.js` work on Node v10

Signed-off-by: Miki <miki@amazon.com>

Signed-off-by: Josh Romero <rmerqg@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Co-authored-by: Miki <miki@amazon.com>
(cherry picked from commit 3dab4c0)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@joshuarrrr joshuarrrr deleted the backport/backport-2990-to-1.x branch March 10, 2023 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants