#1691 movement from centos-stream to centos-stream-8 is not trivial
Closed: Fixed 3 years ago by praiskup. Opened 3 years ago by praiskup.

I tested this on copr-fe-dev today:

begin; insert into dist_git_branch values ('cs8'); update mock_chroot set os_version='stream-8', distgit_branch_name='cs8' where id = 75; commit ;

and the copr stack can not handle this format, backend traceback:

[2021-02-08 14:16:33,929][ ERROR][PID:2886770][/usr/bin/copr-backend-process-build.managed.pid-2886770][background_worker_build.py:handle_task:757] Unexpected exception
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-fe-dev.cloud.fedoraproject.org/backend/get-build-task/862795-centos-stream-8-x86_64/: 404 NOT FOUND

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/copr_backend/background_worker_build.py", line 751, in handle_task
    self.handle_build()
  File "/usr/lib/python3.9/site-packages/copr_backend/background_worker_build.py", line 743, in handle_build
    self._get_build_job()
  File "/usr/lib/python3.9/site-packages/copr_backend/background_worker_build.py", line 321, in _get_build_job
    resp = self.frontend_client.get(target)
  File "/usr/lib/python3.9/site-packages/copr_backend/frontend.py", line 33, in get
    return self.send(url_path, method='get')
  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-fe-dev.cloud.fedoraproject.org/backend/get-build-task/862795-centos-stream-8-x86_64/: 404 NOT FOUND

I applied this today, it gives us some time even when the new mock-core-configs
go stable:
https://pagure.io/fedora-infra/ansible/c/391e4ea7afdd6e66182de1a2f2fdb5fef95b414e?branch=main

Metadata Update from @praiskup:
- Issue assigned to praiskup

3 years ago

I initially applied a wrong change in DB, fixed since then and later applied related fix 6deba09

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