Project

General

Profile

Actions

Bug #75089

open

Test failure: test_random (tasks.cephfs.test_dump_tree.TestDumpTree.test_random)

Added by Venky Shankar 26 days ago. Updated about 3 hours ago.

Status:
Pending Backport
Priority:
Normal
Category:
Testing
Target version:
% Done:

0%

Source:
Q/A
Backport:
tentacle,squid
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Tags (freeform):
py312 backport_processed
Fixed In:
v20.3.0-6298-g912e429e04
Released In:
Upkeep Timestamp:
2026-03-20T21:57:46+00:00

Description

- https://pulpito.ceph.com/vshankar-2026-02-20_08:56:26-fs-wip-vshankar-testing-20260219.071614-testing-default-trial/60008/

2026-02-20T09:48:05.532 INFO:teuthology.orchestra.run.trial012.stderr:2026-02-20T09:48:05.528+0000 7f3319a3a640  1 -- 10.20.193.12:0/2874460670 wait complete.
2026-02-20T09:48:05.546 INFO:tasks.cephfs_test_runner:
2026-02-20T09:48:05.546 INFO:tasks.cephfs_test_runner:======================================================================
2026-02-20T09:48:05.546 INFO:tasks.cephfs_test_runner:ERROR: test_random (tasks.cephfs.test_dump_tree.TestDumpTree.test_random)
2026-02-20T09:48:05.546 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2026-02-20T09:48:05.546 INFO:tasks.cephfs_test_runner:Traceback (most recent call last):
2026-02-20T09:48:05.546 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_ceph-c_138628ee6175b6249df91ec63475221c50a01f37/qa/tasks/cephfs/test_dump_tree.py", line 42, in test_random
2026-02-20T09:48:05.546 INFO:tasks.cephfs_test_runner:    target = random.sample(inos.keys(), 1)[0]
2026-02-20T09:48:05.546 INFO:tasks.cephfs_test_runner:             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-20T09:48:05.546 INFO:tasks.cephfs_test_runner:  File "/usr/lib/python3.12/random.py", line 413, in sample
2026-02-20T09:48:05.547 INFO:tasks.cephfs_test_runner:    raise TypeError("Population must be a sequence.  " 
2026-02-20T09:48:05.547 INFO:tasks.cephfs_test_runner:TypeError: Population must be a sequence.  For dicts or sets, use sorted(d).
2026-02-20T09:48:05.547 INFO:tasks.cephfs_test_runner:
2026-02-20T09:48:05.547 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------

Possibly due to a python version change.


Related issues 2 (2 open0 closed)

Copied to CephFS - Backport #75646: tentacle: Test failure: test_random (tasks.cephfs.test_dump_tree.TestDumpTree.test_random)NewPatrick DonnellyActions
Copied to CephFS - Backport #75647: squid: Test failure: test_random (tasks.cephfs.test_dump_tree.TestDumpTree.test_random)NewPatrick DonnellyActions
Actions #1

Updated by Venky Shankar 26 days ago

Rishabh, can you take a quick look at this please?

Actions #2

Updated by Patrick Donnelly 22 days ago

  • Status changed from New to Fix Under Review
  • Assignee changed from Rishabh Dave to Patrick Donnelly
  • Pull request ID set to 67557
Actions #3

Updated by Venky Shankar 19 days ago

  • Tags (freeform) set to py312
Actions #4

Updated by Patrick Donnelly 18 days ago

  • Backport set to tentacle,squid
Actions #5

Updated by Upkeep Bot about 4 hours ago

  • Status changed from Fix Under Review to Pending Backport
  • Merge Commit set to 912e429e0431850e990865d5d007c733deeb3d9e
  • Fixed In set to v20.3.0-6298-g912e429e04
  • Upkeep Timestamp set to 2026-03-20T21:57:46+00:00
Actions #6

Updated by Upkeep Bot about 3 hours ago

  • Copied to Backport #75646: tentacle: Test failure: test_random (tasks.cephfs.test_dump_tree.TestDumpTree.test_random) added
Actions #7

Updated by Upkeep Bot about 3 hours ago

  • Copied to Backport #75647: squid: Test failure: test_random (tasks.cephfs.test_dump_tree.TestDumpTree.test_random) added
Actions #8

Updated by Upkeep Bot about 3 hours ago

  • Tags (freeform) changed from py312 to py312 backport_processed
Actions

Also available in: Atom PDF