dmsimard's blog saved my day - 
https://dmsimard.com/2016/12/12/updates-to-fedora-account-system-and-impacts-to-fedpkg-koji/

Thanks,
Ravindra

From: Ravindra Kumar [mailto:ravindraku...@vmware.com]
Sent: Thursday, February 16, 2017 5:02 PM
To: ad...@fedoraproject.org
Cc: devel@lists.fedoraproject.org
Subject: 'fedpkg build' hang issue


Hi,



I've been trying to run 'fedpkg build' command on rawhide and it keeps hanging.



I came across https://bugzilla.redhat.com/show_bug.cgi?id=1207178  and I have 
regenerated my cert multiple times already but no luck.



I have deleted ~/.fedora and ~/.fedora*. I re-ran fedora-packager-setup and 
fedora-cert commands.



When I ran 'fedpkg -v build', it gets stuck at "Initiating a koji session to 
http://koji.fedoraproject.org/kojihub<https://urldefense.proofpoint.com/v2/url?u=http-3A__koji.fedoraproject.org_kojihub&d=DwMFAw&c=uilaK90D4TOVoH58JNXRgQ&r=aZsLUJKYvWoupaq4qdwhtidvOzf1DJHwbbbs8U9cmMA&m=7NwjJBonV-imNrgyn5nx6jZrbOuBDF4sm6dhH2Ap6MY&s=jOUmPtM6JhOmHO2L9IsVSLlFTFm1MYV8bBaZEwWeEa8&e=>"
 for quite some time and then prints an exception backtrace.

Initiating a koji session to http://koji.fedoraproject.org/kojihub
/usr/lib/python2.7/site-packages/pyrpkg/__init__.py:309: DeprecationWarning: 
BaseException.message has been deprecated as of Python 2.6
  for (_, _, ssl_reason) in error.message:
You might want to run fedora-packager-setup to regenerate SSL certificate. For 
more info see 
https://fedoraproject.org/wiki/Using_the_Koji_build_system#Fedora_Account_System_.28FAS2.29_Setup
Could not execute build: Could not auth with koji. Login failed: [('SSL 
routines', 'ssl3_get_server_certificate', 'certificate verify failed')]
Traceback (most recent call last):
  File "/usr/bin/fedpkg", line 16, in <module>
    main()
  File "/usr/lib/python2.7/site-packages/fedpkg/__main__.py", line 69, in main
    sys.exit(client.args.command())
  File "/usr/lib/python2.7/site-packages/pyrpkg/cli.py", line 939, in build
    sets, nvr_check)
  File "/usr/lib/python2.7/site-packages/pyrpkg/__init__.py", line 1846, in 
build
    build_target = self.kojisession.getBuildTarget(self.target)
  File "/usr/lib/python2.7/site-packages/pyrpkg/__init__.py", line 469, in 
kojisession
    self.load_kojisession()
  File "/usr/lib/python2.7/site-packages/fedpkg/__init__.py", line 315, in 
load_kojisession
    return super(Commands, self).load_kojisession(anon)
  File "/usr/lib/python2.7/site-packages/pyrpkg/__init__.py", line 316, in 
load_kojisession
    'failed: %s' % error)
pyrpkg.errors.rpkgAuthError: Could not auth with koji. Login failed: [('SSL 
routines', 'ssl3_get_server_certificate', 'certificate verify failed')]



Anyone else faced it?



Any suggestions about what could be wrong with my cert.



Thanks,

Ravindra
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to