[system tests] Test neutron_check_alive_rabbit failed with TypeError: 'set' object does not support indexing

Bug #1509248 reported by Tatyanka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Tatyanka

Bug Description

https://product-ci.infra.mirantis.net/view/8.0_swarm/job/8.0.system_test.ubuntu.ha_neutron_destructive/25/testReport/junit/%28root%29/ha_neutron_check_alive_rabbit/ha_neutron_check_alive_rabbit/

Error Message

'set' object does not support indexing

Stacktrace

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/8.0.system_test.ubuntu.ha_neutron_destructive/fuelweb_test/helpers/decorators.py", line 80, in wrapper
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.ha_neutron_destructive/fuelweb_test/tests/tests_strength/test_failover.py", line 263, in ha_neutron_check_alive_rabbit
    super(self.__class__, self).check_alive_rabbit_node_not_kicked()
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.ha_neutron_destructive/fuelweb_test/tests/tests_strength/test_failover_base.py", line 902, in check_alive_rabbit_node_not_kicked
    (set(d_ctrls) - set([p_d_ctrl]))[0].name)
TypeError: 'set' object does not support indexing

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/238840

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

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

commit 22a9ee6fcd5448393c3b33e66e044b185663c16a
Author: Tatyana Leontovich <email address hidden>
Date: Fri Oct 23 11:43:21 2015 +0300

    Fix type error in neutron_check_alive_rabbit

    Wrap in list condition (set(a) - set(b))
    to get possibility use data access by iondex

    Change-Id: Ie0571349cf686e267cdda76baa680055e0fda681
    Closes-Bug: #1509248

Changed in fuel:
status: In Progress → Fix Committed
Dmitry Pyzhov (dpyzhov)
tags: added: area-qa
Changed in fuel:
status: Fix Committed → Fix Released
tags: removed: non-release
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.