Skip to content

Replace datetime.utcnow() with datetime.now(timezone.utc) - #6880

Open
theoniko wants to merge 1 commit into
mozilla:masterfrom
theoniko:fix-5367-replace-datetime.utcnow-with-datetime.now-timezone.utc
Open

theoniko wants to merge 1 commit into
mozilla:masterfrom
theoniko:fix-5367-replace-datetime.utcnow-with-datetime.now-timezone.utc

Replace datetime.utcnow() with datetime.now(timezone.utc)

65fe24e
Select commit
Loading
Failed to load commit list.
Community-TC Integration / bugbug lint succeeded Sep 19, 2026 in 2m 14s

Community-TC (pull_request)

bugbug lint

Details

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

Task Status

Started: 2026-09-19T14:53:26.038Z
Resolved: 2026-09-19T14:55:39.458Z
Task Execution Time: 2 minutes, 13 seconds, 420 milliseconds
Task Status: completed
Reason Resolved: completed
TaskId: Ron8Ba56SdCSWHj0uXu5Aw
RunId: 0

Artifacts

- public/logs/live_backing.log (1.1 MB)
- public/logs/live.log


[taskcluster 2026-09-19T14:53:26.139Z] Worker Type (proj-bugbug/batch) settings:
[taskcluster 2026-09-19T14:53:26.139Z]   {
[taskcluster 2026-09-19T14:53:26.139Z]     "generic-worker": {
[taskcluster 2026-09-19T14:53:26.139Z]       "config": {
[taskcluster 2026-09-19T14:53:26.139Z]         "capacity": 1,
[taskcluster 2026-09-19T14:53:26.139Z]         "headlessTasks": false
[taskcluster 2026-09-19T14:53:26.139Z]       },
[taskcluster 2026-09-19T14:53:26.139Z]       "engine": "multiuser",
[taskcluster 2026-09-19T14:53:26.139Z]       "go-arch": "amd64",
[taskcluster 2026-09-19T14:53:26.139Z]       "go-os": "linux",
[taskcluster 2026-09-19T14:53:26.139Z]       "go-version": "go1.27.1",
[taskcluster 2026-09-19T14:53:26.139Z]       "release": "https://github.com/taskcluster/taskcluster/releases/tag/v108.1.0",
[taskcluster 2026-09-19T14:53:26.139Z]       "revision": "f86624a8bf3761cdbc48de2c7f74bae44d7464dd",
[taskcluster 2026-09-19T14:53:26.139Z]       "source": "https://github.com/taskcluster/taskcluster/commits/f86624a8bf3761cdbc48de2c7f74bae44d7464dd",
[taskcluster 2026-09-19T14:53:26.139Z]       "version": "108.1.0"
[taskcluster 2026-09-19T14:53:26.139Z]     },
[taskcluster 2026-09-19T14:53:26.139Z]     "image": "projects/taskcluster-imaging/global/images/generic-worker-ubuntu-24-04-9ed5a812d3d844ac9e4e",
[taskcluster 2026-09-19T14:53:26.139Z]     "instance-id": "6483467360710893492",
[taskcluster 2026-09-19T14:53:26.139Z]     "instance-type": "projects/757942385826/machineTypes/n2-standard-2",
[taskcluster 2026-09-19T14:53:26.139Z]     "local-ipv4": "10.142.0.6",

...(62 lines hidden)...

[INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier:prettier@3.1.0.
[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:types-pkg_resources==0.1.2,types-python-dateutil==2.9.0.20260807,types-PyYAML==6.0.12.20260815,types-orjson==3.6.2,types-tabulate==0.10.0.20260508,types-requests==2.33.0.20260712.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-mypy:types-pkg_resources==0.1.2,types-requests==2.33.0.20260712,types-Flask==1.1.6,types-redis==4.6.0.20241004,types-python-dateutil==2.9.0.20260807,types-orjson==3.6.2,types-tabulate==0.10.0.20260508.
[INFO] Installing environment for https://github.com/pre-commit/mirrors-prettier.
[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/pre-commit/mirrors-mypy.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
prettier.................................................................Passed
ruff check...............................................................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
check vcs permalinks.....................................................Passed
codespell................................................................Passed
taskcluster_yml..........................................................Passed
Strip unnecessary `# noqa`s..............................................Passed
mypy-bugbug..............................................................Passed
mypy-bugbug-http.........................................................Passed
Check for useless excludes...............................................Passed
[taskcluster 2026-09-19T14:55:37.153Z]                        Exit Code: 0
[taskcluster 2026-09-19T14:55:37.153Z]                        User Time: 47.37ms
[taskcluster 2026-09-19T14:55:37.153Z]                      Kernel Time: 42.858ms
[taskcluster 2026-09-19T14:55:37.153Z]                        Wall Time: 1m45.053044474s
[taskcluster 2026-09-19T14:55:37.153Z]  Average Available System Memory: 6.21 GiB
[taskcluster 2026-09-19T14:55:37.153Z]       Average System Memory Used: 1.54 GiB
[taskcluster 2026-09-19T14:55:37.153Z]          Peak System Memory Used: 1.82 GiB
[taskcluster 2026-09-19T14:55:37.153Z]              Total System Memory: 7.75 GiB
[taskcluster 2026-09-19T14:55:37.153Z]                           Result: SUCCEEDED
[taskcluster 2026-09-19T14:55:37.154Z] === Task Finished ===
[taskcluster 2026-09-19T14:55:37.154Z] Task Duration: 1m45.053698333s