taskotron / task-rpmdeplint

Created 7 years ago
Maintained by mkrizek
ARCHIVED: Taskotron task to run rpmdeplint and find out broken dependencies for pending Fedora updates  |  https://fedoraproject.org/wiki/Taskotron/Tasks/dist.rpmdeplint
Members 2
Kamil Páral committed 4 years ago


This is kept around for archival purposes only.

This a Taskotron task to check package dependencies satisfiability in Fedora using an rpmdeplint tool. See recent results and task documentation.

Running locally

You can run the same task locally by running the ansible playbook. Install rpmdeplint first:

$ sudo dnf install rpmdeplint

Then execute the following command as root (don't do this on a production machine!):

$ ansible-playbook tests.yml -e taskotron_item=<koji_tag> -e taskotron_arch=<arch>

and replace <koji_tag> and <arch> with actual values.

For example:

$ ansible-playbook tests.yml -e taskotron_item=f27-updates-pending -e taskotron_arch=x86_64

You can see the results in ./artifacts/ directory.

Alternatively you can run the task through Taskotron runner:

$ runtask --item <koji_tag> --type koji_tag --arch <arch> task-rpmdeplint/

Don't forget to use --ssh or --libvirt, otherwise you need to run this as root (not recommended). See Taskotron documentation.

Running the test suite

Install dependepcies:

sudo dnf install rpmdeplint python3-virtualenv python3-rpm createrepo_c

Create virtualenv:

virtualenv --system-site-packages env_rpmdeplint
source env_rpmdeplint/bin/activate
pip install -r requirements.txt

If you don't have libtaskotron installed in the system, but use it from a checkout, you also need to install it and its deps into the virtualenv:

pip install -e /path/to/libtaskotron/checkout
pip install -r /path/to/libtaskotron/checkout/requirements.txt

Run the test suite:


Read tests/scenarios/README.md for more details about writing the tests.