TRITON-2295: update sdc-fwapi base image to triton-origin-x86_64-21.4.0

Details

Issue Type:Task
Priority:4 - Normal
Status:Resolved
Created at:2022-03-31T04:34:41.544Z
Updated at:2022-06-13T19:18:50.750Z

People

Created by:Brian Bennett
Reported by:Brian Bennett
Assigned to:Brian Bennett

Resolution

Fixed: A fix for this issue is checked into the tree and tested.
(Resolution Date: 2022-04-01T18:13:15.391Z)

Fix Versions

2022-05-05 Quine (Release Date: 2022-05-05)

Related Issues

Related Links

Comments

Comment by Brian Bennett
Created at 2022-04-01T03:54:15.606Z
Updated at 2022-06-13T19:18:38.743Z

All tests pass

[root@a54615b3-d116-4cfb-9d6d-df69232b8212 (vt-coal-1:fwapi0) /opt/smartdc/fwapi]# ./test/runtests

Setup a clean output dir (/var/tmp/fwapitest).

get.test.jsTAP version 13

get: global rulesok 1 listing rules (params={"global":true})

add all rulesok 2 creating rule (creating rule=FROM ip 8.8.8.8 TO tag "fo...)ok 3 x-update-id: f0364f72-a14e-4623-bdf7-287f62b43eec (creating rule=FROM ip 8.8.8.8 TO tag "fo...)ok 4 rule uuid: d5c2401f-d884-4b98-9f66-be80d43ff2a3 (creating rule=FROM ip 8.8.8.8 TO tag "fo...)ok 5 full result (creating rule=FROM ip 8.8.8.8 TO tag "fo...)ok 6 creating rule (creating rule=FROM vm 79e82828-8ec5-4d81...)ok 7 x-update-id: 80f378c5-d648-4265-aadb-c5224b0c4ce8 (creating rule=FROM vm 79e82828-8ec5-4d81...)ok 8 rule uuid: 484ec705-704f-41c2-a9ce-5253797d227c (creating rule=FROM vm 79e82828-8ec5-4d81...)ok 9 full result (creating rule=FROM vm 79e82828-8ec5-4d81...)ok 10 creating rule (creating rule=FROM subnet 10.8.0.0/16 TO...)ok 11 x-update-id: 411460be-a717-432e-9261-53b5dc1b8bf0 (creating rule=FROM subnet 10.8.0.0/16 TO...)ok 12 rule uuid: d5d9354f-9420-48fe-8326-602808b3cfd0 (creating rule=FROM subnet 10.8.0.0/16 TO...)ok 13 full result (creating rule=FROM subnet 10.8.0.0/16 TO...)ok 14 creating rule (creating rule=FROM subnet 10.7.0.0/16 TO...)ok 15 x-update-id: a0b0d399-2b03-44b9-a149-c59a950f7f0e (creating rule=FROM subnet 10.7.0.0/16 TO...)ok 16 rule uuid: 60cf49bc-8675-4b5d-941b-676dd826343d (creating rule=FROM subnet 10.7.0.0/16 TO...)ok 17 full result (creating rule=FROM subnet 10.7.0.0/16 TO...)ok 18 creating rule (creating rule=FROM any TO all vms ALLOW ...)ok 19 x-update-id: 6fa0952f-4723-4a64-908a-0f0a93618425 (creating rule=FROM any TO all vms ALLOW ...)ok 20 rule uuid: 277581a3-5b8a-4743-a5af-06dcbee6337b (creating rule=FROM any TO all vms ALLOW ...)ok 21 full result (creating rule=FROM any TO all vms ALLOW ...)ok 22 creating rule (creating rule=FROM any TO tag "foo" = "b...)ok 23 x-update-id: 979dc735-ff68-43df-890d-0ab2dbe08c48 (creating rule=FROM any TO tag "foo" = "b...)ok 24 rule uuid: 267558c5-6bfd-414c-be82-35ed9bd6fe90 (creating rule=FROM any TO tag "foo" = "b...)ok 25 full result (creating rule=FROM any TO tag "foo" = "b...)ok 26 creating rule (creating rule=FROM ip 4.4.4.4 TO tag "fo...)ok 27 x-update-id: 581dd592-711e-41bf-9ea2-1b084e61e915 (creating rule=FROM ip 4.4.4.4 TO tag "fo...)ok 28 rule uuid: 926de671-2093-44fc-bb1c-777a7979595f (creating rule=FROM ip 4.4.4.4 TO tag "fo...)ok 29 full result (creating rule=FROM ip 4.4.4.4 TO tag "fo...)ok 30 creating rule (creating rule=FROM vm 87d27cfa-4145-471a...)ok 31 x-update-id: 77e9d599-9d07-4d4f-89f3-2be34dbd5d3a (creating rule=FROM vm 87d27cfa-4145-471a...)ok 32 rule uuid: 7f059f37-cee3-4a5a-9593-8ab8e9cce0cc (creating rule=FROM vm 87d27cfa-4145-471a...)ok 33 full result (creating rule=FROM vm 87d27cfa-4145-471a...)ok 34 creating rule (creating rule=FROM tag "a" TO tag "b" AL...)ok 35 x-update-id: 8ce275fb-2db2-47d6-9279-cd289965ce47 (creating rule=FROM tag "a" TO tag "b" AL...)ok 36 rule uuid: 5c833c63-e2b6-492d-b014-07f680951c75 (creating rule=FROM tag "a" TO tag "b" AL...)ok 37 full result (creating rule=FROM tag "a" TO tag "b" AL...)ok 38 creating rule (creating rule=FROM tag "a" TO tag "b" AL...)ok 39 x-update-id: 595ff23b-8cfc-4e75-b0bd-515961f432c1 (creating rule=FROM tag "a" TO tag "b" AL...)ok 40 rule uuid: 70f65e8e-9c77-413c-bfcf-014cff7b055d (creating rule=FROM tag "a" TO tag "b" AL...)ok 41 full result (creating rule=FROM tag "a" TO tag "b" AL...)ok 42 creating rule (creating rule=FROM (tag "foo" = "bar" OR...)ok 43 x-update-id: ed283203-2a0c-4e17-9902-ff59aac0d70b (creating rule=FROM (tag "foo" = "bar" OR...)ok 44 rule uuid: 092be6a3-e701-40e3-b166-d4feefbb6c4e (creating rule=FROM (tag "foo" = "bar" OR...)ok 45 full result (creating rule=FROM (tag "foo" = "bar" OR...)ok 46 getting rule (uuid=484ec705-704f-41c2-a9ce-5253797d227c)ok 47 full result (uuid=484ec705-704f-41c2-a9ce-5253797d227c)ok 48 creating rule (creating rule=FROM tag "a" TO tag "b" AL...)ok 49 x-update-id: 1fc7770b-d0b0-4b23-ba9b-c8a5def8ff5e (creating rule=FROM tag "a" TO tag "b" AL...)ok 50 rule uuid: b85e2c38-f26d-4bd8-b7a8-d99d611f50e0 (creating rule=FROM tag "a" TO tag "b" AL...)ok 51 full result (creating rule=FROM tag "a" TO tag "b" AL...)ok 52 getting rule (uuid=d5d9354f-9420-48fe-8326-602808b3cfd0)ok 53 full result (uuid=d5d9354f-9420-48fe-8326-602808b3cfd0)ok 54 getting rule (uuid=277581a3-5b8a-4743-a5af-06dcbee6337b)ok 55 full result (uuid=277581a3-5b8a-4743-a5af-06dcbee6337b)ok 56 getting rule (uuid=60cf49bc-8675-4b5d-941b-676dd826343d)ok 57 full result (uuid=60cf49bc-8675-4b5d-941b-676dd826343d)ok 58 getting rule (uuid=926de671-2093-44fc-bb1c-777a7979595f)ok 59 full result (uuid=926de671-2093-44fc-bb1c-777a7979595f)ok 60 getting rule (uuid=d5c2401f-d884-4b98-9f66-be80d43ff2a3)ok 61 full result (uuid=d5c2401f-d884-4b98-9f66-be80d43ff2a3)ok 62 getting rule (uuid=7f059f37-cee3-4a5a-9593-8ab8e9cce0cc)ok 63 full result (uuid=7f059f37-cee3-4a5a-9593-8ab8e9cce0cc)ok 64 getting rule (uuid=267558c5-6bfd-414c-be82-35ed9bd6fe90)ok 65 full result (uuid=267558c5-6bfd-414c-be82-35ed9bd6fe90)ok 66 getting rule (uuid=70f65e8e-9c77-413c-bfcf-014cff7b055d)ok 67 full result (uuid=70f65e8e-9c77-413c-bfcf-014cff7b055d)ok 68 getting rule (uuid=092be6a3-e701-40e3-b166-d4feefbb6c4e)ok 69 full result (uuid=092be6a3-e701-40e3-b166-d4feefbb6c4e)ok 70 getting rule (uuid=5c833c63-e2b6-492d-b014-07f680951c75)ok 71 full result (uuid=5c833c63-e2b6-492d-b014-07f680951c75)ok 72 getting rule (uuid=b85e2c38-f26d-4bd8-b7a8-d99d611f50e0)ok 73 full result (uuid=b85e2c38-f26d-4bd8-b7a8-d99d611f50e0)

get: owner rule with owner_uuidok 74 getting rule (uuid=277581a3-5b8a-4743-a5af-06dcbee6337b)ok 75 full result (uuid=277581a3-5b8a-4743-a5af-06dcbee6337b)

get: owner rule with wrong owner_uuidok 76 expected errorok 77 status codeok 78 error body

get: owner rule with misformatted uuidok 79 expected errorok 80 status codeok 81 error body

get: ip rule with misformatted ipok 82 expected errorok 83 status codeok 84 error body

get: ip rule with non-string valueok 85 expected errorok 86 status codeok 87 error body

get: ip rule with non-string valuesok 88 expected errorok 89 status codeok 90 error body

get: ip rule with valid ipok 91 listing rules (params={"ip":"8.8.8.8","owner_uuid":"..."})ok 92 full result (params={"ip":"8.8.8.8","owner_uuid":"..."})

get: ip rule with valid ipsok 93 listing rules (params={"ip":["8.8.8.8","4.4.4.4"],"owner_uuid":"..."})ok 94 full result (params={"ip":["8.8.8.8","4.4.4.4"],"owner_uuid":"..."})

get: vm rule with misformatted vmok 95 expected errorok 96 status codeok 97 error body

get: vm rule with non-string valueok 98 expected errorok 99 status codeok 100 error body

get: vm rule with non-string valuesok 101 expected errorok 102 status codeok 103 error body

get: vm rule with valid vmok 104 listing rules (params={"vm":"79e828...","owner_uuid":"..."})ok 105 full result (params={"vm":"79e828...","owner_uuid":"..."})

get: vm rule with valid vmsok 106 listing rules (params={"vm":["79e82828-8ec5-4d81-b0a6-721db9005faa","87d27cfa-4145-471a-bb3f-042bd398a4e4"]})ok 107 full result (params={"vm":["79e82828-8ec5-4d81-b0a6-721db9005faa","87d27cfa-4145-471a-bb3f-042bd398a4e4"]})

get: subnet rule with misformatted subnetok 108 expected errorok 109 status codeok 110 error body

get: subnet rule with non-string valueok 111 expected errorok 112 status codeok 113 error body

get: subnet rule with non-string valuesok 114 expected errorok 115 status codeok 116 error body

get: subnet rule with valid subnetok 117 listing rules (params={"subnet":"10...","owner_uuid":"..."})ok 118 full result (params={"subnet":"10...","owner_uuid":"..."})

get: subnet rule with valid subnetsok 119 listing rules (params={"subnet":["10.8.0.0/16","10.7.0.0/16"],"owner_uuid":"..."})ok 120 full result (params={"subnet":["10.8.0.0/16","10.7.0.0/16"],"owner_uuid":"..."})

get: global rule with no paramsok 121 getting rule (uuid=267558c5-6bfd-414c-be82-35ed9bd6fe90)ok 122 full result (uuid=267558c5-6bfd-414c-be82-35ed9bd6fe90)

get: enabled rule owner0ok 123 listing rules (params={"enabled":true,"owner_uuid":"..."})ok 124 full result (params={"enabled":true,"owner_uuid":"..."})

get: enabled rule owner1ok 125 listing rules (params={"enabled":true,"owner_uuid":"..."})ok 126 full result (params={"enabled":true,"owner_uuid":"..."})

get: enabled rule without boolok 127 expected errorok 128 status codeok 129 error body

get: action rule allow owner0ok 130 listing rules (params={"action":"allow","owner_uuid":"..."})ok 131 full result (params={"action":"allow","owner_uuid":"..."})

get: action rule allow owner1ok 132 listing rules (params={"action":"allow","owner_uuid":"..."})ok 133 full result (params={"action":"allow","owner_uuid":"..."})

get: action rule blockok 134 listing rules (params={"action":"block","owner_uuid":"..."})ok 135 full result (params={"action":"block","owner_uuid":"..."})

get: action rule invalid stringok 136 expected errorok 137 status codeok 138 error body

get: action rule invalid typeok 139 expected errorok 140 status codeok 141 error body

get: global-bool ruleok 142 listing rules (params={"global":true})ok 143 full result (params={"global":true})

get: global-bool rule invalid typeok 144 expected errorok 145 status codeok 146 error body

get: tag ruleok 147 listing rules (params={"tag":"foo","owner_uuid":"..."})ok 148 full result (params={"tag":"foo","owner_uuid":"..."})

get: wildcard ruleok 149 listing rules (params={"wildcard":["some","wildcards"]})ok 150 full result (params={"wildcard":["some","wildcards"]})

teardownok 151 uuid (del rule=d5c2401f-d884-4b98-9f66-be80d43ff2a3)ok 152 result (del rule=d5c2401f-d884-4b98-9f66-be80d43ff2a3)ok 153 x-update-id: 201b7e77-c475-4b89-8a92-bba762726425 (del rule=d5c2401f-d884-4b98-9f66-be80d43ff2a3)ok 154 status code (del rule=d5c2401f-d884-4b98-9f66-be80d43ff2a3)ok 155 Failed to delete ruleok 156 expected errorok 157 status codeok 158 error bodyok 159 uuid (del rule=484ec705-704f-41c2-a9ce-5253797d227c)ok 160 result (del rule=484ec705-704f-41c2-a9ce-5253797d227c)ok 161 x-update-id: 333b4b68-8cdd-48fc-8d2d-cd72d89be16c (del rule=484ec705-704f-41c2-a9ce-5253797d227c)ok 162 status code (del rule=484ec705-704f-41c2-a9ce-5253797d227c)ok 163 Failed to delete ruleok 164 expected errorok 165 status codeok 166 error bodyok 167 uuid (del rule=d5d9354f-9420-48fe-8326-602808b3cfd0)ok 168 result (del rule=d5d9354f-9420-48fe-8326-602808b3cfd0)ok 169 x-update-id: 9367e166-870f-4277-ab87-82855ad7bf5d (del rule=d5d9354f-9420-48fe-8326-602808b3cfd0)ok 170 status code (del rule=d5d9354f-9420-48fe-8326-602808b3cfd0)ok 171 Failed to delete ruleok 172 expected errorok 173 status codeok 174 error bodyok 175 uuid (del rule=60cf49bc-8675-4b5d-941b-676dd826343d)ok 176 result (del rule=60cf49bc-8675-4b5d-941b-676dd826343d)ok 177 x-update-id: 277ceaa8-5d0b-4104-8b55-8dc41791ce3a (del rule=60cf49bc-8675-4b5d-941b-676dd826343d)ok 178 status code (del rule=60cf49bc-8675-4b5d-941b-676dd826343d)ok 179 Failed to delete ruleok 180 expected errorok 181 status codeok 182 error bodyok 183 uuid (del rule=277581a3-5b8a-4743-a5af-06dcbee6337b)ok 184 result (del rule=277581a3-5b8a-4743-a5af-06dcbee6337b)ok 185 x-update-id: bca7254b-429d-496a-ac13-ad5a62dd4f7a (del rule=277581a3-5b8a-4743-a5af-06dcbee6337b)ok 186 status code (del rule=277581a3-5b8a-4743-a5af-06dcbee6337b)ok 187 Failed to delete ruleok 188 expected errorok 189 status codeok 190 error bodyok 191 uuid (del rule=267558c5-6bfd-414c-be82-35ed9bd6fe90)ok 192 result (del rule=267558c5-6bfd-414c-be82-35ed9bd6fe90)ok 193 x-update-id: 9bc4fa3d-4bcb-40bf-bacf-96e7b5c51fa5 (del rule=267558c5-6bfd-414c-be82-35ed9bd6fe90)ok 194 status code (del rule=267558c5-6bfd-414c-be82-35ed9bd6fe90)ok 195 Failed to delete ruleok 196 expected errorok 197 status codeok 198 error bodyok 199 uuid (del rule=926de671-2093-44fc-bb1c-777a7979595f)ok 200 result (del rule=926de671-2093-44fc-bb1c-777a7979595f)ok 201 x-update-id: c4ef31f8-da1c-4735-a2ce-3eecf1216d8c (del rule=926de671-2093-44fc-bb1c-777a7979595f)ok 202 status code (del rule=926de671-2093-44fc-bb1c-777a7979595f)ok 203 Failed to delete ruleok 204 expected errorok 205 status codeok 206 error bodyok 207 uuid (del rule=7f059f37-cee3-4a5a-9593-8ab8e9cce0cc)ok 208 result (del rule=7f059f37-cee3-4a5a-9593-8ab8e9cce0cc)ok 209 x-update-id: 7ba56254-eb4a-4d54-80cd-11dc7a0ba688 (del rule=7f059f37-cee3-4a5a-9593-8ab8e9cce0cc)ok 210 status code (del rule=7f059f37-cee3-4a5a-9593-8ab8e9cce0cc)ok 211 Failed to delete ruleok 212 expected errorok 213 status codeok 214 error bodyok 215 uuid (del rule=5c833c63-e2b6-492d-b014-07f680951c75)ok 216 result (del rule=5c833c63-e2b6-492d-b014-07f680951c75)ok 217 x-update-id: a40f6374-3615-4ec9-8f5b-a534becefb31 (del rule=5c833c63-e2b6-492d-b014-07f680951c75)ok 218 status code (del rule=5c833c63-e2b6-492d-b014-07f680951c75)ok 219 Failed to delete ruleok 220 expected errorok 221 status codeok 222 error bodyok 223 uuid (del rule=70f65e8e-9c77-413c-bfcf-014cff7b055d)ok 224 result (del rule=70f65e8e-9c77-413c-bfcf-014cff7b055d)ok 225 x-update-id: 63a3fb81-8afd-48ab-a61c-0c1ef8a29d50 (del rule=70f65e8e-9c77-413c-bfcf-014cff7b055d)ok 226 status code (del rule=70f65e8e-9c77-413c-bfcf-014cff7b055d)ok 227 Failed to delete ruleok 228 expected errorok 229 status codeok 230 error bodyok 231 uuid (del rule=092be6a3-e701-40e3-b166-d4feefbb6c4e)ok 232 result (del rule=092be6a3-e701-40e3-b166-d4feefbb6c4e)ok 233 x-update-id: c1be1959-6e78-46b4-a0e4-1bc976fc3bbf (del rule=092be6a3-e701-40e3-b166-d4feefbb6c4e)ok 234 status code (del rule=092be6a3-e701-40e3-b166-d4feefbb6c4e)ok 235 Failed to delete ruleok 236 expected errorok 237 status codeok 238 error bodyok 239 uuid (del rule=b85e2c38-f26d-4bd8-b7a8-d99d611f50e0)ok 240 result (del rule=b85e2c38-f26d-4bd8-b7a8-d99d611f50e0)ok 241 x-update-id: c0e61602-d2cd-408c-8353-6a0508c6c2f6 (del rule=b85e2c38-f26d-4bd8-b7a8-d99d611f50e0)ok 242 status code (del rule=b85e2c38-f26d-4bd8-b7a8-d99d611f50e0)ok 243 Failed to delete ruleok 244 expected errorok 245 status codeok 246 error body

1..246

tests 246

pass  246

ok

global.test.jsTAP version 13

Add ruleok 1 creating rule (creating rule=FROM any TO all vms ALLOW ...)ok 2 x-update-id: 80076c6e-c868-4ebf-a05a-0634a347c972 (creating rule=FROM any TO all vms ALLOW ...)ok 3 rule uuid: 55e24a6b-dd38-4931-89c5-260d752f1e83 (creating rule=FROM any TO all vms ALLOW ...)ok 4 full result (creating rule=FROM any TO all vms ALLOW ...)ok 5 getting rule (uuid=55e24a6b-dd38-4931-89c5-260d752f1e83)ok 6 full result (uuid=55e24a6b-dd38-4931-89c5-260d752f1e83)

Update rule when owner_uuid setok 7 update (params={"rule":"...","owner_uuid":"..."}, uuid=55e24a6b-dd38-4...)ok 8 expected errorok 9 status codeok 10 error body

Delete rule with owner_uuid setok 11 uuid (del rule=55e24a6b-dd38-4931-89c5-260d752f1e83)ok 12 expected error (del rule=55e24a6b-dd38-4931-89c5-260d752f1e83)ok 13 status code (del rule=55e24a6b-dd38-4931-89c5-260d752f1e83)ok 14 error body (del rule=55e24a6b-dd38-4931-89c5-260d752f1e83)

List global rulesok 15 listing rules (params={"global":true})ok 16 only global rules in the list

teardownok 17 uuid (del rule=55e24a6b-dd38-4931-89c5-260d752f1e83)ok 18 result (del rule=55e24a6b-dd38-4931-89c5-260d752f1e83)ok 19 x-update-id: 71a3153a-914e-4b56-a5ef-53c84651f5ee (del rule=55e24a6b-dd38-4931-89c5-260d752f1e83)ok 20 status code (del rule=55e24a6b-dd38-4931-89c5-260d752f1e83)ok 21 Failed to delete ruleok 22 expected errorok 23 status codeok 24 error body

1..24

tests 24

pass  24

ok

invalid.test.jsTAP version 13

Invalid rule: missing owner_uuidok 1 expected errorok 2 status codeok 3 error body

Invalid rule: bad enabled valueok 4 expected errorok 5 status codeok 6 error body

Invalid rule: bad global valueok 7 expected errorok 8 status codeok 9 error body

Invalid rule: bad log valueok 10 expected errorok 11 status codeok 12 error body

Invalid rule: bad IPv4 subnet: bits to right of maskok 13 expected errorok 14 status codeok 15 error body

Invalid rule: bad IPv6 subnet: bits to right of maskok 16 expected errorok 17 status codeok 18 error body

Invalid rule: invalid port: too smallok 19 expected errorok 20 status codeok 21 error body

Invalid rule: invalid port: too bigok 22 expected errorok 23 status codeok 24 error body

Invalid rule: rule: bad ip target for ICMPv4ok 25 expected errorok 26 status codeok 27 error body

Invalid rule: rule: bad subnet target for ICMPv4ok 28 expected errorok 29 status codeok 30 error body

Invalid rule: rule: bad ip target for ICMPv6ok 31 expected errorok 32 status codeok 33 error body

Invalid rule: rule: bad subnet target for ICMPv6ok 34 expected errorok 35 status codeok 36 error body

Invalid rule: rule: bad ICMP typeok 37 expected errorok 38 status codeok 39 error body

Cleanup any created rules

1..39

tests 39

pass  39

ok

list.test.jsTAP version 13

add all rulesok 1 creating rule (creating rule=FROM any TO all vms ALLOW ...)ok 2 x-update-id: 96228489-a78f-4901-96e8-a62f4c4b38c5 (creating rule=FROM any TO all vms ALLOW ...)ok 3 rule uuid: 3131c3a8-5f53-40cc-b59a-dd25954c278d (creating rule=FROM any TO all vms ALLOW ...)ok 4 full result (creating rule=FROM any TO all vms ALLOW ...)ok 5 creating rule (creating rule=FROM subnet 10.2.1.0/24 TO...)ok 6 x-update-id: 93da4bd0-cc74-4c0f-b89f-cca75a9ac07e (creating rule=FROM subnet 10.2.1.0/24 TO...)ok 7 rule uuid: 0e3c0f9c-3968-4c8a-ace1-d4a197174ec7 (creating rule=FROM subnet 10.2.1.0/24 TO...)ok 8 full result (creating rule=FROM subnet 10.2.1.0/24 TO...)ok 9 creating rule (creating rule=FROM subnet 10.2.1.0/24 TO...)ok 10 x-update-id: 327848ac-2fb1-46ef-b7ef-eab5ac401372 (creating rule=FROM subnet 10.2.1.0/24 TO...)ok 11 rule uuid: 82b5b2ed-0366-4e95-b347-466d278c4e07 (creating rule=FROM subnet 10.2.1.0/24 TO...)ok 12 full result (creating rule=FROM subnet 10.2.1.0/24 TO...)ok 13 creating rule (creating rule=FROM any TO tag "b" ALLOW ...)ok 14 x-update-id: 353f69e1-d7cc-4804-bbdc-42792285bd5c (creating rule=FROM any TO tag "b" ALLOW ...)ok 15 rule uuid: 860c7fd6-8a29-4746-911d-38015bcea1de (creating rule=FROM any TO tag "b" ALLOW ...)ok 16 full result (creating rule=FROM any TO tag "b" ALLOW ...)ok 17 creating rule (creating rule=FROM (tag "foo" = "bar" OR...)ok 18 x-update-id: 6cc8a5c2-af1e-4181-89b9-bada8fdb805a (creating rule=FROM (tag "foo" = "bar" OR...)ok 19 rule uuid: 815cf2ae-ed64-424f-b0d0-d484421d7806 (creating rule=FROM (tag "foo" = "bar" OR...)ok 20 full result (creating rule=FROM (tag "foo" = "bar" OR...)ok 21 creating rule (creating rule=FROM all vms TO subnet 10....)ok 22 x-update-id: 1de99717-0f39-41a2-abc8-e9f8a0cbb18d (creating rule=FROM all vms TO subnet 10....)ok 23 rule uuid: e64098d8-ce87-493c-a5a4-609882da4e9c (creating rule=FROM all vms TO subnet 10....)ok 24 full result (creating rule=FROM all vms TO subnet 10....)ok 25 creating rule (creating rule=FROM any TO all vms ALLOW esp)ok 26 x-update-id: 522dce48-cb48-487a-8109-66829ba4a61b (creating rule=FROM any TO all vms ALLOW esp)ok 27 rule uuid: 4cac4a5d-ae6a-4114-a4b0-8054234adea6 (creating rule=FROM any TO all vms ALLOW esp)ok 28 full result (creating rule=FROM any TO all vms ALLOW esp)ok 29 creating rule (creating rule=FROM subnet 10.3.1.0/24 TO...)ok 30 x-update-id: c6e143d7-9058-4f19-b4d5-6870e04eafb3 (creating rule=FROM subnet 10.3.1.0/24 TO...)ok 31 rule uuid: d43211cc-e806-427a-9449-d92fe0368e01 (creating rule=FROM subnet 10.3.1.0/24 TO...)ok 32 full result (creating rule=FROM subnet 10.3.1.0/24 TO...)ok 33 creating rule (creating rule=FROM tag "foo" TO all vms ...)ok 34 x-update-id: 8405cdee-aa23-445d-a1a4-bdcd07c5d1a5 (creating rule=FROM tag "foo" TO all vms ...)ok 35 rule uuid: e997737b-838a-40d8-a8f1-6aa1ed347a75 (creating rule=FROM tag "foo" TO all vms ...)ok 36 full result (creating rule=FROM tag "foo" TO all vms ...)ok 37 creating rule (creating rule=FROM any TO tag "a" = "q" ...)ok 38 x-update-id: abb905ce-8f85-4294-9184-bd8004cf50a9 (creating rule=FROM any TO tag "a" = "q" ...)ok 39 rule uuid: 496d7844-f073-40f7-8018-999e59c680f8 (creating rule=FROM any TO tag "a" = "q" ...)ok 40 full result (creating rule=FROM any TO tag "a" = "q" ...)ok 41 creating rule (creating rule=FROM tag "c" TO any BLOCK ...)ok 42 x-update-id: 0b99d30e-a2f7-4b36-9711-9d5210fc741d (creating rule=FROM tag "c" TO any BLOCK ...)ok 43 rule uuid: 1705c735-dae6-473b-97c5-0e8236297ceb (creating rule=FROM tag "c" TO any BLOCK ...)ok 44 full result (creating rule=FROM tag "c" TO any BLOCK ...)ok 45 getting rule (uuid=3131c3a8-5f53-40cc-b59a-dd25954c278d)ok 46 full result (uuid=3131c3a8-5f53-40cc-b59a-dd25954c278d)ok 47 creating rule (creating rule=FROM any TO all vms ALLOW ah)ok 48 x-update-id: aed779cf-b47c-4ad2-b144-cada372d19ff (creating rule=FROM any TO all vms ALLOW ah)ok 49 rule uuid: e73b6ad5-f25e-47e0-bc7c-2aa4dcaff419 (creating rule=FROM any TO all vms ALLOW ah)ok 50 full result (creating rule=FROM any TO all vms ALLOW ah)ok 51 getting rule (uuid=0e3c0f9c-3968-4c8a-ace1-d4a197174ec7)ok 52 full result (uuid=0e3c0f9c-3968-4c8a-ace1-d4a197174ec7)ok 53 getting rule (uuid=4cac4a5d-ae6a-4114-a4b0-8054234adea6)ok 54 full result (uuid=4cac4a5d-ae6a-4114-a4b0-8054234adea6)ok 55 getting rule (uuid=496d7844-f073-40f7-8018-999e59c680f8)ok 56 full result (uuid=496d7844-f073-40f7-8018-999e59c680f8)ok 57 getting rule (uuid=82b5b2ed-0366-4e95-b347-466d278c4e07)ok 58 full result (uuid=82b5b2ed-0366-4e95-b347-466d278c4e07)ok 59 getting rule (uuid=860c7fd6-8a29-4746-911d-38015bcea1de)ok 60 full result (uuid=860c7fd6-8a29-4746-911d-38015bcea1de)ok 61 getting rule (uuid=815cf2ae-ed64-424f-b0d0-d484421d7806)ok 62 full result (uuid=815cf2ae-ed64-424f-b0d0-d484421d7806)ok 63 getting rule (uuid=1705c735-dae6-473b-97c5-0e8236297ceb)ok 64 full result (uuid=1705c735-dae6-473b-97c5-0e8236297ceb)ok 65 getting rule (uuid=e73b6ad5-f25e-47e0-bc7c-2aa4dcaff419)ok 66 full result (uuid=e73b6ad5-f25e-47e0-bc7c-2aa4dcaff419)ok 67 getting rule (uuid=e997737b-838a-40d8-a8f1-6aa1ed347a75)ok 68 full result (uuid=e997737b-838a-40d8-a8f1-6aa1ed347a75)ok 69 getting rule (uuid=e64098d8-ce87-493c-a5a4-609882da4e9c)ok 70 full result (uuid=e64098d8-ce87-493c-a5a4-609882da4e9c)ok 71 getting rule (uuid=d43211cc-e806-427a-9449-d92fe0368e01)ok 72 full result (uuid=d43211cc-e806-427a-9449-d92fe0368e01)

list: subnet 10.2.1.0/24ok 73 listing rules (params={"owner_uuid":"...","subnet":"10..."})ok 74 full result (params={"owner_uuid":"...","subnet":"10..."})

list: subnet 10.3.1.0/24ok 75 listing rules (params={"owner_uuid":"...","subnet":"10..."})ok 76 full result (params={"owner_uuid":"...","subnet":"10..."})

list: log trueok 77 listing rules (params={"owner_uuid":"...","log":true})ok 78 full result (params={"owner_uuid":"...","log":true})

list: log falseok 79 listing rules (params={"owner_uuid":"...","log":false})ok 80 full result (params={"owner_uuid":"...","log":false})

list: all portsok 81 creating rule (creating rule=FROM tag "foo" TO all vms ...)ok 82 x-update-id: 129bdb0f-3e41-4325-84b8-58a48c4dbee6 (creating rule=FROM tag "foo" TO all vms ...)ok 83 rule uuid: 29c56fed-ca96-4699-8bab-39aa9c72948f (creating rule=FROM tag "foo" TO all vms ...)ok 84 full result (creating rule=FROM tag "foo" TO all vms ...)ok 85 getting rule (uuid=29c56fed-ca96-4699-8bab-39aa9c72948f)ok 86 full result (uuid=29c56fed-ca96-4699-8bab-39aa9c72948f)ok 87 creating range of all ports should be successful

list: parsed fieldsok 88 listing rules (params={"owner_uuid":"...","fields":["parsed.action","parsed.ports","parsed.protocol","parsed.tags"]})ok 89 full result (params={"owner_uuid":"...","fields":["parsed.action","parsed.ports","parsed.protocol","parsed.tags"]})

list: IPsec protocols

list: IPsec protocols - AHok 90 listing rules (params={"owner_uuid":"...","protocol":"ah"})ok 91 full result (params={"owner_uuid":"...","protocol":"ah"})

list: IPsec protocols - ESPok 92 listing rules (params={"owner_uuid":"...","protocol":"..."})ok 93 full result (params={"owner_uuid":"...","protocol":"..."})

list: ICMP

list: ICMP - v4ok 94 listing rules (params={"owner_uuid":"...","protocol":"..."})ok 95 full result (params={"owner_uuid":"...","protocol":"..."})

list: ICMP - v6ok 96 listing rules (params={"owner_uuid":"...","protocol":"..."})ok 97 full result (params={"owner_uuid":"...","protocol":"..."})

list: request parsed "fields"ok 98 listing rules (params={"owner_uuid":"...","fields":["parsed.action","parsed.ports","parsed.protocol","parsed.tags"]})ok 99 full result (params={"owner_uuid":"...","fields":["parsed.action","parsed.ports","parsed.protocol","parsed.tags"]})

teardownok 100 uuid (del rule=3131c3a8-5f53-40cc-b59a-dd25954c278d)ok 101 result (del rule=3131c3a8-5f53-40cc-b59a-dd25954c278d)ok 102 x-update-id: bbe1e06a-9447-47d2-8417-3acff9456edd (del rule=3131c3a8-5f53-40cc-b59a-dd25954c278d)ok 103 status code (del rule=3131c3a8-5f53-40cc-b59a-dd25954c278d)ok 104 Failed to delete ruleok 105 expected errorok 106 status codeok 107 error bodyok 108 uuid (del rule=0e3c0f9c-3968-4c8a-ace1-d4a197174ec7)ok 109 result (del rule=0e3c0f9c-3968-4c8a-ace1-d4a197174ec7)ok 110 x-update-id: 51f019ff-e19b-4985-bb8c-ec318cf785df (del rule=0e3c0f9c-3968-4c8a-ace1-d4a197174ec7)ok 111 status code (del rule=0e3c0f9c-3968-4c8a-ace1-d4a197174ec7)ok 112 Failed to delete ruleok 113 expected errorok 114 status codeok 115 error bodyok 116 uuid (del rule=82b5b2ed-0366-4e95-b347-466d278c4e07)ok 117 result (del rule=82b5b2ed-0366-4e95-b347-466d278c4e07)ok 118 x-update-id: 4fb87d85-db56-4c0c-8a22-12ebfdae9928 (del rule=82b5b2ed-0366-4e95-b347-466d278c4e07)ok 119 status code (del rule=82b5b2ed-0366-4e95-b347-466d278c4e07)ok 120 Failed to delete ruleok 121 expected errorok 122 status codeok 123 error bodyok 124 uuid (del rule=860c7fd6-8a29-4746-911d-38015bcea1de)ok 125 result (del rule=860c7fd6-8a29-4746-911d-38015bcea1de)ok 126 x-update-id: 20810e21-abc5-4942-87d8-e20788a99a47 (del rule=860c7fd6-8a29-4746-911d-38015bcea1de)ok 127 status code (del rule=860c7fd6-8a29-4746-911d-38015bcea1de)ok 128 Failed to delete ruleok 129 expected errorok 130 status codeok 131 error bodyok 132 uuid (del rule=815cf2ae-ed64-424f-b0d0-d484421d7806)ok 133 result (del rule=815cf2ae-ed64-424f-b0d0-d484421d7806)ok 134 x-update-id: cc10160d-c22f-4abf-9d1f-78c5e5fbd32d (del rule=815cf2ae-ed64-424f-b0d0-d484421d7806)ok 135 status code (del rule=815cf2ae-ed64-424f-b0d0-d484421d7806)ok 136 Failed to delete ruleok 137 expected errorok 138 status codeok 139 error bodyok 140 uuid (del rule=e64098d8-ce87-493c-a5a4-609882da4e9c)ok 141 result (del rule=e64098d8-ce87-493c-a5a4-609882da4e9c)ok 142 x-update-id: d67f8e1b-fbfc-424d-b85e-88ef170fc4f9 (del rule=e64098d8-ce87-493c-a5a4-609882da4e9c)ok 143 status code (del rule=e64098d8-ce87-493c-a5a4-609882da4e9c)ok 144 Failed to delete ruleok 145 expected errorok 146 status codeok 147 error bodyok 148 uuid (del rule=4cac4a5d-ae6a-4114-a4b0-8054234adea6)ok 149 result (del rule=4cac4a5d-ae6a-4114-a4b0-8054234adea6)ok 150 x-update-id: e4f8794e-079d-49ef-93e8-5b9cd2aca0c0 (del rule=4cac4a5d-ae6a-4114-a4b0-8054234adea6)ok 151 status code (del rule=4cac4a5d-ae6a-4114-a4b0-8054234adea6)ok 152 Failed to delete ruleok 153 expected errorok 154 status codeok 155 error bodyok 156 uuid (del rule=d43211cc-e806-427a-9449-d92fe0368e01)ok 157 result (del rule=d43211cc-e806-427a-9449-d92fe0368e01)ok 158 x-update-id: 9324ceb1-a587-442b-840f-e87f93af2614 (del rule=d43211cc-e806-427a-9449-d92fe0368e01)ok 159 status code (del rule=d43211cc-e806-427a-9449-d92fe0368e01)ok 160 Failed to delete ruleok 161 expected errorok 162 status codeok 163 error bodyok 164 uuid (del rule=e997737b-838a-40d8-a8f1-6aa1ed347a75)ok 165 result (del rule=e997737b-838a-40d8-a8f1-6aa1ed347a75)ok 166 x-update-id: 75deb43a-63fa-4c45-afb6-b423ff8068c3 (del rule=e997737b-838a-40d8-a8f1-6aa1ed347a75)ok 167 status code (del rule=e997737b-838a-40d8-a8f1-6aa1ed347a75)ok 168 Failed to delete ruleok 169 expected errorok 170 status codeok 171 error bodyok 172 uuid (del rule=496d7844-f073-40f7-8018-999e59c680f8)ok 173 result (del rule=496d7844-f073-40f7-8018-999e59c680f8)ok 174 x-update-id: 0a92bbde-18aa-4674-9ba1-030960623130 (del rule=496d7844-f073-40f7-8018-999e59c680f8)ok 175 status code (del rule=496d7844-f073-40f7-8018-999e59c680f8)ok 176 Failed to delete ruleok 177 expected errorok 178 status codeok 179 error bodyok 180 uuid (del rule=1705c735-dae6-473b-97c5-0e8236297ceb)ok 181 result (del rule=1705c735-dae6-473b-97c5-0e8236297ceb)ok 182 x-update-id: fe649e5b-0c40-4eaa-8235-25cbe7592947 (del rule=1705c735-dae6-473b-97c5-0e8236297ceb)ok 183 status code (del rule=1705c735-dae6-473b-97c5-0e8236297ceb)ok 184 Failed to delete ruleok 185 expected errorok 186 status codeok 187 error bodyok 188 uuid (del rule=e73b6ad5-f25e-47e0-bc7c-2aa4dcaff419)ok 189 result (del rule=e73b6ad5-f25e-47e0-bc7c-2aa4dcaff419)ok 190 x-update-id: b967568d-c58b-4cc5-9d2f-313da19d6879 (del rule=e73b6ad5-f25e-47e0-bc7c-2aa4dcaff419)ok 191 status code (del rule=e73b6ad5-f25e-47e0-bc7c-2aa4dcaff419)ok 192 Failed to delete ruleok 193 expected errorok 194 status codeok 195 error bodyok 196 uuid (del rule=29c56fed-ca96-4699-8bab-39aa9c72948f)ok 197 result (del rule=29c56fed-ca96-4699-8bab-39aa9c72948f)ok 198 x-update-id: 96a7e36d-af0b-4962-8d25-29438885bc74 (del rule=29c56fed-ca96-4699-8bab-39aa9c72948f)ok 199 status code (del rule=29c56fed-ca96-4699-8bab-39aa9c72948f)ok 200 Failed to delete ruleok 201 expected errorok 202 status codeok 203 error body

1..203

tests 203

pass  203

ok

provision.multi-test.js

SKIP /opt/smartdc/fwapi/test/integration/provision.multi-test.js tests (no server2_uuid)TAP version 13

1..0

tests 0

pass  0

ok

resolve.test.jsTAP version 13

setupok 1 creating rule (creating rule=FROM (tag "☂" = "ທ" OR tag...)ok 2 x-update-id: 27a2b9f9-bdeb-4a78-8562-7a6be17e3d63 (creating rule=FROM (tag "☂" = "ທ" OR tag...)ok 3 rule uuid: 73287e08-552f-40af-a092-df5fc19ff2b8 (creating rule=FROM (tag "☂" = "ທ" OR tag...)ok 4 full result (creating rule=FROM (tag "☂" = "ທ" OR tag...)ok 5 getting rule (uuid=73287e08-552f-40af-a092-df5fc19ff2b8)ok 6 full result (uuid=73287e08-552f-40af-a092-df5fc19ff2b8)ok 7 creating rule (creating rule=FROM (tag "[" = "*" OR tag...)ok 8 x-update-id: db43f3c9-f8b6-4e22-8bc7-4a5cbf488da4 (creating rule=FROM (tag "[" = "*" OR tag...)ok 9 rule uuid: 3bbb8456-68c8-43d4-acdb-eaab2c15e047 (creating rule=FROM (tag "[" = "*" OR tag...)ok 10 full result (creating rule=FROM (tag "[" = "*" OR tag...)ok 11 getting rule (uuid=3bbb8456-68c8-43d4-acdb-eaab2c15e047)ok 12 full result (uuid=3bbb8456-68c8-43d4-acdb-eaab2c15e047)ok 13 creating rule (creating rule=FROM (tag "*" = "=" OR tag...)ok 14 x-update-id: e57f1aba-dcde-4821-a37c-1ef7d1f09099 (creating rule=FROM (tag "*" = "=" OR tag...)ok 15 rule uuid: f81f1db7-702d-4bc4-b62d-96659b7a4d8b (creating rule=FROM (tag "*" = "=" OR tag...)ok 16 full result (creating rule=FROM (tag "*" = "=" OR tag...)ok 17 getting rule (uuid=f81f1db7-702d-4bc4-b62d-96659b7a4d8b)ok 18 full result (uuid=f81f1db7-702d-4bc4-b62d-96659b7a4d8b)ok 19 creating rule (creating rule=FROM (tag "\"" = "*" OR ta...)ok 20 x-update-id: d75ba167-6ac8-4b75-ad30-61498fb49289 (creating rule=FROM (tag "\"" = "*" OR ta...)ok 21 rule uuid: 7b16d0ac-7b94-487f-9128-3e700a11a72d (creating rule=FROM (tag "\"" = "*" OR ta...)ok 22 full result (creating rule=FROM (tag "\"" = "*" OR ta...)

Comment by Jira Bot
Created at 2022-04-01T14:48:44.102Z

sdc-fwapi commit 34f962b6738e90eab53389d2e5abefe445adbc39 (branch master, by Brian Bennett)

TRITON-2295 update sdc-fwapi base image to triton-origin-x86_64-21.4.0 (#17)

Reviewed by: Dan McDonald <danmcd@kebe.com>