Skip to content

Prevent travis build from failing to install properly Google chrome #2336

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

Merged
merged 2 commits into from
May 16, 2020

Conversation

benoittgt
Copy link
Member

Hello

I was upset with the failing build with selenium and wrong exit status. I compared the last green version or our build for a specific rails version against one failing build. I diffed the travis output for hours.. then spotted this difference:

Capture d’écran 2020-05-16 à 10 27 00

chromedriver was not properly installed. I still don't know what is an exit status 9, and from who. But I think that's good enough.

To fix this error. Simply add dpkg package when we start our travis build.

Related: travis-ci/travis-ci#9361

benoittgt added 2 commits May 16, 2020 10:21
We add some errors that lead to:

dpkg: error processing archive /tmp/google-chrome-stable_current_amd64.deb (--install):
 subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
 /tmp/google-chrome-stable_current_amd64.deb

This addition fix the error and install properly chromedriver

Related:

travis-ci/travis-ci#9361
@benoittgt benoittgt merged commit b628615 into master May 16, 2020
@benoittgt benoittgt deleted the fix-status-ci branch May 16, 2020 08:59
@benoittgt
Copy link
Member Author

Added to 4-0-maintenance

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

Successfully merging this pull request may close these issues.

2 participants