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

Chrome not launching on Ubuntu 20.04 #248

Open
nreddipalle opened this issue Feb 15, 2022 · 1 comment
Open

Chrome not launching on Ubuntu 20.04 #248

nreddipalle opened this issue Feb 15, 2022 · 1 comment

Comments

@nreddipalle
Copy link

Trying to use karma-chrome-launcher with below flags on Ubuntu 20.04
customLaunchers: {
Chrome_without_security: {
base: 'Chrome',
flags: [
'--disable-web-security',
'--disable-background-timer-throttling',
'--enable-automation',
'--disable-renderer-backgrounding',
'--disable-backgrounding-occluded-windows',
'--disable-ipc-flooding-protection',
]
}
}

and getting below errors

14 02 2022 22:58:47.138:ERROR [launcher]: Cannot start Chrome
[0214/225846.935162:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[0214/225846.935266:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)

14 02 2022 22:58:47.139:ERROR [launcher]: Chrome stdout:
14 02 2022 22:58:47.139:ERROR [launcher]: Chrome stderr: [0214/225846.935162:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[0214/225846.935266:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)

14 02 2022 22:58:47.420:ERROR [launcher]: Cannot start Chrome
[0214/225847.254953:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[0214/225847.255001:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)

14 02 2022 22:58:47.420:ERROR [launcher]: Chrome stdout:
14 02 2022 22:58:47.420:ERROR [launcher]: Chrome stderr: [0214/225847.254953:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[0214/225847.255001:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)

14 02 2022 22:58:47.698:ERROR [launcher]: Cannot start Chrome
[0214/225847.531129:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[0214/225847.531178:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)

14 02 2022 22:58:47.699:ERROR [launcher]: Chrome stdout:
14 02 2022 22:58:47.699:ERROR [launcher]: Chrome stderr: [0214/225847.531129:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[0214/225847.531178:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)

14 02 2022 22:58:47.701:ERROR [launcher]: Chrome failed 2 times (cannot start). Giving up.
##[warning]Couldn't find a debug log in the cache or working directory
##[error]Error: Npm failed with return code: 1
Finishing: FECoverage

@frikad
Copy link

frikad commented Apr 5, 2023

I am also facing the same issue. Did you got any solution for it?

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

No branches or pull requests

2 participants