Description of problem: Version-Release number of selected component (if applicable): beaker-client-19.2-1.el7eng.noarch How reproducible: Always Steps to Reproduce: [root@dhcp-13-17 taskfiles]# rpm -q beaker-client beaker-client-19.2-1.el7eng.noarch [root@dhcp-13-17 taskfiles]# cat securety.list /kernel/security/execshield/protection [root@dhcp-13-17 taskfiles]# cat /home/hcy/kernel/security/execshield/protection/Makefile |grep arch [root@dhcp-13-17 taskfiles]# cat /home/hcy/kernel/security/execshield/protection/Makefile |grep -i arch @echo "Architectures: i386" >> $(METADATA) [root@dhcp-13-17 taskfiles]# bkr workflow-kernel --taskfile=securety.list --arch=s390x --dryrun --distro=RHEL-6.5 --prettyxml --nvr=2.6.32-431.50.1.el6 <job retention_tag="Scratch"> <whiteboard>2.6.32-431.50.1.el6 None</whiteboard> <recipeSet> <recipe ks_meta="method=nfs" whiteboard="2.6.32-431.50.1.el6"> <distroRequires> <and> <distro_name op="=" value="RHEL-6.5"/> <distro_variant op="=" value="Server"/> <distro_arch op="=" value="s390x"/> </and> </distroRequires> <hostRequires/> <repos/> <partitions/> <task name="/distribution/install" role="STANDALONE"> <params/> </task> <task name="/distribution/kernelinstall" role="STANDALONE"> <params> <param name="KERNELARGVARIANT" value="up"/> <param name="KERNELARGNAME" value="kernel"/> <param name="KERNELARGVERSION" value="2.6.32-431.50.1.el6"/> </params> </task> <autopick random="true"/> <task name="/kernel/security/execshield/protection" role="STANDALONE"> <params/> </task> </recipe> </recipeSet> <recipeSet> <recipe ks_meta="method=nfs" whiteboard="2.6.32-431.50.1.el6"> <distroRequires> <and> <distro_name op="=" value="RHEL-6.5"/> <distro_variant op="=" value="Server"/> <distro_arch op="=" value="s390x"/> </and> </distroRequires> <hostRequires/> <repos/> <partitions/> <task name="/distribution/install" role="STANDALONE"> <params/> </task> <task name="/distribution/kernelinstall" role="STANDALONE"> <params> <param name="KERNELARGVARIANT" value="up"/> <param name="KERNELARGNAME" value="kernel"/> <param name="KERNELARGVERSION" value="2.6.32-431.50.1.el6"/> </params> </task> <autopick random="true"/> <task name="/kernel/security/execshield/protection" role="STANDALONE"> <params/> </task> </recipe> </recipeSet> <recipeSet> <recipe ks_meta="method=nfs" whiteboard="2.6.32-431.50.1.el6 debug"> <distroRequires> <and> <distro_name op="=" value="RHEL-6.5"/> <distro_variant op="=" value="Server"/> <distro_arch op="=" value="s390x"/> </and> </distroRequires> <hostRequires/> <repos/> <partitions/> <task name="/distribution/install" role="STANDALONE"> <params/> </task> <task name="/distribution/kernelinstall" role="STANDALONE"> <params> <param name="KERNELARGVARIANT" value="debug"/> <param name="KERNELARGNAME" value="kernel"/> <param name="KERNELARGVERSION" value="2.6.32-431.50.1.el6"/> </params> </task> <autopick random="true"/> <task name="/kernel/security/execshield/protection" role="STANDALONE"> <params/> </task> </recipe> </recipeSet> </job> [root@dhcp-13-17 taskfiles]# bkr workflow-kernel --task=/kernel/security/execshield/protection --dryrun --distro=RHEL-6.5 --prettyxml --nvr=2.6.32-431.50.1.el6 --arch=s390x<job retention_tag="Scratch"> <whiteboard>2.6.32-431.50.1.el6 None</whiteboard> <recipeSet> <recipe ks_meta="method=nfs" whiteboard="2.6.32-431.50.1.el6"> <distroRequires> <and> <distro_name op="=" value="RHEL-6.5"/> <distro_variant op="=" value="Server"/> <distro_arch op="=" value="s390x"/> </and> </distroRequires> <hostRequires/> <repos/> <partitions/> <task name="/distribution/install" role="STANDALONE"> <params/> </task> <task name="/distribution/kernelinstall" role="STANDALONE"> <params> <param name="KERNELARGVARIANT" value="up"/> <param name="KERNELARGNAME" value="kernel"/> <param name="KERNELARGVERSION" value="2.6.32-431.50.1.el6"/> </params> </task> <autopick random="true"/> </recipe> </recipeSet> <recipeSet> <recipe ks_meta="method=nfs" whiteboard="2.6.32-431.50.1.el6"> <distroRequires> <and> <distro_name op="=" value="RHEL-6.5"/> <distro_variant op="=" value="Server"/> <distro_arch op="=" value="s390x"/> </and> </distroRequires> <hostRequires/> <repos/> <partitions/> <task name="/distribution/install" role="STANDALONE"> <params/> </task> <task name="/distribution/kernelinstall" role="STANDALONE"> <params> <param name="KERNELARGVARIANT" value="up"/> <param name="KERNELARGNAME" value="kernel"/> <param name="KERNELARGVERSION" value="2.6.32-431.50.1.el6"/> </params> </task> <autopick random="true"/> </recipe> </recipeSet> <recipeSet> <recipe ks_meta="method=nfs" whiteboard="2.6.32-431.50.1.el6 debug"> <distroRequires> <and> <distro_name op="=" value="RHEL-6.5"/> <distro_variant op="=" value="Server"/> <distro_arch op="=" value="s390x"/> </and> </distroRequires> <hostRequires/> <repos/> <partitions/> <task name="/distribution/install" role="STANDALONE"> <params/> </task> <task name="/distribution/kernelinstall" role="STANDALONE"> <params> <param name="KERNELARGVARIANT" value="debug"/> <param name="KERNELARGNAME" value="kernel"/> <param name="KERNELARGVERSION" value="2.6.32-431.50.1.el6"/> </params> </task> <autopick random="true"/> </recipe> </recipeSet> </job> Actual results: the task written in the taskfile will be submitted to beaker even if the task can't be run on that arch when using 'bkr workflow-kernel --taskfile=xxxx' Expected results: The task written in the task file should be filtered according to the testinfo of the task case. Additional info: We have strong need for the filter function of the taskfile, for the reason that we have lots of task to run in the kernel tier2. We need to separate them into the taskfile for grouping them.
Adding bpeck to cc since --taskfile seems to be a workflow-kernel-specific option.
Patch moved to release-23 branch in order to be included for the next maintenance release: https://gerrit.beaker-project.org/#/c/5055/2
This bug fix is included in beaker-client-23.2-0.git.12.5a78967 which is currently available for download here: https://beaker-project.org/nightlies/release-23/
Beaker 23.2 has been released.