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

test: Disable sandbox for Linux e2e tests #623

Merged
merged 2 commits into from
Jan 11, 2023

Conversation

timfish
Copy link
Collaborator

@timfish timfish commented Jan 11, 2023

Many older versions of Electron no longer work correctly on ubuntu-latest failing with dbus errors and GPU crashes.

Disabling sandbox on Linux gets the tests passing without any obvious risk.

@timfish timfish changed the title test: Use --disable-gpu for Linux e2e tests test: Disable gpu/sandbox for Linux e2e tests Jan 11, 2023
@timfish timfish marked this pull request as ready for review January 11, 2023 16:29
@timfish timfish marked this pull request as draft January 11, 2023 16:30
@timfish timfish force-pushed the test/linux-disable-gpu branch from 9037370 to 61f407c Compare January 11, 2023 16:38
@timfish timfish changed the title test: Disable gpu/sandbox for Linux e2e tests test: Disable sandbox for Linux e2e tests Jan 11, 2023
@timfish timfish marked this pull request as ready for review January 11, 2023 16:39
@timfish timfish requested a review from AbhiPrasad January 11, 2023 16:39

// Older versions of Electron no longer work correctly on 'ubuntu-latest' with sandbox
if (process.platform === 'linux') {
args.push('--no-sandbox');
Copy link
Member

@AbhiPrasad AbhiPrasad Jan 11, 2023

Choose a reason for hiding this comment

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

shouldn't we just do this only for older electron versions? (add a major <= 13)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Changed so it only disables sandbox for < v13

@timfish timfish enabled auto-merge (squash) January 11, 2023 17:01
@timfish
Copy link
Collaborator Author

timfish commented Jan 11, 2023

Hopefully third time lucky getting the release out today 🤣

@timfish timfish merged commit dd140ed into getsentry:master Jan 11, 2023
@timfish timfish deleted the test/linux-disable-gpu branch January 11, 2023 17:03
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