[system-tests] OSTF returns HTTP Error 502: Bad Gateway after ha haproxy termination

Bug #1386235 reported by Andrey Sledzinskiy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Medium
Fuel QA Team

Bug Description

{

    "build_id": "2014-10-26_00-31-34",
    "ostf_sha": "64cb59c681658a7a55cc2c09d079072a41beb346",
    "build_number": "41",
    "auth_required": true,
    "api": "1.0",
    "nailgun_sha": "28f54f91fae722c26d3c0f6b2cf34bbf95a2be03",
    "production": "docker",
    "fuelmain_sha": "5123de0953d402cf3edc471f831e6b22610f8b6c",
    "astute_sha": "f5fbd89d1e0e1f22ef9ab2af26da5ffbfbf24b13",
    "feature_groups": [
        "mirantis"
    ],
    "release": "5.1.1",
    "release_versions": {
        "2014.1.1-5.1.1": {
            "VERSION": {
                "build_id": "2014-10-26_00-31-34",
                "ostf_sha": "64cb59c681658a7a55cc2c09d079072a41beb346",
                "build_number": "41",
                "api": "1.0",
                "nailgun_sha": "28f54f91fae722c26d3c0f6b2cf34bbf95a2be03",
                "production": "docker",
                "fuelmain_sha": "5123de0953d402cf3edc471f831e6b22610f8b6c",
                "astute_sha": "f5fbd89d1e0e1f22ef9ab2af26da5ffbfbf24b13",
                "feature_groups": [
                    "mirantis"
                ],
                "release": "5.1.1",
                "fuellib_sha": "8899fb5a5cbaead0e69dee7b8317514bd5f9fbf3"
            }
        }
    },
    "fuellib_sha": "8899fb5a5cbaead0e69dee7b8317514bd5f9fbf3"

}
http://jenkins-product.srt.mirantis.net:8080/view/5.1_swarm/job/5.1_fuelmain.system_test.centos.thread_5/32/testReport/junit/%28root%29/ha_haproxy_termination/ha_haproxy_termination/

Test failed on ostf step because server responded with 502 error - after restart ostf container it works fine
need to try to reproduce it

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 "/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/5.1_fuelmain.system_test.centos.thread_5/fuelweb_test/helpers/decorators.py", line 52, in wrapper
    return func(*args, **kwagrs)
  File "/home/jenkins/workspace/5.1_fuelmain.system_test.centos.thread_5/fuelweb_test/tests/tests_strength/test_failover.py", line 344, in ha_haproxy_termination
    test_sets=['ha', 'smoke', 'sanity'])
  File "/home/jenkins/workspace/5.1_fuelmain.system_test.centos.thread_5/fuelweb_test/__init__.py", line 48, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/5.1_fuelmain.system_test.centos.thread_5/fuelweb_test/models/fuel_web_client.py", line 542, in run_ostf
    self.client.ostf_run_tests(cluster_id, test_sets)
  File "/home/jenkins/workspace/5.1_fuelmain.system_test.centos.thread_5/fuelweb_test/__init__.py", line 48, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/5.1_fuelmain.system_test.centos.thread_5/fuelweb_test/helpers/decorators.py", line 81, in wrapped
    response = func(*args, **kwargs)
  File "/home/jenkins/workspace/5.1_fuelmain.system_test.centos.thread_5/fuelweb_test/models/nailgun_client.py", line 218, in ostf_run_tests
    self.get_ostf_tests(cluster_id)
  File "/home/jenkins/workspace/5.1_fuelmain.system_test.centos.thread_5/fuelweb_test/__init__.py", line 48, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/5.1_fuelmain.system_test.centos.thread_5/fuelweb_test/helpers/decorators.py", line 81, in wrapped
    response = func(*args, **kwargs)
  File "/home/jenkins/workspace/5.1_fuelmain.system_test.centos.thread_5/fuelweb_test/models/nailgun_client.py", line 197, in get_ostf_tests
    return self.client.get("/ostf/tests/{}".format(cluster_id))
  File "/home/jenkins/workspace/5.1_fuelmain.system_test.centos.thread_5/fuelweb_test/helpers/http.py", line 67, in get
    return self._open(req)
  File "/home/jenkins/workspace/5.1_fuelmain.system_test.centos.thread_5/fuelweb_test/helpers/http.py", line 92, in _open
    return self._get_response(req)
  File "/home/jenkins/workspace/5.1_fuelmain.system_test.centos.thread_5/fuelweb_test/helpers/http.py", line 109, in _get_response
    return self.opener.open(req)
  File "/usr/lib/python2.7/urllib2.py", line 410, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 448, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 502: Bad Gateway

Tags: system-tests
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :
Revision history for this message
Dmitry Borodaenko (angdraug) wrote :

Medium bugs shouldn't be targeted to maintenance releases without a good (and well documented) reason. Retargeted to 6.0, please reproduce with latest 6.0 iso.

Changed in fuel:
milestone: 5.1.1 → 6.0
Changed in fuel:
milestone: 6.0 → 6.1
status: New → Confirmed
summary: - [Ssytem Tests] OSTF returns HTTP Error 502: Bad Gateway after ha haproxy
+ [system-tests] OSTF returns HTTP Error 502: Bad Gateway after ha haproxy
termination
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :
Changed in fuel:
status: Confirmed → Invalid
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.