[system tests] Check external dns in ha mode test failed with KeyError: "'print $5'"

Bug #1440798 reported by Andrey Sledzinskiy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Artem Panchenko

Bug Description

ERROR: Check external dns in ha mode
----------------------------------------------------------------------
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_non_func_1/fuelweb_test/helpers/decorators.py", line 66, in wrapper
    return func(*args, **kwargs)
  File "/home/jenkins/workspace/6.1.system_test.centos.thread_non_func_1/fuelweb_test/tests/tests_strength/test_master_node_failover.py", line 161, in external_dns_ha_flat
    checkers.external_dns_check(remote_slave)
  File "/home/jenkins/workspace/6.1.system_test.centos.thread_non_func_1/fuelweb_test/__init__.py", line 48, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/6.1.system_test.centos.thread_non_func_1/fuelweb_test/helpers/checkers.py", line 850, in external_dns_check
    .format(PUBLIC_TEST_IP))
KeyError: "'print $5'"

Manually it worked fine:
host 8.8.8.8 | awk {'print $5'}
google-public-dns-a.google.com

Tags: system-tests
Changed in fuel:
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/171094

Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Artem Panchenko (apanchenko-8)
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/171094
Committed: https://git.openstack.org/cgit/stackforge/fuel-qa/commit/?id=4000f5c91867ec818bd145e0bc49a5eab1266227
Submitter: Jenkins
Branch: master

commit 4000f5c91867ec818bd145e0bc49a5eab1266227
Author: Artem Panchenko <email address hidden>
Date: Tue Apr 7 12:23:32 2015 +0300

    Fix key error in 'external_dns_check'

    Change-Id: I0f99f38562344aa1e45cccd9cf9cbdb612477d19
    Closes-bug: #1440798

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Artem Panchenko (apanchenko-8) wrote :
Changed in fuel:
status: Fix Committed → Fix Released
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.