Skip to content

Send newly filed frontend bugs from Mozilla staff for automatic triage - #2963

Open
msujaws wants to merge 1 commit into
mozilla:masterfrom
msujaws:frontend-triage-trigger
Open

Send newly filed frontend bugs from Mozilla staff for automatic triage#2963
msujaws wants to merge 1 commit into
mozilla:masterfrom
msujaws:frontend-triage-trigger

Send newly filed frontend bugs from Mozilla staff for automatic triage

8a490b2
Select commit
Loading
Failed to load commit list.
Community-TC Integration / bugbot tests succeeded Jul 30, 2026 in 2m 19s

Community-TC (pull_request)

bugbot tests

Details

View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster

Task Status

Started: 2026-07-30T19:56:53.690Z
Resolved: 2026-07-30T19:59:12.151Z
Task Execution Time: 2 minutes, 18 seconds, 461 milliseconds
Task Status: completed
Reason Resolved: completed
TaskId: OjOtczuCT82AX2MVwvwTlA
RunId: 0

Artifacts

- public/logs/live_backing.log
- public/logs/live.log


[taskcluster 2026-07-30T19:56:53.788Z] Worker Type (proj-relman/ci) settings:
[taskcluster 2026-07-30T19:56:53.788Z]   {
[taskcluster 2026-07-30T19:56:53.788Z]     "generic-worker": {
[taskcluster 2026-07-30T19:56:53.788Z]       "config": {
[taskcluster 2026-07-30T19:56:53.788Z]         "capacity": 1,
[taskcluster 2026-07-30T19:56:53.788Z]         "headlessTasks": false
[taskcluster 2026-07-30T19:56:53.788Z]       },
[taskcluster 2026-07-30T19:56:53.788Z]       "engine": "multiuser",
[taskcluster 2026-07-30T19:56:53.788Z]       "go-arch": "amd64",
[taskcluster 2026-07-30T19:56:53.788Z]       "go-os": "linux",
[taskcluster 2026-07-30T19:56:53.788Z]       "go-version": "go1.26.2",
[taskcluster 2026-07-30T19:56:53.788Z]       "release": "https://github.com/taskcluster/taskcluster/releases/tag/v100.0.1",
[taskcluster 2026-07-30T19:56:53.788Z]       "revision": "fcf9d8ed582ed8de3d1cdb8f4f91ccec93b7803c",
[taskcluster 2026-07-30T19:56:53.788Z]       "source": "https://github.com/taskcluster/taskcluster/commits/fcf9d8ed582ed8de3d1cdb8f4f91ccec93b7803c",
[taskcluster 2026-07-30T19:56:53.788Z]       "version": "100.0.1"
[taskcluster 2026-07-30T19:56:53.788Z]     },
[taskcluster 2026-07-30T19:56:53.788Z]     "image": "projects/community-tc-workers/global/images/generic-worker-ubuntu-24-04-bngpghpfficdxtlhnusi",
[taskcluster 2026-07-30T19:56:53.788Z]     "instance-id": "7005532094525216025",
[taskcluster 2026-07-30T19:56:53.788Z]     "instance-type": "projects/757942385826/machineTypes/n2-standard-4",
[taskcluster 2026-07-30T19:56:53.788Z]     "local-ipv4": "10.128.0.153",

...(2 lines hidden)...

[taskcluster 2026-07-30T19:56:53.788Z]       "script": "https://raw.githubusercontent.com/taskcluster/community-tc-config/b5b7c2ad856c144a6759e6e72280c4a958f8a930/imagesets/generic-worker-ubuntu-24-04/bootstrap.sh"
[taskcluster 2026-07-30T19:56:53.788Z]     },
[taskcluster 2026-07-30T19:56:53.788Z]     "project-id": "community-tc-workers",
[taskcluster 2026-07-30T19:56:53.788Z]     "public-hostname": "proj-relman-ci-ffdgc4ijr1sm-tv9mmc2ea.c.community-tc-workers.internal",
[taskcluster 2026-07-30T19:56:53.788Z]     "public-ipv4": "34.133.77.68",
[taskcluster 2026-07-30T19:56:53.788Z]     "region": "us-central1",
[taskcluster 2026-07-30T19:56:53.788Z]     "zone": "us-central1-b"
[taskcluster 2026-07-30T19:56:53.788Z]   }
[taskcluster 2026-07-30T19:56:53.788Z] Task ID: OjOtczuCT82AX2MVwvwTlA
[taskcluster 2026-07-30T19:56:53.788Z] === Task Starting ===
[taskcluster 2026-07-30T19:56:54.509Z] [d2g] Loading docker image
[taskcluster 2026-07-30T19:57:18.705Z] [d2g] Loaded docker image "docker.io/astral/uv:python3.10-trixie"
[taskcluster 2026-07-30T19:57:18.708Z] Executing command 0: docker run -t --name taskcontainer_Gx0P112ET9ijTd5hP5JqDQ --memory-swap -1 --pids-limit -1 --pull=never --log-driver=none '--add-host=localhost.localdomain:127.0.0.1' --env-file 'env.list' 'astral/uv:python3.10-trixie' /bin/bash -lcx 'git clone --quiet https://github.com/msujaws/bugbot bugbot && cd bugbot && git -c advice.detachedHead=false checkout 8a490b23559ad81e9e8f244ea97de1797ec51314 && uv sync --quiet --locked --extra test && uv run pre-commit run --all-files --show-diff-on-failure && uv run tox -e $TOX_ENV && uv run coveralls'
++ id -u
+ '[' 0 -eq 0 ']'
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export PATH
+ '[' '' ']'
+ '[' -d /etc/profile.d ']'
++ run-parts --list --regex '^[a-zA-Z0-9_][a-zA-Z0-9._-]*\.sh$' /etc/profile.d
+ unset i
+ '[' /bin/bash ']'
+ '[' -f /root/.bashrc ']'
+ . /root/.bashrc
+ git clone --quiet https://github.com/msujaws/bugbot bugbot
+ cd bugbot
+ git -c advice.detachedHead=false checkout 8a490b23559ad81e9e8f244ea97de1797ec51314
HEAD is now at 8a490b2 Send newly filed frontend bugs from Mozilla staff for automatic triage
+ uv sync --quiet --locked --extra test
+ uv run pre-commit run --all-files --show-diff-on-failure
[INFO] Initializing environment for https://github.com/Riverside-Healthcare/djLint.
[INFO] Initializing environment for https://github.com/astral-sh/ruff-pre-commit.
[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[WARNING] repo `https://github.com/pre-commit/pre-commit-hooks` uses deprecated stage names (commit, push) which will be removed in a future version.  Hint: often `pre-commit autoupdate --repo https://github.com/pre-commit/pre-commit-hooks` will fix this.  if it does not -- consider reporting an issue to that repo.
[INFO] Initializing environment for https://github.com/codespell-project/codespell.
[INFO] Initializing environment for https://github.com/marco-c/taskcluster_yml_validator.
[INFO] Initializing environment for https://github.com/asottile/yesqa.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-mypy.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-mypy:tokenize-rt==4.2.1,types-filelock==3.2.7,types-pytz==2021.3.8,types-python-dateutil==2.8.17,types-PyYAML==6.0.8,types-requests==2.27.30,types-tabulate==0.8.9.
[INFO] Initializing environment for https://github.com/astral-sh/uv-pre-commit.
[INFO] Installing environment for https://github.com/Riverside-Healthcare/djLint.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/astral-sh/ruff-pre-commit.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/codespell-project/codespell.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/marco-c/taskcluster_yml_validator.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/asottile/yesqa.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/mirrors-mypy.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/astral-sh/uv-pre-commit.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
djLint linting for Jinja.................................................Passed
djLint linting for Jinja.................................................Passed
ruff.....................................................................Passed
ruff-format..............................................................Passed
check python ast.........................................................Passed
check docstring is first.................................................Passed
check that executables have shebangs.....................................Passed
check for merge conflicts................................................Passed
check for broken symlinks............................(no files to check)Skipped
debug statements (python)................................................Passed
trim trailing whitespace.................................................Passed
check yaml...............................................................Passed
mixed line ending........................................................Passed
python tests naming......................................................Passed
check json...............................................................Passed
fix requirements.txt.................................(no files to check)Skipped
check vcs permalinks.....................................................Passed
codespell................................................................Passed
taskcluster_yml..........................................................Passed
Strip unnecessary `# noqa`s..............................................Passed
mypy.....................................................................Passed
Check for useless excludes...............................................Passed
uv-lock..................................................................Passed
+ uv run tox -e py310
py310: install_deps> python -I -m pip install '.[dev]'
py310: commands[0]> alembic upgrade head
INFO  [alembic.runtime.migration] Context impl SQLiteImpl.

INFO  [alembic.runtime.migration] Will assume non-transactional DDL.

INFO  [alembic.runtime.migration] Running upgrade  -> ac0a01dcb3a9, Init the database

py310: commands[1]> coverage erase
py310: commands[2]> coverage run --branch --source /bugbot/bugbot -m pytest -v
============================= test session starts ==============================

platform linux -- Python 3.10.20, pytest-9.1.1, pluggy-1.6.0 -- /bugbot/.tox/py310/bin/python

cachedir: .tox/py310/.pytest_cache

rootdir: /bugbot

configfile: pyproject.toml

collecting ... 
collecting 30 items                                                            
collected 72 items                                                             



tests/rules/test_frontend_triage.py::test_keeps_employee_filed_bug PASSED [  1%]

tests/rules/test_frontend_triage.py::test_keeps_qa_filed_bug PASSED      [  2%]

tests/rules/test_frontend_triage.py::test_keeps_bug_from_an_employees_personal_bugzilla_account PASSED [  4%]

tests/rules/test_frontend_triage.py::test_drops_community_filed_bug PASSED [  5%]

tests/rules/test_frontend_triage.py::test_drops_a_mozilla_com_address_that_is_not_on_the_roster PASSED [  6%]

tests/rules/test_frontend_triage.py::test_reporter_reaches_the_report PASSED [  8%]

tests/rules/test_frontend_triage.py::test_does_not_use_the_default_product_list PASSED [  9%]

tests/rules/test_frontend_triage.py::test_queries_the_configured_product_and_components PASSED [ 11%]

tests/rules/test_frontend_triage.py::test_queries_only_open_defects PASSED [ 12%]

tests/rules/test_frontend_triage.py::test_queries_only_recently_filed_bugs PASSED [ 13%]

tests/rules/test_frontend_triage.py::test_requests_the_fields_the_filter_needs PASSED [ 15%]

tests/rules/test_frontend_triage.py::test_dry_run_triggers_nothing PASSED [ 16%]

tests/rules/test_frontend_triage.py::test_dry_run_still_reports_which_bugs_it_would_have_triaged PASSED [ 18%]

tests/rules/test_frontend_triage.py::test_triggers_one_run_per_bug PASSED [ 19%]

tests/rules/test_frontend_triage.py::test_records_the_run_id_on_each_bug PASSED [ 20%]

tests/rules/test_frontend_triage.py::test_caps_the_number_of_runs PASSED [ 22%]

tests/rules/test_frontend_triage.py::test_reports_nothing_skipped_when_under_the_cap PASSED [ 23%]

tests/rules/test_frontend_triage.py::test_defaults_to_the_production_api PASSED [ 25%]

tests/rules/test_frontend_triage.py::test_env_var_overrides_the_default PASSED [ 26%]

tests/rules/test_frontend_triage.py::test_explicitly_blanked_api_url_fails_the_rule_up_front PASSED [ 27%]

tests/rules/test_frontend_triage.py::test_a_failing_trigger_does_not_stop_the_others PASSED [ 29%]

tests/rules/test_frontend_triage.py::test_template_renders_a_row_per_triaged_bug PASSED [ 30%]

tests/rules/test_frontend_triage.py::test_template_reports_the_bugs_left_for_next_run PASSED [ 31%]

tests/rules/test_frontend_triage.py::test_template_omits_the_cap_note_when_it_does_not PASSED [ 33%]

tests/rules/test_perfalert_resolved_regression.py::test_get_resolution_comment PASSED [ 34%]

tests/rules/test_web_platform_features.py::test_parse_user_story PASSED  [ 36%]

tests/rules/test_web_platform_features.py::test_url_keys PASSED          [ 37%]

tests/rules/test_web_platform_features.py::test_bugzilla_update_to_json PASSED [ 38%]

tests/rules/test_web_platform_features.py::test_feature_bug_update_into_bugzilla_update PASSED [ 40%]

tests/rules/test_web_platform_features.py::test_handlebug PASSED         [ 41%]

tests/test_bug_analyzer.py::test_set_status_flags PASSED                 [ 43%]

tests/test_bzcleaner.py::test_description PASSED                         [ 44%]

tests/test_bzcleaner.py::test_name PASSED                                [ 45%]

tests/test_bzcleaner.py::test_template PASSED                            [ 47%]

tests/test_bzcleaner.py::test_subject PASSED                             [ 48%]

tests/test_bzcleaner.py::test_email_subject PASSED                       [ 50%]

tests/test_bzcleaner.py::test_ignore_date PASSED                         [ 51%]

tests/test_bzcleaner.py::test_has_individual_autofix PASSED              [ 52%]

tests/test_bzcleaner.py::test_inactive_needinfo_description PASSED       [ 54%]

tests/test_bzcleaner.py::test_inactive_needinfo_name PASSED              [ 55%]

tests/test_bzcleaner.py::test_inactive_needinfo_template PASSED          [ 56%]

tests/test_bzcleaner.py::test_inactive_needinfo_subject PASSED           [ 58%]

tests/test_bzcleaner.py::test_inactive_needinfo_get_bz_params PASSED     [ 59%]

tests/test_bzcleaner.py::test_inactive_needinfo_ignore_date PASSED       [ 61%]

tests/test_cache.py::test_cache PASSED                                   [ 62%]

tests/test_calendar.py::test_dom_lws_calendar PASSED                     [ 63%]

tests/test_calendar.py::test_performance_tools_calendar PASSED           [ 65%]

tests/test_calendar.py::test_recurring_event PASSED                      [ 66%]

tests/test_db.py::test_bugchange PASSED                                  [ 68%]

tests/test_db.py::test_email PASSED                                      [ 69%]

tests/test_duplicate_copy_metadata.py::test_get_previously_copied_fields PASSED [ 70%]

tests/test_email_no_assignee.py::test_nobody PASSED                      [ 72%]

tests/test_escalation.py::test_str PASSED                                [ 73%]

tests/test_escalation.py::test_escalation PASSED                         [ 75%]

tests/test_mail.py::test_replaceUnicode PASSED                           [ 76%]

tests/test_multi_autofixers.py::test_merge_changes PASSED                [ 77%]

tests/test_multi_autofixers.py::test_missing_merge_function PASSED       [ 79%]

tests/test_multi_autofixers.py::test_unsupported_rule_in_merge_function PASSED [ 80%]

tests/test_new_utils.py::test_get_signatures PASSED                      [ 81%]

tests/test_new_utils.py::test_add_signatures PASSED                      [ 83%]

tests/test_regression_set_status_flags.py::test_status_changes PASSED    [ 84%]

tests/test_round_robin.py::test_get PASSED                               [ 86%]

tests/test_round_robin.py::test_get_ics PASSED                           [ 87%]

tests/test_round_robin.py::test_get_who_to_nag PASSED                    [ 88%]

tests/test_severity.py::test_logical_comparison PASSED                   [ 90%]

tests/test_topcrash.py::test_get_blocked_signatures PASSED               [ 91%]

tests/test_user_activity.py::test_check_users PASSED                     [ 93%]

tests/test_user_activity.py::test_check_users_keep_active PASSED         [ 94%]

tests/test_user_activity.py::test_check_users_ignore_bots PASSED         [ 95%]

tests/test_user_activity.py::test_get_bz_users_with_status PASSED        [ 97%]

tests/test_user_activity.py::test_get_status_from_bz_user PASSED         [ 98%]

tests/test_webcompat_priority.py::TestWebcompatPriority::test_logical_comparison PASSED [100%]



=============================== warnings summary ===============================

.tox/py310/lib/python3.10/site-packages/google/api_core/_python_version_support.py:254

  /bugbot/.tox/py310/lib/python3.10/site-packages/google/api_core/_python_version_support.py:254: FutureWarning: You are using a Python version (3.10.20) which Google will stop supporting in new releases of google.api_core once it reaches its end of life (2026-10-04). Please upgrade to the latest Python version, or at least Python 3.11, to continue receiving updates for google.api_core past that date.

    warnings.warn(message, FutureWarning)



-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

======================== 72 passed, 1 warning in 7.71s =========================

  py310: OK (31.08=setup[21.45]+cmd[0.65,0.10,8.88] seconds)
  congratulations :) (31.11 seconds)
+ uv run coveralls
Submitting coverage to coveralls.io...
Coverage submitted!
Job ##5967.1
https://coveralls.io/jobs/185434682
[taskcluster 2026-07-30T19:59:11.014Z]                        Exit Code: 0
[taskcluster 2026-07-30T19:59:11.014Z]                        User Time: 14.498ms
[taskcluster 2026-07-30T19:59:11.014Z]                      Kernel Time: 21.747ms
[taskcluster 2026-07-30T19:59:11.014Z]                        Wall Time: 1m52.305758536s
[taskcluster 2026-07-30T19:59:11.014Z]  Average Available System Memory: 14.08 GiB
[taskcluster 2026-07-30T19:59:11.014Z]       Average System Memory Used: 1.53 GiB
[taskcluster 2026-07-30T19:59:11.014Z]          Peak System Memory Used: 1.83 GiB
[taskcluster 2026-07-30T19:59:11.014Z]              Total System Memory: 15.61 GiB
[taskcluster 2026-07-30T19:59:11.014Z]                           Result: SUCCEEDED
[taskcluster 2026-07-30T19:59:11.015Z] === Task Finished ===
[taskcluster 2026-07-30T19:59:11.015Z] Task Duration: 1m52.306399667s