Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add signal handler for process execution #1008

Merged

Update outputs

c99f66e
Select commit
Loading
Failed to load commit list.
Merged

Add signal handler for process execution #1008

Update outputs
c99f66e
Select commit
Loading
Failed to load commit list.
Azure Pipelines / azure-pipelines-task-lib failed Jun 20, 2024 in 24m 20s

Build #20240605.2 had test failures

Details

Tests

  • Failed: 65 (1.29%)
  • Passed: 4,985 (98.71%)
  • Other: 0 (0.00%)
  • Total: 5,050

Annotations

Check failure on line 649 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / azure-pipelines-task-lib

Build log #L649

Bash exited with code '4'.

Check failure on line 481 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / azure-pipelines-task-lib

Build log #L481

Unhandled: write EPIPE

Check failure on line 482 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / azure-pipelines-task-lib

Build log #L482

Error: write EPIPE
    at afterWriteDispatched (node:internal/stream_base_commons:164:15)
    at writeGeneric (node:internal/stream_base_commons:155:3)
    at Socket._writeGeneric (node:net:795:11)
    at Socket._write (node:net:807:8)
    at writeOrBuffer (node:internal/streams/writable:389:12)
    at _write (node:internal/streams/writable:330:10)
    at Socket.Writable.write (node:internal/streams/writable:334:10)
    at Socket.<anonymous> (_build/toolrunner.js:586:77)
    at Socket.emit (node:events:390:28)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:289:9)
    at Socket.Readable.push (node:internal/streams/readable:228:10)
    at Pipe.onStreamRead (node:internal/stream_base_commons:199:23)

Check failure on line 538 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / azure-pipelines-task-lib

Build log #L538

Unhandled: write EPIPE

Check failure on line 1 in Handle child process killing with SIGTERM signal

See this annotation in the file changed.

@azure-pipelines azure-pipelines / azure-pipelines-task-lib

Handle child process killing with SIGTERM signal

Test failed
Raw output
  1) Toolrunner Tests
       Handle child process killing with SIGTERM signal:

      AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:

  assert(toolRunnerDebug.filter(x => x.indexOf(`Signal ${signal} received from tool`) >= 0).length > 0)

      + expected - actual

      -false
      +true
      
      at /Users/runner/work/1/s/node/_test/toolrunnertests.js:488:21
      at _rejected (node_modules/q/q.js:864:24)
      at /Users/runner/work/1/s/node/node_modules/q/q.js:890:30
      at Promise.when (node_modules/q/q.js:1142:31)
      at Promise.promise.promiseDispatch (node_modules/q/q.js:808:41)
      at /Users/runner/work/1/s/node/node_modules/q/q.js:624:44
      at runSingle (node_modules/q/q.js:137:13)
      at flush (node_modules/q/q.js:125:13)
      at processTicksAndRejections (node:internal/process/task_queues:78:11)

Check failure on line 1 in Handle child process killing with SIGINT signal

See this annotation in the file changed.

@azure-pipelines azure-pipelines / azure-pipelines-task-lib

Handle child process killing with SIGINT signal

Test failed
Raw output
  2) Toolrunner Tests
       Handle child process killing with SIGINT signal:
     Error: should not have been successful
      at /Users/runner/work/1/s/node/_test/toolrunnertests.js:479:22
      at _fulfilled (node_modules/q/q.js:854:54)
      at /Users/runner/work/1/s/node/node_modules/q/q.js:883:30
      at Promise.promise.promiseDispatch (node_modules/q/q.js:816:13)
      at /Users/runner/work/1/s/node/node_modules/q/q.js:624:44
      at runSingle (node_modules/q/q.js:137:13)
      at flush (node_modules/q/q.js:125:13)
      at processTicksAndRejections (node:internal/process/task_queues:78:11)

Check failure on line 1 in Handle child process killing with 15 signal

See this annotation in the file changed.

@azure-pipelines azure-pipelines / azure-pipelines-task-lib

Handle child process killing with 15 signal

Test failed
Raw output
  4) Toolrunner Tests
       Handle child process killing with 15 signal:
     Error: should not have been successful
      at /Users/runner/work/1/s/node/_test/toolrunnertests.js:479:22
      at _fulfilled (node_modules/q/q.js:854:54)
      at /Users/runner/work/1/s/node/node_modules/q/q.js:883:30
      at Promise.promise.promiseDispatch (node_modules/q/q.js:816:13)
      at /Users/runner/work/1/s/node/node_modules/q/q.js:624:44
      at runSingle (node_modules/q/q.js:137:13)
      at flush (node_modules/q/q.js:125:13)
      at processTicksAndRejections (node:internal/process/task_queues:78:11)

Check failure on line 1 in Handle child process killing with SIGINT signal

See this annotation in the file changed.

@azure-pipelines azure-pipelines / azure-pipelines-task-lib

Handle child process killing with SIGINT signal

Test failed
Raw output
  3) Toolrunner Tests
       Handle child process killing with SIGINT signal:
     Error: done() called multiple times in test <Toolrunner Tests Handle child process killing with SIGINT signal> of file /Users/runner/work/1/s/node/_test/toolrunnertests.js
      at /Users/runner/work/1/s/node/_test/toolrunnertests.js:480:17
      at _fulfilled (node_modules/q/q.js:854:54)
      at /Users/runner/work/1/s/node/node_modules/q/q.js:883:30
      at Promise.promise.promiseDispatch (node_modules/q/q.js:816:13)
      at /Users/runner/work/1/s/node/node_modules/q/q.js:624:44
      at runSingle (node_modules/q/q.js:137:13)
      at flush (node_modules/q/q.js:125:13)
      at processTicksAndRejections (node:internal/process/task_queues:78:11)