Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 950878

Summary: beaker-wizard: error when creating new test
Product: [Retired] Beaker Reporter: Robin Hack <rhack>
Component: command lineAssignee: Petr Šplíchal <psplicha>
Status: CLOSED DUPLICATE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.11CC: asaha, dcallagh, llim, ohudlick, qwan, rglasz, rmancy
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-17 13:21:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Baf filename key patch none

Description Robin Hack 2013-04-11 06:41:52 UTC
Created attachment 734000 [details]
Baf filename key patch

Description of problem:
When i apply patch from bug bz#950870 i get another error.
I wrote small patch :).

Version-Release number of selected component (if applicable):
beaker-client-0.11.2-1.el6eng.noarch

How reproducible:
always

Steps to Reproduce:
1. beaker-wizard -b 929090
  
Actual results:
...
[Everything OK?] 
Directory Security/CVE-2013-1847-Subversion-mod-dav-svn-DoS-crash-via-LOCK created
File Security/CVE-2013-1847-Subversion-mod-dav-svn-DoS-crash-via-LOCK/PURPOSE written
File Security/CVE-2013-1847-Subversion-mod-dav-svn-DoS-crash-via-LOCK/runtest.sh written
File Security/CVE-2013-1847-Subversion-mod-dav-svn-DoS-crash-via-LOCK/Makefile written
Traceback (most recent call last):
  File "/usr/bin/beaker-wizard", line 9, in <module>
    load_entry_point('bkr.client==0.11.2', 'console_scripts', 'beaker-wizard')()
  File "/usr/lib/python2.6/site-packages/bkr/client/wizard.py", line 2643, in main
    test.create()
  File "/usr/lib/python2.6/site-packages/bkr/client/wizard.py", line 2619, in create
    self.testname.bugs.reproducers.download(self.relativePath())
  File "/usr/lib/python2.6/site-packages/bkr/client/wizard.py", line 1937, in download
    if attachment['filename'] in self.data \
KeyError: 'filename'


Expected results:
[Everything OK?] 
Directory Security/CVE-2013-1847-Subversion-mod-dav-svn-DoS-crash-via-LOCK created
File Security/CVE-2013-1847-Subversion-mod-dav-svn-DoS-crash-via-LOCK/PURPOSE written
File Security/CVE-2013-1847-Subversion-mod-dav-svn-DoS-crash-via-LOCK/runtest.sh written
File Security/CVE-2013-1847-Subversion-mod-dav-svn-DoS-crash-via-LOCK/Makefile written
$ (shell)

Additional info:

Comment 1 Qixiang Wan 2013-04-11 07:06:38 UTC
Patch in bug 929190 comment 1 should also solve this:
http://gerrit.beaker-project.org/#/c/1875/

Welcome to give your comments on it. Do you mind me close this one?

Comment 2 Qixiang Wan 2013-04-17 13:21:39 UTC

*** This bug has been marked as a duplicate of bug 929190 ***