Skip to content

nvme_copy_test fails on decoding output #3232

@igaw

Description

@igaw
root@localhost:/home/wagi/work/nvme-cli# /usr/bin/nose2 --verbose --start-dir /home/wagi/work/nvme-cli/tests nvme_copy_test
test_copy (nvme_copy_test.TestNVMeCopy.test_copy)
Testcase main ...
Using nvme binary 'nvme'

setup: ctrl: /dev/nvme0, ns1: /dev/nvme0n1, default_nsid: 1, flbas: 0

ERROR



======================================================================
ERROR: test_copy (nvme_copy_test.TestNVMeCopy.test_copy)
Testcase main
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/wagi/work/nvme-cli/tests/nvme_copy_test.py", line 53, in setUp
    if self.host_behavior_data[4] & cross_namespace_copy:
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for &: 'str' and 'int'

----------------------------------------------------------------------
Ran 1 test in 0.336s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions