Add support for external connections. #229
Merged
Google Cloud Build / malloy-vscode-extension-test-precommit (malloy-303216)
succeeded
Aug 17, 2023 in 3m 46s
Summary
Build Information
Trigger | malloy-vscode-extension-test-precommit |
Build | 64f7472a-0342-477c-8ea3-7a2b24c2499c |
Start | 2023-08-17T15:41:51-07:00 |
Duration | 3m44.755s |
Status | SUCCESS |
Steps
Step | Status | Duration |
---|---|---|
gcr.io/malloy-303216/vscode-builder | SUCCESS | 3m40.936s |
Details
starting build "64f7472a-0342-477c-8ea3-7a2b24c2499c"
FETCHSOURCE
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /workspace/.git/
From https://github.com/malloydata/malloy-vscode-extension
* branch 55a4ac0805a673bf5e575993a9f93876d8fb86d1 -> FETCH_HEAD
HEAD is now at 55a4ac0 Fix package.json
BUILD
Pulling image: gcr.io/malloy-303216/vscode-builder
Using default tag: latest
latest: Pulling from malloy-303216/vscode-builder
d52e4f012db1: Pulling fs layer
7dd206bea61f: Pulling fs layer
2320f9be4a9c: Pulling fs layer
6e5565e0ba8d: Pulling fs layer
5f1526a28cf9: Pulling fs layer
4ccb9c18c2a9: Pulling fs layer
ca47f557a0ee: Pulling fs layer
b7aa5008a25a: Pulling fs layer
19de72b24719: Pulling fs layer
54fbde092093: Pulling fs layer
2d910adb9825: Pulling fs layer
eee9acee26d2: Pulling fs layer
6e5565e0ba8d: Waiting
5f1526a28cf9: Waiting
4ccb9c18c2a9: Waiting
ca47f557a0ee: Waiting
b7aa5008a25a: Waiting
19de72b24719: Waiting
54fbde092093: Waiting
2d910adb9825: Waiting
eee9acee26d2: Waiting
7dd206bea61f: Verifying Checksum
7dd206bea61f: Download complete
d52e4f012db1: Verifying Checksum
d52e4f012db1: Download complete
5f1526a28cf9: Verifying Checksum
5f1526a28cf9: Download complete
2320f9be4a9c: Verifying Checksum
2320f9be4a9c: Download complete
ca47f557a0ee: Verifying Checksum
ca47f557a0ee: Download complete
b7aa5008a25a: Verifying Checksum
b7aa5008a25a: Download complete
4ccb9c18c2a9: Verifying Checksum
4ccb9c18c2a9: Download complete
54fbde092093: Verifying Checksum
54fbde092093: Download complete
2d910adb9825: Verifying Checksum
2d910adb9825: Download complete
19de72b24719: Verifying Checksum
19de72b24719: Download complete
6e5565e0ba8d: Verifying Checksum
6e5565e0ba8d: Download complete
eee9acee26d2: Verifying Checksum
eee9acee26d2: Download complete
d52e4f012db1: Pull complete
7dd206bea61f: Pull complete
2320f9be4a9c: Pull complete
6e5565e0ba8d: Pull complete
5f1526a28cf9: Pull complete
4ccb9c18c2a9: Pull complete
ca47f557a0ee: Pull complete
b7aa5008a25a: Pull complete
19de72b24719: Pull complete
54fbde092093: Pull complete
2d910adb9825: Pull complete
eee9acee26d2: Pull complete
Digest: sha256:01eb409f413a5c0f68887e6bc6f02131b7bcb58ac9432ba0e883527685c84efd
Status: Downloaded newer image for gcr.io/malloy-303216/vscode-builder:latest
gcr.io/malloy-303216/vscode-builder:latest
Starting X
Starting dbus
+ echo 'Starting X'
+ export DISPLAY=:99
+ DISPLAY=:99
+ echo 'Starting dbus'
+ service dbus start
+ Xvfb :99 -screen 0 1024x768x24
Starting system message bus: dbus.
+ export XDG_RUNTIME_DIR=/tmp/xdg_runtime
+ XDG_RUNTIME_DIR=/tmp/xdg_runtime
+ mkdir /tmp/xdg_runtime
+ chmod 700 /tmp/xdg_runtime
++ id -un
++ id -gn
+ chown root:root /tmp/xdg_runtime
+ export DBUS_SESSION_BUS_ADDRESS=unix:path=/tmp/xdg_runtime/bus
+ DBUS_SESSION_BUS_ADDRESS=unix:path=/tmp/xdg_runtime/bus
+ echo 'Installing npm packages'
Installing npm packages
+ npm ci --loglevel error
+ dbus-daemon --session --address=unix:path=/tmp/xdg_runtime/bus --nofork --nopidfile --syslog-only
> [email protected] prepare
> npm run compile
> [email protected] compile
> tsc
added 1642 packages, and audited 1643 packages in 2m
163 packages are looking for funding
run `npm fund` for details
2 moderate severity vulnerabilities
To address all issues, run:
npm audit fix
Run `npm audit` for details.
Running integration tests
+ echo 'Running integration tests'
+ npm run integration
> [email protected] preintegration
> npm run build-extension && tsc --project tsconfig.integration.json
> [email protected] build-extension
> ts-node scripts/build-extension build
Building extension to dist/ in production mode
Generating third party licenses
Wrote /workspace/dist/third_party_notices.txt
Building node
dist/extension_node.js 3.1mb ⚠️
dist/keytar-TLRXG3ZC.node 71.2kb
dist/struct-O3PLDI7F.svg 15.1kb
dist/database-GVZBVK5B.svg 3.5kb
dist/boolean-ZVFY566H.svg 2.7kb
dist/string-6GZDOUCL.svg 1.8kb
dist/many_to_one-7RS3KDP2.svg 1.8kb
dist/one_to_many-GA5SEISG.svg 1.2kb
dist/time-TH2FTTTY.svg 1.2kb
dist/one_to_one-6N3CRWEM.svg 729b
dist/number-CXJUSSGN.svg 607b
dist/number-aggregate-6XTHDGBC.svg 607b
dist/turtle-FTPSIOKE.svg 603b
⚡ Done in 1358ms
Building nodeServer
dist/server_node.js 3.0mb ⚠️
dist/worker_node.js 2.8mb ⚠️
dist/keytar-TLRXG3ZC.node 71.2kb
⚡ Done in 1195ms
Building webview
dist/query_page.js 2.7mb ⚠️
dist/msql_query_page.js 2.5mb ⚠️
dist/connections_page.js 410.0kb
dist/help_page.js 394.9kb
⚡ Done in 1771ms
Building renderers
dist/malloy_entry.js 2.4mb ⚠️
dist/json_entry.js 1.3mb ⚠️
dist/sql_entry.js 1.3mb ⚠️
⚡ Done in 1102ms
Building browser
dist/extension_browser.js 1.9mb ⚠️
dist/struct-O3PLDI7F.svg 15.1kb
dist/database-GVZBVK5B.svg 3.5kb
dist/boolean-ZVFY566H.svg 2.7kb
dist/string-6GZDOUCL.svg 1.8kb
dist/many_to_one-7RS3KDP2.svg 1.8kb
dist/one_to_many-GA5SEISG.svg 1.2kb
dist/time-TH2FTTTY.svg 1.2kb
dist/one_to_one-6N3CRWEM.svg 729b
dist/number-CXJUSSGN.svg 607b
dist/number-aggregate-6XTHDGBC.svg 607b
dist/turtle-FTPSIOKE.svg 603b
⚡ Done in 704ms
Building browserServer
dist/server_browser.js 1.7mb ⚠️
⚡ Done in 804ms
Extension built successfully
> [email protected] integration
> node ./integration/out/runTest.js
[255:0817/224437.285090:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[268:0817/224437.771247:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
�[90m[main 2023-08-17T22:44:37.821Z]�[0m update#ctor - updates are disabled by the environment
[306:0817/224438.149019:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[327:0817/224438.226917:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
[294:0817/224438.232422:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
Started initializing default profile extensions in extensions installation folder. file:///workspace/.vscode-test/extensions
Completed initializing default profile extensions in extensions installation folder. file:///workspace/.vscode-test/extensions
Loading development extension at /workspace
[vscode.php]: One or more snippets from the extension 'php' very likely confuse snippet-variables and snippet-placeholders (see https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details)
Smoke tests
✔ Activate and run a query (7656ms)
1 passing (8s)
�[90m[main 2023-08-17T22:44:52.014Z]�[0m Extension host with pid 370 exited with code: 0, signal: unknown.
Exit code: 0
Done
+ echo 'Running unit tests'
Running unit tests
+ npm run test
> [email protected] pretest
> npm run compile
> [email protected] compile
> tsc
> [email protected] test
> jest --runInBand
PASS test/common/convert_to_bytes.spec.ts (8.291 s)
convertToBytes()
✓ Handles numbers (3 ms)
✓ Handles kB
✓ Handles MB (1 ms)
✓ Handles GB (1 ms)
✓ Handles TB (1 ms)
✓ Handles PB
✓ Handles garbage (11 ms)
convertFromBytes()
✓ Handles numbers (18 ms)
✓ Handles KB
✓ Handles MB (1 ms)
✓ Handles GB
✓ Handles TB (1 ms)
✓ Handles PB (1 ms)
✓ Handles garbage (1 ms)
PASS test/dependencies.spec.ts
dependencies
✓ typescript references should not be circular (2685 ms)
Test Suites: 2 passed, 2 total
Tests: 15 passed, 15 total
Snapshots: 0 total
Time: 12.247 s
Ran all test suites.
> [email protected] posttest
> npm run lint
> [email protected] lint
> gts lint
version: 16
/workspace/src/common/connections/node/connection_factory.ts
39:9 warning 'random' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
/workspace/src/extension/browser/commands/edit_connections.ts
77:9 warning Unexpected console statement no-console
✖ 2 problems (0 errors, 2 warnings)
+ echo 'Shutting down'
+ killall Xvfb
Shutting down
+ service dbus stop
Stopping system message bus: dbus.
PUSH
DONE
Loading