#234 test needs python3-psutil
Closed by msrb. Opened by bevhost.

I have updated wide-dhcpv6 and I have discovered an issue which I apparently don't know how to fix properly.

For some reason, the test now needs a package called python3-psutil,
which I have added to tests/tests.yml
see
https://src.fedoraproject.org/rpms/wide-dhcpv6/c/3fc57f009964706d3fef037adbe9413221582572?branch=rawhide

When I run the tests on my own machine they pass OK,
so long as I have this extra package installed.

However, when I do a pull request from a clone repo,
the jenkins test fails. see
https://osci-jenkins-1.ci.fedoraproject.org/job/fedora-ci/job/dist-git-pipeline/job/master/34498/testReport/(root)/tests/

Am I doing something wrong?


::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [ 08:51:47 ] :: [ LOG ] :: Starting dhcp6c tests ...
:: [ 08:51:47 ] :: [ BEGIN ] :: Running '/usr/bin/python3 /usr/bin/dhcp6c-tests.py'
Traceback (most recent call last):
File "/usr/bin/dhcp6c-tests.py", line 18, in
import psutil
ModuleNotFoundError: No module named 'psutil'
:: [ 08:51:47 ] :: [ FAIL ] :: Command '/usr/bin/python3 /usr/bin/dhcp6c-tests.py' (Expected 0, got 1)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 0s
:: Assertions: 0 good, 1 bad
:: RESULT: FAIL (Test)

Hi @bevhost

I think rebasing the pull request on top of rawhide branch would have helped here.

Please let us know if you have more questions.

Thanks!

Metadata Update from @msrb:
- Issue status updated to: Closed (was: Open)

Metadata