tempest workspace: accepting blank path when move and register new workspace is running

Bug #1799883 reported by Manik Bindlish
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Fix Released
Undecided
Manik Bindlish

Bug Description

Openstack(Stein)
Ubuntu 16.04

==================================

During workspace move :-

stack@DLLT-6511:~/tempest$ tempest workspace register --name abc --path /tmp/

stack@DLLT-6511:~/tempest$ tempest workspace list

+------+------+

| Name | Path |

+------+------+

| abc | /tmp |

+------+------+

stack@DLLT-6511:~/tempest$ tempest workspace move --name abc --path ""

stack@DLLT-6511:~/tempest$ tempest workspace list

+------+--------------------+

| Name | Path |

+------+--------------------+

| abc | /opt/stack/tempest |

+------+--------------------+

 ===========================================
During workspace register :-

stack@DLLT-6511:~/tempest$ tempest workspace register --name abc2 --path ""

stack@DLLT-6511:~/tempest$ tempest workspace list

+------+--------------------+

| Name | Path |

+------+--------------------+

| abc | /opt/stack/tempest |

| abc2 | /opt/stack/tempest |

+------+--------------------+

Changed in tempest:
assignee: nobody → Manik Bindlish (manikbindlish19)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.openstack.org/613219
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=6c95678a7624be4fc68b9a4664b26eb43b146353
Submitter: Zuul
Branch: master

commit 6c95678a7624be4fc68b9a4664b26eb43b146353
Author: Manik Bindlish <email address hidden>
Date: Thu Oct 25 06:59:55 2018 +0000

    Handling invalid path of workspace register and move

    This PS will fix the invalid value handling.
    Error will be raised if no/blank value will be specified for
    workspace register and workspace move for path parameter.

    Change-Id: I0d9956cac27fd4dbb527fd865aa152e4724c01f9
    Closes-Bug: #1799883
    Partially-Implements: blueprint tempest-cli-unit-test-coverage

Changed in tempest:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tempest 20.0.0

This issue was fixed in the openstack/tempest 20.0.0 release.

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.