TAP version 13 not ok 1 - appmetrics-dash v4.0.0 The canary is dead: ---
# > appmetrics@4.0.1 install /tmp/056ed6a4-31a7-4f38-876c-09e464a6eea2/appmetrics-dash/node_modules/appmetrics
# > node extract_all_binaries.js || node-gyp rebuild
# Thu, 25 Apr 2019 01:27:43 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/056ed6a4-31a7-4f38-876c-09e464a6eea2/appmetrics-dash/node_modules/node-report
# > node-gyp rebuild
# make: Entering directory '/tmp/056ed6a4-31a7-4f38-876c-09e464a6eea2/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/056ed6a4-31a7-4f38-876c-09e464a6eea2/appmetrics-dash/node_modules/node-report/api.node
# TOUCH Release/obj.target/install.stamp
# make: Leaving directory '/tmp/056ed6a4-31a7-4f38-876c-09e464a6eea2/appmetrics-dash/node_modules/node-report/build'
# added 971 packages from 655 contributors and audited 5493 packages in 138.459s
# 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/056ed6a4-31a7-4f38-876c-09e464a6eea2/appmetrics-dash
# > eslint .
# > appmetrics-dash@4.0.0 test /tmp/056ed6a4-31a7-4f38-876c-09e464a6eea2/appmetrics-dash
# > tap test/test-*.js
# TAP version 13
#
# Subtest: test/test-http-inject-recursion.js
# listening on 127.0.0.1:44289
#
# Subtest: start
# ok 1 - listened
# 1..1
# ok 1 - start
# time=33.578ms
#
#
# Subtest: dashboard available
# ok 1 - should not error
# ok 2 - should match pattern provided
# 1..2
# ok 2 - dashboard available
# time=143.603ms
#
#
# Subtest: stop
# 1..0
# ok 3 - stop
# time=2.307ms
#
# 1..3
#
# time=203.941ms
# ok 1 - test/test-http-inject-recursion.js
# time=1623.042ms
#
# Subtest: test/test-https-injection.js
# listening on 127.0.0.1:45103
#
# Subtest: start
# ok 1 - listened
# 1..1
# ok 1 - start
# time=33.141ms
#
#
# Subtest: dashboard available
# ok 1 - should not error
# ok 2 - should match pattern provided
# 1..2
# ok 2 - dashboard available
# time=82.939ms
#
#
# Subtest: stop
# 1..0
# ok 3 - stop
# time=2.334ms
#
# 1..3
#
# time=135.564ms
# ok 2 - test/test-https-injection.js
# time=1739.237ms
#
# 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=87.866ms
#
# 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=112.075ms
# not ok 3 - test/test-loopback-injection.js
# time=4642.71ms
# ---
# timeout: 30000
# file: test/test-loopback-injection.js
# command: /home/jenkins/.nvs/node/8.14.0/x64/bin/node
# args:
# - test/test-loopback-injection.js
# cwd: /tmp/056ed6a4-31a7-4f38-876c-09e464a6eea2/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=94.042ms
#
# --------------- 400
#
# Subtest: testing a failing middleware
# ok 1 - (unnamed test)
# 1..1
# ok 2 - testing a failing middleware
# time=19.935ms
#
#
# Subtest: stop
# 1..0
# ok 3 - stop
# time=1.94ms
#
# 1..3
#
# time=128.695ms
# ok 4 - test/test-middleware.js
# time=1853.651ms
#
# 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=586.426ms
#
# 1..1
#
# time=639.55ms
# ok 5 - test/test-nodereport-missing.js
# time=1972.527ms
#
# 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=132.952ms
#
#
# Subtest: stop
# 1..0
# ok 2 - stop
# time=1.793ms
#
# 1..2
#
# time=167.797ms
# ok 6 - test/test-no-middleware.js
# time=1755.587ms
#
# Subtest: test/test-rest-api.js
# listening on 127.0.0.1:34196
#
# Subtest: start
# ok 1 - listened
# 1..1
# ok 1 - start
# time=50.151ms
#
#
# Subtest: GET collections
# ok 1 - should not error
# ok 2 - should be equal
# 1..2
# ok 2 - GET collections
# time=101.244ms
#
#
# 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=10.047ms
#
#
# 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=9.671ms
#
#
# Subtest: PUT collection
# ok 1 - should not error
# ok 2 - should be equal
# 1..2
# ok 5 - PUT collection
# time=11.232ms
#
#
# 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=15.928ms
#
#
# Subtest: DELETE collection
# ok 1 - should not error
# ok 2 - should be equal
# 1..2
# ok 7 - DELETE collection
# time=11.949ms
#
#
# Subtest: GET deleted collection
# ok 1 - should not error
# ok 2 - should be equal
# 1..2
# ok 8 - GET deleted collection
# time=4.255ms
#
#
# Subtest: DELETE deleted collection
# ok 1 - should not error
# ok 2 - should be equal
# 1..2
# ok 9 - DELETE deleted collection
# time=4.476ms
#
#
# 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=5.162ms
#
#
# Subtest: stop
# 1..0
# ok 11 - stop
# time=3.937ms
#
# 1..11
#
# time=266.541ms
# ok 7 - test/test-rest-api.js
# time=2005.116ms
#
# 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=278.133ms
#
# 1..1
#
# time=297.768ms
# ok 8 - test/test-server-creation.js
# time=1500.505ms
# 1..8
#
# failed 1 of 8 tests
#
# time=17124.134ms
# [Thu Apr 25 02:28:03 2019] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 4.0.1.201811251414 (Agent Core 3.2.9)
# [Thu Apr 25 02:28:03 2019] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker localhost:1883
# [Thu Apr 25 02:28:04 2019] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 4.0.1.201811251414 (Agent Core 3.2.9)
# [Thu Apr 25 02:28:05 2019] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker localhost:1883
# [Thu Apr 25 02:28:06 2019] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 4.0.1.201811251414 (Agent Core 3.2.9)
# [Thu Apr 25 02:28:06 2019] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker localhost:1883
# Thu, 25 Apr 2019 01:28:08 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 01:28:08 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 02:28:11 2019] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 4.0.1.201811251414 (Agent Core 3.2.9)
# [Thu Apr 25 02:28:11 2019] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker localhost:1883
# [Thu Apr 25 02:28:12 2019] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 4.0.1.201811251414 (Agent Core 3.2.9)
# [Thu Apr 25 02:28:13 2019] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker localhost:1883
# [Thu Apr 25 02:28:14 2019] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 4.0.1.201811251414 (Agent Core 3.2.9)
# [Thu Apr 25 02:28:15 2019] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker localhost:1883
# [Thu Apr 25 02:28:17 2019] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 4.0.1.201811251414 (Agent Core 3.2.9)
# [Thu Apr 25 02:28:17 2019] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker localhost:1883
# [Thu Apr 25 02:28:19 2019] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 4.0.1.201811251414 (Agent Core 3.2.9)
# [Thu Apr 25 02:28:19 2019] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker localhost:1883
# npm ERR! Test failed. See above for more details. duration_ms: 170423 ... 1..1