aerokube / charts

Aerokube Helm Charts Repository
https://charts.aerokube.com/
Apache License 2.0
12 stars 34 forks source link

Chrome and MicrosoftEdge browsers crashed on centos k8s nodes #176

Open sergesvalov opened 1 year ago

sergesvalov commented 1 year ago

Chrome and MicrosoftEdge browsers crashed on centos k8s nodes, centos version: CentOS Linux release 7.9. After launching on these nodes pod stopped with message:

MountVolume.SetUp failed for volume "usergroup" : configmap "microsoftedge-102-0-1245-443c14ec8d-6af8-4e33-83db-560bd9f51b2d" not found

Debug logs:

[1656416948.274][INFO]: Launching Microsoft Edge: /usr/bin/microsoft-edge --allow-pre-commit-input --disable-background-networking --disable-client-side-phishing-detection --disable-default-apps --disable-hang-monitor --disable-popup-blocking --disable-prompt-on-repost --disable-sync --enable-automation --enable-blink-features=ShadowDOMV0 --enable-logging --log-level=0 --no-first-run --no-service-autorun --password-store=basic --remote-debugging-port=0 --test-type=webdriver --use-mock-keychain --user-data-dir=/tmp/.com.microsoft.Edge.XGx3zi data:,    
Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted     
[0628/114908.333781:ERROR:process_memory_range.cc(86)] read out of range                   
[0628/114908.333891:ERROR:elf_image_reader.cc(606)] missing nul-terminator          
[0628/114908.338018:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2) 
[0628/114908.338061:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
[40:40:0100/000000.363401:ERROR:zygote_linux.cc(650)] write: Broken pipe (32)
[1656416948.395][INFO]: [01a3e4b9e77aaaec8ddeda6ad0d4de02] RESPONSE InitSession ERROR unknown error: Microsoft Edge failed to start: crashed.
  (unknown error: DevToolsActivePort file doesn't exist)
  (The process started from msedge location /usr/bin/microsoft-edge is no longer running, so msedgedriver is assuming that msedge has crashed.)
[1656416948.395][DEBUG]: Log type 'driver' lost 0 entries on destruction
[1656416948.395][DEBUG]: Log type 'browser' lost 0 entries on destruction

There are no any troubles when we use ubuntu 20.04 nodes.

aandryashin commented 1 year ago

Hello, it is known issue on CentOS, you have to pass --no-sandbox argument for chrome or edge, please check it.

пт, 14 окт. 2022 г., 10:41 sergesvalov @.***>:

Chrome and MicrosoftEdge browsers crashed on centos k8s nodes, centos version: CentOS Linux release 7.9. After launching on these nodes pod stopped with message:

MountVolume.SetUp failed for volume "usergroup" : configmap "microsoftedge-102-0-1245-443c14ec8d-6af8-4e33-83db-560bd9f51b2d" not found

Debug logs:

[1656416948.274][INFO]: Launching Microsoft Edge: /usr/bin/microsoft-edge --allow-pre-commit-input --disable-background-networking --disable-client-side-phishing-detection --disable-default-apps --disable-hang-monitor --disable-popup-blocking --disable-prompt-on-repost --disable-sync --enable-automation --enable-blink-features=ShadowDOMV0 --enable-logging --log-level=0 --no-first-run --no-service-autorun --password-store=basic --remote-debugging-port=0 --test-type=webdriver --use-mock-keychain --user-data-dir=/tmp/.com.microsoft.Edge.XGx3zi data:, Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted [0628/114908.333781:ERROR:process_memory_range.cc(86)] read out of range [0628/114908.333891:ERROR:elf_image_reader.cc(606)] missing nul-terminator [0628/114908.338018:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2) [0628/114908.338061:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2) [40:40:0100/000000.363401:ERROR:zygote_linux.cc(650)] write: Broken pipe (32) [1656416948.395][INFO]: [01a3e4b9e77aaaec8ddeda6ad0d4de02] RESPONSE InitSession ERROR unknown error: Microsoft Edge failed to start: crashed. (unknown error: DevToolsActivePort file doesn't exist) (The process started from msedge location /usr/bin/microsoft-edge is no longer running, so msedgedriver is assuming that msedge has crashed.) [1656416948.395][DEBUG]: Log type 'driver' lost 0 entries on destruction [1656416948.395][DEBUG]: Log type 'browser' lost 0 entries on destruction

There are no any troubles when we use ubuntu 20.04 nodes.

— Reply to this email directly, view it on GitHub https://github.com/aerokube/charts/issues/176, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKY23IFP7KSUPS6CN6LT3DWDEFDHANCNFSM6AAAAAARE7EBTQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>