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

Downgrade Chrome and Chrome Driver #94

Closed
2samueld opened this issue Dec 8, 2021 · 4 comments
Closed

Downgrade Chrome and Chrome Driver #94

2samueld opened this issue Dec 8, 2021 · 4 comments
Assignees

Comments

@2samueld
Copy link

2samueld commented Dec 8, 2021

Description

bfs6.5.4 is using node v8. The current chrome and chromedriver version doesn't support node v8. Chrome has to be downgrade to <= v79.

Link for chrome node v8 support: https://github.com/giggio/node-chromedriver/blob/79.0.0/azure-pipelines.yml

@2samueld 2samueld self-assigned this Dec 8, 2021
@Tengda-He
Copy link
Owner

have you figured out which chromedriver will use and need to upload S3?

@sichend
Copy link
Collaborator

sichend commented Dec 8, 2021

In your docker file, you need to use the following line to install the required softwares

RUN curl -sSL https://dl.google.com/linux/linux_signing_key.pub | apt-key add - && apt-get update && apt-get install -y rsync jq bsdtar --no-install-recommends && wget -O /tmp/chrome-linux.zip "https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/Linux_x64%2F706915%2Fchrome-linux.zip?generation=1571324979333057&alt=media" && unzip /tmp/chrome-linux.zip -d /tmp/ && cp /tmp/chrome-linux/chrome /usr/bin/google-chrome && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

Once installed you will see

google-chrome --version
Chromium 79.0.3945.0 

@2samueld
Copy link
Author

2samueld commented Dec 8, 2021

have you figured out which chromedriver will use and need to upload S3?

It'll be using chrome v79

@zhyuanqi
Copy link
Collaborator

zhyuanqi commented Dec 9, 2021

I was checking on pipeline bfs6.5.4_test https://jenkins.bfs.sichend.people.aws.dev/job/Kibana/job/bfs6.5.4_test/. The newest run, you are still using

curl https://storage.googleapis.com/kibana-ci-es-snapshots-permanent/6.8.10/elasticsearch-6.8.10-SNAPSHOT.tar.gz --output elasticsearch.tar.gz"
  1. Why do you need a elasticsearch 6.8 in bfs 6.5
  2. I believe we talked about using S3 bucket. Sichen already posted a solution here Build Test Plugins Stage Failure Job #12 #34 (comment) on Monday which is two days ago. He also gave an example run with code implemented. If you check on the email, you should not miss this part
  3. I don’t know why you start the google chrome while ES is not ready.

This was referenced Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants