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

Glsp collaboration #59

Open
wants to merge 19 commits into
base: master
Choose a base branch
from

Fix feature to work for latest master branch.

7034265
Select commit
Loading
Failed to load commit list.
Open

Glsp collaboration #59

Fix feature to work for latest master branch.
7034265
Select commit
Loading
Failed to load commit list.
Jenkins - GLSP / CI Jenkins Build failed Apr 15, 2024 in 1m 9s

Build: error in 'sh' step

Build / Shell Script

Error in sh step, with arguments yarn install.

script returned exit code 1
Build log
+ yarn install
yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
warning Pattern ["wrap-ansi@^7.0.0"] is trying to unpack in the same destination "/home/jenkins/agent/workspace/sp_glsp-vscode-integration_PR-59/yarn-cache/v6/npm-wrap-ansi-cjs-7.0.0-67e145cff510a6a6984bdf1152911d69d2eb9e43-integrity/node_modules/wrap-ansi-cjs" as pattern ["wrap-ansi-cjs@npm:wrap-ansi@^7.0.0"]. This could result in non-deterministic behavior, skipping.
warning Pattern ["@eclipse-glsp/protocol@next"] is trying to unpack in the same destination "/home/jenkins/agent/workspace/sp_glsp-vscode-integration_PR-59/yarn-cache/v6/npm-@eclipse-glsp-protocol-2.3.0-next.309-e30496338846462be6ef8c91c0f42b0e4bd0875a-integrity/node_modules/@eclipse-glsp/protocol" as pattern ["@eclipse-glsp/protocol@2.3.0-next.309+b90a740"]. This could result in non-deterministic behavior, skipping.
[3/4] Linking dependencies...
warning "workspace-aggregator-fabf2788-dbe2-401e-811f-c136491e80fb > @eclipse-glsp/vscode-integration-webview > @eclipse-glsp/client > @eclipse-glsp/sprotty > @eclipse-glsp/protocol@2.3.0-next.309" has unmet peer dependency "inversify@^6.0.1".
warning "workspace-aggregator-fabf2788-dbe2-401e-811f-c136491e80fb > @eclipse-glsp/vscode-integration-webview > @eclipse-glsp/client > @eclipse-glsp/sprotty > sprotty@1.0.0" has unmet peer dependency "inversify@^6.0.1".
[4/4] Building fresh packages...
warning Error running install script for optional dependency: "/home/jenkins/agent/workspace/sp_glsp-vscode-integration_PR-59/node_modules/keytar: Command failed.
Exit code: 1
Command: prebuild-install || npm run build
Arguments: 
Directory: /home/jenkins/agent/workspace/sp_glsp-vscode-integration_PR-59/node_modules/keytar
Output:
prebuild-install warn install EACCES: permission denied, mkdir '/.npm'

> keytar@7.9.0 build
> node-gyp rebuild

gyp info it worked if it ends with ok
gyp info using node-gyp@9.4.1
gyp info using node@16.20.2 | linux | x64
gyp info find Python using Python version 3.7.3 found at \"/usr/bin/python3\"
gyp WARN EACCES current user (\"1002890000\") does not have permission to access the dev dir \"/.cache/node-gyp/16.20.2\"
gyp WARN EACCES attempting to reinstall using temporary dev dir \"/tmp/.node-gyp\"
gyp http GET https://nodejs.org/download/release/v16.20.2/node-v16.20.2-headers.tar.gz
gyp http 200 https://nodejs.org/download/release/v16.20.2/node-v16.20.2-headers.tar.gz
gyp http GET https://nodejs.org/download/release/v16.20.2/SHASUMS256.txt
gyp http 200 https://nodejs.org/download/release/v16.20.2/SHASUMS256.txt
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args   '/home/jenkins/agent/workspace/sp_glsp-vscode-integration_PR-59/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/home/jenkins/agent/workspace/sp_glsp-vscode-integration_PR-59/node_modules/keytar/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/jenkins/agent/workspace/sp_glsp-vscode-integration_PR-59/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/tmp/.node-gyp/16.20.2/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/tmp/.node-gyp/16.20.2',
gyp info spawn args   '-Dnode_gyp_dir=/home/jenkins/agent/workspace/sp_glsp-vscode-integration_PR-59/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/tmp/.node-gyp/16.20.2/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/home/jenkins/agent/workspace/sp_glsp-vscode-integration_PR-59/node_modules/keytar',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
Package libsecret-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libsecret-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libsecret-1' found
gyp: Call to 'pkg-config --cflags libsecret-1' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/home/jenkins/agent/workspace/sp_glsp-vscode-integration_PR-59/node_modules/node-gyp/lib/configure.js:325:16)
gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12)
gyp ERR! System Linux 6.2.9-300.fc38.x86_64
gyp ERR! command \"/usr/local/bin/node\" \"/home/jenkins/agent/workspace/sp_glsp-vscode-integration_PR-59/node_modules/.bin/node-gyp\" \"rebuild\"
gyp ERR! cwd /home/jenkins/agent/workspace/sp_glsp-vscode-integration_PR-59/node_modules/keytar
gyp ERR! node -v v16.20.2
gyp ERR! node-gyp -v v9.4.1
gyp ERR! not ok"
info This module is OPTIONAL, you can safely ignore this error
$ yarn build
yarn run v1.22.19
$ yarn compile && yarn bundle
$ tsc -b
packages/vscode-integration/src/collaboration/collaboration-feature-store.ts(1,10): error TS2724: '"@eclipse-glsp/protocol"' has no exported member named 'MouseMoveAction'. Did you mean 'MoveAction'?
packages/vscode-integration/src/collaboration/collaboration-feature-store.ts(1,27): error TS2305: Module '"@eclipse-glsp/protocol"' has no exported member 'ViewportBoundsChangeAction'.
packages/vscode-integration/src/collaboration/collaboration-feature-store.ts(1,55): error TS2305: Module '"@eclipse-glsp/protocol"' has no exported member 'SelectionChangeAction'.
packages/vscode-integration/src/collaboration/collaboration-feature-store.ts(1,78): error TS2305: Module '"@eclipse-glsp/protocol"' has no exported member 'CollaborationActionKinds'.
packages/vscode-integration/src/common/glsp-vscode-connector.ts(19,5): error TS2305: Module '"@eclipse-glsp/protocol"' has no exported member 'CollaborationAction'.
packages/vscode-integration/src/common/glsp-vscode-connector.ts(20,5): error TS2305: Module '"@eclipse-glsp/protocol"' has no exported member 'CollaborationActionKinds'.
packages/vscode-integration/src/common/glsp-vscode-connector.ts(157,48): error TS2339: Property 'visible' does not exist on type 'Action'.
packages/vscode-integration/src/common/glsp-vscode-connector.ts(227,45): error TS2339: Property 'args' does not exist on type 'ActionMessage<Action>'.
packages/vscode-integration/src/common/glsp-vscode-connector.ts(228,52): error TS2339: Property 'args' does not exist on type 'ActionMessage<Action>'.
packages/vscode-integration/src/common/glsp-vscode-connector.ts(335,25): error TS2339: Property 'args' does not exist on type '{ clientId: string; action: Action; }'.
packages/vscode-integration/src/common/glsp-vscode-connector.ts(336,32): error TS2339: Property 'args' does not exist on type '{ clientId: string; action: Action; }'.
packages/vscode-integration/src/collaboration/collaboration-commands.ts(6,10): error TS2724: '"@eclipse-glsp/protocol"' has no exported member named 'MouseMoveAction'. Did you mean 'MoveAction'?
packages/vscode-integration/src/collaboration/collaboration-commands.ts(6,27): error TS2305: Module '"@eclipse-glsp/protocol"' has no exported member 'ViewportBoundsChangeAction'.
packages/vscode-integration/src/collaboration/collaboration-commands.ts(6,55): error TS2305: Module '"@eclipse-glsp/protocol"' has no exported member 'SelectionChangeAction'.
packages/vscode-integration/src/collaboration/collaboration-commands.ts(6,78): error TS2305: Module '"@eclipse-glsp/protocol"' has no exported member 'ToggleCollaborationFeatureAction'.
packages/vscode-integration/src/collaboration/collaboration-commands.ts(6,112): error TS2305: Module '"@eclipse-glsp/protocol"' has no exported member 'CollaborationActionKinds'.
packages/vscode-integration/src/collaboration/collaboration-glsp-client-provider.ts(16,92): error TS2305: Module '"@eclipse-glsp/protocol"' has no exported member 'SubclientInfo'.
packages/vscode-integration/src/collaboration/collaboration-glsp-client.ts(22,5): error TS2305: Module '"@eclipse-glsp/protocol"' has no exported member 'CollaborationAction'.
packages/vscode-integration/src/collaboration/collaboration-glsp-client.ts(25,5): error TS2305: Module '"@eclipse-glsp/protocol"' has no exported member 'DisposeSubclientAction'.
packages/vscode-integration/src/collaboration/collaboration-glsp-client.ts(166,29): error TS2339: Property 'subclientId' does not exist on type 'Action'.
packages/vscode-integration/src/collaboration/collaboration-glsp-client.ts(167,28): error TS2339: Property 'subclientId' does not exist on type 'Action'.
packages/vscode-integration/src/collaboration/collaboration-glsp-client.ts(173,83): error TS2339: Property 'args' does not exist on type 'ActionMessage<Action>'.
packages/vscode-integration/src/collaboration/collaboration-glsp-client.ts(182,36): error TS2339: Property 'subclientId' does not exist on type 'Action'.
packages/vscode-integration/src/collaboration/collaboration-glsp-client.ts(214,52): error TS2339: Property 'subclientId' does not exist on type 'Action'.
packages/vscode-integration/src/collaboration/collaboration-glsp-client.ts(267,83): error TS2339: Property 'args' does not exist on type 'ActionMessage<CollaborationAction>'.
packages/vscode-integration/src/collaboration/collaboration-glsp-client.ts(300,17): error TS2322: Type '{ subclientId: string; kind: string; }' is not assignable to type 'Action'.
  Object literal may only specify known properties, and 'subclientId' does not exist in type 'Action'.
packages/vscode-integration/src/collaboration/collaboration-glsp-client.ts(323,25): error TS2322: Type '{ subclientId: string; kind: string; }' is not assignable to type 'Action'.
  Object literal may only specify known properties, and 'subclientId' does not exist in type 'Action'.
packages/vscode-integration/src/liveshare/liveshare-glsp-client-provider.ts(22,5): error TS2305: Module '"@eclipse-glsp/protocol"' has no exported member 'SubclientInfo'.
packages/vscode-integration/src/liveshare/liveshare-glsp-client-provider.ts(193,44): error TS2339: Property 'subclientId' does not exist on type 'Action'.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Details

  • Declarative: Checkout SCM (20 sec)
    • Build (45 sec)
      Error: script returned exit code 1
    • Codechecks (ESLint) (1 sec)
    • Deploy (master only) (1.1 sec)
    • Declarative: Post Actions (1 sec)