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

Unzipping Cypress fails on Concourse #3515

Closed
aryzing opened this issue Feb 17, 2019 · 35 comments · Fixed by #4193
Closed

Unzipping Cypress fails on Concourse #3515

aryzing opened this issue Feb 17, 2019 · 35 comments · Fixed by #4193
Assignees
Labels
CI General issues involving running in a CI provider OS: linux type: regression A bug that didn't appear until a specific Cy version release

Comments

@aryzing
Copy link

aryzing commented Feb 17, 2019

Current behavior:

Unzipping Cypress fails on concourse with an error from the unzipping tool used by Cypress, yauzl:

error /tmp/build/ec0e34e0/src/node_modules/cypress: Command failed.                                                                                                                                                                                                                                                                                                                                                                                                                                                
Exit code: 1
Command: node index.js --exec install
Arguments: 
Directory: /tmp/build/ec0e34e0/src/node_modules/cypress
Output:
Installing Cypress (version: 3.1.0)

25l[16:53:03]  Downloading Cypress     [started]
[16:53:03]  Downloading Cypress      0% 0s [title changed]
[16:53:03]  Downloading Cypress      22% 1s [title changed]
[16:53:04]  Downloading Cypress      95% 0s [title changed]
[16:53:04]  Downloaded Cypress      [title changed]
[16:53:04]  Downloaded Cypress      [completed]
[16:53:04]  Unzipping Cypress       [started]
25hevents.js:183
      throw er; // Unhandled 'error' event
      ^

Error: invalid central directory file header signature: 0x1e02014b
    at /tmp/build/ec0e34e0/src/node_modules/yauzl/index.js:249:70
    at /tmp/build/ec0e34e0/src/node_modules/yauzl/index.js:618:5
    at /tmp/build/ec0e34e0/src/node_modules/fd-slicer/index.js:32:7
    at FSReqWrap.wrapper [as oncomplete] (fs.js:658:17)

There also seems to be a previous error when trying to run cypress, not sure if they are related.

Desired behavior:

Downloading and running of Cypress successful on Concourse

Steps to reproduce: (app code and test code)

Install Cypress on Concourse

Versions

Cypress 3.1.5
Yarn 1.9.4
Node 8.12.0

@mlb5000
Copy link

mlb5000 commented Feb 17, 2019

I've started encountering this on CircleCI.

yarn install v1.13.0
.
.
.
Installing Cypress (version: 3.1.2)

[23:14:22]  Downloading Cypress     [started]
[23:14:23]  Downloading Cypress     [completed]
[23:14:23]  Unzipping Cypress       [started]
[23:14:23]  Unzipping Cypress       [failed]
The Cypress App could not be unzipped.

Search for an existing issue or open a GitHub issue at

https://github.com/cypress-io/cypress/issues
----------

Error: invalid local file header signature: 0x1030da8f
----------

Platform: linux (Debian - 9.6)
Cypress Version: 3.1.2

The error message itself is not consistent, just that it fails to unzip Cypress each time.

@ruffle1986
Copy link

I'm experiencing the same on Travis. This issue is kind of duplication of mine: #3439

Now I see that the title of my issue is not appropriate. The memory leak message is just a warning. The problem is that when the yauzl module does the unizpping, it fails.

@aryzing
Copy link
Author

aryzing commented Feb 18, 2019

Seems to be an issue with version 3.1.5 (for me), I downgraded to 3.1.0 and it worked.

@mlb5000
Copy link

mlb5000 commented Feb 18, 2019

@aryzing @ruffle1986 I completely removed node_modules and yarn.lock then reran yarn install and only then did it work. Not sure why that would matter, but that seems to be what did it.

@aryzing
Copy link
Author

aryzing commented Feb 18, 2019

@mlb5000 thanks for the suggestion, unfortunately removing yarn.lock is not an option for me, huge repo, many dependencies, breaks project.

@mlb5000
Copy link

mlb5000 commented Feb 18, 2019

@aryzing rerunning yarn install will recreate yarn.lock, but I get it. Sometimes these things don't end up pulling the same package versions that once worked.

@joekrump
Copy link

joekrump commented Feb 20, 2019

I'm running into the same issue on BuildKite and when trying to install on Debian. Only happening with 3.1.5. Previous version I used (3.1.3) installs without issue. Ran rm -rf node_modules && yarn install and this did not fix the issue for me.

Issue seems to be the same as what ruffle1986 mentions.

Main issue is:
The Cypress App could not be unzipped.
Error: end of central directory record signature not found

Full output:

yarn install v1.10.1
[1/5] Validating package.json...
[2/5] Resolving packages...
warning Resolution field "extend@3.0.2" is incompatible with requested version "extend@2.*"
[3/5] Fetching packages...
info fsevents@1.2.4: The platform "linux" is incompatible with this module.
info "fsevents@1.2.4" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
[5/5] Building fresh packages...
[-/8] ⢀ waiting...
[-/8] ⠠ waiting...
[3/8] ⠠ cypress
[-/8] ⠠ waiting...
error /home/vagrant/clio/themis/node_modules/cypress: Command failed.
Exit code: 1
Command: node index.js --exec install
Arguments: 
Directory: /home/vagrant/clio/themis/node_modules/cypress
Output:
Installing Cypress (version: 3.1.5)

[19:02:27]  Downloading Cypress     [started]
[19:02:28]  Downloading Cypress      0% 0s [title changed]
[19:02:28]  Downloading Cypress      1% 10s [title changed]
[19:02:28]  Downloading Cypress      1% 20s [title changed]
[19:02:28]  Downloading Cypress      2% 15s [title changed]
[19:02:28]  Downloading Cypress      2% 21s [title changed]
[19:02:28]  Downloading Cypress      3% 17s [title changed]
[19:02:28]  Downloading Cypress      3% 20s [title changed]
[19:02:28]  Downloading Cypress      3% 24s [title changed]
[19:02:28]  Downloading Cypress      3% 27s [title changed]
[19:02:28]  Downloading Cypress      4% 23s [title changed]
[19:02:29]  Downloading Cypress      4% 25s [title changed]
[19:02:29]  Downloading Cypress      5% 22s [title changed]
[19:02:29]  Downloading Cypress      6% 20s [title changed]
[19:02:29]  Downloading Cypress      6% 21s [title changed]
[19:02:29]  Downloading Cypress      6% 23s [title changed]
[19:02:29]  Downloading Cypress      7% 21s [title changed]
[19:02:29]  Downloading Cypress      7% 22s [title changed]
[19:02:29]  Downloading Cypress      8% 21s [title changed]
[19:02:29]  Downloading Cypress      8% 22s [title changed]
[19:02:30]  Downloading Cypress      9% 20s [title changed]
[19:02:30]  Downloading Cypress      9% 21s [title changed]
[19:02:30]  Downloading Cypress      10% 20s [title changed]
[19:02:30]  Downloading Cypress      10% 21s [title changed]
[19:02:30]  Downloading Cypress      11% 19s [title changed]
[19:02:30]  Downloading Cypress      11% 20s [title changed]
[19:02:30]  Downloading Cypress      12% 19s [title changed]
[19:02:30]  Downloading Cypress      12% 20s [title changed]
[19:02:30]  Downloading Cypress      13% 19s [title changed]
[19:02:30]  Downloading Cypress      13% 19s [title changed]
[19:02:31]  Downloading Cypress      14% 18s [title changed]
[19:02:31]  Downloading Cypress      14% 19s [title changed]
[19:02:31]  Downloading Cypress      15% 18s [title changed]
[19:02:31]  Downloading Cypress      15% 19s [title changed]
[19:02:31]  Downloading Cypress      16% 18s [title changed]
[19:02:31]  Downloading Cypress      16% 18s [title changed]
[19:02:31]  Downloading Cypress      17% 18s [title changed]
[19:02:31]  Downloading Cypress      17% 18s [title changed]
[19:02:31]  Downloading Cypress      18% 17s [title changed]
[19:02:31]  Downloading Cypress      18% 18s [title changed]
[19:02:32]  Downloading Cypress      19% 17s [title changed]
[19:02:32]  Downloading Cypress      19% 18s [title changed]
[19:02:32]  Downloading Cypress      20% 17s [title changed]
[19:02:32]  Downloading Cypress      20% 17s [title changed]
[19:02:32]  Downloading Cypress      21% 17s [title changed]
[19:02:32]  Downloading Cypress      21% 17s [title changed]
[19:02:32]  Downloading Cypress      22% 16s [title changed]
[19:02:32]  Downloading Cypress      22% 17s [title changed]
[19:02:32]  Downloading Cypress      22% 17s [title changed]
[19:02:33]  Downloading Cypress      23% 17s [title changed]
[19:02:33]  Downloading Cypress      23% 17s [title changed]
[19:02:33]  Downloading Cypress      24% 16s [title changed]
[19:02:33]  Downloading Cypress      25% 16s [title changed]
[19:02:33]  Downloading Cypress      25% 16s [title changed]
[19:02:33]  Downloading Cypress      25% 16s [title changed]
[19:02:33]  Downloading Cypress      26% 16s [title changed]
[19:02:33]  Downloading Cypress      27% 15s [title changed]
[19:02:33]  Downloading Cypress      27% 16s [title changed]
[19:02:33]  Downloading Cypress      28% 15s [title changed]
[19:02:34]  Downloading Cypress      28% 15s [title changed]
[19:02:34]  Downloading Cypress      28% 16s [title changed]
[19:02:34]  Downloading Cypress      29% 15s [title changed]
[19:02:34]  Downloading Cypress      29% 15s [title changed]
[19:02:34]  Downloading Cypress      30% 15s [title changed]
[19:02:34]  Downloading Cypress      30% 15s [title changed]
[19:02:34]  Downloading Cypress      31% 15s [title changed]
[19:02:34]  Downloading Cypress      31% 15s [title changed]
[19:02:34]  Downloading Cypress      32% 14s [title changed]
[19:02:34]  Downloading Cypress      32% 15s [title changed]
[19:02:35]  Downloading Cypress      33% 14s [title changed]
[19:02:35]  Downloading Cypress      33% 14s [title changed]
[19:02:35]  Downloading Cypress      34% 14s [title changed]
[19:02:35]  Downloading Cypress      34% 14s [title changed]
[19:02:35]  Downloading Cypress      35% 14s [title changed]
[19:02:35]  Downloading Cypress      35% 14s [title changed]
[19:02:35]  Downloading Cypress      36% 14s [title changed]
[19:02:35]  Downloading Cypress      36% 14s [title changed]
[19:02:35]  Downloading Cypress      37% 13s [title changed]
[19:02:35]  Downloading Cypress      38% 13s [title changed]
[19:02:36]  Downloading Cypress      38% 13s [title changed]
[19:02:36]  Downloading Cypress      39% 13s [title changed]
[19:02:36]  Downloading Cypress      39% 13s [title changed]
[19:02:36]  Downloading Cypress      40% 13s [title changed]
[19:02:36]  Downloading Cypress      40% 13s [title changed]
[19:02:36]  Downloading Cypress      41% 12s [title changed]
[19:02:36]  Downloading Cypress      41% 12s [title changed]
[19:02:36]  Downloading Cypress      41% 13s [title changed]
[19:02:36]  Downloading Cypress      42% 12s [title changed]
[19:02:36]  Downloading Cypress      42% 12s [title changed]
[19:02:37]  Downloading Cypress      43% 12s [title changed]
[19:02:37]  Downloading Cypress      43% 12s [title changed]
[19:02:37]  Downloading Cypress      44% 12s [title changed]
[19:02:37]  Downloading Cypress      44% 12s [title changed]
[19:02:37]  Downloading Cypress      44% 12s [title changed]
[19:02:37]  Downloading Cypress      45% 12s [title changed]
[19:02:37]  Downloading Cypress      45% 12s [title changed]
[19:02:37]  Downloading Cypress      46% 11s [title changed]
[19:02:37]  Downloading Cypress      46% 12s [title changed]
[19:02:38]  Downloading Cypress      47% 11s [title changed]
[19:02:38]  Downloading Cypress      47% 11s [title changed]
[19:02:38]  Downloading Cypress      48% 11s [title changed]
[19:02:38]  Downloading Cypress      48% 11s [title changed]
[19:02:38]  Downloading Cypress      49% 11s [title changed]
[19:02:38]  Downloading Cypress      49% 11s [title changed]
[19:02:38]  Downloading Cypress      50% 11s [title changed]
[19:02:38]  Downloading Cypress      50% 11s [title changed]
[19:02:38]  Downloading Cypress      51% 10s [title changed]
[19:02:38]  Downloading Cypress      51% 10s [title changed]
[19:02:39]  Downloading Cypress      51% 11s [title changed]
[19:02:39]  Downloading Cypress      52% 10s [title changed]
[19:02:39]  Downloading Cypress      52% 10s [title changed]
[19:02:39]  Downloading Cypress      53% 10s [title changed]
[19:02:39]  Downloading Cypress      53% 10s [title changed]
[19:02:39]  Downloading Cypress      54% 10s [title changed]
[19:02:39]  Downloading Cypress      54% 10s [title changed]
[19:02:39]  Downloading Cypress      55% 10s [title changed]
[19:02:39]  Downloading Cypress      55% 10s [title changed]
[19:02:39]  Downloading Cypress      56% 9s [title changed]
[19:02:40]  Downloading Cypress      56% 9s [title changed]
[19:02:40]  Downloading Cypress      56% 10s [title changed]
[19:02:40]  Downloading Cypress      57% 9s [title changed]
[19:02:40]  Downloading Cypress      57% 10s [title changed]
[19:02:40]  Downloading Cypress      57% 10s [title changed]
[19:02:41]  Downloading Cypress      57% 10s [title changed]
[19:02:41]  Downloading Cypress      58% 10s [title changed]
[19:02:41]  Downloading Cypress      58% 10s [title changed]
[19:02:41]  Downloading Cypress      58% 10s [title changed]
[19:02:41]  Downloading Cypress      58% 10s [title changed]
[19:02:42]  Downloading Cypress      58% 10s [title changed]
[19:02:42]  Downloading Cypress      58% 10s [title changed]
[19:02:42]  Downloading Cypress      59% 10s [title changed]
[19:02:42]  Downloading Cypress      59% 10s [title changed]
[19:02:42]  Downloading Cypress      59% 10s [title changed]
[19:02:42]  Downloading Cypress      59% 10s [title changed]
[19:02:43]  Downloading Cypress      59% 10s [title changed]
[19:02:43]  Downloading Cypress      59% 11s [title changed]
[19:02:43]  Downloading Cypress      59% 11s [title changed]
[19:02:43]  Downloading Cypress      60% 10s [title changed]
[19:02:43]  Downloading Cypress      60% 10s [title changed]
[19:02:43]  Downloading Cypress      60% 11s [title changed]
[19:02:44]  Downloading Cypress      60% 11s [title changed]
[19:02:44]  Downloading Cypress      61% 10s [title changed]
[19:02:44]  Downloading Cypress      61% 10s [title changed]
[19:02:44]  Downloading Cypress      62% 10s [title changed]
[19:02:44]  Downloading Cypress      62% 10s [title changed]
[19:02:44]  Downloading Cypress      63% 10s [title changed]
[19:02:44]  Downloading Cypress      63% 10s [title changed]
[19:02:44]  Downloading Cypress      64% 9s [title changed]
[19:02:44]  Downloading Cypress      64% 9s [title changed]
[19:02:44]  Downloading Cypress      65% 9s [title changed]
[19:02:45]  Downloading Cypress      65% 9s [title changed]
[19:02:45]  Downloading Cypress      65% 9s [title changed]
[19:02:45]  Downloading Cypress      66% 9s [title changed]
[19:02:45]  Downloading Cypress      66% 9s [title changed]
[19:02:45]  Downloading Cypress      67% 9s [title changed]
[19:02:45]  Downloading Cypress      67% 9s [title changed]
[19:02:45]  Downloading Cypress      68% 8s [title changed]
[19:02:45]  Downloading Cypress      68% 8s [title changed]
[19:02:45]  Downloading Cypress      69% 8s [title changed]
[19:02:45]  Downloading Cypress      69% 8s [title changed]
[19:02:46]  Downloading Cypress      70% 8s [title changed]
[19:02:46]  Downloading Cypress      70% 8s [title changed]
[19:02:46]  Downloading Cypress      71% 7s [title changed]
[19:02:46]  Downloading Cypress      71% 7s [title changed]
[19:02:46]  Downloading Cypress      72% 7s [title changed]
[19:02:46]  Downloading Cypress      72% 7s [title changed]
[19:02:46]  Downloading Cypress      73% 7s [title changed]
[19:02:46]  Downloading Cypress      73% 7s [title changed]
[19:02:46]  Downloading Cypress      73% 7s [title changed]
[19:02:46]  Downloading Cypress      74% 7s [title changed]
[19:02:47]  Downloading Cypress      74% 7s [title changed]
[19:02:47]  Downloading Cypress      75% 6s [title changed]
[19:02:47]  Downloading Cypress      75% 6s [title changed]
[19:02:47]  Downloading Cypress      76% 6s [title changed]
[19:02:47]  Downloading Cypress      76% 6s [title changed]
[19:02:47]  Downloading Cypress      76% 6s [title changed]
[19:02:47]  Downloading Cypress      77% 6s [title changed]
[19:02:47]  Downloading Cypress      77% 6s [title changed]
[19:02:47]  Downloading Cypress      78% 6s [title changed]
[19:02:48]  Downloading Cypress      78% 6s [title changed]
[19:02:48]  Downloading Cypress      79% 5s [title changed]
[19:02:48]  Downloading Cypress      79% 5s [title changed]
[19:02:48]  Downloading Cypress      80% 5s [title changed]
[19:02:48]  Downloading Cypress      80% 5s [title changed]
[19:02:48]  Downloading Cypress      81% 5s [title changed]
[19:02:48]  Downloading Cypress      81% 5s [title changed]
[19:02:48]  Downloading Cypress      81% 5s [title changed]
[19:02:48]  Downloading Cypress      82% 5s [title changed]
[19:02:48]  Downloading Cypress      82% 5s [title changed]
[19:02:49]  Downloading Cypress      83% 4s [title changed]
[19:02:49]  Downloading Cypress      83% 4s [title changed]
[19:02:49]  Downloading Cypress      84% 4s [title changed]
[19:02:49]  Downloading Cypress      84% 4s [title changed]
[19:02:49]  Downloading Cypress      84% 4s [title changed]
[19:02:49]  Downloading Cypress      85% 4s [title changed]
[19:02:49]  Downloading Cypress      85% 4s [title changed]
[19:02:49]  Downloading Cypress      86% 4s [title changed]
[19:02:49]  Downloading Cypress      86% 4s [title changed]
[19:02:49]  Downloading Cypress      87% 3s [title changed]
[19:02:50]  Downloading Cypress      87% 3s [title changed]
[19:02:50]  Downloading Cypress      88% 3s [title changed]
[19:02:50]  Downloading Cypress      88% 3s [title changed]
[19:02:50]  Downloading Cypress      89% 3s [title changed]
[19:02:50]  Downloading Cypress      89% 3s [title changed]
[19:02:50]  Downloading Cypress      89% 3s [title changed]
[19:02:50]  Downloading Cypress      90% 3s [title changed]
[19:02:50]  Downloading Cypress      90% 3s [title changed]
[19:02:50]  Downloading Cypress      91% 2s [title changed]
[19:02:51]  Downloading Cypress      91% 2s [title changed]
[19:02:51]  Downloading Cypress      92% 2s [title changed]
[19:02:51]  Downloading Cypress      92% 2s [title changed]
[19:02:51]  Downloading Cypress      92% 2s [title changed]
[19:02:51]  Downloading Cypress      93% 2s [title changed]
[19:02:51]  Downloading Cypress      93% 2s [title changed]
[19:02:51]  Downloading Cypress      94% 2s [title changed]
[19:02:51]  Downloading Cypress      94% 2s [title changed]
[19:02:51]  Downloading Cypress      95% 1s [title changed]
[19:02:51]  Downloading Cypress      96% 1s [title changed]
[19:02:52]  Downloading Cypress      96% 1s [title changed]
[19:02:52]  Downloading Cypress      96% 1s [title changed]
[19:02:52]  Downloading Cypress      97% 1s [title changed]
[19:02:52]  Downloading Cypress      97% 1s [title changed]
[19:02:52]  Downloading Cypress      98% 0s [title changed]
[19:02:52]  Downloading Cypress      98% 1s [title changed]
[19:02:52]  Downloading Cypress      98% 1s [title changed]
[19:02:52]  Downloading Cypress      99% 0s [title changed]
[19:02:52]  Downloading Cypress      99% 0s [title changed]
[19:02:53]  Downloading Cypress      100% 0s [title changed]
[19:02:53]  Downloaded Cypress      [title changed]
[19:02:53]  Downloaded Cypress      [completed]
[19:02:53]  Unzipping Cypress       [started]
[19:02:53]  Unzipping Cypress       [failed]
[19:02:53] → The Cypress App could not be unzipped.

Search for an existing issue or open a GitHub issue at

https://github.com/cypress-io/cypress/issues
----------

Error: end of central directory record signature not found
----------

Platform: linux (Debian - 9.5)
Cypress Version: 3.1.5
The Cypress App could not be unzipped.

Search for an existing issue or open a GitHub issue at

https://github.com/cypress-io/cypress/issues
----------

@jennifer-shehane jennifer-shehane added CI: buildkite type: regression A bug that didn't appear until a specific Cy version release labels Feb 28, 2019
@jennifer-shehane
Copy link
Member

jennifer-shehane commented Feb 28, 2019

Errors documented here:

Error: invalid central directory file header signature: 0x1e02014b
Error: invalid local file header signature: 0x1030da8f
Error: end of central directory record signature not found
Error: invalid stored block lengths

Looking up these errors all seem to point to yauzl. I updated the yauzl plugin 2 weeks ago in our develop branch, so perhaps this fixes some issues, it definitely included bug fixes. #3481

@jennifer-shehane
Copy link
Member

We may also want to look into implementing better error handling instead of crashing for yauzl as described here: https://github.com/thejoshwolfe/yauzl#how-to-avoid-crashing

@jennifer-shehane
Copy link
Member

Hi, the yauzl update was included in 3.2.0 release. Can anyone update to see if this issue is resolved?

@tiborm
Copy link

tiborm commented Mar 18, 2019

Hi Jennifer, the yauzl update in 3.2.0 seems to solve the problem in our project. Thanks!

@jennifer-shehane
Copy link
Member

@joekrump @aryzing @ruffle1986 @mlb5000 Can you all try updating to 3.2.0 of Cypress and please comment if this resolves your issue or not? Thanks so much!

@aryzing
Copy link
Author

aryzing commented Mar 27, 2019

@jennifer-shehane we had to move away from cypress in our because of the bug, don't have a time frame to re-introduce it atm.

@aoumiri
Copy link

aoumiri commented Mar 28, 2019

Hello @jennifer-shehane. I am currently deploying cypress 3.2.0 into a gitlab-ci pipeline, and I am unfortunately running into this error.

Here is the output :

Installing Cypress (version: 3.2.0)

[21:36:54]  Downloading Cypress     [started]
[21:37:03]  Downloading Cypress     [completed]
[21:37:03]  Unzipping Cypress       [started]
events.js:167
      throw er; // Unhandled 'error' event
      ^

Error: invalid central directory file header signature: 0x63402f73
    at /builds/project-0/node_modules/cypress/node_modules/yauzl/index.js:258:70
    at /builds/project-0/node_modules/cypress/node_modules/yauzl/index.js:631:5
    at /builds/project-0/node_modules/cypress/node_modules/fd-slicer/index.js:32:7
    at FSReqWrap.wrapper [as oncomplete] (fs.js:460:17)

@joekrump
Copy link

joekrump commented Mar 29, 2019

@jennifer-shehane I will aim to try the update to 3.2.0 early next week. I will report back then.

@aoumiri
Copy link

aoumiri commented Mar 29, 2019

Well, I retried today, with exactly the same code, and it worked. Maybe some dependencies were "stuck" in the cache ? But it works great now, thanks :)

@msalahz
Copy link

msalahz commented Apr 1, 2019

@jennifer-shehane : I had the same issue since last Friday and upgrading to version 3.2 didn't help, Can you advice ?

Update:
Regenerating yarn.lock & updating to v3.2.0 made the issue go a way.

@tiborm
Copy link

tiborm commented Apr 1, 2019

@jennifer-shehane It seems like this issue is intermittent. We're still facing with it once out of five builds. Temporarily we had to remove Cypress from our Travis pipeline.

@joekrump
Copy link

joekrump commented Apr 2, 2019

@jennifer-shehane New error, now but still related to yauzl

  | [2019-04-02T23:21:01Z] Installing Cypress (version: 3.2.0)
  | [2019-04-02T23:21:01Z]
  | [2019-04-02T23:21:01Z] [23:20:58]  Downloading Cypress     [started]
  | [2019-04-02T23:21:01Z] [23:21:00]  Downloading Cypress     [completed]
  | [2019-04-02T23:21:01Z] [23:21:00]  Unzipping Cypress       [started]
  | [2019-04-02T23:21:01Z] read err { Error: invalid stored block lengths
  | [2019-04-02T23:21:01Z]     at Zlib.zlibOnError [as onerror] (zlib.js:153:17) errno: -3, code: 'Z_DATA_ERROR' }
  | [2019-04-02T23:21:01Z] events.js:167
  | [2019-04-02T23:21:01Z]       throw er; // Unhandled 'error' event
  | [2019-04-02T23:21:01Z]       ^
  | [2019-04-02T23:21:01Z]
  | [2019-04-02T23:21:01Z] Error: extra field length exceeds extra field buffer size
  | [2019-04-02T23:21:01Z]     at /var/lib/buildkite-agent/builds/buildkite-20190321201725-50/test/node_modules/cypress/node_modules/yauzl/index.js:314:83

@Mattinn
Copy link

Mattinn commented Apr 5, 2019

@jennifer-shehane yauzl strikes again! This time on cypress 3.2.0 into a gitlab-jenkins pipeline

success Set "workspaces-experimental" to "true".
Done in 0.04s.
yarn install v1.15.2
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.2.7: The platform "linux" is incompatible with this module.
info "fsevents@1.2.7" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
�[91merror /app/apps/admin/node_modules/cypress: Command failed.
Exit code: 1
Command: node index.js --exec install
Arguments: 
Directory: /app/apps/admin/node_modules/cypress
Output:
Installing Cypress (version: 3.2.0)

�[?25l[13:38:14]  Downloading Cypress     [started]
...
[13:38:25]  Downloading Cypress      99% 0s [title changed]
[13:38:25]  Downloaded Cypress      [title changed]
[13:38:25]  Downloaded Cypress      [completed]
[13:38:25]  Unzipping Cypress       [started]
[13:38:25]  Unzipping Cypress        0% 0s [title changed]
read err { Error: unexpected end of file
    at Zlib.zlibOnError [as onerror] (zlib.js:162:17) errno: -5, code: 'Z_BUF_ERROR' }
�[?25hevents.js:170
      throw er; // Unhandled 'error' event
      ^

Error: invalid central directory file header signature: 0xcf0000
    at /app/apps/admin/node_modules/yauzl/index.js:258:70
    at /app/apps/admin/node_modules/yauzl/index.js:631:5
    at /app/apps/admin/node_modules/fd-slicer/index.js:32:7
    at FSReqCallback.wrapper [as oncomplete] (fs.js:478:5)
Emitted 'error' event at:
    at emitError (/app/apps/admin/node_modules/yauzl/index.js:232:8)
    at emitErrorAndAutoClose (/app/apps/admin/node_modules/yauzl/index.js:227:3)
    at /app/apps/admin/node_modules/yauzl/index.js:258:42
    at /app/apps/admin/node_modules/yauzl/index.js:631:5
    at /app/apps/admin/node_modules/fd-slicer/index.js:32:7
    at FSReqCallback.wrapper [as oncomplete] (fs.js:478:5)

@bahmutov
Copy link
Contributor

bahmutov commented Apr 5, 2019 via email

@bahmutov
Copy link
Contributor

bahmutov commented May 20, 2019

Testing inside a Docker container:

  • start container with docker run -it -v $PWD:/e2e -w /e2e cypress/base:10 /bin/bash
  • download Linux zip with curl -O https://cdn.cypress.io/desktop/3.3.0/linux-x64/cypress.zip
  • see file checksume
sha512sum cypress.zip 
c24ad054fc78e24d9b6b539b33ba13226a600f31e1953b00d93c023721eaa20412e678e599f696723fbdd78b8e2a94cff8409c6fb342e97b721dd95720bfe6dd  cypress.zip
  • check the expected filesize and checksum with
curl -I https://cdn.cypress.io/desktop/3.3.0/linux-x64/cypress.zip
x-amz-meta-checksum: c24ad054fc78e24d9b6b539b33ba13226a600f31e1953b00d93c023721eaa20412e678e599f696723fbdd78b8e2a94cff8409c6fb342e97b721dd95720bfe6dd
x-amz-meta-size: 140716831
ls -la cypress.zip
-rw-r--r-- 1 root root 140716831 May 20 19:37 cypress.zip

so the checksum and filesize are correct

  • testing unzipping from the Docker
DEBUG=cypress:cli node -e 'require("./lib/tasks/unzip").start({zipFilePath:"./cypress.zip",installDir:path.resolve("unzipped"), progress:{onProgress: console.log}})'
  • prints that it has 32k entries

Experiments

  • chop off the last byte with
$ ls -la cypress.zip 
-rw-r--r--  1 gleb  staff  140716831 May 20 15:44 cypress.zip
$ head -c 140716830 cypress.zip > chopped.zip

and trying to unzip, getting

end of central directory record signature not found
  • chopped off the first byte with
$ tail -c 140716830 cypress.zip > chopped.zip

and trying to unzip, getting

invalid central directory file header signature: 0x1e02014b
  • replaced the first byte with 0 using
echo -ne \\xFF | dd conv=notrunc bs=1 count=1 of=cypress.zip

and got the error

Error: invalid local file header signature: 0x0

All the above errors are present in the above error reports, which makes me suspect that the Zip file is just corrupted during download.

@cypress-bot cypress-bot bot added stage: needs review The PR code is done & tested, needs review and removed stage: needs investigating Someone from Cypress needs to look at this labels May 20, 2019
@pietrofxq
Copy link

pietrofxq commented May 23, 2019

Having this error on Bamboo too:


23-May-2019 09:13:12 | [ERROR] Output:
-- | --
23-May-2019 09:13:12 | [ERROR] Installing Cypress (version: 3.3.0)
23-May-2019 09:13:12 | [ERROR]
23-May-2019 09:13:12 | [ERROR] [09:13:10]  Downloading Cypress     [started]
23-May-2019 09:13:12 | [ERROR] [09:13:12]  Downloading Cypress     [completed]
23-May-2019 09:13:12 | [ERROR] [09:13:12]  Unzipping Cypress       [started]
23-May-2019 09:13:12 | [ERROR] events.js:183
23-May-2019 09:13:12 | [ERROR]       throw er; // Unhandled 'error' event
23-May-2019 09:13:12 | [ERROR]       ^
23-May-2019 09:13:12 | [ERROR]
23-May-2019 09:13:12 | [ERROR] Error: extra field length exceeds extra field buffer size
23-May-2019 09:13:12 | [ERROR]     at /opt/bamboo-agent/bamboo-agent-home/xml-data/build-dir/TESTCWDPPEREIRA-MAINOPENJDK0-LICENSE/components/crowd-frontend-plugin/node_modules/yauzl/index.js:314:83
23-May-2019 09:13:12 | [ERROR]     at /opt/bamboo-agent/bamboo-agent-home/xml-data/build-dir/TESTCWDPPEREIRA-MAINOPENJDK0-LICENSE/components/crowd-frontend-plugin/node_modules/yauzl/index.js:631:5
23-May-2019 09:13:12 | [ERROR]     at /opt/bamboo-agent/bamboo-agent-home/xml-data/build-dir/TESTCWDPPEREIRA-MAINOPENJDK0-LICENSE/components/crowd-frontend-plugin/node_modules/fd-slicer/index.js:32:7
23-May-2019 09:13:12 | [ERROR]     at FSReqWrap.wrapper [as oncomplete] (fs.js:658:17)
23-May-2019 09:13:12 | [INFO] info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Sometimes the error is this one:

Error: invalid central directory file header signature: 0x65646f6e

@rgpass
Copy link

rgpass commented Jun 6, 2019

I'm experiencing this issue on VSTS with Cypress version 3.1.0 and 3.3.1. It is failing intermittently. The error message changes intermittently as well.

read err { Error: invalid code lengths set
    at Zlib.zlibOnError [as onerror] (zlib.js:154:17) errno: -3, code: 'Z_DATA_ERROR' }
5hevents.js:167‌
      throw er; // Unhandled 'error' event
      ^

Error: invalid central directory file header signature: 0x80002
    at /vsts/agent/_work/1/s/node_modules/cypress/node_modules/yauzl/index.js:249:70
read err { Error: invalid distance too far back
    at Zlib.zlibOnError [as onerror] (zlib.js:154:17) errno: -3, code: 'Z_DATA_ERROR' }
5hevents.js:167‌
      throw er; // Unhandled 'error' event
      ^

Error: invalid central directory file header signature: 0xae43b2cd
    at /vsts/agent/_work/4/s/node_modules/yauzl/index.js:258:70

@rgpass
Copy link

rgpass commented Jun 6, 2019

Is there an older version that we can revert to that we can use in the interim?

@nikhilesh009
Copy link

nikhilesh009 commented Jun 6, 2019 via email

@pietrofxq
Copy link

Having the same issue with 3.2.0:


[ERROR] Arguments:
--
29-May-2019 23:37:30 | [ERROR] Directory: /opt/bamboo-agent/bamboo-agent-home/xml-data/build-dir/TESTCWDPPEREIRA-MAINOPENJDK0-CE2E/components/crowd-frontend-plugin/node_modules/@types/cypress/node_modules/cypress
29-May-2019 23:37:30 | [ERROR] Output:
29-May-2019 23:37:30 | [ERROR] Installing Cypress (version: 3.2.0)
29-May-2019 23:37:30 | [ERROR]
29-May-2019 23:37:30 | [ERROR] [23:37:27]  Downloading Cypress     [started]
29-May-2019 23:37:30 | [ERROR] [23:37:29]  Downloading Cypress     [completed]
29-May-2019 23:37:30 | [ERROR] [23:37:29]  Unzipping Cypress       [started]
29-May-2019 23:37:30 | [ERROR] read err Error: not enough bytes in the stream. expected 1789407. got only 239010
29-May-2019 23:37:30 | [ERROR]     at AssertByteCountStream._flush (/opt/bamboo-agent/bamboo-agent-home/xml-data/build-dir/TESTCWDPPEREIRA-MAINOPENJDK0-CE2E/components/crowd-frontend-plugin/node_modules/@types/cypress/node_modules/extract-zip/node_modules/yauzl/index.js:494:15)
29-May-2019 23:37:30 | [ERROR]     at AssertByteCountStream.prefinish (_stream_transform.js:137:10)
29-May-2019 23:37:30 | [ERROR]     at emitNone (events.js:106:13)
29-May-2019 23:37:30 | [ERROR]     at AssertByteCountStream.emit (events.js:208:7)
29-May-2019 23:37:30 | [ERROR]     at prefinish (_stream_writable.js:602:14)
29-May-2019 23:37:30 | [ERROR]     at finishMaybe (_stream_writable.js:610:5)
29-May-2019 23:37:30 | [ERROR]     at endWritable (_stream_writable.js:621:3)
29-May-2019 23:37:30 | [ERROR]     at AssertByteCountStream.Writable.end (_stream_writable.js:572:5)
29-May-2019 23:37:30 | [ERROR]     at InflateRaw.onend (_stream_readable.js:595:10)
29-May-2019 23:37:30 | [ERROR]     at Object.onceWrapper (events.js:313:30)
29-May-2019 23:37:30 | [ERROR]     at emitNone (events.js:111:20)
29-May-2019 23:37:30 | [ERROR]     at InflateRaw.emit (events.js:208:7)
29-May-2019 23:37:30 | [ERROR]     at endReadableNT (_stream_readable.js:1064:12)
29-May-2019 23:37:30 | [ERROR]     at _combinedTickCallback (internal/process/next_tick.js:139:11)
29-May-2019 23:37:30 | [ERROR]     at process._tickCallback (internal/process/next_tick.js:181:9)
29-May-2019 23:37:30 | [ERROR] events.js:183
29-May-2019 23:37:30 | [ERROR]       throw er; // Unhandled 'error' event
29-May-2019 23:37:30 | [ERROR]       ^
29-May-2019 23:37:30 | [ERROR]
29-May-2019 23:37:30 | [ERROR] Error: extra field length exceeds extra field buffer size

I'm trying to introduce Cypress in our project, unfortunately if it doesn't work in CI there's nothing I can do :/

@joekrump
Copy link

Any update on what the timeline for #4193 being merged might be? This is still causing quite a bit of pain for my team!

@jennifer-shehane
Copy link
Member

So we recently encountered this error on one of our repos ourselves. The problem was that we were downloading two versions of cypress within our package.json. We run a monorepo, so one of the cypress versions was in the main package.json and the other cypress version was in a sub-module of our monorepo.

Since we save cypress upon download to /tmp/cypress.zip, they were clobbering each other when both were being downloaded/unzipping at the same time, resulting in this error specifically:

Installing Cypress (version: 3.3.2)

[04:46:10]  Downloading Cypress     [started]
[04:46:11]  Downloading Cypress     [completed]
[04:46:11]  Unzipping Cypress       [started]
read err Error: not enough bytes in the stream. expected 8709456. got only 2882632
    at AssertByteCountStream._flush (/root/monorepo/node_modules/yauzl/index.js:494:15)
    at AssertByteCountStream.prefinish (_stream_transform.js:141:10)
    at AssertByteCountStream.emit (events.js:198:13)
    at prefinish (_stream_writable.js:635:14)
    at finishMaybe (_stream_writable.js:643:5)
    at endWritable (_stream_writable.js:663:3)
    at AssertByteCountStream.Writable.end (_stream_writable.js:594:5)
    at InflateRaw.onend (_stream_readable.js:655:10)
    at Object.onceWrapper (events.js:286:20)
    at InflateRaw.emit (events.js:203:15)
    at endReadableNT (_stream_readable.js:1129:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
events.js:174
      throw er; // Unhandled 'error' event
      ^

Error: invalid central directory file header signature: 0x98d05ebb
    at /root/monorepo/node_modules/cypress/node_modules/yauzl/index.js:258:70
    at /root/monorepo/node_modules/cypress/node_modules/yauzl/index.js:631:5
    at /root/monorepo/node_modules/cypress/node_modules/fd-slicer/index.js:32:7
    at FSReqWrap.wrapper [as oncomplete] (fs.js:467:17)
Emitted 'error' event at:
    at emitError (/root/monorepo/node_modules/cypress/node_modules/yauzl/index.js:232:8)
    at emitErrorAndAutoClose (/root/monorepo/node_modules/cypress/node_modules/yauzl/index.js:227:3)
    at /root/monorepo/node_modules/cypress/node_modules/yauzl/index.js:258:42
    at /root/monorepo/node_modules/cypress/node_modules/yauzl/index.js:631:5
    at /root/monorepo/node_modules/cypress/node_modules/fd-slicer/index.js:32:7
    at FSReqWrap.wrapper [as oncomplete] (fs.js:467:17)
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Exited with code 1

I've opened a new issue that explains this in more detail and explains ways to address this here: #4595

Please check

  • Are you downloading 2 versions of Cypress?
  • Are you using yarn? Due to how yarn works, this is likely to exhibit more frequently in it - although it's still possible using npm.
  • Only download 1 version - see this issue for a fix to download multiple.

jessestuart added a commit to jessestuart/jesses.io that referenced this issue Jul 4, 2019
jessestuart added a commit to jessestuart/jesses.io that referenced this issue Jul 4, 2019
jessestuart added a commit to jessestuart/jesses.io that referenced this issue Jul 4, 2019
jessestuart added a commit to jessestuart/jesses.io that referenced this issue Jul 4, 2019
@LeeeeeeM
Copy link

LeeeeeeM commented Jul 5, 2019

I'm running into the same issue on BuildKite and when trying to install on Debian. Only happening with 3.1.5. Previous version I used (3.1.3) installs without issue. Ran rm -rf node_modules && yarn install and this did not fix the issue for me.

Issue seems to be the same as what ruffle1986 mentions.

Main issue is:
The Cypress App could not be unzipped.
Error: end of central directory record signature not found

Full output:

yarn install v1.10.1
[1/5] Validating package.json...
[2/5] Resolving packages...
warning Resolution field "extend@3.0.2" is incompatible with requested version "extend@2.*"
[3/5] Fetching packages...
info fsevents@1.2.4: The platform "linux" is incompatible with this module.
info "fsevents@1.2.4" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
[5/5] Building fresh packages...
[-/8] ⢀ waiting...
[-/8] ⠠ waiting...
[3/8] ⠠ cypress
[-/8] ⠠ waiting...
error /home/vagrant/clio/themis/node_modules/cypress: Command failed.
Exit code: 1
Command: node index.js --exec install
Arguments: 
Directory: /home/vagrant/clio/themis/node_modules/cypress
Output:
Installing Cypress (version: 3.1.5)

[19:02:27]  Downloading Cypress     [started]
[19:02:28]  Downloading Cypress      0% 0s [title changed]
[19:02:28]  Downloading Cypress      1% 10s [title changed]
[19:02:28]  Downloading Cypress      1% 20s [title changed]
[19:02:28]  Downloading Cypress      2% 15s [title changed]
[19:02:28]  Downloading Cypress      2% 21s [title changed]
[19:02:28]  Downloading Cypress      3% 17s [title changed]
[19:02:28]  Downloading Cypress      3% 20s [title changed]
[19:02:28]  Downloading Cypress      3% 24s [title changed]
[19:02:28]  Downloading Cypress      3% 27s [title changed]
[19:02:28]  Downloading Cypress      4% 23s [title changed]
[19:02:29]  Downloading Cypress      4% 25s [title changed]
[19:02:29]  Downloading Cypress      5% 22s [title changed]
[19:02:29]  Downloading Cypress      6% 20s [title changed]
[19:02:29]  Downloading Cypress      6% 21s [title changed]
[19:02:29]  Downloading Cypress      6% 23s [title changed]
[19:02:29]  Downloading Cypress      7% 21s [title changed]
[19:02:29]  Downloading Cypress      7% 22s [title changed]
[19:02:29]  Downloading Cypress      8% 21s [title changed]
[19:02:29]  Downloading Cypress      8% 22s [title changed]
[19:02:30]  Downloading Cypress      9% 20s [title changed]
[19:02:30]  Downloading Cypress      9% 21s [title changed]
[19:02:30]  Downloading Cypress      10% 20s [title changed]
[19:02:30]  Downloading Cypress      10% 21s [title changed]
[19:02:30]  Downloading Cypress      11% 19s [title changed]
[19:02:30]  Downloading Cypress      11% 20s [title changed]
[19:02:30]  Downloading Cypress      12% 19s [title changed]
[19:02:30]  Downloading Cypress      12% 20s [title changed]
[19:02:30]  Downloading Cypress      13% 19s [title changed]
[19:02:30]  Downloading Cypress      13% 19s [title changed]
[19:02:31]  Downloading Cypress      14% 18s [title changed]
[19:02:31]  Downloading Cypress      14% 19s [title changed]
[19:02:31]  Downloading Cypress      15% 18s [title changed]
[19:02:31]  Downloading Cypress      15% 19s [title changed]
[19:02:31]  Downloading Cypress      16% 18s [title changed]
[19:02:31]  Downloading Cypress      16% 18s [title changed]
[19:02:31]  Downloading Cypress      17% 18s [title changed]
[19:02:31]  Downloading Cypress      17% 18s [title changed]
[19:02:31]  Downloading Cypress      18% 17s [title changed]
[19:02:31]  Downloading Cypress      18% 18s [title changed]
[19:02:32]  Downloading Cypress      19% 17s [title changed]
[19:02:32]  Downloading Cypress      19% 18s [title changed]
[19:02:32]  Downloading Cypress      20% 17s [title changed]
[19:02:32]  Downloading Cypress      20% 17s [title changed]
[19:02:32]  Downloading Cypress      21% 17s [title changed]
[19:02:32]  Downloading Cypress      21% 17s [title changed]
[19:02:32]  Downloading Cypress      22% 16s [title changed]
[19:02:32]  Downloading Cypress      22% 17s [title changed]
[19:02:32]  Downloading Cypress      22% 17s [title changed]
[19:02:33]  Downloading Cypress      23% 17s [title changed]
[19:02:33]  Downloading Cypress      23% 17s [title changed]
[19:02:33]  Downloading Cypress      24% 16s [title changed]
[19:02:33]  Downloading Cypress      25% 16s [title changed]
[19:02:33]  Downloading Cypress      25% 16s [title changed]
[19:02:33]  Downloading Cypress      25% 16s [title changed]
[19:02:33]  Downloading Cypress      26% 16s [title changed]
[19:02:33]  Downloading Cypress      27% 15s [title changed]
[19:02:33]  Downloading Cypress      27% 16s [title changed]
[19:02:33]  Downloading Cypress      28% 15s [title changed]
[19:02:34]  Downloading Cypress      28% 15s [title changed]
[19:02:34]  Downloading Cypress      28% 16s [title changed]
[19:02:34]  Downloading Cypress      29% 15s [title changed]
[19:02:34]  Downloading Cypress      29% 15s [title changed]
[19:02:34]  Downloading Cypress      30% 15s [title changed]
[19:02:34]  Downloading Cypress      30% 15s [title changed]
[19:02:34]  Downloading Cypress      31% 15s [title changed]
[19:02:34]  Downloading Cypress      31% 15s [title changed]
[19:02:34]  Downloading Cypress      32% 14s [title changed]
[19:02:34]  Downloading Cypress      32% 15s [title changed]
[19:02:35]  Downloading Cypress      33% 14s [title changed]
[19:02:35]  Downloading Cypress      33% 14s [title changed]
[19:02:35]  Downloading Cypress      34% 14s [title changed]
[19:02:35]  Downloading Cypress      34% 14s [title changed]
[19:02:35]  Downloading Cypress      35% 14s [title changed]
[19:02:35]  Downloading Cypress      35% 14s [title changed]
[19:02:35]  Downloading Cypress      36% 14s [title changed]
[19:02:35]  Downloading Cypress      36% 14s [title changed]
[19:02:35]  Downloading Cypress      37% 13s [title changed]
[19:02:35]  Downloading Cypress      38% 13s [title changed]
[19:02:36]  Downloading Cypress      38% 13s [title changed]
[19:02:36]  Downloading Cypress      39% 13s [title changed]
[19:02:36]  Downloading Cypress      39% 13s [title changed]
[19:02:36]  Downloading Cypress      40% 13s [title changed]
[19:02:36]  Downloading Cypress      40% 13s [title changed]
[19:02:36]  Downloading Cypress      41% 12s [title changed]
[19:02:36]  Downloading Cypress      41% 12s [title changed]
[19:02:36]  Downloading Cypress      41% 13s [title changed]
[19:02:36]  Downloading Cypress      42% 12s [title changed]
[19:02:36]  Downloading Cypress      42% 12s [title changed]
[19:02:37]  Downloading Cypress      43% 12s [title changed]
[19:02:37]  Downloading Cypress      43% 12s [title changed]
[19:02:37]  Downloading Cypress      44% 12s [title changed]
[19:02:37]  Downloading Cypress      44% 12s [title changed]
[19:02:37]  Downloading Cypress      44% 12s [title changed]
[19:02:37]  Downloading Cypress      45% 12s [title changed]
[19:02:37]  Downloading Cypress      45% 12s [title changed]
[19:02:37]  Downloading Cypress      46% 11s [title changed]
[19:02:37]  Downloading Cypress      46% 12s [title changed]
[19:02:38]  Downloading Cypress      47% 11s [title changed]
[19:02:38]  Downloading Cypress      47% 11s [title changed]
[19:02:38]  Downloading Cypress      48% 11s [title changed]
[19:02:38]  Downloading Cypress      48% 11s [title changed]
[19:02:38]  Downloading Cypress      49% 11s [title changed]
[19:02:38]  Downloading Cypress      49% 11s [title changed]
[19:02:38]  Downloading Cypress      50% 11s [title changed]
[19:02:38]  Downloading Cypress      50% 11s [title changed]
[19:02:38]  Downloading Cypress      51% 10s [title changed]
[19:02:38]  Downloading Cypress      51% 10s [title changed]
[19:02:39]  Downloading Cypress      51% 11s [title changed]
[19:02:39]  Downloading Cypress      52% 10s [title changed]
[19:02:39]  Downloading Cypress      52% 10s [title changed]
[19:02:39]  Downloading Cypress      53% 10s [title changed]
[19:02:39]  Downloading Cypress      53% 10s [title changed]
[19:02:39]  Downloading Cypress      54% 10s [title changed]
[19:02:39]  Downloading Cypress      54% 10s [title changed]
[19:02:39]  Downloading Cypress      55% 10s [title changed]
[19:02:39]  Downloading Cypress      55% 10s [title changed]
[19:02:39]  Downloading Cypress      56% 9s [title changed]
[19:02:40]  Downloading Cypress      56% 9s [title changed]
[19:02:40]  Downloading Cypress      56% 10s [title changed]
[19:02:40]  Downloading Cypress      57% 9s [title changed]
[19:02:40]  Downloading Cypress      57% 10s [title changed]
[19:02:40]  Downloading Cypress      57% 10s [title changed]
[19:02:41]  Downloading Cypress      57% 10s [title changed]
[19:02:41]  Downloading Cypress      58% 10s [title changed]
[19:02:41]  Downloading Cypress      58% 10s [title changed]
[19:02:41]  Downloading Cypress      58% 10s [title changed]
[19:02:41]  Downloading Cypress      58% 10s [title changed]
[19:02:42]  Downloading Cypress      58% 10s [title changed]
[19:02:42]  Downloading Cypress      58% 10s [title changed]
[19:02:42]  Downloading Cypress      59% 10s [title changed]
[19:02:42]  Downloading Cypress      59% 10s [title changed]
[19:02:42]  Downloading Cypress      59% 10s [title changed]
[19:02:42]  Downloading Cypress      59% 10s [title changed]
[19:02:43]  Downloading Cypress      59% 10s [title changed]
[19:02:43]  Downloading Cypress      59% 11s [title changed]
[19:02:43]  Downloading Cypress      59% 11s [title changed]
[19:02:43]  Downloading Cypress      60% 10s [title changed]
[19:02:43]  Downloading Cypress      60% 10s [title changed]
[19:02:43]  Downloading Cypress      60% 11s [title changed]
[19:02:44]  Downloading Cypress      60% 11s [title changed]
[19:02:44]  Downloading Cypress      61% 10s [title changed]
[19:02:44]  Downloading Cypress      61% 10s [title changed]
[19:02:44]  Downloading Cypress      62% 10s [title changed]
[19:02:44]  Downloading Cypress      62% 10s [title changed]
[19:02:44]  Downloading Cypress      63% 10s [title changed]
[19:02:44]  Downloading Cypress      63% 10s [title changed]
[19:02:44]  Downloading Cypress      64% 9s [title changed]
[19:02:44]  Downloading Cypress      64% 9s [title changed]
[19:02:44]  Downloading Cypress      65% 9s [title changed]
[19:02:45]  Downloading Cypress      65% 9s [title changed]
[19:02:45]  Downloading Cypress      65% 9s [title changed]
[19:02:45]  Downloading Cypress      66% 9s [title changed]
[19:02:45]  Downloading Cypress      66% 9s [title changed]
[19:02:45]  Downloading Cypress      67% 9s [title changed]
[19:02:45]  Downloading Cypress      67% 9s [title changed]
[19:02:45]  Downloading Cypress      68% 8s [title changed]
[19:02:45]  Downloading Cypress      68% 8s [title changed]
[19:02:45]  Downloading Cypress      69% 8s [title changed]
[19:02:45]  Downloading Cypress      69% 8s [title changed]
[19:02:46]  Downloading Cypress      70% 8s [title changed]
[19:02:46]  Downloading Cypress      70% 8s [title changed]
[19:02:46]  Downloading Cypress      71% 7s [title changed]
[19:02:46]  Downloading Cypress      71% 7s [title changed]
[19:02:46]  Downloading Cypress      72% 7s [title changed]
[19:02:46]  Downloading Cypress      72% 7s [title changed]
[19:02:46]  Downloading Cypress      73% 7s [title changed]
[19:02:46]  Downloading Cypress      73% 7s [title changed]
[19:02:46]  Downloading Cypress      73% 7s [title changed]
[19:02:46]  Downloading Cypress      74% 7s [title changed]
[19:02:47]  Downloading Cypress      74% 7s [title changed]
[19:02:47]  Downloading Cypress      75% 6s [title changed]
[19:02:47]  Downloading Cypress      75% 6s [title changed]
[19:02:47]  Downloading Cypress      76% 6s [title changed]
[19:02:47]  Downloading Cypress      76% 6s [title changed]
[19:02:47]  Downloading Cypress      76% 6s [title changed]
[19:02:47]  Downloading Cypress      77% 6s [title changed]
[19:02:47]  Downloading Cypress      77% 6s [title changed]
[19:02:47]  Downloading Cypress      78% 6s [title changed]
[19:02:48]  Downloading Cypress      78% 6s [title changed]
[19:02:48]  Downloading Cypress      79% 5s [title changed]
[19:02:48]  Downloading Cypress      79% 5s [title changed]
[19:02:48]  Downloading Cypress      80% 5s [title changed]
[19:02:48]  Downloading Cypress      80% 5s [title changed]
[19:02:48]  Downloading Cypress      81% 5s [title changed]
[19:02:48]  Downloading Cypress      81% 5s [title changed]
[19:02:48]  Downloading Cypress      81% 5s [title changed]
[19:02:48]  Downloading Cypress      82% 5s [title changed]
[19:02:48]  Downloading Cypress      82% 5s [title changed]
[19:02:49]  Downloading Cypress      83% 4s [title changed]
[19:02:49]  Downloading Cypress      83% 4s [title changed]
[19:02:49]  Downloading Cypress      84% 4s [title changed]
[19:02:49]  Downloading Cypress      84% 4s [title changed]
[19:02:49]  Downloading Cypress      84% 4s [title changed]
[19:02:49]  Downloading Cypress      85% 4s [title changed]
[19:02:49]  Downloading Cypress      85% 4s [title changed]
[19:02:49]  Downloading Cypress      86% 4s [title changed]
[19:02:49]  Downloading Cypress      86% 4s [title changed]
[19:02:49]  Downloading Cypress      87% 3s [title changed]
[19:02:50]  Downloading Cypress      87% 3s [title changed]
[19:02:50]  Downloading Cypress      88% 3s [title changed]
[19:02:50]  Downloading Cypress      88% 3s [title changed]
[19:02:50]  Downloading Cypress      89% 3s [title changed]
[19:02:50]  Downloading Cypress      89% 3s [title changed]
[19:02:50]  Downloading Cypress      89% 3s [title changed]
[19:02:50]  Downloading Cypress      90% 3s [title changed]
[19:02:50]  Downloading Cypress      90% 3s [title changed]
[19:02:50]  Downloading Cypress      91% 2s [title changed]
[19:02:51]  Downloading Cypress      91% 2s [title changed]
[19:02:51]  Downloading Cypress      92% 2s [title changed]
[19:02:51]  Downloading Cypress      92% 2s [title changed]
[19:02:51]  Downloading Cypress      92% 2s [title changed]
[19:02:51]  Downloading Cypress      93% 2s [title changed]
[19:02:51]  Downloading Cypress      93% 2s [title changed]
[19:02:51]  Downloading Cypress      94% 2s [title changed]
[19:02:51]  Downloading Cypress      94% 2s [title changed]
[19:02:51]  Downloading Cypress      95% 1s [title changed]
[19:02:51]  Downloading Cypress      96% 1s [title changed]
[19:02:52]  Downloading Cypress      96% 1s [title changed]
[19:02:52]  Downloading Cypress      96% 1s [title changed]
[19:02:52]  Downloading Cypress      97% 1s [title changed]
[19:02:52]  Downloading Cypress      97% 1s [title changed]
[19:02:52]  Downloading Cypress      98% 0s [title changed]
[19:02:52]  Downloading Cypress      98% 1s [title changed]
[19:02:52]  Downloading Cypress      98% 1s [title changed]
[19:02:52]  Downloading Cypress      99% 0s [title changed]
[19:02:52]  Downloading Cypress      99% 0s [title changed]
[19:02:53]  Downloading Cypress      100% 0s [title changed]
[19:02:53]  Downloaded Cypress      [title changed]
[19:02:53]  Downloaded Cypress      [completed]
[19:02:53]  Unzipping Cypress       [started]
[19:02:53]  Unzipping Cypress       [failed]
[19:02:53] → The Cypress App could not be unzipped.

Search for an existing issue or open a GitHub issue at

https://github.com/cypress-io/cypress/issues
----------

Error: end of central directory record signature not found
----------

Platform: linux (Debian - 9.5)
Cypress Version: 3.1.5
The Cypress App could not be unzipped.

Search for an existing issue or open a GitHub issue at

https://github.com/cypress-io/cypress/issues
----------

the same

@cypress-bot cypress-bot bot added stage: pending release and removed stage: needs review The PR code is done & tested, needs review labels Jul 9, 2019
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Jul 9, 2019

The code for this is done in cypress-io/cypress#4193, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Jul 9, 2019

Released in 3.4.0.

@joekrump
Copy link

I'm still running into issues with installing version 3.4.0 on my Buildkite server. The issue is now with mismatching checksums. Details left here: #4840 (comment)

@jennifer-shehane jennifer-shehane added CI General issues involving running in a CI provider and removed CI: circle labels Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI General issues involving running in a CI provider OS: linux type: regression A bug that didn't appear until a specific Cy version release
Projects
None yet
Development

Successfully merging a pull request may close this issue.