[autotest] do not enforce satisfiabiliy of provisionable label

Provisionable labels should not already need to exist and be applied to
a host in order for a job to be validated (hosts with acquire the label
once they are provisioned).

Because of some strange database/transauction/consistency weirdness, I
was not able to use server.cros.provision.ensure_label_exists from
inside of create_new_job in rpc_utils. I will file a separate bug about
that mystery.

BUG=chromium:265660
TEST=In a fresh autotest database with no labels yet created:
`./atest job create -d carrot -b board:lumpy --test=dummy_Pass
dummy_Pass` -> ValidationError as desired.
`./atest job create -d cros-version:carrot -b board:lumpy --test=dummy_Pass
dummy_Pass` -> Job and label (cros-version:carrot) created.

DEPLOY=apache

Change-Id: I9b93811f401a82e68dbad7388b655ab1ffec2602
Reviewed-on: https://gerrit.chromium.org/gerrit/64242
Commit-Queue: Aviv Keshet <akeshet@chromium.org>
Reviewed-by: Aviv Keshet <akeshet@chromium.org>
Tested-by: Aviv Keshet <akeshet@chromium.org>
1 file changed