Skip to content

Chrome not launching on Ubuntu 20.04 #248

@nreddipalle

Description

@nreddipalle

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions