Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > @nearform/clinic-doctor@0.4.1 ci-test C:\Users\Administrator\Downloads\node-clinic-doctor-master\node-clinic-doctor-master
- > tap test/*.test.js
- TAP version 13
- # Subtest: test/analysis-cpu.test.js
- # Subtest: analyse cpu
- ok 1 - should be equal
- ok 2 - should be equal
- ok 3 - should be equal
- ok 4 - should be equal
- ok 5 - should be equal
- ok 6 - should be equal
- 1..6
- ok 1 - analyse cpu # time=7.403ms
- 1..1
- # time=16.401ms
- ok 1 - test/analysis-cpu.test.js # time=329.127ms
- # Subtest: test/analysis-delay.test.js
- # Subtest: analyse delay - to high
- ok 1 - should be equal
- ok 2 - should be equal
- ok 3 - should be equal
- ok 4 - should be equal
- ok 5 - should be equal
- ok 6 - should be equal
- 1..6
- ok 1 - analyse delay - to high # time=6.879ms
- # Subtest: analyse delay - spikes
- ok 1 - should be equal
- ok 2 - should be equal
- 1..2
- ok 2 - analyse delay - spikes # time=1.001ms
- 1..2
- # time=18.329ms
- ok 2 - test/analysis-delay.test.js # time=325.027ms
- # Subtest: test/analysis-guess-interval.test.js
- # Subtest: guess interval - expected data
- ok 1 - should be equivalent strictly
- ok 2 - should be equivalent strictly
- ok 3 - should be equivalent strictly
- 1..3
- ok 1 - guess interval - expected data # time=9.336ms
- # Subtest: guess interval - missing left tail
- ok 1 - should be equivalent strictly
- ok 2 - should be equivalent strictly
- ok 3 - should be equivalent strictly
- 1..3
- ok 2 - guess interval - missing left tail # time=4.196ms
- # Subtest: guess interval - missing right tail
- ok 1 - should be equivalent strictly
- ok 2 - should be equivalent strictly
- ok 3 - should be equivalent strictly
- 1..3
- ok 3 - guess interval - missing right tail # time=2.587ms
- # Subtest: guess interval - flat data
- ok 1 - should be equivalent strictly
- 1..1
- ok 4 - guess interval - flat data # time=0.774ms
- 1..4
- # time=31.702ms
- ok 3 - test/analysis-guess-interval.test.js # time=350.126ms
- # Subtest: test/analysis-handles.test.js
- # Subtest: analyse handles - flat
- ok 1 - should be equal
- 1..1
- ok 1 - analyse handles - flat # time=4.906ms
- # Subtest: analyse handles - expected data
- ok 1 - should be equal
- ok 2 - should be equal
- ok 3 - should be equal
- ok 4 - should be equal
- ok 5 - should be equal
- ok 6 - should be equal
- 1..6
- ok 2 - analyse handles - expected data # time=3.075ms
- # Subtest: analyse handles - almost constant
- ok 1 - should be equal
- 1..1
- ok 3 - analyse handles - almost constant # time=0.555ms
- 1..3
- # time=20.389ms
- ok 4 - test/analysis-handles.test.js # time=332.383ms
- # Subtest: test/analysis-issue-category.test.js
- # Subtest: Analysis - issue category
- ok 1 - cpu memory delay handles -> unknown
- ok 2 - cpu memory delay ....... -> unknown
- ok 3 - cpu memory ..... handles -> unknown
- ok 4 - cpu memory ..... ....... -> unknown
- ok 5 - cpu ...... delay handles -> unknown
- ok 6 - cpu ...... delay ....... -> unknown
- ok 7 - cpu ...... ..... handles -> io
- ok 8 - cpu ...... ..... ....... -> io
- ok 9 - ... memory delay handles -> unknown
- ok 10 - ... memory delay ....... -> gc
- ok 11 - ... memory ..... handles -> unknown
- ok 12 - ... memory ..... ....... -> gc
- ok 13 - ... ...... delay handles -> unknown
- ok 14 - ... ...... delay ....... -> event-loop
- ok 15 - ... ...... ..... handles -> io
- ok 16 - ... ...... ..... ....... -> none
- 1..16
- ok 1 - Analysis - issue category # time=6.735ms
- 1..1
- # time=15.017ms
- ok 5 - test/analysis-issue-category.test.js # time=325.079ms
- # Subtest: test/analysis-memory.test.js
- # Subtest: analyse memory - delay correlation
- ok 1 - should be equivalent strictly
- ok 2 - should be equivalent strictly
- 1..2
- ok 1 - analyse memory - delay correlation # time=7.231ms
- # Subtest: analyse memory - old space too large
- ok 1 - should be equivalent strictly
- ok 2 - should be equivalent strictly
- ok 3 - should be equivalent strictly
- ok 4 - should be equivalent strictly
- ok 5 - should be equivalent strictly
- ok 6 - should be equivalent strictly
- 1..6
- ok 2 - analyse memory - old space too large # time=2.032ms
- 1..2
- # time=19.36ms
- ok 6 - test/analysis-memory.test.js # time=323.37ms
- # Subtest: test/analysis.test.js
- # Subtest: Analysis - pipeline - error
- ok 1 - should be equivalent strictly
- 1..1
- ok 1 - Analysis - pipeline - error # time=11.605ms
- # Subtest: Analysis - pipeline - normal interval
- ok 1 - should be equivalent strictly
- ok 2 - should be equivalent strictly
- ok 3 - should be equivalent strictly
- ok 4 - should be equivalent strictly
- ok 5 - should be equivalent strictly
- ok 6 - should be equivalent strictly
- 1..6
- ok 2 - Analysis - pipeline - normal interval # time=16.119ms
- # Subtest: Analysis - pipeline - full interval
- ok 1 - should be equivalent strictly
- ok 2 - should be equivalent strictly
- 1..2
- ok 3 - Analysis - pipeline - full interval # time=2.893ms
- 1..3
- # time=39.968ms
- ok 7 - test/analysis.test.js # time=378.598ms
- # Subtest: test/cmd-collect-exit.test.js
- # Subtest: cmd - collect - external SIGINT is relayed
- ok 1 - 1
- not ok 2 - should be equal
- ---
- found: |
- listening for SIGINT
- wanted: |
- listening for SIGINT
- SIGINT received
- compare: ===
- at:
- line: 29
- column: 7
- file: test/cmd-collect-exit.test.js
- stack: |
- test/cmd-collect-exit.test.js:29:7
- node_modules/async/dist/async.js:3874:9
- node_modules/async/dist/async.js:473:16
- iterateeCallback (node_modules/async/dist/async.js:980:24)
- node_modules/async/dist/async.js:958:16
- node_modules/async/dist/async.js:3871:13
- Endpoint.finish (node_modules/endpoint/endpoint.js:36:5)
- source: |
- t.strictEqual(output.stdout.toString(),
- ...
- 1..2
- # failed 1 of 2 tests
- not ok 1 - cmd - collect - external SIGINT is relayed # time=563.029ms
- npm : Warning: Trace event is an experimental feature and could change at any time.
- At line:1 char:1
- + npm run ci-test > test.txt 2>&1
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : NotSpecified: (Warning: Trace ...ge at any time.:String) [], RemoteException
- + FullyQualifiedErrorId : NativeCommandError
- # Subtest: cmd - collect - non-success exit code causes error
- ok 1 - should be equivalent strictly
- 1..1
- ok 2 - cmd - collect - non-success exit code causes error # time=188.347ms
- # Subtest: cmd - collect - non-success exit code causes error
- ok 1 - should be equivalent strictly
- 1..1
- ok 3 - cmd - collect - non-success exit code causes error # time=181.509ms
- 1..3
- # failed 1 of 3 tests
- # time=941.598ms
- not ok 8 - test/cmd-collect-exit.test.js # time=1448.798ms
- ---
- timeout: 30000
- file: test/cmd-collect-exit.test.js
- command: 'C:\Program Files\nodejs\node.exe'
- args:
- - test/cmd-collect-exit.test.js
- cwd: >-
- C:\Users\Administrator\Downloads\node-clinic-doctor-master\node-clinic-doctor-master
- exitCode: 1
- ...
- # Subtest: test/cmd-collect-node-options-env.test.js
- # Subtest: cmd - collect - NODE_OPTIONS environment is not ignored
- ok 1 - 1
- ok 2 - should be equal
- 1..2
- ok 1 - cmd - collect - NODE_OPTIONS environment is not ignored # time=582.479ms
- 1..1
- # time=590.243ms
- ok 9 - test/cmd-collect-node-options-env.test.js # time=903.576ms
- # Subtest: test/cmd-collect-sample-interval.test.js
- Warning: Trace event is an experimental feature and could change at any time.
- # Subtest: cmd - collect - custom sample interval
- ok 1 - data is outputted
- not ok 2 - expect truthy value
- ---
- at:
- line: 41
- column: 9
- file: test/cmd-collect-sample-interval.test.js
- stack: |
- test/cmd-collect-sample-interval.test.js:41:9
- node_modules/async/dist/async.js:3874:9
- node_modules/async/dist/async.js:473:16
- iterateeCallback (node_modules/async/dist/async.js:980:24)
- node_modules/async/dist/async.js:958:16
- node_modules/async/dist/async.js:3871:13
- Endpoint.finish (node_modules/endpoint/endpoint.js:36:5)
- source: |
- t.ok(Math.abs(timeSeparation - 1) < 5)
- ...
- 1..2
- # failed 1 of 2 tests
- not ok 1 - cmd - collect - custom sample interval # time=482.865ms
- 1..1
- # failed 1 test
- # time=490.587ms
- not ok 10 - test/cmd-collect-sample-interval.test.js # time=995.447ms
- ---
- timeout: 30000
- file: test/cmd-collect-sample-interval.test.js
- command: 'C:\Program Files\nodejs\node.exe'
- args:
- - test/cmd-collect-sample-interval.test.js
- cwd: >-
- C:\Users\Administrator\Downloads\node-clinic-doctor-master\node-clinic-doctor-master
- exitCode: 1
- ...
- # Subtest: test/cmd-collect.test.js
- Warning: Trace event is an experimental feature and could change at any time.
- # Subtest: cmd - collect - gc events
- ok 1 - expect truthy value
- ok 2 - expect truthy value
- ok 3 - expect truthy value
- ok 4 - expect truthy value
- ok 5 - should be equal
- ok 6 - expect truthy value
- ok 7 - expect truthy value
- ok 8 - expect truthy value
- 1..8
- ok 1 - cmd - collect - gc events # time=492.216ms
- Warning: Trace event is an experimental feature and could change at any time.
- # Subtest: cmd - collect - data files have content
- ok 1 - data is outputted
- ok 2 - expect truthy value
- 1..2
- ok 2 - cmd - collect - data files have content # time=461.285ms
- Warning: Trace event is an experimental feature and could change at any time.
- # Subtest: cmd - collect - startup delay is not included
- ok 1 - expect truthy value
- 1..1
- ok 3 - cmd - collect - startup delay is not included # time=444.84ms
- 1..3
- # time=1407.838ms
- ok 11 - test/cmd-collect.test.js # time=1911.744ms
- # Subtest: test/cmd-visualize.test.js
- Warning: Trace event is an experimental feature and could change at any time.
- # Subtest: cmd - test visualization
- ok 1 - expect truthy value
- ok 2 - should not error
- ok 3 - should not error
- 1..3
- ok 1 - cmd - test visualization # time=1580.501ms
- 1..1
- # time=1589.689ms
- ok 12 - test/cmd-visualize.test.js # time=2105.384ms
- # Subtest: test/collect-get-logging-paths.test.js
- # Subtest: Collect - logging path - identifier
- not ok 1 - should be equivalent strictly
- ---
- found:
- /: 1062.clinic-doctor
- /systeminfo: 1062.clinic-doctor\1062.clinic-doctor-systeminfo
- /traceevent: 1062.clinic-doctor\1062.clinic-doctor-traceevent
- /processstat: 1062.clinic-doctor\1062.clinic-doctor-processstat
- wanted:
- /: 1062.clinic-doctor
- /traceevent: 1062.clinic-doctor/1062.clinic-doctor-traceevent
- /systeminfo: 1062.clinic-doctor/1062.clinic-doctor-systeminfo
- /processstat: 1062.clinic-doctor/1062.clinic-doctor-processstat
- at:
- line: 9
- column: 5
- file: test/collect-get-logging-paths.test.js
- type: Test
- stack: |
- Test.<anonymous> (test/collect-get-logging-paths.test.js:9:5)
- loop (node_modules/function-loop/index.js:35:15)
- Object.<anonymous> (test/collect-get-logging-paths.test.js:6:1)
- source: |
- t.strictDeepEqual(paths, {
- ...
- 1..1
- # failed 1 test
- not ok 1 - Collect - logging path - identifier # time=18.94ms
- # Subtest: Collect - logging path - path
- not ok 1 - should be equivalent strictly
- ---
- found:
- /: \root\1062.clinic-doctor
- /systeminfo: \root\1062.clinic-doctor\1062.clinic-doctor-systeminfo
- /traceevent: \root\1062.clinic-doctor\1062.clinic-doctor-traceevent
- /processstat: \root\1062.clinic-doctor\1062.clinic-doctor-processstat
- wanted:
- /: /root/1062.clinic-doctor
- /traceevent: /root/1062.clinic-doctor/1062.clinic-doctor-traceevent
- /systeminfo: /root/1062.clinic-doctor/1062.clinic-doctor-systeminfo
- /processstat: /root/1062.clinic-doctor/1062.clinic-doctor-processstat
- at:
- line: 21
- column: 5
- file: test/collect-get-logging-paths.test.js
- type: Test
- stack: |
- Test.<anonymous> (test/collect-get-logging-paths.test.js:21:5)
- loop (node_modules/function-loop/index.js:35:15)
- Object.<anonymous> (test/collect-get-logging-paths.test.js:18:1)
- source: |
- t.strictDeepEqual(paths, {
- ...
- 1..1
- # failed 1 test
- not ok 2 - Collect - logging path - path # time=5.457ms
- # Subtest: Collect - logging path - bad type
- ok 1 - expected to throw: Error missing either identifier or path value
- 1..1
- ok 3 - Collect - logging path - bad type # time=1.278ms
- 1..3
- # failed 2 of 3 tests
- # time=38.133ms
- not ok 13 - test/collect-get-logging-paths.test.js # time=338.1ms
- ---
- timeout: 30000
- file: test/collect-get-logging-paths.test.js
- command: 'C:\Program Files\nodejs\node.exe'
- args:
- - test/collect-get-logging-paths.test.js
- cwd: >-
- C:\Users\Administrator\Downloads\node-clinic-doctor-master\node-clinic-doctor-master
- exitCode: 1
- ...
- # Subtest: test/collect-process-stat.test.js
- # Subtest: Collect - process stat - input validation
- ok 1 - expected to throw: TypeError sample interval must be a number
- 1..1
- ok 1 - Collect - process stat - input validation # time=4.658ms
- # Subtest: Collect - process stat - timestamp
- ok 1 - expect truthy value
- 1..1
- ok 2 - Collect - process stat - timestamp # time=1.627ms
- # Subtest: Collect - process stat - number of handles
- ok 1 - should be equal
- 1..1
- ok 3 - Collect - process stat - number of handles # time=0.689ms
- # Subtest: Collect - process stat - memory usage
- ok 1 - expect truthy value
- ok 2 - expect truthy value
- ok 3 - expect truthy value
- ok 4 - expect truthy value
- 1..4
- ok 4 - Collect - process stat - memory usage # time=1.016ms
- # Subtest: Collect - process stat - delay usage
- not ok 1 - expect truthy value
- ---
- at:
- line: 49
- column: 5
- file: test/collect-process-stat.test.js
- type: Test
- stack: |
- Test.<anonymous> (test/collect-process-stat.test.js:49:5)
- loop (node_modules/function-loop/index.js:35:15)
- Object.<anonymous> (test/collect-process-stat.test.js:44:1)
- source: |
- t.ok(sample.delay < 11 && sample.delay > 9)
- ...
- 1..1
- # failed 1 test
- not ok 5 - Collect - process stat - delay usage # time=43.264ms
- # Subtest: Collect - process stat - cpu usage
- ok 1 - sleep has high usage, usage was: 1.0701947652725217
- ok 2 - timeout has low usage, usage was: 0
- 1..2
- ok 6 - Collect - process stat - cpu usage # time=394.888ms
- 1..6
- # failed 1 of 6 tests
- # time=460.676ms
- not ok 14 - test/collect-process-stat.test.js # time=762.572ms
- ---
- timeout: 30000
- file: test/collect-process-stat.test.js
- command: 'C:\Program Files\nodejs\node.exe'
- args:
- - test/collect-process-stat.test.js
- cwd: >-
- C:\Users\Administrator\Downloads\node-clinic-doctor-master\node-clinic-doctor-master
- exitCode: 1
- ...
- # Subtest: test/collect-system-info.test.js
- # Subtest: Collect - system info - check data
- ok 1 - should be equal
- ok 2 - should be equal
- ok 3 - expect truthy value
- ok 4 - expect truthy value
- ok 5 - expect truthy value
- 1..5
- ok 1 - Collect - system info - check data # time=5.644ms
- 1..1
- # time=14.097ms
- ok 15 - test/collect-system-info.test.js # time=312.294ms
- # Subtest: test/format-process-stat.test.js
- # Subtest: Format - process stat - encoder-decoder
- ok 1 - should be equivalent strictly
- 1..1
- ok 1 - Format - process stat - encoder-decoder # time=11.951ms
- # Subtest: Format - process stat - partial decoding
- ok 1 - should be equal
- ok 2 - should be equivalent strictly
- ok 3 - should be equal
- ok 4 - should be equivalent strictly
- ok 5 - should be equivalent strictly
- ok 6 - should be equal
- ok 7 - should be equivalent strictly
- ok 8 - should be equal
- 1..8
- ok 2 - Format - process stat - partial decoding # time=4.139ms
- 1..2
- # time=25.009ms
- ok 16 - test/format-process-stat.test.js # time=348.689ms
- # Subtest: test/format-system-info.test.js
- # Subtest: Format - system info - decoding
- ok 1 - should be equivalent strictly
- 1..1
- ok 1 - Format - system info - decoding # time=8.468ms
- 1..1
- # time=16.338ms
- ok 17 - test/format-system-info.test.js # time=316.68ms
- # Subtest: test/format-trace-event.test.js
- # Subtest: Format - trace event - combine
- ok 1 - should be equivalent strictly
- 1..1
- ok 1 - Format - trace event - combine # time=14.982ms
- # Subtest: Format - trace event - error
- ok 1 - should be equivalent strictly
- 1..1
- ok 2 - Format - trace event - error # time=1.75ms
- 1..2
- # time=24.461ms
- ok 18 - test/format-trace-event.test.js # time=333.488ms
- # Subtest: test/recommendation.test.js
- # Subtest: Recommendation - contains all categories
- ok 1 - should be equal
- ok 2 - expect truthy value
- ok 3 - expect truthy value
- ok 4 - expect truthy value
- ok 5 - expect truthy value
- ok 6 - should be equal
- ok 7 - should be equal
- ok 8 - expect truthy value
- ok 9 - expect truthy value
- ok 10 - expect truthy value
- ok 11 - expect truthy value
- ok 12 - should be equal
- ok 13 - should be equal
- ok 14 - expect truthy value
- ok 15 - expect truthy value
- ok 16 - expect truthy value
- ok 17 - expect truthy value
- ok 18 - should be equal
- ok 19 - should be equal
- ok 20 - expect truthy value
- ok 21 - expect truthy value
- ok 22 - expect truthy value
- ok 23 - expect truthy value
- ok 24 - should be equal
- ok 25 - should be equal
- ok 26 - expect truthy value
- ok 27 - expect truthy value
- ok 28 - expect truthy value
- ok 29 - expect truthy value
- ok 30 - should be equal
- ok 31 - should be equal
- ok 32 - expect truthy value
- ok 33 - expect truthy value
- ok 34 - expect truthy value
- ok 35 - expect truthy value
- ok 36 - should be equal
- ok 37 - should be equal
- ok 38 - expect truthy value
- ok 39 - expect truthy value
- ok 40 - expect truthy value
- ok 41 - expect truthy value
- ok 42 - should be equal
- ok 43 - should be equal
- ok 44 - expect truthy value
- ok 45 - expect truthy value
- ok 46 - expect truthy value
- ok 47 - expect truthy value
- ok 48 - should be equal
- ok 49 - should be equivalent strictly
- 1..49
- ok 1 - Recommendation - contains all categories # time=108.151ms
- # Subtest: Recommendation - read failure
- # Subtest: mock test
- ok 1 - should be equivalent strictly
- 1..1
- ok 1 - mock test # time=3.121ms
- 1..1
- ok 2 - Recommendation - read failure # time=11.026ms
- 1..2
- # time=127.402ms
- ok 19 - test/recommendation.test.js # time=656.844ms
- 1..19
- # failed 4 of 19 tests
- # time=12872.531ms
- npm
- ERR!
- code
- ELIFECYCLE
- npm
- ERR!
- errno
- 1
- npm
- ERR!
- @nearform/clinic-doctor@0.4.1 ci-test: `tap test/*.test.js`
- npm
- ERR!
- Exit status 1
- npm
- ERR!
- npm
- ERR!
- Failed at the @nearform/clinic-doctor@0.4.1 ci-test script.
- npm
- ERR!
- This is probably not a problem with npm. There is likely additional logging output above.
- npm
- ERR!
- A complete log of this run can be found in:
- npm
- ERR!
- C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2018-01-12T11_47_53_880Z-debug.log
Add Comment
Please, Sign In to add comment