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

Artificact file name collisions in end2end-tests workflow. #58995

Closed
peterwilsoncc opened this issue Feb 14, 2024 · 1 comment · Fixed by #61338
Closed

Artificact file name collisions in end2end-tests workflow. #58995

peterwilsoncc opened this issue Feb 14, 2024 · 1 comment · Fixed by #61338
Labels
[Package] E2E Tests /packages/e2e-tests [Type] Bug An existing feature does not function as intended

Comments

@peterwilsoncc
Copy link
Contributor

Description

Each of the runs in the E2E workflow use the same file names for uploading artifacts:

  • failures-artifacts
  • flaky-tests-report

In the event multiple runs in the workflow fail, this results in errors on the GitHub action:

Error: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run

Step-by-step reproduction instructions

  1. Go to https://github.com/WordPress/gutenberg/actions/runs/7896354080/job/21550242344
  2. View the Playwright 6 log
  3. The failed tests will show the error above.

Screenshots, screen recording, code snippet

Screenshot in case the logs go missing.

Screen Shot 2024-02-14 at 4 08 03 pm

Environment info

GitHub, Gutenberg Trunk.

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@peterwilsoncc peterwilsoncc added the [Type] Bug An existing feature does not function as intended label Feb 14, 2024
@Mamaduka
Copy link
Member

We can probably use the pattern suggested here - actions/upload-artifact#478.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] E2E Tests /packages/e2e-tests [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants