#9507 azure pipeline: tox is failing on ipa-4-10 branch
Closed: fixed 3 months ago by rcritten. Opened 3 months ago by frenaud.

Issue

The azure pipelines run tox tests but are failing on the ipa-4-10 branch. See for instance PR #7137 with the following logs:

py3: 98922 W commands[1] /__w/1/s/.tox/py3> bin/ipa-run-tests --junitxml=/__w/1/s/.tox/py3/junit-py3.xml --ipaclient-unittests [tox/tox_env/api.py:427]
...
=========================== short test summary info ============================
SKIPPED [418] util.py:82: Skip in ipaclient unittest mode
SKIPPED [24] conftest.py:155: Skip in ipaclient unittest mode
SKIPPED [1] test_ipaplatform/test_importhook.py:27: test requires override
SKIPPED [1] test_ipapython/test_certdb.py:47: NSS is built without support of the legacy database(DBM)
SKIPPED [1] test_ipapython/test_certdb.py:104: NSS is built without support of the legacy database(DBM)
SKIPPED [1] test_ipapython/test_certdb.py:143: NSS is built without support of the legacy database(DBM)
SKIPPED [1] test_ipapython/test_ipautil.py:165: Python 2 only
SKIPPED [1] test_ipapython/test_ipautil.py:523: Must have root privileges to run this test
SKIPPED [10] conftest.py:174: Skip test on 'any' container type: kernel keyrings are not namespaced yet
FAILED test_ipapython/test_ipautil.py::test_ip_address[10.11.12.13/14-words2-14]
FAILED test_ipapython/test_ipautil.py::test_ip_address[10.11.12.0/24-words10-24]
FAILED test_ipapython/test_ipautil.py::test_ip_address[10.11.12.255/24-words13-24]
FAILED test_ipapython/test_ipautil.py::test_ip_address[2001::1/72-words17-72]
FAILED test_ipapython/test_ipautil.py::test_ip_address[2001::/64-words25-64]
=========== 5 failed, 545 passed, 458 skipped, 37 warnings in 22.21s ===========

The failure happens with netaddr 0.10.1 (installed in tox venv with pip) but the test succeeds with netaddr 0.8 (fedora 38 ships python3-netaddr 0.8.0-11).

The test should force the version to 0.8.


Metadata Update from @frenaud:
- Issue assigned to frenaud

3 months ago

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

3 months ago

Metadata Update from @frenaud:
- Issue tagged with: test-failure, tests

3 months ago

ipa-4-10:

  • 49fd018 azure tests: pin netaddr version

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

3 months ago

ipa-4-9:

  • 67ca47b ipa-kdb: Ensure Bronze-Bit check can be enabled
  • 8cf9514 azure tests: pin netaddr version

Login to comment on this ticket.

Metadata