Project

General

Profile

Actions

Bug #63699

closed

qa: failed cephfs-shell test_reading_conf

Added by Patrick Donnelly over 2 years ago. Updated 5 months ago.

Status:
Resolved
Priority:
High
Category:
Correctness/Safety
Target version:
% Done:

0%

Source:
Q/A
Backport:
reef,squid
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
cephfs-shell
Labels (FS):
qa-failure
Pull request ID:
Tags (freeform):
backport_processed
Fixed In:
v19.3.0-1221-ga21870ae03
Released In:
v20.2.0~3176
Upkeep Timestamp:
2025-11-01T01:28:21+00:00

Description

2023-11-30T08:51:11.325 INFO:tasks.cephfs.test_cephfs_shell:Running command: cephfs-shell -c /tmp/tmp.j3bxmkqjzG -- set editor ?, set editor
2023-11-30T08:51:11.326 DEBUG:teuthology.orchestra.run.smithi105:> cephfs-shell -c /tmp/tmp.j3bxmkqjzG -- 'set editor ?, set editor'
2023-11-30T08:51:11.598 INFO:teuthology.orchestra.run.smithi105.stdout:editor - was: 'vim'
2023-11-30T08:51:11.598 INFO:teuthology.orchestra.run.smithi105.stdout:now: '?'
2023-11-30T08:51:11.598 INFO:teuthology.orchestra.run.smithi105.stdout:Name    Value                           Description
2023-11-30T08:51:11.598 INFO:teuthology.orchestra.run.smithi105.stdout:====================================================================================================
2023-11-30T08:51:11.598 INFO:teuthology.orchestra.run.smithi105.stdout:editor  ?                               Program used by 'edit'
2023-11-30T08:51:11.621 INFO:tasks.cephfs_test_runner:test_reading_conf (tasks.cephfs.test_cephfs_shell.TestShellOpts) ... ERROR
2023-11-30T08:51:11.621 INFO:tasks.cephfs_test_runner:
2023-11-30T08:51:11.621 INFO:tasks.cephfs_test_runner:======================================================================
2023-11-30T08:51:11.621 INFO:tasks.cephfs_test_runner:ERROR: test_reading_conf (tasks.cephfs.test_cephfs_shell.TestShellOpts)
2023-11-30T08:51:11.622 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2023-11-30T08:51:11.622 INFO:tasks.cephfs_test_runner:Traceback (most recent call last):
2023-11-30T08:51:11.622 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_ceph-c_1fa8a21e5009a1a3a2be6bf3680f85de5ba47b59/qa/tasks/cephfs/test_cephfs_shell.py", line 1114, in setUp
2023-11-30T08:51:11.622 INFO:tasks.cephfs_test_runner:    self.editor_val = self.editor_val.split(':')[1]. \
2023-11-30T08:51:11.622 INFO:tasks.cephfs_test_runner:IndexError: list index out of range
2023-11-30T08:51:11.622 INFO:tasks.cephfs_test_runner:
2023-11-30T08:51:11.622 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2023-11-30T08:51:11.622 INFO:tasks.cephfs_test_runner:Ran 60 tests in 1603.411s
2023-11-30T08:51:11.622 INFO:tasks.cephfs_test_runner:
2023-11-30T08:51:11.622 INFO:tasks.cephfs_test_runner:FAILED (errors=1)

/ceph/teuthology-archive/pdonnell-2023-11-30_08:05:19-fs:shell-wip-batrick-testing-20231130.014408-distro-default-smithi/7471751/teuthology.log

This is with cephfs-shell tests now running on Centos 9.


Related issues 3 (0 open3 closed)

Copied to CephFS - Backport #65346: quincy: qa: failed cephfs-shell test_reading_confRejectedNeeraj Pratap SinghActions
Copied to CephFS - Backport #65347: squid: qa: failed cephfs-shell test_reading_confResolvedNeeraj Pratap SinghActions
Copied to CephFS - Backport #65348: reef: qa: failed cephfs-shell test_reading_confResolvedNeeraj Pratap SinghActions
Actions #1

Updated by Venky Shankar over 2 years ago

  • Category set to Correctness/Safety
  • Assignee set to Neeraj Pratap Singh
  • Backport set to quincy,reef
Actions #3

Updated by Venky Shankar about 2 years ago

Neeraj, PTAL asap.

Actions #4

Updated by Neeraj Pratap Singh about 2 years ago

  • Pull request ID set to 55725
Actions #5

Updated by Neeraj Pratap Singh about 2 years ago

  • Status changed from New to Fix Under Review
Actions #6

Updated by Venky Shankar almost 2 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport changed from quincy,reef to quincy,reef,squid
Actions #7

Updated by Upkeep Bot almost 2 years ago

  • Copied to Backport #65346: quincy: qa: failed cephfs-shell test_reading_conf added
Actions #8

Updated by Upkeep Bot almost 2 years ago

  • Copied to Backport #65347: squid: qa: failed cephfs-shell test_reading_conf added
Actions #9

Updated by Upkeep Bot almost 2 years ago

  • Copied to Backport #65348: reef: qa: failed cephfs-shell test_reading_conf added
Actions #14

Updated by Upkeep Bot over 1 year ago

  • Tags (freeform) set to backport_processed
Actions #15

Updated by Neeraj Pratap Singh over 1 year ago · Edited

The issue that this tracker discusses arose due to the changes in the output structure of `set` command which is being used in `test_cephfs_shell.TestShellOpts`.
Link : https://github.com/python-cmd2/cmd2/commit/fd38e706e33ff382a403e8b6956a9c1d24995ed0
It is mentioned in cmd2 2.4 release Documentation link : https://readthedocs.org/projects/cmd2/downloads/pdf/latest/

Actions #19

Updated by Kotresh Hiremath Ravishankar about 1 year ago · Edited

  • Status changed from Pending Backport to New

reef:

https://pulpito.ceph.com/mchangir-2025-01-29_06:29:12-fs-wip-mchangir-testing-20250127.055643-reef-debug-distro-default-smithi/8100703

Neeraj,

I see that the reef backport is resolved and am still seeing this in reef run.

Actions #20

Updated by Kotresh Hiremath Ravishankar about 1 year ago

  • Status changed from New to Need More Info
Actions #21

Updated by Neeraj Pratap Singh about 1 year ago

Kotresh Hiremath Ravishankar wrote in #note-19:

reef:

https://pulpito.ceph.com/mchangir-2025-01-29_06:29:12-fs-wip-mchangir-testing-20250127.055643-reef-debug-distro-default-smithi/8100703

Neeraj,

I see that the reef backport is resolved and am still seeing this in reef run.

This issue was seen only in centos which is mentioned in the tracker description and it got fixed. And the failure we are seeing https://pulpito.ceph.com/mchangir-2025-01-29_06:29:12-fs-wip-mchangir-testing-20250127.055643-reef-debug-distro-default-smithi/8100703/ is different and seeing in ubuntu. This new failure is happening because the issue mentioned was not seen in ubuntu and it got the new changes.

Actions #22

Updated by Konstantin Shalygin about 1 year ago

  • Backport changed from quincy,reef,squid to reef,squid
Actions #23

Updated by Konstantin Shalygin about 1 year ago

  • Status changed from Need More Info to Pending Backport
Actions #24

Updated by Upkeep Bot 9 months ago

  • Merge Commit set to a21870ae03a88fce237895b1bdadba6dc8cea10f
  • Fixed In set to v19.3.0-1221-ga21870ae03a
  • Upkeep Timestamp set to 2025-07-09T16:08:43+00:00
Actions #25

Updated by Upkeep Bot 8 months ago

  • Fixed In changed from v19.3.0-1221-ga21870ae03a to v19.3.0-1221-ga21870ae03
  • Upkeep Timestamp changed from 2025-07-09T16:08:43+00:00 to 2025-07-14T17:41:41+00:00
Actions #26

Updated by Jos Collin 7 months ago

  • Status changed from Pending Backport to Resolved
Actions #27

Updated by Upkeep Bot 5 months ago

  • Released In set to v20.2.0~3176
  • Upkeep Timestamp changed from 2025-07-14T17:41:41+00:00 to 2025-11-01T01:28:21+00:00
Actions

Also available in: Atom PDF