-
Notifications
You must be signed in to change notification settings - Fork 972
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
Upgrade chromedriver to fix bootstrapping errors #5926
Conversation
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
@AMoo-Miki @kavilla can you folks take a look and leave any thoughts? I don't know how we are determining the URL of chromedriver internally, so not sure if this will fix the whole issue. |
I found this link: https://googlechromelabs.github.io/chrome-for-testing/#stable, looks like the URL changed |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5926 +/- ##
=======================================
Coverage 66.98% 66.98%
=======================================
Files 3305 3305
Lines 63574 63574
Branches 10153 10153
=======================================
+ Hits 42582 42585 +3
+ Misses 18523 18521 -2
+ Partials 2469 2468 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Thanks @derek-ho, Sometimes we have issues with Chrome not be available on GitHub envs. So we have a script
and then run |
I see. I took a quick look at the script, and it doesn't seem like it is hard coding any links. The fundamental issue seems to be chromedriver moved locations from So would this PR actually fix anything? Where is the |
Looks like the upgrade chromedriver script only runs for a few tasks but not |
The backport to
To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/OpenSearch-Dashboards/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch-Dashboards/backport-2.x
# Create a new branch
git switch --create backport/backport-5926-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 4081154eeb79dcf601d20c08ab0efeae78ab7cbb
# Push it to GitHub
git push --set-upstream origin backport/backport-5926-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch-Dashboards/backport-2.x Then, create a pull request where the |
The backport to
To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/OpenSearch-Dashboards/backport-2.12 2.12
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch-Dashboards/backport-2.12
# Create a new branch
git switch --create backport/backport-5926-to-2.12
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 4081154eeb79dcf601d20c08ab0efeae78ab7cbb
# Push it to GitHub
git push --set-upstream origin backport/backport-5926-to-2.12
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch-Dashboards/backport-2.12 Then, create a pull request where the |
The backport to
To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/OpenSearch-Dashboards/backport-2.12 2.12
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch-Dashboards/backport-2.12
# Create a new branch
git switch --create backport/backport-5926-to-2.12
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 4081154eeb79dcf601d20c08ab0efeae78ab7cbb
# Push it to GitHub
git push --set-upstream origin backport/backport-5926-to-2.12
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch-Dashboards/backport-2.12 Then, create a pull request where the |
The backport to
To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/OpenSearch-Dashboards/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch-Dashboards/backport-2.x
# Create a new branch
git switch --create backport/backport-5926-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 4081154eeb79dcf601d20c08ab0efeae78ab7cbb
# Push it to GitHub
git push --set-upstream origin backport/backport-5926-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch-Dashboards/backport-2.x Then, create a pull request where the |
…5926) Bumps chromdriver dependency causing errors during bootstrap due to URL change. Issues Resolved: Signed-off-by: Derek Ho <[email protected]>
Manual backport #5928 |
Bumps chromdriver dependency causing errors during bootstrap due to URL change. Issues Resolved: Signed-off-by: Derek Ho <[email protected]> Co-authored-by: Derek Ho <[email protected]>
Bumps chromdriver dependency causing errors during bootstrap due to URL change. Issues Resolved: Signed-off-by: Derek Ho <[email protected]> Co-authored-by: Derek Ho <[email protected]> (cherry picked from commit 4f11775) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This should not have been backported since it breaks Node 14. |
…project#5926) (opensearch-project#5928)" This reverts commit 4f11775. Signed-off-by: abbyhu2000 <[email protected]>
…)" (#5989) This reverts commit 4f11775. Signed-off-by: abbyhu2000 <[email protected]>
…5926) Bumps chromdriver dependency causing errors during bootstrap due to URL change. Issues Resolved: opensearch-project#5925 Signed-off-by: Derek Ho <[email protected]>
Description
Bumps chromdriver dependency causing errors during bootstrap due to URL change.
Issues Resolved
Potentially #5925
Screenshot
Testing the changes
Check List
yarn test:jest
yarn test:jest_integration