Bug 1213795 - Building python-unittest2 for 3.6
Summary: Building python-unittest2 for 3.6
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: Build Subsystem
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ovirt-3.6.0-rc
: 3.6.0
Assignee: Sandro Bonazzola
QA Contact: Artyom
URL:
Whiteboard:
Depends On:
Blocks: 1212456
TreeView+ depends on / blocked
 
Reported: 2015-04-21 10:22 UTC by Sandro Bonazzola
Modified: 2016-03-09 19:58 UTC (History)
13 users (show)

Fixed In Version: python-unittest2-0.5.1-7.el7ev
Doc Type: Enhancement
Doc Text:
This update provides a new python-unittest2 package, which is a required dependency for the python-mock package.
Clone Of:
Environment:
Last Closed: 2016-03-09 19:58:46 UTC
oVirt Team: Integration
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2016:0393 0 normal SHIPPED_LIVE new package: python-unittest2 2016-03-10 00:18:53 UTC

Description Sandro Bonazzola 2015-04-21 10:22:54 UTC
ovirt-hosted-engine-ha requires python-mock as BuildRequires which requires python-unittest2.

Comment 5 Artyom 2015-06-30 07:44:52 UTC
I do not see any python-mock or python-unittest packages after installation of ovirt-hosted-engine-setup, also I ran deployment and it succeed.
So can you provide me steps to verify this bug?

Comment 6 Artyom 2015-06-30 07:45:25 UTC
checked on:
ovirt-hosted-engine-ha-1.3.0-0.0.master.20150615153650.20150615153645.git5f8c290.el7.noarch
ovirt-hosted-engine-setup-1.3.0-0.0.master.20150623153111.git68138d4.el7.noarch

Comment 7 Sandro Bonazzola 2015-06-30 07:54:36 UTC
They're build dependencies so they're not installed by default.
You should be able to download the src.rpm:
 yumdownloader --source ovirt-hosted-engine-ha
install build dependencies:
 yum-builddep ovirt-hosted-engine-ha*src.rpm

and this step should pull in python-mock package.

for python-unittest:
You should be able to download the src.rpm:
 yumdownloader --source pyhton-mock
install build dependencies:
 yum-builddep python-mock*src.rpm

and this step should pull in python-unittest package.

Please note this test should be performed on downstream repository, not on upstream since upstream you'll have python-mock and python-unittest2 provided by EPEL repository. So I suggest to wait for testing this.

Comment 8 Artyom 2015-06-30 13:19:29 UTC
ok thanks Sandro

Comment 9 Artyom 2015-09-01 12:10:05 UTC
Hi Sandro I tried to download some src package, but:
yumdownloader --source ovirt-hosted-engine-ha
Loaded plugins: langpacks, product-id
Repository rhev-72-hypervisor is listed more than once in the configuration
extra_repo                                                                                                | 2.9 kB  00:00:00     
glusterfs-epel                                                                                            | 2.9 kB  00:00:00     
glusterfs-noarch-epel                                                                                     | 2.9 kB  00:00:00     
rhel-7.2                                                                                                  | 4.1 kB  00:00:00     
rhel-72-optional                                                                                          | 3.8 kB  00:00:00     
rhev-72-hypervisor                                                                                        | 2.6 kB  00:00:00     
rhev-master                                                                                               | 2.9 kB  00:00:00     
No source RPM found for ovirt-hosted-engine-ha-1.3.0-0.3.beta.git183a4ff.el7ev.noarch

Can you please provide me all necessary repositories, where I can src pakages?
Thanks

Comment 10 Sandro Bonazzola 2015-09-01 13:00:46 UTC
looks like CI team is not collecting the src.rpm in the test repos.
Joey, can you advise on which repo Artyom can enable in order to get src.rpm from 
rhevm-3.6-rhel-7-candidate tag?

Comment 11 Artyom 2015-09-07 13:59:46 UTC
Verified on packages:
ovirt-hosted-engine-ha-1.3.0-0.4.beta.git1bcfe28.el7ev.src.rpm
python-mock-1.0.1-5.el7ev.src.rpm

yum-builddep python-mock*src.rpm           
Loaded plugins: langpacks, product-id
Repository rhev-72-hypervisor is listed more than once in the configuration
extra_repo                                                                                                                          | 2.9 kB  00:00:00     
rhel-7.2                                                                                                                            | 4.1 kB  00:00:00     
rhel-72-optional                                                                                                                    | 3.8 kB  00:00:00     
rhev-72-hypervisor                                                                                                                  | 2.6 kB  00:00:00     
Getting requirements for python-mock-1.0.1-5.el7ev.src
 --> python-devel-2.7.5-31.el7.x86_64
 --> python-setuptools-0.9.8-4.el7.noarch
 --> python-unittest2-0.5.1-7.el7ev.noarch
--> Running transaction check
---> Package python-devel.x86_64 0:2.7.5-31.el7 will be installed
---> Package python-setuptools.noarch 0:0.9.8-4.el7 will be installed
---> Package python-unittest2.noarch 0:0.5.1-7.el7ev will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===========================================================================================================================================================
 Package                                   Arch                           Version                                Repository                           Size
===========================================================================================================================================================
Installing:
 python-devel                              x86_64                         2.7.5-31.el7                           rhel-7.2                            390 k
 python-setuptools                         noarch                         0.9.8-4.el7                            rhel-7.2                            397 k
 python-unittest2                          noarch                         0.5.1-7.el7ev                          rhev-master                         131 k

Transaction Summary
===========================================================================================================================================================
Install  3 Packages


yum-builddep ovirt-hosted-engine-ha*src.rpm                                                                            
Loaded plugins: langpacks, product-id
Repository rhev-72-hypervisor is listed more than once in the configuration
rhev-master                                                                                                                         | 2.9 kB  00:00:00     
rhev-master/7Server/primary_db                                                                                                      |  90 kB  00:00:00     
Getting requirements for ovirt-hosted-engine-ha-1.3.0-0.4.beta.git1bcfe28.el7ev.src
 --> Already installed : python-2.7.5-31.el7.x86_64
 --> python-devel-2.7.5-31.el7.x86_64
 --> python-nose-1.3.0-3.el7.noarch
 --> python-mock-1.0.1-5.el7ev.noarch
 --> Already installed : systemd-219-11.el7.x86_64
 --> autoconf-2.69-11.el7.noarch
 --> automake-1.13.4-3.el7.noarch
--> Running transaction check
---> Package autoconf.noarch 0:2.69-11.el7 will be installed
--> Processing Dependency: m4 >= 1.4.14 for package: autoconf-2.69-11.el7.noarch
---> Package automake.noarch 0:1.13.4-3.el7 will be installed
--> Processing Dependency: perl(TAP::Parser) for package: automake-1.13.4-3.el7.noarch
--> Processing Dependency: perl(Thread::Queue) for package: automake-1.13.4-3.el7.noarch
---> Package python-devel.x86_64 0:2.7.5-31.el7 will be installed
---> Package python-mock.noarch 0:1.0.1-5.el7ev will be installed
---> Package python-nose.noarch 0:1.3.0-3.el7 will be installed
--> Processing Dependency: python-setuptools for package: python-nose-1.3.0-3.el7.noarch
--> Running transaction check
---> Package m4.x86_64 0:1.4.16-10.el7 will be installed
---> Package perl-Test-Harness.noarch 0:3.28-3.el7 will be installed
---> Package perl-Thread-Queue.noarch 0:3.02-2.el7 will be installed
---> Package python-setuptools.noarch 0:0.9.8-4.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===========================================================================================================================================================
 Package                                   Arch                           Version                                Repository                           Size
===========================================================================================================================================================
Installing:
 autoconf                                  noarch                         2.69-11.el7                            rhel-7.2                            701 k
 automake                                  noarch                         1.13.4-3.el7                           rhel-7.2                            679 k
 python-devel                              x86_64                         2.7.5-31.el7                           rhel-7.2                            390 k
 python-mock                               noarch                         1.0.1-5.el7ev                          rhev-master                          91 k
 python-nose                               noarch                         1.3.0-3.el7                            rhel-7.2                            272 k
Installing for dependencies:
 m4                                        x86_64                         1.4.16-10.el7                          rhel-7.2                            256 k
 perl-Test-Harness                         noarch                         3.28-3.el7                             rhel-7.2                            302 k
 perl-Thread-Queue                         noarch                         3.02-2.el7                             rhel-7.2                             17 k
 python-setuptools                         noarch                         0.9.8-4.el7                            rhel-7.2                            397 k

Transaction Summary
===========================================================================================================================================================
Install  5 Packages (+4 Dependent packages)

Comment 13 errata-xmlrpc 2016-03-09 19:58:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-0393.html


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