Uploaded image for project: 'VS Code Extension'
  1. VS Code Extension
  2. VSCODE-427

The mongosh test_vscode task is broken

    • Type: Icon: Task Task
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: None
    • None
    • 3
    • Not Needed

      Nightly failure:

      https://spruce.mongodb.com/task/mongosh_linux_unit_test_vscode_6488b226d1fe07d72d80870f_23_06_13_18_15_02/logs?execution=0

      [2023/06/13 18:29:30.247] ERROR in ../../build/packages/service-provider-server/node_modules/@mongodb-js/oidc-plugin/dist/plugin.js 44:86-105
      [2023/06/13 18:29:30.247] Module not found: Error: Can't resolve 'electron' in '/tmp/build/packages/service-provider-server/node_modules/@mongodb-js/oidc-plugin/dist'
      [2023/06/13 18:29:30.247] resolve 'electron' in '/tmp/build/packages/service-provider-server/node_modules/@mongodb-js/oidc-plugin/dist'
      [2023/06/13 18:29:30.247]   Parsed request is a module
      [2023/06/13 18:29:30.247]   using description file: /tmp/build/packages/service-provider-server/node_modules/@mongodb-js/oidc-plugin/package.json (relative path: ./dist)
      [2023/06/13 18:29:30.247]     resolve as module
      [2023/06/13 18:29:30.247]       /tmp/build/packages/service-provider-server/node_modules/@mongodb-js/oidc-plugin/dist/node_modules doesn't exist or is not a directory
      [2023/06/13 18:29:30.247]       /tmp/build/packages/service-provider-server/node_modules/@mongodb-js/oidc-plugin/node_modules doesn't exist or is not a directory
      [2023/06/13 18:29:30.247]       /tmp/build/packages/service-provider-server/node_modules/@mongodb-js/node_modules doesn't exist or is not a directory
      [2023/06/13 18:29:30.247]       /tmp/build/packages/service-provider-server/node_modules/node_modules doesn't exist or is not a directory
      [2023/06/13 18:29:30.247]       looking for modules in /tmp/build/packages/service-provider-server/node_modules
      [2023/06/13 18:29:30.247]         single file module
      [2023/06/13 18:29:30.247]           using description file: /tmp/build/packages/service-provider-server/package.json (relative path: ./node_modules/electron)
      [2023/06/13 18:29:30.247]             no extension
      [2023/06/13 18:29:30.247]               /tmp/build/packages/service-provider-server/node_modules/electron doesn't exist
      [2023/06/13 18:29:30.247]             .js
      [2023/06/13 18:29:30.247]               /tmp/build/packages/service-provider-server/node_modules/electron.js doesn't exist
      [2023/06/13 18:29:30.247]             .ts
      [2023/06/13 18:29:30.247]               /tmp/build/packages/service-provider-server/node_modules/electron.ts doesn't exist
      [2023/06/13 18:29:30.247]             .json
      [2023/06/13 18:29:30.247]               /tmp/build/packages/service-provider-server/node_modules/electron.json doesn't exist
      [2023/06/13 18:29:30.247]         /tmp/build/packages/service-provider-server/node_modules/electron doesn't exist
      [2023/06/13 18:29:30.247]       /tmp/build/packages/node_modules doesn't exist or is not a directory
      [2023/06/13 18:29:30.247]       looking for modules in /tmp/build/node_modules
      [2023/06/13 18:29:30.247]         single file module
      [2023/06/13 18:29:30.247]           using description file: /tmp/build/package.json (relative path: ./node_modules/electron)
      [2023/06/13 18:29:30.247]             no extension
      [2023/06/13 18:29:30.247]               /tmp/build/node_modules/electron doesn't exist
      [2023/06/13 18:29:30.247]             .js
      [2023/06/13 18:29:30.247]               /tmp/build/node_modules/electron.js doesn't exist
      [2023/06/13 18:29:30.247]             .ts
      [2023/06/13 18:29:30.247]               /tmp/build/node_modules/electron.ts doesn't exist
      [2023/06/13 18:29:30.247]             .json
      [2023/06/13 18:29:30.247]               /tmp/build/node_modules/electron.json doesn't exist
      [2023/06/13 18:29:30.247]         /tmp/build/node_modules/electron doesn't exist
      [2023/06/13 18:29:30.247]       /tmp/node_modules doesn't exist or is not a directory
      [2023/06/13 18:29:30.247]       /node_modules doesn't exist or is not a directory
      [2023/06/13 18:29:30.247]  @ ../../build/packages/service-provider-server/node_modules/@mongodb-js/oidc-plugin/dist/api.js 4:17-36
      [2023/06/13 18:29:30.247]  @ ../../build/packages/service-provider-server/node_modules/@mongodb-js/oidc-plugin/dist/index.js 4:12-28
      [2023/06/13 18:29:30.247]  @ ../../build/packages/service-provider-server/node_modules/@mongodb-js/devtools-connect/lib/connect.js 32:22-56
      [2023/06/13 18:29:30.247]  @ ../../build/packages/service-provider-server/node_modules/@mongodb-js/devtools-connect/lib/index.js 19:16-36
      [2023/06/13 18:29:30.247]  @ ../../build/packages/service-provider-server/lib/cli-service-provider.js 5:27-66
      [2023/06/13 18:29:30.247]  @ ../../build/packages/service-provider-server/lib/index.js 7:47-80
      [2023/06/13 18:29:30.247]  @ ./src/language/worker.ts 3:34-77
      [2023/06/13 18:29:30.247] webpack 5.79.0 compiled with 1 error and 28 warnings in 49107 ms
      [2023/06/13 18:29:30.247] asset webviewApp.js 3.38 MiB [emitted] (name: webviewApp) 1 related asset
      [2023/06/13 18:29:30.247] runtime modules 1.29 KiB 7 modules
      [2023/06/13 18:29:30.247] orphan modules 236 bytes [orphan] 1 module
      [2023/06/13 18:29:30.247] modules by path ./node_modules/ 2.93 MiB 253 modules
      [2023/06/13 18:29:30.247] modules by path ./src/ 212 KiB
      [2023/06/13 18:29:30.247]   modules by path ./src/views/webview-app/components/ 171 KiB 66 modules
      [2023/06/13 18:29:30.247]   modules by path ./src/views/webview-app/connection-model/ 12 KiB 5 modules
      [2023/06/13 18:29:30.247]   modules by path ./src/views/webview-app/store/*.ts 19.9 KiB 3 modules
      [2023/06/13 18:29:30.247]   modules by path ./src/views/webview-app/*.less 2.46 KiB 2 modules
      [2023/06/13 18:29:30.247]   + 3 modules
      [2023/06/13 18:29:30.247] util (ignored) 15 bytes [built] [code generated]
      [2023/06/13 18:29:30.247] util (ignored) 15 bytes [built] [code generated]
      [2023/06/13 18:29:30.247] util (ignored) 15 bytes [built] [code generated]
      [2023/06/13 18:29:30.247] util (ignored) 15 bytes [built] [code generated]
      [2023/06/13 18:29:30.247] webpack 5.79.0 compiled successfully in 27477 ms
      [2023/06/13 18:29:33.111] ERROR: "compile:extension-bundles" exited with 1.
      [2023/06/13 18:29:33.111] Command 'shell.exec' in function 'test_vscode' failed: shell script encountered problem: exit code 1.
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            leroux.bodenstein@mongodb.com Le Roux Bodenstein
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: