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
Fix proposed to branch: master /review. openstack. org/160834
Review: https:/