teemtee / tmt

Test Management Tool
MIT License
85 stars 126 forks source link

or does not work well for hostname in Beaker XML #3274

Open skycastlelily opened 1 month ago

skycastlelily commented 1 month ago

Here is the or part of the plan,with which I try to provision a server from a certain list:

        or:
          - hostname: dummy1.redhat.com
          - hostname: dummy2.redhat.com

Here is the hostname part of the plan file:

        <and>
          <hostname op="==" value="dummy1.redhat.com"/>
        </and>

which means the job will only try to reserve dummy1.redhat.com

happz commented 1 month ago

The specification looks correct, there might be a problem in how or - and possibly and as well, they are very similar - is handled by the mrack plugin.

skycastlelily commented 1 month ago

Yeah, this only affects mrack, not hostname specific, cpu.model,etc :)