Mailinglist Archive: opensuse-bugs (4037 mails)

< Previous Next >
[Bug 710351] New: osc fails to import rpm keys for repositories
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 4 Aug 2011 12:48:43 +0000
  • Message-id: <bug-710351-21960@http.bugzilla.novell.com/>

https://bugzilla.novell.com/show_bug.cgi?id=710351

https://bugzilla.novell.com/show_bug.cgi?id=710351#c0


Summary: osc fails to import rpm keys for repositories
Classification: openSUSE
Product: openSUSE 12.1
Version: Factory
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Development
AssignedTo: suse-tux@xxxxxx
ReportedBy: idonmez@xxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---
Blocker: ---


This seems to be a regression. How to reproduce

osc co openSUSE:Factory/joe
cd openSUSE:Factory/joe
osc build

Building joe.spec for standard/x86_64
Getting buildinfo from server and store to
/kutu/stuff/scratch/openSUSE:Factory/joe/.osc/_buildinfo-standard-x86_64.xml
Getting buildconfig from server and store to
/kutu/stuff/scratch/openSUSE:Factory/joe/.osc/_buildconfig-standard-x86_64
Updating cache of required packages
0.0% cache miss. 111/111 dependencies cached.

Verifying integrity of cached packages
using keys from openSUSE:Factory
/kutu/tmp/osbuild-packagecache/openSUSE:Factory/_pubkey :failed to import
pubkey
Traceback (most recent call last):
File "/suse/idoenmez/bin/osc", line 22, in <module>
r = babysitter.run(osccli)
File "/kutu/stuff/Sources/osc/osc/babysitter.py", line 53, in run
return prg.main()
File "/kutu/stuff/Sources/osc/osc/cmdln.py", line 310, in main
return self.cmd(args)
File "/kutu/stuff/Sources/osc/osc/cmdln.py", line 333, in cmd
retval = self.onecmd(argv)
File "/kutu/stuff/Sources/osc/osc/cmdln.py", line 449, in onecmd
return self._dispatch_cmd(handler, argv)
File "/kutu/stuff/Sources/osc/osc/cmdln.py", line 1179, in _dispatch_cmd
return handler(argv[0], opts, *args)
File "/kutu/stuff/Sources/osc/osc/commandline.py", line 4980, in do_build
return osc.build.main(self.get_api_url(), opts, args)
File "/kutu/stuff/Sources/osc/osc/build.py", line 771, in main
verify_pacs(bi)
File "/kutu/stuff/Sources/osc/osc/fetch.py", line 346, in verify_pacs
checker.readkeys(bi.keys)
File "/kutu/stuff/Sources/osc/osc/checker.py", line 35, in readkeys
raise KeyError('', "no key imported")
osc.checker.KeyError: :no key imported

Problem seems to be in osc/checker.py line 76:

r = self.ts.pgpImportPubkey(bkey)

where pgpImportPubkey functions returns failure.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
Follow Ups