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

"Cypress verify" fails within kubernetes #27209

Closed
luischre opened this issue Jul 5, 2023 · 14 comments
Closed

"Cypress verify" fails within kubernetes #27209

luischre opened this issue Jul 5, 2023 · 14 comments

Comments

@luischre
Copy link

luischre commented Jul 5, 2023

Current behavior

I am currently trying to migrate our cypress pipeline from version 9.2.1 to 12.13.0. We deploy 10 cypress pods within kubernetes that execute our tests in parallel.
For version 9.2.1 we created a custom cypress docker image based on the included image we only needed to adjust the browsers and hence had to customize it a bit.
For version 12.13.0 I used the cypress/factory image with the following arguments:

ARG CHROME_VERSION='114.0.5735.106-1'
ARG FIREFOX_VERSION='102.12.0esr'
ARG NODE_VERSION='18.16.1'
ARG CYPRESS_VERSION='12.13.0'

FROM cypress/factory

Our pods are started within a jenkins pipeline with the following pod yaml:

kind: Pod
metadata:
  name: cypress-k8s
  labels:
    cypress: e2e
  annotations:
    fluentbit.io/exclude: "true"
spec:
  affinity:
    podAntiAffinity:
      preferredDuringSchedulingIgnoredDuringExecution:
      - weight: 100
        podAffinityTerm:
          labelSelector:
            matchExpressions:
            - key: cypress
              operator: In
              values:
              - e2e
          topologyKey: kubernetes.io/hostname
  securityContext:
    runAsUser: 0
  containers:
  - name: cypress-k8s
    securityContext:
      privileged: true
    image: ${params.CYPRESS_DOCKER_IMAGE}
    imagePullPolicy: Always
    command: ['cat']
    tty: true
    workingDir: /home/jenkins/agent/
    resources:
      requests:
        memory: "4Gi"
      limits:
        memory: "8Gi"

With version 9.2.1 we had the pipeline running without problems, with 12.13.0 however I can't get it to work properly. Some pods already encounter issue at the first start up of cypress with:

Cypress failed to start.

This may be due to a missing library or dependency. https://on.cypress.io/required-dependencies

Please refer to the error below for more details.

Command was killed with SIGTRAP (Debugger breakpoint): /root/.cache/Cypress/12.13.0/Cypress/Cypress --no-sandbox --smoke-test --ping=334

Others start up fine but then later during test execution when picking up a new test suite encounter the same issue.

I took the following steps so far to narrow down the error:

  • In order to discard the possibility that the test setup/configuration is wrong I now removed the test execution from the pipeline and am only starting the pod via the pipeline, once the pod is started I access the pod and execute cypress/verify --> same error
  • In order to discard the possibility that my created docker image is the problem I tested the the cypress/included:12.13.0 image --> same error
  • I've tested the same with a multitude of different images:
    • our old custom 9.2.1 image, cypress/included:9.2.1, 9.5.0 and 9.5.1 could execute cypress verify successfully
    • 9.5.2, 9.5.3, 9.5.4, 9.6.0, 9.7.0, 10.0.0, 10.11.0, 12.13.0 failed during cypress verify with a multitude of different errors:

Command was killed with SIGILL (Invalid machine instruction): /root/.cache/Cypress/10.11.0/Cypress/Cypress --no-sandbox --smoke-test --ping=147


Platform: linux-x64 (Debian - 11.4)
Cypress Version: 10.11.0


[127:0705/104615.520011:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[127:0705/104615.520120:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[127:0705/104615.521461:ERROR:bus.cc(397)] Failed to connect to the bus: Address does not contain a colon
[127:0705/104615.521486:ERROR:bus.cc(397)] Failed to connect to the bus: Address does not contain a colon
[127:0705/104615.534526:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable.
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[304:0705/104615.547230:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
[304:0705/104615.554706:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.


Platform: linux-x64 (Debian - 11.3)
Cypress Version: 10.0.0


[554:0705/140830.219953:ERROR:bus.cc(392)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such f
ile or directory
[554:0705/140830.221181:ERROR:bus.cc(392)] Failed to connect to the bus: Address does not contain a colon
[554:0705/140830.221235:ERROR:bus.cc(392)] Failed to connect to the bus: Address does not contain a colon
[733:0705/140830.230876:WARNING:vaapi_wrapper.cc(586)] VAAPI video acceleration not available for swiftshader
[733:0705/140830.231001:ERROR:gpu_init.cc(453)] Passthrough is not supported, GL is swiftshader, ANGLE is


Platform: linux-x64 (Debian - 11.3)
Cypress Version: 9.5.3

The weird thing is that cypress verify does not always fail within those pods. The first execution most likely will fail with one of those errors, afterwards it will sometimes succeed and sometimes it will fail.

From the versions I tested it seems that after version 9.5.1 our setup breaks somehow but I can't explain why.

I found a couple of similar issues within github and tested whatever solutions were given but nothing has worked for me so far:

I am running out of ideas why after 9.5.1 it no longer works with our setup, if anyone spots anything within the setup, any help would be greatly appreciated.

Desired behavior

Cypress verify should execute successfully within a kubernetes pod.

Test code to reproduce

See above pod configuration which is used within a jenkins pipeline

Cypress Version

12.13.0

Node version

18.16.0

Operating System

Linux 3.10 Debian GNU/Linux 11 (bullseye) 11 (bullseye)

Debug Logs

No response

Other

No response

@MikeMcC399
Copy link
Contributor

@luischre

Have you checked that the dependencies for Debian are installed according to the error message pointing to the documentation

https://docs.cypress.io/guides/continuous-integration/introduction#Dependencies

apt-get install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb

@luischre
Copy link
Author

luischre commented Jul 6, 2023

Thanks for your fast feedback again @MikeMcC399 !

I had checked the dependencies with ldd:

root@cypress-k8s-z0dvs-80gl0:/home/jenkins/agent# ldd /root/.cache/Cypress/12.13.0/Cypress/Cypress
        linux-vdso.so.1 (0x00007ffc6e4e9000)
        libffmpeg.so => /root/.cache/Cypress/12.13.0/Cypress/libffmpeg.so (0x00007f14c2ffc000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f14c2fee000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f14c2fcc000)
        libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f14c2f72000)
        libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f14c2e43000)
        libgio-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 (0x00007f14c2c65000)
        libnss3.so => /usr/lib/x86_64-linux-gnu/libnss3.so (0x00007f14c2b0c000)
        libnssutil3.so => /usr/lib/x86_64-linux-gnu/libnssutil3.so (0x00007f14c2ad8000)
        libsmime3.so => /usr/lib/x86_64-linux-gnu/libsmime3.so (0x00007f14c2aa9000)
        libnspr4.so => /usr/lib/x86_64-linux-gnu/libnspr4.so (0x00007f14c2a68000)
        libatk-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0 (0x00007f14c2a3e000)
        libatk-bridge-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libatk-bridge-2.0.so.0 (0x00007f14c2a07000)
        libcups.so.2 => /usr/lib/x86_64-linux-gnu/libcups.so.2 (0x00007f14c2969000)
        libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f14c2914000)
        libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007f14c2900000)
        libgtk-3.so.0 => /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 (0x00007f14c214e000)
        libpango-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0 (0x00007f14c20fc000)
        libcairo.so.2 => /usr/lib/x86_64-linux-gnu/libcairo.so.2 (0x00007f14c1fd7000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f14c1e91000)
        libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f14c1d4e000)
        libXcomposite.so.1 => /usr/lib/x86_64-linux-gnu/libXcomposite.so.1 (0x00007f14c1d49000)
        libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007f14c1d44000)
        libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f14c1d2f000)
        libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f14c1d27000)
        libXrandr.so.2 => /usr/lib/x86_64-linux-gnu/libXrandr.so.2 (0x00007f14c1b1a000)
        libgbm.so.1 => /usr/lib/x86_64-linux-gnu/libgbm.so.1 (0x00007f14c1b0a000)
        libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f14c1adb000)
        libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f14c1ab0000)
        libxkbcommon.so.0 => /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0 (0x00007f14c1a6d000)
        libasound.so.2 => /usr/lib/x86_64-linux-gnu/libasound.so.2 (0x00007f14c1970000)
        libatspi.so.0 => /usr/lib/x86_64-linux-gnu/libatspi.so.0 (0x00007f14c1937000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f14c191d000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f14c1748000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f14ccbec000)
        libffi.so.7 => /usr/lib/x86_64-linux-gnu/libffi.so.7 (0x00007f14c173c000)
        libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f14c16c9000)
        libgmodule-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007f14c16c3000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f14c16a4000)
        libmount.so.1 => /usr/lib/x86_64-linux-gnu/libmount.so.1 (0x00007f14c1647000)
        libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f14c161b000)
        libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f14c1601000)
        libplc4.so => /usr/lib/x86_64-linux-gnu/libplc4.so (0x00007f14c15fa000)
        libplds4.so => /usr/lib/x86_64-linux-gnu/libplds4.so (0x00007f14c15f5000)
        libgssapi_krb5.so.2 => /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007f14c15a0000)
        libavahi-common.so.3 => /usr/lib/x86_64-linux-gnu/libavahi-common.so.3 (0x00007f14c1592000)
        libavahi-client.so.3 => /usr/lib/x86_64-linux-gnu/libavahi-client.so.3 (0x00007f14c157e000)
        libgnutls.so.30 => /usr/lib/x86_64-linux-gnu/libgnutls.so.30 (0x00007f14c137e000)
        libsystemd.so.0 => /usr/lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f14c12c9000)
        libgdk-3.so.0 => /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 (0x00007f14c11c2000)
        libpangocairo-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0 (0x00007f14c11b1000)
        libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007f14c119f000)
        libcairo-gobject.so.2 => /usr/lib/x86_64-linux-gnu/libcairo-gobject.so.2 (0x00007f14c1193000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0 (0x00007f14c116d000)
        libepoxy.so.0 => /usr/lib/x86_64-linux-gnu/libepoxy.so.0 (0x00007f14c103e000)
        libfribidi.so.0 => /usr/lib/x86_64-linux-gnu/libfribidi.so.0 (0x00007f14c1020000)
        libpangoft2-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0 (0x00007f14c1007000)
        libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f14c0f1f000)
        libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f14c0ed9000)
        libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f14c0e16000)
        libthai.so.0 => /usr/lib/x86_64-linux-gnu/libthai.so.0 (0x00007f14c0e09000)
        libpixman-1.so.0 => /usr/lib/x86_64-linux-gnu/libpixman-1.so.0 (0x00007f14c0d5e000)
        libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f14c0d24000)
        libxcb-shm.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007f14c0d1f000)
        libxcb-render.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-render.so.0 (0x00007f14c0d10000)
        libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f14c0b06000)
        libwayland-server.so.0 => /usr/lib/x86_64-linux-gnu/libwayland-server.so.0 (0x00007f14c0aed000)
        libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f14c0ae8000)
        libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f14c08e2000)
        libblkid.so.1 => /usr/lib/x86_64-linux-gnu/libblkid.so.1 (0x00007f14c0891000)
        libpcre2-8.so.0 => /usr/lib/x86_64-linux-gnu/libpcre2-8.so.0 (0x00007f14c07f9000)
        libkrb5.so.3 => /usr/lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007f14c071d000)
        libk5crypto.so.3 => /usr/lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007f14c06ed000)
        libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007f14c06e7000)
        libkrb5support.so.0 => /usr/lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007f14c06d8000)
        libp11-kit.so.0 => /usr/lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007f14c05a4000)
        libidn2.so.0 => /usr/lib/x86_64-linux-gnu/libidn2.so.0 (0x00007f14c0583000)
        libunistring.so.2 => /usr/lib/x86_64-linux-gnu/libunistring.so.2 (0x00007f14c03ff000)
        libtasn1.so.6 => /usr/lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007f14c03e9000)
        libnettle.so.8 => /usr/lib/x86_64-linux-gnu/libnettle.so.8 (0x00007f14c03a1000)
        libhogweed.so.6 => /usr/lib/x86_64-linux-gnu/libhogweed.so.6 (0x00007f14c0358000)
        libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 (0x00007f14c02d7000)
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f14c02cd000)
        liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f14c02a3000)
        libzstd.so.1 => /usr/lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f14c01c8000)
        liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f14c01a5000)
        libgcrypt.so.20 => /usr/lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f14c0085000)
        libXinerama.so.1 => /usr/lib/x86_64-linux-gnu/libXinerama.so.1 (0x00007f14c0080000)
        libXcursor.so.1 => /usr/lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007f14c0073000)
        libwayland-cursor.so.0 => /usr/lib/x86_64-linux-gnu/libwayland-cursor.so.0 (0x00007f14c0068000)
        libwayland-egl.so.1 => /usr/lib/x86_64-linux-gnu/libwayland-egl.so.1 (0x00007f14c0063000)
        libwayland-client.so.0 => /usr/lib/x86_64-linux-gnu/libwayland-client.so.0 (0x00007f14c0052000)
        libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f14c0026000)
        libuuid.so.1 => /usr/lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f14c001d000)
        libbrotlidec.so.1 => /usr/lib/x86_64-linux-gnu/libbrotlidec.so.1 (0x00007f14c000d000)
        libdatrie.so.1 => /usr/lib/x86_64-linux-gnu/libdatrie.so.1 (0x00007f14c0003000)
        libbsd.so.0 => /usr/lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f14bffec000)
        libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007f14bffe5000)
        libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f14bffbd000)
        libbrotlicommon.so.1 => /usr/lib/x86_64-linux-gnu/libbrotlicommon.so.1 (0x00007f14bff9a000)
        libmd.so.0 => /usr/lib/x86_64-linux-gnu/libmd.so.0 (0x00007f14bff8d000)

And doing the same with | grep 'not found' after it also does not return anything.

Funnily enough now tested with apt-get... and actually there seem to be some issues:

root@cypress-k8s-z0dvs-80gl0:/home/jenkins/agent# apt-get install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package xauth is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-stable.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-stable.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
E: Unable to locate package libgtk2.0-0
E: Couldn't find any package by glob 'libgtk2.0-0'
E: Couldn't find any package by regex 'libgtk2.0-0'
E: Unable to locate package libgbm-dev
E: Unable to locate package libnotify-dev
E: Unable to locate package libgconf-2-4
E: Package 'xauth' has no installation candidate

What I don't get though is that I just tested this with the docker image cypress/included:12.13.0 and from what I got was that the advantage of using the official cypress docker images were making sure of including all required dependencies and hence I am a bit suprised about the output.

@luischre
Copy link
Author

luischre commented Jul 6, 2023

I repeated the same procedure but doing apt-get update -y before as proposed here #3734 (comment) and for two seconds thought it had solved my issue as a couple of cypress verify succeeded but then managed to reproduce the SIGTRAP errror again:

root@cypress-k8s-sdvmt-43stv:/home/jenkins/agent# apt-get install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libasound2 is already the newest version (1.2.4-1.1).
libgtk-3-0 is already the newest version (3.24.24-4+deb11u3).
libxss1 is already the newest version (1:1.2.3-1).
libxss1 set to manually installed.
libxtst6 is already the newest version (2:1.2.3-1).
libnss3 is already the newest version (2:3.61-1+deb11u3).
xvfb is already the newest version (2:1.20.11-1+deb11u6).
The following additional packages will be installed:
  bzip2 gconf-service gconf2-common gir1.2-gdkpixbuf-2.0 gir1.2-glib-2.0 gir1.2-notify-0.7 libblkid-dev libc-dev-bin libc-devtools libc6 libc6-dev libcrypt-dev libdpkg-perl libffi-dev libfile-fcntllock-perl libgail-common
  libgail18 libgd3 libgdk-pixbuf-2.0-dev libgdk-pixbuf-xlib-2.0-0 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-bin libgirepository-1.0-1 libglib2.0-bin libglib2.0-data libglib2.0-dev libglib2.0-dev-bin libgtk2.0-bin
  libgtk2.0-common liblocale-gettext-perl libmount-dev libnotify4 libnsl-dev libpcre16-3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix2 libpcre3-dev libpcre32-3 libpcrecpp0v5 libpng-dev libpng-tools
  libselinux1-dev libsepol1-dev libtirpc-dev linux-libc-dev manpages manpages-dev notification-daemon pkg-config python3-distutils python3-lib2to3 uuid-dev xz-utils zlib1g-dev
Suggested packages:
  bzip2-doc glibc-doc libc-l10n locales debian-keyring gnupg gcc | c-compiler binutils patch bzr libgd-tools libgirepository1.0-dev libglib2.0-doc libxml2-utils gvfs man-browser dpkg-dev
Recommended packages:
  libnss-nis libnss-nisplus
The following NEW packages will be installed:
  bzip2 gconf-service gconf2-common gir1.2-gdkpixbuf-2.0 gir1.2-glib-2.0 gir1.2-notify-0.7 libblkid-dev libc-dev-bin libc-devtools libc6-dev libcrypt-dev libdpkg-perl libffi-dev libfile-fcntllock-perl libgail-common
  libgail18 libgbm-dev libgconf-2-4 libgd3 libgdk-pixbuf-2.0-dev libgdk-pixbuf-xlib-2.0-0 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-bin libgirepository-1.0-1 libglib2.0-bin libglib2.0-data libglib2.0-dev libglib2.0-dev-bin
  libgtk2.0-0 libgtk2.0-bin libgtk2.0-common liblocale-gettext-perl libmount-dev libnotify-dev libnotify4 libnsl-dev libpcre16-3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix2 libpcre3-dev libpcre32-3
  libpcrecpp0v5 libpng-dev libpng-tools libselinux1-dev libsepol1-dev libtirpc-dev linux-libc-dev manpages manpages-dev notification-daemon pkg-config python3-distutils python3-lib2to3 uuid-dev xauth xz-utils zlib1g-dev
The following packages will be upgraded:
  libc6
1 upgraded, 60 newly installed, 0 to remove and 29 not upgraded.
Need to get 28.2 MB of archives.
After this operation, 105 MB of additional disk space will be used.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-stable.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-stable.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian bullseye/main amd64 libc6 amd64 2.31-13+deb11u6 [2827 kB]
Get:2 http://deb.debian.org/debian bullseye/main amd64 liblocale-gettext-perl amd64 1.07-4+b1 [19.0 kB]
Get:3 http://deb.debian.org/debian bullseye/main amd64 bzip2 amd64 1.0.8-4 [49.3 kB]
Get:4 http://deb.debian.org/debian bullseye/main amd64 manpages all 5.10-1 [1412 kB]
Get:5 http://deb.debian.org/debian bullseye/main amd64 xz-utils amd64 5.2.5-2.1~deb11u1 [220 kB]
Get:6 http://deb.debian.org/debian bullseye/main amd64 gconf2-common all 3.2.6-7 [1039 kB]
Get:7 http://deb.debian.org/debian bullseye/main amd64 libgconf-2-4 amd64 3.2.6-7 [428 kB]
Get:8 http://deb.debian.org/debian bullseye/main amd64 gconf-service amd64 3.2.6-7 [415 kB]
Get:9 http://deb.debian.org/debian bullseye/main amd64 libgirepository-1.0-1 amd64 1.66.1-1+b1 [96.7 kB]
Get:10 http://deb.debian.org/debian bullseye/main amd64 gir1.2-glib-2.0 amd64 1.66.1-1+b1 [151 kB]
Get:11 http://deb.debian.org/debian bullseye/main amd64 gir1.2-gdkpixbuf-2.0 amd64 2.42.2+dfsg-1+deb11u1 [19.9 kB]
Get:12 http://deb.debian.org/debian bullseye/main amd64 libnotify4 amd64 0.7.9-3 [23.7 kB]
Get:13 http://deb.debian.org/debian bullseye/main amd64 gir1.2-notify-0.7 amd64 0.7.9-3 [10.7 kB]
Get:14 http://deb.debian.org/debian bullseye/main amd64 libc-dev-bin amd64 2.31-13+deb11u6 [276 kB]
Get:15 http://deb.debian.org/debian-security bullseye-security/main amd64 linux-libc-dev amd64 5.10.179-1 [1618 kB]
Get:16 http://deb.debian.org/debian bullseye/main amd64 libcrypt-dev amd64 1:4.4.18-4 [104 kB]
Get:17 http://deb.debian.org/debian bullseye/main amd64 libtirpc-dev amd64 1.3.1-1+deb11u1 [191 kB]
Get:18 http://deb.debian.org/debian bullseye/main amd64 libnsl-dev amd64 1.3.0-2 [66.4 kB]
Get:19 http://deb.debian.org/debian bullseye/main amd64 libc6-dev amd64 2.31-13+deb11u6 [2360 kB]
Get:20 http://deb.debian.org/debian bullseye/main amd64 uuid-dev amd64 2.36.1-8+deb11u1 [99.4 kB]
Get:21 http://deb.debian.org/debian bullseye/main amd64 libblkid-dev amd64 2.36.1-8+deb11u1 [225 kB]
Get:22 http://deb.debian.org/debian bullseye/main amd64 libgd3 amd64 2.3.0-2 [137 kB]
Get:23 http://deb.debian.org/debian bullseye/main amd64 libc-devtools amd64 2.31-13+deb11u6 [246 kB]
Get:24 http://deb.debian.org/debian bullseye/main amd64 libdpkg-perl all 1.20.12 [1551 kB]
Get:25 http://deb.debian.org/debian bullseye/main amd64 libffi-dev amd64 3.3-6 [56.5 kB]
Get:26 http://deb.debian.org/debian bullseye/main amd64 libfile-fcntllock-perl amd64 0.22-3+b7 [35.5 kB]
Get:27 http://deb.debian.org/debian bullseye/main amd64 libgtk2.0-common all 2.24.33-2 [2700 kB]
Get:28 http://deb.debian.org/debian bullseye/main amd64 libgtk2.0-0 amd64 2.24.33-2 [1855 kB]
Get:29 http://deb.debian.org/debian bullseye/main amd64 libgail18 amd64 2.24.33-2 [57.7 kB]
Get:30 http://deb.debian.org/debian bullseye/main amd64 libgail-common amd64 2.24.33-2 [160 kB]
Get:31 http://deb.debian.org/debian bullseye/main amd64 libgbm-dev amd64 20.3.5-1 [54.7 kB]
Get:32 http://deb.debian.org/debian bullseye/main amd64 libgdk-pixbuf2.0-bin amd64 2.42.2+dfsg-1+deb11u1 [25.7 kB]
Get:33 http://deb.debian.org/debian bullseye/main amd64 libglib2.0-data all 2.66.8-1 [1164 kB]
Get:34 http://deb.debian.org/debian bullseye/main amd64 libglib2.0-bin amd64 2.66.8-1 [141 kB]
Get:35 http://deb.debian.org/debian bullseye/main amd64 python3-lib2to3 all 3.9.2-1 [77.8 kB]
Get:36 http://deb.debian.org/debian bullseye/main amd64 python3-distutils all 3.9.2-1 [143 kB]
Get:37 http://deb.debian.org/debian bullseye/main amd64 libglib2.0-dev-bin amd64 2.66.8-1 [179 kB]
Get:38 http://deb.debian.org/debian bullseye/main amd64 libsepol1-dev amd64 3.1-1 [338 kB]
Get:39 http://deb.debian.org/debian bullseye/main amd64 libpcre2-16-0 amd64 10.36-2+deb11u1 [232 kB]
Get:40 http://deb.debian.org/debian bullseye/main amd64 libpcre2-32-0 amd64 10.36-2+deb11u1 [220 kB]
Get:41 http://deb.debian.org/debian bullseye/main amd64 libpcre2-posix2 amd64 10.36-2+deb11u1 [49.1 kB]
Get:42 http://deb.debian.org/debian bullseye/main amd64 libpcre2-dev amd64 10.36-2+deb11u1 [733 kB]
Get:43 http://deb.debian.org/debian bullseye/main amd64 libselinux1-dev amd64 3.1-3 [168 kB]
Get:44 http://deb.debian.org/debian bullseye/main amd64 libmount-dev amd64 2.36.1-8+deb11u1 [78.0 kB]
Get:45 http://deb.debian.org/debian bullseye/main amd64 libpcre16-3 amd64 2:8.39-13 [259 kB]
Get:46 http://deb.debian.org/debian bullseye/main amd64 libpcre32-3 amd64 2:8.39-13 [250 kB]
Get:47 http://deb.debian.org/debian bullseye/main amd64 libpcrecpp0v5 amd64 2:8.39-13 [152 kB]
Get:48 http://deb.debian.org/debian bullseye/main amd64 libpcre3-dev amd64 2:8.39-13 [650 kB]
Get:49 http://deb.debian.org/debian bullseye/main amd64 pkg-config amd64 0.29.2-1 [65.1 kB]
Get:50 http://deb.debian.org/debian bullseye/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-2+deb11u2 [191 kB]
Get:51 http://deb.debian.org/debian bullseye/main amd64 libglib2.0-dev amd64 2.66.8-1 [1577 kB]
Get:52 http://deb.debian.org/debian bullseye/main amd64 libpng-dev amd64 1.6.37-3 [298 kB]
Get:53 http://deb.debian.org/debian bullseye/main amd64 libgdk-pixbuf-2.0-dev amd64 2.42.2+dfsg-1+deb11u1 [56.9 kB]
Get:54 http://deb.debian.org/debian bullseye/main amd64 libgdk-pixbuf-xlib-2.0-0 amd64 2.40.2-2 [47.9 kB]
Get:55 http://deb.debian.org/debian bullseye/main amd64 libgdk-pixbuf2.0-0 amd64 2.40.2-2 [14.1 kB]
Get:56 http://deb.debian.org/debian bullseye/main amd64 libgtk2.0-bin amd64 2.24.33-2 [50.7 kB]
Get:57 http://deb.debian.org/debian bullseye/main amd64 libnotify-dev amd64 0.7.9-3 [16.0 kB]
Get:58 http://deb.debian.org/debian bullseye/main amd64 libpng-tools amd64 1.6.37-3 [141 kB]
Get:59 http://deb.debian.org/debian bullseye/main amd64 manpages-dev all 5.10-1 [2309 kB]
Get:60 http://deb.debian.org/debian bullseye/main amd64 notification-daemon amd64 3.20.0-4 [61.0 kB]
Get:61 http://deb.debian.org/debian bullseye/main amd64 xauth amd64 1:1.1-1 [40.5 kB]
Fetched 28.2 MB in 1s (19.2 MB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 24155 files and directories currently installed.)
Preparing to unpack .../libc6_2.31-13+deb11u6_amd64.deb ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.)
debconf: falling back to frontend: Readline
Unpacking libc6:amd64 (2.31-13+deb11u6) over (2.31-13+deb11u5) ...
Setting up libc6:amd64 (2.31-13+deb11u6) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.)
debconf: falling back to frontend: Readline
Selecting previously unselected package liblocale-gettext-perl.
(Reading database ... 24155 files and directories currently installed.)
Preparing to unpack .../00-liblocale-gettext-perl_1.07-4+b1_amd64.deb ...
Unpacking liblocale-gettext-perl (1.07-4+b1) ...
Selecting previously unselected package bzip2.
Preparing to unpack .../01-bzip2_1.0.8-4_amd64.deb ...
Unpacking bzip2 (1.0.8-4) ...
Selecting previously unselected package manpages.
Preparing to unpack .../02-manpages_5.10-1_all.deb ...
Unpacking manpages (5.10-1) ...
Selecting previously unselected package xz-utils.
Preparing to unpack .../03-xz-utils_5.2.5-2.1~deb11u1_amd64.deb ...
Unpacking xz-utils (5.2.5-2.1~deb11u1) ...
Selecting previously unselected package gconf2-common.
Preparing to unpack .../04-gconf2-common_3.2.6-7_all.deb ...
Unpacking gconf2-common (3.2.6-7) ...
Selecting previously unselected package libgconf-2-4:amd64.
Preparing to unpack .../05-libgconf-2-4_3.2.6-7_amd64.deb ...
Unpacking libgconf-2-4:amd64 (3.2.6-7) ...
Selecting previously unselected package gconf-service.
Preparing to unpack .../06-gconf-service_3.2.6-7_amd64.deb ...
Unpacking gconf-service (3.2.6-7) ...
Selecting previously unselected package libgirepository-1.0-1:amd64.
Preparing to unpack .../07-libgirepository-1.0-1_1.66.1-1+b1_amd64.deb ...
Unpacking libgirepository-1.0-1:amd64 (1.66.1-1+b1) ...
Selecting previously unselected package gir1.2-glib-2.0:amd64.
Preparing to unpack .../08-gir1.2-glib-2.0_1.66.1-1+b1_amd64.deb ...
Unpacking gir1.2-glib-2.0:amd64 (1.66.1-1+b1) ...
Selecting previously unselected package gir1.2-gdkpixbuf-2.0:amd64.
Preparing to unpack .../09-gir1.2-gdkpixbuf-2.0_2.42.2+dfsg-1+deb11u1_amd64.deb ...
Unpacking gir1.2-gdkpixbuf-2.0:amd64 (2.42.2+dfsg-1+deb11u1) ...
Selecting previously unselected package libnotify4:amd64.
Preparing to unpack .../10-libnotify4_0.7.9-3_amd64.deb ...
Unpacking libnotify4:amd64 (0.7.9-3) ...
Selecting previously unselected package gir1.2-notify-0.7:amd64.
Preparing to unpack .../11-gir1.2-notify-0.7_0.7.9-3_amd64.deb ...
Unpacking gir1.2-notify-0.7:amd64 (0.7.9-3) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../12-libc-dev-bin_2.31-13+deb11u6_amd64.deb ...
Unpacking libc-dev-bin (2.31-13+deb11u6) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../13-linux-libc-dev_5.10.179-1_amd64.deb ...
Unpacking linux-libc-dev:amd64 (5.10.179-1) ...
Selecting previously unselected package libcrypt-dev:amd64.
Preparing to unpack .../14-libcrypt-dev_1%3a4.4.18-4_amd64.deb ...
Unpacking libcrypt-dev:amd64 (1:4.4.18-4) ...
Selecting previously unselected package libtirpc-dev:amd64.
Preparing to unpack .../15-libtirpc-dev_1.3.1-1+deb11u1_amd64.deb ...
Unpacking libtirpc-dev:amd64 (1.3.1-1+deb11u1) ...
Selecting previously unselected package libnsl-dev:amd64.
Preparing to unpack .../16-libnsl-dev_1.3.0-2_amd64.deb ...
Unpacking libnsl-dev:amd64 (1.3.0-2) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../17-libc6-dev_2.31-13+deb11u6_amd64.deb ...
Unpacking libc6-dev:amd64 (2.31-13+deb11u6) ...
Selecting previously unselected package uuid-dev:amd64.
Preparing to unpack .../18-uuid-dev_2.36.1-8+deb11u1_amd64.deb ...
Unpacking uuid-dev:amd64 (2.36.1-8+deb11u1) ...
Selecting previously unselected package libblkid-dev:amd64.
Preparing to unpack .../19-libblkid-dev_2.36.1-8+deb11u1_amd64.deb ...
Unpacking libblkid-dev:amd64 (2.36.1-8+deb11u1) ...
Selecting previously unselected package libgd3:amd64.
Preparing to unpack .../20-libgd3_2.3.0-2_amd64.deb ...
Unpacking libgd3:amd64 (2.3.0-2) ...
Selecting previously unselected package libc-devtools.
Preparing to unpack .../21-libc-devtools_2.31-13+deb11u6_amd64.deb ...
Unpacking libc-devtools (2.31-13+deb11u6) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../22-libdpkg-perl_1.20.12_all.deb ...
Unpacking libdpkg-perl (1.20.12) ...
Selecting previously unselected package libffi-dev:amd64.
Preparing to unpack .../23-libffi-dev_3.3-6_amd64.deb ...
Unpacking libffi-dev:amd64 (3.3-6) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../24-libfile-fcntllock-perl_0.22-3+b7_amd64.deb ...
Unpacking libfile-fcntllock-perl (0.22-3+b7) ...
Selecting previously unselected package libgtk2.0-common.
Preparing to unpack .../25-libgtk2.0-common_2.24.33-2_all.deb ...
Unpacking libgtk2.0-common (2.24.33-2) ...
Selecting previously unselected package libgtk2.0-0:amd64.
Preparing to unpack .../26-libgtk2.0-0_2.24.33-2_amd64.deb ...
Unpacking libgtk2.0-0:amd64 (2.24.33-2) ...
Selecting previously unselected package libgail18:amd64.
Preparing to unpack .../27-libgail18_2.24.33-2_amd64.deb ...
Unpacking libgail18:amd64 (2.24.33-2) ...
Selecting previously unselected package libgail-common:amd64.
Preparing to unpack .../28-libgail-common_2.24.33-2_amd64.deb ...
Unpacking libgail-common:amd64 (2.24.33-2) ...
Selecting previously unselected package libgbm-dev:amd64.
Preparing to unpack .../29-libgbm-dev_20.3.5-1_amd64.deb ...
Unpacking libgbm-dev:amd64 (20.3.5-1) ...
Selecting previously unselected package libgdk-pixbuf2.0-bin.
Preparing to unpack .../30-libgdk-pixbuf2.0-bin_2.42.2+dfsg-1+deb11u1_amd64.deb ...
Unpacking libgdk-pixbuf2.0-bin (2.42.2+dfsg-1+deb11u1) ...
Selecting previously unselected package libglib2.0-data.
Preparing to unpack .../31-libglib2.0-data_2.66.8-1_all.deb ...
Unpacking libglib2.0-data (2.66.8-1) ...
Selecting previously unselected package libglib2.0-bin.
Preparing to unpack .../32-libglib2.0-bin_2.66.8-1_amd64.deb ...
Unpacking libglib2.0-bin (2.66.8-1) ...
Selecting previously unselected package python3-lib2to3.
Preparing to unpack .../33-python3-lib2to3_3.9.2-1_all.deb ...
Unpacking python3-lib2to3 (3.9.2-1) ...
Selecting previously unselected package python3-distutils.
Preparing to unpack .../34-python3-distutils_3.9.2-1_all.deb ...
Unpacking python3-distutils (3.9.2-1) ...
Selecting previously unselected package libglib2.0-dev-bin.
Preparing to unpack .../35-libglib2.0-dev-bin_2.66.8-1_amd64.deb ...
Unpacking libglib2.0-dev-bin (2.66.8-1) ...
Selecting previously unselected package libsepol1-dev:amd64.
Preparing to unpack .../36-libsepol1-dev_3.1-1_amd64.deb ...
Unpacking libsepol1-dev:amd64 (3.1-1) ...
Selecting previously unselected package libpcre2-16-0:amd64.
Preparing to unpack .../37-libpcre2-16-0_10.36-2+deb11u1_amd64.deb ...
Unpacking libpcre2-16-0:amd64 (10.36-2+deb11u1) ...
Selecting previously unselected package libpcre2-32-0:amd64.
Preparing to unpack .../38-libpcre2-32-0_10.36-2+deb11u1_amd64.deb ...
Unpacking libpcre2-32-0:amd64 (10.36-2+deb11u1) ...
Selecting previously unselected package libpcre2-posix2:amd64.
Preparing to unpack .../39-libpcre2-posix2_10.36-2+deb11u1_amd64.deb ...
Unpacking libpcre2-posix2:amd64 (10.36-2+deb11u1) ...
Selecting previously unselected package libpcre2-dev:amd64.
Preparing to unpack .../40-libpcre2-dev_10.36-2+deb11u1_amd64.deb ...
Unpacking libpcre2-dev:amd64 (10.36-2+deb11u1) ...
Selecting previously unselected package libselinux1-dev:amd64.
Preparing to unpack .../41-libselinux1-dev_3.1-3_amd64.deb ...
Unpacking libselinux1-dev:amd64 (3.1-3) ...
Selecting previously unselected package libmount-dev:amd64.
Preparing to unpack .../42-libmount-dev_2.36.1-8+deb11u1_amd64.deb ...
Unpacking libmount-dev:amd64 (2.36.1-8+deb11u1) ...
Selecting previously unselected package libpcre16-3:amd64.
Preparing to unpack .../43-libpcre16-3_2%3a8.39-13_amd64.deb ...
Unpacking libpcre16-3:amd64 (2:8.39-13) ...
Selecting previously unselected package libpcre32-3:amd64.
Preparing to unpack .../44-libpcre32-3_2%3a8.39-13_amd64.deb ...
Unpacking libpcre32-3:amd64 (2:8.39-13) ...
Selecting previously unselected package libpcrecpp0v5:amd64.
Preparing to unpack .../45-libpcrecpp0v5_2%3a8.39-13_amd64.deb ...
Unpacking libpcrecpp0v5:amd64 (2:8.39-13) ...
Selecting previously unselected package libpcre3-dev:amd64.
Preparing to unpack .../46-libpcre3-dev_2%3a8.39-13_amd64.deb ...
Unpacking libpcre3-dev:amd64 (2:8.39-13) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../47-pkg-config_0.29.2-1_amd64.deb ...
Unpacking pkg-config (0.29.2-1) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../48-zlib1g-dev_1%3a1.2.11.dfsg-2+deb11u2_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2+deb11u2) ...
Selecting previously unselected package libglib2.0-dev:amd64.
Preparing to unpack .../49-libglib2.0-dev_2.66.8-1_amd64.deb ...
Unpacking libglib2.0-dev:amd64 (2.66.8-1) ...
Selecting previously unselected package libpng-dev:amd64.
Preparing to unpack .../50-libpng-dev_1.6.37-3_amd64.deb ...
Unpacking libpng-dev:amd64 (1.6.37-3) ...
Selecting previously unselected package libgdk-pixbuf-2.0-dev:amd64.
Preparing to unpack .../51-libgdk-pixbuf-2.0-dev_2.42.2+dfsg-1+deb11u1_amd64.deb ...
Unpacking libgdk-pixbuf-2.0-dev:amd64 (2.42.2+dfsg-1+deb11u1) ...
Selecting previously unselected package libgdk-pixbuf-xlib-2.0-0:amd64.
Preparing to unpack .../52-libgdk-pixbuf-xlib-2.0-0_2.40.2-2_amd64.deb ...
Unpacking libgdk-pixbuf-xlib-2.0-0:amd64 (2.40.2-2) ...
Selecting previously unselected package libgdk-pixbuf2.0-0:amd64.
Preparing to unpack .../53-libgdk-pixbuf2.0-0_2.40.2-2_amd64.deb ...
Unpacking libgdk-pixbuf2.0-0:amd64 (2.40.2-2) ...
Selecting previously unselected package libgtk2.0-bin.
Preparing to unpack .../54-libgtk2.0-bin_2.24.33-2_amd64.deb ...
Unpacking libgtk2.0-bin (2.24.33-2) ...
Selecting previously unselected package libnotify-dev:amd64.
Preparing to unpack .../55-libnotify-dev_0.7.9-3_amd64.deb ...
Unpacking libnotify-dev:amd64 (0.7.9-3) ...
Selecting previously unselected package libpng-tools.
Preparing to unpack .../56-libpng-tools_1.6.37-3_amd64.deb ...
Unpacking libpng-tools (1.6.37-3) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../57-manpages-dev_5.10-1_all.deb ...
Unpacking manpages-dev (5.10-1) ...
Selecting previously unselected package notification-daemon.
Preparing to unpack .../58-notification-daemon_3.20.0-4_amd64.deb ...
Unpacking notification-daemon (3.20.0-4) ...
Selecting previously unselected package xauth.
Preparing to unpack .../59-xauth_1%3a1.1-1_amd64.deb ...
Unpacking xauth (1:1.1-1) ...
Setting up libpcrecpp0v5:amd64 (2:8.39-13) ...
Setting up libgdk-pixbuf-xlib-2.0-0:amd64 (2.40.2-2) ...
Setting up libpcre16-3:amd64 (2:8.39-13) ...
Setting up libpng-tools (1.6.37-3) ...
Setting up libfile-fcntllock-perl (0.22-3+b7) ...
Setting up manpages (5.10-1) ...
Setting up libsepol1-dev:amd64 (3.1-1) ...
Setting up linux-libc-dev:amd64 (5.10.179-1) ...
Setting up bzip2 (1.0.8-4) ...
Setting up libffi-dev:amd64 (3.3-6) ...
Setting up libgbm-dev:amd64 (20.3.5-1) ...
Setting up libpcre2-16-0:amd64 (10.36-2+deb11u1) ...
Setting up libpcre2-32-0:amd64 (10.36-2+deb11u1) ...
Setting up gconf2-common (3.2.6-7) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.)
debconf: falling back to frontend: Readline

Creating config file /etc/gconf/2/path with new version
Setting up libglib2.0-data (2.66.8-1) ...
Setting up libtirpc-dev:amd64 (1.3.1-1+deb11u1) ...
Setting up libnotify4:amd64 (0.7.9-3) ...
Setting up libgdk-pixbuf2.0-0:amd64 (2.40.2-2) ...
Setting up xz-utils (5.2.5-2.1~deb11u1) ...
update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/lzma.1.gz because associated file /usr/share/man/man1/xz.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/unlzma.1.gz because associated file /usr/share/man/man1/unxz.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzcat.1.gz because associated file /usr/share/man/man1/xzcat.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzmore.1.gz because associated file /usr/share/man/man1/xzmore.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzless.1.gz because associated file /usr/share/man/man1/xzless.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzdiff.1.gz because associated file /usr/share/man/man1/xzdiff.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzcmp.1.gz because associated file /usr/share/man/man1/xzcmp.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzgrep.1.gz because associated file /usr/share/man/man1/xzgrep.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzegrep.1.gz because associated file /usr/share/man/man1/xzegrep.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzfgrep.1.gz because associated file /usr/share/man/man1/xzfgrep.1.gz (of link group lzma) doesn't exist
Setting up libgd3:amd64 (2.3.0-2) ...
Setting up libpcre32-3:amd64 (2:8.39-13) ...
Setting up libpcre2-posix2:amd64 (10.36-2+deb11u1) ...
Setting up libdpkg-perl (1.20.12) ...
Setting up libnsl-dev:amd64 (1.3.0-2) ...
Setting up xauth (1:1.1-1) ...
Setting up libgdk-pixbuf2.0-bin (2.42.2+dfsg-1+deb11u1) ...
Setting up libcrypt-dev:amd64 (1:4.4.18-4) ...
Setting up libgirepository-1.0-1:amd64 (1.66.1-1+b1) ...
Setting up libgtk2.0-common (2.24.33-2) ...
Setting up libc-dev-bin (2.31-13+deb11u6) ...
Setting up libgtk2.0-bin (2.24.33-2) ...
Setting up gconf-service (3.2.6-7) ...
Setting up libc6-dev:amd64 (2.31-13+deb11u6) ...
Setting up libpcre2-dev:amd64 (10.36-2+deb11u1) ...
Setting up gir1.2-gdkpixbuf-2.0:amd64 (2.42.2+dfsg-1+deb11u1) ...
Setting up libgail-common:amd64 (2.24.33-2) ...
Setting up libselinux1-dev:amd64 (3.1-3) ...
Setting up libpcre3-dev:amd64 (2:8.39-13) ...
Setting up uuid-dev:amd64 (2.36.1-8+deb11u1) ...
Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2+deb11u2) ...
Setting up gir1.2-notify-0.7:amd64 (0.7.9-3) ...
Setting up libblkid-dev:amd64 (2.36.1-8+deb11u1) ...
Setting up libpng-dev:amd64 (1.6.37-3) ...
Setting up libmount-dev:amd64 (2.36.1-8+deb11u1) ...
Setting up libglib2.0-dev:amd64 (2.66.8-1) ...
Processing triggers for libglib2.0-0:amd64 (2.66.8-1) ...
Processing triggers for libc-bin (2.31-13+deb11u5) ...
Setting up libgdk-pixbuf-2.0-dev:amd64 (2.42.2+dfsg-1+deb11u1) ...
Setting up libnotify-dev:amd64 (0.7.9-3) ...
root@cypress-k8s-sdvmt-43stv:/home/jenkins/agent# cypress verify

root@cypress-k8s-sdvmt-43stv:/home/jenkins/agent# cypress verify

root@cypress-k8s-sdvmt-43stv:/home/jenkins/agent# cypress verify

root@cypress-k8s-sdvmt-43stv:/home/jenkins/agent# cypress verify

root@cypress-k8s-sdvmt-43stv:/home/jenkins/agent# cypress verify

root@cypress-k8s-sdvmt-43stv:/home/jenkins/agent# cypress verify

root@cypress-k8s-sdvmt-43stv:/home/jenkins/agent# cypress verify

Cypress failed to start.

This may be due to a missing library or dependency. https://on.cypress.io/required-dependencies

Please refer to the error below for more details.

----------

Command was killed with SIGTRAP (Debugger breakpoint): /root/.cache/Cypress/12.13.0/Cypress/Cypress --no-sandbox --smoke-test --ping=783

----------


Platform: linux-x64 (Debian - 11.6)
Cypress Version: 12.13.0

It just randomly fails sometimes and sometimes it don't

@MikeMcC399
Copy link
Contributor

@luischre

You'll need to wait now for the Cypress team to pick your issue up via their triage process.

@lmiller1990
Copy link
Contributor

Lots of info here - great debugging. I haven't run Cypress in k8s before, but I'll try now and see if I can reproduce.

One thing sticks out to me - you mentioned 9.5.1 is working fine, but nothing beyond. Here's the diff for those two tags:

v9.5.1...v9.5.2

I'll take a look and see if anything jumps out.

@lmiller1990
Copy link
Contributor

I don't see anything obvious there causing issues - can you double check that it's definitely an issue between 9.5.1 and 9.5.2? If it really is, that vastly simplifies the debugging - we can just build a binary for each commit and figure it out that way.

@luischre
Copy link
Author

luischre commented Jul 7, 2023

Tested again both versions, this is the debug output for cypress verify with cypress/included:9.5.2. Out of ten attempts it failed 8 items and succeeded only twice. Although it's another error than the one I get with newer version from a behaviour point it seems pretty similar:

root@cypress-k8s-vr8k2-jdd2q:/home/jenkins/agent# DEBUG=cypress:* cypress verify
  cypress:cli:cli cli starts with arguments ["/usr/local/bin/node","/usr/local/bin/cypress","verify"] +0ms
  cypress:cli NODE_OPTIONS is not set +0ms
  cypress:cli:cli program parsing arguments +2ms
  cypress:cli parsed cli options {} +1ms
  cypress:cli verifying Cypress app +0ms
  cypress:cli Using CYPRESS_CACHE_FOLDER from environment variable +99ms
  cypress:cli Using CYPRESS_CACHE_FOLDER from environment variable +0ms
  cypress:cli using environment variable CYPRESS_CACHE_FOLDER /root/.cache/Cypress +0ms
  cypress:cli checking environment variables +1ms
  cypress:cli checking if executable exists /root/.cache/Cypress/9.5.2/Cypress/Cypress +5ms
  cypress:cli Binary is executable? : true +9ms
  cypress:cli binaryDir is  /root/.cache/Cypress/9.5.2/Cypress +1ms
  cypress:cli Reading binary package.json from: /root/.cache/Cypress/9.5.2/Cypress/resources/app/package.json +16ms
  cypress:cli Found binary version 9.5.2 installed in: /root/.cache/Cypress/9.5.2/Cypress +3ms
  cypress:cli could not read binary_state.json file at "/root/.cache/Cypress/9.5.2/binary_state.json" +4ms
  cypress:cli {} +0ms
  cypress:cli is Verified ? undefined +1ms
  cypress:cli force verify +0ms
  cypress:cli running binary verification check 9.5.2 +1ms

  cypress:cli clearing out the verified version +4ms
  cypress:cli undefined DISPLAY environment variable +0ms
  cypress:cli Cypress will spawn its own Xvfb +0ms
  cypress:cli needs Xvfb? true +2ms
  cypress:cli Starting Xvfb +0ms
  cypress:cli disabling Electron sandbox +16ms
  cypress:cli running smoke test +1ms
  cypress:cli using Cypress executable /root/.cache/Cypress/9.5.2/Cypress/Cypress +0ms
  cypress:cli smoke test command: /root/.cache/Cypress/9.5.2/Cypress/Cypress --no-sandbox --smoke-test --ping=67 +0ms
  cypress:cli smoke test timeout 30000 ms +0ms
  cypress:cli Smoke test failed: Error: Command was killed with SIGSEGV (Segmentation fault): /root/.cache/Cypress/9.5.2/Cypress/Cypress --no-sandbox --smoke-test --ping=67
2023-07-07T07:09:36.834Z cypress:ts register TypeScript project /root/.cache/Cypress/9.5.2/Cypress/resources/app/packages/ts/tsconfig.json fast? true
2023-07-07T07:09:37.010Z cypress:ts Running without ts-node hook in environment "production"
2023-07-07T07:09:37.285Z cypress:server:appdata path: /root/.config/Cypress/cy/production/browsers
2023-07-07T07:09:37.800Z cypress:server:appdata path: /root/.config/Cypress/cy/production
2023-07-07T07:09:37.942Z cypress:server:appdata path: /root/.config/Cypress/cy/production/cache
2023-07-07T07:09:38.079Z cypress:server:cypress starting cypress with argv [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=67' ]
2023-07-07T07:09:38.079Z cypress:server:args argv array: [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=67' ]
2023-07-07T07:09:38.080Z cypress:server:args parsed argv options { options: { _: [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress' ], sandbox: false, 'smoke-test': true, smokeTest: true, ping: 67 } }
2023-07-07T07:09:38.082Z cypress:server:args argv parsed: { _: [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 67, invokedFromCli: false, cwd: '/home/jenkins/agent', testingType: 'e2e
' }
2023-07-07T07:09:38.082Z cypress:server:util:proxy found proxy environment variables {}
2023-07-07T07:09:38.083Z cypress:server:args options { _: [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 67, invokedFromCli: false, cwd: '/home/jenkins/agent', testingType: 'e2e', co
nfig: {} }
2023-07-07T07:09:38.083Z cypress:server:args argv options: { _: [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 67, invokedFromCli: false, cwd: '/home/jenkins/agent', testingType: 'e2
e', config: {}, pong: 67 }
2023-07-07T07:09:38.083Z cypress:server:cypress from argv [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=67' ] got options { _: [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress' ], sandb
ox: false, smokeTest: true, ping: 67, invokedFromCli: false, cwd: '/home/jenkins/agent', testingType: 'e2e', config: {}, pong: 67 }
[800:0707/070938.197095:ERROR:bus.cc(392)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[800:0707/070938.198986:ERROR:bus.cc(392)] Failed to connect to the bus: Address does not contain a colon
[800:0707/070938.199023:ERROR:bus.cc(392)] Failed to connect to the bus: Address does not contain a colon
2023-07-07T07:09:38.202Z cypress:server:appdata path: /root/.config/Cypress/cy/production
2023-07-07T07:09:38.221Z cypress:server:util:process_profiler error running process profiler: Error: expected to find current pid in process list 800 at lazyAssLogic (/root/.cache/Cypress/9.5.2/Cypress/resources/app/node_mod
ules/lazy-ass/index.js:110:14) at lazyAss (/root/.cache/Cypress/9.5.2/Cypress/resources/app/node_modules/lazy-ass/index.js:115:28) at _groupCyProcesses (/root/.cache/Cypress/9.5.2/Cypress/resources/app/packages/server/lib/ut
il/process_profiler.js:33:28)
2023-07-07T07:09:38.224Z cypress:server:cypress starting in mode smokeTest with options { _: [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 67, invokedFromCli: false, cwd: '/home/jen
kins/agent', testingType: 'e2e', config: {}, pong: 67 }
2023-07-07T07:09:38.231Z cypress:server:cypress running Electron currently
2023-07-07T07:09:38.232Z cypress:server:cypress about to exit with code 0
2023-07-07T07:09:38.232Z cypress:server:browsers browsers.kill called with no active instance
2023-07-07T07:09:38.232Z cypress:proxy:http:util:prerequests metrics: { browserPreRequestsReceived: 0, proxyRequestsReceived: 0, immediatelyMatchedRequests: 0, eventuallyReceivedPreRequest: [], neverReceivedPreRequest: [] }
[984:0707/070938.239022:WARNING:vaapi_wrapper.cc(586)] VAAPI video acceleration not available for swiftshader
It looks like you are running the Cypress binary directly.

This is not the recommended approach, and Cypress may not work correctly.

Please install the cypress NPM package and follow the instructions here:

https://on.cypress.io/installing-cypress
67
    at makeError (/usr/local/lib/node_modules/cypress/node_modules/execa/lib/error.js:59:11)
    at handlePromise (/usr/local/lib/node_modules/cypress/node_modules/execa/index.js:114:26)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  shortMessage: 'Command was killed with SIGSEGV (Segmentation fault): /root/.cache/Cypress/9.5.2/Cypress/Cypress --no-sandbox --smoke-test --ping=67',
  command: '/root/.cache/Cypress/9.5.2/Cypress/Cypress --no-sandbox --smoke-test --ping=67',
  exitCode: undefined,
  signal: 'SIGSEGV',
  signalDescription: 'Segmentation fault',
  stdout: 'It looks like you are running the Cypress binary directly.\n' +
    '\n' +
    'This is not the recommended approach, and Cypress may not work correctly.\n' +
    '\n' +
    'Please install the cypress NPM package and follow the instructions here:\n' +
    '\n' +
    'https://on.cypress.io/installing-cypress\n' +
    '67',
  stderr: '2023-07-07T07:09:36.834Z cypress:ts register TypeScript project /root/.cache/Cypress/9.5.2/Cypress/resources/app/packages/ts/tsconfig.json fast? true\n' +
    '2023-07-07T07:09:37.010Z cypress:ts Running without ts-node hook in environment "production"\n' +
    '2023-07-07T07:09:37.285Z cypress:server:appdata path: /root/.config/Cypress/cy/production/browsers\n' +
    '2023-07-07T07:09:37.800Z cypress:server:appdata path: /root/.config/Cypress/cy/production\n' +
    '2023-07-07T07:09:37.942Z cypress:server:appdata path: /root/.config/Cypress/cy/production/cache\n' +
    "2023-07-07T07:09:38.079Z cypress:server:cypress starting cypress with argv [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=67' ]\n" +
    "2023-07-07T07:09:38.079Z cypress:server:args argv array: [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=67' ]\n" +
    "2023-07-07T07:09:38.080Z cypress:server:args parsed argv options { options: { _: [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress' ], sandbox: false, 'smoke-test': true, smokeTest: true, ping: 67 } }\n" +
    "2023-07-07T07:09:38.082Z cypress:server:args argv parsed: { _: [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 67, invokedFromCli: false, cwd: '/home/jenkins/agent', testingType:
 'e2e' }\n" +
    '2023-07-07T07:09:38.082Z cypress:server:util:proxy found proxy environment variables {}\n' +
    "2023-07-07T07:09:38.083Z cypress:server:args options { _: [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 67, invokedFromCli: false, cwd: '/home/jenkins/agent', testingType: 'e2e
', config: {} }\n" +
    "2023-07-07T07:09:38.083Z cypress:server:args argv options: { _: [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 67, invokedFromCli: false, cwd: '/home/jenkins/agent', testingType
: 'e2e', config: {}, pong: 67 }\n" +
    "2023-07-07T07:09:38.083Z cypress:server:cypress from argv [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=67' ] got options { _: [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress' ],
sandbox: false, smokeTest: true, ping: 67, invokedFromCli: false, cwd: '/home/jenkins/agent', testingType: 'e2e', config: {}, pong: 67 }\n" +
    '[800:0707/070938.197095:ERROR:bus.cc(392)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory\n' +
    '[800:0707/070938.198986:ERROR:bus.cc(392)] Failed to connect to the bus: Address does not contain a colon\n' +
    '[800:0707/070938.199023:ERROR:bus.cc(392)] Failed to connect to the bus: Address does not contain a colon\n' +
    '2023-07-07T07:09:38.202Z cypress:server:appdata path: /root/.config/Cypress/cy/production\n' +
    '2023-07-07T07:09:38.221Z cypress:server:util:process_profiler error running process profiler: Error: expected to find current pid in process list 800 at lazyAssLogic (/root/.cache/Cypress/9.5.2/Cypress/resources/app/nod
e_modules/lazy-ass/index.js:110:14) at lazyAss (/root/.cache/Cypress/9.5.2/Cypress/resources/app/node_modules/lazy-ass/index.js:115:28) at _groupCyProcesses (/root/.cache/Cypress/9.5.2/Cypress/resources/app/packages/server/l
ib/util/process_profiler.js:33:28) \n' +
    "2023-07-07T07:09:38.224Z cypress:server:cypress starting in mode smokeTest with options { _: [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 67, invokedFromCli: false, cwd: '/hom
e/jenkins/agent', testingType: 'e2e', config: {}, pong: 67 }\n" +
    '2023-07-07T07:09:38.231Z cypress:server:cypress running Electron currently\n' +
    '2023-07-07T07:09:38.232Z cypress:server:cypress about to exit with code 0\n' +
    '2023-07-07T07:09:38.232Z cypress:server:browsers browsers.kill called with no active instance\n' +
    '2023-07-07T07:09:38.232Z cypress:proxy:http:util:prerequests metrics: { browserPreRequestsReceived: 0, proxyRequestsReceived: 0, immediatelyMatchedRequests: 0, eventuallyReceivedPreRequest: [], neverReceivedPreRequest:
[] }\n' +
    '[984:0707/070938.239022:WARNING:vaapi_wrapper.cc(586)] VAAPI video acceleration not available for swiftshader',
  failed: true,
  timedOut: false,
  isCanceled: false,
  killed: false
} +2s
  cypress:cli error message: 2023-07-07T07:09:36.834Z cypress:ts register TypeScript project /root/.cache/Cypress/9.5.2/Cypress/resources/app/packages/ts/tsconfig.json fast? true
2023-07-07T07:09:37.010Z cypress:ts Running without ts-node hook in environment "production"
2023-07-07T07:09:37.285Z cypress:server:appdata path: /root/.config/Cypress/cy/production/browsers
2023-07-07T07:09:37.800Z cypress:server:appdata path: /root/.config/Cypress/cy/production
2023-07-07T07:09:37.942Z cypress:server:appdata path: /root/.config/Cypress/cy/production/cache
2023-07-07T07:09:38.079Z cypress:server:cypress starting cypress with argv [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=67' ]
2023-07-07T07:09:38.079Z cypress:server:args argv array: [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=67' ]
2023-07-07T07:09:38.080Z cypress:server:args parsed argv options { options: { _: [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress' ], sandbox: false, 'smoke-test': true, smokeTest: true, ping: 67 } }
2023-07-07T07:09:38.082Z cypress:server:args argv parsed: { _: [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 67, invokedFromCli: false, cwd: '/home/jenkins/agent', testingType: 'e2e
' }
2023-07-07T07:09:38.082Z cypress:server:util:proxy found proxy environment variables {}
2023-07-07T07:09:38.083Z cypress:server:args options { _: [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 67, invokedFromCli: false, cwd: '/home/jenkins/agent', testingType: 'e2e', co
nfig: {} }
2023-07-07T07:09:38.083Z cypress:server:args argv options: { _: [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 67, invokedFromCli: false, cwd: '/home/jenkins/agent', testingType: 'e2
e', config: {}, pong: 67 }
2023-07-07T07:09:38.083Z cypress:server:cypress from argv [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=67' ] got options { _: [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress' ], sandb
ox: false, smokeTest: true, ping: 67, invokedFromCli: false, cwd: '/home/jenkins/agent', testingType: 'e2e', config: {}, pong: 67 }
[800:0707/070938.197095:ERROR:bus.cc(392)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[800:0707/070938.198986:ERROR:bus.cc(392)] Failed to connect to the bus: Address does not contain a colon
[800:0707/070938.199023:ERROR:bus.cc(392)] Failed to connect to the bus: Address does not contain a colon
2023-07-07T07:09:38.202Z cypress:server:appdata path: /root/.config/Cypress/cy/production
2023-07-07T07:09:38.221Z cypress:server:util:process_profiler error running process profiler: Error: expected to find current pid in process list 800 at lazyAssLogic (/root/.cache/Cypress/9.5.2/Cypress/resources/app/node_mod
ules/lazy-ass/index.js:110:14) at lazyAss (/root/.cache/Cypress/9.5.2/Cypress/resources/app/node_modules/lazy-ass/index.js:115:28) at _groupCyProcesses (/root/.cache/Cypress/9.5.2/Cypress/resources/app/packages/server/lib/ut
il/process_profiler.js:33:28)
2023-07-07T07:09:38.224Z cypress:server:cypress starting in mode smokeTest with options { _: [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 67, invokedFromCli: false, cwd: '/home/jen
kins/agent', testingType: 'e2e', config: {}, pong: 67 }
2023-07-07T07:09:38.231Z cypress:server:cypress running Electron currently
2023-07-07T07:09:38.232Z cypress:server:cypress about to exit with code 0
2023-07-07T07:09:38.232Z cypress:server:browsers browsers.kill called with no active instance
2023-07-07T07:09:38.232Z cypress:proxy:http:util:prerequests metrics: { browserPreRequestsReceived: 0, proxyRequestsReceived: 0, immediatelyMatchedRequests: 0, eventuallyReceivedPreRequest: [], neverReceivedPreRequest: [] }
[984:0707/070938.239022:WARNING:vaapi_wrapper.cc(586)] VAAPI video acceleration not available for swiftshader +2ms

Cypress failed to start.

This may be due to a missing library or dependency. https://on.cypress.io/required-dependencies

Please refer to the error below for more details.

----------

2023-07-07T07:09:36.834Z cypress:ts register TypeScript project /root/.cache/Cypress/9.5.2/Cypress/resources/app/packages/ts/tsconfig.json fast? true
2023-07-07T07:09:37.010Z cypress:ts Running without ts-node hook in environment "production"
2023-07-07T07:09:37.285Z cypress:server:appdata path: /root/.config/Cypress/cy/production/browsers
2023-07-07T07:09:37.800Z cypress:server:appdata path: /root/.config/Cypress/cy/production
2023-07-07T07:09:37.942Z cypress:server:appdata path: /root/.config/Cypress/cy/production/cache
2023-07-07T07:09:38.079Z cypress:server:cypress starting cypress with argv [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=67' ]
2023-07-07T07:09:38.079Z cypress:server:args argv array: [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=67' ]
2023-07-07T07:09:38.080Z cypress:server:args parsed argv options { options: { _: [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress' ], sandbox: false, 'smoke-test': true, smokeTest: true, ping: 67 } }
2023-07-07T07:09:38.082Z cypress:server:args argv parsed: { _: [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 67, invokedFromCli: false, cwd: '/home/jenkins/agent', testingType: 'e2e
' }
2023-07-07T07:09:38.082Z cypress:server:util:proxy found proxy environment variables {}
2023-07-07T07:09:38.083Z cypress:server:args options { _: [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 67, invokedFromCli: false, cwd: '/home/jenkins/agent', testingType: 'e2e', co
nfig: {} }
2023-07-07T07:09:38.083Z cypress:server:args argv options: { _: [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 67, invokedFromCli: false, cwd: '/home/jenkins/agent', testingType: 'e2
e', config: {}, pong: 67 }
2023-07-07T07:09:38.083Z cypress:server:cypress from argv [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=67' ] got options { _: [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress' ], sandb
ox: false, smokeTest: true, ping: 67, invokedFromCli: false, cwd: '/home/jenkins/agent', testingType: 'e2e', config: {}, pong: 67 }
[800:0707/070938.197095:ERROR:bus.cc(392)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[800:0707/070938.198986:ERROR:bus.cc(392)] Failed to connect to the bus: Address does not contain a colon
[800:0707/070938.199023:ERROR:bus.cc(392)] Failed to connect to the bus: Address does not contain a colon
2023-07-07T07:09:38.202Z cypress:server:appdata path: /root/.config/Cypress/cy/production
2023-07-07T07:09:38.221Z cypress:server:util:process_profiler error running process profiler: Error: expected to find current pid in process list 800 at lazyAssLogic (/root/.cache/Cypress/9.5.2/Cypress/resources/app/node_mod
ules/lazy-ass/index.js:110:14) at lazyAss (/root/.cache/Cypress/9.5.2/Cypress/resources/app/node_modules/lazy-ass/index.js:115:28) at _groupCyProcesses (/root/.cache/Cypress/9.5.2/Cypress/resources/app/packages/server/lib/ut
il/process_profiler.js:33:28)
2023-07-07T07:09:38.224Z cypress:server:cypress starting in mode smokeTest with options { _: [ '/root/.cache/Cypress/9.5.2/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 67, invokedFromCli: false, cwd: '/home/jen
kins/agent', testingType: 'e2e', config: {}, pong: 67 }
2023-07-07T07:09:38.231Z cypress:server:cypress running Electron currently
2023-07-07T07:09:38.232Z cypress:server:cypress about to exit with code 0
2023-07-07T07:09:38.232Z cypress:server:browsers browsers.kill called with no active instance
2023-07-07T07:09:38.232Z cypress:proxy:http:util:prerequests metrics: { browserPreRequestsReceived: 0, proxyRequestsReceived: 0, immediatelyMatchedRequests: 0, eventuallyReceivedPreRequest: [], neverReceivedPreRequest: [] }
[984:0707/070938.239022:WARNING:vaapi_wrapper.cc(586)] VAAPI video acceleration not available for swiftshader

----------

Platform: linux-x64 (Debian - 11.2)
Cypress Version: 9.5.2

Doing the same for 9.5.1 cypress verify succeeds 10 out of 10. I know this is not a 100% confirmation that there is no error in that version but it sure seems a lot different:

root@cypress-k8s-84dks-d4d2p:/home/jenkins/agent# DEBUG=cypress:* cypress verify
  cypress:cli:cli cli starts with arguments ["/usr/local/bin/node","/usr/local/bin/cypress","verify"] +0ms
  cypress:cli NODE_OPTIONS is not set +0ms
  cypress:cli:cli program parsing arguments +2ms
  cypress:cli parsed cli options {} +2ms
  cypress:cli verifying Cypress app +0ms
  cypress:cli Using CYPRESS_CACHE_FOLDER from environment variable +97ms
  cypress:cli Using CYPRESS_CACHE_FOLDER from environment variable +0ms
  cypress:cli using environment variable CYPRESS_CACHE_FOLDER /root/.cache/Cypress +0ms
  cypress:cli checking environment variables +1ms
  cypress:cli checking if executable exists /root/.cache/Cypress/9.5.1/Cypress/Cypress +4ms
  cypress:cli Binary is executable? : true +1ms
  cypress:cli binaryDir is  /root/.cache/Cypress/9.5.1/Cypress +0ms
  cypress:cli Reading binary package.json from: /root/.cache/Cypress/9.5.1/Cypress/resources/app/package.json +5ms
  cypress:cli Found binary version 9.5.1 installed in: /root/.cache/Cypress/9.5.1/Cypress +2ms
  cypress:cli { verified: true } +3ms
  cypress:cli is Verified ? true +2ms
  cypress:cli force verify +0ms
  cypress:cli running binary verification check 9.5.1 +0ms

  cypress:cli clearing out the verified version +4ms
  cypress:cli undefined DISPLAY environment variable +0ms
  cypress:cli Cypress will spawn its own Xvfb +0ms
  cypress:cli needs Xvfb? true +2ms
  cypress:cli Starting Xvfb +0ms
  cypress:cli disabling Electron sandbox +18ms
  cypress:cli running smoke test +0ms
  cypress:cli using Cypress executable /root/.cache/Cypress/9.5.1/Cypress/Cypress +0ms
  cypress:cli smoke test command: /root/.cache/Cypress/9.5.1/Cypress/Cypress --no-sandbox --smoke-test --ping=554 +0ms
  cypress:cli smoke test timeout 30000 ms +0ms
  cypress:cli smoke test stdout "It looks like you are running the Cypress binary directly.

This is not the recommended approach, and Cypress may not work correctly.

Please install the cypress NPM package and follow the instructions here:

https://on.cypress.io/installing-cypress
554" +12s
  cypress:cli Stopping Xvfb +12s
  cypress:cli write verified: true +32ms

I also had a short look at the comparison that you linked and also don't see anything that looks directly suspicious. Could the docker file creation be the one to look at here? Would be suprised if some major changes would have happened there for a minor version change of cypress itself but will try to compare them.

@MikeMcC399
Copy link
Contributor

MikeMcC399 commented Jul 7, 2023

@lmiller1990

The Debian version has a major version bump from 10 to 11.
cat /etc/debian_version shows the following:

Docker image Debian version
cypress/included:9.5.1 10.11 (buster)
cypress/included:9.5.2 11.2 (bullseye)
cypress/included:12.17.0 11.6 (bullseye)

To see if the Debian version is related to the issue, perhaps install cypress@9.5.2 into the cypress/included:9.5.1 image?

@luischre
Copy link
Author

luischre commented Jul 7, 2023

Yes, also stumbled across this. Will give that a try, was thinking about building my own custom image with buster instead of bullseye-slim but your approach is probably a lot easier.

Will also try to test it on a different cluster. The one I am currently using is a little bit outdated, so that might be related. I will clarify which versions the different clusters have.

@luischre
Copy link
Author

luischre commented Jul 7, 2023

@MikeMcC399 your proposal worked like a charm, used cypress/included:9.5.1, installed 9.5.2 and cypress verify runs through successfully, repeated the same for 12.13.0 and no more SIGTRAP errors!

Will check now on the other cluster to see whether that's the reason. If so will create my own custom image with buster for the meantime until the cluster is upgrade. Will keep you posted.

@MikeMcC399
Copy link
Contributor

@luischre
Great news!

What components / versions would be changed by a potential cluster upgrade?

@luischre
Copy link
Author

luischre commented Jul 11, 2023

Our pipeline is now running with a custom docker image including debian buster. Obviously it's not a long-term solution but for now it needs to suffice.

With regards to components/version that might be changed. Next step that will be taken is upgrading the kubernetes version this is already planned, unfortunately I don't know the exact versions. Anyway I will retest once this is done to see whether that already fixes the problem.

I had also done one test on another cluster with a slightly newer kubernetes version, there it worked without problems but besides the difference between kubernetes versions, there are more differences such as one is AWS based, the other one with Centos...

I will close this issue as this seems to be an infratstructure issue on our side but will update it, once I retest the images, just in case it might help other people that run into the same issues.

@miroslavmyrha
Copy link

miroslavmyrha commented Sep 15, 2023

We had simmilar issue with SIGSEGV/SIGKILL in older image versions and SIGTRAP with newer image versions from IPC with docker in GL/CI. Maybe it is related with dbus permission or service with electron socket communication, but it needs more explore. So this workarround (install latest Cypress version based on cypress/included 9.5.1 docker image) works well. Thank you very much, helps a lot!

@luischre
Copy link
Author

Just a short update from my side. Update of the kubernetes version did not solve the issue, it's still persisting.

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

4 participants