'create_backup_reset_restore_and_deploy_via_cli' test failed with argument --nst/--net-segment-type: invalid choice

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

Bug Description

https://github.com/openstack/fuel-qa/blob/master/fuelweb_test/tests/test_backup_restore.py#L261 - this test failed with next trace, seems that there were changes in fuel cli:
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/8.0.system_test.ubuntu.backup_restore_master/fuelweb_test/helpers/decorators.py", line 80, in wrapper
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.backup_restore_master/fuelweb_test/tests/test_backup_restore.py", line 338, in create_backup_reset_restore_and_deploy_via_cli
    env_result = run_on_remote(remote, cmd, jsonify=True)
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.backup_restore_master/fuelweb_test/helpers/utils.py", line 332, in run_on_remote
    return run_on_remote_get_results(*args, **kwargs)['stdout_json']
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.backup_restore_master/fuelweb_test/__init__.py", line 57, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.backup_restore_master/fuelweb_test/helpers/utils.py", line 373, in run_on_remote_get_results
    raise Exception(log_msg)
Exception: Unexpected exit_code returned: actual 2, expected 0. Command: 'fuel env create --name=BackupRestoreHA --release=2 --net=neutron --nst=vlan --json' Details: {'host': '10.109.15.2', 'command': 'fuel env create --name=BackupRestoreHA --release=2 --net=neutron --nst=vlan --json', 'exit_code': 2, 'stderr': ['usage: fuel environment [-h] [--env ENV]\n', ' [--list | --set | --delete | --create | --update]\n', ' [--release RELEASE] [--force] [--name NAME]\n', ' [--nst {gre,vlan,tun}] [--deployment-tasks]\n', ' [--attributes] [--download | --upload] [--dir DIR]\n', "fuel environment: error: argument --nst/--net-segment-type: invalid choice: 'neutron' (choose from 'gre', 'vlan', 'tun')\n"], 'stdout': []}

Tags: area-qa
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :
Egor Kotko (ykotko)
Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Egor Kotko (ykotko)
Changed in fuel:
status: New → Confirmed
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/249295

Changed in fuel:
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/249295
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=37dff40cd06d2482fcba9ccf3942f2a207c589f2
Submitter: Jenkins
Branch: master

commit 37dff40cd06d2482fcba9ccf3942f2a207c589f2
Author: Egor Kotko <email address hidden>
Date: Tue Nov 24 16:58:22 2015 +0100

    Fix cli parameter

    Remove '--net' parameter from command in the test
    create_backup_reset_restore_and_deploy_via_cli

    Change-Id: I6c09db658f568b4b0b5b256144a56c29a127a275
    Closes-Bug: #1518906

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.