[system test] thread_7 was failed when multiple networks is enabled

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

Bug Description

Steps for reproduce:

  Run thread_7 tests for with MULTIPLE_NETWORKS=true

Expected result:

  The test finished successful

Actual result:

  Run is failed on install master node

======================================================================
ERROR: Create environment and set up master node
----------------------------------------------------------------------
Traceback (most recent call last):
  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/6.1.system_test.centos.thread_7/fuelweb_test/helpers/decorators.py", line 65, in wrapper
    return func(*args, **kwargs)
  File "/home/jenkins/workspace/6.1.system_test.centos.thread_7/fuelweb_test/tests/base_test_case.py", line 58, in setup_master
    self.env.setup_environment()
  File "/home/jenkins/workspace/6.1.system_test.centos.thread_7/fuelweb_test/models/environment.py", line 337, in setup_environment
    self.describe_second_admin_interface()
  File "/home/jenkins/workspace/6.1.system_test.centos.thread_7/fuelweb_test/__init__.py", line 48, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/6.1.system_test.centos.thread_7/fuelweb_test/models/environment.py", line 558, in describe_second_admin_interface
    second_admin_netmask)
  File "/home/jenkins/workspace/6.1.system_test.centos.thread_7/fuelweb_test/__init__.py", line 48, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/6.1.system_test.centos.thread_7/fuelweb_test/helpers/multiple_networks_hacks.py", line 74, in configure_second_admin_firewall
    'ACCEPT').format(settings.INTERFACES.get(self.admin_net2)),
AttributeError: 'EnvironmentModel' object has no attribute 'admin_net2'

----------------------------------------------------------------------

Links to CI:

http://jenkins-product.srt.mirantis.net:8080/view/6.1_swarm/job/6.1.system_test.centos.thread_7/52/console
http://jenkins-product.srt.mirantis.net:8080/view/6.1_swarm/job/6.1.system_test.ubuntu.thread_7/53/console

Possible point of failure:
In multiple_networks_hacks.py on line 74 [1] used 'self.admin_net2' instead of self.d_env.admin_net2

Same in [2]

[1] https://github.com/stackforge/fuel-qa/blob/master/fuelweb_test/helpers/multiple_networks_hacks.py#L74
[2] https://github.com/stackforge/fuel-qa/blob/master/fuelweb_test/helpers/multiple_networks_hacks.py#L37

Tags: system-tests
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/160834

Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Dmitry Tyzhnenko (dtyzhnenko)
status: New → In Progress
Revision history for this message
Dmitry Tyzhnenko (dtyzhnenko) wrote :

Verified on CI - http://jenkins-product.srt.mirantis.net:8080/view/6.1_swarm/job/6.1.system_test.ubuntu.thread_7/79/console

ISO version

{
    u'build_id': u'2015-03-25_21-15-27',
    u'ostf_sha': u'a4cf5f218c6aea98105b10c97a4aed8115c15867',
    u'build_number': u'229',
    u'auth_required': True,
    u'nailgun_sha': u'64a3d380cefde4f341cd39be350c4c9f78b59b7d',
    u'production': u'docker',
    u'api': u'1.0',
    u'python-fuelclient_sha': u'e5e8389d8d481561a4d7107a99daae07c6ec5177',
    u'astute_sha': u'631f96d5a09cc48bfbddcbf056b946c8a80438f0',
    u'fuelmain_sha': u'320b5f46fc1b2798f9e86ed7df51d3bda1686c10',
    u'feature_groups': [u'mirantis'],
    u'release': u'6.1',
    u'release_versions': {u'2014.2-6.1': {u'VERSION': {
        u'build_id': u'2015-03-25_21-15-27',
        u'ostf_sha': u'a4cf5f218c6aea98105b10c97a4aed8115c15867',
        u'build_number': u'229',
        u'api': u'1.0',
        u'nailgun_sha': u'64a3d380cefde4f341cd39be350c4c9f78b59b7d',
        u'production': u'docker',
        u'python-fuelclient_sha': u'e5e8389d8d481561a4d7107a99daae07c6ec5177',
        u'astute_sha': u'631f96d5a09cc48bfbddcbf056b946c8a80438f0',
        u'feature_groups': [u'mirantis'],
        u'release': u'6.1',
        u'fuelmain_sha': u'320b5f46fc1b2798f9e86ed7df51d3bda1686c10',
        u'fuellib_sha': u'345a98b34dd0cd450a45d405ac47a6a9fa48b6d8',
        }}},
    u'fuellib_sha': u'345a98b34dd0cd450a45d405ac47a6a9fa48b6d8',
    }

Changed in fuel:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-qa (master)

Change abandoned by Dmitry Tyzhnenko (<email address hidden>) on branch: master
Review: https://review.openstack.org/160834

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.