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 (#76) FAILURE

Job: eclipse-glsp/glsp-server-node/main
Build Number: 76
Build URL: https://ci.eclipse.org/glsp/job/eclipse-glsp/job/glsp-server-node/job/main/76/
Push event to branch main
Connecting to https://api.github.com using GitHub app GLSP
Obtained Jenkinsfile from 9fd09256d93c37d80fee11b8435bcd8afac46ecf
[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
Still waiting to schedule task
Waiting for next available executor on ‘glsp-agent-pod-xsz78-35p2s’
Agent glsp-agent-pod-vltg0-gzz3j is provisioned from template glsp-agent-pod-vltg0
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    buildUrl: "http://jenkins-ui.glsp.svc.cluster.local/glsp/job/eclipse-glsp/job/glsp-server-node/job/issue%252F1004/2/";
    runUrl: "job/eclipse-glsp/job/glsp-server-node/job/issue%252F1004/2/"
  labels:
    jenkins: "slave"
    jenkins/label-digest: "ada02baee263c1a03329f0354abad8439fdbe91c"
    jenkins/label: "glsp-agent-pod"
  name: "glsp-agent-pod-vltg0-gzz3j"
  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-vltg0-gzz3j"
    - name: "JENKINS_NAME"
      value: "glsp-agent-pod-vltg0-gzz3j"
    - 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-vltg0-gzz3j 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 9fd09256d93c37d80fee11b8435bcd8afac46ecf (main)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 9fd09256d93c37d80fee11b8435bcd8afac46ecf # timeout=10
Commit message: "Revert web workflow example publishing"
First time build. Skipping changelog.
 > git rev-list --no-walk d8d72b22ebdfb38ab1337b4c400e3f0713ec1a89 # 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: @eclipse-glsp/graph: Done in 3.37s.

> @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: @eclipse-glsp/server: Done in 5.58s.

> @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 3.20s.

> @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: @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 5814 ms
@eclipse-glsp-examples/workflow-server: Done in 10.84s.

 

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


Done in 60.62s.
[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 4268 ms
Done in 4.78s.
[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 40.33s.
[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.002 s, Tests: 1
@eclipse-glsp/graph:   1 passing (3ms)

> @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: 1ms
@eclipse-glsp/server:   Suite duration: 0.006 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): 800ms
@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: 201ms
@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.001 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.002 s, Tests: 2
@eclipse-glsp/server:   test DefaultGlobalActionProvider
@eclipse-glsp/server:       ✔ serverActionsKinds: 1ms
@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: 0ms
@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: 0ms
@eclipse-glsp/server:   Suite duration: 0.003 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: 0ms
@eclipse-glsp/server:   Suite duration: 0.002 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: 0ms
@eclipse-glsp/server:       ✔ should flush the stack in case of an execution error: 0ms
@eclipse-glsp/server:       ✔ should be able to undo after redo: 0ms
@eclipse-glsp/server:   Suite duration: 0.002 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.001 s, Tests: 2
@eclipse-glsp/server:   CompoundCommand execute
@eclipse-glsp/server:       ✔ Should execute the subcommands in order: 1ms
@eclipse-glsp/server:       ✔ Should undo partially executed subcommands in  case of an error: 0ms
@eclipse-glsp/server:   Suite duration: 0.002 s, Tests: 2
@eclipse-glsp/server:   CompoundCommand undo
@eclipse-glsp/server:       ✔ Should undo the subcommands in reverse order: 0ms
@eclipse-glsp/server:       ✔ Should redo partially undone subcommands in  case of an error: 1ms
@eclipse-glsp/server:   Suite duration: 0.001 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: 1ms
@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: 0ms
@eclipse-glsp/server:   Suite duration: 0.002 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: 0ms
@eclipse-glsp/server:       ✔ Should bind the service identifier `toSelf` with no scope: 0ms
@eclipse-glsp/server:   Suite duration: 0.01 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: 1ms
@eclipse-glsp/server:       ✔ The return syntax should be no op and invocation of a syntax function should throw an error: 0ms
@eclipse-glsp/server:   Suite duration: 0.018 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: 0ms
@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: 0ms
@eclipse-glsp/server:   Suite duration: 0.008 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.005 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: 1ms
@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: 0ms
@eclipse-glsp/server:       ✔ register DefaultToolPaletteItemProvider via ContextActionsProviders list: 0ms
@eclipse-glsp/server:       ✔ register DefaultToolPaletteItemProvider via ToolPaletteItemProvider: 1ms
@eclipse-glsp/server:       ✔ register CustomCommandPaletteActionProvider via CommandPaletteActionProvider: 0ms
@eclipse-glsp/server:   Suite duration: 0.001 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: 0ms
@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: 0ms
@eclipse-glsp/server:       ✔ register via ContextEditValidators list and LabelEditValidator: 0ms
@eclipse-glsp/server:   Suite duration: 0 s, Tests: 4
@eclipse-glsp/server:   Test RequestEditValidationHandler
@eclipse-glsp/server:       ✔ requestContextEditValidation with ok result: 1ms
@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: 1ms
@eclipse-glsp/server:       ✔ createElement- with sub type of registered schema: 0ms
@eclipse-glsp/server:       ✔ createElement - with parent: 1ms
@eclipse-glsp/server:       ✔ createRoot - unregistered type: 0ms
@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: 0ms
@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: 1ms
@eclipse-glsp/server:       ✔ addListener - add new listener: 0ms
@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: 0ms
@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.003 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.001 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): 603ms
@eclipse-glsp/server:   Suite duration: 0.905 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: 0ms
@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: 1ms
@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: 1ms
@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: 1ms
@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: 1ms
@eclipse-glsp/server:       ✔ parse - valid log dir: 0ms
@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: 0ms
@eclipse-glsp/server:   Suite duration: 0.003 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: error: option '-p , --port <port>' argument '65536' is invalid. Port has to be between in range (0,65535)!
@eclipse-glsp/server:       ✔ parse - invalid port (below lower range): 0ms
@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): 1ms
@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.002 s, Tests: 8
@eclipse-glsp/server:   test SocketServerLauncher
@eclipse-glsp/server: 9:02:10 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: 9:02:10 PM info -  [SocketServerLauncher] Starting GLSP server connection 
@eclipse-glsp/server: 9:02:10 PM info -  [SocketServerLauncher] Shutdown GLSPServerLauncher 
@eclipse-glsp/server:       ✔ starts and stops: 26ms
@eclipse-glsp/server:   Suite duration: 0.027 s, Tests: 1
@eclipse-glsp/server:   145 passing (2s)

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

@eclipse-glsp/layout-elk: @eclipse-glsp/layout-elk: $ export JUNIT_REPORT_PATH=./report.xml && yarn test --reporter mocha-jenkins-reporter
@eclipse-glsp/layout-elk: @eclipse-glsp/layout-elk: $ mocha --config ../../.mocharc "./src/**/*.spec.?(ts|tsx)" --reporter mocha-jenkins-reporter
@eclipse-glsp/layout-elk:   test configureELKLayoutModule
@eclipse-glsp/layout-elk:       ✔ configure with minimal options: 3ms
@eclipse-glsp/layout-elk:       ✔ configure with additional default layout options: 0ms
@eclipse-glsp/layout-elk:       ✔ configure with custom layout configurator: 0ms
@eclipse-glsp/layout-elk:       ✔ configure with custom element filter: 1ms
@eclipse-glsp/layout-elk:   Suite duration: 0.007 s, Tests: 4
@eclipse-glsp/layout-elk:   4 passing (8ms)

 

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


Done in 24.79s.
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Test Coverage (main only))
[Pipeline] container
[Pipeline] {
[Pipeline] timeout
Timeout set to expire in 30 min
[Pipeline] {
[Pipeline] sh
+ yarn test:coverage:ci
yarn run v1.22.19
$ yarn glsp coverageReport .
$ /home/jenkins/agent/workspace/lipse-glsp_glsp-server-node_main/node_modules/.bin/glsp coverageReport .
 Create individual package coverage reports 
 Create combined report 
$ lerna run test:coverage
lerna notice cli v6.6.1
lerna info ci enabled

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

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

 

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

@eclipse-glsp/graph: @eclipse-glsp/graph: $ nyc yarn test
@eclipse-glsp/graph: @eclipse-glsp/graph: $ mocha --config ../../.mocharc "./src/**/*.spec.?(ts|tsx)"
@eclipse-glsp/graph: 
@eclipse-glsp/graph:   graph package
@eclipse-glsp/graph:     ✔ should support code coverage statistics
@eclipse-glsp/graph:   1 passing (3ms)
@eclipse-glsp/graph: =============================== Coverage summary ===============================
@eclipse-glsp/graph: Statements   : 0% ( 0/217 )
@eclipse-glsp/graph: Branches     : 0% ( 0/60 )
@eclipse-glsp/graph: Functions    : 0% ( 0/77 )
@eclipse-glsp/graph: Lines        : 0% ( 0/211 )
@eclipse-glsp/graph: ================================================================================

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

@eclipse-glsp/server: @eclipse-glsp/server: $ nyc yarn 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: 1ms
@eclipse-glsp/server:   Suite duration: 0.005 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: 0ms
@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: 201ms
@eclipse-glsp/server:       ✔ dispatch - multiple actions & multiple response: 102ms
@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.002 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: 0ms
@eclipse-glsp/server:       ✔ should execute the given commands in order and become dirty: 0ms
@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: 0ms
@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: 0ms
@eclipse-glsp/server:       ✔ should flush the stack in case of an execution error: 1ms
@eclipse-glsp/server:       ✔ should be able to undo after redo: 0ms
@eclipse-glsp/server:   Suite duration: 0.002 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.001 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.001 s, Tests: 2
@eclipse-glsp/server:   CompoundCommand execute
@eclipse-glsp/server:       ✔ Should execute the subcommands in order: 1ms
@eclipse-glsp/server:       ✔ Should undo partially executed subcommands in  case of an error: 0ms
@eclipse-glsp/server:   Suite duration: 0.002 s, Tests: 2
@eclipse-glsp/server:   CompoundCommand undo
@eclipse-glsp/server:       ✔ Should undo the subcommands in reverse order: 0ms
@eclipse-glsp/server:       ✔ Should redo partially undone subcommands in  case of an error: 1ms
@eclipse-glsp/server:   Suite duration: 0.001 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.001 s, Tests: 2
@eclipse-glsp/server:   RecordingCommand
@eclipse-glsp/server:       ✔ should be undoable after execution: 1ms
@eclipse-glsp/server:       ✔ should restore the pre execution state when undo is called: 0ms
@eclipse-glsp/server:       ✔ should restore the post execution state when redo is called: 0ms
@eclipse-glsp/server:   Suite duration: 0.002 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.011 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: 1ms
@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.018 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: 0ms
@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: 0ms
@eclipse-glsp/server:   Suite duration: 0.018 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.004 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: 1ms
@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.003 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: 0ms
@eclipse-glsp/server:       ✔ createElement - with parent: 0ms
@eclipse-glsp/server:       ✔ createRoot - unregistered type: 0ms
@eclipse-glsp/server:       ✔ createRoot - with child schema : 0ms
@eclipse-glsp/server:       ✔ createRoot - with registered root schema: 1ms
@eclipse-glsp/server:       ✔ createSchema- unregistered type: 0ms
@eclipse-glsp/server:       ✔ createSchema- with node: 0ms
@eclipse-glsp/server:   Suite duration: 0.006 s, Tests: 10
@eclipse-glsp/server:   Test OperationHandlerRegistry
@eclipse-glsp/server:       ✔ register OperationActionHandler: 0ms
@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: 0ms
@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: 0ms
@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.001 s, Tests: 5
@eclipse-glsp/server:   test PromiseQueue
@eclipse-glsp/server:       ✔ enqueue - one element: 100ms
@eclipse-glsp/server:       ✔ enqueue - two elements: 202ms
@eclipse-glsp/server:       ✔ enqueue - three elements (first promise in queue has longest resolve time): 602ms
@eclipse-glsp/server:   Suite duration: 0.905 s, Tests: 3
@eclipse-glsp/server:   Test Registry
@eclipse-glsp/server:       ✔ register - with new key-value pair: 1ms
@eclipse-glsp/server:       ✔ register -  with key-value pair with a already registered key: 0ms
@eclipse-glsp/server:       ✔ deregister - with registered key: 0ms
@eclipse-glsp/server:       ✔ deregister - with unregistered key: 0ms
@eclipse-glsp/server:       ✔ haskey - with registered key: 1ms
@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: 1ms
@eclipse-glsp/server:   Suite duration: 0.003 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: 1ms
@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: 0ms
@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: 0ms
@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: 0ms
@eclipse-glsp/server:   Suite duration: 0.004 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): 1ms
@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: 0ms
@eclipse-glsp/server:   Suite duration: 0.003 s, Tests: 8
@eclipse-glsp/server:   test SocketServerLauncher
@eclipse-glsp/server: 9:02:46 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: 9:02:46 PM info -  [SocketServerLauncher] Starting GLSP server connection 
@eclipse-glsp/server: 9:02:46 PM info -  [SocketServerLauncher] Shutdown GLSPServerLauncher 
@eclipse-glsp/server:       ✔ starts and stops: 19ms
@eclipse-glsp/server:   Suite duration: 0.019 s, Tests: 1
@eclipse-glsp/server:   145 passing (2s)
@eclipse-glsp/server: =============================== Coverage summary ===============================
@eclipse-glsp/server: Statements   : 62.14% ( 1458/2346 )
@eclipse-glsp/server: Branches     : 31.65% ( 220/695 )
@eclipse-glsp/server: Functions    : 43.3% ( 262/605 )
@eclipse-glsp/server: Lines        : 61.02% ( 1298/2127 )
@eclipse-glsp/server: ================================================================================

> @eclipse-glsp/layout-elk:"test:coverage"

@eclipse-glsp/layout-elk: @eclipse-glsp/layout-elk: $ nyc yarn test
@eclipse-glsp/layout-elk: @eclipse-glsp/layout-elk: $ mocha --config ../../.mocharc "./src/**/*.spec.?(ts|tsx)"
@eclipse-glsp/layout-elk: 
@eclipse-glsp/layout-elk:   test configureELKLayoutModule
@eclipse-glsp/layout-elk:     ✔ configure with minimal options
@eclipse-glsp/layout-elk:     ✔ configure with additional default layout options
@eclipse-glsp/layout-elk:     ✔ configure with custom layout configurator
@eclipse-glsp/layout-elk:     ✔ configure with custom element filter
@eclipse-glsp/layout-elk:   4 passing (7ms)
@eclipse-glsp/layout-elk: =============================== Coverage summary ===============================
@eclipse-glsp/layout-elk: Statements   : 19.6% ( 50/255 )
@eclipse-glsp/layout-elk: Branches     : 4.19% ( 6/143 )
@eclipse-glsp/layout-elk: Functions    : 12.76% ( 6/47 )
@eclipse-glsp/layout-elk: Lines        : 17.79% ( 42/236 )
@eclipse-glsp/layout-elk: ================================================================================

 

 >  Lerna (powered by Nx)   Successfully ran target test:coverage for 3 projects


$ /home/jenkins/agent/workspace/lipse-glsp_glsp-server-node_main/node_modules/.bin/nyc report --reporter html
 Coverage reported generation successful 
Done in 33.01s.
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Deploy (main only))
[Pipeline] sh
+ git diff --name-only 'HEAD^'
+ grep -q '^packages\|examples'
[Pipeline] container
[Pipeline] {
[Pipeline] timeout
Timeout set to expire in 30 min
[Pipeline] {
[Pipeline] withCredentials
Masking supported pattern matches of $NPM_AUTH_TOKEN
[Pipeline] {
[Pipeline] sh
+ printf //registry.npmjs.org/:_authToken=****

[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] sh
+ git config user.email eclipse-glsp-bot@xxxxxxxxxxx
[Pipeline] sh
+ git config user.name eclipse-glsp-bot
[Pipeline] sh
+ yarn publish:next
yarn run v1.22.19
$ SHA=$(git rev-parse --short HEAD) && lerna publish preminor --exact --canary --preid next.${SHA} --dist-tag next --no-git-reset --no-git-tag-version --no-push --ignore-scripts --yes --no-verify-access
lerna notice cli v6.6.1
lerna info ci enabled
lerna WARN verify-access --verify-access=false and --no-verify-access are no longer needed, because the legacy preemptive access verification is now disabled by default. Requests will fail with appropriate errors when not authorized correctly.
lerna info canary enabled
lerna WARN force-publish all packages
lerna info Assuming all packages changed

Found 4 packages to publish:
 - @eclipse-glsp-examples/workflow-server => 1.1.0-next.9fd0925.53+9fd0925
 - @eclipse-glsp/graph => 1.1.0-next.9fd0925.53+9fd0925
 - @eclipse-glsp/layout-elk => 1.1.0-next.9fd0925.53+9fd0925
 - @eclipse-glsp/server => 1.1.0-next.9fd0925.53+9fd0925

lerna info auto-confirmed 
lerna info publish Publishing packages to npm...
lerna ERR! E403 You cannot publish over the previously published versions: 1.1.0-next.9fd0925.53.
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] { (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