#11174 Copr importing builds stuck
Closed: Fixed a year ago by praiskup. Opened a year ago by justinz.


I restarted copr-dist-git service... it seemed to be stuck.

I think it's processing again now.

Will leave this open for copr folks to look at...

CC: @praiskup @frostyx

It was good for a bit and now it appears to be jammed up again. Two packages stuck for 5 minutes on importing.

Thank you for the report, this seems cgit again (or list of projects is too long).
I dropped the executable bit from the cgit binary, and tracking here:
https://github.com/fedora-copr/copr/issues/2410
Sorry for the inconvenience.

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

a year ago

Thank you for the report

Thx for fixing. Quite a few builds now worked for me, but two of my build fail at the import step now; deleting and trying again doesn't help. Am I doing something wrong, or is there maybe something jammed after the incident earlier?

https://copr.fedorainfracloud.org/coprs/g/kernel-vanilla/next/build/5622256/
https://copr.fedorainfracloud.org/coprs/g/kernel-vanilla/mainline-wo-mergew/build/5622019/

Log from the first:
https://copr-dist-git.fedorainfracloud.org/per-task-logs/5622256.log

IGNORING: Package module @kernel-vanilla/next/next-next-all already has a branch f36
Branch already exists...continuing
repo_dir: /tmp/tmpqlesa57i
clone the pkg repository into repo_dir directory
Cloning /var/lib/dist-git/git/@kernel-vanilla/next/next-next-all
Cloning into: /tmp/tmpqlesa57i
Running: git clone /var/lib/dist-git/git/@kernel-vanilla/next/next-next-all --origin origin /tmp/tmpqlesa57i
Failed to clone the Git repository and add files.
Releasing lock "/var/lib/dist-git/cache/lookaside/pkgs/@kernel-vanilla/next/next-next-all/import.lock"
Exception raised during package import.
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/copr_dist_git/package_import.py", line 193, in import_package
    commands.clone(reponame, target=repo_dir)
  File "/usr/lib/python3.11/site-packages/pyrpkg/__init__.py", line 1619, in clone
    self._run_command(cmd, cwd=path)
  File "/usr/lib/python3.11/site-packages/pyrpkg/__init__.py", line 1297, in _run_command
    raise rpkgError('Failed to execute command.')
pyrpkg.errors.rpkgError: Failed to execute command.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/copr_dist_git/importer.py", line 87, in do_import
    result.update(import_package(
                  ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/copr_dist_git/package_import.py", line 196, in import_package
    raise PackageImportException(str(e))
copr_dist_git.exceptions.PackageImportException: Failed to execute command.
sending a response for task {'build_id': 5622256}
Sending back: 
{"build_id": 5622256}
Starting new HTTPS connection (1): copr.fedorainfracloud.org:443
https://copr.fedorainfracloud.org:443 "POST /backend/import-completed/ HTTP/1.1" 200 17

Filed a new issue, just to be sure this is seen by the right people:

https://pagure.io/fedora-infrastructure/issue/11176

Login to comment on this ticket.

Metadata