| Summary: | RFE: workflow-tcms should be able to submit multiple jobs for multiple distros | ||
|---|---|---|---|
| Product: | [Retired] Beaker | Reporter: | Karel Volný <kvolny> |
| Component: | command line | Assignee: | Petr Šplíchal <psplicha> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 0.7 | CC: | azelinka, bpeck, dcallagh, mcsontos, ohudlick, psplicha, rmancy |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 2.0-49 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-03-26 10:54:20 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Karel Volný
2011-01-27 13:27:20 UTC
Please explain what you are trying to do here. What do you mean by the following: "Beaker is unable to schedule a job with more different distros." And I really don't like the idea of submitting multiple jobs. Remember you use up resources when you do that. (In reply to comment #1) > Please explain what you are trying to do here. to run a testsuite on packages from some erratum > What do you mean by the following: > > "Beaker is unable to schedule a job with more different distros." that it is impossible to schedule a job for RHEL4, RHEL5 & RHEL6 at once at least I think so ... I wasn't able to do this via commandline, I'm really not sure if it is impossible by design - for that I refer to Peter Šplíchal in this irc snippet: [14:07:46] <jscotka> psss: kvolny: I'm not also sure, if it is possible to schedule more than one distro in same job (for zsteram, security) bugs, isn't is? [14:08:27] <psss> jscotka: yes, just one distro... > And I really don't like the idea of submitting multiple jobs. Remember you > use up resources when you do that. we need this anyways (to test the erratum on all distros it covers), it would in fact save our resources not having to submit multiple jobs by hand I think I understand now. A job can contain any number of recipeset/recipes. There is nothing stopping you from submitting a job with multiple recipes that all have different distros. the current bkr workflow-errata workflow does exactly what you are talking about. (In reply to comment #3) > the current bkr workflow-errata workflow does exactly what you are talking > about. unfortunately, workflow-errata lacks TCMS integration (getting list of tests from TCMS run rather than running all "relevant" beaker tasks) I thought this one is solved already, but when trying to verify, I've got the error:
$ bkr workflow-tcms --run=32468 --errata=2011:1410
Using distro RHEL-3, RHEL-4, RHEL-5.3.LLZ, RHEL-5.6.Z, RHEL-5.7.Z, RHEL-6.0.Z and RHEL-6.1.Z from the Errata tool
Found 18 singlehost tasks (created 30 recipe sets)
[ERROR] ('Submit failed', <Fault 1: '<class \'bkr.common.bexceptions.BX\'>:u\'No Distro matches Recipe: <distroRequires><and><distro_name op="=" value="RHEL6-6.0"/><distro_variant op="=" value="Server"/><distro_method op="=" value="nfs"/><distro_arch op="=" value="i386"/></and><distro_virt op="=" value=""/></distroRequires>\''>)
- this may or may not have to do something with the ticket and bugs relevant to it: https://engineering.redhat.com/rt/Ticket/Display.html?id=132232
Yes, the distro naming in Beaker has changed. I've updated the workflow accordingly. Fix pushed to git. http://git.engineering.redhat.com/?p=users/psplicha/tcms;a=commitdiff;h=71afc16 (In reply to comment #6) > Yes, the distro naming in Beaker has changed. I've updated the > workflow accordingly. Fix pushed to git. > > http://git.engineering.redhat.com/?p=users/psplicha/tcms;a=commitdiff;h=71afc16 after applying the patch, it works: [kvolny@kvolny ~]$ bkr workflow-tcms --run=32468 --errata=2011:1410 Using distro RHEL-3, RHEL-4, RHEL-5.3.LLZ, RHEL-5.6.Z, RHEL-5.7.Z, RHEL-6.0.Z and RHEL-6.1.Z from the Errata tool Found 18 singlehost tasks (created 30 recipe sets) Successfully submitted as TJ#176340 and the job https://beaker.engineering.redhat.com/jobs/176340 has all the versions included thanks! |