#204: add depcheck to post-bodhi-update hook
--------------------+-------------------------------------------------------
Reporter: wwoods | Owner:
Type: task | Status: new
Priority: major | Milestone: Package Update Acceptance Test Plan - depcheck
Component: tests | Resolution:
Keywords: |
--------------------+-------------------------------------------------------
Comment (by kparal):
The test wrapper can't help in this case. If you run "watch-bodhi-
requests.py --dryrun" you will see that for every new update in Bodhi a
new autoqa instance is called with different arguments:
{{{
autoqa post-bodhi-update --title libvmime07-0.7.1-4.fc14 --updateid
FEDORA-2010-17068 --target-tag dist-f14-updates --arch i686 --arch x86_64
--arch noarch libvmime07-0.7.1-4.fc14
autoqa post-bodhi-update --title libisofs-0.6.38-1.fc14 --updateid
FEDORA-2010-17030 --target-tag dist-f14-updates --arch i686 --arch x86_64
--arch noarch libisofs-0.6.38-1.fc14
autoqa post-bodhi-update --title openmpi-1.4.3-7.fc14 --updateid
FEDORA-2010-16765 --target-tag dist-f14-updates --arch i686 --arch x86_64
--arch noarch openmpi-1.4.3-7.fc14
...
}}}
The test wrapper will receive only arguments from each of this call,
separately. It can't group it together.
We will need to do some ugly hack (like creating new watcher tailored to
depcheck) or change our workflow logic quite a bit. Probably the best way
would be to adjust watchers to pass over all information at once. And then
the hook or the particular test's control.autoqa file can adjust the
handling as needed.
--
Ticket URL: <
https://fedorahosted.org/autoqa/ticket/204#comment:2>
AutoQA <
http://autoqa.fedorahosted.org>
Automated QA project