You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 25, 2024. It is now read-only.
SQUAD will not fetch a TestJob which job_id is already present in any TestRun of the Build. While this was the case for early days of SQUAD, that might not be the scenario anymore. Now we have multiple backends and occasionally it could happen that the same Build sent two TestJobs to two different backends and they return the same exact job_id in LAVA. It's very, very, very, very unlikely, but it could happen:
job_id=metadata_fields.get('job_id')
ifjob_idisNone:
metadata_fields['job_id'] =uuid.uuid4()
elifbuild.test_runs.filter(job_id=job_id).exists():
raiseexceptions.DuplicatedTestJob("There is already a test run with job_id %s"%job_id)
The text was updated successfully, but these errors were encountered:
SQUAD will not fetch a TestJob which
job_id
is already present in any TestRun of the Build. While this was the case for early days of SQUAD, that might not be the scenario anymore. Now we have multiple backends and occasionally it could happen that the same Build sent two TestJobs to two different backends and they return the same exact job_id in LAVA. It's very, very, very, very unlikely, but it could happen:The text was updated successfully, but these errors were encountered: