#1652 End of copr_prune_result.py fails
Closed: Fixed 3 years ago by praiskup. Opened 3 years ago by msuchy.

At the end of run:
/etc/cron.daily/copr-backend
(when you watch the output that is normally sent to dev/null) I see:

Setting final_prunerepo_done for deactivated chroots
Request client error on https://copr.fedorainfracloud.org/backend/['centos-stream-ppc64le', 'custom-1-ppc64le', 'epel-7-ppc64le', 'epel-8-ppc64le', 'fedora-29-aarch64', 'fedora-29-i386', 'fedora-29-ppc64le', 'fedora-29-x86_64', 'fedora-30-aarch64', 'fedora-30-i386', 'fedora-30-ppc64le', 'fedora-30-x86_64', 'fedora-31-aarch64', 'fedora-31-armhfp', 'fedora-31-i386', 'fedora-31-ppc64le', 'fedora-31-s390x', 'fedora-31-x86_64', 'fedora-32-ppc64le', 'fedora-33-ppc64le', 'fedora-eln-armhfp', 'fedora-rawhide-ppc64le', 'mageia-6-i586', 'mageia-6-x86_64', 'mageia-8-aarch64', 'opensuse-leap-15.0-x86_64', 'opensuse-tumbleweed-ppc64le', 'rhelbeta-8-aarch64', 'rhelbeta-8-x86_64']/: 404 NOT FOUND
Request client error on https://copr.fedorainfracloud.org/backend/['centos-stream-ppc64le', 'custom-1-ppc64le', 'epel-7-ppc64le', 'epel-8-ppc64le', 'fedora-29-aarch64', 'fedora-29-i386', 'fedora-29-ppc64le', 'fedora-29-x86_64', 'fedora-30-aarch64', 'fedora-30-i386', 'fedora-30-ppc64le', 'fedora-30-x86_64', 'fedora-31-aarch64', 'fedora-31-armhfp', 'fedora-31-i386', 'fedora-31-ppc64le', 'fedora-31-s390x', 'fedora-31-x86_64', 'fedora-32-ppc64le', 'fedora-33-ppc64le', 'fedora-eln-armhfp', 'fedora-rawhide-ppc64le', 'mageia-6-i586', 'mageia-6-x86_64', 'mageia-8-aarch64', 'opensuse-leap-15.0-x86_64', 'opensuse-tumbleweed-ppc64le', 'rhelbeta-8-aarch64', 'rhelbeta-8-x86_64']/: 404 NOT FOUND
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/copr_backend/frontend.py", line 53, in send
    response = request.send(url, method=method, data=data)
  File "/usr/lib/python3.9/site-packages/copr_common/request.py", line 51, in send
    return self._send_request_repeatedly(url, method=method, data=data)
  File "/usr/lib/python3.9/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.9/site-packages/copr_common/request.py", line 83, in _send_request
    raise RequestError(
copr_common.request.RequestError: Request client error on https://copr.fedorainfracloud.org/backend/['centos-stream-ppc64le', 'custom-1-ppc64le', 'epel-7-ppc64le', 'epel-8-ppc64le', 'fedora-29-aarch64', 'fedora-29-i386', 'fedora-29-ppc64le', 'fedora-29-x86_64', 'fedora-30-aarch64', 'fedora-30-i386', 'fedora-30-ppc64le', 'fedora-30-x86_64', 'fedora-31-aarch64', 'fedora-31-armhfp', 'fedora-31-i386', 'fedora-31-ppc64le', 'fedora-31-s390x', 'fedora-31-x86_64', 'fedora-32-ppc64le', 'fedora-33-ppc64le', 'fedora-eln-armhfp', 'fedora-rawhide-ppc64le', 'mageia-6-i586', 'mageia-6-x86_64', 'mageia-8-aarch64', 'opensuse-leap-15.0-x86_64', 'opensuse-tumbleweed-ppc64le', 'rhelbeta-8-aarch64', 'rhelbeta-8-x86_64']/: 404 NOT FOUND

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/tmp/copr_prune_results.py", line 232, in main
    pruner.run()
  File "/tmp/copr_prune_results.py", line 115, in run
    self.frontend_client.post(chroots_to_prune, "final-prunerepo-done")
  File "/usr/lib/python3.9/site-packages/copr_backend/frontend.py", line 37, in post
    return self.send(url_path, data=data)
  File "/usr/lib/python3.9/site-packages/copr_backend/frontend.py", line 56, in send
    raise FrontendClientException(ex)
copr_backend.exceptions.FrontendClientException: Request client error on https://copr.fedorainfracloud.org/backend/['centos-stream-ppc64le', 'custom-1-ppc64le', 'epel-7-ppc64le', 'epel-8-ppc64le', 'fedora-29-aarch64', 'fedora-29-i386', 'fedora-29-ppc64le', 'fedora-29-x86_64', 'fedora-30-aarch64', 'fedora-30-i386', 'fedora-30-ppc64le', 'fedora-30-x86_64', 'fedora-31-aarch64', 'fedora-31-armhfp', 'fedora-31-i386', 'fedora-31-ppc64le', 'fedora-31-s390x', 'fedora-31-x86_64', 'fedora-32-ppc64le', 'fedora-33-ppc64le', 'fedora-eln-armhfp', 'fedora-rawhide-ppc64le', 'mageia-6-i586', 'mageia-6-x86_64', 'mageia-8-aarch64', 'opensuse-leap-15.0-x86_64', 'opensuse-tumbleweed-ppc64le', 'rhelbeta-8-aarch64', 'rhelbeta-8-x86_64']/: 404 NOT FOUND

This is very likely caused by self.frontend_client.post(chroots_to_prune, "final-prunerepo-done")


There are other problems like:
[2021-01-12 21:05:59,685][ ERROR]: HTTPSConnectionPool(host='copr.fedorainfracloud.org', port=443): Max retries exceeded with url: /api/coprs/ilmostro2/devtoolset-3-sdl2/detail/ (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9db6a7cc10>: Failed to establish a new connection: [Errno -2] Name or service not known'))

Metadata Update from @praiskup:
- Issue tagged with: bug

3 years ago

Metadata Update from @praiskup:
- Issue assigned to praiskup

3 years ago

Metadata Update from @praiskup:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

3 years ago

Log in to comment on this ticket.

Metadata