Cannot start Chrome on python


#1

I’m getting the following errors when trying to run build:

29 08 2017 18:22:50.411:INFO [karma]: Karma v1.7.0 server started at http://0.0.0.0:9876/
29 08 2017 18:22:50.413:INFO [launcher]: Launching browser Chrome with unlimited concurrency
29 08 2017 18:22:50.423:INFO [launcher]: Starting browser Chrome
29 08 2017 18:22:50.682:ERROR [launcher]: Cannot start Chrome
	
29 08 2017 18:22:50.682:ERROR [launcher]: Chrome stdout: 
29 08 2017 18:22:50.682:ERROR [launcher]: Chrome stderr: 
29 08 2017 18:22:50.686:INFO [launcher]: Trying to start Chrome again (1/2).
29 08 2017 18:22:50.872:ERROR [launcher]: Cannot start Chrome
	
29 08 2017 18:22:50.872:ERROR [launcher]: Chrome stdout: 
29 08 2017 18:22:50.872:ERROR [launcher]: Chrome stderr: [0829/182250.683780:ERROR:nacl_helper_linux.cc(311)] NaCl helper process running without a sandbox!
Most likely you need to configure your SUID sandbox correctly

29 08 2017 18:22:50.894:INFO [launcher]: Trying to start Chrome again (2/2).
29 08 2017 18:22:51.073:ERROR [launcher]: Cannot start Chrome
	
29 08 2017 18:22:51.073:ERROR [launcher]: Chrome stdout: 
29 08 2017 18:22:51.073:ERROR [launcher]: Chrome stderr: [0829/182250.873419:ERROR:nacl_helper_linux.cc(311)] NaCl helper process running without a sandbox!
Most likely you need to configure your SUID sandbox correctly

29 08 2017 18:22:51.073:ERROR [launcher]: Chrome failed 2 times (cannot start). Giving up.

my build environment is:

    docker:
      - image: circleci/python:3.4-browsers
        environment:
          CHROME_BIN: "/usr/bin/google-chrome"
      - image: circleci/postgres:9.5-alpine

I managed to have a similar setup working for a previous repo (using mysql:5.7 instead of circleci/postgres:9.5-alpine, with everything else being the same).


#2

update: unable to figure out what was wrong with chrome.
but I managed to get everything work with phantom.


#3

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.