#1881 GPG signing error - connection timed out (from BE to KG)
Closed: Fixed 2 years ago by praiskup. Opened 2 years ago by praiskup.

[2021-08-02 08:07:19,031][ ERROR][PID:1022024][/usr/bin/copr-backend-process-build.managed.pid-1022024][sign.py:sign_rpms_in_dir:129] failed to sign rpm: /var/lib/copr/public_html/results/packit/cockpit-project-cockpit-16000/srpm-builds/02356610/cockpit-249-1.20210802080437797200.pr16000.87.g81f4f2444.fc33.src.rpm
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/copr_backend/sign.py", line 125, in sign_rpms_in_dir
    _sign_one(rpm, create_gpg_email(username, projectname))
  File "/usr/lib/python3.9/site-packages/copr_backend/sign.py", line 87, in _sign_one
    raise err
copr_backend.exceptions.CoprSignError: Failed to sign /var/lib/copr/public_html/results/packit/cockpit-project-cockpit-16000/srpm-builds/02356610/cockpit-249-1.20210802080437797200.pr16000.87.g81f4f2444.fc33.src.rpm by user packit#cockpit-project-cockpit-16000@copr.fedorahosted.org
return code 1 after invocation of: ['/bin/sign', '-u', 'packit#cockpit-project-cockpit-16000@copr.fedorahosted.org', '-r', '/var/lib/copr/public_html/results/packit/cockpit-project-cockpit-16000/srpm-builds/02356610/cockpit-249-1.20210802080437797200.pr16000.87.g81f4f2444.fc33.src.rpm']
stderr:
stdout: 54.83.48.73: Connection timed out

This doesn't happen always, nor often. Though we should give it another try if that happens.

After a retry, the same cockpit PR that @praiskup reported now worked. So indeed it's intermittent.

Metadata Update from @praiskup:
- Issue assigned to praiskup

2 years ago

This is still randomly happening, even after the server reboot.

The timeout always comes after 130s.

And this :-(

[2021-08-03 15:10:18,872][ ERROR][PID:1254541][/usr/bin/copr-backend-process-build.managed.pid-1254541][background_worker_build.py:handle_task:790] Copr GPG signing problems: Failed to get user pubkey
sign stdout:
 sign stderr: 54.83.48.73: Connection timed out


return code 1 after invocation of: ['/bin/sign', '-u', '@python#python3.10@copr.fedorahosted.org', '-p']
stderr:
stdout: 54.83.48.73: Connection timed out

Log in to comment on this ticket.

Metadata
Related Pull Requests
  • #1883 Merged 2 years ago
  • #1882 Closed 2 years ago