dustymabe reported a new issue against the project: `releng` that you are following: ``
It would be nice if we could predict when dependency failures in image builds will happen. I have been using a rough set of commands to do this in the past few weeks but this could be polished up and put in place to forecast failures.
What I;ve been doing is:
` dnf --releasever 29 --installroot /srv/installroot/ --disablerepo=* --enablerepo=today --enablerepo=koji install $(cat packages.txt | sed 's/^-/--exclude /' | tr '\n' ' ') `
- where repo `today` is today's rawhide run - where repo `koji` is the f29-build repo - where packages.txt is the %packages list from a kickstart file
This is a pretty good indicator of failures.
This could be refined and put into a testing framework to run often. Steps: For each kickstart do:
- `ksflatten` kickstart file and get `%packages` list - For groups use libcomps and fedora-comps repo to determine packages - use koji `f29-build` repo and list of packages to determine if there are missing dependencies
``
To reply, visit the link below or just reply to this email https://pagure.io/releng/issue/7388
ignatenkobrain added a new comment to an issue you are following: `` yes, koji should do same. But instead of doing `dnf install`, it's much more efficient to use libsolv's or DNF's API to do dependency solving. ``
To reply, visit the link below or just reply to this email https://pagure.io/releng/issue/7388
dustymabe added a new comment to an issue you are following: ``
yes, koji should do same. But instead of doing dnf install, it's much more efficient to use libsolv's or DNF's API to do dependency solving.
yeah I only included the dnf command in there so I can do it again if I need to soon. if we call the API I'd like to get a nice error message to output in the test without writing a bunch of code to do it. I know `/usr/bin/dnf` will do that for us, I don't know about the API.
``
To reply, visit the link below or just reply to this email https://pagure.io/releng/issue/7388
The issue: `predicting dependency failures in image builds` of project: `releng` has been assigned to `humaton` by syeghiay.
rel-eng@lists.fedoraproject.org