Project

General

Profile

Actions

Bug #55394

open

qa/cephfs: don't exclamation mark on test_cephfs_shell.py

Added by Rishabh Dave about 2 years ago. Updated about 1 year ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
backport_processed
Backport:
quincy, pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Exclamation mark is a special character for bash as well as
cephfs-shell. For bash, it substitutes current command with matching
command from command history and for cephfs-shell it runs the command
as OS-level command and not inside the cephfs-shell.

And evey command executed in tests (say "ls") is run by passing it as a
parameter to cephfs-shell command (that is "cephfs-shell c <conf> -
ls"). So, exclamation mark, when used in tests, is consumed by bash
instead of cephfs-shell.

To avoid these complications it's best (and even simpler!) to issue the
command meant for bash on bash without going through cephfs-shell.


Related issues 2 (1 open1 closed)

Copied to Ceph - Backport #55403: quincy: qa/cephfs: don't exclamation mark on test_cephfs_shell.pyNewRishabh DaveActions
Copied to Ceph - Backport #55404: pacific: qa/cephfs: don't exclamation mark on test_cephfs_shell.pyRejectedActions
Actions #1

Updated by Rishabh Dave about 2 years ago

  • Description updated (diff)
Actions #2

Updated by Venky Shankar about 2 years ago

  • Status changed from In Progress to Pending Backport
  • Backport set to quincy, pacific
  • Pull request ID set to 45971
Actions #3

Updated by Backport Bot about 2 years ago

  • Copied to Backport #55403: quincy: qa/cephfs: don't exclamation mark on test_cephfs_shell.py added
Actions #4

Updated by Backport Bot about 2 years ago

  • Copied to Backport #55404: pacific: qa/cephfs: don't exclamation mark on test_cephfs_shell.py added
Actions #5

Updated by Backport Bot over 1 year ago

  • Tags set to backport_processed
Actions #6

Updated by Rishabh Dave about 1 year ago

  • Project changed from Ceph to CephFS
Actions

Also available in: Atom PDF