Skip to content

Clear not_landed needinfos after patches land - #3004

Open
loganrosen wants to merge 3 commits into
mozilla:masterfrom
loganrosen:loganrosen-clear-not-landed-needinfos
Open

Clear not_landed needinfos after patches land#3004
loganrosen wants to merge 3 commits into
mozilla:masterfrom
loganrosen:loganrosen-clear-not-landed-needinfos

Apply Ruff formatting

530f7a5
Select commit
Loading
Failed to load commit list.
Community-TC Integration / bugbot tests succeeded Sep 4, 2026 in 2m 9s

Community-TC (pull_request)

bugbot tests

Details

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

Task Status

Started: 2026-09-04T03:36:30.554Z
Resolved: 2026-09-04T03:38:39.205Z
Task Execution Time: 2 minutes, 8 seconds, 651 milliseconds
Task Status: completed
Reason Resolved: completed
TaskId: JJja0ZMiSSeYs-PFtlbNYg
RunId: 0

Artifacts

- public/logs/live_backing.log (21.5 KB)
- public/logs/live.log


[taskcluster 2026-09-04T03:36:30.644Z] Worker Type (proj-relman/ci) settings:
[taskcluster 2026-09-04T03:36:30.644Z]   {
[taskcluster 2026-09-04T03:36:30.644Z]     "generic-worker": {
[taskcluster 2026-09-04T03:36:30.644Z]       "config": {
[taskcluster 2026-09-04T03:36:30.644Z]         "capacity": 1,
[taskcluster 2026-09-04T03:36:30.644Z]         "headlessTasks": false
[taskcluster 2026-09-04T03:36:30.644Z]       },
[taskcluster 2026-09-04T03:36:30.644Z]       "engine": "multiuser",
[taskcluster 2026-09-04T03:36:30.644Z]       "go-arch": "amd64",
[taskcluster 2026-09-04T03:36:30.644Z]       "go-os": "linux",
[taskcluster 2026-09-04T03:36:30.644Z]       "go-version": "go1.27.0",
[taskcluster 2026-09-04T03:36:30.644Z]       "release": "https://github.com/taskcluster/taskcluster/releases/tag/v108.0.0",
[taskcluster 2026-09-04T03:36:30.644Z]       "revision": "ae7697a5449cc29e7d41ae62ef6e5f725b929ed3",
[taskcluster 2026-09-04T03:36:30.644Z]       "source": "https://github.com/taskcluster/taskcluster/commits/ae7697a5449cc29e7d41ae62ef6e5f725b929ed3",
[taskcluster 2026-09-04T03:36:30.644Z]       "version": "108.0.0"
[taskcluster 2026-09-04T03:36:30.644Z]     },
[taskcluster 2026-09-04T03:36:30.644Z]     "image": "projects/taskcluster-imaging/global/images/generic-worker-ubuntu-24-04-10c009c7a14346ef8938",
[taskcluster 2026-09-04T03:36:30.644Z]     "instance-id": "6491047329451705053",
[taskcluster 2026-09-04T03:36:30.644Z]     "instance-type": "projects/757942385826/machineTypes/n2-standard-4",
[taskcluster 2026-09-04T03:36:30.644Z]     "local-ipv4": "10.142.0.137",

...(20 lines hidden)...

+ '[' -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/loganrosen/bugbot bugbot
+ cd bugbot
+ git -c advice.detachedHead=false checkout 530f7a5fd47ba5e4ccc33d122d8d3bf7c9dadf3f
HEAD is now at 530f7a5 Apply Ruff formatting
+ 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.21, 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 48 items                                                            
collected 90 items                                                             



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

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

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

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

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

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

tests/rules/test_frontend_triage.py::test_ors_the_component_groups_and_ands_within_each PASSED [  7%]

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

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

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

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

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

tests/rules/test_frontend_triage.py::test_requests_the_fields_the_report_needs PASSED [ 14%]

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

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

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

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

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

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

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

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

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

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

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

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

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

tests/rules/test_missed_uplifts.py::test_affected_versions_are_rendered PASSED [ 30%]

tests/rules/test_missed_uplifts.py::test_affected_versions_sort_numerically PASSED [ 31%]

tests/rules/test_not_landed.py::test_new_needinfo_tracks_exact_revision_ids PASSED [ 32%]

tests/rules/test_not_landed.py::test_unlanded_attachment_records_revision_id PASSED [ 33%]

tests/rules/test_not_landed_cleanup.py::test_query_finds_current_not_landed_needinfos PASSED [ 34%]

tests/rules/test_not_landed_cleanup.py::test_revision_tracking_distinguishes_legacy_and_empty_results PASSED [ 35%]

tests/rules/test_not_landed_cleanup.py::test_not_landed_needinfos_exclude_unrelated_flags PASSED [ 36%]

tests/rules/test_not_landed_cleanup.py::test_historical_not_landed_comment_is_recognized PASSED [ 37%]

tests/rules/test_not_landed_cleanup.py::test_resolved_bug_clears_only_owned_flags PASSED [ 38%]

tests/rules/test_not_landed_cleanup.py::test_open_bug_with_landed_patch_is_cleared PASSED [ 40%]

tests/rules/test_not_landed_cleanup.py::test_all_relevant_patches_must_land PASSED [ 41%]

tests/rules/test_not_landed_cleanup.py::test_cleanup_is_capped_to_framework_limit PASSED [ 42%]

tests/rules/test_not_landed_cleanup.py::test_legacy_tracking_ignores_patches_attached_after_needinfo PASSED [ 43%]

tests/rules/test_not_landed_cleanup.py::test_empty_legacy_result_is_recorded PASSED [ 44%]

tests/rules/test_not_landed_cleanup.py::test_test_mode_does_not_record_legacy_results PASSED [ 45%]

tests/rules/test_not_landed_cleanup.py::test_abort_template_escapes_summary PASSED [ 46%]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.21) 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

======================== 90 passed, 1 warning in 9.14s =========================

  py310: OK (33.62=setup[22.77]+cmd[0.56,0.10,10.19] seconds)
  congratulations :) (33.65 seconds)
+ uv run coveralls
Submitting coverage to coveralls.io...
Coverage submitted!
Job ##6046.1
https://coveralls.io/jobs/187351037
[taskcluster 2026-09-04T03:38:37.963Z]                        Exit Code: 0
[taskcluster 2026-09-04T03:38:37.963Z]                        User Time: 11.952ms
[taskcluster 2026-09-04T03:38:37.963Z]                      Kernel Time: 21.731ms
[taskcluster 2026-09-04T03:38:37.963Z]                        Wall Time: 1m50.389341648s
[taskcluster 2026-09-04T03:38:37.963Z]  Average Available System Memory: 14.11 GiB
[taskcluster 2026-09-04T03:38:37.963Z]       Average System Memory Used: 1.50 GiB
[taskcluster 2026-09-04T03:38:37.963Z]          Peak System Memory Used: 1.76 GiB
[taskcluster 2026-09-04T03:38:37.963Z]              Total System Memory: 15.61 GiB
[taskcluster 2026-09-04T03:38:37.963Z]                           Result: SUCCEEDED
[taskcluster 2026-09-04T03:38:37.963Z] === Task Finished ===
[taskcluster 2026-09-04T03:38:37.963Z] Task Duration: 1m50.389951365s