Bug 1321462 - Max retries exceeded with url: /pkgdb//api/package/retire/ (Caused by ResponseError('too many 500 error responses',)
Summary: Max retries exceeded with url: /pkgdb//api/package/retire/ (Caused by Respons...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: fedpkg
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dennis Gilmore
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-27 14:51 UTC by Igor Gnatenko
Modified: 2016-04-15 07:48 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-15 07:48:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Igor Gnatenko 2016-03-27 14:51:16 UTC
[brain@x1carbon php-swift-Swift]$ fedpkg retire "obsolete by php-swiftmailer"
rm '.gitignore'
rm 'php-swift-Swift.spec'
rm 'sources'
[master 5b28bca] obsolete by php-swiftmailer
 4 files changed, 1 insertion(+), 158 deletions(-)
 delete mode 100644 .gitignore
 create mode 100644 dead.package
 delete mode 100644 php-swift-Swift.spec
 delete mode 100644 sources
Counting objects: 3, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (1/1), done.
Writing objects: 100% (3/3), 292 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
remote: Emitting a message to the fedmsg bus.
remote: * Publishing information for 1 commits
To ssh://ignatenkobrain.org/rpms/php-swift-Swift
   f947c01..5b28bca  master -> master
FAS password for user ignatenkobrain: 
Could not retire package: HTTPSConnectionPool(host='admin.fedoraproject.org', port=443): Max retries exceeded with url: /pkgdb//api/package/retire/ (Caused by ResponseError('too many 500 error responses',))

Comment 1 Igor Gnatenko 2016-03-27 14:55:42 UTC
packagedb-cli-2.12-1.fc25.noarch

[brain@x1carbon php-swift-Swift]$ pkgdb-cli orphan php-swift-Swift master --ns rpms --retire
FAS password for user ignatenkobrain: 
user: ignatenkobrain updated package: php-swift-Swift status from: Approved to Retired on branch: master


So looks like bug in fedpkg.

fedpkg-1.22-2.fc25.noarch

Comment 2 Zbigniew Jędrzejewski-Szmek 2016-04-05 13:17:38 UTC
The workaround doesn't work now:

$ fedpkg retire "Renamed to rubygem-connection_pool"
rm '.gitignore'
rm 'rubygem-connection_pool.spec'
rm 'sources'
[master 6c8529bcb5] Renamed to rubygem-connection_pool
 4 files changed, 1 insertion(+), 89 deletions(-)
 delete mode 100644 .gitignore
 create mode 100644 dead.package
 delete mode 100644 rubygem-connection_pool.spec
 delete mode 100644 sources
Counting objects: 3, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (1/1), done.
Writing objects: 100% (3/3), 320 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
remote: Emitting a message to the fedmsg bus.
remote: * Publishing information for 1 commits
To ssh://zbyszek.org/rpms/rubygem-connection-pool
   418c4d48e6..6c8529bcb5  master -> master
FAS password for user zbyszek: 
Could not retire package: HTTPSConnectionPool(host='admin.fedoraproject.org', port=443): Max retries exceeded with url: /pkgdb//api/package/retire/ (Caused by ResponseError('too many 500 error responses',))

$ pkgdb-cli orphan rubygem-connection-pool master --ns rpms --retire
FAS password for user zbyszek: 
Error: HTTPSConnectionPool(host='admin.fedoraproject.org', port=443): Max retries exceeded with url: /pkgdb/api/package/retire/ (Caused by ResponseError('too many 500 error responses',))
ERROR:root:Generic error catched:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/pkgdb2client/cli.py", line 1002, in main
    arg.func(arg)
  File "/usr/lib/python2.7/site-packages/pkgdb2client/cli.py", line 711, in do_orphan
    pkgs, branches, namespace=namespace)
  File "/usr/lib/python2.7/site-packages/pkgdb2client/__init__.py", line 744, in retire_packages
    return self.handle_api_call('/package/retire/', data=args)
  File "/usr/lib/python2.7/site-packages/pkgdb2client/__init__.py", line 211, in handle_api_call
    output = self.call_api(path, params, data)
  File "/usr/lib/python2.7/site-packages/pkgdb2client/__init__.py", line 192, in call_api
    data = self.send_request(url, **kwargs)
  File "/usr/lib/python2.7/site-packages/fedora/client/openidbaseclient.py", line 240, in send_request
    output = func(method, **kwargs)
  File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 511, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 468, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 576, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 435, in send
    raise RetryError(e, request=request)
RetryError: HTTPSConnectionPool(host='admin.fedoraproject.org', port=443): Max retries exceeded with url: /pkgdb/api/package/retire/ (Caused by ResponseError('too many 500 error responses',))

Comment 3 Charalampos Stratakis 2016-04-14 14:05:32 UTC
I encounter the exact same tracebacks when trying to retire sasquatch and pipsi packages.

Comment 4 Lubomír Sedlář 2016-04-15 07:48:36 UTC
The fedpkg issue is fixed in 1.23-1.

Please note that there is a related issue opened against packagedb-cli
https://bugzilla.redhat.com/show_bug.cgi?id=1317579


Note You need to log in before you can comment on or make changes to this bug.