function fuel_web.run_ostf causes error

Bug #1359269 reported by Eugene Korekin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Tatyanka

Bug Description

Function call self.fuel_web.run_ostf(
            cluster_id=cluster_id, test_sets=['smoke', 'sanity'],
            should_fail=1,
            failed_test_name=['Launch instance, create snapshot, \
            launch instance from snapshot'])

causes error when only 'Launch instance, create snapshot, launch instance from snapshot' fails.

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/vcenter-system-test/fuelweb_test/helpers/decorators.py", line 52, in wrapper
    return func(*args, **kwagrs)
  File "/home/jenkins/workspace/vcenter-system-test/fuelweb_test/tests/test_vcenter.py", line 75, in vcenter_one_node_simple
    launch instance from snapshot'])
  File "/home/jenkins/workspace/vcenter-system-test/fuelweb_test/__init__.py", line 48, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/vcenter-system-test/fuelweb_test/models/fuel_web_client.py", line 552, in run_ostf
    failed_test_name=failed_test_name)
  File "/home/jenkins/workspace/vcenter-system-test/fuelweb_test/__init__.py", line 48, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/vcenter-system-test/fuelweb_test/models/fuel_web_client.py", line 188, in assert_ostf_run
    failed_test_name, actual_failed_names))
AssertionError: WARNINg unexpected fail,expected ['Launch instance, create snapshot, launch instance from snapshot'] actual [u'Check internet connectivity from a compute', u'Check DNS resolution on compute node', u'Create volume and boot instance from it', u'Create volume and attach it to instance', u'Launch instance, create snapshot, launch instance from snapshot']

I think it should be fixed.

Tags: system-tests
Revision history for this message
Nastya Urlapova (aurlapova) wrote :

Eugene, please provide case or job where error happened.

Changed in fuel:
status: New → Incomplete
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :
Changed in fuel:
importance: Undecided → Medium
assignee: nobody → Tatyana (tatyana-leontovich)
milestone: none → 5.0.2
milestone: 5.0.2 → 5.1
status: Incomplete → 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.