[Bug 1890243] [NEW] Ubuntu autopkgtests is giving me "No module named pyudev" for PYBUILD tests
Rafael David Tinoco
1890243 at bugs.launchpad.net
Tue Aug 4 06:54:12 UTC 2020
Public bug reported:
In the build attempt of version
https://launchpad.net/ubuntu/+source/python-rtslib-fb/2.1.73-1ubuntu1
I got:
...
copying rtslib/tcm.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/rtslib
copying rtslib/target.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/rtslib
copying rtslib/alua.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/rtslib
copying rtslib/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/rtslib
copying rtslib/fabric.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/rtslib
copying rtslib/root.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/rtslib
running build_scripts
creating build
creating build/scripts-3.8
copying and adjusting scripts/targetctl -> build/scripts-3.8
changing mode of build/scripts-3.8/targetctl from 644 to 755
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test -O--buildsystem=pybuild
pybuild --test -i python{version} -p 3.8
I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build; python3.8 -m unittest discover -v
rtslib (unittest.loader._FailedTest) ... ERROR
rtslib_fb (unittest.loader._FailedTest) ... ERROR
======================================================================
ERROR: rtslib (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: rtslib
Traceback (most recent call last):
File "/usr/lib/python3.8/unittest/loader.py", line 470, in _find_test_path
package = self._get_module_from_name(name)
File "/usr/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name
__import__(name)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/rtslib/__init__.py", line 24, in <module>
from .root import RTSRoot
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/rtslib/root.py", line 28, in <module>
from .node import CFSNode
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/rtslib/node.py", line 23, in <module>
from .utils import fread, fwrite, RTSLibError, RTSLibNotInCFS
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/rtslib/utils.py", line 30, in <module>
import pyudev
ModuleNotFoundError: No module named 'pyudev'
======================================================================
ERROR: rtslib_fb (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: rtslib_fb
Traceback (most recent call last):
File "/usr/lib/python3.8/unittest/loader.py", line 470, in _find_test_path
package = self._get_module_from_name(name)
File "/usr/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name
__import__(name)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/rtslib_fb/__init__.py", line 24, in <module>
from .root import RTSRoot
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/rtslib_fb/root.py", line 28, in <module>
from .node import CFSNode
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/rtslib_fb/node.py", line 23, in <module>
from .utils import fread, fwrite, RTSLibError, RTSLibNotInCFS
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/rtslib_fb/utils.py", line 30, in <module>
import pyudev
ModuleNotFoundError: No module named 'pyudev'
----------------------------------------------------------------------
Ran 2 tests in 0.000s
...
I can't reproduce it locally and I'm able to import related modules.
I'm disabling PYBUILD test for python3 for it to pass for now...
** Affects: python-rtslib-fb (Ubuntu)
Importance: Medium
Status: Confirmed
** Changed in: python-rtslib-fb (Ubuntu)
Status: New => Confirmed
** Changed in: python-rtslib-fb (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-rtslib-fb in Ubuntu.
https://bugs.launchpad.net/bugs/1890243
Title:
Ubuntu autopkgtests is giving me "No module named pyudev" for PYBUILD
tests
Status in python-rtslib-fb package in Ubuntu:
Confirmed
Bug description:
In the build attempt of version
https://launchpad.net/ubuntu/+source/python-rtslib-fb/2.1.73-1ubuntu1
I got:
...
copying rtslib/tcm.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/rtslib
copying rtslib/target.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/rtslib
copying rtslib/alua.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/rtslib
copying rtslib/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/rtslib
copying rtslib/fabric.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/rtslib
copying rtslib/root.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/rtslib
running build_scripts
creating build
creating build/scripts-3.8
copying and adjusting scripts/targetctl -> build/scripts-3.8
changing mode of build/scripts-3.8/targetctl from 644 to 755
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test -O--buildsystem=pybuild
pybuild --test -i python{version} -p 3.8
I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build; python3.8 -m unittest discover -v
rtslib (unittest.loader._FailedTest) ... ERROR
rtslib_fb (unittest.loader._FailedTest) ... ERROR
======================================================================
ERROR: rtslib (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: rtslib
Traceback (most recent call last):
File "/usr/lib/python3.8/unittest/loader.py", line 470, in _find_test_path
package = self._get_module_from_name(name)
File "/usr/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name
__import__(name)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/rtslib/__init__.py", line 24, in <module>
from .root import RTSRoot
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/rtslib/root.py", line 28, in <module>
from .node import CFSNode
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/rtslib/node.py", line 23, in <module>
from .utils import fread, fwrite, RTSLibError, RTSLibNotInCFS
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/rtslib/utils.py", line 30, in <module>
import pyudev
ModuleNotFoundError: No module named 'pyudev'
======================================================================
ERROR: rtslib_fb (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: rtslib_fb
Traceback (most recent call last):
File "/usr/lib/python3.8/unittest/loader.py", line 470, in _find_test_path
package = self._get_module_from_name(name)
File "/usr/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name
__import__(name)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/rtslib_fb/__init__.py", line 24, in <module>
from .root import RTSRoot
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/rtslib_fb/root.py", line 28, in <module>
from .node import CFSNode
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/rtslib_fb/node.py", line 23, in <module>
from .utils import fread, fwrite, RTSLibError, RTSLibNotInCFS
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/rtslib_fb/utils.py", line 30, in <module>
import pyudev
ModuleNotFoundError: No module named 'pyudev'
----------------------------------------------------------------------
Ran 2 tests in 0.000s
...
I can't reproduce it locally and I'm able to import related modules.
I'm disabling PYBUILD test for python3 for it to pass for now...
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-rtslib-fb/+bug/1890243/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list