]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commit
scripts/dashboard: kill existing xvfb process 2256/head
authorNizamudeen A <nia@redhat.com>
Fri, 14 Jun 2024 04:02:58 +0000 (09:32 +0530)
committerNizamudeen A <nia@redhat.com>
Fri, 14 Jun 2024 04:02:58 +0000 (09:32 +0530)
commit67fdea4fdb6d2d29979a1329efbccdbd6ccf0d0d
treea7f25616cd121b33030b4ad232a5ccc990de3ff3
parent6e02b6c30fd2a2520187d071fdf94c13ed2ea933
scripts/dashboard: kill existing xvfb process

To fix the below error on starting cypress
```
[STARTED] Task without title.
[FAILED] Xvfb exited with a non zero exit code.
[FAILED]
[FAILED] There was a problem spawning Xvfb.
[FAILED]
[FAILED] This is likely a problem with your system, permissions, or installation of Xvfb.
[FAILED]
[FAILED] ----------
[FAILED]
[FAILED] Error: _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
[FAILED] _XSERVTransMakeAllCOTSServerListeners: server already running
[FAILED] (EE)
[FAILED] Fatal server error:
[FAILED] (EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE)
[FAILED]
[FAILED] ----------
[FAILED]
[FAILED] Platform: linux-x64 (Ubuntu - 22.04)
[FAILED] Cypress Version: 12.17.4
Xvfb exited with a non zero exit code.

There was a problem spawning Xvfb.

This is likely a problem with your system, permissions, or installation of Xvfb.
```

Signed-off-by: Nizamudeen A <nia@redhat.com>
scripts/dashboard/install-e2e-test-deps.sh