-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Segmentation fault running on Ampere A1 ARM nodes #22820
Comments
Hey @zebrapurring, thanks for trying out the new I just span up an Ampere A1 ARM node on Oracle Cloud running the Ubuntu image. I ran these commands after SSHing in: apt update
apt install docker docker.io git
git clone https://github.com/cypress-io/cypress-test-tiny.git
docker run -v `pwd`/cypress-test-tiny:/app -it cypress/included:10.3.0 --project /app ...and the tests passed. Also, I was able to run I have the same
What OS are you running? Any other configuration information you think may be pertinent? |
Thanks @flotwig for the quick response! I'm running a K3s cluster on Oracle Linux 8.6, just tried running the tests from setenforce Permissive
dnf install docker git
git clone https://github.com/cypress-io/cypress-test-tiny.git
docker run -v `pwd`/cypress-test-tiny:/app -it cypress/included:10.3.0 --project /app Outputs:
The node configuration is the default, the only installed software is K3s through https://get.k3s.io. |
@zebrapurring Thanks for the info. Weird that we detect CentOS as "Debian"... I was able to reproduce with Oracle Linux. Since it's CentOS based, I'm pretty sure we're getting hit by electron/electron#25387 - the reproduction there also fails on my Oracle Linux install, with the version Cypress is using (18.3.0), and the latest stable (19.0.0), and the latest beta (v20.0.0-beta.8). It fails in I'll bump the issue over there for now: electron/electron#25387 (comment) |
This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided. |
The issue is still present. |
Tested with |
Current behavior
Running
cypress info
inside Docker imagecypress/included:10.3.0
on an Ampere A1 ARM node from Oracle Cloud crashes with a segmentation fault:Backtrace from
lldb /root/.cache/Cypress/10.3.0/Cypress/Cypress -o run -o bt
:Desired behavior
The same image on an Apple M1 laptop runs without issues on Docker:
Test code to reproduce
Cypress Version
10.3.0
Other
Differences between Apple M1 and Ampere A1 node:
/proc/cpuinfo
)fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 asimddp sha512 asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp flagm2 frint
fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs
uname -a
Linux e3899445ff5b 5.10.104-linuxkit #1 SMP PREEMPT Thu Mar 17 17:05:54 UTC 2022 aarch64 GNU/Linux
Linux cypress 5.4.17-2136.307.3.1.el8uek.aarch64 #2 SMP Mon May 9 17:31:12 PDT 2022 aarch64 GNU/Linux
file /root/.cache/Cypress/10.3.0/Cypress/Cypress
matches on both systems:The text was updated successfully, but these errors were encountered: