mozilla-services / updatebot

Automation for updating third party libraries for Firefox
Mozilla Public License 2.0
8 stars 5 forks source link

AssertionError: Job ID 441 does not have any associated Firefox Versions. #367

Closed sentry-io[bot] closed 3 months ago

sentry-io[bot] commented 3 months ago

Sentry Issue: UPDATEBOT-PROD-1Y

AssertionError: Job ID 441 does not have any associated Firefox Versions.
(1 additional frame(s) were not displayed)
...
  File "/builds/worker/updatebot/tasktypes/vendoring.py", line 34, in process_task
    all_jobs = self.dbProvider.get_all_jobs_for_library(library, JOBTYPE.VENDORING)
  File "components/dbc.py", line 48, in get_all_jobs_for_library
    jobs = self.db.get_all_jobs_for_library(library)
  File "components/logging.py", line 38, in func_wrapper
    ret = func(*args, **kwargs)
  File "components/db.py", line 552, in get_all_jobs_for_library
    return transform_job_and_try_results_into_objects(results)
  File "components/dbmodels.py", line 103, in transform_job_and_try_results_into_objects
    assert len(j.ff_versions) > 0, "Job ID %s does not have any associated Firefox Versions." % j.id
mozfreddyb commented 3 months ago

This has occurred 3 times now for two different jobs, all on the same library: xsimd.

tomrittervg commented 3 months ago

Yeah, this happened because we never put anything into the table because of #366 - but I can add the requisite entries to the prod database and it should be happy and resolve this.

tomrittervg commented 3 months ago

Done