Created
July 11, 2017 01:11
-
-
Save misterdjules/f18c3a14709e512cb80e5dbeab2b1871 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@dfd977d0-af4e-4fe7-a100-ce54752c2062 (coal:cloudapi0) ~]# /opt/smartdc/cloudapi/test/runtests -f nics | |
/opt/smartdc/cloudapi | |
# Setup a clean output dir (/var/tmp/cloudapitest). | |
# Datacenter config: | |
# SDC_SSO_ADMIN_IP is | |
# Running filtered set of test files: test/nics.test.js | |
TAP version 13 | |
# nics | |
# setup | |
ok 1 commonSetup err | |
ok 2 commonSetup clients | |
ok 3 listVms for vm sdccloudapitest_nics_inst | |
ok 4 getHeadnode | |
ok 5 null | |
ok 6 remove NIC tags from headnode server: sdccloudapitest_nics_nictag1 | |
ok 7 waitForJob 9455d891-7f1c-42fd-90bd-8db0fb62f235 | |
ok 8 deletePool sdccloudapitest_nics_pool1 | |
ok 9 deleteNetwork sdccloudapitest_nics_network1 | |
ok 10 deleteNicTag sdccloudapitest_nics_nictag1 | |
ok 11 deleteTestNetwork completed | |
ok 12 deletePool sdccloudapitest_nics_pool2 | |
ok 13 deleteNetwork sdccloudapitest_nics_network2 | |
ok 14 deleteNicTag sdccloudapitest_nics_nictag2 | |
ok 15 deleteTestNetwork completed | |
ok 16 deletePool sdccloudapitest_nics_pool_internal | |
not ok 17 deleteNetwork sdccloudapitest_nics_network_internal | |
--- | |
operator: error | |
expected: | |
undefined | |
actual: | |
{ body: { code: 'InUse', errors: [ { code: 'UsedBy', id: '90:b8:d0:ca:44:38', message: 'In use by nic "90:b8:d0:ca:44:38"', type: 'nic' } ], message: 'network must have no NICs provisioned' }, jse_info: {}, jse_shortmsg: '', message: 'network must have no NICs provisioned', name: 'InUseError', restCode: 'InUse', statusCode: 422 } | |
at: parseResponse (/opt/smartdc/cloudapi/node_modules/sdc-clients/node_modules/restify-clients/lib/JsonClient.js:105:9) | |
stack: | |
InUseError: network must have no NICs provisioned | |
at parseResponse (/opt/smartdc/cloudapi/node_modules/sdc-clients/node_modules/restify-clients/lib/JsonClient.js:85:26) | |
at IncomingMessage.done (/opt/smartdc/cloudapi/node_modules/sdc-clients/node_modules/restify-clients/lib/StringClient.js:207:13) | |
at IncomingMessage.g (events.js:260:16) | |
at emitNone (events.js:72:20) | |
at IncomingMessage.emit (events.js:166:7) | |
at endReadableNT (_stream_readable.js:921:12) | |
at nextTickCallbackWith2Args (node.js:442:9) | |
at process._tickCallback (node.js:356:17) | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment