Skip to content

Unzipping Cypress fails on Concourse #3515

Description

@aryzing

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

CIGeneral issues involving running in a CI providerOS: linuxtype: regressionA bug that didn't appear until a specific Cy version release

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions