[system-tests] Not enough timeout for ha_haproxy termination test

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

Bug Description

ERROR: Terminate haproxy on all controllers one by one
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/usr/lib/python2.7/dist-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/usr/lib/python2.7/dist-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/home/jenkins/workspace/6.1.system_test.centos.thread_5/fuelweb_test/helpers/decorators.py", line 60, in wrapper
    return func(*args, **kwagrs)
  File "/home/jenkins/workspace/6.1.system_test.centos.thread_5/fuelweb_test/tests/tests_strength/test_failover.py", line 346, in ha_haproxy_termination
    wait(mysql_started, timeout=20)
  File "/home/jenkins/venv-nailgun-tests/local/lib/python2.7/site-packages/devops/helpers/helpers.py", line 98, in wait
    raise TimeoutError("Waiting timed out")
TimeoutError: Waiting timed out

After revert and wait - haproxy was running
We need to investigate to decide whether we should increase timeout or not

Tags: system-tests
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :
Changed in fuel:
status: New → Confirmed
summary: - [System tests] Not enough timeout for ha_haproxy termination test
+ [system-tests] Not enough timeout for ha_haproxy termination test
Changed in fuel:
importance: Medium → High
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/170481

Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Dmitry Tyzhnenko (dtyzhnenko)
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/170481
Committed: https://git.openstack.org/cgit/stackforge/fuel-qa/commit/?id=414a616cf66efe3fac525c21737afe1921e4c74f
Submitter: Jenkins
Branch: master

commit 414a616cf66efe3fac525c21737afe1921e4c74f
Author: Dmitry Tyzhnenko <email address hidden>
Date: Fri Apr 3 15:54:58 2015 +0300

    Fix HAProxy live checker in ha_haproxy_termination

    Replaced methodology of checking of haproxy process is exist
        was: ps + grep + line count
        now: check pid file and check via pidof

    Change-Id: I3d8533531f35c279da67bd9908a706ff29e01b87
    Closes-bug: #1414716

Changed in fuel:
status: In Progress → Fix Committed
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.