-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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 won't open #22683
Comments
@ewminty-private Can you check to make sure that you've installed all of the required dependencies for Linux that are outlined in the Cypress documentation? Thanks https://docs.cypress.io/guides/getting-started/installing-cypress#Ubuntu-Debian |
Yes of course, I already checked this and verified each of the dependencies
again just now to be certain.
After much further investigation I've determined that Cypress doesn't seem
to support out-of-the-box compatibility with running on WSL 2.0. That ...
would have been nice to know. It requires a fairly configuration-heavy
X-windows interface.
If you have any documentation on how to go about getting Cypress to work on
WSL with X-windows that would certainly be appreciated. All I can find is
some personal blogs, but nothing yet that actually works.
…On Wed, Jul 13, 2022 at 9:10 AM Adam Stone ***@***.***> wrote:
@ewminty-private <https://github.com/ewminty-private> Can you check to
make sure that you've installed all of the required dependencies for Linux
that are outlined in the Cypress documentation? Thanks
https://docs.cypress.io/guides/getting-started/installing-cypress#Ubuntu-Debian
—
Reply to this email directly, view it on GitHub
<#22683 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APDQYOM2I7QQUUUTNOSR7J3VT3TBFANCNFSM52WQ5IBA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@ewminty-private we do have some documentation around it here. Can you follow the steps there and let us know if that helps? Thanks |
Hi @ewminty-private I'm going to close this issue out since it has been a week, I'm hoping the linked docs in this comment were adequate for your setup, if not please let us know. |
Hi, I've received no reply to my response dated seven days ago in which I
indicated the problem has NOT been resolved.
Do I need to create another ticket or can this be re-opened as it was
closed in error?
…On Thu, Jul 21, 2022 at 8:59 AM Erik Minty ***@***.***> wrote:
Please re-open this as it has not been resolved. I didn't get a reply to
the last comment I made on Jul.18 after following all of the instructions
in the link provided - I've reposted my response below. I can't find any
relevant information about the error message I'm receiving. Note that the
application does not appear to load at all.
Having followed all of the instructions and rebooted, triple-checked
> everything, etc, it is *still *failing to start. I'm getting this error
> message:
>
> ***@***.***:~$ npx cypress open
>> [4409:0718/124558.701549:ERROR:ozone_platform_x11.cc(248)] Missing X
>> server or $DISPLAY
>> [4409:0718/124558.704912:ERROR:env.cc(225)] The platform failed to
>> initialize. Exiting.
>> The Test Runner unexpectedly exited via a close event with signal SIGSEGV
>>
>> Please search Cypress documentation for possible solutions:
>>
>> https://on.cypress.io
>>
>> Check if there is a GitHub issue describing this crash:
>>
>> https://github.com/cypress-io/cypress/issues
>>
>> Consider opening a new issue.
>>
>> ----------
>>
>> Platform: linux-x64 (Ubuntu - 20.04)
>> Cypress Version: 10.3.0
>>
>
> I have verified and double-checked all of the steps. I have an X server
> running with access control disabled, the $DISPLAY is registering
> correctly, and all of the other steps I've run through carefully three
> times now - so why is it telling me "Missing X server or $DISPLAY"? What
> further troubleshooting steps would you recommend at this stage? The
> application simply will not start up. All of the information I can find
> online about the SIGSEGV error relates to test execution problems and I'm
> not even at that stage yet.
>
On Thu, Jul 21, 2022 at 4:54 AM Mark Noonan ***@***.***>
wrote:
> Hi @ewminty-private <https://github.com/ewminty-private> I'm going to
> close this issue out since it has been a week, I'm hoping the linked docs in
> this comment
> <#22683 (comment)>
> were adequate for your setup, if not please let us know.
>
> —
> Reply to this email directly, view it on GitHub
> <#22683 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/APDQYOPJA5N2IQ4B3EZXSP3VVE27ZANCNFSM52WQ5IBA>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
Hi @ewminty-private, thanks for letting us know. I will reopen. None of the replies you quote appear on this issue as far as I can tell, so from our side it looked like you just stopped communicating on Jul 13. I'll see what I can find out in terms of further troubleshooting. |
@ewminty-private I've been able to confirm that Cypress works fine in Linux generally - I tested myself (plus, we run Linux in CI). Different distros though. I'm not able to replicate the details of your actual setup right now, but I understand that you've followed our existing docs and still not been able to get Cypress to open with WSL and X-windows. Looking around I think that somehow the error message I saw, some mentions of this same error and (maybe?) things you could try here. I would keep debugging in that direction. I'm going to look into whether our existing documentation needs to be updated, and confirm we can set up Cypress from scratch this way ourselves, but that may take a little while. Some other things I'd be curious about:
|
One other suggestion, which seems to run counter to our docs, is #4034 (comment)
This appears to solve a slightly different problem than yours, but I thought was interesting to see when searching around, and would be curious if this makes any difference. |
Hi Mark,
Thanks for following up.
unset DISPLAY doesn't help but it was worth a shot I suppose.
echo $DISPLAY gives me an IP address: 64.59.144.17:0.0
I'm not sure how to get the debugger to run - Ubuntu isn't recognizing the
run command, nor does npx recognize the DEBUG=cypress:* tag
It looks like WSL Ubuntu doesn't support the 'run' command at all (weird,
can find no information about this online but it just doesn't know what
'run' is) - is there another way of doing this?
WSL is turning into a great advertisement for Macbooks.
Cheers
Erik
…On Wed, Jul 27, 2022 at 10:49 AM Mark Noonan ***@***.***> wrote:
One other suggestion, which seems to run counter to our docs, is #4034
(comment)
<#4034 (comment)>
Work around is to unset DISPLAY prior to cypress run
This appears to solve a slightly different problem than yours, but I
thought was interesting to see when searching around, and would be curious
if this makes any difference.
—
Reply to this email directly, view it on GitHub
<#22683 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APDQYOPTKAAGH6AZAGON3WLVWFZDLANCNFSM52WQ5IBA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@ewminty-private some more detailed info about printing debug logs is here. In your case since you are running via npx I think the following should get you the logs: |
Hi Mark,
Thanks - that allowed me to produce a debug log. See attached. I'm
wondering if somehow the VcXsrv is looking for a different IP address than
what is provided by the $DISPLAY variable? It's not well documented. There
is some discussion online about trying to use PuTTY to make this connection
but after some cursory attempts I've concluded this is a long dark path
ending in misery. PuTTY is even less well documented and cryptic to the non
expert user. It feels like we are relying on highly experimental technology
to cobble something together but perhaps you still have some suggestions.
Cheers
Erik
On Fri, Jul 29, 2022 at 7:21 AM Mark Noonan ***@***.***> wrote:
@ewminty-private <https://github.com/ewminty-private> some more detailed
info about printing debug logs is here
<https://docs.cypress.io/guides/references/troubleshooting#Print-DEBUG-logs>
.
In your case since you are running via npx I think the following should
get you the logs: DEBUG=cypress:* npx cypress open
—
Reply to this email directly, view it on GitHub
<#22683 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APDQYOLB22P4JLUYXRAWH3TVWPSH3ANCNFSM52WQ5IBA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
cypress:cli:cli cli starts with arguments ["/home/erik/.nvm/versions/node/v12.16.2/bin/node","/home/erik/myabakis/node_modules/.bin/cypress","open"] +0ms
cypress:cli NODE_OPTIONS is not set +0ms
cypress:cli:cli program parsing arguments +4ms
cypress:cli:cli opening Cypress +1ms
cypress:cli parsed cli options {} +218ms
cypress:cli verifying Cypress app +0ms
cypress:cli checking environment variables +1ms
cypress:cli checking if executable exists /home/erik/.cache/Cypress/10.3.0/Cypress/Cypress +5ms
cypress:cli Binary is executable? : true +5ms
cypress:cli binaryDir is /home/erik/.cache/Cypress/10.3.0/Cypress +1ms
cypress:cli Reading binary package.json from: /home/erik/.cache/Cypress/10.3.0/Cypress/resources/app/package.json +0ms
cypress:cli Found binary version 10.3.0 installed in: /home/erik/.cache/Cypress/10.3.0/Cypress +6ms
cypress:cli { verified: true } +5ms
cypress:cli is Verified ? true +3ms
cypress:cli opening from options {"project":"/home/erik/myabakis"} +0ms
cypress:cli command line arguments ["--project","/home/erik/myabakis"] +0ms
cypress:cli DISPLAY environment variable is set to 64.59.144.17:0.0 on Linux
cypress:cli Assuming this DISPLAY points at working X11 server,
cypress:cli Cypress will not spawn own Xvfb
cypress:cli
cypress:cli NOTE: if the X11 server is NOT working, Cypress will exit without explanation,
cypress:cli see #4034
cypress:cli Solution: Unset the DISPLAY variable and try again:
cypress:cli DISPLAY= npx cypress run ... +0ms
cypress:cli needs to start own Xvfb? false +0ms
cypress:cli spawning, should retry on display problem? true +1ms
cypress:cli passing DISPLAY 64.59.144.17:0.0 +11ms
cypress:cli spawn args [ '--no-sandbox', '--', '--project', '/home/erik/myabakis', '--cwd', '/home/erik/myabakis', '--userNodePath', '/home/erik/.nvm/versions/node/v12.16.2/bin/node', '--userNodeVersion', '12.16.2' ] { detached: false, stdio: 'inherit' } +5ms
cypress:cli spawning Cypress with executable: /home/erik/.cache/Cypress/10.3.0/Cypress/Cypress +2ms
cypress:ts registering ts-node on directory undefined +0ms
cypress:ts Running without ts-node hook in environment "production" +144ms
cypress:server:appdata path: /home/erik/.config/Cypress/cy/production/cache +0ms
cypress:server:appdata path: /home/erik/.config/Cypress/cy/production/browsers +153ms
cypress:server:cypress starting cypress with argv [ '/home/erik/.cache/Cypress/10.3.0/Cypress/Cypress', '--no-sandbox', '--', '--project', '/home/erik/myabakis', '--cwd', '/home/erik/myabakis', '--userNodePath', '/home/erik/.nvm/versions/node/v12.16.2/bin/node', '--userNodeVersion', '12.16.2' ] +0ms
cypress:server:args argv array: [ '/home/erik/.cache/Cypress/10.3.0/Cypress/Cypress', '--no-sandbox', '--project', '/home/erik/myabakis', '--cwd', '/home/erik/myabakis', '--userNodePath', '/home/erik/.nvm/versions/node/v12.16.2/bin/node', '--userNodeVersion', '12.16.2' ] +0ms
cypress:server:args parsed argv options { options: { _: [ '/home/erik/.cache/Cypress/10.3.0/Cypress/Cypress' ], sandbox: false, project: '/home/erik/myabakis', cwd: '/home/erik/myabakis', userNodePath: '/home/erik/.nvm/versions/node/v12.16.2/bin/node', userNodeVersion: '12.16.2' } } +49ms
cypress:server:args argv parsed: { _: [ '/home/erik/.cache/Cypress/10.3.0/Cypress/Cypress' ], sandbox: false, project: '/home/erik/myabakis', cwd: '/home/erik/myabakis', userNodePath: '/home/erik/.nvm/versions/node/v12.16.2/bin/node', userNodeVersion: '12.16.2', invokedFromCli: true } +9ms
cypress:server:util:proxy found proxy environment variables {} +0ms
cypress:server:args options { _: [ '/home/erik/.cache/Cypress/10.3.0/Cypress/Cypress' ], sandbox: false, project: '/home/erik/myabakis', cwd: '/home/erik/myabakis', userNodePath: '/home/erik/.nvm/versions/node/v12.16.2/bin/node', userNodeVersion: '12.16.2', invokedFromCli: true, config: {} } +48ms
cypress:server:args argv options: { _: [ '/home/erik/.cache/Cypress/10.3.0/Cypress/Cypress' ], sandbox: false, project: '/home/erik/myabakis', cwd: '/home/erik/myabakis', userNodePath: '/home/erik/.nvm/versions/node/v12.16.2/bin/node', userNodeVersion: '12.16.2', invokedFromCli: true, config: {}, projectRoot: '/home/erik/myabakis' } +21ms
cypress:server:cypress from argv [ '/home/erik/.cache/Cypress/10.3.0/Cypress/Cypress', '--no-sandbox', '--project', '/home/erik/myabakis', '--cwd', '/home/erik/myabakis', '--userNodePath', '/home/erik/.nvm/versions/node/v12.16.2/bin/node', '--userNodeVersion', '12.16.2' ] got options { _: [ '/home/erik/.cache/Cypress/10.3.0/Cypress/Cypress' ], sandbox: false, project: '/home/erik/myabakis', cwd: '/home/erik/myabakis', userNodePath: '/home/erik/.nvm/versions/node/v12.16.2/bin/node', userNodeVersion: '12.16.2', invokedFromCli: true, config: {}, projectRoot: '/home/erik/myabakis' } +161ms
[6008:0729/082122.444648:ERROR:ozone_platform_x11.cc(248)] Missing X server or $DISPLAY
[6008:0729/082122.447086:ERROR:env.cc(225)] The platform failed to initialize. Exiting.
cypress:cli child event fired { event: 'exit', code: null, signal: 'SIGSEGV' } +32s
cypress:cli detecting arch { osPlatform: 'linux', osArch: 'x64' } +32s
cypress:cli child event fired { event: 'close', code: null, signal: 'SIGSEGV' } +696ms
cypress:cli detecting arch { osPlatform: 'linux', osArch: 'x64' } +695ms
cypress:cli arm uname -m result: { stdout: 'x86_64' } +652ms
cypress:cli arm uname -m result: { stdout: 'x86_64' } +5ms
The Test Runner unexpectedly exited via a exit event with signal SIGSEGV
Please search Cypress documentation for possible solutions:
https://on.cypress.io
Check if there is a GitHub issue describing this crash:
https://github.com/cypress-io/cypress/issues
Consider opening a new issue.
…----------
Platform: linux-x64 (Ubuntu - 20.04)
Cypress Version: 10.3.0
|
@ewminty-private from the logs I see:
Have you tried this
I'm not sure exactly how you did this, if it was more global it might have had other problematic side effects. |
OK I think we're making progress here!
I too am not sure what I might have done, since I'm really starting this
project on a fresh Ubuntu install and just following instructions as best I
can. It brings me back to the old days when you had to book off your first
2 weeks on the job to get your dev environment setup. :)
Following your latest suggestion it seems to go further but I still get
errors and most critically I assume I'm to expect a GUI to startup and
that's still not happening. After the part I copied below it keeps
repeating the last sequence as a periodic heartbeat message but that's it.
And unfortunately I really don't know which error messages are meaningful,
where they come from or how to troubleshoot them.
```
---------------------
***@***.***:~/myabakis$ DEBUG=cypress:* DISPLAY= npx cypress open
cypress:cli:cli cli starts with arguments
["/home/erik/.nvm/versions/node/v12.16.2/bin/node","/home/erik/myabakis/node_modules/.bin/cypress","open"]
+0ms
cypress:cli NODE_OPTIONS is not set +0ms
cypress:cli:cli program parsing arguments +5ms
cypress:cli:cli opening Cypress +2ms
cypress:cli parsed cli options {} +348ms
cypress:cli verifying Cypress app +0ms
cypress:cli checking environment variables +3ms
cypress:cli checking if executable exists
/home/erik/.cache/Cypress/10.3.0/Cypress/Cypress +5ms
cypress:cli Binary is executable? : true +9ms
cypress:cli binaryDir is /home/erik/.cache/Cypress/10.3.0/Cypress +5ms
cypress:cli Reading binary package.json from:
/home/erik/.cache/Cypress/10.3.0/Cypress/resources/app/package.json +0ms
cypress:cli Found binary version 10.3.0 installed in:
/home/erik/.cache/Cypress/10.3.0/Cypress +41ms
cypress:cli { verified: true } +48ms
cypress:cli is Verified ? true +10ms
cypress:cli opening from options {"project":"/home/erik/myabakis"} +0ms
cypress:cli command line arguments ["--project","/home/erik/myabakis"]
+13ms
cypress:cli undefined DISPLAY environment variable +0ms
cypress:cli Cypress will spawn its own Xvfb +1ms
cypress:cli needs to start own Xvfb? true +0ms
cypress:cli Starting Xvfb +3ms
cypress:xvfb _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to
root
cypress:xvfb +0ms
cypress:cli spawning, should retry on display problem? false +2s
cypress:cli passing DISPLAY :100 +16ms
cypress:cli spawn args [ '--no-sandbox', '--', '--project',
'/home/erik/myabakis', '--cwd', '/home/erik/myabakis', '--userNodePath',
'/home/erik/.nvm/versions/node/v12.16.2/bin/node', '--userNodeVersion',
'12.16.2' ] { detached: false, stdio: 'inherit' } +2ms
cypress:cli spawning Cypress with executable:
/home/erik/.cache/Cypress/10.3.0/Cypress/Cypress +20ms
cypress:ts registering ts-node on directory undefined +0ms
cypress:ts Running without ts-node hook in environment "production" +183ms
cypress:server:appdata path:
/home/erik/.config/Cypress/cy/production/cache +0ms
cypress:server:appdata path:
/home/erik/.config/Cypress/cy/production/browsers +181ms
cypress:server:cypress starting cypress with argv [
'/home/erik/.cache/Cypress/10.3.0/Cypress/Cypress', '--no-sandbox', '--',
'--project', '/home/erik/myabakis', '--cwd', '/home/erik/myabakis',
'--userNodePath', '/home/erik/.nvm/versions/node/v12.16.2/bin/node',
'--userNodeVersion', '12.16.2' ] +0ms
cypress:server:args argv array: [
'/home/erik/.cache/Cypress/10.3.0/Cypress/Cypress', '--no-sandbox',
'--project', '/home/erik/myabakis', '--cwd', '/home/erik/myabakis',
'--userNodePath', '/home/erik/.nvm/versions/node/v12.16.2/bin/node',
'--userNodeVersion', '12.16.2' ] +0ms
cypress:server:args parsed argv options { options: { _: [
'/home/erik/.cache/Cypress/10.3.0/Cypress/Cypress' ], sandbox: false,
project: '/home/erik/myabakis', cwd: '/home/erik/myabakis', userNodePath:
'/home/erik/.nvm/versions/node/v12.16.2/bin/node', userNodeVersion:
'12.16.2' } } +49ms
cypress:server:args argv parsed: { _: [
'/home/erik/.cache/Cypress/10.3.0/Cypress/Cypress' ], sandbox: false,
project: '/home/erik/myabakis', cwd: '/home/erik/myabakis', userNodePath:
'/home/erik/.nvm/versions/node/v12.16.2/bin/node', userNodeVersion:
'12.16.2', invokedFromCli: true } +10ms
cypress:server:util:proxy found proxy environment variables {} +0ms
cypress:server:args options { _: [
'/home/erik/.cache/Cypress/10.3.0/Cypress/Cypress' ], sandbox: false,
project: '/home/erik/myabakis', cwd: '/home/erik/myabakis', userNodePath:
'/home/erik/.nvm/versions/node/v12.16.2/bin/node', userNodeVersion:
'12.16.2', invokedFromCli: true, config: {} } +46ms
cypress:server:args argv options: { _: [
'/home/erik/.cache/Cypress/10.3.0/Cypress/Cypress' ], sandbox: false,
project: '/home/erik/myabakis', cwd: '/home/erik/myabakis', userNodePath:
'/home/erik/.nvm/versions/node/v12.16.2/bin/node', userNodeVersion:
'12.16.2', invokedFromCli: true, config: {}, projectRoot:
'/home/erik/myabakis' } +20ms
cypress:server:cypress from argv [
'/home/erik/.cache/Cypress/10.3.0/Cypress/Cypress', '--no-sandbox',
'--project', '/home/erik/myabakis', '--cwd', '/home/erik/myabakis',
'--userNodePath', '/home/erik/.nvm/versions/node/v12.16.2/bin/node',
'--userNodeVersion', '12.16.2' ] got options { _: [
'/home/erik/.cache/Cypress/10.3.0/Cypress/Cypress' ], sandbox: false,
project: '/home/erik/myabakis', cwd: '/home/erik/myabakis', userNodePath:
'/home/erik/.nvm/versions/node/v12.16.2/bin/node', userNodeVersion:
'12.16.2', invokedFromCli: true, config: {}, projectRoot:
'/home/erik/myabakis' } +167ms
[1427:0803/085057.670134:ERROR:bus.cc(397)] Failed to connect to the bus:
Could not parse server address: Unknown address type (examples of valid
types are "tcp" and on UNIX "unix")
[1427:0803/085057.674774:ERROR:bus.cc(397)] Failed to connect to the bus:
Could not parse server address: Unknown address type (examples of valid
types are "tcp" and on UNIX "unix")
cypress:server:appdata path: /home/erik/.config/Cypress/cy/production +3s
[1427:0803/085057.680314:ERROR:udev_watcher.cc(63)] Failed to enable
receiving udev events.
cypress:server:cypress starting in mode interactive with options { _: [
'/home/erik/.cache/Cypress/10.3.0/Cypress/Cypress' ], sandbox: false,
project: '/home/erik/myabakis', cwd: '/home/erik/myabakis', userNodePath:
'/home/erik/.nvm/versions/node/v12.16.2/bin/node', userNodeVersion:
'12.16.2', invokedFromCli: true, config: {}, projectRoot:
'/home/erik/myabakis' } +6s
cypress:server:cypress running Electron currently +10ms
[1586:0803/085101.812124:ERROR:sandbox_linux.cc(377)] InitializeSandbox()
called with multiple threads in process gpu-process.
[1586:0803/085101.951881:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3
extension not supported.
cypress:graphql:nexusDeferIfNotLoadedPlugin Adding
nexusDeferIfNotLoadedPlugin for Query.cloudLatestRunUpdateSpecData +0ms
cypress:graphql:nexusDeferIfNotLoadedPlugin Adding
nexusDeferIfNotLoadedPlugin for Query.cloudProjectBySlug +1ms
cypress:graphql:nexusDeferIfNotLoadedPlugin Adding
nexusDeferIfNotLoadedPlugin for Query.cloudProjectsBySlugs +2ms
cypress:graphql:nexusDeferIfNotLoadedPlugin Adding
nexusDeferIfNotLoadedPlugin for Query.cloudSpecByPath +1ms
cypress:graphql:nexusDeferIfNotLoadedPlugin Adding
nexusDeferIfNotLoadedPlugin for Query.cloudViewer +1ms
cypress:graphql:nexusDeferIfNotLoadedPlugin Adding
nexusDeferIfNotLoadedPlugin for Query.versions +1ms
cypress:graphql:nexusDeferIfNotLoadedPlugin Adding
nexusDeferIfNotLoadedPlugin for CurrentProject.cloudProject +3ms
cypress:graphql:nexusDeferIfNotLoadedPlugin Adding
nexusDeferIfNotLoadedPlugin for RemoteFetchableCloudProjectResult.data +9ms
cypress:graphql:nexusDeferIfNotLoadedPlugin Adding
nexusDeferIfNotLoadedPlugin for RemoteFetchableCloudProjectSpecResult.data
+1ms
cypress:server:browsers:utils getBrowsers +0ms
cypress:launcher:detect detecting if the following browsers are present [
{ name: 'chrome', family: 'chromium', channel: 'stable', displayName:
'Chrome', versionRegex: /Google Chrome (\S+)/m, binary: [ 'google-chrome',
'chrome', 'google-chrome-stable' ], minSupportedVersion: 64 }, { name:
'chromium', family: 'chromium', channel: 'stable', displayName: 'Chromium',
versionRegex: /Chromium (\S+)/m, binary: [ 'chromium-browser', 'chromium'
], minSupportedVersion: 64 }, { name: 'chrome', family: 'chromium',
channel: 'beta', displayName: 'Chrome Beta', versionRegex: /Google Chrome
(\S+) beta/m, binary: 'google-chrome-beta', minSupportedVersion: 64 }, {
name: 'chrome', family: 'chromium', channel: 'canary', displayName:
'Canary', versionRegex: /Google Chrome Canary (\S+)/m, binary:
'google-chrome-canary', minSupportedVersion: 64 }, { name: 'firefox',
family: 'firefox', channel: 'stable', displayName: 'Firefox', versionRegex:
/^Mozilla Firefox ([^\sab]+)$/m, binary: 'firefox', minSupportedVersion: 86
}, { name: 'firefox', family: 'firefox', channel: 'dev', displayName:
'Firefox Developer Edition', versionRegex: /^Mozilla Firefox (\S+b\S*)$/m,
binary: [ 'firefox-developer-edition', 'firefox' ], minSupportedVersion: 86
}, { name: 'firefox', family: 'firefox', channel: 'nightly', displayName:
'Firefox Nightly', versionRegex: /^Mozilla Firefox (\S+a\S*)$/m, binary: [
'firefox-nightly', 'firefox-trunk' ], minSupportedVersion: 86 }, { name:
'edge', family: 'chromium', channel: 'stable', displayName: 'Edge',
versionRegex: /Microsoft Edge (\S+)/m, binary: [ 'edge', 'microsoft-edge'
], minSupportedVersion: 79 }, { name: 'edge', family: 'chromium', channel:
'canary', displayName: 'Edge Canary', versionRegex: /Microsoft Edge Canary
(\S+)/m, binary: 'edge-canary', minSupportedVersion: 79 }, { name: 'edge',
family: 'chromium', channel: 'beta', displayName: 'Edge Beta',
versionRegex: /Microsoft Edge Beta (\S+)/m, binary: 'edge-beta',
minSupportedVersion: 79 }, { name: 'edge', family: 'chromium', channel:
'dev', displayName: 'Edge Dev', versionRegex: /Microsoft Edge Dev (\S+)/m,
binary: [ 'edge-dev', 'microsoft-edge-dev' ], minSupportedVersion: 79 } ]
+0ms
cypress:data-context:sources:GitDataSource config: { isRunMode: false,
projectRoot: '/home/erik/myabakis', onError: [Function (anonymous)],
onBranchChange: [Function: onBranchChange], onGitInfoChange: [Function:
onGitInfoChange] } +0ms
cypress:scaffold-config:detect No typescript installed - using js +0ms
cypress:server:util:editors get user editor +0ms
cypress:server:saved_state making saved state from
/home/erik/.cache/Cypress/10.3.0/Cypress/resources/app/packages/server +0ms
cypress:server:saved_state missing project path, looking for project here
+1ms
cypress:server:saved_state making saved state from
/home/erik/.cache/Cypress/10.3.0/Cypress/resources/app/packages/server +2s
cypress:server:saved_state for project path /home/erik/myabakis +1ms
cypress:server:saved_state state path for project /home/erik/myabakis
+187ms
cypress:server:appdata path:
/home/erik/.config/Cypress/cy/production/projects/myabakis-b71ee47c5dd8108eee4ba971f71e8f42/state.json
+8s
cypress:server:saved_state full state path
/home/erik/.config/Cypress/cy/production/projects/myabakis-b71ee47c5dd8108eee4ba971f71e8f42/state.json
+3ms
cypress:server:saved_state making new state file around
/home/erik/.config/Cypress/cy/production/projects/myabakis-b71ee47c5dd8108eee4ba971f71e8f42/state.json
+1ms
cypress:server:util:process_profiler current & mean memory and CPU usage
by process group:
cypress:server:util:process_profiler
┌─────────┬───────────────────┬──────────────┬──────────────┬────────────┬────────────────┬──────────┬──────────────┬─────────────┐
cypress:server:util:process_profiler │ (index) │ group │
processCount │ pids │ cpuPercent │ meanCpuPercent │ memRssMb │
meanMemRssMb │ maxMemRssMb │
cypress:server:util:process_profiler
├─────────┼───────────────────┼──────────────┼──────────────┼────────────┼────────────────┼──────────┼──────────────┼─────────────┤
cypress:server:util:process_profiler │ 0 │ 'cypress' │
1 │ '1427' │ 0.24 │ 0.24 │ 107.2 │ 107.2
│ 107.2 │
cypress:server:util:process_profiler │ 1 │ 'electron-shared' │
2 │ '1431, 1432' │ 0.01 │ 0.01 │ 58.21 │ 58.21
│ 58.21 │
cypress:server:util:process_profiler │ 2 │ 'other' │
2 │ '1571, 1572' │ 0.3 │ 0.3 │ 2.37 │ 2.37
│ 2.37 │
cypress:server:util:process_profiler │ 3 │ 'TOTAL' │
5 │ '-' │ 0.55 │ 0.55 │ 167.79 │
167.79 │ 167.79 │
cypress:server:util:process_profiler
└─────────┴───────────────────┴──────────────┴──────────────┴────────────┴────────────────┴──────────┴──────────────┴─────────────┘
+0ms
cypress:server:saved_state state path for global mode +2s
cypress:server:appdata path:
/home/erik/.config/Cypress/cy/production/projects/__global__/state.json +2s
cypress:server:saved_state full state path
/home/erik/.config/Cypress/cy/production/projects/__global__/state.json +1ms
cypress:server:saved_state making new state file around
/home/erik/.config/Cypress/cy/production/projects/__global__/state.json +1ms
cypress:data-context:sources:GitDataSource On current branch
2022-cypress-test +5s
[1427:0803/085108.746342:ERROR:bus.cc(397)] Failed to connect to the bus:
Could not parse server address: Unknown address type (examples of valid
types are "tcp" and on UNIX "unix")
cypress:server:windows creating electron window with options {
backgroundColor: 'white', width: 1200, height: 800, minWidth: 597,
minHeight: 400, x: null, y: null, type: 'INDEX', devTools: false,
trackState: { width: 'appWidth', height: 'appHeight', x: 'appX', y: 'appY',
devTools: 'isAppDevToolsOpen' }, onBlur: [Function: onBlur], onFocus:
[Function: onFocus], onClose: [Function: onClose], show: true, frame: true,
transparent: false, icon: NativeImage { toPNG: [Function: toPNG], toJPEG:
[Function: toJPEG], toBitmap: [Function: toBitmap], getBitmap: [Function:
getBitmap], getScaleFactors: [Function: getScaleFactors], getNativeHandle:
[Function: getNativeHandle], toDataURL: [Function: toDataURL], isEmpty:
[Function: isEmpty], getSize: [Function: getSize], setTemplateImage:
[Function: setTemplateImage], isTemplateImage: [Function: isTemplateImage],
isMacTemplateImage: [Getter/Setter], resize: [Function: resize], crop:
[Function: crop], getAspectRatio: [Function: getAspectRatio],
addRepresentation: [Function: addRepresentation] }, webPreferences: {
contextIsolation: true, partition: null, webSecurity: false,
nodeIntegration: false, backgroundThrottling: false }, url: '
http://localhost:51497/__launchpad/index.html', contextMenu: false,
recordFrameRate: null, onCrashed: [Function: onCrashed], onNewWindow:
[Function: onNewWindow] } +0ms
[1427:0803/085108.836458:ERROR:bus.cc(397)] Failed to connect to the bus:
Could not parse server address: Unknown address type (examples of valid
types are "tcp" and on UNIX "unix")
[1427:0803/085136.666751:ERROR:network_service_instance_impl.cc(978)]
Network service crashed, restarting service.
cypress:server:browsers:utils found browsers { browsers: [] } +33s
cypress:server:browsers:utils adding Electron browser { name: 'electron',
channel: 'stable', family: 'chromium', displayName: 'Electron', version:
'100.0.4896.160', path: '', majorVersion: 100, info: 'Electron is the
default browser that comes with Cypress. This is the default browser that
runs in headless mode. Selecting this browser is useful when debugging. The
version number indicates the underlying Chromium version that Electron
uses.' } +75ms
cypress:server:util:editors user has the following editors: [ { id:
'code', binary: 'code', name: 'Visual Studio Code' }, { id: 'vim', binary:
'vim', name: 'Vim' } ] +33s
cypress:server:saved_state making saved state from
/home/erik/.cache/Cypress/10.3.0/Cypress/resources/app/packages/server +29s
cypress:server:saved_state missing project path, looking for project here
+17ms
cypress:server:saved_state state path for global mode +3s
cypress:server:appdata path:
/home/erik/.config/Cypress/cy/production/projects/__global__/state.json +31s
cypress:server:saved_state full state path
/home/erik/.config/Cypress/cy/production/projects/__global__/state.json +6ms
cypress:server:util:editors saved preferred editor: undefined +3s
cypress:server:util:editors return available editors: [ { id: 'computer',
name: 'File System', binary: 'computer' }, { id: 'code', name: 'Visual
Studio Code', binary: 'code' }, { id: 'vim', name: 'Vim', binary: 'vim' } ]
+3ms
cypress:server:saved_state making saved state from
/home/erik/.cache/Cypress/10.3.0/Cypress/resources/app/packages/server +54ms
cypress:server:saved_state missing project path, looking for project here
+1ms
cypress:server:saved_state state path for global mode +3ms
cypress:server:appdata path:
/home/erik/.config/Cypress/cy/production/projects/__global__/state.json
+62ms
cypress:server:saved_state full state path
/home/erik/.config/Cypress/cy/production/projects/__global__/state.json +1ms
cypress:server:util:process_profiler current & mean memory and CPU usage
by process group:
cypress:server:util:process_profiler
┌─────────┬───────────────────┬──────────────┬────────────────────┬────────────┬────────────────┬──────────┬──────────────┬─────────────┐
cypress:server:util:process_profiler │ (index) │ group │
processCount │ pids │ cpuPercent │ meanCpuPercent │ memRssMb
│ meanMemRssMb │ maxMemRssMb │
cypress:server:util:process_profiler
├─────────┼───────────────────┼──────────────┼────────────────────┼────────────┼────────────────┼──────────┼──────────────┼─────────────┤
cypress:server:util:process_profiler │ 0 │ 'cypress' │
1 │ '1427' │ 3.48 │ 1.86 │ 168.9 │
138.05 │ 168.9 │
cypress:server:util:process_profiler │ 1 │ 'electron-shared' │
3 │ '1431, 1586, 1432' │ 0.04 │ 0.02 │ 83.8 │
71 │ 83.8 │
cypress:server:util:process_profiler │ 2 │ 'launchpad' │
1 │ '1642' │ 0 │ 0 │ 28.35 │
28.35 │ 28.35 │
cypress:server:util:process_profiler │ 3 │ 'other' │
3 │ '1629, 1676, 1677' │ 0.4 │ 0.35 │ 2.38 │
2.37 │ 2.38 │
cypress:server:util:process_profiler │ 4 │ 'TOTAL' │
8 │ '-' │ 3.92 │ 2.24 │ 283.42 │
225.61 │ 283.42 │
cypress:server:util:process_profiler
└─────────┴───────────────────┴──────────────┴────────────────────┴────────────┴────────────────┴──────────┴──────────────┴─────────────┘
+32s
```
…On Tue, Aug 2, 2022 at 7:25 AM Mark Noonan ***@***.***> wrote:
@ewminty-private <https://github.com/ewminty-private> from the logs I see:
cypress:cli DISPLAY environment variable is set to 64.59.144.17:0.0 on Linux
cypress:cli Assuming this DISPLAY points at working X11 server,
cypress:cli Cypress will not spawn own Xvfb
cypress:cli
cypress:cli NOTE: if the X11 server is NOT working, Cypress will exit without explanation,
cypress:cli see [#4034](#4034)
cypress:cli Solution: Unset the DISPLAY variable and try again:
cypress:cli DISPLAY= npx cypress run ... +0ms
Have you tried this DISPLAY= npx cypress open
unset DISPLAY doesn't help but it was worth a shot I suppose.
I'm not sure exactly how you did this, if it was more global it might have
had other problematic side effects.
—
Reply to this email directly, view it on GitHub
<#22683 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APDQYOKAFLKARZR43K7PCV3VXEVWNANCNFSM52WQ5IBA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi
Just checking in to see if there are any further troubleshooting steps I
might try to get this working.
Cheers
Erik
…On Wed, Aug 3, 2022 at 9:02 AM Erik Minty ***@***.***> wrote:
OK I think we're making progress here!
I too am not sure what I might have done, since I'm really starting this
project on a fresh Ubuntu install and just following instructions as best I
can. It brings me back to the old days when you had to book off your first
2 weeks on the job to get your dev environment setup. :)
Following your latest suggestion it seems to go further but I still get
errors and most critically I assume I'm to expect a GUI to startup and
that's still not happening. After the part I copied below it keeps
repeating the last sequence as a periodic heartbeat message but that's it.
And unfortunately I really don't know which error messages are meaningful,
where they come from or how to troubleshoot them.
---------------------
***@***.***:~/myabakis$ DEBUG=cypress:* DISPLAY= npx cypress open
cypress:cli:cli cli starts with arguments
["/home/erik/.nvm/versions/node/v12.16.2/bin/node","/home/erik/myabakis/node_modules/.bin/cypress","open"]
+0ms
cypress:cli NODE_OPTIONS is not set +0ms
cypress:cli:cli program parsing arguments +5ms
cypress:cli:cli opening Cypress +2ms
cypress:cli parsed cli options {} +348ms
cypress:cli verifying Cypress app +0ms
cypress:cli checking environment variables +3ms
cypress:cli checking if executable exists
/home/erik/.cache/Cypress/10.3.0/Cypress/Cypress +5ms
cypress:cli Binary is executable? : true +9ms
cypress:cli binaryDir is /home/erik/.cache/Cypress/10.3.0/Cypress +5ms
cypress:cli Reading binary package.json from:
/home/erik/.cache/Cypress/10.3.0/Cypress/resources/app/package.json +0ms
cypress:cli Found binary version 10.3.0 installed in:
/home/erik/.cache/Cypress/10.3.0/Cypress +41ms
cypress:cli { verified: true } +48ms
cypress:cli is Verified ? true +10ms
cypress:cli opening from options {"project":"/home/erik/myabakis"} +0ms
cypress:cli command line arguments ["--project","/home/erik/myabakis"]
+13ms
cypress:cli undefined DISPLAY environment variable +0ms
cypress:cli Cypress will spawn its own Xvfb +1ms
cypress:cli needs to start own Xvfb? true +0ms
cypress:cli Starting Xvfb +3ms
cypress:xvfb _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to
root
cypress:xvfb +0ms
cypress:cli spawning, should retry on display problem? false +2s
cypress:cli passing DISPLAY :100 +16ms
cypress:cli spawn args [ '--no-sandbox', '--', '--project',
'/home/erik/myabakis', '--cwd', '/home/erik/myabakis', '--userNodePath',
'/home/erik/.nvm/versions/node/v12.16.2/bin/node', '--userNodeVersion',
'12.16.2' ] { detached: false, stdio: 'inherit' } +2ms
cypress:cli spawning Cypress with executable:
/home/erik/.cache/Cypress/10.3.0/Cypress/Cypress +20ms
cypress:ts registering ts-node on directory undefined +0ms
cypress:ts Running without ts-node hook in environment "production"
+183ms
cypress:server:appdata path:
/home/erik/.config/Cypress/cy/production/cache +0ms
cypress:server:appdata path:
/home/erik/.config/Cypress/cy/production/browsers +181ms
cypress:server:cypress starting cypress with argv [
'/home/erik/.cache/Cypress/10.3.0/Cypress/Cypress', '--no-sandbox', '--',
'--project', '/home/erik/myabakis', '--cwd', '/home/erik/myabakis',
'--userNodePath', '/home/erik/.nvm/versions/node/v12.16.2/bin/node',
'--userNodeVersion', '12.16.2' ] +0ms
cypress:server:args argv array: [
'/home/erik/.cache/Cypress/10.3.0/Cypress/Cypress', '--no-sandbox',
'--project', '/home/erik/myabakis', '--cwd', '/home/erik/myabakis',
'--userNodePath', '/home/erik/.nvm/versions/node/v12.16.2/bin/node',
'--userNodeVersion', '12.16.2' ] +0ms
cypress:server:args parsed argv options { options: { _: [
'/home/erik/.cache/Cypress/10.3.0/Cypress/Cypress' ], sandbox: false,
project: '/home/erik/myabakis', cwd: '/home/erik/myabakis', userNodePath:
'/home/erik/.nvm/versions/node/v12.16.2/bin/node', userNodeVersion:
'12.16.2' } } +49ms
cypress:server:args argv parsed: { _: [
'/home/erik/.cache/Cypress/10.3.0/Cypress/Cypress' ], sandbox: false,
project: '/home/erik/myabakis', cwd: '/home/erik/myabakis', userNodePath:
'/home/erik/.nvm/versions/node/v12.16.2/bin/node', userNodeVersion:
'12.16.2', invokedFromCli: true } +10ms
cypress:server:util:proxy found proxy environment variables {} +0ms
cypress:server:args options { _: [
'/home/erik/.cache/Cypress/10.3.0/Cypress/Cypress' ], sandbox: false,
project: '/home/erik/myabakis', cwd: '/home/erik/myabakis', userNodePath:
'/home/erik/.nvm/versions/node/v12.16.2/bin/node', userNodeVersion:
'12.16.2', invokedFromCli: true, config: {} } +46ms
cypress:server:args argv options: { _: [
'/home/erik/.cache/Cypress/10.3.0/Cypress/Cypress' ], sandbox: false,
project: '/home/erik/myabakis', cwd: '/home/erik/myabakis', userNodePath:
'/home/erik/.nvm/versions/node/v12.16.2/bin/node', userNodeVersion:
'12.16.2', invokedFromCli: true, config: {}, projectRoot:
'/home/erik/myabakis' } +20ms
cypress:server:cypress from argv [
'/home/erik/.cache/Cypress/10.3.0/Cypress/Cypress', '--no-sandbox',
'--project', '/home/erik/myabakis', '--cwd', '/home/erik/myabakis',
'--userNodePath', '/home/erik/.nvm/versions/node/v12.16.2/bin/node',
'--userNodeVersion', '12.16.2' ] got options { _: [
'/home/erik/.cache/Cypress/10.3.0/Cypress/Cypress' ], sandbox: false,
project: '/home/erik/myabakis', cwd: '/home/erik/myabakis', userNodePath:
'/home/erik/.nvm/versions/node/v12.16.2/bin/node', userNodeVersion:
'12.16.2', invokedFromCli: true, config: {}, projectRoot:
'/home/erik/myabakis' } +167ms
[1427:0803/085057.670134:ERROR:bus.cc(397)] Failed to connect to the bus:
Could not parse server address: Unknown address type (examples of valid
types are "tcp" and on UNIX "unix")
[1427:0803/085057.674774:ERROR:bus.cc(397)] Failed to connect to the bus:
Could not parse server address: Unknown address type (examples of valid
types are "tcp" and on UNIX "unix")
cypress:server:appdata path: /home/erik/.config/Cypress/cy/production +3s
[1427:0803/085057.680314:ERROR:udev_watcher.cc(63)] Failed to enable
receiving udev events.
cypress:server:cypress starting in mode interactive with options { _: [
'/home/erik/.cache/Cypress/10.3.0/Cypress/Cypress' ], sandbox: false,
project: '/home/erik/myabakis', cwd: '/home/erik/myabakis', userNodePath:
'/home/erik/.nvm/versions/node/v12.16.2/bin/node', userNodeVersion:
'12.16.2', invokedFromCli: true, config: {}, projectRoot:
'/home/erik/myabakis' } +6s
cypress:server:cypress running Electron currently +10ms
[1586:0803/085101.812124:ERROR:sandbox_linux.cc(377)] InitializeSandbox()
called with multiple threads in process gpu-process.
[1586:0803/085101.951881:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3
extension not supported.
cypress:graphql:nexusDeferIfNotLoadedPlugin Adding
nexusDeferIfNotLoadedPlugin for Query.cloudLatestRunUpdateSpecData +0ms
cypress:graphql:nexusDeferIfNotLoadedPlugin Adding
nexusDeferIfNotLoadedPlugin for Query.cloudProjectBySlug +1ms
cypress:graphql:nexusDeferIfNotLoadedPlugin Adding
nexusDeferIfNotLoadedPlugin for Query.cloudProjectsBySlugs +2ms
cypress:graphql:nexusDeferIfNotLoadedPlugin Adding
nexusDeferIfNotLoadedPlugin for Query.cloudSpecByPath +1ms
cypress:graphql:nexusDeferIfNotLoadedPlugin Adding
nexusDeferIfNotLoadedPlugin for Query.cloudViewer +1ms
cypress:graphql:nexusDeferIfNotLoadedPlugin Adding
nexusDeferIfNotLoadedPlugin for Query.versions +1ms
cypress:graphql:nexusDeferIfNotLoadedPlugin Adding
nexusDeferIfNotLoadedPlugin for CurrentProject.cloudProject +3ms
cypress:graphql:nexusDeferIfNotLoadedPlugin Adding
nexusDeferIfNotLoadedPlugin for RemoteFetchableCloudProjectResult.data +9ms
cypress:graphql:nexusDeferIfNotLoadedPlugin Adding
nexusDeferIfNotLoadedPlugin for RemoteFetchableCloudProjectSpecResult.data
+1ms
cypress:server:browsers:utils getBrowsers +0ms
cypress:launcher:detect detecting if the following browsers are present
[ { name: 'chrome', family: 'chromium', channel: 'stable', displayName:
'Chrome', versionRegex: /Google Chrome (\S+)/m, binary: [ 'google-chrome',
'chrome', 'google-chrome-stable' ], minSupportedVersion: 64 }, { name:
'chromium', family: 'chromium', channel: 'stable', displayName: 'Chromium',
versionRegex: /Chromium (\S+)/m, binary: [ 'chromium-browser', 'chromium'
], minSupportedVersion: 64 }, { name: 'chrome', family: 'chromium',
channel: 'beta', displayName: 'Chrome Beta', versionRegex: /Google Chrome
(\S+) beta/m, binary: 'google-chrome-beta', minSupportedVersion: 64 }, {
name: 'chrome', family: 'chromium', channel: 'canary', displayName:
'Canary', versionRegex: /Google Chrome Canary (\S+)/m, binary:
'google-chrome-canary', minSupportedVersion: 64 }, { name: 'firefox',
family: 'firefox', channel: 'stable', displayName: 'Firefox', versionRegex:
/^Mozilla Firefox ([^\sab]+)$/m, binary: 'firefox', minSupportedVersion: 86
}, { name: 'firefox', family: 'firefox', channel: 'dev', displayName:
'Firefox Developer Edition', versionRegex: /^Mozilla Firefox (\S+b\S*)$/m,
binary: [ 'firefox-developer-edition', 'firefox' ], minSupportedVersion: 86
}, { name: 'firefox', family: 'firefox', channel: 'nightly', displayName:
'Firefox Nightly', versionRegex: /^Mozilla Firefox (\S+a\S*)$/m, binary: [
'firefox-nightly', 'firefox-trunk' ], minSupportedVersion: 86 }, { name:
'edge', family: 'chromium', channel: 'stable', displayName: 'Edge',
versionRegex: /Microsoft Edge (\S+)/m, binary: [ 'edge', 'microsoft-edge'
], minSupportedVersion: 79 }, { name: 'edge', family: 'chromium', channel:
'canary', displayName: 'Edge Canary', versionRegex: /Microsoft Edge Canary
(\S+)/m, binary: 'edge-canary', minSupportedVersion: 79 }, { name: 'edge',
family: 'chromium', channel: 'beta', displayName: 'Edge Beta',
versionRegex: /Microsoft Edge Beta (\S+)/m, binary: 'edge-beta',
minSupportedVersion: 79 }, { name: 'edge', family: 'chromium', channel:
'dev', displayName: 'Edge Dev', versionRegex: /Microsoft Edge Dev (\S+)/m,
binary: [ 'edge-dev', 'microsoft-edge-dev' ], minSupportedVersion: 79 } ]
+0ms
cypress:data-context:sources:GitDataSource config: { isRunMode: false,
projectRoot: '/home/erik/myabakis', onError: [Function (anonymous)],
onBranchChange: [Function: onBranchChange], onGitInfoChange: [Function:
onGitInfoChange] } +0ms
cypress:scaffold-config:detect No typescript installed - using js +0ms
cypress:server:util:editors get user editor +0ms
cypress:server:saved_state making saved state from
/home/erik/.cache/Cypress/10.3.0/Cypress/resources/app/packages/server +0ms
cypress:server:saved_state missing project path, looking for project
here +1ms
cypress:server:saved_state making saved state from
/home/erik/.cache/Cypress/10.3.0/Cypress/resources/app/packages/server +2s
cypress:server:saved_state for project path /home/erik/myabakis +1ms
cypress:server:saved_state state path for project /home/erik/myabakis
+187ms
cypress:server:appdata path:
/home/erik/.config/Cypress/cy/production/projects/myabakis-b71ee47c5dd8108eee4ba971f71e8f42/state.json
+8s
cypress:server:saved_state full state path
/home/erik/.config/Cypress/cy/production/projects/myabakis-b71ee47c5dd8108eee4ba971f71e8f42/state.json
+3ms
cypress:server:saved_state making new state file around
/home/erik/.config/Cypress/cy/production/projects/myabakis-b71ee47c5dd8108eee4ba971f71e8f42/state.json
+1ms
cypress:server:util:process_profiler current & mean memory and CPU usage
by process group:
cypress:server:util:process_profiler
┌─────────┬───────────────────┬──────────────┬──────────────┬────────────┬────────────────┬──────────┬──────────────┬─────────────┐
cypress:server:util:process_profiler │ (index) │ group │
processCount │ pids │ cpuPercent │ meanCpuPercent │ memRssMb │
meanMemRssMb │ maxMemRssMb │
cypress:server:util:process_profiler
├─────────┼───────────────────┼──────────────┼──────────────┼────────────┼────────────────┼──────────┼──────────────┼─────────────┤
cypress:server:util:process_profiler │ 0 │ 'cypress' │
1 │ '1427' │ 0.24 │ 0.24 │ 107.2 │ 107.2
│ 107.2 │
cypress:server:util:process_profiler │ 1 │ 'electron-shared' │
2 │ '1431, 1432' │ 0.01 │ 0.01 │ 58.21 │ 58.21
│ 58.21 │
cypress:server:util:process_profiler │ 2 │ 'other' │
2 │ '1571, 1572' │ 0.3 │ 0.3 │ 2.37 │ 2.37
│ 2.37 │
cypress:server:util:process_profiler │ 3 │ 'TOTAL' │
5 │ '-' │ 0.55 │ 0.55 │ 167.79 │
167.79 │ 167.79 │
cypress:server:util:process_profiler
└─────────┴───────────────────┴──────────────┴──────────────┴────────────┴────────────────┴──────────┴──────────────┴─────────────┘
+0ms
cypress:server:saved_state state path for global mode +2s
cypress:server:appdata path:
/home/erik/.config/Cypress/cy/production/projects/__global__/state.json +2s
cypress:server:saved_state full state path
/home/erik/.config/Cypress/cy/production/projects/__global__/state.json +1ms
cypress:server:saved_state making new state file around
/home/erik/.config/Cypress/cy/production/projects/__global__/state.json +1ms
cypress:data-context:sources:GitDataSource On current branch
2022-cypress-test +5s
[1427:0803/085108.746342:ERROR:bus.cc(397)] Failed to connect to the bus:
Could not parse server address: Unknown address type (examples of valid
types are "tcp" and on UNIX "unix")
cypress:server:windows creating electron window with options {
backgroundColor: 'white', width: 1200, height: 800, minWidth: 597,
minHeight: 400, x: null, y: null, type: 'INDEX', devTools: false,
trackState: { width: 'appWidth', height: 'appHeight', x: 'appX', y: 'appY',
devTools: 'isAppDevToolsOpen' }, onBlur: [Function: onBlur], onFocus:
[Function: onFocus], onClose: [Function: onClose], show: true, frame: true,
transparent: false, icon: NativeImage { toPNG: [Function: toPNG], toJPEG:
[Function: toJPEG], toBitmap: [Function: toBitmap], getBitmap: [Function:
getBitmap], getScaleFactors: [Function: getScaleFactors], getNativeHandle:
[Function: getNativeHandle], toDataURL: [Function: toDataURL], isEmpty:
[Function: isEmpty], getSize: [Function: getSize], setTemplateImage:
[Function: setTemplateImage], isTemplateImage: [Function: isTemplateImage],
isMacTemplateImage: [Getter/Setter], resize: [Function: resize], crop:
[Function: crop], getAspectRatio: [Function: getAspectRatio],
addRepresentation: [Function: addRepresentation] }, webPreferences: {
contextIsolation: true, partition: null, webSecurity: false,
nodeIntegration: false, backgroundThrottling: false }, url: '
http://localhost:51497/__launchpad/index.html', contextMenu: false,
recordFrameRate: null, onCrashed: [Function: onCrashed], onNewWindow:
[Function: onNewWindow] } +0ms
[1427:0803/085108.836458:ERROR:bus.cc(397)] Failed to connect to the bus:
Could not parse server address: Unknown address type (examples of valid
types are "tcp" and on UNIX "unix")
[1427:0803/085136.666751:ERROR:network_service_instance_impl.cc(978)]
Network service crashed, restarting service.
cypress:server:browsers:utils found browsers { browsers: [] } +33s
cypress:server:browsers:utils adding Electron browser { name:
'electron', channel: 'stable', family: 'chromium', displayName: 'Electron',
version: '100.0.4896.160', path: '', majorVersion: 100, info: 'Electron is
the default browser that comes with Cypress. This is the default browser
that runs in headless mode. Selecting this browser is useful when
debugging. The version number indicates the underlying Chromium version
that Electron uses.' } +75ms
cypress:server:util:editors user has the following editors: [ { id:
'code', binary: 'code', name: 'Visual Studio Code' }, { id: 'vim', binary:
'vim', name: 'Vim' } ] +33s
cypress:server:saved_state making saved state from
/home/erik/.cache/Cypress/10.3.0/Cypress/resources/app/packages/server +29s
cypress:server:saved_state missing project path, looking for project
here +17ms
cypress:server:saved_state state path for global mode +3s
cypress:server:appdata path:
/home/erik/.config/Cypress/cy/production/projects/__global__/state.json +31s
cypress:server:saved_state full state path
/home/erik/.config/Cypress/cy/production/projects/__global__/state.json +6ms
cypress:server:util:editors saved preferred editor: undefined +3s
cypress:server:util:editors return available editors: [ { id:
'computer', name: 'File System', binary: 'computer' }, { id: 'code', name:
'Visual Studio Code', binary: 'code' }, { id: 'vim', name: 'Vim', binary:
'vim' } ] +3ms
cypress:server:saved_state making saved state from
/home/erik/.cache/Cypress/10.3.0/Cypress/resources/app/packages/server +54ms
cypress:server:saved_state missing project path, looking for project
here +1ms
cypress:server:saved_state state path for global mode +3ms
cypress:server:appdata path:
/home/erik/.config/Cypress/cy/production/projects/__global__/state.json
+62ms
cypress:server:saved_state full state path
/home/erik/.config/Cypress/cy/production/projects/__global__/state.json +1ms
cypress:server:util:process_profiler current & mean memory and CPU usage
by process group:
cypress:server:util:process_profiler
┌─────────┬───────────────────┬──────────────┬────────────────────┬────────────┬────────────────┬──────────┬──────────────┬─────────────┐
cypress:server:util:process_profiler │ (index) │ group │
processCount │ pids │ cpuPercent │ meanCpuPercent │ memRssMb
│ meanMemRssMb │ maxMemRssMb │
cypress:server:util:process_profiler
├─────────┼───────────────────┼──────────────┼────────────────────┼────────────┼────────────────┼──────────┼──────────────┼─────────────┤
cypress:server:util:process_profiler │ 0 │ 'cypress' │
1 │ '1427' │ 3.48 │ 1.86 │ 168.9 │
138.05 │ 168.9 │
cypress:server:util:process_profiler │ 1 │ 'electron-shared' │
3 │ '1431, 1586, 1432' │ 0.04 │ 0.02 │ 83.8 │
71 │ 83.8 │
cypress:server:util:process_profiler │ 2 │ 'launchpad' │
1 │ '1642' │ 0 │ 0 │ 28.35 │
28.35 │ 28.35 │
cypress:server:util:process_profiler │ 3 │ 'other' │
3 │ '1629, 1676, 1677' │ 0.4 │ 0.35 │ 2.38 │
2.37 │ 2.38 │
cypress:server:util:process_profiler │ 4 │ 'TOTAL' │
8 │ '-' │ 3.92 │ 2.24 │ 283.42 │
225.61 │ 283.42 │
cypress:server:util:process_profiler
└─────────┴───────────────────┴──────────────┴────────────────────┴────────────┴────────────────┴──────────┴──────────────┴─────────────┘
+32s
On Tue, Aug 2, 2022 at 7:25 AM Mark Noonan ***@***.***>
wrote:
> @ewminty-private <https://github.com/ewminty-private> from the logs I
> see:
>
> cypress:cli DISPLAY environment variable is set to 64.59.144.17:0.0 on Linux
> cypress:cli Assuming this DISPLAY points at working X11 server,
> cypress:cli Cypress will not spawn own Xvfb
> cypress:cli
> cypress:cli NOTE: if the X11 server is NOT working, Cypress will exit without explanation,
> cypress:cli see [#4034](#4034)
> cypress:cli Solution: Unset the DISPLAY variable and try again:
> cypress:cli DISPLAY= npx cypress run ... +0ms
>
> Have you tried this DISPLAY= npx cypress open
>
> unset DISPLAY doesn't help but it was worth a shot I suppose.
>
> I'm not sure exactly how you did this, if it was more global it might
> have had other problematic side effects.
>
> —
> Reply to this email directly, view it on GitHub
> <#22683 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/APDQYOKAFLKARZR43K7PCV3VXEVWNANCNFSM52WQ5IBA>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
@ewminty-private At this point we don't plan to offer official support for WSL. Can you help us understand why you want to use WSL vs our windows binary? That might help us make a better case to internal product managers as to why as a company we should invest more resources in this type of use case. I am going to close this issue for the time being while we await your response. |
Hi Ben,
Thanks for getting back to me. I can't say that I blame you for deciding
not to support WSL. It's a weak platform. It would be useful to alert
people to the fact going forward so they don't waste a whole lot of time
with it.
My base development environment is in Linux and I had a standardized setup
on WSL to use on Windows machines, which has been working well so far.
Cypress still needs to pull test cases from the code tree which Windows
doesn't know how to read directly, which is why I went down that path.
In the meantime I've gotten around the issue by rebuilding the development
environment using a proper Ubuntu install on a VM, which runs Cypress
without issue so the problem with WSL is now moot.
Anyways I appreciate the follow-up and efforts made to find a workable
solution, despite it being in vain.
Cheers
Erik
…On Thu, Aug 25, 2022 at 11:39 AM Ben M ***@***.***> wrote:
@ewminty-private <https://github.com/ewminty-private> At this point we
don't plan to offer official support for WSL. Can you help us understand
why you want to use WSL vs our windows binary? That might help us make a
better case to internal product managers as to why as a company we should
invest more resources in this type of use case. I am going to close this
issue for the time being while we await your response.
—
Reply to this email directly, view it on GitHub
<#22683 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APDQYOMZRNQKR3KQXXIAD5TV264WHANCNFSM52WQ5IBA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hey , after a lot of sweat and effort i have managed to open cypress twice. Although, no matter if it works, it didnt work for a long time. Anyone getting closer to the solution of this problem? |
Having followed all of the instructions and rebooted, triple-checked
everything, etc, it is *still *failing to start. I'm getting this error
message:
***@***.***:~$ npx cypress open
[4409:0718/124558.701549:ERROR:ozone_platform_x11.cc(248)] Missing X
server or $DISPLAY
[4409:0718/124558.704912:ERROR:env.cc(225)] The platform failed to
initialize. Exiting.
The Test Runner unexpectedly exited via a close event with signal SIGSEGV
Please search Cypress documentation for possible solutions:
https://on.cypress.io
Check if there is a GitHub issue describing this crash:
https://github.com/cypress-io/cypress/issues
Consider opening a new issue.
----------
Platform: linux-x64 (Ubuntu - 20.04)
Cypress Version: 10.3.0
I have verified and double-checked all of the steps. I have an X server
running with access control disabled, the $DISPLAY is registering
correctly, and all of the other steps I've run through carefully three
times now - so why is it telling me "Missing X server or $DISPLAY"? What
further troubleshooting steps would you recommend at this stage? The
application simply will not start up. All of the information I can find
online about the SIGSEGV error relates to test execution problems and I'm
not even at that stage yet.
…On Thu, Jul 14, 2022 at 9:50 AM Adam Stone ***@***.***> wrote:
@ewminty-private <https://github.com/ewminty-private> we do have some
documentation around it here
<https://docs.cypress.io/guides/references/advanced-installation#Windows-Subsystem-for-Linux>
.
Can you follow the steps there and let us know if that helps? Thanks
—
Reply to this email directly, view it on GitHub
<#22683 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APDQYOP7CLQBCTBDVJSJCQTVUBANPANCNFSM52WQ5IBA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Please re-open this as it has not been resolved. I didn't get a reply to
the last comment I made on Jul.18 after following all of the instructions
in the link provided - I've reposted my response below. I can't find any
relevant information about the error message I'm receiving. Note that the
application does not appear to load at all.
Having followed all of the instructions and rebooted, triple-checked
… everything, etc, it is *still *failing to start. I'm getting this error
message:
***@***.***:~$ npx cypress open
> [4409:0718/124558.701549:ERROR:ozone_platform_x11.cc(248)] Missing X
> server or $DISPLAY
> [4409:0718/124558.704912:ERROR:env.cc(225)] The platform failed to
> initialize. Exiting.
> The Test Runner unexpectedly exited via a close event with signal SIGSEGV
>
> Please search Cypress documentation for possible solutions:
>
> https://on.cypress.io
>
> Check if there is a GitHub issue describing this crash:
>
> https://github.com/cypress-io/cypress/issues
>
> Consider opening a new issue.
>
> ----------
>
> Platform: linux-x64 (Ubuntu - 20.04)
> Cypress Version: 10.3.0
>
I have verified and double-checked all of the steps. I have an X server
running with access control disabled, the $DISPLAY is registering
correctly, and all of the other steps I've run through carefully three
times now - so why is it telling me "Missing X server or $DISPLAY"? What
further troubleshooting steps would you recommend at this stage? The
application simply will not start up. All of the information I can find
online about the SIGSEGV error relates to test execution problems and I'm
not even at that stage yet.
On Thu, Jul 21, 2022 at 4:54 AM Mark Noonan ***@***.***> wrote:
Hi @ewminty-private <https://github.com/ewminty-private> I'm going to
close this issue out since it has been a week, I'm hoping the linked docs in
this comment
<#22683 (comment)>
were adequate for your setup, if not please let us know.
—
Reply to this email directly, view it on GitHub
<#22683 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APDQYOPJA5N2IQ4B3EZXSP3VVE27ZANCNFSM52WQ5IBA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@ewminty-private I'm sorry to hear you are still having problems. Are your latest problems still related to the initial problem listed in the ticket using WSL? If not, I would suggest opening a new issue to track the current problem rather than append to an unrelated issue. |
I think this ticket was meant to be closed. I abandoned WSL as
unsupportable and switched to a VM which worked.
My only further suggestion was to consider advising users that WSL is not
currently supported so we don't get lost in that hole.
Cheers
Erik
…On Tue, Oct 11, 2022 at 6:58 AM Ben M ***@***.***> wrote:
@ewminty-private <https://github.com/ewminty-private> I'm sorry to hear
you are still having problems. Are your latest problems still related to
the initial problem listed in the ticket using WSL? If not, I would suggest
opening a new issue to track the current problem rather than append to an
unrelated issue.
—
Reply to this email directly, view it on GitHub
<#22683 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APDQYOPPY54HYKAUZFWCDATWCVXA5ANCNFSM52WQ5IBA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Current behavior
I've installed Cypress on Ubuntu 18.04 according to the instructions and the command "npx cypress open" fails with only the following information which doesn't instruct me what the problem is or what to do about it:
Desired behavior
It should start I assume. Never used it before.
Test code to reproduce
npx cypress open
Cypress Version
10.3.0
Other
No response
The text was updated successfully, but these errors were encountered: