Description of problem: The following specification in hostRequires: <or> <group op="=" value="group2"/> <group op="=" value="group3"/> </or> results in a query to the DB which was seen in production to be waiting for close to 6 hours and then had to be killed for beakerd to proceed. Version-Release number of selected component (if applicable): How reproducible: Always. Steps to Reproduce: 1. Submit a recipe with the above in hostRequires 2. 3. Actual results: beakerd stuck, no recipes are processed. Expected results: Additional info:
We have this problem before. See BZ1183239. The thing is System.pools.contains() should not be used with many-to-many relationships. On Gerrit: http://gerrit.beaker-project.org/#/c/4230/
Steps to reproduce: 1. Submit a job containing <hostRequires/> like the example in comment 1. 2. Check that Beaker schedules the job in a reasonable amount of time and nothing blows up.
Verify passed on https://beaker-devel.app.eng.bos.redhat.com/ See below job: https://beaker-devel.app.eng.bos.redhat.com/jobs/8166 Change status to verified.
Beaker 20.2 has been released.