-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
[FIX] Install Chrome fixed version to avoid sudden errors #78
[FIX] Install Chrome fixed version to avoid sudden errors #78
Conversation
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.
Great, thanks for the investigation!
Uhm, it seems there's a problem with the command |
8e51222
to
a7068e9
Compare
I'm going to try again as some of them had passed 🤔 |
Dockerfile
Outdated
@@ -48,8 +48,8 @@ RUN curl -sSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - | |||
&& apt-get update -qq \ | |||
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq postgresql-client-12 | |||
|
|||
# Install Google Chrome for browser tests | |||
RUN curl -sSL https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -o /tmp/chrome.deb \ | |||
# Install Google Chrome for browser tests with values {"chrome_version": "126.0.6478.182-1"} |
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.
Can you add a comment with the URL where we can find the chrome version used in Odoo's runbot?
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.
The version in the comment above is not aligned with the code below. Let's remove it from the comment.
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.
@chienandalu can you just remove this comment line? It is useless to repeat the same version number twice. Then I'll merge, and the ARG thing can come later.
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.
☝️
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.
Done
They pass on jammy but fail on focal. |
cbc3c47
to
5a9e09e
Compare
Fixed at last. Sorry about the noise 😅 |
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.
Thanks, a couple more comments.
Dockerfile
Outdated
@@ -48,8 +48,8 @@ RUN curl -sSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - | |||
&& apt-get update -qq \ | |||
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq postgresql-client-12 | |||
|
|||
# Install Google Chrome for browser tests | |||
RUN curl -sSL https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -o /tmp/chrome.deb \ | |||
# Install Google Chrome for browser tests with values {"chrome_version": "126.0.6478.182-1"} |
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.
The version in the comment above is not aligned with the code below. Let's remove it from the comment.
5a9e09e
to
5cba52b
Compare
Can we please finish this merging the other PR and this one for unlocking all the stuck PRs? |
5cba52b
to
1b03176
Compare
All green |
Odoo's approach with Runbots is to install a fixed version of Chrome and only when a new version is tested across all the supported code base they bump it. That way, they avoid sudden errors that would make the whole CIs collapse on tour tests. We can follow the guideline of Odoo's fixed versions for a minimum guarantee.
1b03176
to
0d75adb
Compare
Thanks @chienandalu |
TX @chienandalu |
Thanks ❤️ |
Odoo's approach with Runbots is to install a fixed version of Chrome and only when a new version is tested across all the supported code base they bump it.
That way, they avoid sudden errors that would make the whole CIs collapse on tour tests. Like we're experiencing right now across several repos. Like for example: OCA/web#2932
We can follow the guideline of Odoo's fixed versions for a minimum guarantee. Currently at odoo/runbot@f18a1ad
A good rationale by Odoo on why to fix Chrome versions: odoo/runbot#732 (comment)
cc @Tecnativa
please review @sbidoul @pedrobaeza