Skip to content

Add workaround to retry git clone failures #240

Description

@carlcsaposs-canonical

GitHub infrastructure issues (on GitHub-hosted runners):
https://support.github.com/ticket/2884386
https://support.github.com/ticket/2983134

related bug reports (for first ticket):
actions/upload-artifact#560 (comment)
actions/upload-artifact#569 (comment)
actions/download-artifact#338

example issue: https://github.com/canonical/mysql-k8s-operator/actions/runs/11246458889/job/31268560569#step:22:47

 determining package name from 'git+https://github.com/canonical/jhack'...
  error: subprocess-exited-with-error
  
  × git clone --filter=blob:none --quiet https://github.com/canonical/jhack /tmp/pip-req-build-ievseulf did not run successfully.
  │ exit code: 128
  ╰─> [1 lines of output]
      fatal: unable to access 'https://github.com/canonical/jhack/': Failed to connect to github.com port 443 after 132796 ms: Connection timed out
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× git clone --filter=blob:none --quiet https://github.com/canonical/jhack /tmp/pip-req-build-ievseulf did not run successfully.
│ exit code: 128
╰─> See above for output.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions