Skip to content

Upload-artifact error in edx-platform unit tests CI #34985

@timmc-edx

Description

@timmc-edx

Starting 2024-06-12 we've seen a number of instances of an error during unit-test CI runs on the master branch: an artifact with this name already exists on the workflow run. It seems to always succeed on re-run, but is affecting most or all commits as of 2024-06-13.

Notes

Sample instance

Run actions/upload-artifact@v4
With the provided path, there will be 1 file uploaded
Artifact 'pytest-warnings-json' (ID: 1597981853) deleted
Artifact name is valid!
Root directory input is valid!
Error: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run

The config reported for upload-artifact in that run:

   with:
    name: pytest-warnings-json
    path: test_root/log/pytest_warnings*.json
  
    overwrite: true
    if-no-files-found: warn
    compression-level: 6

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions