Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor logging functions to use %s formatting instead of f-strings #3822

Merged

Resolves #3822

3d79b9a
Select commit
Loading
Failed to load commit list.
Merged

Refactor logging functions to use %s formatting instead of f-strings #3822

Resolves #3822
3d79b9a
Select commit
Loading
Failed to load commit list.
Community-TC Integration / bugbug ui build succeeded Nov 24, 2023 in 2m 45s

Community-TC (pull_request)

bugbug ui build

Details

View task in Taskcluster
View logs in Taskcluster


[taskcluster 2023-11-24T16:09:25.827Z] Worker Type (proj-bugbug/batch) settings:
[taskcluster 2023-11-24T16:09:25.827Z]   {
[taskcluster 2023-11-24T16:09:25.827Z]     "config": {
[taskcluster 2023-11-24T16:09:25.827Z]       "deploymentId": "4629416fbb4bcf8d"
[taskcluster 2023-11-24T16:09:25.827Z]     },
[taskcluster 2023-11-24T16:09:25.827Z]     "generic-worker": {
[taskcluster 2023-11-24T16:09:25.827Z]       "engine": "multiuser",
[taskcluster 2023-11-24T16:09:25.827Z]       "go-arch": "amd64",
[taskcluster 2023-11-24T16:09:25.827Z]       "go-os": "linux",
[taskcluster 2023-11-24T16:09:25.827Z]       "go-version": "go1.21.4",
[taskcluster 2023-11-24T16:09:25.827Z]       "release": "https://github.com/taskcluster/taskcluster/releases/tag/v58.0.1",
[taskcluster 2023-11-24T16:09:25.827Z]       "revision": "73007b73d93811aa2203e317d6ec611854c43333",
[taskcluster 2023-11-24T16:09:25.827Z]       "source": "https://github.com/taskcluster/taskcluster/commits/73007b73d93811aa2203e317d6ec611854c43333",
[taskcluster 2023-11-24T16:09:25.827Z]       "version": "58.0.1"
[taskcluster 2023-11-24T16:09:25.827Z]     },
[taskcluster 2023-11-24T16:09:25.827Z]     "image": "projects/community-tc-workers/global/images/generic-worker-ubuntu-22-04-im9xxh1tzp72mompxcuf",
[taskcluster 2023-11-24T16:09:25.827Z]     "instance-id": "5646691380916745383",
[taskcluster 2023-11-24T16:09:25.827Z]     "instance-type": "projects/757942385826/machineTypes/n2-standard-2",
[taskcluster 2023-11-24T16:09:25.827Z]     "local-ipv4": "10.150.0.73",
[taskcluster 2023-11-24T16:09:25.827Z]     "machine-setup": {
[taskcluster 2023-11-24T16:09:25.827Z]       "maintainer": "[email protected]",
[taskcluster 2023-11-24T16:09:25.827Z]       "script": "https://github.com/taskcluster/community-tc-config/blob/6562406e8f21750423fc540f72e006c09dfc66b1/imagesets/generic-worker-ubuntu-22-04/bootstrap.sh"
[taskcluster 2023-11-24T16:09:25.827Z]     },
[taskcluster 2023-11-24T16:09:25.827Z]     "project-id": "community-tc-workers",
[taskcluster 2023-11-24T16:09:25.827Z]     "public-hostname": "proj-bugbug-batch-c49-fyaktrelp5yhdkcvnw.c.community-tc-workers.internal",
[taskcluster 2023-11-24T16:09:25.827Z]     "public-ipv4": "34.150.183.255",
[taskcluster 2023-11-24T16:09:25.827Z]     "region": "us-east4",
[taskcluster 2023-11-24T16:09:25.827Z]     "zone": "us-east4-b"
[taskcluster 2023-11-24T16:09:25.827Z]   }
[taskcluster 2023-11-24T16:09:25.827Z] Task ID: W0WI-2PnSqCT_LYW4RWI6g
[taskcluster 2023-11-24T16:09:25.827Z] === Task Starting ===
[taskcluster:warn 2023-11-24T16:09:25.832Z] This task was designed to run under Docker Worker. Docker Worker is a worker implementation
[taskcluster:warn 2023-11-24T16:09:25.832Z] that is _no longer_ maintained.
[taskcluster:warn 2023-11-24T16:09:25.832Z] In order to execute this task, it is being converted to a Generic Worker task, using the D2G
[taskcluster:warn 2023-11-24T16:09:25.832Z] utility (Docker Worker 2 Generic Worker):
[taskcluster:warn 2023-11-24T16:09:25.832Z]     https://github.com/taskcluster/taskcluster/tree/main/tools/d2g
[taskcluster:warn 2023-11-24T16:09:25.832Z] 
[taskcluster:warn 2023-11-24T16:09:25.832Z] We recommend that you convert all your Docker Worker tasks to Generic Worker tasks, to ensure
[taskcluster:warn 2023-11-24T16:09:25.832Z] continued support. For this task, see the converted payload below. If you have many tasks that
[taskcluster:warn 2023-11-24T16:09:25.832Z] require conversion, consider using the d2g tool (above) directly. It simply takes a Docker
[taskcluster:warn 2023-11-24T16:09:25.832Z] Worker task payload as input, and outputs a Generic Worker task payload. It can also convert
[taskcluster:warn 2023-11-24T16:09:25.832Z] Docker Worker scopes to equivalent Generic Worker scopes.
[taskcluster:warn 2023-11-24T16:09:25.832Z] 
[taskcluster:warn 2023-11-24T16:09:25.833Z] Converted task definition (conversion performed by d2g):
[taskcluster:warn 2023-11-24T16:09:25.833Z] ---
[taskcluster:warn 2023-11-24T16:09:25.833Z]   created: "2023-11-24T16:07:29.134Z"
[taskcluster:warn 2023-11-24T16:09:25.833Z]   deadline: "2023-11-24T17:07:29.134Z"
[taskcluster:warn 2023-11-24T16:09:25.833Z]   dependencies: []
[taskcluster:warn 2023-11-24T16:09:25.833Z]   expires: "2024-11-24T17:07:29.134Z"
[taskcluster:warn 2023-11-24T16:09:25.833Z]   extra: {}
[taskcluster:warn 2023-11-24T16:09:25.833Z]   metadata:
[taskcluster:warn 2023-11-24T16:09:25.833Z]     description: bugbug ui build
[taskcluster:warn 2023-11-24T16:09:25.833Z]     name: bugbug ui build
[taskcluster:warn 2023-11-24T16:09:25.833Z]     owner: [email protected]
[taskcluster:warn 2023-11-24T16:09:25.833Z]     source: https://github.com/StarKBhaviN/bugbug/raw/3d79b9ae202390628c2945434b5d9a35df2a6760/.taskcluster.yml
[taskcluster:warn 2023-11-24T16:09:25.833Z]   payload:
[taskcluster:warn 2023-11-24T16:09:25.833Z]     artifacts:
[taskcluster:warn 2023-11-24T16:09:25.833Z]     - expires: "2023-12-08T16:07:29.134Z"
[taskcluster:warn 2023-11-24T16:09:25.833Z]       name: public/frontend
[taskcluster:warn 2023-11-24T16:09:25.833Z]       path: artifact0
[taskcluster:warn 2023-11-24T16:09:25.833Z]       type: directory
[taskcluster:warn 2023-11-24T16:09:25.833Z]     command:
[taskcluster:warn 2023-11-24T16:09:25.833Z]     - - bash
[taskcluster:warn 2023-11-24T16:09:25.833Z]       - -cx
[taskcluster:warn 2023-11-24T16:09:25.833Z]       - |-
[taskcluster:warn 2023-11-24T16:09:25.833Z]         podman run -t --name taskcontainer -e RUN_ID -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_ID node:lts /bin/sh -lcxe 'git clone --quiet https://github.com/StarKBhaviN/bugbug /bugbug && cd /bugbug && git -c advice.detachedHead=false checkout 3d79b9ae202390628c2945434b5d9a35df2a6760 && cd ui/changes && npm install --no-progress && npm run release'
[taskcluster:warn 2023-11-24T16:09:25.833Z]         exit_code=$?
[taskcluster:warn 2023-11-24T16:09:25.833Z]         podman cp taskcontainer:/bugbug/ui/changes/dist artifact0
[taskcluster:warn 2023-11-24T16:09:25.833Z]         podman rm taskcontainer
[taskcluster:warn 2023-11-24T16:09:25.833Z]         exit "${exit_code}"
[taskcluster:warn 2023-11-24T16:09:25.833Z]     features:
[taskcluster:warn 2023-11-24T16:09:25.833Z]       backingLog: true
[taskcluster:warn 2023-11-24T16:09:25.833Z]       liveLog: true
[taskcluster:warn 2023-11-24T16:09:25.833Z]     logs:
[taskcluster:warn 2023-11-24T16:09:25.833Z]       backing: public/logs/live_backing.log
[taskcluster:warn 2023-11-24T16:09:25.833Z]       live: public/logs/live.log
[taskcluster:warn 2023-11-24T16:09:25.833Z]     maxRunTime: 3600
[taskcluster:warn 2023-11-24T16:09:25.833Z]     onExitStatus:
[taskcluster:warn 2023-11-24T16:09:25.833Z]       retry:
[taskcluster:warn 2023-11-24T16:09:25.833Z]       - 125
[taskcluster:warn 2023-11-24T16:09:25.833Z]   priority: lowest
[taskcluster:warn 2023-11-24T16:09:25.833Z]   projectId: none
[taskcluster:warn 2023-11-24T16:09:25.833Z]   provisionerId: proj-bugbug
[taskcluster:warn 2023-11-24T16:09:25.833Z]   requires: all-completed
[taskcluster:warn 2023-11-24T16:09:25.833Z]   retries: 5
[taskcluster:warn 2023-11-24T16:09:25.833Z]   routes:
[taskcluster:warn 2023-11-24T16:09:25.833Z]   - checks
[taskcluster:warn 2023-11-24T16:09:25.833Z]   schedulerId: taskcluster-github
[taskcluster:warn 2023-11-24T16:09:25.833Z]   scopes: []
[taskcluster:warn 2023-11-24T16:09:25.833Z]   tags: {}
[taskcluster:warn 2023-11-24T16:09:25.833Z]   taskGroupId: SirdYDDERUCUa1rZBipKuQ
[taskcluster:warn 2023-11-24T16:09:25.833Z]   taskQueueId: proj-bugbug/batch
[taskcluster:warn 2023-11-24T16:09:25.833Z]   workerType: batch
[taskcluster:warn 2023-11-24T16:09:25.833Z] 
[taskcluster 2023-11-24T16:09:26.396Z] Uploading redirect artifact public/logs/live.log to URL https://community-websocktunnel.services.mozilla.com/us-east4.5646691380916745383.60099/log/Obw9ESTYRqKdGs1ADZOfWg with mime type "text/plain; charset=utf-8" and expiry 2023-11-24T17:24:26.323Z
[taskcluster 2023-11-24T16:09:26.469Z] Executing command 0: bash -cx 'podman run -t --name taskcontainer -e RUN_ID -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_ID node:lts /bin/sh -lcxe '\''git clone --quiet https://github.com/StarKBhaviN/bugbug /bugbug && cd /bugbug && git -c advice.detachedHead=false checkout 3d79b9ae202390628c2945434b5d9a35df2a6760 && cd ui/changes && npm install --no-progress && npm run release'\''
[taskcluster 2023-11-24T16:09:26.469Z] exit_code=$?
[taskcluster 2023-11-24T16:09:26.469Z] podman cp taskcontainer:/bugbug/ui/changes/dist artifact0
[taskcluster 2023-11-24T16:09:26.469Z] podman rm taskcontainer
[taskcluster 2023-11-24T16:09:26.469Z] exit "${exit_code}"'
+ podman run -t --name taskcontainer -e RUN_ID -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_ID node:lts /bin/sh -lcxe 'git clone --quiet https://github.com/StarKBhaviN/bugbug /bugbug && cd /bugbug && git -c advice.detachedHead=false checkout 3d79b9ae202390628c2945434b5d9a35df2a6760 && cd ui/changes && npm install --no-progress && npm run release'
Resolved "node" as an alias (/etc/containers/registries.conf.d/shortnames.conf)
Trying to pull docker.io/library/node:lts...
Getting image source signatures
Copying blob sha256:53a3765121b18007f5a66660b95a49330a81912398db54d36cb1781639cb8ee5
Copying blob sha256:27e1a8ca91d35598fbae8dee7f1c211f0f93cec529f6804a60e9301c53a604d0
Copying blob sha256:90e5e7d8b87a34877f61c2b86d053db1c4f440b9054cf49573e3be5d6a674a47
Copying blob sha256:711be5dc50448ab08ccab0b44d65962f36574d341749ab30651b78ec0d4bfd1c
Copying blob sha256:d3a767d1d12e57724b9f254794e359f3b04d4d5ad966006e5b5cda78cc382762
Copying blob sha256:22956530cc64ef2361591684e23e3b8e5bb5910da23197635a2b5b96a34b488d
Copying blob sha256:53a3765121b18007f5a66660b95a49330a81912398db54d36cb1781639cb8ee5
Copying blob sha256:27e1a8ca91d35598fbae8dee7f1c211f0f93cec529f6804a60e9301c53a604d0
Copying blob sha256:d3a767d1d12e57724b9f254794e359f3b04d4d5ad966006e5b5cda78cc382762
Copying blob sha256:22956530cc64ef2361591684e23e3b8e5bb5910da23197635a2b5b96a34b488d
Copying blob sha256:97eaeee3704e79fa0eda21ac5525039beeacb573c32e3c95fb6255a954f8d4cc
Copying blob sha256:711be5dc50448ab08ccab0b44d65962f36574d341749ab30651b78ec0d4bfd1c
Copying blob sha256:90e5e7d8b87a34877f61c2b86d053db1c4f440b9054cf49573e3be5d6a674a47
Copying blob sha256:97eaeee3704e79fa0eda21ac5525039beeacb573c32e3c95fb6255a954f8d4cc
Copying blob sha256:f52b2977463aa441447e75b516cc29ca2f36c89f2939b44aae8bb0a7f8231e21
Copying blob sha256:f52b2977463aa441447e75b516cc29ca2f36c89f2939b44aae8bb0a7f8231e21
Copying config sha256:cda45fab4fcae55c63c3eb4b7f52db026ed4c6d5b977b36be324af800530843a
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
+ [ #  ]
+ [  ]
+ id -u
+ [ 0 -eq 0 ]
+ PS1=# 
+ [ -d /etc/profile.d ]
+ [ -r /etc/profile.d/*.sh ]
+ unset i
+ [  ]
+ mesg n
+ true
+ git clone --quiet https://github.com/StarKBhaviN/bugbug /bugbug
+ cd /bugbug
+ git -c advice.detachedHead=false checkout 3d79b9ae202390628c2945434b5d9a35df2a6760
HEAD is now at 3d79b9ae Resolves #3822
+ cd ui/changes
+ npm install --no-progress
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142

added 404 packages, and audited 405 packages in 7s

51 packages are looking for funding
  run `npm fund` for details

13 vulnerabilities (8 moderate, 1 high, 4 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
+ npm run release

> [email protected] release
> npx snowpack build

[17:11:01] [snowpack] ! building files...
[17:11:01] [snowpack] ✔ files built. [0.05s]
[17:11:01] [snowpack] ! building dependencies...
[17:11:05] [snowpack] ✔ dependencies built. [3.06s]
[17:11:05] [snowpack] ! writing to disk...
[17:11:05] [snowpack] ✔ write complete. [0.02s]
[17:11:05] [snowpack] ▶ Build Complete!
+ exit_code=0
+ podman cp taskcontainer:/bugbug/ui/changes/dist artifact0
+ podman rm taskcontainer
24dff990ce359d1e4d5478fa37c998bc25645d0a20426bd486f2652628a2e2df
+ exit 0
[taskcluster 2023-11-24T16:10:10.738Z]    Exit Code: 0
[taskcluster 2023-11-24T16:10:10.738Z]    User Time: 27.929604s
[taskcluster 2023-11-24T16:10:10.738Z]  Kernel Time: 4.706708s
[taskcluster 2023-11-24T16:10:10.738Z]    Wall Time: 44.268165257s
[taskcluster 2023-11-24T16:10:10.738Z]       Result: SUCCEEDED
[taskcluster 2023-11-24T16:10:10.738Z] === Task Finished ===
[taskcluster 2023-11-24T16:10:10.738Z] Task Duration: 44.269031888s
[taskcluster 2023-11-24T16:10:11.014Z] Uploading artifact public/frontend/_snowpack/pkg/@js-temporal/polyfill.js from file /task_170084209087045/artifact0/_snowpack/pkg/@js-temporal/polyfill.js with content encoding "gzip", mime type "text/javascript; charset=utf-8" and expiry 2023-12-08T16:07:29.134Z
[taskcluster 2023-11-24T16:10:11.255Z] Uploading artifact public/frontend/_snowpack/pkg/apexcharts.js from file /task_170084209087045/artifact0/_snowpack/pkg/apexcharts.js with content encoding "gzip", mime type "text/javascript; charset=utf-8" and expiry 2023-12-08T16:07:29.134Z
[taskcluster 2023-11-24T16:10:11.502Z] Uploading artifact public/frontend/_snowpack/pkg/common/_commonjsHelpers-4f56b6ba.js from file /task_170084209087045/artifact0/_snowpack/pkg/common/_commonjsHelpers-4f56b6ba.js with content encoding "gzip", mime type "text/javascript; charset=utf-8" and expiry 2023-12-08T16:07:29.134Z
[taskcluster 2023-11-24T16:10:11.718Z] Uploading artifact public/frontend/_snowpack/pkg/import-map.json from file /task_170084209087045/artifact0/_snowpack/pkg/import-map.json with content encoding "gzip", mime type "application/json" and expiry 2023-12-08T16:07:29.134Z
[taskcluster 2023-11-24T16:10:11.936Z] Uploading artifact public/frontend/_snowpack/pkg/localforage.js from file /task_170084209087045/artifact0/_snowpack/pkg/localforage.js with content encoding "gzip", mime type "text/javascript; charset=utf-8" and expiry 2023-12-08T16:07:29.134Z
[taskcluster 2023-11-24T16:10:12.160Z] Uploading artifact public/frontend/bug.html from file /task_170084209087045/artifact0/bug.html with content encoding "gzip", mime type "text/html; charset=utf-8" and expiry 2023-12-08T16:07:29.134Z
[taskcluster 2023-11-24T16:10:12.376Z] Uploading artifact public/frontend/bug.js from file /task_170084209087045/artifact0/bug.js with content encoding "gzip", mime type "text/javascript; charset=utf-8" and expiry 2023-12-08T16:07:29.134Z
[taskcluster 2023-11-24T16:10:12.596Z] Uploading artifact public/frontend/common.js from file /task_170084209087045/artifact0/common.js with content encoding "gzip", mime type "text/javascript; charset=utf-8" and expiry 2023-12-08T16:07:29.134Z
[taskcluster 2023-11-24T16:10:12.810Z] Uploading artifact public/frontend/css/common.css from file /task_170084209087045/artifact0/css/common.css with content encoding "gzip", mime type "text/css; charset=utf-8" and expiry 2023-12-08T16:07:29.134Z
[taskcluster 2023-11-24T16:10:13.031Z] Uploading artifact public/frontend/css/page.css from file /task_170084209087045/artifact0/css/page.css with content encoding "gzip", mime type "text/css; charset=utf-8" and expiry 2023-12-08T16:07:29.134Z
[taskcluster 2023-11-24T16:10:13.259Z] Uploading artifact public/frontend/feature.html from file /task_170084209087045/artifact0/feature.html with content encoding "gzip", mime type "text/html; charset=utf-8" and expiry 2023-12-08T16:07:29.134Z
[taskcluster 2023-11-24T16:10:13.476Z] Uploading artifact public/frontend/feature.js from file /task_170084209087045/artifact0/feature.js with content encoding "gzip", mime type "text/javascript; charset=utf-8" and expiry 2023-12-08T16:07:29.134Z
[taskcluster 2023-11-24T16:10:13.688Z] Uploading artifact public/frontend/index.html from file /task_170084209087045/artifact0/index.html with content encoding "gzip", mime type "text/html; charset=utf-8" and expiry 2023-12-08T16:07:29.134Z
[taskcluster 2023-11-24T16:10:13.914Z] Uploading artifact public/frontend/index.js from file /task_170084209087045/artifact0/index.js with content encoding "gzip", mime type "text/javascript; charset=utf-8" and expiry 2023-12-08T16:07:29.134Z
[taskcluster 2023-11-24T16:10:14.132Z] Uploading artifact public/frontend/release.html from file /task_170084209087045/artifact0/release.html with content encoding "gzip", mime type "text/html; charset=utf-8" and expiry 2023-12-08T16:07:29.134Z
[taskcluster 2023-11-24T16:10:14.346Z] Uploading artifact public/frontend/release.js from file /task_170084209087045/artifact0/release.js with content encoding "gzip", mime type "text/javascript; charset=utf-8" and expiry 2023-12-08T16:07:29.134Z
[taskcluster 2023-11-24T16:10:14.565Z] Uploading artifact public/frontend/team.html from file /task_170084209087045/artifact0/team.html with content encoding "gzip", mime type "text/html; charset=utf-8" and expiry 2023-12-08T16:07:29.134Z
[taskcluster 2023-11-24T16:10:14.779Z] Uploading artifact public/frontend/team.js from file /task_170084209087045/artifact0/team.js with content encoding "gzip", mime type "text/javascript; charset=utf-8" and expiry 2023-12-08T16:07:29.134Z
[taskcluster 2023-11-24T16:10:14.985Z] Uploading artifact public/frontend/testing.html from file /task_170084209087045/artifact0/testing.html with content encoding "gzip", mime type "text/html; charset=utf-8" and expiry 2023-12-08T16:07:29.134Z
[taskcluster 2023-11-24T16:10:15.209Z] Uploading artifact public/frontend/testing.js from file /task_170084209087045/artifact0/testing.js with content encoding "gzip", mime type "text/javascript; charset=utf-8" and expiry 2023-12-08T16:07:29.134Z
[taskcluster 2023-11-24T16:10:15.431Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2024-11-24T17:07:29.134Z