TAP version 13 not ok 1 - appmetrics-dash v4.0.0 The canary is dead: ---
# > appmetrics@4.0.1 install /tmp/f722a87e-5eec-41a7-a1ea-80ca00cbcb3a/appmetrics-dash/node_modules/appmetrics
# > node extract_all_binaries.js || node-gyp rebuild
# Mon, 29 Apr 2019 09:59:31 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/f722a87e-5eec-41a7-a1ea-80ca00cbcb3a/appmetrics-dash/node_modules/node-report
# > node-gyp rebuild
# make: Entering directory '/tmp/f722a87e-5eec-41a7-a1ea-80ca00cbcb3a/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/f722a87e-5eec-41a7-a1ea-80ca00cbcb3a/appmetrics-dash/node_modules/node-report/api.node
# TOUCH Release/obj.target/install.stamp
# make: Leaving directory '/tmp/f722a87e-5eec-41a7-a1ea-80ca00cbcb3a/appmetrics-dash/node_modules/node-report/build'
# added 971 packages in 400.81s
# > appmetrics-dash@4.0.0 pretest /tmp/f722a87e-5eec-41a7-a1ea-80ca00cbcb3a/appmetrics-dash
# > eslint .
# > appmetrics-dash@4.0.0 test /tmp/f722a87e-5eec-41a7-a1ea-80ca00cbcb3a/appmetrics-dash
# > tap test/test-*.js
# TAP version 13
#
# Subtest: test/test-http-inject-recursion.js
# listening on 127.0.0.1:45079
#
# Subtest: start
# ok 1 - listened
# 1..1
# ok 1 - start
# time=82.894ms
#
#
# Subtest: dashboard available
# ok 1 - should not error
# ok 2 - should match pattern provided
# 1..2
# ok 2 - dashboard available
# time=192.036ms
#
#
# Subtest: stop
# 1..0
# ok 3 - stop
# time=5.336ms
#
# 1..3
#
# time=319.307ms
# ok 1 - test/test-http-inject-recursion.js
# time=4089.196ms
#
# Subtest: test/test-https-injection.js
# listening on 127.0.0.1:38358
#
# Subtest: start
# ok 1 - listened
# 1..1
# ok 1 - start
# time=69.751ms
#
#
# Subtest: dashboard available
# ok 1 - should not error
# ok 2 - should match pattern provided
# 1..2
# ok 2 - dashboard available
# time=266.631ms
#
#
# Subtest: stop
# 1..0
# ok 3 - stop
# time=7.452ms
#
# 1..3
#
# time=421.784ms
# ok 2 - test/test-https-injection.js
# time=3810.77ms
#
# 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=160.898ms
#
# 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 169.50.73.249:3000
# ---
# at:
# line: 992
# column: 11
# file: util.js
# function: Object._errnoException
# stack: |
# Server._listen2 (node_modules/async-listener/index.js:97:23)
# GetAddrInfoReqWrap.callback (node_modules/async-listener/glue.js:188:31)
# code: EADDRNOTAVAIL
# errno: EADDRNOTAVAIL
# syscall: listen
# address: 169.50.73.249
# port: 3000
# test: TAP
# ...
#
# 1..2
#
# test count(5) != plan(2)
#
# failed 5 of 5 tests
#
# time=205.523ms
# not ok 3 - test/test-loopback-injection.js
# time=10754.473ms
# ---
# timeout: 30000
# file: test/test-loopback-injection.js
# command: /home/jenkins/.nvs/node/8.11.3/x64/bin/node
# args:
# - test/test-loopback-injection.js
# cwd: /tmp/f722a87e-5eec-41a7-a1ea-80ca00cbcb3a/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=194.907ms
#
# --------------- 400
#
# Subtest: testing a failing middleware
# ok 1 - (unnamed test)
# 1..1
# ok 2 - testing a failing middleware
# time=26.421ms
#
#
# Subtest: stop
# 1..0
# ok 3 - stop
# time=7.253ms
#
# 1..3
#
# time=268.103ms
# ok 4 - test/test-middleware.js
# time=3514.386ms
#
# 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=1129.892ms
#
# 1..1
#
# time=1168.525ms
# ok 5 - test/test-nodereport-missing.js
# time=4403.963ms
#
# 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=197.532ms
#
#
# Subtest: stop
# 1..0
# ok 2 - stop
# time=10.076ms
#
# 1..2
#
# time=258.871ms
# ok 6 - test/test-no-middleware.js
# time=3342.26ms
#
# Subtest: test/test-rest-api.js
# listening on 127.0.0.1:43420
#
# Subtest: start
# ok 1 - listened
# 1..1
# ok 1 - start
# time=155.746ms
#
#
# Subtest: GET collections
# ok 1 - should not error
# ok 2 - should be equal
# 1..2
# ok 2 - GET collections
# time=235.879ms
#
#
# 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=50.333ms
#
#
# 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=27.25ms
#
#
# Subtest: PUT collection
# ok 1 - should not error
# ok 2 - should be equal
# 1..2
# ok 5 - PUT collection
# time=14.76ms
#
#
# 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=34.772ms
#
#
# Subtest: DELETE collection
# ok 1 - should not error
# ok 2 - should be equal
# 1..2
# ok 7 - DELETE collection
# time=13.535ms
#
#
# Subtest: GET deleted collection
# ok 1 - should not error
# ok 2 - should be equal
# 1..2
# ok 8 - GET deleted collection
# time=14.285ms
#
#
# Subtest: DELETE deleted collection
# ok 1 - should not error
# ok 2 - should be equal
# 1..2
# ok 9 - DELETE deleted collection
# time=9.66ms
#
#
# 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=27.688ms
#
#
# Subtest: stop
# 1..0
# ok 11 - stop
# time=6.668ms
#
# 1..11
#
# time=670.719ms
# ok 7 - test/test-rest-api.js
# time=4804.985ms
#
# 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=1478.437ms
#
# 1..1
#
# time=1538.597ms
# ok 8 - test/test-server-creation.js
# time=4816.594ms
# 1..8
#
# failed 1 of 8 tests
#
# time=39610.633ms
# [Mon Apr 29 11:00:11 2019] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 4.0.1.201811251414 (Agent Core 3.2.9)
# [Mon Apr 29 11:00:12 2019] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker localhost:1883
# [Mon Apr 29 11:00:15 2019] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 4.0.1.201811251414 (Agent Core 3.2.9)
# [Mon Apr 29 11:00:16 2019] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker localhost:1883
# [Mon Apr 29 11:00:19 2019] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 4.0.1.201811251414 (Agent Core 3.2.9)
# [Mon Apr 29 11:00:20 2019] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker localhost:1883
# Mon, 29 Apr 2019 10:00:24 GMT strong-remoting deprecated Remoting metadata "isStatic" is deprecated. Please specify "prototype.name" in method name instead for isStatic=false. at :null:null
# Mon, 29 Apr 2019 10:00:24 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
# [Mon Apr 29 11:00:29 2019] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 4.0.1.201811251414 (Agent Core 3.2.9)
# [Mon Apr 29 11:00:30 2019] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker localhost:1883
# [Mon Apr 29 11:00:32 2019] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 4.0.1.201811251414 (Agent Core 3.2.9)
# [Mon Apr 29 11:00:35 2019] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker localhost:1883
# [Mon Apr 29 11:00:37 2019] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 4.0.1.201811251414 (Agent Core 3.2.9)
# [Mon Apr 29 11:00:38 2019] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker localhost:1883
# [Mon Apr 29 11:00:41 2019] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 4.0.1.201811251414 (Agent Core 3.2.9)
# [Mon Apr 29 11:00:42 2019] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker localhost:1883
# [Mon Apr 29 11:00:46 2019] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 4.0.1.201811251414 (Agent Core 3.2.9)
# [Mon Apr 29 11:00:47 2019] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker localhost:1883
# npm ERR! Test failed. See above for more details. duration_ms: 470755 ... 1..1