Updated not_landed to get user nicks in 1 call and removed the duplicate - Closes #1101 #2365
Community-TC Integration / bugbot tests
succeeded
Mar 23, 2024 in 3m 51s
Community-TC (pull_request)
bugbot tests
Details
View task in Taskcluster
View logs in Taskcluster
[taskcluster:warn 2024-03-23T20:18:42.172Z] Converted task definition (conversion performed by d2g):
[taskcluster:warn 2024-03-23T20:18:42.172Z] ---
[taskcluster:warn 2024-03-23T20:18:42.172Z] created: "2024-03-23T20:16:42.876Z"
[taskcluster:warn 2024-03-23T20:18:42.172Z] deadline: "2024-03-23T21:16:42.876Z"
[taskcluster:warn 2024-03-23T20:18:42.172Z] dependencies: []
[taskcluster:warn 2024-03-23T20:18:42.172Z] expires: "2025-03-23T21:16:42.876Z"
[taskcluster:warn 2024-03-23T20:18:42.172Z] extra: {}
[taskcluster:warn 2024-03-23T20:18:42.172Z] metadata:
[taskcluster:warn 2024-03-23T20:18:42.172Z] description: bugbot tests
[taskcluster:warn 2024-03-23T20:18:42.172Z] name: bugbot tests
[taskcluster:warn 2024-03-23T20:18:42.172Z] owner: [email protected]
[taskcluster:warn 2024-03-23T20:18:42.172Z] source: https://github.com/Jubintgh/bugbot/raw/4888bd15912fee1722a0f6c0c02977c03badb8bc/.taskcluster.yml
[taskcluster:warn 2024-03-23T20:18:42.172Z] payload:
[taskcluster:warn 2024-03-23T20:18:42.172Z] command:
[taskcluster:warn 2024-03-23T20:18:42.172Z] - - bash
[taskcluster:warn 2024-03-23T20:18:42.172Z] - -cx
[taskcluster:warn 2024-03-23T20:18:42.172Z] - podman run -t --rm --privileged -e COVERALLS_REPO_TOKEN -e RUN_ID -e TASKCLUSTER_ROOT_URL
[taskcluster:warn 2024-03-23T20:18:42.172Z] -e TASKCLUSTER_WORKER_LOCATION -e TASK_ID -e TOX_ENV 'python:3.10' /bin/bash
[taskcluster:warn 2024-03-23T20:18:42.172Z] -lcx 'git clone --quiet https://github.com/Jubintgh/bugbot bugbot && cd bugbot
[taskcluster:warn 2024-03-23T20:18:42.172Z] && git -c advice.detachedHead=false checkout 4888bd15912fee1722a0f6c0c02977c03badb8bc
[taskcluster:warn 2024-03-23T20:18:42.172Z] && pip install --quiet -r requirements-test.txt && pre-commit run --all-files
[taskcluster:warn 2024-03-23T20:18:42.172Z] --show-diff-on-failure && tox -e $TOX_ENV && coveralls'
[taskcluster:warn 2024-03-23T20:18:42.172Z] env:
[taskcluster:warn 2024-03-23T20:18:42.172Z] COVERALLS_REPO_TOKEN: VWnjgqWLHfmgSQMJPFdIRYIG5ontiAGl6
[taskcluster:warn 2024-03-23T20:18:42.172Z] TOX_ENV: py310
[taskcluster:warn 2024-03-23T20:18:42.172Z] features:
[taskcluster:warn 2024-03-23T20:18:42.172Z] backingLog: true
[taskcluster:warn 2024-03-23T20:18:42.172Z] liveLog: true
[taskcluster:warn 2024-03-23T20:18:42.172Z] logs:
[taskcluster:warn 2024-03-23T20:18:42.172Z] backing: public/logs/live_backing.log
[taskcluster:warn 2024-03-23T20:18:42.172Z] live: public/logs/live.log
[taskcluster:warn 2024-03-23T20:18:42.172Z] maxRunTime: 3600
[taskcluster:warn 2024-03-23T20:18:42.172Z] onExitStatus:
[taskcluster:warn 2024-03-23T20:18:42.172Z] retry:
[taskcluster:warn 2024-03-23T20:18:42.172Z] - 125
[taskcluster:warn 2024-03-23T20:18:42.172Z] - 128
[taskcluster:warn 2024-03-23T20:18:42.172Z] priority: lowest
[taskcluster:warn 2024-03-23T20:18:42.172Z] projectId: none
[taskcluster:warn 2024-03-23T20:18:42.172Z] provisionerId: proj-relman
[taskcluster:warn 2024-03-23T20:18:42.172Z] requires: all-completed
[taskcluster:warn 2024-03-23T20:18:42.172Z] retries: 5
[taskcluster:warn 2024-03-23T20:18:42.172Z] routes:
[taskcluster:warn 2024-03-23T20:18:42.172Z] - checks
[taskcluster:warn 2024-03-23T20:18:42.172Z] schedulerId: taskcluster-github
[taskcluster:warn 2024-03-23T20:18:42.172Z] scopes: []
[taskcluster:warn 2024-03-23T20:18:42.172Z] tags: {}
[taskcluster:warn 2024-03-23T20:18:42.172Z] taskGroupId: S2zLGm9pTcq-8kTFLcXcjA
[taskcluster:warn 2024-03-23T20:18:42.172Z] taskQueueId: proj-relman/ci
[taskcluster:warn 2024-03-23T20:18:42.172Z] workerType: ci
[taskcluster:warn 2024-03-23T20:18:42.172Z]
[taskcluster 2024-03-23T20:18:42.806Z] Uploading redirect artifact public/logs/live.log to URL https://community-websocktunnel.services.mozilla.com/us-east1-c.8969901298028807774.60099/log/J7tzFZWESPqD2ppsl09Ecw with mime type "text/plain; charset=utf-8" and expiry 2024-03-23T21:33:42.722Z
[taskcluster 2024-03-23T20:18:42.906Z] Executing command 0: bash -cx 'podman run -t --rm --privileged -e COVERALLS_REPO_TOKEN -e RUN_ID -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_ID -e TOX_ENV '\''python:3.10'\'' /bin/bash -lcx '\''git clone --quiet https://github.com/Jubintgh/bugbot bugbot && cd bugbot && git -c advice.detachedHead=false checkout 4888bd15912fee1722a0f6c0c02977c03badb8bc && pip install --quiet -r requirements-test.txt && pre-commit run --all-files --show-diff-on-failure && tox -e $TOX_ENV && coveralls'\'
+ podman run -t --rm --privileged -e COVERALLS_REPO_TOKEN -e RUN_ID -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_ID -e TOX_ENV python:3.10 /bin/bash -lcx 'git clone --quiet https://github.com/Jubintgh/bugbot bugbot && cd bugbot && git -c advice.detachedHead=false checkout 4888bd15912fee1722a0f6c0c02977c03badb8bc && pip install --quiet -r requirements-test.txt && pre-commit run --all-files --show-diff-on-failure && tox -e $TOX_ENV && coveralls'
Resolved "python" as an alias (/etc/containers/registries.conf.d/shortnames.conf)
Trying to pull docker.io/library/python:3.10...
Getting image source signatures
Copying blob sha256:3cb8f9c23302e175d87a827f0a1c376bd59b1f6949bd3bc24ab8da0d669cdfa0
Copying blob sha256:567db630df8d441ffe43e050ede26996c87e3b33c99f79d4fba0bf6b7ffa0213
Copying blob sha256:d68cd2123173935e339e3feb56980a0aefd7364ad43ca2b9750699e60fbf74c6
Copying blob sha256:5f899db30843f8330d5a40d1acb26bb00e93a9f21bff253f31c20562fa264767
Copying blob sha256:71215d55680cf0ab2dcc0e1dd65ed76414e3fb0c294249b5b9319a8fa7c398e4
Copying blob sha256:93260772815949a98e11044f6ca8173565a1b78f170949c5e6def9122a654ccc
Copying blob sha256:71215d55680cf0ab2dcc0e1dd65ed76414e3fb0c294249b5b9319a8fa7c398e4
Copying blob sha256:93260772815949a98e11044f6ca8173565a1b78f170949c5e6def9122a654ccc
Copying blob sha256:d68cd2123173935e339e3feb56980a0aefd7364ad43ca2b9750699e60fbf74c6
Copying blob sha256:3cb8f9c23302e175d87a827f0a1c376bd59b1f6949bd3bc24ab8da0d669cdfa0
Copying blob sha256:5f899db30843f8330d5a40d1acb26bb00e93a9f21bff253f31c20562fa264767
Copying blob sha256:567db630df8d441ffe43e050ede26996c87e3b33c99f79d4fba0bf6b7ffa0213
Copying blob sha256:1f8ac46ddd20addb48905efe7110a45e526466cfa4edaf21a22b0352376c9c55
Copying blob sha256:1f8ac46ddd20addb48905efe7110a45e526466cfa4edaf21a22b0352376c9c55
Copying blob sha256:de8f8b8e2a8bcccb4bc0ab17ca323c3bedb4035c34b0e73962e2aef7793f1670
Copying blob sha256:de8f8b8e2a8bcccb4bc0ab17ca323c3bedb4035c34b0e73962e2aef7793f1670
Copying config sha256:530eb623b999b117ec9afb986a25b55456028c39df7dd1c7a86a7ebd3d2a95c7
Writing manifest to image destination
Storing signatures
++ id -u
+ '[' 0 -eq 0 ']'
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export PATH
+ '[' '' ']'
+ '[' -d /etc/profile.d ']'
+ for i in /etc/profile.d/*.sh
+ '[' -r '/etc/profile.d/*.sh' ']'
+ unset i
+ '[' /bin/bash ']'
+ '[' -f /root/.bashrc ']'
+ . /root/.bashrc
+ mesg n
+ true
+ git clone --quiet https://github.com/Jubintgh/bugbot bugbot
+ cd bugbot
+ git -c advice.detachedHead=false checkout 4888bd15912fee1722a0f6c0c02977c03badb8bc
HEAD is now at 4888bd1 fix bz_reviewers assignments
+ pip install --quiet -r requirements-test.txt
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 -> 24.0
[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.
[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] 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...
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.....................................................Passed
check vcs permalinks.....................................................Passed
codespell................................................................Passed
taskcluster_yml..........................................................Passed
Strip unnecessary `# noqa`s..............................................Passed
mypy.....................................................................Passed
Check for useless excludes...............................................Passed
+ tox -e py310
py310: install_deps> python -I -m pip install -r requirements.txt -r requirements-dev.txt
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
2024-03-23 20:20:22,569 - INFO - Run rule ../bzcleaner.py
2024-03-23 20:20:22,569 - INFO - Run rule ../bzcleaner.py
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
2024-03-23 20:20:22,570 - INFO - Run rule ../bzcleaner.py
2024-03-23 20:20:22,570 - INFO - Run rule ../bzcleaner.py
2024-03-23 20:20:22,570 - INFO - Run rule ../bzcleaner.py
test_name (tests.test_bzcleaner.TestBZClearner) ... ok
test_subject (tests.test_bzcleaner.TestBZClearner) ... ok
test_template (tests.test_bzcleaner.TestBZClearner) ... ok
2024-03-23 20:20:22,571 - INFO - Run rule ../bzcleaner.py
2024-03-23 20:20:22,571 - INFO - Run rule ../bzcleaner.py
2024-03-23 20:20:22,571 - INFO - Run rule inactive_ni_pending.py
2024-03-23 20:20:22,572 - INFO - Run rule inactive_ni_pending.py
test_description (tests.test_bzcleaner.TestBZClearnerClass) ... ok
test_get_bz_params (tests.test_bzcleaner.TestBZClearnerClass) ... ok
test_ignore_date (tests.test_bzcleaner.TestBZClearnerClass) ... ok
2024-03-23 20:20:22,572 - INFO - Run rule inactive_ni_pending.py
2024-03-23 20:20:22,572 - INFO - Run rule inactive_ni_pending.py
test_name (tests.test_bzcleaner.TestBZClearnerClass) ... ok
2024-03-23 20:20:22,573 - INFO - Run rule inactive_ni_pending.py
2024-03-23 20:20:22,573 - INFO - Run rule inactive_ni_pending.py
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) ... ok
test_email (tests.test_db.TestDB) ... ok
test_get_previously_copied_fields (tests.test_duplicate_copy_metadata.TestDuplicateCopyMetadata) ... ok
2024-03-23 20:20:23,129 - INFO - Run rule duplicate_copy_metadata.py
2024-03-23 20:20:23,129 - INFO - Run rule no_assignee.py
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
2024-03-23 20:20:28,889 - INFO - Run rule regression_set_status_flags.py
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
2024-03-23 20:20:28,912 - 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)
2024-03-23 20:20:28,916 - 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
2024-03-23 20:20:28,919 - 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
2024-03-23 20:20:28,921 - 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)
2024-03-23 20:20:28,924 - 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)
2024-03-23 20:20:28,927 - 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
----------------------------------------------------------------------
Ran 42 tests in 6.360s
OK
py310: OK (22.71=setup[14.79]+cmd[0.42,0.11,7.39] seconds)
congratulations :) (22.90 seconds)
+ coveralls
Submitting coverage to coveralls.io...
Coverage submitted!
Job ##4961.1
https://coveralls.io/jobs/138232419
[taskcluster 2024-03-23T20:20:33.550Z] Exit Code: 0
[taskcluster 2024-03-23T20:20:33.550Z] User Time: 27.025963s
[taskcluster 2024-03-23T20:20:33.550Z] Kernel Time: 5.486935s
[taskcluster 2024-03-23T20:20:33.550Z] Wall Time: 1m50.643697014s
[taskcluster 2024-03-23T20:20:33.550Z] Result: SUCCEEDED
[taskcluster 2024-03-23T20:20:33.551Z] === Task Finished ===
[taskcluster 2024-03-23T20:20:33.551Z] Task Duration: 1m50.644342719s
[taskcluster 2024-03-23T20:20:33.654Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2025-03-23T21:16:42.876Z
Loading