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

Weird copr-ping failure - race in CloudFront? #3178

Open
praiskup opened this issue Mar 6, 2024 · 0 comments
Open

Weird copr-ping failure - race in CloudFront? #3178

praiskup opened this issue Mar 6, 2024 · 0 comments

Comments

@praiskup
Copy link
Member

praiskup commented Mar 6, 2024

Import error has failed with:

Downloading https://download.copr.fedorainfracloud.org/results/@copr/copr-ping/srpm-builds/07112483/buildtag-0-0.src.rpm
Starting new HTTPS connection (1): download.copr.fedorainfracloud.org:443
https://download.copr.fedorainfracloud.org:443 "GET /results/@copr/copr-ping/srpm-builds/07112483/buildtag-0-0.src.rpm HTTP/1.1" 404 341
Exception raised during package import.
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/copr_dist_git/helpers.py", line 172, in download_file
    r = request.send(url, method='get', stream=True)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/copr_common/request.py", line 49, in send
    return self._send_request_repeatedly(url, method=method, data=data,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/copr_common/request.py", line 107, in _send_request_repeatedly
    return self._send_request(url, method=method, data=data,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/copr_common/request.py", line 83, in _send_request
    raise RequestError(
copr_common.request.RequestError: Request client error on https://download.copr.fedorainfracloud.org/results/@copr/copr-ping/srpm-builds/07112483/buildtag-0-0.src.rpm: 404 Not Found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/copr_dist_git/importer.py", line 79, in do_import
    srpm_path = helpers.download_file(
                ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/copr_dist_git/helpers.py", line 174, in download_file
    raise FileDownloadException(str(e))
copr_dist_git.exceptions.FileDownloadException: Request client error on https://download.copr.fedorainfracloud.org/results/@copr/copr-ping/srpm-builds/07112483/buildtag-0-0.src.rpm: 404 Not Found
sending a response for task {'build_id': 7112483}
Sending back: 
{"build_id": 7112483}
Starting new HTTPS connection (1): copr.fedorainfracloud.org:443
https://copr.fedorainfracloud.org:443 "POST /backend/import-completed/ HTTP/1.1" 200 17

But the source build succeeded, and the RPM exists now. Perhaps we are marking the job "importing" too soon?

@github-project-automation github-project-automation bot moved this to Needs triage in CPT Kanban Mar 6, 2024
@praiskup praiskup moved this from Needs triage to In 3 months in CPT Kanban Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In 3 months
Development

No branches or pull requests

1 participant