2026-06-15 17:13:28,429 - INFO - Domain Default found not creating 2026-06-15 17:13:28,557 - INFO - Project ctest-TestBasicPolicy-64444064 not found, creating it 2026-06-15 17:13:28,977 - INFO - Created Project:ctest-TestBasicPolicy-64444064, ID : 79fe87c3-340f-4609-a277-29f507e83af4 2026-06-15 17:13:30,397 - INFO - ================================================================================ 2026-06-15 17:13:30,398 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-15 17:13:30,398 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-06-15 17:13:30,655 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-06-15 17:13:30,655 - INFO - Initial checks done. Running the testcase now 2026-06-15 17:13:30,655 - INFO - 2026-06-15 17:13:31,213 - DEBUG - Response for create_network : {'network': {'id': '859ae292-ce7d-49c1-bcc1-62474a0d5baf', 'name': 'ctest-vn-88969630', 'tenant_id': '79fe87c3340f4609a27729f507e83af4', 'project_id': '79fe87c3340f4609a27729f507e83af4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64444064', 'ctest-vn-88969630'], 'port_security_enabled': True, 'description': ''}} 2026-06-15 17:13:31,419 - DEBUG - Response for create_subnet : {'subnet': {'id': '8cfd4102-32c5-446f-8d4d-f2fca467f373', 'name': '', 'tenant_id': '79fe87c3340f4609a27729f507e83af4', 'network_id': '859ae292-ce7d-49c1-bcc1-62474a0d5baf', 'ip_version': 4, 'cidr': '107.146.242.0/26', 'allocation_pools': [{'start': '107.146.242.2', 'end': '107.146.242.62'}], 'gateway_ip': '107.146.242.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.146.242.2', 'tags': [], 'project_id': '79fe87c3340f4609a27729f507e83af4'}} 2026-06-15 17:13:31,432 - INFO - Created VN ctest-vn-88969630 2026-06-15 17:13:31,482 - DEBUG - VN ctest-vn-88969630 UUID is 859ae292-ce7d-49c1-bcc1-62474a0d5baf 2026-06-15 17:13:31,780 - DEBUG - Response for create_network : {'network': {'id': '4b6346f3-3b51-4c2d-87fa-62addbb65efa', 'name': 'ctest-vn-55802790', 'tenant_id': '79fe87c3340f4609a27729f507e83af4', 'project_id': '79fe87c3340f4609a27729f507e83af4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64444064', 'ctest-vn-55802790'], 'port_security_enabled': True, 'description': ''}} 2026-06-15 17:13:31,929 - DEBUG - Response for create_subnet : {'subnet': {'id': '1d4e5776-bc3b-4122-b7a8-b70f2cdb831b', 'name': '', 'tenant_id': '79fe87c3340f4609a27729f507e83af4', 'network_id': '4b6346f3-3b51-4c2d-87fa-62addbb65efa', 'ip_version': 4, 'cidr': '174.188.237.128/26', 'allocation_pools': [{'start': '174.188.237.130', 'end': '174.188.237.190'}], 'gateway_ip': '174.188.237.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.188.237.130', 'tags': [], 'project_id': '79fe87c3340f4609a27729f507e83af4'}} 2026-06-15 17:13:31,943 - INFO - Created VN ctest-vn-55802790 2026-06-15 17:13:31,995 - DEBUG - VN ctest-vn-55802790 UUID is 4b6346f3-3b51-4c2d-87fa-62addbb65efa 2026-06-15 17:13:32,134 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-64444064:ctest-vn-88969630, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-64444064:ctest-vn-55802790, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-06-15 17:13:32,414 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '859ae292-ce7d-49c1-bcc1-62474a0d5baf', 'name': 'ctest-vn-88969630', 'tenant_id': '79fe87c3340f4609a27729f507e83af4', 'project_id': '79fe87c3340f4609a27729f507e83af4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8cfd4102-32c5-446f-8d4d-f2fca467f373'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64444064', 'ctest-vn-88969630'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64444064', 'ctest-policy-allow-all-10533699']], 'subnet_ipam': [{'subnet_cidr': '107.146.242.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-15 17:13:32,624 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4b6346f3-3b51-4c2d-87fa-62addbb65efa', 'name': 'ctest-vn-55802790', 'tenant_id': '79fe87c3340f4609a27729f507e83af4', 'project_id': '79fe87c3340f4609a27729f507e83af4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1d4e5776-bc3b-4122-b7a8-b70f2cdb831b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64444064', 'ctest-vn-55802790'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64444064', 'ctest-policy-allow-all-10533699']], 'subnet_ipam': [{'subnet_cidr': '174.188.237.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-15 17:13:32,782 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-15 17:13:33,099 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-15 17:13:33,122 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6ce25000-4b40-40f0-9211-4873d51fb9b5 2026-06-15 17:13:33,132 - DEBUG - Requesting: http://10.0.0.50:8082/project/79fe87c3-340f-4609-a277-29f507e83af4 2026-06-15 17:13:33,205 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/859ae292-ce7d-49c1-bcc1-62474a0d5baf 2026-06-15 17:13:33,217 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/859ae292-ce7d-49c1-bcc1-62474a0d5baf 2026-06-15 17:13:33,226 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0936670b-70ef-4709-a662-c73004649210 2026-06-15 17:13:33,235 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0936670b-70ef-4709-a662-c73004649210 2026-06-15 17:13:33,243 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/81045676-013d-4bd5-8895-720c3412eb09 2026-06-15 17:13:33,250 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-15 17:13:33,250 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/859ae292-ce7d-49c1-bcc1-62474a0d5baf 2026-06-15 17:13:33,257 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0936670b-70ef-4709-a662-c73004649210 2026-06-15 17:13:33,268 - INFO - Verified VN network id 11 for VN 859ae292-ce7d-49c1-bcc1-62474a0d5baf 2026-06-15 17:13:33,268 - INFO - Verifications in API Server for VN ctest-vn-88969630 passed 2026-06-15 17:13:33,268 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/859ae292-ce7d-49c1-bcc1-62474a0d5baf 2026-06-15 17:13:33,276 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0936670b-70ef-4709-a662-c73004649210 2026-06-15 17:13:33,282 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0936670b-70ef-4709-a662-c73004649210 2026-06-15 17:13:33,287 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/81045676-013d-4bd5-8895-720c3412eb09 2026-06-15 17:13:33,297 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64444064:ctest-vn-88969630', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64444064', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9627256273615276481', 'uuid-lslong': '13601260407960198063'}, 'enable': 'true', 'created': '2026-06-15T17:13:31', 'last-modified': '2026-06-15T17:13:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.905415'} 2026-06-15 17:13:33,302 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-15 17:13:33,302 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88969630 passed 2026-06-15 17:13:33,302 - DEBUG - ====Verifying policy data for ctest-vn-88969630 in API_Server ====== 2026-06-15 17:13:33,302 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-15 17:13:33,307 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6ce25000-4b40-40f0-9211-4873d51fb9b5 2026-06-15 17:13:33,316 - DEBUG - Requesting: http://10.0.0.50:8082/project/79fe87c3-340f-4609-a277-29f507e83af4 2026-06-15 17:13:33,384 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/859ae292-ce7d-49c1-bcc1-62474a0d5baf 2026-06-15 17:13:33,398 - DEBUG - ==>Verifying data for policy with id: a2aa5298-edfb-4bb6-8267-421012eac57e, fqn: ['default-domain', 'ctest-TestBasicPolicy-64444064', 'ctest-policy-allow-all-10533699'] 2026-06-15 17:13:33,398 - INFO - VN ctest-vn-88969630 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-15 17:13:33,398 - DEBUG - Verifying the vn in opserver 2026-06-15 17:13:33,398 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64444064:ctest-vn-88969630 virtual network link through opserver 10.0.0.50 2026-06-15 17:13:33,398 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-15 17:13:33,713 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-15 17:13:33,756 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64444064:ctest-vn-88969630', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64444064:ctest-vn-88969630?flat'} 2026-06-15 17:13:33,756 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64444064:ctest-vn-88969630 is found in opserver 2026-06-15 17:13:33,765 - DEBUG - Do not have enough data to verify VN in agent 2026-06-15 17:13:33,768 - DEBUG - VRF ids for VN ctest-vn-88969630: {} 2026-06-15 17:13:33,768 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-15 17:13:33,772 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6ce25000-4b40-40f0-9211-4873d51fb9b5 2026-06-15 17:13:33,781 - DEBUG - Requesting: http://10.0.0.50:8082/project/79fe87c3-340f-4609-a277-29f507e83af4 2026-06-15 17:13:33,850 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4b6346f3-3b51-4c2d-87fa-62addbb65efa 2026-06-15 17:13:33,861 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4b6346f3-3b51-4c2d-87fa-62addbb65efa 2026-06-15 17:13:33,869 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a7e71838-52b2-4131-903a-8e467df57d95 2026-06-15 17:13:33,875 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a7e71838-52b2-4131-903a-8e467df57d95 2026-06-15 17:13:33,881 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/86381894-2d7f-44c7-b75b-588197901b5d 2026-06-15 17:13:33,886 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-15 17:13:33,886 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4b6346f3-3b51-4c2d-87fa-62addbb65efa 2026-06-15 17:13:33,894 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a7e71838-52b2-4131-903a-8e467df57d95 2026-06-15 17:13:33,905 - INFO - Verified VN network id 12 for VN 4b6346f3-3b51-4c2d-87fa-62addbb65efa 2026-06-15 17:13:33,905 - INFO - Verifications in API Server for VN ctest-vn-55802790 passed 2026-06-15 17:13:33,905 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4b6346f3-3b51-4c2d-87fa-62addbb65efa 2026-06-15 17:13:33,912 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a7e71838-52b2-4131-903a-8e467df57d95 2026-06-15 17:13:33,918 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a7e71838-52b2-4131-903a-8e467df57d95 2026-06-15 17:13:33,923 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/86381894-2d7f-44c7-b75b-588197901b5d 2026-06-15 17:13:33,933 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64444064:ctest-vn-55802790', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64444064', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5432263586025131053', 'uuid-lslong': '9798252438152961786'}, 'enable': 'true', 'created': '2026-06-15T17:13:31', 'last-modified': '2026-06-15T17:13:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.327796'} 2026-06-15 17:13:33,938 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-15 17:13:33,938 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55802790 passed 2026-06-15 17:13:33,938 - DEBUG - ====Verifying policy data for ctest-vn-55802790 in API_Server ====== 2026-06-15 17:13:33,939 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-15 17:13:33,943 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6ce25000-4b40-40f0-9211-4873d51fb9b5 2026-06-15 17:13:33,953 - DEBUG - Requesting: http://10.0.0.50:8082/project/79fe87c3-340f-4609-a277-29f507e83af4 2026-06-15 17:13:34,018 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4b6346f3-3b51-4c2d-87fa-62addbb65efa 2026-06-15 17:13:34,026 - DEBUG - ==>Verifying data for policy with id: a2aa5298-edfb-4bb6-8267-421012eac57e, fqn: ['default-domain', 'ctest-TestBasicPolicy-64444064', 'ctest-policy-allow-all-10533699'] 2026-06-15 17:13:34,026 - INFO - VN ctest-vn-55802790 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-15 17:13:34,026 - DEBUG - Verifying the vn in opserver 2026-06-15 17:13:34,026 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64444064:ctest-vn-55802790 virtual network link through opserver 10.0.0.50 2026-06-15 17:13:34,026 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-15 17:13:34,034 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64444064:ctest-vn-55802790', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64444064:ctest-vn-55802790?flat'} 2026-06-15 17:13:34,035 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64444064:ctest-vn-55802790 is found in opserver 2026-06-15 17:13:34,043 - DEBUG - Do not have enough data to verify VN in agent 2026-06-15 17:13:34,047 - DEBUG - VRF ids for VN ctest-vn-55802790: {} 2026-06-15 17:13:34,103 - DEBUG - Services list from nova: [, , ] 2026-06-15 17:13:35,121 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5948-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5948-1) 2026-06-15 17:13:36,278 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5948-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5948-1) 2026-06-15 17:13:36,278 - INFO - Waiting for VM ctest-TestBasicPolicy-64444064-04815239 to be up.. 2026-06-15 17:13:36,318 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-15 17:13:41,381 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-15 17:13:46,450 - DEBUG - VM is in ACTIVE state now 2026-06-15 17:13:46,451 - INFO - VM name : ctest-TestBasicPolicy-64444064-04815239 2026-06-15 17:13:46,512 - DEBUG - VM ctest-TestBasicPolicy-64444064-04815239 ID is 514286d1-55ab-467a-8737-971891e82259 2026-06-15 17:13:46,529 - DEBUG - VM ctest-TestBasicPolicy-64444064-04815239 launched on Node cn-jenkins-deploy-platform-ansible-os-5948-1 2026-06-15 17:13:46,590 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/514286d1-55ab-467a-8737-971891e82259 2026-06-15 17:13:46,597 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8628459b-f740-4a6f-96f0-d0827e896863 2026-06-15 17:13:49,806 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms') 2026-06-15 17:13:49,806 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64444064-04815239 failed! 2026-06-15 17:13:49,866 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-64444064:ctest-vn-88969630 is 107.146.242.1 and allocation pool is NOT set 2026-06-15 17:13:51,927 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=5.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.280 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.280/2.683/5.087/2.403 ms') 2026-06-15 17:13:51,927 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64444064-04815239 passed 2026-06-15 17:13:52,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 17:13:52,078 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64444064-04815239, IP 107.146.242.3, Port 22 2026-06-15 17:13:52,241 - DEBUG - VM ctest-TestBasicPolicy-64444064-04815239 is ready for SSH connections 2026-06-15 17:13:52,241 - INFO - Waiting for VM ctest-TestBasicPolicy-64444064-43413044 to be up.. 2026-06-15 17:13:52,312 - DEBUG - VM is in ACTIVE state now 2026-06-15 17:13:52,312 - INFO - VM name : ctest-TestBasicPolicy-64444064-43413044 2026-06-15 17:13:52,376 - DEBUG - VM ctest-TestBasicPolicy-64444064-43413044 ID is 77748f2c-18d9-4cc3-ae84-486abf707308 2026-06-15 17:13:52,376 - DEBUG - VM ctest-TestBasicPolicy-64444064-43413044 launched on Node cn-jenkins-deploy-platform-ansible-os-5948-1 2026-06-15 17:13:52,442 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/77748f2c-18d9-4cc3-ae84-486abf707308 2026-06-15 17:13:52,448 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8ed3a703-8911-4aa3-831f-a64b99dcbe92 2026-06-15 17:13:53,683 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=5.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.10 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.096/3.844/5.593/1.748 ms') 2026-06-15 17:13:53,683 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-64444064-43413044 passed 2026-06-15 17:13:53,830 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 17:13:53,830 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64444064-43413044, IP 174.188.237.131, Port 22 2026-06-15 17:13:53,896 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-15 17:13:53,964 - DEBUG - VM ctest-TestBasicPolicy-64444064-43413044 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-15 17:13:58,965 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 17:13:58,965 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64444064-43413044, IP 174.188.237.131, Port 22 2026-06-15 17:13:59,122 - DEBUG - VM ctest-TestBasicPolicy-64444064-43413044 is ready for SSH connections 2026-06-15 17:13:59,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 17:13:59,122 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.188.237.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-15 17:13:59,122 - DEBUG - ping -s 56 -c 3 -W 1 174.188.237.131 2026-06-15 17:14:03,012 - DEBUG - PING 174.188.237.131 (174.188.237.131): 56 data bytes 64 bytes from 174.188.237.131: seq=0 ttl=63 time=3.829 ms 64 bytes from 174.188.237.131: seq=1 ttl=63 time=0.730 ms 64 bytes from 174.188.237.131: seq=2 ttl=63 time=0.874 ms --- 174.188.237.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.730/1.811/3.829 ms 2026-06-15 17:14:03,012 - INFO - Ping to IP 174.188.237.131 from VM ctest-TestBasicPolicy-64444064-04815239 passed 2026-06-15 17:14:03,182 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a2aa5298-edfb-4bb6-8267-421012eac57e", "href": "http://10.0.0.50:8082/network-policy/a2aa5298-edfb-4bb6-8267-421012eac57e"}} 2026-06-15 17:14:03,182 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 17:14:03,182 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.188.237.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-15 17:14:03,182 - DEBUG - ping -s 56 -c 3 -W 1 174.188.237.131 2026-06-15 17:14:06,293 - DEBUG - PING 174.188.237.131 (174.188.237.131): 56 data bytes --- 174.188.237.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-15 17:14:06,293 - WARNING - Ping to IP 174.188.237.131 from VM ctest-TestBasicPolicy-64444064-04815239 failed 2026-06-15 17:14:06,294 - INFO - Deleting VM ctest-TestBasicPolicy-64444064-43413044 2026-06-15 17:14:06,363 - INFO - Deleting VM ctest-TestBasicPolicy-64444064-04815239 2026-06-15 17:14:06,658 - INFO - Deleted policy ctest-policy-allow-all-10533699 2026-06-15 17:14:06,658 - INFO - Deleting VN ctest-vn-55802790 2026-06-15 17:14:06,682 - DEBUG - VN 4b6346f3-3b51-4c2d-87fa-62addbb65efa still in use: Unable to complete operation on network 4b6346f3-3b51-4c2d-87fa-62addbb65efa. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-058d5027-28ce-4737-9194-217a5e68017e'] 2026-06-15 17:14:06,683 - WARNING - Deleting VN ctest-vn-55802790 failed..Will retry 2026-06-15 17:14:08,772 - DEBUG - Response for deleting network () 2026-06-15 17:14:08,772 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a7e71838-52b2-4131-903a-8e467df57d95 2026-06-15 17:14:08,778 - DEBUG - Response Code: 404 2026-06-15 17:14:08,778 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-15 17:14:08,783 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6ce25000-4b40-40f0-9211-4873d51fb9b5 2026-06-15 17:14:08,836 - DEBUG - Requesting: http://10.0.0.50:8082/project/79fe87c3-340f-4609-a277-29f507e83af4 2026-06-15 17:14:08,901 - INFO - Validated that VN ctest-vn-55802790 is not found in API Server 2026-06-15 17:14:08,910 - DEBUG - VN ctest-vn-55802790 is not present in Agent 10.0.0.50 2026-06-15 17:14:08,910 - INFO - Validated that VN ctest-vn-55802790 is not in any agent 2026-06-15 17:14:08,921 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55802790 info 2026-06-15 17:14:08,921 - INFO - Deleting VN ctest-vn-88969630 2026-06-15 17:14:09,028 - DEBUG - Response for deleting network () 2026-06-15 17:14:09,028 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0936670b-70ef-4709-a662-c73004649210 2026-06-15 17:14:09,033 - DEBUG - Response Code: 404 2026-06-15 17:14:09,034 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-15 17:14:09,039 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6ce25000-4b40-40f0-9211-4873d51fb9b5 2026-06-15 17:14:09,090 - DEBUG - Requesting: http://10.0.0.50:8082/project/79fe87c3-340f-4609-a277-29f507e83af4 2026-06-15 17:14:09,156 - INFO - Validated that VN ctest-vn-88969630 is not found in API Server 2026-06-15 17:14:09,164 - DEBUG - VN ctest-vn-88969630 is not present in Agent 10.0.0.50 2026-06-15 17:14:09,164 - INFO - Validated that VN ctest-vn-88969630 is not in any agent 2026-06-15 17:14:09,175 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88969630 info 2026-06-15 17:14:09,426 - DEBUG - No XMPP flaps were noticed during the test 2026-06-15 17:14:09,426 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39] 2026-06-15 17:14:09,426 - INFO - -------------------------------------------------------------------------------- 2026-06-15 17:14:10,107 - INFO - Deleted project: ctest-TestBasicPolicy-64444064, ID : 79fe87c3-340f-4609-a277-29f507e83af4