Description of problem:
The following specification in hostRequires:
<group op="=" value="group2"/>
<group op="=" value="group3"/>
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):
Steps to Reproduce:
1. Submit a recipe with the above in hostRequires
beakerd stuck, no recipes are processed.
We have this problem before. See BZ1183239. The thing is System.pools.contains() should not be used with many-to-many relationships.
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:
Change status to verified.
Beaker 20.2 has been released.