Bump sqlalchemy from 1.3.24 to 2.0.49#2853
Closed
dependabot[bot] wants to merge 1 commit into
Closed
Community-TC Integration / bugbot tests
failed
Apr 6, 2026 in 5m 52s
Community-TC (pull_request)
bugbot tests
Details
View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster
Task Status
Started: 2026-04-06T13:15:48.179Z
Resolved: 2026-04-06T13:18:08.005Z
Task Execution Time: 2 minutes, 19 seconds, 826 milliseconds
Task Status: failed
Reason Resolved: failed
TaskId: Ihbvay62QSmoL7bL2bWzmQ
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2026-04-06T13:15:48.248Z] Worker Type (proj-relman/ci) settings:
[taskcluster 2026-04-06T13:15:48.249Z] {
[taskcluster 2026-04-06T13:15:48.249Z] "generic-worker": {
[taskcluster 2026-04-06T13:15:48.249Z] "config": {
[taskcluster 2026-04-06T13:15:48.249Z] "headlessTasks": false
[taskcluster 2026-04-06T13:15:48.249Z] },
[taskcluster 2026-04-06T13:15:48.249Z] "engine": "multiuser",
[taskcluster 2026-04-06T13:15:48.249Z] "go-arch": "amd64",
[taskcluster 2026-04-06T13:15:48.249Z] "go-os": "linux",
[taskcluster 2026-04-06T13:15:48.249Z] "go-version": "go1.26.0",
[taskcluster 2026-04-06T13:15:48.249Z] "release": "https://github.com/taskcluster/taskcluster/releases/tag/v96.7.1",
[taskcluster 2026-04-06T13:15:48.249Z] "revision": "941f70217efd7d23e4f83aa24cdd6eb596568560",
[taskcluster 2026-04-06T13:15:48.249Z] "source": "https://github.com/taskcluster/taskcluster/commits/941f70217efd7d23e4f83aa24cdd6eb596568560",
[taskcluster 2026-04-06T13:15:48.249Z] "version": "96.7.1"
[taskcluster 2026-04-06T13:15:48.249Z] },
[taskcluster 2026-04-06T13:15:48.249Z] "image": "projects/community-tc-workers/global/images/generic-worker-ubuntu-24-04-ovbqgpximhptjcjyfkvd",
[taskcluster 2026-04-06T13:15:48.249Z] "instance-id": "3228566635044278161",
[taskcluster 2026-04-06T13:15:48.249Z] "instance-type": "projects/757942385826/machineTypes/n2-standard-4",
[taskcluster 2026-04-06T13:15:48.249Z] "local-ipv4": "10.142.0.69",
[taskcluster 2026-04-06T13:15:48.249Z] "machine-setup": {
...(19 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/mozilla/bugbot bugbot
+ cd bugbot
+ git -c advice.detachedHead=false checkout 25960297d364194511fecb3ef696dcaa77ce5396
HEAD is now at 2596029 Bump sqlalchemy from 1.3.24 to 2.0.49
+ pip install --quiet -e '.[test]'
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
[notice] A new release of pip is available: 23.0.1 -> 26.0.1
[notice] To update, run: pip install --upgrade pip
+ 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
+ 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 unittest -v
test_set_status_flags (tests.test_bug_analyzer.TestSetStatusFlags) ... ok
test_description (tests.test_bzcleaner.TestBZClearner) ... ok
test_email_subject (tests.test_bzcleaner.TestBZClearner) ... ok
test_has_individual_autofix (tests.test_bzcleaner.TestBZClearner) ... ok
test_ignore_date (tests.test_bzcleaner.TestBZClearner) ... ok
test_name (tests.test_bzcleaner.TestBZClearner) ... ok
test_subject (tests.test_bzcleaner.TestBZClearner) ... ok
test_template (tests.test_bzcleaner.TestBZClearner) ... ok
test_description (tests.test_bzcleaner.TestBZClearnerClass) ... ok
test_get_bz_params (tests.test_bzcleaner.TestBZClearnerClass) ... ok
test_ignore_date (tests.test_bzcleaner.TestBZClearnerClass) ... ok
test_name (tests.test_bzcleaner.TestBZClearnerClass) ... ok
test_subject (tests.test_bzcleaner.TestBZClearnerClass) ... ok
test_template (tests.test_bzcleaner.TestBZClearnerClass) ... ok
test_cache (tests.test_cache.TestCache) ... ok
test_dom_lws_calendar (tests.test_calendar.TestICSCalendar)
Test the triage rotation calendar from DOM LWS team. ... ok
test_performance_tools_calendar (tests.test_calendar.TestICSCalendar)
Test the triage rotation calendar from Performance Tools team. ... ok
test_recurring_event (tests.test_calendar.TestICSCalendar)
Test a calendar with a recurring event. ... ok
test_bugchange (tests.test_db.TestDB) ... /bugbot/bugbot/db.py:259: SAWarning: Object of type <BugChange> not in session, add operation along 'Tool.bugchanges' will not proceed (This warning originated from the Session 'autoflush' process, which was invoked automatically in response to a user-initiated operation. Consider using ``no_autoflush`` context manager if this warning happened while initializing objects.)
session.query(Extra).filter(Extra.extra == extra).one()
ERROR
test_email (tests.test_db.TestDB) ... /bugbot/bugbot/db.py:224: SAWarning: Object of type <Email> not in session, add operation along 'Tool.emails' will not proceed (This warning originated from the Session 'autoflush' process, which was invoked automatically in response to a user-initiated operation. Consider using ``no_autoflush`` context manager if this warning happened while initializing objects.)
return session.query(User).filter(User.email == email).one()
/bugbot/bugbot/db.py:259: SAWarning: Object of type <Email> not in session, add operation along 'User.mails' will not proceed (This warning originated from the Session 'autoflush' process, which was invoked automatically in response to a user-initiated operation. Consider using ``no_autoflush`` context manager if this warning happened while initializing objects.)
session.query(Extra).filter(Extra.extra == extra).one()
ERROR
test_get_previously_copied_fields (tests.test_duplicate_copy_metadata.TestDuplicateCopyMetadata) ... ok
test_nobody (tests.test_email_no_assignee.TestEmailNoAssignee) ... ok
test_escalation (tests.test_escalation.TestEscalation) ... ok
test_str (tests.test_escalation.TestEscalation) ... ok
test_replaceUnicode (tests.test_mail.TestMail) ... ok
test_merge_changes (tests.test_multi_autofixers.TestMultiAutoFixers) ... ok
test_missed_merge_function (tests.test_multi_autofixers.TestMultiAutoFixers) ... ok
test_unsported_rule_in_merge_function (tests.test_multi_autofixers.TestMultiAutoFixers) ... ok
test_add_signatures (tests.test_new_utils.TestUtils) ... ok
test_get_signatures (tests.test_new_utils.TestUtils) ... ok
test_status_changes (tests.test_regression_set_status_flags.TestSetStatusFlags) ... ok
test_get (tests.test_round_robin.TestRoundRobin) ... ok
test_get_ics (tests.test_round_robin.TestRoundRobin) ... ok
test_get_who_to_nag (tests.test_round_robin.TestRoundRobin) ... ok
test_logical_comparison (tests.test_severity.TestSeverity) ... ok
2026-04-06 13:18:04,362 - INFO - Using mock file /bugbot/bugbot/../tests/mocks/https_crash-stats.mozilla.org/api/SuperSearch/GET__facets_size=1000__results_number=0_signature==IPCError-browser | ShutDownKill_signature==OOM | small_signature=^EMPTY: .json
test_get_blocked_signatures (tests.test_topcrash.TestTopcrash) ... ok
test_check_users (tests.test_user_activity.UserActivityTest)
2026-04-06 13:18:04,369 - INFO - Using mock file /bugbot/bugbot/../tests/mocks/https_bugzilla.mozilla.org/rest/user/GET_include_fields=can_login_include_fields=creation_time_include_fields=last_activity_time_include_fiel_ac510acb1e109087e2f8cc7dc76970ca.json
Test the check_users method ... ok
2026-04-06 13:18:04,373 - INFO - Using mock file /bugbot/bugbot/../tests/mocks/https_bugzilla.mozilla.org/rest/user/GET_include_fields=can_login_include_fields=creation_time_include_fields=last_activity_time_include_fiel_561d80df788e2b565356201ffc83bbeb.json
2026-04-06 13:18:04,376 - INFO - Using mock file /bugbot/bugbot/../tests/mocks/https_bugzilla.mozilla.org/rest/user/GET_include_fields=can_login_include_fields=creation_time_include_fields=last_activity_time_include_fiel_0fed22d912a794760085e714c58db05a.json
test_check_users_ignore_bots (tests.test_user_activity.UserActivityTest) ... ok
test_check_users_keep_active (tests.test_user_activity.UserActivityTest)
2026-04-06 13:18:04,383 - INFO - Using mock file /bugbot/bugbot/../tests/mocks/https_bugzilla.mozilla.org/rest/user/GET_include_fields=can_login_include_fields=creation_time_include_fields=last_activity_time_include_fiel_ac510acb1e109087e2f8cc7dc76970ca.json
Test the check_users method with keep_active set to True ... ok
test_get_bz_users_with_status (tests.test_user_activity.UserActivityTest)
2026-04-06 13:18:04,388 - INFO - Using mock file /bugbot/bugbot/../tests/mocks/https_bugzilla.mozilla.org/rest/user/GET_include_fields=can_login_include_fields=creation_time_include_fields=id_include_fields=last_activity_6ab2aafe037af940ec0d7b4fccbc24cb.json
Test the get_bz_users_with_status method ... ok
test_get_status_from_bz_user (tests.test_user_activity.UserActivityTest)
Test the get_status_from_bz_user method ... ok
test_logical_comparison (tests.test_webcompat_priority.TestWebcompatPriority) ... ok
======================================================================
ERROR: test_bugchange (tests.test_db.TestDB)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/bugbot/tests/test_db.py", line 55, in test_bugchange
db.BugChange.add("A", 123, ts=123456789, extra="")
File "/bugbot/bugbot/db.py", line 107, in add
check(BugChange.__tablename__)
File "/bugbot/bugbot/db.py", line 39, in check
if not engine.dialect.has_table(engine, table_name):
File "<string>", line 2, in has_table
File "/bugbot/.tox/py310/lib/python3.10/site-packages/sqlalchemy/engine/reflection.py", line 89, in cache
return fn(self, con, *args, **kw)
File "/bugbot/.tox/py310/lib/python3.10/site-packages/sqlalchemy/dialects/sqlite/base.py", line 2328, in has_table
self._ensure_has_table_connection(connection)
File "/bugbot/.tox/py310/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 450, in _ensure_has_table_connection
raise exc.ArgumentError(
sqlalchemy.exc.ArgumentError: The argument passed to Dialect.has_table() should be a <class 'sqlalchemy.engine.base.Connection'>, got <class 'sqlalchemy.engine.base.Engine'>. Additionally, the Dialect.has_table() method is for internal dialect use only; please use ``inspect(some_engine).has_table(<tablename>>)`` for public API use.
======================================================================
ERROR: test_email (tests.test_db.TestDB)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/bugbot/tests/test_db.py", line 99, in test_email
db.Email.add("I", ["J", "K"], "L", "Success", ts=123456789)
File "/bugbot/bugbot/db.py", line 347, in add
check(Email.__tablename__)
File "/bugbot/bugbot/db.py", line 39, in check
if not engine.dialect.has_table(engine, table_name):
File "<string>", line 2, in has_table
File "/bugbot/.tox/py310/lib/python3.10/site-packages/sqlalchemy/engine/reflection.py", line 89, in cache
return fn(self, con, *args, **kw)
File "/bugbot/.tox/py310/lib/python3.10/site-packages/sqlalchemy/dialects/sqlite/base.py", line 2328, in has_table
self._ensure_has_table_connection(connection)
File "/bugbot/.tox/py310/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 450, in _ensure_has_table_connection
raise exc.ArgumentError(
sqlalchemy.exc.ArgumentError: The argument passed to Dialect.has_table() should be a <class 'sqlalchemy.engine.base.Connection'>, got <class 'sqlalchemy.engine.base.Engine'>. Additionally, the Dialect.has_table() method is for internal dialect use only; please use ``inspect(some_engine).has_table(<tablename>>)`` for public API use.
----------------------------------------------------------------------
Ran 42 tests in 8.579s
FAILED (errors=2)
py310: exit 1 (10.06 seconds) /bugbot> coverage run --branch --source /bugbot/bugbot -m unittest -v pid=847
py310: FAIL code 1 (28.74=setup[17.87]+cmd[0.71,0.11,10.06] seconds)
evaluation failed :( (28.77 seconds)
[taskcluster 2026-04-06T13:18:06.725Z] Exit Code: 1
[taskcluster 2026-04-06T13:18:06.725Z] User Time: 21.638ms
[taskcluster 2026-04-06T13:18:06.725Z] Kernel Time: 18.032ms
[taskcluster 2026-04-06T13:18:06.725Z] Wall Time: 2m0.707551068s
[taskcluster 2026-04-06T13:18:06.725Z] Average Available System Memory: 14.07 GiB
[taskcluster 2026-04-06T13:18:06.725Z] Average System Memory Used: 1.54 GiB
[taskcluster 2026-04-06T13:18:06.725Z] Peak System Memory Used: 1.70 GiB
[taskcluster 2026-04-06T13:18:06.725Z] Total System Memory: 15.61 GiB
[taskcluster 2026-04-06T13:18:06.725Z] Result: FAILED
[taskcluster 2026-04-06T13:18:06.726Z] === Task Finished ===
[taskcluster 2026-04-06T13:18:06.726Z] Task Duration: 2m0.707988605s
[taskcluster:error] exit status 1
Loading