Skip to content

[testselect] KeyError in equivalence_sets[group] #5577

@suhaibmujahid

Description

@suhaibmujahid
2025-12-23 14:08:23,268:ERROR:rq.worker:Worker 3a8a17c839c84473b6166a1e335e3b49: job 53640a69e07d4ab39b272409b6382f55: exception raised while executing (bugbug_http.models.schedule_tests)
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/rq/worker.py", line 1439, in perform_job
    return_value = job.perform()
                   ^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/rq/job.py", line 1318, in perform
    self._result = self._execute()
                   ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/rq/job.py", line 1376, in _execute
    result = self.func(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/bugbug_http/models.py", line 259, in schedule_tests
    data = _analyze_patch(revs, repo_branch)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/bugbug_http/models.py", line 371, in _analyze_patch
    config_groups = testselect.select_configs(groups.keys(), 0.9)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/bugbug/models/testselect.py", line 316, in select_configs
    for equivalence_set in equivalence_sets[group]:
                           ~~~~~~~~~~~~~~~~^^^^^^^
KeyError: 'testing/mozbase/manifestparser/tests/path-example.toml'

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions