Project

General

Profile

Actions

Bug #48758

closed

"ImportError (No module named rados) ... ERROR" in upgrade:octopus-x-master

Added by Yuri Weinstein over 3 years ago. Updated over 3 years ago.

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

0%

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

Description

This is a try to run rbd test_rbd_python tests for cephadm octopus-x => master upgrade.

Run: https://pulpito.ceph.com/teuthology-2021-01-05_19:31:10-upgrade:octopus-x-master-distro-basic-smithi/
Job: 5757588
Logs: http://qa-proxy.ceph.com/teuthology/teuthology-2021-01-05_19:31:10-upgrade:octopus-x-master-distro-basic-smithi/5757588/teuthology.log

2021-01-05T19:57:02.627 INFO:tasks.workunit:Running workunit rbd/test_librbd_python.sh...
2021-01-05T19:57:02.627 DEBUG:teuthology.orchestra.run.smithi066:workunit test rbd/test_librbd_python.sh> mkdir -p -- /home/ubuntu/cephtest/mnt.0/client.0/tmp && cd -- /home/ubuntu/cephtest/mnt.0/client.0/tmp && CEPH_CLI_TEST_DUP_COMMAND=1 CEPH_REF=nautilus TESTDIR="/home/ubuntu/cephtest" CEPH_ARGS="--cluster ceph" CEPH_ID="0" PATH=$PATH:/usr/sbin CEPH_BASE=/home/ubuntu/cephtest/clone.client.0 CEPH_ROOT=/home/ubuntu/cephtest/clone.client.0 adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage timeout 3h /home/ubuntu/cephtest/clone.client.0/qa/workunits/rbd/test_librbd_python.sh
2021-01-05T19:57:02.678 INFO:tasks.workunit.client.0.smithi066.stderr:+ dirname /home/ubuntu/cephtest/clone.client.0/qa/workunits/rbd/test_librbd_python.sh
2021-01-05T19:57:02.679 INFO:tasks.workunit.client.0.smithi066.stderr:+ relpath=/home/ubuntu/cephtest/clone.client.0/qa/workunits/rbd/../../../src/test/pybind
2021-01-05T19:57:02.680 INFO:tasks.workunit.client.0.smithi066.stderr:+ [ -n  ]
2021-01-05T19:57:02.680 INFO:tasks.workunit.client.0.smithi066.stderr:+ nosetests -v /home/ubuntu/cephtest/clone.client.0/qa/workunits/rbd/../../../src/test/pybind/test_rbd.py
2021-01-05T19:57:02.830 INFO:journalctl@ceph.mon.a.smithi066.stdout:Jan 05 19:57:02 smithi066 bash[12969]: cluster 2021-01-05T19:57:01.384614+0000 mgr.y (mgr.14138) 322 : cluster [DBG] pgmap v266: 1 pgs: 1 active+clean; 0 B data, 3.4 MiB used, 707 GiB / 715 GiB avail
2021-01-05T19:57:02.831 INFO:journalctl@ceph.mon.c.smithi066.stdout:Jan 05 19:57:02 smithi066 bash[17310]: cluster 2021-01-05T19:57:01.384614+0000 mgr.y (mgr.14138) 322 : cluster [DBG] pgmap v266: 1 pgs: 1 active+clean; 0 B data, 3.4 MiB used, 707 GiB / 715 GiB avail
2021-01-05T19:57:02.882 INFO:journalctl@ceph.mon.b.smithi017.stdout:Jan 05 19:57:02 smithi017 bash[12999]: cluster 2021-01-05T19:57:01.384614+0000 mgr.y (mgr.14138) 322 : cluster [DBG] pgmap v266: 1 pgs: 1 active+clean; 0 B data, 3.4 MiB used, 707 GiB / 715 GiB avail
2021-01-05T19:57:03.069 INFO:tasks.workunit.client.0.smithi066.stderr:Failure: ImportError (No module named rados) ... ERROR
2021-01-05T19:57:03.070 INFO:tasks.workunit.client.0.smithi066.stderr:
2021-01-05T19:57:03.070 INFO:tasks.workunit.client.0.smithi066.stderr:======================================================================
2021-01-05T19:57:03.070 INFO:tasks.workunit.client.0.smithi066.stderr:ERROR: Failure: ImportError (No module named rados)
2021-01-05T19:57:03.070 INFO:tasks.workunit.client.0.smithi066.stderr:----------------------------------------------------------------------
2021-01-05T19:57:03.071 INFO:tasks.workunit.client.0.smithi066.stderr:Traceback (most recent call last):
2021-01-05T19:57:03.071 INFO:tasks.workunit.client.0.smithi066.stderr:  File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 418, in loadTestsFromName
2021-01-05T19:57:03.071 INFO:tasks.workunit.client.0.smithi066.stderr:    addr.filename, addr.module)
2021-01-05T19:57:03.071 INFO:tasks.workunit.client.0.smithi066.stderr:  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath
2021-01-05T19:57:03.071 INFO:tasks.workunit.client.0.smithi066.stderr:    return self.importFromDir(dir_path, fqname)
2021-01-05T19:57:03.072 INFO:tasks.workunit.client.0.smithi066.stderr:  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir
2021-01-05T19:57:03.072 INFO:tasks.workunit.client.0.smithi066.stderr:    mod = load_module(part_fqname, fh, filename, desc)
2021-01-05T19:57:03.072 INFO:tasks.workunit.client.0.smithi066.stderr:  File "/home/ubuntu/cephtest/clone.client.0/src/test/pybind/test_rbd.py", line 14, in <module>
2021-01-05T19:57:03.072 INFO:tasks.workunit.client.0.smithi066.stderr:    from rados import (Rados,
2021-01-05T19:57:03.072 INFO:tasks.workunit.client.0.smithi066.stderr:ImportError: No module named rados
2021-01-05T19:57:03.073 INFO:tasks.workunit.client.0.smithi066.stderr:
2021-01-05T19:57:03.073 INFO:tasks.workunit.client.0.smithi066.stderr:----------------------------------------------------------------------
2021-01-05T19:57:03.073 INFO:tasks.workunit.client.0.smithi066.stderr:Ran 1 test in 0.001s
2021-01-05T19:57:03.073 INFO:tasks.workunit.client.0.smithi066.stderr:
2021-01-05T19:57:03.073 INFO:tasks.workunit.client.0.smithi066.stderr:FAILED (errors=1)
Actions #1

Updated by Yuri Weinstein over 3 years ago

This is test was running on wrong workunit from `nuatilus`

Re-testing it https://pulpito.ceph.com/teuthology-2021-01-05_23:34:06-upgrade:octopus-x-master-distro-basic-smithi/

Actions #2

Updated by Yuri Weinstein over 3 years ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF