[system tests] Need to increase wait to get online state in repeatable image based test

Bug #1440725 reported by Andrey Sledzinskiy
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Vladimir Khlyunev

Bug Description

Seems that 6 minutes isn't enough here https://github.com/stackforge/fuel-qa/blob/master/fuelweb_test/tests/tests_strength/test_image_based.py#L79
Let's put 10 minutes

Error Message

Node slave-01 has not become online

Stacktrace

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 "/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.repeatable_image_based/fuelweb_test/helpers/decorators.py", line 66, in wrapper
    return func(*args, **kwargs)
  File "/home/jenkins/workspace/6.1.system_test.centos.repeatable_image_based/fuelweb_test/tests/tests_strength/test_image_based.py", line 79, in repeatable_image_based
    self.env.d_env.nodes().slaves[:5], timeout=6 * 60)
  File "/home/jenkins/workspace/6.1.system_test.centos.repeatable_image_based/fuelweb_test/__init__.py", line 48, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/6.1.system_test.centos.repeatable_image_based/fuelweb_test/models/fuel_web_client.py", line 1192, in wait_nodes_get_online_state
    'Node {0} has not become online'.format(node.name))
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/asserts.py", line 163, in assert_true
    raise ASSERTION_ERROR(message)
AssertionError: Node slave-01 has not become online

Tags: system-tests
Changed in fuel:
status: New → Confirmed
Maksym Strukov (unbelll)
Changed in fuel:
status: Confirmed → In Progress
assignee: Fuel QA Team (fuel-qa) → Maxim Strukov (unbelll)
Revision history for this message
Dennis Dmitriev (ddmitriev) wrote :
Revision history for this message
Dennis Dmitriev (ddmitriev) wrote :

Upd: After 3 minutes after reverting nodes become online in nailgun.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (master)

Reviewed: https://review.openstack.org/172098
Committed: https://git.openstack.org/cgit/stackforge/fuel-qa/commit/?id=1374958a48f3fd0d1c80265638885f4c0537e6d5
Submitter: Jenkins
Branch: master

commit 1374958a48f3fd0d1c80265638885f4c0537e6d5
Author: Maksym Strukov <email address hidden>
Date: Thu Apr 9 17:48:47 2015 +0300

    Increase wait to get online state in repeatable image based test

    Change-Id: I037e2531e835ae1089a8592b0a9b383dd2eaa0a2
    Closes-Bug: #1440725

Changed in fuel:
status: In Progress → Fix Committed
Changed in fuel:
status: Fix Committed → Fix Released
Revision history for this message
Vladimir Khlyunev (vkhlyunev) wrote :
Changed in fuel:
assignee: Maksym Strukov (unbelll) → Vladimir Khlyunev (vkhlyunev)
milestone: 6.1 → 7.0
status: Fix Released → In Progress
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/202479

Revision history for this message
Vladimir Khlyunev (vkhlyunev) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (master)

Reviewed: https://review.openstack.org/202479
Committed: https://git.openstack.org/cgit/stackforge/fuel-qa/commit/?id=dd3964c6fa812ed7735a71ea854e6462e7f1b412
Submitter: Jenkins
Branch: master

commit dd3964c6fa812ed7735a71ea854e6462e7f1b412
Author: Vladimir Khlyunev <email address hidden>
Date: Thu Jul 16 13:08:32 2015 +0300

    Increased timeout after first cluster deletion.

    Change-Id: Ib27c8598f0274268e0b56e6ee7cded1d8c08a4e5
    Closes-Bug: #1440725

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Tatyanka (tatyana-leontovich) 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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.