Travis build failing on “The SUID sandbox helper binary was found, but…”
up vote
0
down vote
favorite
My Angular app tests are passing locally, however they are failing on travis with the following error:
The SUID sandbox helper binary was found, but is not configured
correctly. Rather than run without sandboxing I'm aborting now. You
need to make sure that /opt/google/chrome/chrome-sandbox is owned by
root and has mode 4755.
angular karma-runner travis-ci google-chrome-headless angular-testing
add a comment |
up vote
0
down vote
favorite
My Angular app tests are passing locally, however they are failing on travis with the following error:
The SUID sandbox helper binary was found, but is not configured
correctly. Rather than run without sandboxing I'm aborting now. You
need to make sure that /opt/google/chrome/chrome-sandbox is owned by
root and has mode 4755.
angular karma-runner travis-ci google-chrome-headless angular-testing
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
My Angular app tests are passing locally, however they are failing on travis with the following error:
The SUID sandbox helper binary was found, but is not configured
correctly. Rather than run without sandboxing I'm aborting now. You
need to make sure that /opt/google/chrome/chrome-sandbox is owned by
root and has mode 4755.
angular karma-runner travis-ci google-chrome-headless angular-testing
My Angular app tests are passing locally, however they are failing on travis with the following error:
The SUID sandbox helper binary was found, but is not configured
correctly. Rather than run without sandboxing I'm aborting now. You
need to make sure that /opt/google/chrome/chrome-sandbox is owned by
root and has mode 4755.
angular karma-runner travis-ci google-chrome-headless angular-testing
angular karma-runner travis-ci google-chrome-headless angular-testing
asked Nov 19 at 12:36
Francesco Borzì
12.1k74776
12.1k74776
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
I solve the issue by editing my karma.conf.js
file and adding the following object to my customLaunchers
:
ChromeHeadlessNoSandbox: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
}
so my karma.conf.js
looks like the following:
module.exports = function (config) {
config.set({
// other parameters...
browsers : [
'ChromeHeadlessNoSandbox'
// other browsers (if any)
],
customLaunchers: {
ChromeHeadlessNoSandbox: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
}
// other browsers (if any)
},
});
};
then I run my test with --browser=ChromeHeadlessNoSandbox
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
I solve the issue by editing my karma.conf.js
file and adding the following object to my customLaunchers
:
ChromeHeadlessNoSandbox: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
}
so my karma.conf.js
looks like the following:
module.exports = function (config) {
config.set({
// other parameters...
browsers : [
'ChromeHeadlessNoSandbox'
// other browsers (if any)
],
customLaunchers: {
ChromeHeadlessNoSandbox: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
}
// other browsers (if any)
},
});
};
then I run my test with --browser=ChromeHeadlessNoSandbox
add a comment |
up vote
0
down vote
I solve the issue by editing my karma.conf.js
file and adding the following object to my customLaunchers
:
ChromeHeadlessNoSandbox: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
}
so my karma.conf.js
looks like the following:
module.exports = function (config) {
config.set({
// other parameters...
browsers : [
'ChromeHeadlessNoSandbox'
// other browsers (if any)
],
customLaunchers: {
ChromeHeadlessNoSandbox: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
}
// other browsers (if any)
},
});
};
then I run my test with --browser=ChromeHeadlessNoSandbox
add a comment |
up vote
0
down vote
up vote
0
down vote
I solve the issue by editing my karma.conf.js
file and adding the following object to my customLaunchers
:
ChromeHeadlessNoSandbox: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
}
so my karma.conf.js
looks like the following:
module.exports = function (config) {
config.set({
// other parameters...
browsers : [
'ChromeHeadlessNoSandbox'
// other browsers (if any)
],
customLaunchers: {
ChromeHeadlessNoSandbox: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
}
// other browsers (if any)
},
});
};
then I run my test with --browser=ChromeHeadlessNoSandbox
I solve the issue by editing my karma.conf.js
file and adding the following object to my customLaunchers
:
ChromeHeadlessNoSandbox: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
}
so my karma.conf.js
looks like the following:
module.exports = function (config) {
config.set({
// other parameters...
browsers : [
'ChromeHeadlessNoSandbox'
// other browsers (if any)
],
customLaunchers: {
ChromeHeadlessNoSandbox: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
}
// other browsers (if any)
},
});
};
then I run my test with --browser=ChromeHeadlessNoSandbox
answered Nov 19 at 12:36
Francesco Borzì
12.1k74776
12.1k74776
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53374818%2ftravis-build-failing-on-the-suid-sandbox-helper-binary-was-found-but%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown