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

build(deps): bump axios from 1.7.2 to 1.7.9 in /frontend #2574

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

build(deps): bump axios from 1.7.2 to 1.7.9 in /frontend

0e75a0f
Select commit
Loading
Failed to load commit list.
Open

build(deps): bump axios from 1.7.2 to 1.7.9 in /frontend #2574

build(deps): bump axios from 1.7.2 to 1.7.9 in /frontend
0e75a0f
Select commit
Loading
Failed to load commit list.
Community-TC Integration / Code Review Frontend build failed Jan 2, 2025 in 2m 40s

Community-TC (pull_request)

Build web single page application

Details

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

Task Status

Started: 2025-01-02T10:16:21.151Z
Resolved: 2025-01-02T10:16:59.556Z
Task Execution Time: 38 seconds, 405 milliseconds
Task Status: failed
Reason Resolved: failed
RunId: 0

Artifacts

- public/frontend
- public/logs/live_backing.log
- public/logs/live.log


[taskcluster 2025-01-02T10:16:21.198Z] Worker Type (proj-relman/generic-worker-ubuntu-24-04) settings:
[taskcluster 2025-01-02T10:16:21.198Z]   {
[taskcluster 2025-01-02T10:16:21.198Z]     "config": {
[taskcluster 2025-01-02T10:16:21.198Z]       "deploymentId": "1ce97b667461a3b3"
[taskcluster 2025-01-02T10:16:21.198Z]     },
[taskcluster 2025-01-02T10:16:21.198Z]     "generic-worker": {
[taskcluster 2025-01-02T10:16:21.198Z]       "config": {
[taskcluster 2025-01-02T10:16:21.198Z]         "headlessTasks": false,
[taskcluster 2025-01-02T10:16:21.198Z]         "runTasksAsCurrentUser": false
[taskcluster 2025-01-02T10:16:21.198Z]       },
[taskcluster 2025-01-02T10:16:21.198Z]       "engine": "multiuser",
[taskcluster 2025-01-02T10:16:21.198Z]       "go-arch": "amd64",
[taskcluster 2025-01-02T10:16:21.198Z]       "go-os": "linux",
[taskcluster 2025-01-02T10:16:21.198Z]       "go-version": "go1.23.4",
[taskcluster 2025-01-02T10:16:21.198Z]       "release": "https://github.com/taskcluster/taskcluster/releases/tag/v77.0.0",
[taskcluster 2025-01-02T10:16:21.198Z]       "revision": "4e04b1997ded4dc7d50c25ccd72d2eee8f5b7f65",
[taskcluster 2025-01-02T10:16:21.198Z]       "source": "https://github.com/taskcluster/taskcluster/commits/4e04b1997ded4dc7d50c25ccd72d2eee8f5b7f65",
[taskcluster 2025-01-02T10:16:21.198Z]       "version": "77.0.0"
[taskcluster 2025-01-02T10:16:21.198Z]     },
[taskcluster 2025-01-02T10:16:21.198Z]     "image": "projects/community-tc-workers/global/images/generic-worker-ubuntu-24-04-8d44y714pa2kw7unk7pb",

...(75 lines hidden)...

[taskcluster:warn 2025-01-02T10:16:21.202Z]   schedulerId: taskcluster-github
[taskcluster:warn 2025-01-02T10:16:21.202Z]   scopes:
[taskcluster:warn 2025-01-02T10:16:21.202Z]   - generic-worker:os-group:proj-relman/generic-worker-ubuntu-24-04/docker
[taskcluster:warn 2025-01-02T10:16:21.202Z]   tags: {}
[taskcluster:warn 2025-01-02T10:16:21.202Z]   taskGroupId: N6-_xrm9Rm-KOohKCFEP3w
[taskcluster:warn 2025-01-02T10:16:21.202Z]   taskQueueId: proj-relman/generic-worker-ubuntu-24-04
[taskcluster:warn 2025-01-02T10:16:21.202Z]   workerType: generic-worker-ubuntu-24-04
[taskcluster:warn 2025-01-02T10:16:21.202Z] 
[taskcluster 2025-01-02T10:16:22.856Z] Uploading redirect artifact public/logs/live.log to URL https://community-websocktunnel.services.mozilla.com/us-east4-c.4806915443612441071.60099/log/QHkYznjCQxeRGXH8vR9Yjw with mime type "text/plain; charset=utf-8" and expiry 2025-01-02T11:46:22.785Z
[taskcluster 2025-01-02T10:16:23.220Z] Executing command 0: bash -cx 'timeout -s KILL 3600 docker run -t --name taskcontainer_WYvKO9pNStaLxLlKH1-yCw --memory-swap -1 --pids-limit -1 -e BACKEND_URL -e RUN_ID -e TASKCLUSTER_INSTANCE_TYPE -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_GROUP_ID -e TASK_ID node:16-alpine sh -lxce '\''apk add git lcms2-dev bash libpng-dev autoconf build-base --quiet && git clone --quiet https://github.com/mozilla/code-review /src && cd /src/frontend && git checkout 0e75a0f81771b592305df9aa05bb84196917ddcd -b build && npm install && npm run build'\''
[taskcluster 2025-01-02T10:16:23.220Z] exit_code=$?
[taskcluster 2025-01-02T10:16:23.220Z] docker cp taskcontainer_WYvKO9pNStaLxLlKH1-yCw:/src/frontend/build artifact0
[taskcluster 2025-01-02T10:16:23.220Z] docker rm taskcontainer_WYvKO9pNStaLxLlKH1-yCw
[taskcluster 2025-01-02T10:16:23.220Z] exit "${exit_code}"'
+ timeout -s KILL 3600 docker run -t --name taskcontainer_WYvKO9pNStaLxLlKH1-yCw --memory-swap -1 --pids-limit -1 -e BACKEND_URL -e RUN_ID -e TASKCLUSTER_INSTANCE_TYPE -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_GROUP_ID -e TASK_ID node:16-alpine sh -lxce 'apk add git lcms2-dev bash libpng-dev autoconf build-base --quiet && git clone --quiet https://github.com/mozilla/code-review /src && cd /src/frontend && git checkout 0e75a0f81771b592305df9aa05bb84196917ddcd -b build && npm install && npm run build'
Unable to find image 'node:16-alpine' locally
16-alpine: Pulling from library/node
7264a8db6415: Pulling fs layer
eee371b9ce3f: Pulling fs layer
93b3025fe103: Pulling fs layer
d9059661ce70: Pulling fs layer
d9059661ce70: Waiting
93b3025fe103: Verifying Checksum
93b3025fe103: Download complete
7264a8db6415: Verifying Checksum
7264a8db6415: Download complete
d9059661ce70: Verifying Checksum
eee371b9ce3f: Verifying Checksum
eee371b9ce3f: Download complete
7264a8db6415: Pull complete
eee371b9ce3f: Pull complete
93b3025fe103: Pull complete
d9059661ce70: Pull complete
Digest: sha256:a1f9d027912b58a7c75be7716c97cfbc6d3099f3a97ed84aa490be9dee20e787
Status: Downloaded newer image for node:16-alpine
+ export 'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
+ export 'PAGER=less'
+ umask 022
+ '[' -n  -o 1.36.1 ]
+ PS1='\h:\w\$ '
+ '[' -n  ]
+ '[' -r /etc/profile.d/20locale.sh ]
+ . /etc/profile.d/20locale.sh
+ export 'CHARSET=UTF-8'
+ export 'LANG=C.UTF-8'
+ export 'LC_COLLATE=C'
+ unset script
+ apk add git lcms2-dev bash libpng-dev autoconf build-base --quiet
  0%                                               1%                                               2%                                               2% █                                             3% █                                             4% █                                             4% ██                                            5% ██                                            6% ██                                            6% ███                                           7% ███                                           8% ███                                           9% ███                                           9% ████                                         10% ████                                         11% ████                                         11% █████                                        12% █████                                        13% █████                                        13% ██████                                       14% ██████                                       15% ██████                                       16% ███████                                      17% ███████                                      18% ████████                                     19% ████████                                     20% █████████                                    21% █████████                                    22% █████████                                    22% ██████████                                   23% ██████████                                   24% ██████████                                   25% ███████████                                  26% ███████████                                  27% ████████████                                 28% ████████████                                 29% ████████████                                 30% █████████████                                31% █████████████                                32% ██████████████                               33% ██████████████                               34% ██████████████                               34% ███████████████                              35% ███████████████                              36% ████████████████                             37% ████████████████                             38% ████████████████                             38% █████████████████                            39% █████████████████                            40% █████████████████                            41% ██████████████████                           42% ██████████████████                           43% ███████████████████                          44% ███████████████████                          45% ███████████████████                          46% ████████████████████                         47% ████████████████████                         48% █████████████████████                        49% █████████████████████                        50% ██████████████████████                       51% ██████████████████████                       52% ███████████████████████                      53% ███████████████████████                      54% ███████████████████████                      55% ████████████████████████                     56% ████████████████████████                     57% █████████████████████████                    58% █████████████████████████                    59% ██████████████████████████                   60% ██████████████████████████                   61% ██████████████████████████                   61% ███████████████████████████                  62% ███████████████████████████                  63% ███████████████████████████                  63% ████████████████████████████                 64% ████████████████████████████                 65% ████████████████████████████                 65% █████████████████████████████                66% █████████████████████████████                67% █████████████████████████████                68% █████████████████████████████                68% ██████████████████████████████               69% ██████████████████████████████               70% ██████████████████████████████               70% ███████████████████████████████              71% ███████████████████████████████              72% ███████████████████████████████              72% ████████████████████████████████             73% ████████████████████████████████             74% ████████████████████████████████             75% █████████████████████████████████            76% █████████████████████████████████            77% █████████████████████████████████            77% ██████████████████████████████████           78% ██████████████████████████████████           79% ██████████████████████████████████           80% ███████████████████████████████████          81% ███████████████████████████████████          82% ████████████████████████████████████         83% ████████████████████████████████████         84% █████████████████████████████████████        85% █████████████████████████████████████        86% █████████████████████████████████████        86% ██████████████████████████████████████       87% ██████████████████████████████████████       88% ██████████████████████████████████████       88% ███████████████████████████████████████      89% ███████████████████████████████████████      90% ███████████████████████████████████████      91% ████████████████████████████████████████     92% ████████████████████████████████████████     93% ████████████████████████████████████████     93% █████████████████████████████████████████    94% █████████████████████████████████████████    95% █████████████████████████████████████████    95% ██████████████████████████████████████████   96% ██████████████████████████████████████████   97% ██████████████████████████████████████████   97% ███████████████████████████████████████████  98% ███████████████████████████████████████████  99% ███████████████████████████████████████████ % ████████████████████████████████████████████+ git clone --quiet https://github.com/mozilla/code-review /src
+ cd /src/frontend
+ git checkout 0e75a0f81771b592305df9aa05bb84196917ddcd -b build
Switched to a new branch 'build'
+ npm install
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=18' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=18' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=18' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=18' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=18' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>= 18.12.0' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>= 18.12.0' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>= 18.12.0' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=18.0.0' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN deprecated @humanwhocodes/[email protected]: Use @eslint/config-array instead
npm WARN deprecated @humanwhocodes/[email protected]: Use @eslint/object-schema instead

added 723 packages, and audited 724 packages in 9s

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

12 vulnerabilities (2 low, 7 moderate, 3 high)

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 build

> [email protected] build
> webpack --mode=production

assets by status 1.08 MiB [cached] 6 assets
Entrypoint main = runtime.bundle.js 540.bundle.js 540.84964dae.css main.bundle.js main.6d6238d8.css 5 auxiliary assets
orphan modules 1.26 MiB (javascript) 8.24 KiB (runtime) [orphan] 178 modules
runtime modules 3.39 KiB 7 modules
cacheable modules 1.59 MiB (javascript) 747 KiB (css/mini-extract)
  javascript modules 1.59 MiB
    ./src/index.js + 63 modules 74 KiB [built] [code generated]
    ./node_modules/vue/dist/vue.runtime.esm.js 297 KiB [built] [code generated]
    ./node_modules/vue-loader/lib/runtime/componentNormalizer.js 2.7 KiB [built] [code generated]
    ./node_modules/vuex/dist/vuex.esm.js 36.4 KiB [built] [code generated]
    + 5 modules
  css modules 747 KiB
    css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-2.use[1]!./node_modules/bulma/css/bulma.css 746 KiB [built] [code generated]
    css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-2.use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/App.vue?vue&type=style&index=0&id=02a1b646&prod&scoped=true&lang=css 701 bytes [built] [code generated]
    css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-2.use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/Diffs.vue?vue&type=style&index=0&id=529f7d75&prod&lang=css 88 bytes [built] [code generated]
    css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-2.use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/Tasks.vue?vue&type=style&index=0&id=067c686c&prod&lang=css 248 bytes [built] [code generated]
    + 5 modules

ERROR in ./node_modules/axios/lib/utils.js 698:42-49
Module not found: Error: Can't resolve 'process/browser' in '/src/frontend/node_modules/axios/lib'
Did you mean 'browser.js'?
BREAKING CHANGE: The request 'process/browser' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
resolve 'process/browser' in '/src/frontend/node_modules/axios/lib'
  Parsed request is a module
  using description file: /src/frontend/node_modules/axios/package.json (relative path: ./lib)
    resolve as module
      /src/frontend/node_modules/axios/lib/node_modules doesn't exist or is not a directory
      /src/frontend/node_modules/axios/node_modules doesn't exist or is not a directory
      /src/frontend/node_modules/node_modules doesn't exist or is not a directory
      looking for modules in /src/frontend/node_modules
        existing directory /src/frontend/node_modules/process
          using description file: /src/frontend/node_modules/process/package.json (relative path: .)
            using description file: /src/frontend/node_modules/process/package.json (relative path: ./browser)
              Field 'browser' doesn't contain a valid alias configuration
              /src/frontend/node_modules/process/browser doesn't exist
      /src/node_modules doesn't exist or is not a directory
      /node_modules doesn't exist or is not a directory
 @ ./node_modules/axios/lib/axios.js 3:0-31 33:2-14 36:2-14 80:43-59
 @ ./node_modules/axios/index.js
 @ ./src/store.js 3:0-26 82:13-22 92:13-22 108:6-15 134:6-15 159:6-15 167:13-22 176:13-22 180:26-35 180:81-90 203:13-22 229:13-22
 @ ./src/index.js 4:0-31 7:2-7

ERROR in ./node_modules/axios/lib/axios.js + 48 modules
Cannot read properties of undefined (reading 'module')
while analyzing module javascript/esm|/src/frontend/node_modules/axios/lib/utils.js for concatenation
TypeError: Cannot read properties of undefined (reading 'module')
while analyzing module javascript/esm|/src/frontend/node_modules/axios/lib/utils.js for concatenation
    at ProvidedDependencyTemplate.apply (/src/frontend/node_modules/webpack/lib/dependencies/ProvidedDependency.js:134:61)
    at JavascriptGenerator.sourceDependency (/src/frontend/node_modules/webpack/lib/javascript/JavascriptGenerator.js:236:12)
    at JavascriptGenerator.sourceModule (/src/frontend/node_modules/webpack/lib/javascript/JavascriptGenerator.js:122:9)
    at JavascriptGenerator.generate (/src/frontend/node_modules/webpack/lib/javascript/JavascriptGenerator.js:108:8)
    at NormalModule.codeGeneration (/src/frontend/node_modules/webpack/lib/NormalModule.js:1428:49)
    at ConcatenatedModule._analyseModule (/src/frontend/node_modules/webpack/lib/optimize/ConcatenatedModule.js:1716:29)
    at ConcatenatedModule.codeGeneration (/src/frontend/node_modules/webpack/lib/optimize/ConcatenatedModule.js:1119:9)
    at /src/frontend/node_modules/webpack/lib/Compilation.js:3505:22
    at /src/frontend/node_modules/webpack/lib/Cache.js:97:5
    at Hook.eval [as callAsync] (eval at create (/src/frontend/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)

webpack 5.97.1 compiled with 2 errors in 10909 ms
+ exit_code=1
+ docker cp taskcontainer_WYvKO9pNStaLxLlKH1-yCw:/src/frontend/build artifact0
Error response from daemon: Could not find the file /src/frontend/build in container taskcontainer_WYvKO9pNStaLxLlKH1-yCw
+ docker rm taskcontainer_WYvKO9pNStaLxLlKH1-yCw
taskcontainer_WYvKO9pNStaLxLlKH1-yCw
+ exit 1
[taskcluster 2025-01-02T10:16:59.109Z]    Exit Code: 1
[taskcluster 2025-01-02T10:16:59.109Z]    User Time: 37.223ms
[taskcluster 2025-01-02T10:16:59.109Z]  Kernel Time: 55.787ms
[taskcluster 2025-01-02T10:16:59.109Z]    Wall Time: 35.889035014s
[taskcluster 2025-01-02T10:16:59.109Z]       Result: FAILED
[taskcluster 2025-01-02T10:16:59.109Z] === Task Finished ===
[taskcluster 2025-01-02T10:16:59.109Z] Task Duration: 35.889589661s
[taskcluster:error] Uploading error artifact public/frontend from file artifact0 with message "Could not read directory '/home/task_173581291139814/artifact0'", reason "file-missing-on-worker" and expiry 2025-01-16T10:14:19.165Z
[taskcluster:error] TASK FAILURE during artifact upload: file-missing-on-worker: Could not read directory '/home/task_173581291139814/artifact0'
[taskcluster 2025-01-02T10:16:59.294Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2026-01-02T11:14:19.165Z
[taskcluster:error] exit status 1