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

[taskcluster] Disable Chrome sandboxing in Docker #20152

Merged
merged 4 commits into from Nov 7, 2019

Conversation

Hexcles
Copy link
Member

@Hexcles Hexcles commented Nov 7, 2019

Whenever we see TASKCLUSTER_ROOT_URL in the entry point (runl.py), we
disable Chrome sandboxing with --no-sandbox.

tox.ini needs to be modified to allow passing of TASKCLUSTER_ROOT_URL.

Fix #20133

(Alternative to #20136 )

jgraham
jgraham previously approved these changes Nov 7, 2019
@jgraham jgraham self-requested a review November 7, 2019 17:11
@jgraham jgraham dismissed their stale review November 7, 2019 17:11

Old commits

Copy link
Member Author

@Hexcles Hexcles left a comment

Choose a reason for hiding this comment

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

infrastructure/ tests now pass, which suggests our change in run.py is working as intended.

However, I don't know why tools/wpt/ tests still fail. See my inline comments.

tools/wpt/tests/test_wpt.py Outdated Show resolved Hide resolved
tools/tox.ini Show resolved Hide resolved
Whenever we see TASKCLUSTER_ROOT_URL in the entry point (runl.py), we
disable Chrome sandboxing with --no-sandbox.

Fix #20133
@Hexcles
Copy link
Member Author

Hexcles commented Nov 7, 2019

Turns out I was looking at the wrong tox.ini. Thanks, @jgraham !

Even though we don't really rely on this env var in this suite for now,
it makes sense to have it everywhere for consistency.
@wpt-pr-bot wpt-pr-bot added the wptrunner The automated test runner, commonly called through ./wpt run label Nov 7, 2019
@Hexcles
Copy link
Member Author

Hexcles commented Nov 7, 2019

cc @stephenmcgruer this should hopefully pass everything and I've also dropped the debug commits.

I need to shoot off now. In case this still fails, could you take a look and talk to James? It'd really be great to have this merged before tomorrow so that we can finish our migration before the deadline.

@Hexcles Hexcles assigned stephenmcgruer and jgraham and unassigned jugglinmike Nov 7, 2019
@stephenmcgruer
Copy link
Contributor

Ack, will monitor how it goes.

@stephenmcgruer stephenmcgruer merged commit bc83451 into master Nov 7, 2019
@stephenmcgruer stephenmcgruer deleted the chrome-no-sandbox2 branch November 7, 2019 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra tox.ini wpt wptrunner The automated test runner, commonly called through ./wpt run
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Chrome crashes on Community-TC
5 participants