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

Upload-artifact error in xmodule-with-lms/xmodule-with-cms tests in CI #36160

Open
robrap opened this issue Jan 23, 2025 · 1 comment
Open

Upload-artifact error in xmodule-with-lms/xmodule-with-cms tests in CI #36160

robrap opened this issue Jan 23, 2025 · 1 comment

Comments

@robrap
Copy link
Contributor

robrap commented Jan 23, 2025

The error reported is:

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

Additional sample output:

Run actions/upload-artifact@v4
  with:
    name: pytest-warnings-json-xmodule-with-lms
    path: test_root/log/pytest_warnings*.json
  
    overwrite: true
    if-no-files-found: warn
    compression-level: 6
    include-hidden-files: false
  env:
    pythonLocation: /opt/hostedtoolcache/Python/3.11.11/x64
    PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.11.11/x64/lib/pkgconfig
    Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.11/x64
    Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.11/x64
    Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.11/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.11.11/x64/lib
    settings_path: lms.envs.test
    unit_test_paths: xmodule/
With the provided path, there will be 1 file uploaded
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
@robrap robrap changed the title Upload-artifact error in xmodule-with-lms test Upload-artifact error in xmodule-with-lms test CI Jan 23, 2025
@robrap
Copy link
Contributor Author

robrap commented Jan 23, 2025

Also noting that a contributor was confused and didn't know to re-run failed tests. Hopefully we can correct this issue, but not sure whether it would help to have guidance around this somewhere.

@robrap robrap changed the title Upload-artifact error in xmodule-with-lms test CI Upload-artifact error in xmodule-with-lms/xmodule-with-cms tests in CI Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant