ZAPI-768: want more informative output for tests

Resolution

Fixed: A fix for this issue is checked into the tree and tested.
(Resolution Date: 2017-03-02T17:24:30.000Z)

Fix Versions

2017-03-16 LIBYAN LOCAL (Release Date: 2017-03-16)

Description

A majority of the tests run as part of runtests print (unnamed assert), making it difficult to debug during failures.

Comments

Comment by Dave Eddy
Created at 2017-02-28T19:17:17.000Z
https://cr.joyent.us/#/c/1590/

Comment by Dave Eddy
Created at 2017-02-28T19:17:44.000Z
before

TAP version 13
# find_headnode
ok 1 (unnamed assert)
ok 2 (unnamed assert)
ok 3 (unnamed assert)
ok 4 (unnamed assert)
ok 5 (unnamed assert)
# napi_networks_ok
ok 6 (unnamed assert)
ok 7 (unnamed assert)
ok 8 (unnamed assert)
ok 9 (unnamed assert)
ok 10 (unnamed assert)
# create_vm
ok 11 (unnamed assert)
ok 12 (unnamed assert)
ok 13 workflow-api header
ok 14 vm ok
ok 15 (unnamed assert)
ok 16 200 OK
ok 17 provisioning vm ok
ok 18 state received
# wait_provisioned_job
ok 19 (unnamed assert)
# check_create_vm_nics_running
ok 20 (unnamed assert)
# get_vm_ok
ok 21 (unnamed assert)
ok 22 200 OK
ok 23 vm ok
# listen_for_alias
ok 24 (unnamed assert)
ok 25 alias received
# listen_for_customer_metadata
ok 26 (unnamed assert)
ok 27 customer_metadata received
# listen_for_internal_metadata
ok 28 (unnamed assert)
ok 29 internal_metadata received
# listen_for_tags
ok 30 (unnamed assert)
ok 31 tags received
# listen_for_nics
ok 32 (unnamed assert)
ok 33 (unnamed assert)
ok 34 (unnamed assert)
ok 35 job_uuid: 7e1bbc17-5c18-4f16-974d-d02231f459da
ok 36 nics received

after

TAP version 13
# find_headnode
ok 1 no error
ok 2 200 OK
ok 3 servers is set
ok 4 servers is Array
ok 5 server found
# napi_networks_ok
ok 6 no error
ok 7 200 OK
ok 8 networks is set
ok 9 networks is Array
ok 10 more than 1 network found
# create_vm
ok 11 no error
ok 12 202 Accepted
ok 13 workflow-api header
ok 14 vm ok
ok 15 no error
ok 16 200 OK
ok 17 provisioning vm ok
ok 18 state received
# wait_provisioned_job
ok 19 no error
# check_create_vm_nics_running
ok 20 no error
# get_vm_ok
ok 21 no error
ok 22 200 OK
ok 23 vm ok
# listen_for_alias
ok 24 no error
ok 25 alias received
# listen_for_customer_metadata
ok 26 no error
ok 27 customer_metadata received
# listen_for_internal_metadata
ok 28 no error
ok 29 internal_metadata received
# listen_for_tags
ok 30 no error
ok 31 tags received
# listen_for_nics
ok 32 no error
ok 33 202 Accepted
ok 34 bootstrap body
ok 35 job_uuid: d9d13d55-e7b4-438e-b2f3-015d92468078
ok 36 nics received

Comment by Bot Bot [X]
Created at 2017-03-02T17:24:14.000Z

sdc-vmapi commit 39ee324 (branch master, by Dave Eddy)

ZAPI-768 want more informative output for tests
    Reviewed by: Trent Mick <trentm@gmail.com>
    Reviewed by: Josh Wilsdon <josh@wilsdon.ca>