Project

General

Profile

Actions

Bug #45446

closed

vstart_runner.py: using python3 leads to TypeError: unhashable type: 'Raw'

Added by Rishabh Dave almost 4 years ago. Updated almost 4 years ago.

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

0%

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

Description

2020-05-06 22:44:36,158.158 INFO:__main__:======================================================================
2020-05-06 22:44:36,158.158 INFO:__main__:ERROR: test_readonly_authorization (tasks.cephfs.test_volume_client.TestVolumeClient)
2020-05-06 22:44:36,158.158 INFO:__main__:----------------------------------------------------------------------
2020-05-06 22:44:36,158.158 INFO:__main__:Traceback (most recent call last):
2020-05-06 22:44:36,158.158 INFO:__main__:  File "/data/ceph/qa/tasks/cephfs/test_volume_client.py", line 19, in setUp
2020-05-06 22:44:36,158.158 INFO:__main__:    CephFSTestCase.setUp(self)
2020-05-06 22:44:36,159.159 INFO:__main__:  File "/data/ceph/qa/tasks/cephfs/cephfs_test_case.py", line 145, in setUp
2020-05-06 22:44:36,159.159 INFO:__main__:    self.mounts[i].mount_wait()
2020-05-06 22:44:36,159.159 INFO:__main__:  File "/data/ceph/qa/tasks/cephfs/mount.py", line 420, in mount_wait
2020-05-06 22:44:36,159.159 INFO:__main__:    mount_options=mount_options)
2020-05-06 22:44:36,159.159 INFO:__main__:  File "../qa/tasks/vstart_runner.py", line 720, in mount
2020-05-06 22:44:36,160.160 INFO:__main__:    self._set_fuse_daemon_pid()
2020-05-06 22:44:36,160.160 INFO:__main__:  File "../qa/tasks/vstart_runner.py", line 763, in _set_fuse_daemon_pid
2020-05-06 22:44:36,160.160 INFO:__main__:    stdout=StringIO()).stdout.getvalue().strip().split('\n')
2020-05-06 22:44:36,160.160 INFO:__main__:  File "../qa/tasks/vstart_runner.py", line 339, in run
2020-05-06 22:44:36,160.160 INFO:__main__:    return self._do_run(**kwargs)
2020-05-06 22:44:36,160.160 INFO:__main__:  File "../qa/tasks/vstart_runner.py", line 350, in _do_run
2020-05-06 22:44:36,161.161 INFO:__main__:    args = [a for a in args if a not in {
2020-05-06 22:44:36,161.161 INFO:__main__:  File "../qa/tasks/vstart_runner.py", line 351, in <listcomp>
2020-05-06 22:44:36,161.161 INFO:__main__:    'adjust-ulimits', 'ceph-coverage'}]
2020-05-06 22:44:36,161.161 INFO:__main__:TypeError: unhashable type: 'Raw'

The error occurs due this specific line in _do_run() in vstart_runner.py -


        # Filter out helper tools that don't exist in a vstart environment
        args = [a for a in args if a not in {
            'adjust-ulimits', 'ceph-coverage'}]

Actions #1

Updated by Rishabh Dave almost 4 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 34962
  • Labels (FS) qa added
Actions #2

Updated by Patrick Donnelly almost 4 years ago

  • Status changed from Fix Under Review to Resolved
  • Target version set to v16.0.0
Actions

Also available in: Atom PDF