Project

General

Profile

Actions

Bug #45305

closed

qa: rbd-nbd unmap_device may exit earlier due to incorrect list-mapped filter

Added by Mykola Golub about 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
octopus,nautilus,mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The `unmap_device` function from rbd-nbd.sh test, waits for the device is unmaped by filtering `rbd-nbd list-mapped` output. The current filter (`grep "${list_dev} $"`) fails since some time because `rbd-nbd list-mapped` has been changed (probably due to updated TextTable) and now it does not print the white space at the end.

We can change the filter to `grep "${list_dev} *$"`, so it works for any version.


Related issues 3 (0 open3 closed)

Copied to rbd - Backport #45363: mimic: qa: rbd-nbd unmap_device may exit earlier due to incorrect list-mapped filterRejectedActions
Copied to rbd - Backport #45364: octopus: qa: rbd-nbd unmap_device may exit earlier due to incorrect list-mapped filterResolvedNathan CutlerActions
Copied to rbd - Backport #45365: nautilus: qa: rbd-nbd unmap_device may exit earlier due to incorrect list-mapped filterResolvedNathan CutlerActions
Actions #1

Updated by Mykola Golub about 4 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 34787
Actions #2

Updated by Jason Dillaman about 4 years ago

  • Backport changed from octopus,nautilus,mimic,luminous to octopus,nautilus,mimic
Actions #3

Updated by Jason Dillaman almost 4 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Nathan Cutler almost 4 years ago

  • Copied to Backport #45363: mimic: qa: rbd-nbd unmap_device may exit earlier due to incorrect list-mapped filter added
Actions #5

Updated by Nathan Cutler almost 4 years ago

  • Copied to Backport #45364: octopus: qa: rbd-nbd unmap_device may exit earlier due to incorrect list-mapped filter added
Actions #6

Updated by Nathan Cutler almost 4 years ago

  • Copied to Backport #45365: nautilus: qa: rbd-nbd unmap_device may exit earlier due to incorrect list-mapped filter added
Actions #7

Updated by Nathan Cutler over 3 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF