#7767 make fasttest errors because of missing python3-lib389
Closed: fixed Opened by frenaud.

Issue

When running make fasttest, the command exits on error because of missing python3-lib389.

Steps to Reproduce

  1. On a clean system, follow the instructions from https://www.freeipa.org/page/Build to clone the repository and build FreeIPA
  2. make fasttest

Actual behavior

__ ERROR collecting ipatests/test_ipaserver/test_install/test_installutils.py __
ImportError while importing test module '/home/frenaud/freeipa/src/freeipa/ipatests/test_ipaserver/test_install/test_installutils.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
ipatests/test_ipaserver/test_install/test_installutils.py:20: in
from ipaserver.install import ipa_restore
ipaserver/install/ipa_restore.py:45: in
from ipaserver.install import dsinstance, httpinstance, cainstance, krbinstance
ipaserver/install/dsinstance.py:32: in
from lib389 import DirSrv
E ModuleNotFoundError: No module named 'lib389'
!!!!!!!!!!!!!!!!!!! Interrupted: 8 errors during collection !!!!!!!!!!!!!!!!!!!!
===================== 84 skipped, 8 error in 5.75 seconds ======================
make: *** [Makefile:1193: fasttest] Error 2

Expected behavior

dnf builddep should install required python3-lib389, so that make fasttest succeeds.

reproduced on the master branch.


Metadata Update from @frenaud:
- Issue assigned to frenaud

Metadata Update from @frenaud:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/2565

master:

  • 1ec404fafe088c5c6a2c0bf6b300093313c478af freeipa.spec.in: add BuildRequires for python3-lib389

Metadata Update from @frenaud:
- Issue set to the milestone: FreeIPA 4.7.2

ipa-4-7:

  • fb062cc4d8cd2c9c266be5a8277ffad4e95975a8 freeipa.spec.in: add BuildRequires for python3-lib389

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata