#205: make depcheck submit karma/comments to bodhi --------------------+------------------------------------------------------- Reporter: wwoods | Owner: Type: task | Status: new Priority: major | Milestone: Package Update Acceptance Test Plan - depcheck Component: tests | Version: 1.0 Keywords: | --------------------+------------------------------------------------------- Modify the depcheck test so that it sends status info - karma, comments, whatever - to bodhi.
#205: make depcheck submit karma/comments to bodhi ---------------------+------------------------------------------------------ Reporter: wwoods | Owner: Type: task | Status: new Priority: major | Milestone: Package Update Acceptance Test Plan - depcheck Component: tests | Version: 1.0 Resolution: | Keywords: ---------------------+------------------------------------------------------ Comment (by wwoods):
This will probably work similarly to the way `rats_{install,sanity}.py` use `irb.conf` - there will need to be a private configuration file that contains the autoqa username/password, which the test can use to submit karma.
This information '''cannot''' be put in the system-wide autoqa config, because that shows up in the logs in plaintext, and we really don't want to expose the autoqa password to the world.
#205: make depcheck submit karma/comments to bodhi ---------------------+------------------------------------------------------ Reporter: wwoods | Owner: Type: task | Status: new Priority: major | Milestone: Package Update Acceptance Test Plan Component: tests | Version: 1.0 Resolution: | Keywords: ---------------------+------------------------------------------------------ Changes (by jlaska):
* milestone: Package Update Acceptance Test Plan - depcheck => Package Update Acceptance Test Plan
Comment:
Per discussion at recent [https://fedorahosted.org/pipermail/autoqa- devel/2010-September/001175.html autoqa-devel meeting], moving out of depcheck milestone and into generic Package Update Acceptance Test Plan milestone. The lessons learned in this ticket will apply to the entire test plan, not just the depcheck test case.
#205: make depcheck submit karma/comments to bodhi --------------------+------------------------------------------------------- Reporter: wwoods | Owner: Type: task | Status: new Priority: major | Milestone: Package Update Acceptance Test Plan Component: tests | Resolution: Keywords: | --------------------+------------------------------------------------------- Changes (by lmacken):
* cc: lmacken (added)
#205: make depcheck submit karma/comments to bodhi --------------------+------------------------------------------------------- Reporter: wwoods | Owner: Type: task | Status: new Priority: major | Milestone: 0.4.4 Component: tests | Resolution: Keywords: | --------------------+------------------------------------------------------- Changes (by kparal):
* milestone: Package Update Acceptance Test Plan => 0.4.4
#205: Provide a support for sending comments into Bodhi -------------------------+-------------------------------------------------- Reporter: wwoods | Owner: mkrizek Type: enhancement | Status: new Priority: major | Milestone: 0.4.4 Component: tests | Resolution: Keywords: | -------------------------+-------------------------------------------------- Changes (by kparal):
* owner: => mkrizek * type: task => enhancement * summary: make depcheck submit karma/comments to bodhi => Provide a support for sending comments into Bodhi
Old description:
Modify the depcheck test so that it sends status info - karma, comments, whatever - to bodhi.
New description:
We need to be able to post comments into Bodhi. Comments should probably include test name, test result, URL to full results, karma and should be reported from 'autoqa' user.
We should somehow tackle the issue of comment duplication, as discussed here: [[BR]] https://fedorahosted.org/pipermail/autoqa-devel/2010-November/001309.html
This should be implemented as a library method so a particular test can call it (for now, we will design better solution in the future).
#205: Provide a support for sending comments into Bodhi -------------------------+-------------------------------------------------- Reporter: wwoods | Owner: mkrizek Type: enhancement | Status: new Priority: major | Milestone: 0.4.4 Component: core | Resolution: Keywords: | -------------------------+-------------------------------------------------- Changes (by kparal):
* component: tests => core
#205: Provide a support for sending comments into Bodhi -------------------------+-------------------------------------------------- Reporter: wwoods | Owner: mkrizek Type: enhancement | Status: new Priority: major | Milestone: 0.4.4 Component: core | Resolution: Keywords: | -------------------------+-------------------------------------------------- Comment (by kparal):
After discussion with wwoods, we seem to be missing one more requirement in our current code - test architecture. Upgradepath is a noarch test, which means it is enough to send just one result into Bodhi. But for arch- dependent test (like depcheck), we need to provide result for every architecture. That means that our send-bodhi-comment methods must support providing an architecture (and also need to be able to query for it). More happy coding for mkrizek... :-)
#205: Provide a support for sending comments into Bodhi -------------------------+-------------------------------------------------- Reporter: wwoods | Owner: mkrizek Type: enhancement | Status: new Priority: major | Milestone: 0.4.4 Component: core | Resolution: Keywords: | -------------------------+-------------------------------------------------- Comment (by kparal):
Patch has been [https://fedorahosted.org/pipermail/autoqa- devel/2010-December/001411.html sent] for review. According to the [https://fedorahosted.org/pipermail/autoqa-devel/2010-December/001416.html discussion] we want to alter a few more things:
1. Make BODHI_POSTING_COMMENT_SPAN configurable in autoqa.conf. 2. get_cfg() should support accepting a list of alternative config file locations. 3. autoqa script should use get_cfg() itself (and also look for other code that could be converted to get_cfg() usage). 4. [https://admin.stg.fedoraproject.org/updates Staging Bodhi server] can be used for testing this patch in a larger scope.
#205: Provide a support for sending comments into Bodhi ---------------------------+------------------------------------------------ Reporter: wwoods | Owner: Type: enhancement | Status: new Priority: major | Milestone: 0.4.4 Component: documentation | Resolution: Keywords: | ---------------------------+------------------------------------------------ Changes (by kparal):
* owner: mkrizek => * component: core => documentation
Comment:
This ticket has been solved by commit 5d37e59128c1913946c02e6a1d899a5576f37801. Thanks, mkrizek!
Changing component to documentation, we certainly need to document these changes.
#205: Provide a support for sending comments into Bodhi -------------------------+-------------------------------------------------- Reporter: wwoods | Owner: Type: enhancement | Status: closed Priority: major | Milestone: 0.4.4 Component: core | Resolution: fixed Keywords: | -------------------------+-------------------------------------------------- Changes (by kparal):
* status: new => closed * resolution: => fixed * component: documentation => core
Comment:
These are the changes made in documentation: * https://fedoraproject.org/w/index.php?title=Writing_AutoQA_Tests&diff=21... * https://fedoraproject.org/w/index.php?title=Install_and_configure_AutoQA&...
Closing.
autoqa-devel@lists.fedorahosted.org