Tests fail with ImportError: cannot import name get_subvols
Closed this issue · 2 comments
nigelbabu commented
11:01:12 ImportError while importing test module '/root/glusto-tests/tests/functional/bvt/test_basic.py'.
11:01:12 Hint: make sure your test modules/packages have valid Python names.
11:01:12 Traceback:
11:01:12 functional/bvt/test_basic.py:22: in <module>
11:01:12 from glustolibs.gluster.gluster_base_class import GlusterBaseClass
11:01:12 ../glustolibs-gluster/glustolibs/gluster/gluster_base_class.py:31: in <module>
11:01:12 from glustolibs.gluster.volume_libs import (setup_volume, cleanup_volume,
11:01:12 ../glustolibs-gluster/glustolibs/gluster/volume_libs.py:40: in <module>
11:01:12 from glustolibs.gluster.brick_libs import are_bricks_online, get_all_bricks
11:01:12 ../glustolibs-gluster/glustolibs/gluster/brick_libs.py:23: in <module>
11:01:12 from glustolibs.gluster.volume_libs import (get_subvols, is_tiered_volume,
11:01:12 E ImportError: cannot import name get_subvols
See: https://ci.centos.org/view/Gluster/job/gluster_glusto/276/console
shwetha-h-p commented
Yes, JOnathan reported this. I will fix this asap . Today definitely. I am not sure how pyflakes/pylint passed this. But will fix this and send a patch.
…----- Original Message -----
From: "Nigel Babu" <notifications@github.com>
To: "gluster/glusto-tests" <glusto-tests@noreply.github.com>
Cc: "Subscribed" <subscribed@noreply.github.com>
Sent: Monday, June 5, 2017 5:13:01 PM
Subject: [gluster/glusto-tests] Tests fail with ImportError: cannot import name get_subvols (#1)
```
11:01:12 ImportError while importing test module '/root/glusto-tests/tests/functional/bvt/test_basic.py'.
11:01:12 Hint: make sure your test modules/packages have valid Python names.
11:01:12 Traceback:
11:01:12 functional/bvt/test_basic.py:22: in <module>
11:01:12 from glustolibs.gluster.gluster_base_class import GlusterBaseClass
11:01:12 ../glustolibs-gluster/glustolibs/gluster/gluster_base_class.py:31: in <module>
11:01:12 from glustolibs.gluster.volume_libs import (setup_volume, cleanup_volume,
11:01:12 ../glustolibs-gluster/glustolibs/gluster/volume_libs.py:40: in <module>
11:01:12 from glustolibs.gluster.brick_libs import are_bricks_online, get_all_bricks
11:01:12 ../glustolibs-gluster/glustolibs/gluster/brick_libs.py:23: in <module>
11:01:12 from glustolibs.gluster.volume_libs import (get_subvols, is_tiered_volume,
11:01:12 E ImportError: cannot import name get_subvols
```
See: https://ci.centos.org/view/Gluster/job/gluster_glusto/276/console
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#1