Bug 709984

Summary: beaker : yum install error on RHEL 5.7
Product: Red Hat Enterprise Linux 5 Reporter: Weiping Pan <wpan>
Component: yumAssignee: James Antill <james.antill>
Status: CLOSED DUPLICATE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.7CC: bpeck, dcallagh, mcsontos, rmancy, ruyang, stl
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: 2011-06-02 17:07:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Weiping Pan 2011-06-02 07:36:36 UTC
Description of problem:
yum install error
[root@hp-magnycours-01 ~]# yum -y install rh-tests-kernel-networking-bonding-bz672731-bonding_multicast.noarch
Loaded plugins: product-id, security, subscription-manager
Updating Red Hat repositories.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package rh-tests-kernel-networking-bonding-bz672731-bonding_multicast.noarch 0:1.1-18 set to be updated
--> Processing Dependency: rh-tests-kernel-networking-bonding-bz672731-common_functions for package: rh-tests-kernel-networking-bonding-bz672731-bonding_multicast
--> Running transaction check
---> Package rh-tests-kernel-networking-bonding-bz672731-common_functions.noarch 0:1.1-106 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================
 Package         Arch                 Version                Repository                  Size
==============================================================================================
Installing:
 rh-tests-kernel-networking-bonding-bz672731-bonding_multicast
                 noarch               1.1-18                 beaker-tasks               7.2 k
Installing for dependencies:
 rh-tests-kernel-networking-bonding-bz672731-common_functions
                 noarch               1.1-106                beaker-tasks                22 k

Transaction Summary
==============================================================================================
Install       2 Package(s)
Upgrade       0 Package(s)

Total download size: 29 k
Downloading Packages:
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in ?
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 309, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 261, in main
    return_code = base.doTransaction()
  File "/usr/share/yum-cli/cli.py", line 398, in doTransaction
    problems = self.downloadPkgs(downloadpkgs, callback_total=self.download_callback_total_cb) 
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 1355, in downloadPkgs
    cache=po.repo.http_caching != 'none',
  File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 838, in getPackage
    cache=cache
  File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 784, in _getFile
    size=size,
NameError: global name 'size' is not defined


Version-Release number of selected component (if applicable):
[root@hp-magnycours-01 ~]# uname -a
Linux hp-magnycours-01.rhts.eng.bos.redhat.com 2.6.18-264.el5PAE #1 SMP Tue May 24 15:19:58 EDT 2011 i686 athlon i386 GNU/Linux

[root@hp-magnycours-01 ~]# rpm -qa|grep beaker
beakerlib-1.3-5.el5
beakerlib-redhat-1-6.el5
[root@hp-magnycours-01 ~]# cat /etc/yum.repos.d/beaker-tasks.repo 
[beaker-tasks]
name=beaker-tasks
baseurl=http://beaker-01.app.eng.bos.redhat.com/repos/188364
enabled=1
gpgcheck=0


How reproducible:
please clone this job.
https://beaker.engineering.redhat.com/jobs/91977

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Marian Csontos 2011-06-02 11:49:14 UTC
I have seen it as well. IMO yum bug. Reassigning.

Comment 2 Marian Csontos 2011-06-02 12:44:29 UTC
FYI, looks like related to Bug 647134.

Comment 3 James Antill 2011-06-02 17:07:27 UTC
Should be fixed with today's compose.

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