Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-16317

[Archery][CI] Fix possible race condition when submitting crossbow builds

    XMLWordPrintableJSON

Details

    Description

      Sometimes when trying to use github-actions to submit crossbow jobs an error is raised like:

      Failed to push updated references, potentially because of credential issues: ['refs/heads/actions-1883-github-wheel-windows-cp310-amd64', 'refs/tags/actions-1883-github-wheel-windows-cp310-amd64', 'refs/heads/actions-1883-github-wheel-windows-cp39-amd64', 'refs/tags/actions-1883-github-wheel-windows-cp39-amd64', 'refs/heads/actions-1883-github-wheel-windows-cp37-amd64', 'refs/tags/actions-1883-github-wheel-windows-cp37-amd64', 'refs/heads/actions-1883-github-wheel-windows-cp38-amd64', 'refs/tags/actions-1883-github-wheel-windows-cp38-amd64', 'refs/heads/actions-1883']
      The Archery job run can be found at: https://github.com/apache/arrow/actions/runs/2195038965

      As discussed on this github comment (https://github.com/apache/arrow/pull/12930#issuecomment-1103772507)

      We should remove the auto incremented IDs entirely and use unique hashes instead, e.g.: actions-<short-hash>-github-wheel-windows-cp310-amd64 instead of actions-1883-github-wheel-windows-cp310-amd64. Then we wouldn't need to fetch the new references either, making remote crossbow builds and local submission much quicker.

      The error can also be seen here: https://github.com/apache/arrow/pull/12987#issuecomment-1108516668

      Attachments

        Issue Links

          Activity

            People

              raulcd Raúl Cumplido
              raulcd Raúl Cumplido
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h 50m
                  3h 50m