TAP version 13 not ok 1 - appmetrics-dash v4.1.0 The canary is dead: ---
# > appmetrics@4.0.1 install /tmp/d032166c-d226-4f68-88d2-0af6d2c24dc3/appmetrics-dash/node_modules/appmetrics
# > node extract_all_binaries.js || node-gyp rebuild
# Thu, 25 Apr 2019 10:29:30 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/d032166c-d226-4f68-88d2-0af6d2c24dc3/appmetrics-dash/node_modules/node-report
# > node-gyp rebuild
# make: Entering directory '/tmp/d032166c-d226-4f68-88d2-0af6d2c24dc3/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/d032166c-d226-4f68-88d2-0af6d2c24dc3/appmetrics-dash/node_modules/node-report/api.node
# TOUCH Release/obj.target/install.stamp
# make: Leaving directory '/tmp/d032166c-d226-4f68-88d2-0af6d2c24dc3/appmetrics-dash/node_modules/node-report/build'
# added 971 packages from 655 contributors and audited 5493 packages in 72.258s
# found 27 vulnerabilities (3 low, 21 moderate, 3 high)
# run `npm audit fix` to fix them, or `npm audit` for details
# > appmetrics-dash@4.1.0 pretest /tmp/d032166c-d226-4f68-88d2-0af6d2c24dc3/appmetrics-dash
# > eslint .
# > appmetrics-dash@4.1.0 test /tmp/d032166c-d226-4f68-88d2-0af6d2c24dc3/appmetrics-dash
# > tap test/test-*.js
# TAP version 13
#
# Subtest: test/test-http-inject-recursion.js
# listening on 127.0.0.1:46166
#
# Subtest: start
# ok 1 - listened
# 1..1
# ok 1 - start
# time=23.092ms
#
#
# Subtest: dashboard available
# ok 1 - should not error
# ok 2 - should match pattern provided
# 1..2
# ok 2 - dashboard available
# time=70.986ms
#
#
# Subtest: stop
# 1..0
# ok 3 - stop
# time=2.06ms
#
# 1..3
#
# time=113.078ms
# ok 1 - test/test-http-inject-recursion.js
# time=866.544ms
#
# Subtest: test/test-https-injection.js
# listening on 127.0.0.1:39765
#
# Subtest: start
# ok 1 - listened
# 1..1
# ok 1 - start
# time=21.912ms
#
#
# Subtest: dashboard available
# ok 1 - should not error
# ok 2 - should match pattern provided
# 1..2
# ok 2 - dashboard available
# time=79.645ms
#
#
# Subtest: stop
# 1..0
# ok 3 - stop
# time=2.922ms
#
# 1..3
#
# time=119.104ms
# ok 2 - test/test-https-injection.js
# time=857.486ms
#
# 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=117.7ms
#
# 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=140.921ms
# not ok 3 - test/test-loopback-injection.js
# time=2503.511ms
# ---
# timeout: 30000
# file: test/test-loopback-injection.js
# command: /home/jenkins/.nvs/node/8.16.0/x64/bin/node
# args:
# - test/test-loopback-injection.js
# cwd: /tmp/d032166c-d226-4f68-88d2-0af6d2c24dc3/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=97.689ms
#
# --------------- 400
#
# Subtest: testing a failing middleware
# ok 1 - (unnamed test)
# 1..1
# ok 2 - testing a failing middleware
# time=10.759ms
#
#
# Subtest: stop
# 1..0
# ok 3 - stop
# time=2.874ms
#
# 1..3
#
# time=146.362ms
# ok 4 - test/test-middleware.js
# time=924.073ms
#
# 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=279.844ms
#
# 1..1
#
# time=291.698ms
# ok 5 - test/test-nodereport-missing.js
# time=959.035ms
#
# 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=94.957ms
#
#
# Subtest: stop
# 1..0
# ok 2 - stop
# time=2.272ms
#
# 1..2
#
# time=114.177ms
# ok 6 - test/test-no-middleware.js
# time=874.461ms
#
# Subtest: test/test-rest-api.js
# listening on 127.0.0.1:33448
#
# Subtest: start
# ok 1 - listened
# 1..1
# ok 1 - start
# time=31.361ms
#
#
# Subtest: GET collections
# ok 1 - should not error
# ok 2 - should be equal
# 1..2
# ok 2 - GET collections
# time=49.134ms
#
#
# 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.466ms
#
#
# 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.129ms
#
#
# Subtest: PUT collection
# ok 1 - should not error
# ok 2 - should be equal
# 1..2
# ok 5 - PUT collection
# time=5.608ms
#
#
# 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=8.746ms
#
#
# Subtest: DELETE collection
# ok 1 - should not error
# ok 2 - should be equal
# 1..2
# ok 7 - DELETE collection
# time=5.508ms
#
#
# Subtest: GET deleted collection
# ok 1 - should not error
# ok 2 - should be equal
# 1..2
# ok 8 - GET deleted collection
# time=5.051ms
#
#
# Subtest: DELETE deleted collection
# ok 1 - should not error
# ok 2 - should be equal
# 1..2
# ok 9 - DELETE deleted collection
# time=4.918ms
#
#
# 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=6.713ms
#
#
# Subtest: stop
# 1..0
# ok 11 - stop
# time=2.141ms
#
# 1..11
#
# time=164.257ms
# ok 7 - test/test-rest-api.js
# time=919.486ms
#
# 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=237.345ms
#
# 1..1
#
# time=249.093ms
# ok 8 - test/test-server-creation.js
# time=842.182ms
# 1..8
#
# failed 1 of 8 tests
#
# time=8776.847ms
# [Thu Apr 25 11:29:45 2019] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 4.0.1.201811251414 (Agent Core 3.2.9)
# [Thu Apr 25 11:29:45 2019] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker localhost:1883
# [Thu Apr 25 11:29:46 2019] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 4.0.1.201811251414 (Agent Core 3.2.9)
# [Thu Apr 25 11:29:46 2019] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker localhost:1883
# [Thu Apr 25 11:29:47 2019] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 4.0.1.201811251414 (Agent Core 3.2.9)
# [Thu Apr 25 11:29:47 2019] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker localhost:1883
# Thu, 25 Apr 2019 10:29:48 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 10:29:48 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 11:29:49 2019] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 4.0.1.201811251414 (Agent Core 3.2.9)
# [Thu Apr 25 11:29:49 2019] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker localhost:1883
# [Thu Apr 25 11:29:50 2019] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 4.0.1.201811251414 (Agent Core 3.2.9)
# [Thu Apr 25 11:29:50 2019] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker localhost:1883
# [Thu Apr 25 11:29:51 2019] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 4.0.1.201811251414 (Agent Core 3.2.9)
# [Thu Apr 25 11:29:51 2019] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker localhost:1883
# [Thu Apr 25 11:29:52 2019] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 4.0.1.201811251414 (Agent Core 3.2.9)
# [Thu Apr 25 11:29:52 2019] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker localhost:1883
# [Thu Apr 25 11:29:53 2019] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 4.0.1.201811251414 (Agent Core 3.2.9)
# [Thu Apr 25 11:29:53 2019] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker localhost:1883
# npm ERR! Test failed. See above for more details. duration_ms: 90947 ... 1..1