Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[glsp-build] Build eclipse-glsp/glsp-server-node/main (#67) FAILURE

Job: eclipse-glsp/glsp-server-node/main
Build Number: 67
Build URL: https://ci.eclipse.org/glsp/job/eclipse-glsp/job/glsp-server-node/job/main/67/
Push event to branch main
Connecting to https://api.github.com using GitHub app GLSP
Obtained Jenkinsfile from d07c15f442e69e585c8168cee7f267e841482bf9
[Pipeline] Start of Pipeline
[Pipeline] echo
[WARNING] label option is deprecated. To use a static pod template, use the 'inheritFrom' option.
[Pipeline] podTemplate
[Pipeline] {
[Pipeline] node
Created Pod: kubernetes glsp/glsp-agent-pod-ps03w-lq94z
Agent glsp-agent-pod-ps03w-lq94z is provisioned from template glsp-agent-pod-ps03w
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    buildUrl: "http://jenkins-ui.glsp.svc.cluster.local/glsp/job/eclipse-glsp/job/glsp-server-node/job/main/67/";
    runUrl: "job/eclipse-glsp/job/glsp-server-node/job/main/67/"
  labels:
    jenkins: "slave"
    jenkins/label-digest: "ada02baee263c1a03329f0354abad8439fdbe91c"
    jenkins/label: "glsp-agent-pod"
  name: "glsp-agent-pod-ps03w-lq94z"
  namespace: "glsp"
spec:
  containers:
  - command:
    - "cat"
    image: "node:16"
    name: "node"
    resources:
      limits:
        memory: "2Gi"
        cpu: "1"
      requests:
        memory: "2Gi"
        cpu: "1"
    tty: true
    volumeMounts:
    - mountPath: "/home/jenkins"
      name: "jenkins-home"
      readOnly: false
    - mountPath: "/.yarn"
      name: "yarn-global"
      readOnly: false
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.glsp.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "glsp-agent-pod-ps03w-lq94z"
    - name: "JENKINS_NAME"
      value: "glsp-agent-pod-ps03w-lq94z"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.glsp.svc.cluster.local/glsp/";
    image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-3107.v665000b_51092"
    name: "jnlp"
    resources:
      requests:
        memory: "256Mi"
        cpu: "100m"
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  nodeSelector:
    kubernetes.io/os: "linux"
  restartPolicy: "Never"
  volumes:
  - emptyDir: {}
    name: "yarn-global"
  - emptyDir: {}
    name: "jenkins-home"
  - emptyDir:
      medium: ""
    name: "workspace-volume"

Running on glsp-agent-pod-ps03w-lq94z in /home/jenkins/agent/workspace/lipse-glsp_glsp-server-node_main
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
using credential github-app-glsp
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository https://github.com/eclipse-glsp/glsp-server-node.git
 > git init /home/jenkins/agent/workspace/lipse-glsp_glsp-server-node_main # timeout=10
Fetching upstream changes from https://github.com/eclipse-glsp/glsp-server-node.git
 > git --version # timeout=10
 > git --version # 'git version 2.20.1'
using GIT_ASKPASS to set credentials GitHub app GLSP
 > git fetch --no-tags --force --progress -- https://github.com/eclipse-glsp/glsp-server-node.git +refs/heads/main:refs/remotes/origin/main # timeout=10
 > git config remote.origin.url https://github.com/eclipse-glsp/glsp-server-node.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/main:refs/remotes/origin/main # timeout=10
Avoid second fetch
Checking out Revision d07c15f442e69e585c8168cee7f267e841482bf9 (main)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f d07c15f442e69e585c8168cee7f267e841482bf9 # timeout=10
Commit message: "GLSP-813 Also publish workflow-server bundle (#46)"
 > git rev-list --no-walk d47240f44513b242a84ab6c4996f79ecd740837e # timeout=10
[GitHub Checks] GitHub check (name: CI Jenkins Build, status: in_progress) has been published.
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] container
[Pipeline] {
[Pipeline] timeout
Timeout set to expire in 30 min
[Pipeline] {
[Pipeline] sh
+ yarn install
yarn install v1.22.19
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
warning "@eclipse-glsp/dev > @eclipse-glsp/config-test > ts-node@10.9.1" has unmet peer dependency "typescript@>=2.7".
[5/5] Building fresh packages...
$ lerna run prepare
lerna notice cli v6.6.1
lerna info ci enabled

 >  Lerna (powered by Nx)   Running target prepare for 4 projects:

    - @eclipse-glsp-examples/workflow-server
    - @eclipse-glsp/graph
    - @eclipse-glsp/layout-elk
    - @eclipse-glsp/server

 

> @eclipse-glsp/graph:prepare

@eclipse-glsp/graph: @eclipse-glsp/graph: yarn run v1.22.19
@eclipse-glsp/graph: $ yarn clean && yarn build
@eclipse-glsp/graph: @eclipse-glsp/graph: $ rimraf lib tsconfig.tsbuildinfo coverage .nyc_output
@eclipse-glsp/graph: @eclipse-glsp/graph: $ tsc -b
@eclipse-glsp/graph: Done in 4.48s.

> @eclipse-glsp/server:prepare

@eclipse-glsp/server: @eclipse-glsp/server: yarn run v1.22.19
@eclipse-glsp/server: @eclipse-glsp/server: $ yarn clean && yarn build
@eclipse-glsp/server: @eclipse-glsp/server: $ rimraf lib tsconfig.tsbuildinfo coverage .nyc_output
@eclipse-glsp/server: @eclipse-glsp/server: $ tsc -b
@eclipse-glsp/server: Done in 9.79s.

> @eclipse-glsp/layout-elk:prepare

@eclipse-glsp/layout-elk: @eclipse-glsp/layout-elk: yarn run v1.22.19
@eclipse-glsp/layout-elk: $ yarn clean && yarn build
@eclipse-glsp/layout-elk: @eclipse-glsp/layout-elk: $ rimraf lib tsconfig.tsbuildinfo coverage .nyc_output
@eclipse-glsp/layout-elk: @eclipse-glsp/layout-elk: $ tsc -b
@eclipse-glsp/layout-elk: @eclipse-glsp/layout-elk: Done in 4.83s.

> @eclipse-glsp-examples/workflow-server:prepare

@eclipse-glsp-examples/workflow-server: @eclipse-glsp-examples/workflow-server: yarn run v1.22.19
@eclipse-glsp-examples/workflow-server: $ yarn clean && yarn build
@eclipse-glsp-examples/workflow-server: @eclipse-glsp-examples/workflow-server: $ rimraf lib tsconfig.tsbuildinfo bundle
@eclipse-glsp-examples/workflow-server: @eclipse-glsp-examples/workflow-server: $ tsc -b && yarn bundle
@eclipse-glsp-examples/workflow-server: @eclipse-glsp-examples/workflow-server: $ webpack
@eclipse-glsp-examples/workflow-server: asset wf-glsp-server-node.js 3.31 MiB [emitted] (name: main) 1 related asset
@eclipse-glsp-examples/workflow-server: runtime modules 937 bytes 4 modules
@eclipse-glsp-examples/workflow-server: modules by path ../../node_modules/ 2.56 MiB 317 modules
@eclipse-glsp-examples/workflow-server: modules by path ../../packages/ 386 KiB
@eclipse-glsp-examples/workflow-server:   modules by path ../../packages/server/lib/ 318 KiB 94 modules
@eclipse-glsp-examples/workflow-server:   modules by path ../../packages/graph/lib/*.js 40.9 KiB 21 modules
@eclipse-glsp-examples/workflow-server:   modules by path ../../packages/layout-elk/lib/*.js 26.5 KiB
@eclipse-glsp-examples/workflow-server:     ../../packages/layout-elk/lib/index.js 1.81 KiB [built] [code generated]
@eclipse-glsp-examples/workflow-server:     + 5 modules
@eclipse-glsp-examples/workflow-server:   ../../packages/server/node.js 892 bytes [built] [code generated]
@eclipse-glsp-examples/workflow-server: modules by path ./lib/ 97.5 KiB
@eclipse-glsp-examples/workflow-server:   modules by path ./lib/common/ 93.7 KiB 33 modules
@eclipse-glsp-examples/workflow-server:   modules by path ./lib/node/*.js 3.8 KiB
@eclipse-glsp-examples/workflow-server:     ./lib/node/app.js 2.44 KiB [built] [code generated]
@eclipse-glsp-examples/workflow-server:     ./lib/node/workflow-cli-parser.js 1.37 KiB [built] [code generated]
@eclipse-glsp-examples/workflow-server: + 19 modules
@eclipse-glsp-examples/workflow-server: WARNING in ../../node_modules/ws/lib/buffer-util.js 117:23-44
@eclipse-glsp-examples/workflow-server: Module not found: Error: Can't resolve 'bufferutil' in '/home/jenkins/agent/workspace/lipse-glsp_glsp-server-node_main/node_modules/ws/lib'
@eclipse-glsp-examples/workflow-server:  @ ../../node_modules/ws/lib/websocket.js 31:21-45
@eclipse-glsp-examples/workflow-server:  @ ../../node_modules/ws/index.js 3:18-44
@eclipse-glsp-examples/workflow-server:  @ ../../packages/server/lib/node/launch/websocket-server-launcher.js 32:13-26
@eclipse-glsp-examples/workflow-server:  @ ../../packages/server/lib/node/index.js 40:13-58
@eclipse-glsp-examples/workflow-server:  @ ./lib/common/workflow-diagram-module.js 28:17-48
@eclipse-glsp-examples/workflow-server:  @ ./lib/node/app.js 23:34-78
@eclipse-glsp-examples/workflow-server: WARNING in ../../node_modules/ws/lib/validation.js 122:24-49
@eclipse-glsp-examples/workflow-server: Module not found: Error: Can't resolve 'utf-8-validate' in '/home/jenkins/agent/workspace/lipse-glsp_glsp-server-node_main/node_modules/ws/lib'
@eclipse-glsp-examples/workflow-server:  @ ../../node_modules/ws/lib/receiver.js 13:43-66
@eclipse-glsp-examples/workflow-server:  @ ../../node_modules/ws/index.js 7:21-46
@eclipse-glsp-examples/workflow-server:  @ ../../packages/server/lib/node/launch/websocket-server-launcher.js 32:13-26
@eclipse-glsp-examples/workflow-server:  @ ../../packages/server/lib/node/index.js 40:13-58
@eclipse-glsp-examples/workflow-server:  @ ./lib/common/workflow-diagram-module.js 28:17-48
@eclipse-glsp-examples/workflow-server:  @ ./lib/node/app.js 23:34-78
@eclipse-glsp-examples/workflow-server: 2 warnings have detailed information that is not shown.
@eclipse-glsp-examples/workflow-server: Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.
@eclipse-glsp-examples/workflow-server: webpack 5.81.0 compiled with 2 warnings in 7411 ms
@eclipse-glsp-examples/workflow-server: Done in 14.41s.

 

 >  Lerna (powered by Nx)   Successfully ran target prepare for 4 projects


Done in 75.44s.
[Pipeline] script
[Pipeline] {
[Pipeline] sh
+ git diff --name-only
+ grep -q ^yarn.lock
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Bundle workflow-example (browser))
[Pipeline] container
[Pipeline] {
[Pipeline] timeout
Timeout set to expire in 30 min
[Pipeline] {
[Pipeline] dir
Running in /home/jenkins/agent/workspace/lipse-glsp_glsp-server-node_main/examples/workflow-server
[Pipeline] {
[Pipeline] sh
+ yarn bundle:browser
yarn run v1.22.19
$ webpack --env target=webworker 
asset wf-glsp-server-webworker.js 2.56 MiB [emitted] (name: main) 1 related asset
runtime modules 891 bytes 4 modules
modules by path ../../ 2.27 MiB
  modules by path ../../node_modules/ 1.91 MiB 137 modules
  modules by path ../../packages/ 363 KiB
    modules by path ../../packages/server/lib/ 295 KiB 88 modules
    modules by path ../../packages/graph/lib/*.js 40.9 KiB 21 modules
    modules by path ../../packages/layout-elk/lib/*.js 26.5 KiB 6 modules
    ../../packages/server/browser.js 895 bytes [built] [code generated]
modules by path ./lib/ 108 KiB
  modules by path ./lib/common/ 93.7 KiB 33 modules
  modules by path ./lib/browser/ 14.3 KiB
    ./lib/browser/app.js 2.16 KiB [built] [code generated]
    ./lib/browser/mock-model-storage.js 2.95 KiB [built] [code generated]
    ./lib/browser/example1.json 9.24 KiB [built] [code generated]
webpack 5.81.0 compiled successfully in 5595 ms
Done in 6.26s.
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Codechecks (ESLint))
[Pipeline] container
[Pipeline] {
[Pipeline] timeout
Timeout set to expire in 30 min
[Pipeline] {
[Pipeline] sh
+ yarn lint:ci
yarn run v1.22.19
$ lerna run lint:ci
lerna notice cli v6.6.1
lerna info ci enabled

 >  Lerna (powered by Nx)   Running target lint:ci for 4 projects:

    - @eclipse-glsp-examples/workflow-server
    - @eclipse-glsp/graph
    - @eclipse-glsp/layout-elk
    - @eclipse-glsp/server

 

> @eclipse-glsp/graph:"lint:ci"

@eclipse-glsp/graph: @eclipse-glsp/graph: $ yarn lint -o eslint.xml -f checkstyle
@eclipse-glsp/graph: @eclipse-glsp/graph: $ eslint --ext .ts,.tsx ./src -o eslint.xml -f checkstyle

> @eclipse-glsp/server:"lint:ci"

@eclipse-glsp/server: @eclipse-glsp/server: $ yarn lint -o eslint.xml -f checkstyle
@eclipse-glsp/server: @eclipse-glsp/server: $ eslint --ext .ts,.tsx ./src -o eslint.xml -f checkstyle

> @eclipse-glsp/layout-elk:"lint:ci"

@eclipse-glsp/layout-elk: @eclipse-glsp/layout-elk: $ yarn lint -o eslint.xml -f checkstyle
@eclipse-glsp/layout-elk: @eclipse-glsp/layout-elk: $ eslint --ext .ts,.tsx ./src -o eslint.xml -f checkstyle

> @eclipse-glsp-examples/workflow-server:"lint:ci"

@eclipse-glsp-examples/workflow-server: @eclipse-glsp-examples/workflow-server: $ yarn lint -o eslint.xml -f checkstyle
@eclipse-glsp-examples/workflow-server: @eclipse-glsp-examples/workflow-server: $ eslint --ext .ts,.tsx ./src -o eslint.xml -f checkstyle

 

 >  Lerna (powered by Nx)   Successfully ran target lint:ci for 4 projects


Done in 51.40s.
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Tests (Mocha))
[Pipeline] container
[Pipeline] {
[Pipeline] timeout
Timeout set to expire in 30 min
[Pipeline] {
[Pipeline] sh
+ yarn test:ci
yarn run v1.22.19
$ lerna run test:ci
lerna notice cli v6.6.1
lerna info ci enabled

 >  Lerna (powered by Nx)   Running target test:ci for 3 projects:

    - @eclipse-glsp/graph
    - @eclipse-glsp/layout-elk
    - @eclipse-glsp/server

 

> @eclipse-glsp/graph:"test:ci"

@eclipse-glsp/graph: @eclipse-glsp/graph: $ export JUNIT_REPORT_PATH=./report.xml && yarn test --reporter mocha-jenkins-reporter
@eclipse-glsp/graph: @eclipse-glsp/graph: $ mocha --config ../../.mocharc "./src/**/*.spec.?(ts|tsx)" --reporter mocha-jenkins-reporter
@eclipse-glsp/graph:   graph package
@eclipse-glsp/graph:       ✔ should support code coverage statistics: 0ms
@eclipse-glsp/graph:   Suite duration: 0.003 s, Tests: 1
@eclipse-glsp/graph:   1 passing (40ms)

> @eclipse-glsp/server:"test:ci"

@eclipse-glsp/server: @eclipse-glsp/server: $ export JUNIT_REPORT_PATH=./report.xml && yarn test --reporter mocha-jenkins-reporter
@eclipse-glsp/server: @eclipse-glsp/server: $ mocha --config ../../.mocharc "./src/**/*.spec.?(ts|tsx)" --reporter mocha-jenkins-reporter
@eclipse-glsp/server:   test DefaultActionDispatcher test with one-way actions (no response actions)
@eclipse-glsp/server:       ✔ dispatch- unhandled action: 1ms
@eclipse-glsp/server:       ✔ dispatch - one action: 1ms
@eclipse-glsp/server:       ✔ dispatch- one action & multiple handlers: 0ms
@eclipse-glsp/server:   Suite duration: 0.007 s, Tests: 3
@eclipse-glsp/server:   test DefaultActionDispatcher test with one-way actions (no response actions) test multi dispatch with single-handled actions
@eclipse-glsp/server:       ✔ dispatch - multiple actions: 1ms
@eclipse-glsp/server:       ✔ dispatchAll- multiple actions: 0ms
@eclipse-glsp/server:       ✔ dispatch - multiple actions (racing execution times): 801ms
@eclipse-glsp/server:   Suite duration: 0.804 s, Tests: 3
@eclipse-glsp/server:   test DefaultActionDispatcher test with handler response actions 
@eclipse-glsp/server:       ✔ dispatch - one action & one handler response action: 202ms
@eclipse-glsp/server:       ✔ dispatch - multiple actions & multiple response: 101ms
@eclipse-glsp/server:   Suite duration: 0.304 s, Tests: 2
@eclipse-glsp/server:   test DefaultActionDispatcher test dispatch after next update
@eclipse-glsp/server:       ✔ dispatchAfterNextUpdate: 1ms
@eclipse-glsp/server:   Suite duration: 0.002 s, Tests: 1
@eclipse-glsp/server:   Test ActionHandlerRegistry (only functionality that is not covered by "registry.spec.ts"
@eclipse-glsp/server:       ✔ registerHandler - should register given handlers: 1ms
@eclipse-glsp/server:       ✔ get - should return three handlers sorted by priority: 1ms
@eclipse-glsp/server:   Suite duration: 0.003 s, Tests: 2
@eclipse-glsp/server:   test DefaultGlobalActionProvider
@eclipse-glsp/server:       ✔ serverActionsKinds: 0ms
@eclipse-glsp/server:       ✔ clientActionKinds: 0ms
@eclipse-glsp/server:   Suite duration: 0.001 s, Tests: 2
@eclipse-glsp/server:   test DefaultCommandStack execute
@eclipse-glsp/server:       ✔ should execute the given command and become dirty: 1ms
@eclipse-glsp/server:       ✔ should execute the given commands in order and become dirty: 1ms
@eclipse-glsp/server:       ✔ should be able to undo after execute: 0ms
@eclipse-glsp/server:       ✔ should clear the redo stack after execution: 0ms
@eclipse-glsp/server:       ✔ should flush the stack in case of an execution error: 1ms
@eclipse-glsp/server:   Suite duration: 0.004 s, Tests: 5
@eclipse-glsp/server:   test DefaultCommandStack undo
@eclipse-glsp/server:       ✔ should do nothing if the command stack is empty: 1ms
@eclipse-glsp/server:       ✔ should undo the command and become non-dirty again: 0ms
@eclipse-glsp/server:       ✔ should undo multiple command and become non-dirty again: 1ms
@eclipse-glsp/server:       ✔ should flush the stack in case of an execution error: 1ms
@eclipse-glsp/server:   Suite duration: 0.003 s, Tests: 4
@eclipse-glsp/server:   test DefaultCommandStack redo
@eclipse-glsp/server:       ✔ should do nothing if the command stack is empty: 0ms
@eclipse-glsp/server:       ✔ should redo the command and become dirty again: 0ms
@eclipse-glsp/server:       ✔ should undo multiple command and become non-dirty again: 1ms
@eclipse-glsp/server:       ✔ should flush the stack in case of an execution error: 0ms
@eclipse-glsp/server:       ✔ should be able to undo after redo: 1ms
@eclipse-glsp/server:   Suite duration: 0.003 s, Tests: 5
@eclipse-glsp/server:   test DefaultCommandStack flush
@eclipse-glsp/server:       ✔ should reset the internal state of the command stack: 0ms
@eclipse-glsp/server:   Suite duration: 0 s, Tests: 1
@eclipse-glsp/server:   test DefaultCommandStack isSaveDone
@eclipse-glsp/server:       ✔ should become non-dirty after execution: 0ms
@eclipse-glsp/server:       ✔ should maintain undo/redo history after execution: 0ms
@eclipse-glsp/server:   Suite duration: 0 s, Tests: 2
@eclipse-glsp/server:   CompoundCommand execute
@eclipse-glsp/server:       ✔ Should execute the subcommands in order: 0ms
@eclipse-glsp/server:       ✔ Should undo partially executed subcommands in  case of an error: 1ms
@eclipse-glsp/server:   Suite duration: 0.001 s, Tests: 2
@eclipse-glsp/server:   CompoundCommand undo
@eclipse-glsp/server:       ✔ Should undo the subcommands in reverse order: 1ms
@eclipse-glsp/server:       ✔ Should redo partially undone subcommands in  case of an error: 1ms
@eclipse-glsp/server:   Suite duration: 0.002 s, Tests: 2
@eclipse-glsp/server:   CompoundCommand canUndo
@eclipse-glsp/server:       ✔ should return true if all subcommands can be undone: 0ms
@eclipse-glsp/server:       ✔ should return true if anyof the  subcommands cannot be undone: 0ms
@eclipse-glsp/server:   Suite duration: 0 s, Tests: 2
@eclipse-glsp/server:   RecordingCommand
@eclipse-glsp/server:       ✔ should be undoable after execution: 0ms
@eclipse-glsp/server:       ✔ should restore the pre execution state when undo is called: 1ms
@eclipse-glsp/server:       ✔ should restore the post execution state when redo is called: 1ms
@eclipse-glsp/server:   Suite duration: 0.003 s, Tests: 3
@eclipse-glsp/server:   BindingTarget bindTarget() Bind to constructor
@eclipse-glsp/server:       ✔ Should bind the service identifier `to` the given target with no scope: 1ms
@eclipse-glsp/server:       ✔ Should bind the service identifier `toSelf` with no scope: 0ms
@eclipse-glsp/server:   Suite duration: 0.013 s, Tests: 2
@eclipse-glsp/server:   BindingTarget bindTarget() Bind to service
@eclipse-glsp/server:       ✔ Should bind the service identifier `service` using the given target service with no scope: 0ms
@eclipse-glsp/server:       ✔ Should throw an error because the given target service is not bound: 0ms
@eclipse-glsp/server:       ✔ Should bind the unbound target service to itself before applying the toService binding: 0ms
@eclipse-glsp/server:       ✔ The return syntax should be no op and invocation of a syntax function should throw an error: 1ms
@eclipse-glsp/server:   Suite duration: 0.023 s, Tests: 4
@eclipse-glsp/server:   BindingTarget bindTarget() Bind to constant value
@eclipse-glsp/server:       ✔ Should bind the service identifier `toConstantValue` using the given target with no scope: 1ms
@eclipse-glsp/server: class Target {
@eclipse-glsp/server: } has been bound to 'constantValue'. Binding in Singleton scope has no effect.Constant value bindings are effectively Singleton bindings.
@eclipse-glsp/server:       ✔ The return syntax's in functions should be no op and invocation should log a warning: 1ms
@eclipse-glsp/server:   Suite duration: 0.01 s, Tests: 2
@eclipse-glsp/server:   BindingTarget bindTarget() Bind to dynamic value
@eclipse-glsp/server:       ✔ Should bind the service identifier `toDynamicValue` using the given factory function with no scope: 0ms
@eclipse-glsp/server:   Suite duration: 0.006 s, Tests: 1
@eclipse-glsp/server:   test implementations of MultiBinding test basic functionaly (ClassMultiBinding) 
@eclipse-glsp/server:       ✔ add - new binding: 0ms
@eclipse-glsp/server:       ✔ add - existing binding: 0ms
@eclipse-glsp/server:       ✔ remove - existing binding: 0ms
@eclipse-glsp/server:       ✔ remove - non-existing binding: 0ms
@eclipse-glsp/server:       ✔ addAll - TestClass1 & TestClass2: 0ms
@eclipse-glsp/server:       ✔ rebind- TestClass2 to TestClass3: 0ms
@eclipse-glsp/server:       ✔ rebind- TestClass2 to TestClass3- should fail: 0ms
@eclipse-glsp/server:       ✔ removeAll- TestClass1 & TestClass3: 0ms
@eclipse-glsp/server:   Suite duration: 0.002 s, Tests: 8
@eclipse-glsp/server:   test implementations of MultiBinding test applyBinding
@eclipse-glsp/server:       ✔ apply binding of ClassMultiBinding: 1ms
@eclipse-glsp/server:       ✔ apply binding of InstanceMultiBinding: 0ms
@eclipse-glsp/server:   Suite duration: 0.001 s, Tests: 2
@eclipse-glsp/server:   test RequestTypeHintsActionHandler
@eclipse-glsp/server:       ✔ execute with correct action: 1ms
@eclipse-glsp/server:   Suite duration: 0.001 s, Tests: 1
@eclipse-glsp/server:   Test DefaultContextActionsProviderRegistry
@eclipse-glsp/server:       ✔ check if default registry is empty: 1ms
@eclipse-glsp/server:       ✔ register DefaultToolPaletteItemProvider via ContextActionsProviders list: 0ms
@eclipse-glsp/server:       ✔ register DefaultToolPaletteItemProvider via ToolPaletteItemProvider: 0ms
@eclipse-glsp/server:       ✔ register CustomCommandPaletteActionProvider via CommandPaletteActionProvider: 1ms
@eclipse-glsp/server:   Suite duration: 0.002 s, Tests: 4
@eclipse-glsp/server:   Test RequestContextActionsHandler
@eclipse-glsp/server:       ✔ request ToolPaletteContextActions: 1ms
@eclipse-glsp/server:   Suite duration: 0.001 s, Tests: 1
@eclipse-glsp/server:   Test DefaultToolPaletteItemProvider
@eclipse-glsp/server:       ✔ test getItems: 1ms
@eclipse-glsp/server:   Suite duration: 0.001 s, Tests: 1
@eclipse-glsp/server:   Test DefaultContextEditValidatorRegistry
@eclipse-glsp/server:       ✔ check if default registry is empty: 0ms
@eclipse-glsp/server:       ✔ register TestContextEditValidator via ContextEditValidators list: 0ms
@eclipse-glsp/server:       ✔ register TestLabelEditValidator via LabelEditValidator: 1ms
@eclipse-glsp/server:       ✔ register via ContextEditValidators list and LabelEditValidator: 0ms
@eclipse-glsp/server:   Suite duration: 0.001 s, Tests: 4
@eclipse-glsp/server:   Test RequestEditValidationHandler
@eclipse-glsp/server:       ✔ requestContextEditValidation with ok result: 0ms
@eclipse-glsp/server:       ✔ requestContextEditValidation with warning result: 0ms
@eclipse-glsp/server:       ✔ requestContextEditValidation with error result: 0ms
@eclipse-glsp/server:       ✔ requestLabelEditValidation with ok result: 1ms
@eclipse-glsp/server:       ✔ requestLabelEditValidation with warning result: 0ms
@eclipse-glsp/server:       ✔ requestLabelEditValidation with error result: 0ms
@eclipse-glsp/server:   Suite duration: 0.002 s, Tests: 6
@eclipse-glsp/server:   test DefaultGModelSerializer
@eclipse-glsp/server:       ✔ createElement - unregistered type: 0ms
@eclipse-glsp/server:       ✔ createElement - with root schema: 0ms
@eclipse-glsp/server:       ✔ createElement - with node schema: 0ms
@eclipse-glsp/server:       ✔ createElement- with sub type of registered schema: 1ms
@eclipse-glsp/server:       ✔ createElement - with parent: 0ms
@eclipse-glsp/server:       ✔ createRoot - unregistered type: 1ms
@eclipse-glsp/server:       ✔ createRoot - with child schema : 0ms
@eclipse-glsp/server:       ✔ createRoot - with registered root schema: 0ms
@eclipse-glsp/server:       ✔ createSchema- unregistered type: 0ms
@eclipse-glsp/server:       ✔ createSchema- with node: 0ms
@eclipse-glsp/server:   Suite duration: 0.004 s, Tests: 10
@eclipse-glsp/server:   Test OperationHandlerRegistry
@eclipse-glsp/server:       ✔ register OperationActionHandler: 1ms
@eclipse-glsp/server:       ✔ register CreateOperationActionHandlers: 0ms
@eclipse-glsp/server:   Suite duration: 0.001 s, Tests: 2
@eclipse-glsp/server:   test DefaultGLSPServer
@eclipse-glsp/server:       ✔ Test calls before server initialization (should throw errors): 0ms
@eclipse-glsp/server:       ✔ addListener - add existing listener: 0ms
@eclipse-glsp/server:       ✔ addListener - add new listener: 1ms
@eclipse-glsp/server:       ✔ removeListener - remove non-existing listener: 0ms
@eclipse-glsp/server:       ✔ removeListener - remove existing listener: 0ms
@eclipse-glsp/server:       ✔ initialize - with wrong protocol version: 1ms
@eclipse-glsp/server:       ✔ initialize - with correct parameters: 0ms
@eclipse-glsp/server:       ✔ initialize - subsequent call with same parameters: 0ms
@eclipse-glsp/server:       ✔ initialize -  subsequent call with other parameters: 1ms
@eclipse-glsp/server:       ✔ initialize client session: 0ms
@eclipse-glsp/server:       ✔ dispose client session: 0ms
@eclipse-glsp/server:       ✔ shutdown server: 0ms
@eclipse-glsp/server:   Suite duration: 0.004 s, Tests: 12
@eclipse-glsp/server:   test DefaultClientSessionFactory
@eclipse-glsp/server:       ✔ create - new client session: 0ms
@eclipse-glsp/server:       ✔ create - unknown diagram type: 0ms
@eclipse-glsp/server:   Suite duration: 0.001 s, Tests: 2
@eclipse-glsp/server:   test DefaultClientSessionManager
@eclipse-glsp/server:       ✔ add listener: 0ms
@eclipse-glsp/server:       ✔ add create client session: 0ms
@eclipse-glsp/server:       ✔ get sessions by type: 0ms
@eclipse-glsp/server:       ✔ get sessions by type that does no exist: 0ms
@eclipse-glsp/server:       ✔ dispose client session: 0ms
@eclipse-glsp/server:   Suite duration: 0.002 s, Tests: 5
@eclipse-glsp/server:   test PromiseQueue
@eclipse-glsp/server:       ✔ enqueue - one element: 101ms
@eclipse-glsp/server:       ✔ enqueue - two elements: 201ms
@eclipse-glsp/server:       ✔ enqueue - three elements (first promise in queue has longest resolve time): 602ms
@eclipse-glsp/server:   Suite duration: 0.904 s, Tests: 3
@eclipse-glsp/server:   Test Registry
@eclipse-glsp/server:       ✔ register - with new key-value pair: 0ms
@eclipse-glsp/server:       ✔ register -  with key-value pair with a already registered key: 0ms
@eclipse-glsp/server:       ✔ deregister - with registered key: 1ms
@eclipse-glsp/server:       ✔ deregister - with unregistered key: 0ms
@eclipse-glsp/server:       ✔ haskey - with registered key: 0ms
@eclipse-glsp/server:       ✔ haskey - with unregistered key: 0ms
@eclipse-glsp/server:       ✔ get - with registered key: 0ms
@eclipse-glsp/server:       ✔ get - with unregistered key: 0ms
@eclipse-glsp/server:       ✔ getAll - should return three values: 0ms
@eclipse-glsp/server:       ✔ keys - should return three keys: 0ms
@eclipse-glsp/server:   Suite duration: 0.002 s, Tests: 10
@eclipse-glsp/server:   Test MapMultiRegistry
@eclipse-glsp/server:       ✔ register - with new key-value pair: 0ms
@eclipse-glsp/server:       ✔ deregister - with registered key: 0ms
@eclipse-glsp/server:       ✔ deregister - with unregistered key: 0ms
@eclipse-glsp/server:       ✔ deregisterAll - with registered key: 0ms
@eclipse-glsp/server:       ✔ deregisterAll - with unregistered key: 0ms
@eclipse-glsp/server:       ✔ haskey - with registered key: 0ms
@eclipse-glsp/server:       ✔ haskey - with unregistered key: 0ms
@eclipse-glsp/server:       ✔ get - with registered key: 0ms
@eclipse-glsp/server:       ✔ get - with unregistered key: 0ms
@eclipse-glsp/server:       ✔ getAll: 0ms
@eclipse-glsp/server:       ✔ keys: 0ms
@eclipse-glsp/server:   Suite duration: 0.002 s, Tests: 11
@eclipse-glsp/server:   test createCliParser
@eclipse-glsp/server:       ✔ parse - no args: 1ms
@eclipse-glsp/server: error: option '-d , --logDir <logDir>' argument 'invalid.Path' is invalid. Argument is not a valid directory!
@eclipse-glsp/server: Usage: Launch a GLSP server [options]
@eclipse-glsp/server: GLSP server
@eclipse-glsp/server: Options:
@eclipse-glsp/server:   -V, --version               output the version number
@eclipse-glsp/server:   -l , --logLevel <logLevel>  Set the log level. [default='3'] (default: 3)
@eclipse-glsp/server:   -d , --logDir <logDir>      Set the directory for log files (when file
@eclipse-glsp/server:                               logging is enabled) [default=.config] (default:
@eclipse-glsp/server:                               ".config")
@eclipse-glsp/server:   -h, --help                  display help for command
@eclipse-glsp/server:  Copyright (c) 2022-2023 Eclipse GLSP
@eclipse-glsp/server:       ✔ parse - invalid log dir: 2ms
@eclipse-glsp/server:       ✔ parse - valid log dir: 1ms
@eclipse-glsp/server: error: option '-l , --logLevel <logLevel>' argument 'someRandomLevel' is invalid. Argument has to be 'none'|'error'|'warn'|'info'|'debug'!
@eclipse-glsp/server: Usage: Launch a GLSP server [options]
@eclipse-glsp/server: GLSP server
@eclipse-glsp/server: Options:
@eclipse-glsp/server:   -V, --version               output the version number
@eclipse-glsp/server:   -l , --logLevel <logLevel>  Set the log level. [default='3'] (default: 3)
@eclipse-glsp/server:   -d , --logDir <logDir>      Set the directory for log files (when file
@eclipse-glsp/server:                               logging is enabled) [default=.config] (default:
@eclipse-glsp/server:                               ".config")
@eclipse-glsp/server:   -h, --help                  display help for command
@eclipse-glsp/server:  Copyright (c) 2022-2023 Eclipse GLSP
@eclipse-glsp/server:       ✔ parse - invalid logLevel: 0ms
@eclipse-glsp/server:       ✔ parse - valid logLevel: 0ms
@eclipse-glsp/server:       ✔ parse- no args with custom default options: 1ms
@eclipse-glsp/server:   Suite duration: 0.005 s, Tests: 6
@eclipse-glsp/server:   test createCliParser
@eclipse-glsp/server:       ✔ parse - no args: 0ms
@eclipse-glsp/server: error: option '-p , --port <port>' argument '-1' is invalid. Port has to be between in range (0,65535)!
@eclipse-glsp/server: Usage: Launch a GLSP server [options]
@eclipse-glsp/server: GLSP server
@eclipse-glsp/server: Options:
@eclipse-glsp/server:   -V, --version               output the version number
@eclipse-glsp/server:   -l , --logLevel <logLevel>  Set the log level. [default='3'] (default: 3)
@eclipse-glsp/server:   -d , --logDir <logDir>      Set the directory for log files (when file
@eclipse-glsp/server:                               logging is enabled) [default=.config] (default:
@eclipse-glsp/server:                               ".config")
@eclipse-glsp/server:   -p , --port <port>          Set server port [default= 0] (default: 0)
@eclipse-glsp/server:   --host <host>               Set host name [default= localhost (default:
@eclipse-glsp/server:                               "localhost")
@eclipse-glsp/server:   --no-consoleLog             Disable console logging
@eclipse-glsp/server:   --fileLog                   Enable file logging (default: false)
@eclipse-glsp/server:   -h, --help                  display help for command
@eclipse-glsp/server:  Copyright (c) 2022-2023 Eclipse GLSP
@eclipse-glsp/server:       ✔ parse - invalid port (below lower range): 1ms
@eclipse-glsp/server: error: option '-p , --port <port>' argument '65536' is invalid. Port has to be between in range (0,65535)!
@eclipse-glsp/server: Usage: Launch a GLSP server [options]
@eclipse-glsp/server: GLSP server
@eclipse-glsp/server: Options:
@eclipse-glsp/server:   -V, --version               output the version number
@eclipse-glsp/server:   -l , --logLevel <logLevel>  Set the log level. [default='3'] (default: 3)
@eclipse-glsp/server:   -d , --logDir <logDir>      Set the directory for log files (when file
@eclipse-glsp/server:                               logging is enabled) [default=.config] (default:
@eclipse-glsp/server:                               ".config")
@eclipse-glsp/server:   -p , --port <port>          Set server port [default= 0] (default: 0)
@eclipse-glsp/server:   --host <host>               Set host name [default= localhost (default:
@eclipse-glsp/server:                               "localhost")
@eclipse-glsp/server:   --no-consoleLog             Disable console logging
@eclipse-glsp/server:   --fileLog                   Enable file logging (default: false)
@eclipse-glsp/server:   -h, --help                  display help for command
@eclipse-glsp/server:  Copyright (c) 2022-2023 Eclipse GLSP
@eclipse-glsp/server:       ✔ parse - invalid port (below upper range): 0ms
@eclipse-glsp/server:       ✔ parse - valid port: 0ms
@eclipse-glsp/server:       ✔ parse - --no-consoleLog: 0ms
@eclipse-glsp/server:       ✔ parse - --fileLog: 0ms
@eclipse-glsp/server:       ✔ parse - custom host name: 0ms
@eclipse-glsp/server:       ✔ parse- no args with custom default options: 1ms
@eclipse-glsp/server:   Suite duration: 0.003 s, Tests: 8
@eclipse-glsp/server:   test SocketServerLauncher
@eclipse-glsp/server: 4:00:17 PM info -  [SocketServerLauncher] The GLSP server is ready to accept new client requests on port: 5008 
@eclipse-glsp/server: [GLSP-Server]:Startup completed. Accepting requests on port:5008
@eclipse-glsp/server:       1) starts and stops
@eclipse-glsp/server: 4:00:17 PM info -  [SocketServerLauncher] Starting GLSP server connection 
@eclipse-glsp/server: 4:00:17 PM info -  [SocketServerLauncher] Shutdown GLSPServerLauncher 
@eclipse-glsp/server:       2) starts and stops
@eclipse-glsp/server:   Suite duration: 9.68 s, Tests: 2
@eclipse-glsp/server:   144 passing (12s)
@eclipse-glsp/server:   2 failing
@eclipse-glsp/server:   1) test SocketServerLauncher
@eclipse-glsp/server:        starts and stops:
@eclipse-glsp/server:      Uncaught AssertionError: Connection time outed.
@eclipse-glsp/server:       at Socket.<anonymous> (src/node/launch/socket-server-launcher.spec.ts:49:28)
@eclipse-glsp/server:       at Socket.emit (node:events:513:28)
@eclipse-glsp/server:       at Socket.emit (node:domain:489:12)
@eclipse-glsp/server:       at Socket._onTimeout (node:net:550:8)
@eclipse-glsp/server:       at listOnTimeout (node:internal/timers:559:17)
@eclipse-glsp/server:       at processTimers (node:internal/timers:502:7)
@eclipse-glsp/server: 
@eclipse-glsp/server:   2) test SocketServerLauncher
@eclipse-glsp/server:        starts and stops:
@eclipse-glsp/server:      Error: done() called multiple times in test <test SocketServerLauncher starts and stops> of file /home/jenkins/agent/workspace/lipse-glsp_glsp-server-node_main/packages/server/src/node/launch/socket-server-launcher.spec.ts
@eclipse-glsp/server:       at processTicksAndRejections (node:internal/process/task_queues:96:5)
@eclipse-glsp/server: 
@eclipse-glsp/server: @eclipse-glsp/server: error Command failed with exit code 2.
@eclipse-glsp/server: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
@eclipse-glsp/server: @eclipse-glsp/server: error Command failed with exit code 2.
@eclipse-glsp/server: @eclipse-glsp/server: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

 

 >  Lerna (powered by Nx)   Running target test:ci for 3 projects failed

   Tasks not run because their dependencies failed or --nx-bail=true:
   
   - @eclipse-glsp/layout-elk:test:ci
   
   Failed tasks:
   
   - @eclipse-glsp/server:test:ci

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Test Coverage (main only))
Stage "Test Coverage (main only)" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Deploy (main only))
Stage "Deploy (main only)" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] script
[Pipeline] {
[Pipeline] echo
Build result FAILURE: Send email notification to glsp-build@xxxxxxxxxxx
[Pipeline] emailext
Sending email to: glsp-build@xxxxxxxxxxx

Back to the top