Hide Forgot
I am running rpm-test-trigger against a RHEL6.8 advisory, but I left advisory.releases_to_test config setting blank: 2016-12-07 15:06:57,430 rpmtesttrigger.trigger INFO Ignoring advisory for release: RHEL-6.8.z. Configured releases: [] 2016-12-07 15:06:57,434 rpmtesttrigger.trigger INFO Ignoring advisory for release: RHEL-6.8.z. Configured releases: [] 2016-12-07 15:06:57,435 rpmtesttrigger.trigger INFO Downloaded packages directory /tmp/tmpgq6orfsa 2016-12-07 15:06:57,435 rpmtesttrigger.trigger INFO rpmdeplint result 0 2016-12-07 15:06:57,435 rpmtesttrigger.trigger INFO Post comment to ET: test has passed If it's not going to test anything, it shouldn't download packages and run rpmdeplint (or claim to), nor should it comment to say that a test has passed when it never tested anything.
A related problem: we are checking the release (and its applicability) for every advisory in the dependency chain. We don't need to do that -- what matters is whether the advisory we are actually testing is applicable or not. Seems like the fix is to shuffle things around so that the get_release_for_advisory() test is done before calling get_builds_for_errata().
https://gerrit.beaker-project.org/5543