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

Warning: We failed to remove old browser profiles from previous runs. This error will not affect or change the exit code. #29413

Open
muneebrana23 opened this issue Apr 25, 2024 · 1 comment
Labels
stage: needs information Not enough info to reproduce the issue

Comments

@muneebrana23
Copy link

muneebrana23 commented Apr 25, 2024

Current behavior

While Executing Cypress scripts from Jenkins, I face this warning even I'm cleaning workplace in post build action. How I can fix the issue?

DevTools listening on ws://127.0.0.1:50181/devtools/browser/2914ddcc-cea1-46bd-922c-5eff9e768760
Warning: We failed to remove old browser profiles from previous runs.

This error will not affect or change the exit code.

Desired behavior

It should not show the warning.

Test code to reproduce

simply execute any code in Jenkins via launching jenkins from Java -jar jenkins.war

Cypress Version

13.2.0

Node version

v18.18.-

Operating System

Windows 10

Debug Logs

DevTools listening on ws://127.0.0.1:50181/devtools/browser/2914ddcc-cea1-46bd-922c-5eff9e768760
Warning: We failed to remove old browser profiles from previous runs.

This error will not affect or change the exit code.

Other

No response

@jennifer-shehane
Copy link
Member

@muneebrana23 We try to remove old browser profiles that are no longer active. In this case it's failing for some reason. Is the Cypress App Data directory available on the machine? This is safe to ignore though.

@jennifer-shehane jennifer-shehane added the stage: needs information Not enough info to reproduce the issue label Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stage: needs information Not enough info to reproduce the issue
Projects
None yet
Development

No branches or pull requests

2 participants