Ubuntu autopkgtests is giving me "No module named pyudev" for PYBUILD tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-rtslib-fb (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
In the build attempt of version
https:/
I got:
...
copying rtslib/tcm.py -> /<<PKGBUILDDIR>
copying rtslib/target.py -> /<<PKGBUILDDIR>
copying rtslib/alua.py -> /<<PKGBUILDDIR>
copying rtslib/__init__.py -> /<<PKGBUILDDIR>
copying rtslib/fabric.py -> /<<PKGBUILDDIR>
copying rtslib/root.py -> /<<PKGBUILDDIR>
running build_scripts
creating build
creating build/scripts-3.8
copying and adjusting scripts/targetctl -> build/scripts-3.8
changing mode of build/scripts-
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test -O--buildsystem
pybuild --test -i python{version} -p 3.8
I: pybuild base:217: cd /<<PKGBUILDDIR>
rtslib (unittest.
rtslib_fb (unittest.
=======
ERROR: rtslib (unittest.
-------
ImportError: Failed to import test module: rtslib
Traceback (most recent call last):
File "/usr/lib/
package = self._get_
File "/usr/lib/
__import_
File "/<<PKGBUILDDIR
from .root import RTSRoot
File "/<<PKGBUILDDIR
from .node import CFSNode
File "/<<PKGBUILDDIR
from .utils import fread, fwrite, RTSLibError, RTSLibNotInCFS
File "/<<PKGBUILDDIR
import pyudev
ModuleNotFoundE
=======
ERROR: rtslib_fb (unittest.
-------
ImportError: Failed to import test module: rtslib_fb
Traceback (most recent call last):
File "/usr/lib/
package = self._get_
File "/usr/lib/
__import_
File "/<<PKGBUILDDIR
from .root import RTSRoot
File "/<<PKGBUILDDIR
from .node import CFSNode
File "/<<PKGBUILDDIR
from .utils import fread, fwrite, RTSLibError, RTSLibNotInCFS
File "/<<PKGBUILDDIR
import pyudev
ModuleNotFoundE
-------
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...
Related branches
- Bryce Harrington (community): Approve
- Canonical Server: Pending requested
-
Diff: 302 lines (+61/-95)11 files modifieddebian/changelog (+28/-0)
debian/control (+1/-0)
debian/patches/fix-path-of-etc-saveconfig.json.patch (+21/-11)
debian/patches/series (+0/-1)
debian/python3-rtslib-fb.install (+2/-2)
debian/rules (+0/-3)
dev/null (+0/-73)
rtslib/__init__.py (+1/-1)
rtslib/fabric.py (+4/-1)
rtslib/root.py (+3/-2)
rtslib/utils.py (+1/-1)
CVE References
Changed in python-rtslib-fb (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
I'll get back to this again when I put python-rtslib-fb back to sync with debian after Debian openstack team accepts (or not :o) my current merge requests (which this new version is based on).