Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[round_robin_calendar] The script fails to update the triage owners when there is an invalid fallback for one of the calendars #2569

Open
suhaibmujahid opened this issue Jan 13, 2025 · 0 comments
Labels

Comments

@suhaibmujahid
Copy link
Member

2025-01-13 12:00:37,778 - ERROR - Rule triage_owner_rotations
Traceback (most recent call last):
  File "/home/rm_bot/bugbot/bugbot/bzcleaner.py", line 856, in run
    self.send_email(date=date)
  File "/home/rm_bot/bugbot/bugbot/bzcleaner.py", line 772, in send_email
    data = self.get_email_data(date)
  File "/home/rm_bot/bugbot/bugbot/rules/triage_owner_rotations.py", line 87, in get_email_data
    new_triagers = self.component_triagers.get_new_triage_owners()
  File "/home/rm_bot/bugbot/bugbot/component_triagers.py", line 87, in get_new_triage_owners
    new_triager = self.round_robin.get(
  File "/home/rm_bot/bugbot/bugbot/round_robin.py", line 162, in get
    fb = cal.get_fallback_bzmail()
  File "/home/rm_bot/bugbot/bugbot/round_robin_calendar.py", line 49, in get_fallback_bzmail
    raise BadFallback("'{}' is an invalid fallback".format(self.fallback))
bugbot.round_robin_calendar.BadFallback: 'XXXX XXXX' is an invalid fallback

The failure should be confined to the relevant calendar and only occur when fallback is needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant