Repository navigation
Filter runs by bug id in the hackbot API - #7442
Open
ayoubdiourin7 wants to merge 6 commits into
Open
ayoubdiourin7 wants to merge 6 commits into
ayoubdiourin7 wants to merge 6 commits into
Community-TC Integration / bugbug http service tests
succeeded
Dec 2, 2026 in 1m 59s
Community-TC (pull_request)
bugbug http service tests
Details
View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster
Task Status
Started: 2026-12-02T14:40:38.788Z
Resolved: 2026-12-02T14:42:37.060Z
Task Execution Time: 1 minute, 58 seconds, 272 milliseconds
Task Status: completed
Reason Resolved: completed
TaskId: dLDvnc8rTaGGVbn1fE2ekQ
RunId: 0
Artifacts
- public/logs/live_backing.log (802 KB)
- public/logs/live.log
[taskcluster 2026-12-02T14:40:38.847Z] Worker Type (proj-bugbug/compute-smaller) settings:
[taskcluster 2026-12-02T14:40:38.847Z] {
[taskcluster 2026-12-02T14:40:38.847Z] "generic-worker": {
[taskcluster 2026-12-02T14:40:38.847Z] "config": {
[taskcluster 2026-12-02T14:40:38.847Z] "capacity": 1,
[taskcluster 2026-12-02T14:40:38.847Z] "headlessTasks": false
[taskcluster 2026-12-02T14:40:38.847Z] },
[taskcluster 2026-12-02T14:40:38.847Z] "engine": "multiuser",
[taskcluster 2026-12-02T14:40:38.847Z] "go-arch": "amd64",
[taskcluster 2026-12-02T14:40:38.847Z] "go-os": "linux",
[taskcluster 2026-12-02T14:40:38.847Z] "go-version": "go1.27.4",
[taskcluster 2026-12-02T14:40:38.847Z] "release": "https://github.com/taskcluster/taskcluster/releases/tag/v117.1.0",
[taskcluster 2026-12-02T14:40:38.847Z] "revision": "0c7c8924f32ea41a92bdf8e788842b6ae878c9a9",
[taskcluster 2026-12-02T14:40:38.847Z] "source": "https://github.com/taskcluster/taskcluster/commits/0c7c8924f32ea41a92bdf8e788842b6ae878c9a9",
[taskcluster 2026-12-02T14:40:38.847Z] "version": "117.1.0"
[taskcluster 2026-12-02T14:40:38.847Z] },
[taskcluster 2026-12-02T14:40:38.847Z] "image": "projects/taskcluster-imaging/global/images/generic-worker-ubuntu-24-04-6b7773308dd74c7d9c2e",
[taskcluster 2026-12-02T14:40:38.847Z] "instance-id": "1036890445008704385",
[taskcluster 2026-12-02T14:40:38.847Z] "instance-type": "projects/757942385826/machineTypes/c3d-highcpu-4",
[taskcluster 2026-12-02T14:40:38.847Z] "local-ipv4": "10.150.0.31",
...(312 lines hidden)...
============================= test session starts ==============================
platform linux -- Python 3.14.10, pytest-9.2.0, pluggy-1.6.0 -- /ai-dev/.venv/bin/python
cachedir: .pytest_cache
hypothesis profile 'default'
rootdir: /ai-dev/http_service/tests
configfile: pytest.ini
plugins: hypothesis-6.170.19, responses-0.6.0, cov-7.1.0, langsmith-0.14.12, anyio-4.14.2, asyncio-1.4.1.post1
asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
collecting ...
collecting 0 items
collecting 12 items
collected 84 items
http_service/tests/test_boot.py::test_retrieve_build_platforms PASSED [ 1%]
http_service/tests/test_boot.py::test_retrieve_build_platforms_gradle_failures PASSED [ 2%]
http_service/tests/test_boot.py::test_retrieve_build_platforms_keeps_shared_files PASSED [ 3%]
http_service/tests/test_boot.py::test_refresh_data_keeps_going_after_a_failure PASSED [ 4%]
http_service/tests/test_boot.py::test_refresh_commits PASSED [ 5%]
http_service/tests/test_boot.py::test_update_commits PASSED [ 7%]
http_service/tests/test_boot.py::test_refresh_main PASSED [ 8%]
http_service/tests/test_boot.py::test_get_config_selection_tasks PASSED [ 9%]
http_service/tests/test_boot.py::test_retrieve_schedulable_tasks PASSED [ 10%]
http_service/tests/test_boot.py::test_update_config_selection_tasks PASSED [ 11%]
http_service/tests/test_boot.py::test_update_config_selection_tasks_new_variant PASSED [ 13%]
http_service/tests/test_boot.py::test_update_config_selection_tasks_retries_unresolved PASSED [ 14%]
http_service/tests/test_bug_classification.py::test_model_predict_id PASSED [ 15%]
http_service/tests/test_bug_classification.py::test_model_predict_id_github PASSED [ 16%]
http_service/tests/test_bug_classification.py::test_model_predict_batch PASSED [ 17%]
http_service/tests/test_bug_classification.py::test_model_predict_batch_broken_site_reports PASSED [ 19%]
http_service/tests/test_bug_classification.py::test_for_missing_bugs PASSED [ 20%]
http_service/tests/test_bug_classification.py::test_empty_batch PASSED [ 21%]
http_service/tests/test_bug_classification.py::test_non_int_batch PASSED [ 22%]
http_service/tests/test_bug_classification.py::test_unknown_model PASSED [ 23%]
http_service/tests/test_bug_classification.py::test_no_api_key PASSED [ 25%]
http_service/tests/test_bug_classification.py::test_comment_prediction PASSED [ 26%]
http_service/tests/test_bug_classification.py::test_batch_comment_prediction PASSED [ 27%]
http_service/tests/test_bug_classification.py::test_inaccessible_comment_clears_cached_prediction PASSED [ 28%]
http_service/tests/test_bug_classification.py::test_classify_comment_worker PASSED [ 29%]
http_service/tests/test_commit_classification.py::test_commit_endpoint PASSED [ 30%]
http_service/tests/test_commit_classification.py::test_commits_endpoint PASSED [ 32%]
http_service/tests/test_commit_classification.py::test_classify_commits PASSED [ 33%]
http_service/tests/test_commit_classification.py::test_classify_commits_not_scored PASSED [ 34%]
http_service/tests/test_commit_classification.py::test_bugs_endpoint PASSED [ 35%]
http_service/tests/test_commit_classification.py::test_bugs_endpoint_not_scored PASSED [ 36%]
http_service/tests/test_commit_classification.py::test_bugs_endpoint_backed_out_after_classification PASSED [ 38%]
http_service/tests/test_commit_classification.py::test_get_bug_commits PASSED [ 39%]
http_service/tests/test_commit_classification.py::test_get_bug_commits_refresh_failure PASSED [ 40%]
http_service/tests/test_get_config_specific_groups.py::test_get_config_specific_groups PASSED [ 41%]
http_service/tests/test_patch_schedules.py::test_patch_schedules_post_with_cache PASSED [ 42%]
http_service/tests/test_patch_schedules.py::test_patch_schedules_get_with_cache PASSED [ 44%]
http_service/tests/test_patch_schedules.py::test_patch_schedules_get_without_cache PASSED [ 45%]
http_service/tests/test_patch_schedules.py::test_patch_schedules_empty_patch PASSED [ 46%]
http_service/tests/test_patch_schedules.py::test_patch_schedules_patch_without_diffs PASSED [ 47%]
http_service/tests/test_perf_regression_predictor.py::test_endpoint_queues_and_returns_prediction PASSED [ 48%]
http_service/tests/test_perf_regression_predictor.py::test_worker_scores_each_commit PASSED [ 50%]
http_service/tests/test_perf_regression_predictor.py::test_worker_applies_the_published_calibration PASSED [ 51%]
http_service/tests/test_perf_regression_predictor.py::test_risk_calibrations_refresh_and_keep_the_last_load PASSED [ 52%]
http_service/tests/test_perf_regression_predictor.py::test_worker_does_not_cache_hgmo_errors PASSED [ 53%]
http_service/tests/test_perf_regression_predictor.py::test_worker_marks_empty_stack_unavailable PASSED [ 54%]
http_service/tests/test_perf_regression_predictor.py::test_worker_propagates_model_loading_failure PASSED [ 55%]
http_service/tests/test_perf_regression_predictor.py::test_worker_skips_ignored_commits_with_reason PASSED [ 57%]
http_service/tests/test_perf_regression_predictor.py::test_worker_reports_fully_ignored_push_without_score PASSED [ 58%]
http_service/tests/test_push_schedules.py::test_queue_job_valid PASSED [ 59%]
http_service/tests/test_push_schedules.py::test_no_api_key PASSED [ 60%]
http_service/tests/test_readthrough_cache.py::test_doesnt_cache_unless_accessed_within_ttl PASSED [ 61%]
http_service/tests/test_readthrough_cache.py::test_cache_purges_after_ttl PASSED [ 63%]
http_service/tests/test_readthrough_cache.py::test_cache_purges_items_accessed_once PASSED [ 64%]
http_service/tests/test_readthrough_cache.py::test_cache_ttl_refreshes_after_get PASSED [ 65%]
http_service/tests/test_readthrough_cache.py::test_force_store PASSED [ 66%]
http_service/tests/test_readthrough_cache.py::test_cache_thread PASSED [ 67%]
http_service/tests/test_schedule_tests.py::test_schedule_commits_from_db PASSED [ 69%]
http_service/tests/test_schedule_tests.py::test_simple_schedule[labels_to_choose0-groups_to_choose0-reduced_labels0-config_groups0] PASSED [ 70%]
http_service/tests/test_schedule_tests.py::test_simple_schedule[labels_to_choose1-groups_to_choose1-reduced_labels1-config_groups1] PASSED [ 71%]
http_service/tests/test_schedule_tests.py::test_simple_schedule[labels_to_choose2-groups_to_choose2-reduced_labels2-config_groups2] PASSED [ 72%]
http_service/tests/test_schedule_tests.py::test_simple_schedule[labels_to_choose3-groups_to_choose3-reduced_labels3-config_groups3] PASSED [ 73%]
http_service/tests/test_schedule_tests.py::test_simple_schedule[labels_to_choose4-groups_to_choose4-reduced_labels4-config_groups4] PASSED [ 75%]
http_service/tests/test_schedule_tests.py::test_schedule_with_confidence_thresholds PASSED [ 76%]
http_service/tests/test_schedule_tests.py::test_get_recent_failures PASSED [ 77%]
http_service/tests/test_schedule_tests.py::test_schedule_backout PASSED [ 78%]
http_service/tests/test_schedule_tests.py::test_schedule_backout_try PASSED [ 79%]
http_service/tests/test_schedule_tests.py::test_schedule_try PASSED [ 80%]
http_service/tests/test_schedule_tests.py::test_schedule_backout_treeherder_failure PASSED [ 82%]
http_service/tests/test_schedule_tests.py::test_schedule_config_selection_risk[True-None] PASSED [ 83%]
http_service/tests/test_schedule_tests.py::test_schedule_config_selection_risk[False-None] PASSED [ 84%]
http_service/tests/test_schedule_tests.py::test_schedule_config_selection_risk[True-0.6] PASSED [ 85%]
http_service/tests/test_schedule_tests.py::test_schedule_config_selection_by_level[0.4] PASSED [ 86%]
http_service/tests/test_schedule_tests.py::test_schedule_config_selection_by_level[0.55] PASSED [ 88%]
http_service/tests/test_schedule_tests.py::test_schedule_config_selection_by_level[0.65] PASSED [ 89%]
http_service/tests/test_schedule_tests.py::test_schedule_config_groups_with_new_tasks PASSED [ 90%]
http_service/tests/test_schedule_tests.py::test_select_configs_never_vetoes_groups PASSED [ 91%]
http_service/tests/test_schedule_tests.py::test_select_configs_very_likely_and_build_platforms PASSED [ 92%]
http_service/tests/test_schedule_tests.py::test_schedule_tests_from_patch[Base history 3-False] PASSED [ 94%]
http_service/tests/test_schedule_tests.py::test_schedule_tests_from_patch[Pulled from remote-True] PASSED [ 95%]
http_service/tests/test_swagger.py::test_swagger PASSED [ 96%]
http_service/tests/test_web_imports.py::test_web_does_not_import_worker_modules PASSED [ 97%]
http_service/tests/test_web_imports.py::test_model_names PASSED [ 98%]
http_service/tests/test_web_imports.py::test_job_names PASSED [100%]
=============================== warnings summary ===============================
.venv/lib/python3.14/site-packages/langsmith/_internal/_beta_decorator.py:70: 13 warnings
/ai-dev/.venv/lib/python3.14/site-packages/langsmith/_internal/_beta_decorator.py:70: DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead
if asyncio.iscoroutinefunction(func):
.venv/lib/python3.14/site-packages/anyio/pytest_plugin.py:14
/ai-dev/.venv/lib/python3.14/site-packages/anyio/pytest_plugin.py:14: PytestRemovedIn10Warning: _pytest.python.CallSpec2 has been renamed to CallSpec.
The CallSpec2 alias will be removed in pytest 10.
Update imports to use CallSpec instead.
See https://docs.pytest.org/en/stable/deprecations.html#callspec2-renamed
from _pytest.python import CallSpec2
http_service/bugbug_http/readthrough_cache.py:75
test_readthrough_cache.py::test_cache_thread
/ai-dev/http_service/bugbug_http/readthrough_cache.py:75: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead
thread.setDaemon(True)
test_commit_classification.py: 3 warnings
test_schedule_tests.py: 40 warnings
/ai-dev/bugbug/repository.py:1146: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
pushdate = datetime.utcnow()
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================================ tests coverage ================================
_______________ coverage: platform linux, python 3.14.10-final-0 _______________
Name Stmts Miss Cover
---------------------------------------------------------------------------
http_service/bugbug_http/__init__.py 4 0 100%
http_service/bugbug_http/app.py 632 52 92%
http_service/bugbug_http/boot.py 367 108 71%
http_service/bugbug_http/download_models.py 19 19 0%
http_service/bugbug_http/gunicorn_conf.py 5 5 0%
http_service/bugbug_http/jobs.py 10 0 100%
http_service/bugbug_http/listener.py 59 59 0%
http_service/bugbug_http/model_names.py 5 0 100%
http_service/bugbug_http/models.py 470 87 81%
http_service/bugbug_http/readthrough_cache.py 44 0 100%
http_service/bugbug_http/refresh.py 32 2 94%
http_service/bugbug_http/sentry.py 10 4 60%
http_service/bugbug_http/worker.py 21 21 0%
http_service/tests/__init__.py 0 0 100%
http_service/tests/conftest.py 256 6 98%
http_service/tests/test_boot.py 280 0 100%
http_service/tests/test_bug_classification.py 170 1 99%
http_service/tests/test_commit_classification.py 226 2 99%
http_service/tests/test_get_config_specific_groups.py 10 0 100%
http_service/tests/test_integration.py 38 28 26%
http_service/tests/test_patch_schedules.py 66 3 95%
http_service/tests/test_perf_regression_predictor.py 181 3 98%
http_service/tests/test_push_schedules.py 24 1 96%
http_service/tests/test_readthrough_cache.py 124 6 95%
http_service/tests/test_schedule_tests.py 316 2 99%
http_service/tests/test_swagger.py 11 0 100%
http_service/tests/test_web_imports.py 18 0 100%
---------------------------------------------------------------------------
TOTAL 3398 409 88%
================== 84 passed, 59 warnings in 74.04s (0:01:14) ==================
+ bash /dev/fd/63
++ curl -s https://codecov.io/bash
_____ _
/ ____| | |
| | ___ __| | ___ ___ _____ __
| | / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| | __/ (_| (_) \ V /
\_____\___/ \__,_|\___|\___\___/ \_/
Bash-1.0.6
==> git version 2.47.3 found
==> curl 8.14.1 (x86_64-pc-linux-gnu) libcurl/8.14.1 OpenSSL/3.5.9 zlib/1.3.1 brotli/1.1.0 zstd/1.5.7 libidn2/2.3.8 libpsl/0.21.2 libssh2/1.11.1 nghttp2/1.64.0 nghttp3/1.8.0 librtmp/2.3 OpenLDAP/2.6.10
Release-Date: 2025-06-04, security patched: 8.14.1-2+deb13u7
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns ldap ldaps mqtt pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss
Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTP3 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM PSL SPNEGO SSL threadsafe TLS-SRP UnixSockets zstd
x> No CI provider detected.
Testing inside Docker? http://docs.codecov.io/docs/testing-with-docker
Testing with Tox? https://docs.codecov.io/docs/python#section-testing-with-tox
current dir: /ai-dev
project root: .
--> token set from env
Yaml found at: .codecov.yml
curl: option : blank argument where content is expected
curl: try 'curl --help' or 'curl --manual' for more information
curl: option : blank argument where content is expected
curl: try 'curl --help' or 'curl --manual' for more information
curl: option : blank argument where content is expected
curl: try 'curl --help' or 'curl --manual' for more information
==> Running gcov in . (disable via -X gcov)
==> Python coveragepy not found
==> Searching for coverage reports in:
+ .
--> No coverage report found.
Please visit http://docs.codecov.io/docs/supported-languages
[taskcluster 2026-12-02T14:42:36.506Z] Exit Code: 0
[taskcluster 2026-12-02T14:42:36.506Z] User Time: 28.693ms
[taskcluster 2026-12-02T14:42:36.506Z] Kernel Time: 36.727ms
[taskcluster 2026-12-02T14:42:36.506Z] Wall Time: 1m45.045368317s
[taskcluster 2026-12-02T14:42:36.506Z] Average Available System Memory: 6.03 GiB
[taskcluster 2026-12-02T14:42:36.506Z] Average System Memory Used: 1.72 GiB
[taskcluster 2026-12-02T14:42:36.506Z] Peak System Memory Used: 1.87 GiB
[taskcluster 2026-12-02T14:42:36.506Z] Total System Memory: 7.75 GiB
[taskcluster 2026-12-02T14:42:36.506Z] Result: SUCCEEDED
[taskcluster 2026-12-02T14:42:36.507Z] === Task Finished ===
[taskcluster 2026-12-02T14:42:36.507Z] Task Duration: 1m45.045856996s
Loading