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

Closed
muneebrana23 opened this issue Apr 25, 2024 · 3 comments
Labels
type: duplicate This issue or pull request already exists

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
@WeisSebastian
Copy link

WeisSebastian commented Aug 15, 2024

@jennifer-shehane Getting the same error everytime we run it through jenkins. Due to #30043 also occuring this is actually not that safe to ignore.

Cypress 13.13.2, Windows 11, Node 20.16.0
failed_to_delete_log.txt

@jennifer-shehane
Copy link
Member

Going to close this as a duplicate of #30043 since it has more logs + info.

@jennifer-shehane jennifer-shehane closed this as not planned Won't fix, can't repro, duplicate, stale Aug 15, 2024
@jennifer-shehane jennifer-shehane added type: duplicate This issue or pull request already exists and removed stage: needs information Not enough info to reproduce the issue labels Aug 15, 2024
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants