Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1809986

Summary: python-tackerclient fails to build in Fedora 32+: AttributeError: 'TestCreateVnfPackage' object has no attribute 'assertItemsEqual'
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python-tackerclientAssignee: Alfredo Moralejo <amoralej>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: amoralej, openstack-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/python-tackerclient
Whiteboard:
Fixed In Version: python-tackerclient-0.16.1-3.fc32 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-13 15:40:20 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:
Bug Depends On:    
Bug Blocks: 1750908, 1803234, 1785415, 1794222    

Description Miro Hrončok 2020-03-04 10:36:17 UTC
Description of problem:
Package python-tackerclient fails to build from source in Fedora 32 and rawhide.

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "/usr/lib/python3.8/site-packages/ddt.py", line 145, in wrapper
        return func(self, *args, **kwargs)
      File "/builddir/build/BUILD/python-tackerclient-0.16.1/tackerclient/tests/unit/osc/v1/test_vnf_package.py", line 98, in test_take_action
        self.assertItemsEqual(_get_columns_vnf_package(action='create'),
    AttributeError: 'TestCreateVnfPackage' object has no attribute 'assertItemsEqual'

This should be 'assertCountEqual' on Python 3.


Version-Release number of selected component (if applicable):
0.16.1-2.fc32

Steps to Reproduce:
fedpkg build

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/python-tackerclient

This seem related to unittest2 vs unittest. This blocks the Python 3.9 rebuild.

Comment 1 Fedora Release Engineering 2020-03-08 04:25:08 UTC
Dear Maintainer,

your package has an open Fails To Build From Source bug for Fedora 32.
Action is required from you.

If you can fix your package to build, perform a build in koji, and either create
an update in bodhi, or close this bug without creating an update, if updating is
not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this Bugzilla report.

Following the policy for such packages [2], your package will be orphaned if
this bug remains in NEW state more than 8 weeks (that's on 2020-04-29).

A week before the mass branching of Fedora 33 according to the schedule [3],
any packages not successfully rebuilt at least on Fedora 31 will be
retired regardless of the status of this bug.

[1] https://fedoraproject.org/wiki/Updates_Policy
[2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
[3] https://fedorapeople.org/groups/schedule/f-33/f-33-key-tasks.html

Comment 2 Alfredo Moralejo 2020-03-13 15:06:30 UTC
Fixed in rawhide and in f32

Comment 3 Alfredo Moralejo 2020-03-13 15:40:20 UTC
Fixed in f32 and rawhide with python-tackerclient-0.16.1-3

Comment 5 Fedora Update System 2020-03-13 18:33:49 UTC
python-tackerclient-0.16.1-3.fc32 has been pushed to the Fedora 32 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-d07cdaa790

Comment 6 Fedora Update System 2020-03-17 01:44:59 UTC
python-tackerclient-0.16.1-3.fc32 has been pushed to the Fedora 32 stable repository. If problems still persist, please make note of it in this bug report.