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

Percy cli throws error when finalizing a build #1293

Closed
mbr-sn opened this issue Jun 29, 2023 · 1 comment
Closed

Percy cli throws error when finalizing a build #1293

mbr-sn opened this issue Jun 29, 2023 · 1 comment

Comments

@mbr-sn
Copy link

mbr-sn commented Jun 29, 2023

The problem

I am doing a percy cli run, with 2556 pages / URLs to snapshot.
At the end of the run I get the following error:

[percy:client] Finalizing build 12345678... (1ms) [percy:cli] Error: Finalizing build 12345678 failed: cannot finalize before all snapshot resources are uploaded. This is likely a client error, please make sure that content for all SHAs in 'missing-resources' from the snapshot response are uploaded before calling finalize. at handleFinished (file:///usr/lib/node_modules/@percy/cli/node_modules/@percy/client/dist/utils.js:186:17) at IncomingMessage.<anonymous> (file:///usr/lib/node_modules/@percy/cli/node_modules/@percy/client/dist/utils.js:202:27) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1359:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) (317ms)
Similar runs are fine with fewer pages to snapshot.

Where does Percy cli (or headless chromium) store temporary files by the way? Could this be a disk space issue on a temp folder?

Environment

  • Node version: npm@9.5.1 node@v18.16.0
  • @percy/cli version: @percy/core@1.26.0
  • Version of Percy SDK you’re using: n/a
  • If needed, a build or snapshot ID:
  • OS version: Redhat Centos 8
  • Type of shell command-line [interface]: bash

Details

percy.yml
version: 2 snapshot: widths: [375, 1280] min-height: 2000 enable-javascript: true discovery: network-idle-timeout: 500 disable-cache: false concurrency: 4 launch-options: headless: true timeout: 30000

Debug logs

See above

Code to reproduce issue

Not really reproducible

@itsjwala
Copy link
Contributor

This is related to #1137

Please reach out to us via our support, we'll be happy to assist further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants