TAP version 13 not ok 1 - appmetrics-dash v4.0.0 The canary is dead: ---
# > appmetrics@4.0.1 install /tmp/40561002-da2c-4231-9592-7719795060a4/appmetrics-dash/node_modules/appmetrics
# > node extract_all_binaries.js || node-gyp rebuild
# Thu, 25 Apr 2019 00:37:54 GMT
# ********************************************************************************
# You are installing the Node Application Metrics monitoring and profiling module.
# Licensed under the Apache License, Version 2.0 (the "License")
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ********************************************************************************
# Download and extract of 8/appmetrics-4.0.1-linux-x64.tgz finished.
# Download and extract of 8/agentcore-3.2.9-linux-x64.tgz finished.
# > node-report@2.2.6 install /tmp/40561002-da2c-4231-9592-7719795060a4/appmetrics-dash/node_modules/node-report
# > node-gyp rebuild
# make: Entering directory '/tmp/40561002-da2c-4231-9592-7719795060a4/appmetrics-dash/node_modules/node-report/build'
# CXX(target) Release/obj.target/api/src/node_report.o
# CXX(target) Release/obj.target/api/src/module.o
# CXX(target) Release/obj.target/api/src/utilities.o
# SOLINK_MODULE(target) Release/obj.target/api.node
# COPY Release/api.node
# COPY /tmp/40561002-da2c-4231-9592-7719795060a4/appmetrics-dash/node_modules/node-report/api.node
# TOUCH Release/obj.target/install.stamp
# make: Leaving directory '/tmp/40561002-da2c-4231-9592-7719795060a4/appmetrics-dash/node_modules/node-report/build'
# added 971 packages from 655 contributors and audited 5493 packages in 72.292s
# found 27 vulnerabilities (3 low, 21 moderate, 3 high)
# run `npm audit fix` to fix them, or `npm audit` for details
# > appmetrics-dash@4.0.0 pretest /tmp/40561002-da2c-4231-9592-7719795060a4/appmetrics-dash
# > eslint .
# > appmetrics-dash@4.0.0 test /tmp/40561002-da2c-4231-9592-7719795060a4/appmetrics-dash
# > tap test/test-*.js
# TAP version 13
#
# Subtest: test/test-http-inject-recursion.js
# listening on 127.0.0.1:44018
#
# Subtest: start
# ok 1 - listened
# 1..1
# ok 1 - start
# time=27.287ms
#
#
# Subtest: dashboard available
# ok 1 - should not error
# ok 2 - should match pattern provided
# 1..2
# ok 2 - dashboard available
# time=73.251ms
#
#
# Subtest: stop
# 1..0
# ok 3 - stop
# time=2.193ms
#
# 1..3
#
# time=122.324ms
# ok 1 - test/test-http-inject-recursion.js
# time=999.169ms
#
# Subtest: test/test-https-injection.js
# listening on 127.0.0.1:32848
#
# Subtest: start
# ok 1 - listened
# 1..1
# ok 1 - start
# time=26.234ms
#
#
# Subtest: dashboard available
# ok 1 - should not error
# ok 2 - should match pattern provided
# 1..2
# ok 2 - dashboard available
# time=84.941ms
#
#
# Subtest: stop
# 1..0
# ok 3 - stop
# time=2.313ms
#
# 1..3
#
# time=129.109ms
# ok 2 - test/test-https-injection.js
# time=982.598ms
#
# Subtest: test/test-loopback-injection.js
#
# Subtest: start
# not ok 1 - test unfinished
# ---
# stack: |
# Object. (test/test-loopback-injection.js:32:5)
# test: start
# at:
# line: 32
# column: 5
# file: test/test-loopback-injection.js
# function: Object.
# source: |
# tap.test('start', function(t) {
# ...
#
# 1..1
#
# failed 1 test
# not ok 1 - start
# time=131.13ms
#
# not ok 2 - child test left in queue Test: loopack api available
# not ok 3 - child test left in queue Test: dashboard available
# not ok 4 - child test left in queue Test: stop
# not ok 5 - listen EADDRNOTAVAIL 5.10.124.141:3000
# ---
# at:
# line: 1343
# column: 19
# file: net.js
# function: Server.setupListenHandle
# stack: |
# Server._listen2 (node_modules/async-listener/index.js:97:23)
# GetAddrInfoReqWrap.callback (node_modules/async-listener/glue.js:188:31)
# errno: EADDRNOTAVAIL
# code: EADDRNOTAVAIL
# syscall: listen
# address: 5.10.124.141
# port: 3000
# test: TAP
# ...
#
# 1..2
#
# test count(5) != plan(2)
#
# failed 5 of 5 tests
#
# time=156.201ms
# not ok 3 - test/test-loopback-injection.js
# time=2784.795ms
# ---
# timeout: 30000
# file: test/test-loopback-injection.js
# command: /home/jenkins/.nvs/node/8.13.0/x64/bin/node
# args:
# - test/test-loopback-injection.js
# cwd: /tmp/40561002-da2c-4231-9592-7719795060a4/appmetrics-dash
# exitCode: 1
# ...
#
# Subtest: test/test-middleware.js
# Server is listening on 3000
#
# Subtest: test a passing middleware
# ok 1 - (unnamed test)
# 1..1
# ok 1 - test a passing middleware
# time=126.135ms
#
# --------------- 400
#
# Subtest: testing a failing middleware
# ok 1 - (unnamed test)
# 1..1
# ok 2 - testing a failing middleware
# time=8.563ms
#
#
# Subtest: stop
# 1..0
# ok 3 - stop
# time=1.078ms
#
# 1..3
#
# time=146.83ms
# ok 4 - test/test-middleware.js
# time=1318.721ms
#
# Subtest: test/test-nodereport-missing.js
#
# Subtest: missing nodereport handled gracefully
# ok 1 - should be equal
# 1..1
# ok 1 - missing nodereport handled gracefully
# time=428.488ms
#
# 1..1
#
# time=441.502ms
# ok 5 - test/test-nodereport-missing.js
# time=1468.536ms
#
# Subtest: test/test-no-middleware.js
# Server is listening on 3000
#
# Subtest: test with no middleware
# ok 1 - (unnamed test)
# 1..1
# ok 1 - test with no middleware
# time=108.575ms
#
#
# Subtest: stop
# 1..0
# ok 2 - stop
# time=2.779ms
#
# 1..2
#
# time=133.783ms
# ok 6 - test/test-no-middleware.js
# time=1329.499ms
#
# Subtest: test/test-rest-api.js
# listening on 127.0.0.1:33123
#
# Subtest: start
# ok 1 - listened
# 1..1
# ok 1 - start
# time=48.178ms
#
#
# Subtest: GET collections
# ok 1 - should not error
# ok 2 - should be equal
# 1..2
# ok 2 - GET collections
# time=66.394ms
#
#
# Subtest: POST collections
# ok 1 - should not error
# ok 2 - should be equal
# ok 3 - should be equal
# 1..3
# ok 3 - POST collections
# time=15.442ms
#
#
# Subtest: GET single collection
# ok 1 - should not error
# ok 2 - should match pattern provided
# ok 3 - should be equal
# ok 4 - should be equal
# 1..4
# ok 4 - GET single collection
# time=12.697ms
#
#
# Subtest: PUT collection
# ok 1 - should not error
# ok 2 - should be equal
# 1..2
# ok 5 - PUT collection
# time=7.967ms
#
#
# Subtest: GET collections (more than one)
# ok 1 - should not error
# ok 2 - should not error
# ok 3 - should be equal
# ok 4 - should be equal
# 1..4
# ok 6 - GET collections (more than one)
# time=12.634ms
#
#
# Subtest: DELETE collection
# ok 1 - should not error
# ok 2 - should be equal
# 1..2
# ok 7 - DELETE collection
# time=7.135ms
#
#
# Subtest: GET deleted collection
# ok 1 - should not error
# ok 2 - should be equal
# 1..2
# ok 8 - GET deleted collection
# time=6.532ms
#
#
# Subtest: DELETE deleted collection
# ok 1 - should not error
# ok 2 - should be equal
# 1..2
# ok 9 - DELETE deleted collection
# time=7.002ms
#
#
# Subtest: GET collections
# ok 1 - should not error
# ok 2 - should be equal
# ok 3 - should be equal
# 1..3
# ok 10 - GET collections
# time=8.846ms
#
#
# Subtest: stop
# 1..0
# ok 11 - stop
# time=2.914ms
#
# 1..11
#
# time=228.357ms
# ok 7 - test/test-rest-api.js
# time=1391.95ms
#
# Subtest: test/test-server-creation.js
#
# Subtest: runs dashboard on ephemeral port
# ok 1 - should be equal
#
# { url: 'http://127.0.0.1:3001/appmetrics-dash' }
# ok 2 - should not error
# ok 3 - should be equal
# ok 4 - should match pattern provided
# 1..4
# ok 1 - runs dashboard on ephemeral port
# time=266.62ms
#
# 1..1
#
# time=275.71ms
# ok 8 - test/test-server-creation.js
# time=978.14ms
# 1..8
#
# failed 1 of 8 tests
#
# time=11294.529ms
# [Thu Apr 25 01:38:08 2019] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 4.0.1.201811251414 (Agent Core 3.2.9)
# [Thu Apr 25 01:38:08 2019] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker localhost:1883
# [Thu Apr 25 01:38:09 2019] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 4.0.1.201811251414 (Agent Core 3.2.9)
# [Thu Apr 25 01:38:09 2019] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker localhost:1883
# [Thu Apr 25 01:38:09 2019] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 4.0.1.201811251414 (Agent Core 3.2.9)
# [Thu Apr 25 01:38:10 2019] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker localhost:1883
# Thu, 25 Apr 2019 00:38:11 GMT strong-remoting deprecated Remoting metadata "isStatic" is deprecated. Please specify "prototype.name" in method name instead for isStatic=false. at :null:null
# Thu, 25 Apr 2019 00:38:11 GMT hsts deprecated The "includeSubdomains" parameter is deprecated. Use "includeSubDomains" (with a capital D) instead. at node_modules/loopback/lib/server-app.js:74:25
# [Thu Apr 25 01:38:12 2019] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 4.0.1.201811251414 (Agent Core 3.2.9)
# [Thu Apr 25 01:38:13 2019] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker localhost:1883
# [Thu Apr 25 01:38:13 2019] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 4.0.1.201811251414 (Agent Core 3.2.9)
# [Thu Apr 25 01:38:14 2019] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker localhost:1883
# [Thu Apr 25 01:38:15 2019] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 4.0.1.201811251414 (Agent Core 3.2.9)
# [Thu Apr 25 01:38:16 2019] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker localhost:1883
# [Thu Apr 25 01:38:17 2019] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 4.0.1.201811251414 (Agent Core 3.2.9)
# [Thu Apr 25 01:38:17 2019] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker localhost:1883
# [Thu Apr 25 01:38:18 2019] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 4.0.1.201811251414 (Agent Core 3.2.9)
# [Thu Apr 25 01:38:18 2019] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker localhost:1883
# npm ERR! Test failed. See above for more details. duration_ms: 93775 ... 1..1