[system tests] We need to fix run of rollback tests

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

Bug Description

FAIL: Rollback automatically ha one controller deployed cluster
----------------------------------------------------------------------
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.deploy_neutron_gre.rollback/UPGRADE/fuelweb_test/helpers/decorators.py", line 68, in wrapper
    return func(*args, **kwargs)
  File "/home/jenkins/workspace/6.1.system_test.centos.deploy_neutron_gre.rollback/UPGRADE/fuelweb_test/tests/test_upgrade.py", line 547, in rollback_automatically_delete_node
    rollback=True, exit_code=255)
  File "/home/jenkins/workspace/6.1.system_test.centos.deploy_neutron_gre.rollback/UPGRADE/fuelweb_test/__init__.py", line 48, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/6.1.system_test.centos.deploy_neutron_gre.rollback/UPGRADE/fuelweb_test/helpers/checkers.py", line 331, in run_script
    ''.join(stderr)))
AssertionError: Upgrade script fails with next message which: no virtualenv in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin)
usage: fuel-upgrade [-h] --src SRC [--no-checker] [--no-rollback]
                    [--password PASSWORD]
                    {openstack,docker,docker-init,raise-error,host-system}
                    [{openstack,docker,docker-init,raise-error,host-system} ...]
fuel-upgrade: error: argument systems: invalid choice: 'bootstrap' (choose from 'openstack', 'docker', 'docker-init', 'raise-error', 'host-system')

Seems that there is no such upgrader 'bootstrap' so we need to modify this command - https://github.com/stackforge/fuel-qa/blob/master/fuelweb_test/helpers/checkers.py#L324

Tags: system-tests
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/176681

Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Andrey Sledzinskiy (asledzinskiy)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (master)

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

commit 3d3d07c8b30248c3f9d3034e0009b109708e44a8
Author: asledzinskiy <email address hidden>
Date: Thu Apr 23 12:40:09 2015 +0300

    Fix rollback tests run

    - Bootstrap and targetimages upgraders were removed so
    rollback run was modified accrodingly

    Change-Id: I55dd5dfce16b5bb296bf15f7b4682c62284eabdb
    Closes-Bug: #1447514

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.