deploy_cinder_net_tmpl.deploy_cinder_net_tmpl failed with attr error

Bug #1556054 reported by Tatyanka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Dmitry Tyzhnenko
8.0.x
Fix Committed
High
Vadim Rovachev

Bug Description

https://product-ci.infra.mirantis.net/job/9.0.system_test.ubuntu.network_templates/41/testReport/(root)/deploy_cinder_net_tmpl/deploy_cinder_net_tmpl/
failed with
Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
    self._testFunc()
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/home/jenkins/workspace/9.0.system_test.ubuntu.network_templates/fuelweb_test/helpers/decorators.py", line 83, in wrapper
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/9.0.system_test.ubuntu.network_templates/fuelweb_test/tests/test_net_templates.py", line 89, in deploy_cinder_net_tmpl
    ip_prefixlen='24')
  File "/home/jenkins/workspace/9.0.system_test.ubuntu.network_templates/fuelweb_test/__init__.py", line 59, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/9.0.system_test.ubuntu.network_templates/fuelweb_test/tests/test_net_templates_base.py", line 61, in generate_networks_for_template
    ip_subnet = ip_subnets.pop()
AttributeError: 'generator' object has no attribute 'pop'

tags: added: swarm-blocker
Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Dmitry Tyzhnenko (dtyzhnenko)
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (master)

Fix proposed to branch: master
Review: https://review.openstack.org/291698

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (master)

Reviewed: https://review.openstack.org/291698
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=290a20775e50668278cd80b6a4953968db5fd06a
Submitter: Jenkins
Branch: master

commit 290a20775e50668278cd80b6a4953968db5fd06a
Author: Dmitry Tyzhnenko <email address hidden>
Date: Fri Mar 11 14:34:41 2016 +0200

    Wrap generator into list

    Method generate_networks_for_template in TestNetworkTemplatesBase
        use pop() method to fetch subnets. But netaddr.Network.subnet
        return generetor.

    Change-Id: I1ad457557914d89ff2b6fcbba3a638aa7d038253
    Closes-bug: #1556054

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (master)

Fix proposed to branch: master
Review: https://review.openstack.org/292295

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (master)

Reviewed: https://review.openstack.org/292295
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=e07b35a2e0ab36db5f98523cd62045de826a8658
Submitter: Jenkins
Branch: master

commit e07b35a2e0ab36db5f98523cd62045de826a8658
Author: Alexey Stepanov <email address hidden>
Date: Mon Mar 14 11:31:15 2016 +0300

    Pylint: fix trivial issues 6

    fix: usage generator as list
    Related-bug: #1556791
    Closes-bug: #1556054
    Change-Id: Iff7b562e599ac1b81f6043f5ec69a6dbc4a86669

Changed in fuel:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (stable/8.0)

Fix proposed to branch: stable/8.0
Review: https://review.openstack.org/344035

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (stable/8.0)

Reviewed: https://review.openstack.org/344035
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=78fc20e41cb6a568093e942fcd5a8cdab90f0a3e
Submitter: Jenkins
Branch: stable/8.0

commit 78fc20e41cb6a568093e942fcd5a8cdab90f0a3e
Author: Dmitry Tyzhnenko <email address hidden>
Date: Fri Mar 11 14:34:41 2016 +0200

    Wrap generator into list

    Method generate_networks_for_template in TestNetworkTemplatesBase
        use pop() method to fetch subnets. But netaddr.Network.subnet
        return generetor.

    Change-Id: I1ad457557914d89ff2b6fcbba3a638aa7d038253
    Closes-bug: #1556054
    (cherry picked from commit 290a20775e50668278cd80b6a4953968db5fd06a)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.