Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Percy visual testing snapshot getting faild

Having bitbucket pipeline code


image: atlassian/default-image:3

pipelines: # This is an example Starter pipeline configuration
      - step:
          name: 'Percy for Static Sites'
            - npm install -D @percy/cli
            - npx percy snapshot ./


Getting this build failed with below error logs

+ umask 000
+ GIT_LFS_SKIP_SMUDGE=1 retry 6 git clone --branch="master" --depth 50 https://x-token-auth:$$BITBUCKET_REPO_FULL_NAME.git $BUILD_DIR
Cloning into '/opt/atlassian/pipelines/agent/build'...
+ git reset --hard b76da9688750472362fd6aebedd2795453f8c966
HEAD is now at b76da96 Percy with build22
+ git config bitbucket-pipelines
+ git config
+ git config push.default current
+ git config http.${BITBUCKET_GIT_HTTP_ORIGIN}.proxy http://localhost:29418/
+ git remote set-url origin$BITBUCKET_REPO_FULL_NAME
+ git reflog expire --expire=all --all
+ echo ".bitbucket/pipelines/generated" >> .git/info/exclude
+ chmod 777 $BUILD_DIR

Images used:
build :
+ npm install -D @percy/cli

> @percy/core@1.0.0-beta.74 postinstall /opt/atlassian/pipelines/agent/build/node_modules/@percy/core
> node ./post-install

npm WARN saveError ENOENT: no such file or directory, open '/opt/atlassian/pipelines/agent/build/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/opt/atlassian/pipelines/agent/build/package.json'
npm WARN build No description
npm WARN build No repository field.
npm WARN build No README data
npm WARN build No license field.

+ @percy/cli@1.0.0-beta.74
added 110 packages from 116 contributors and audited 110 packages in 6.204s

10 packages are looking for funding
run `npm fund` for details

found 0 vulnerabilities

+ npx percy snapshot ./
[percy] Downloading Chromium 885264...
[percy] Successfully downloaded Chromium 885264
[percy] Error: Failed to launch browser. 
/opt/atlassian/pipelines/agent/build/node_modules/@percy/core/.local-chromium/885264/chrome-linux/chrome: error while loading shared libraries: cannot open shared object file: No such file or directory

Searching for test report files in directories named [test-results, failsafe-reports, test-reports, TestResults, surefire-reports] down to a depth of 4
Finished scanning for test reports. Found 0 test report files.
Merged test suites, total number tests is 0, with 0 failures and 0 errors.
Error: Failed to launch browser.
/opt/atlassian/pipelines/agent/build/node_modules/@percy/core/.local-chromium/885264/chrome-linux/chrome: error while loading shared libraries: cannot open shared object file: No such file or directory

1 answer

0 votes

Hi, @Santosh Kori, thank you for reaching out to Atlassian Community.

Could you please test your Pipelines build locally in a Docker container and see if it’s happening there as well? You can follow the steps described here: 

Looking forward to hearing from you. 

Kind regards,

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events