2025-05-27 14:35:37,016 - INFO - Domain Default found not creating 2025-05-27 14:35:37,164 - INFO - Project ctest-TestBasicPolicy-28232286 not found, creating it 2025-05-27 14:35:37,637 - INFO - Created Project:ctest-TestBasicPolicy-28232286, ID : 78b5d83c-11e8-421d-b5b4-70cc855bae7f 2025-05-27 14:35:39,223 - INFO - ================================================================================ 2025-05-27 14:35:39,223 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-27 14:35:39,223 - 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 2025-05-27 14:35:39,480 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-05-27 14:35:39,480 - INFO - Initial checks done. Running the testcase now 2025-05-27 14:35:39,481 - INFO - 2025-05-27 14:35:40,089 - DEBUG - Response for create_network : {'network': {'id': '774d67bc-542c-4919-af07-b3d78a6ceb6c', 'name': 'ctest-vn-94140869', 'tenant_id': '78b5d83c11e8421db5b470cc855bae7f', 'project_id': '78b5d83c11e8421db5b470cc855bae7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28232286', 'ctest-vn-94140869'], 'port_security_enabled': True, 'description': ''}} 2025-05-27 14:35:40,244 - DEBUG - Response for create_subnet : {'subnet': {'id': '65ea7224-8207-4a51-a1a7-c04244ef3774', 'name': '', 'tenant_id': '78b5d83c11e8421db5b470cc855bae7f', 'network_id': '774d67bc-542c-4919-af07-b3d78a6ceb6c', 'ip_version': 4, 'cidr': '129.234.212.0/26', 'allocation_pools': [{'start': '129.234.212.2', 'end': '129.234.212.62'}], 'gateway_ip': '129.234.212.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.234.212.2', 'tags': [], 'project_id': '78b5d83c11e8421db5b470cc855bae7f'}} 2025-05-27 14:35:40,269 - INFO - Created VN ctest-vn-94140869 2025-05-27 14:35:40,322 - DEBUG - VN ctest-vn-94140869 UUID is 774d67bc-542c-4919-af07-b3d78a6ceb6c 2025-05-27 14:35:40,665 - DEBUG - Response for create_network : {'network': {'id': '23c70a41-2b9c-4f67-946d-c9b802cd108f', 'name': 'ctest-vn-75010476', 'tenant_id': '78b5d83c11e8421db5b470cc855bae7f', 'project_id': '78b5d83c11e8421db5b470cc855bae7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28232286', 'ctest-vn-75010476'], 'port_security_enabled': True, 'description': ''}} 2025-05-27 14:35:40,881 - DEBUG - Response for create_subnet : {'subnet': {'id': '1c6b0948-99a2-4675-9d4a-96a05a4a431d', 'name': '', 'tenant_id': '78b5d83c11e8421db5b470cc855bae7f', 'network_id': '23c70a41-2b9c-4f67-946d-c9b802cd108f', 'ip_version': 4, 'cidr': '46.128.18.128/26', 'allocation_pools': [{'start': '46.128.18.130', 'end': '46.128.18.190'}], 'gateway_ip': '46.128.18.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.128.18.130', 'tags': [], 'project_id': '78b5d83c11e8421db5b470cc855bae7f'}} 2025-05-27 14:35:40,900 - INFO - Created VN ctest-vn-75010476 2025-05-27 14:35:40,954 - DEBUG - VN ctest-vn-75010476 UUID is 23c70a41-2b9c-4f67-946d-c9b802cd108f 2025-05-27 14:35:41,106 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28232286:ctest-vn-94140869, 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-28232286:ctest-vn-75010476, 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] 2025-05-27 14:35:41,430 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '774d67bc-542c-4919-af07-b3d78a6ceb6c', 'name': 'ctest-vn-94140869', 'tenant_id': '78b5d83c11e8421db5b470cc855bae7f', 'project_id': '78b5d83c11e8421db5b470cc855bae7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['65ea7224-8207-4a51-a1a7-c04244ef3774'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28232286', 'ctest-vn-94140869'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28232286', 'ctest-policy-allow-all-88539576']], 'subnet_ipam': [{'subnet_cidr': '129.234.212.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-27 14:35:41,666 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '23c70a41-2b9c-4f67-946d-c9b802cd108f', 'name': 'ctest-vn-75010476', 'tenant_id': '78b5d83c11e8421db5b470cc855bae7f', 'project_id': '78b5d83c11e8421db5b470cc855bae7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1c6b0948-99a2-4675-9d4a-96a05a4a431d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28232286', 'ctest-vn-75010476'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28232286', 'ctest-policy-allow-all-88539576']], 'subnet_ipam': [{'subnet_cidr': '46.128.18.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-27 14:35:41,822 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-05-27 14:35:42,162 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-05-27 14:35:42,193 - DEBUG - Requesting: http://10.0.0.22:8082/domain/d409ea93-6831-4f38-ae4a-402ccc6c6473 2025-05-27 14:35:42,207 - DEBUG - Requesting: http://10.0.0.22:8082/project/78b5d83c-11e8-421d-b5b4-70cc855bae7f 2025-05-27 14:35:42,290 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/774d67bc-542c-4919-af07-b3d78a6ceb6c 2025-05-27 14:35:42,305 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/774d67bc-542c-4919-af07-b3d78a6ceb6c 2025-05-27 14:35:42,319 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/dda26df9-512b-4d64-9d97-9ee656ce3d5f 2025-05-27 14:35:42,328 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/dda26df9-512b-4d64-9d97-9ee656ce3d5f 2025-05-27 14:35:42,337 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/e966abb1-39d8-4edf-af66-cf9c9b17d82e 2025-05-27 14:35:42,345 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-27 14:35:42,345 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/774d67bc-542c-4919-af07-b3d78a6ceb6c 2025-05-27 14:35:42,357 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/dda26df9-512b-4d64-9d97-9ee656ce3d5f 2025-05-27 14:35:42,374 - INFO - Verified VN network id 8 for VN 774d67bc-542c-4919-af07-b3d78a6ceb6c 2025-05-27 14:35:42,375 - INFO - Verifications in API Server for VN ctest-vn-94140869 passed 2025-05-27 14:35:42,375 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/774d67bc-542c-4919-af07-b3d78a6ceb6c 2025-05-27 14:35:42,386 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/dda26df9-512b-4d64-9d97-9ee656ce3d5f 2025-05-27 14:35:42,395 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/dda26df9-512b-4d64-9d97-9ee656ce3d5f 2025-05-27 14:35:42,404 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/e966abb1-39d8-4edf-af66-cf9c9b17d82e 2025-05-27 14:35:42,419 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28232286:ctest-vn-94140869', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28232286', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8596641322283845913', 'uuid-lslong': '12612247019796097900'}, 'enable': 'true', 'created': '2025-05-27T14:35:40', 'last-modified': '2025-05-27T14:35:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.019519'} 2025-05-27 14:35:42,429 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-27 14:35:42,429 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94140869 passed 2025-05-27 14:35:42,429 - DEBUG - ====Verifying policy data for ctest-vn-94140869 in API_Server ====== 2025-05-27 14:35:42,429 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-05-27 14:35:42,436 - DEBUG - Requesting: http://10.0.0.22:8082/domain/d409ea93-6831-4f38-ae4a-402ccc6c6473 2025-05-27 14:35:42,453 - DEBUG - Requesting: http://10.0.0.22:8082/project/78b5d83c-11e8-421d-b5b4-70cc855bae7f 2025-05-27 14:35:42,536 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/774d67bc-542c-4919-af07-b3d78a6ceb6c 2025-05-27 14:35:42,548 - DEBUG - ==>Verifying data for policy with id: e5f20297-476c-4aa5-af0a-3377ddf35713, fqn: ['default-domain', 'ctest-TestBasicPolicy-28232286', 'ctest-policy-allow-all-88539576'] 2025-05-27 14:35:42,548 - INFO - VN ctest-vn-94140869 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-27 14:35:42,548 - DEBUG - Verifying the vn in opserver 2025-05-27 14:35:42,548 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28232286:ctest-vn-94140869 virtual network link through opserver 10.0.0.22 2025-05-27 14:35:42,548 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-05-27 14:35:42,881 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-05-27 14:35:42,938 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28232286:ctest-vn-94140869', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28232286:ctest-vn-94140869?flat'} 2025-05-27 14:35:42,939 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28232286:ctest-vn-94140869 is found in opserver 2025-05-27 14:35:42,951 - DEBUG - Do not have enough data to verify VN in agent 2025-05-27 14:35:42,957 - DEBUG - VRF ids for VN ctest-vn-94140869: {} 2025-05-27 14:35:42,957 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-05-27 14:35:42,963 - DEBUG - Requesting: http://10.0.0.22:8082/domain/d409ea93-6831-4f38-ae4a-402ccc6c6473 2025-05-27 14:35:42,975 - DEBUG - Requesting: http://10.0.0.22:8082/project/78b5d83c-11e8-421d-b5b4-70cc855bae7f 2025-05-27 14:35:43,049 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/23c70a41-2b9c-4f67-946d-c9b802cd108f 2025-05-27 14:35:43,063 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/23c70a41-2b9c-4f67-946d-c9b802cd108f 2025-05-27 14:35:43,075 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e61acc62-18f0-4b21-b6ce-03a533450cc6 2025-05-27 14:35:43,082 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e61acc62-18f0-4b21-b6ce-03a533450cc6 2025-05-27 14:35:43,090 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/01d45775-bc44-471e-89de-f1c5d745ce4d 2025-05-27 14:35:43,097 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-27 14:35:43,097 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/23c70a41-2b9c-4f67-946d-c9b802cd108f 2025-05-27 14:35:43,107 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e61acc62-18f0-4b21-b6ce-03a533450cc6 2025-05-27 14:35:43,121 - INFO - Verified VN network id 9 for VN 23c70a41-2b9c-4f67-946d-c9b802cd108f 2025-05-27 14:35:43,121 - INFO - Verifications in API Server for VN ctest-vn-75010476 passed 2025-05-27 14:35:43,121 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/23c70a41-2b9c-4f67-946d-c9b802cd108f 2025-05-27 14:35:43,132 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e61acc62-18f0-4b21-b6ce-03a533450cc6 2025-05-27 14:35:43,139 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e61acc62-18f0-4b21-b6ce-03a533450cc6 2025-05-27 14:35:43,146 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/01d45775-bc44-471e-89de-f1c5d745ce4d 2025-05-27 14:35:43,160 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28232286:ctest-vn-75010476', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28232286', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2578040586713714535', 'uuid-lslong': '10695426482232955023'}, 'enable': 'true', 'created': '2025-05-27T14:35:40', 'last-modified': '2025-05-27T14:35:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.521579'} 2025-05-27 14:35:43,167 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-27 14:35:43,167 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75010476 passed 2025-05-27 14:35:43,167 - DEBUG - ====Verifying policy data for ctest-vn-75010476 in API_Server ====== 2025-05-27 14:35:43,167 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-05-27 14:35:43,173 - DEBUG - Requesting: http://10.0.0.22:8082/domain/d409ea93-6831-4f38-ae4a-402ccc6c6473 2025-05-27 14:35:43,185 - DEBUG - Requesting: http://10.0.0.22:8082/project/78b5d83c-11e8-421d-b5b4-70cc855bae7f 2025-05-27 14:35:43,263 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/23c70a41-2b9c-4f67-946d-c9b802cd108f 2025-05-27 14:35:43,274 - DEBUG - ==>Verifying data for policy with id: e5f20297-476c-4aa5-af0a-3377ddf35713, fqn: ['default-domain', 'ctest-TestBasicPolicy-28232286', 'ctest-policy-allow-all-88539576'] 2025-05-27 14:35:43,274 - INFO - VN ctest-vn-75010476 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-27 14:35:43,274 - DEBUG - Verifying the vn in opserver 2025-05-27 14:35:43,274 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28232286:ctest-vn-75010476 virtual network link through opserver 10.0.0.22 2025-05-27 14:35:43,274 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-05-27 14:35:43,285 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28232286:ctest-vn-75010476', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28232286:ctest-vn-75010476?flat'} 2025-05-27 14:35:43,286 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28232286:ctest-vn-75010476 is found in opserver 2025-05-27 14:35:43,298 - DEBUG - Do not have enough data to verify VN in agent 2025-05-27 14:35:43,303 - DEBUG - VRF ids for VN ctest-vn-75010476: {} 2025-05-27 14:35:43,361 - DEBUG - Services list from nova: [, , ] 2025-05-27 14:35:44,459 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3345-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3345-1) 2025-05-27 14:35:45,793 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3345-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3345-1) 2025-05-27 14:35:45,793 - INFO - Waiting for VM ctest-TestBasicPolicy-28232286-21468092 to be up.. 2025-05-27 14:35:45,873 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-27 14:35:50,960 - DEBUG - VM is in ACTIVE state now 2025-05-27 14:35:50,960 - INFO - VM name : ctest-TestBasicPolicy-28232286-21468092 2025-05-27 14:35:51,037 - DEBUG - VM ctest-TestBasicPolicy-28232286-21468092 ID is 91176ef4-dcfb-48c2-91ef-8addeac396e5 2025-05-27 14:35:51,057 - DEBUG - VM ctest-TestBasicPolicy-28232286-21468092 launched on Node cn-jenkins-deploy-platform-ansible-os-3345-1 2025-05-27 14:35:51,131 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/91176ef4-dcfb-48c2-91ef-8addeac396e5 2025-05-27 14:35:51,140 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2799119f-fef6-4062-b95c-26cf227a9266 2025-05-27 14:35:54,394 - 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 1015ms') 2025-05-27 14:35:54,394 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28232286-21468092 failed! 2025-05-27 14:35:54,450 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-28232286:ctest-vn-94140869 is 129.234.212.1 and allocation pool is NOT set 2025-05-27 14:35:56,514 - 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=7.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.511 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.511/4.048/7.586/3.537 ms') 2025-05-27 14:35:56,514 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28232286-21468092 passed 2025-05-27 14:35:56,670 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-27 14:35:56,670 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28232286-21468092, IP 129.234.212.3, Port 22 2025-05-27 14:35:56,841 - DEBUG - VM ctest-TestBasicPolicy-28232286-21468092 is ready for SSH connections 2025-05-27 14:35:56,841 - INFO - Waiting for VM ctest-TestBasicPolicy-28232286-40140598 to be up.. 2025-05-27 14:35:56,934 - DEBUG - VM is in ACTIVE state now 2025-05-27 14:35:56,934 - INFO - VM name : ctest-TestBasicPolicy-28232286-40140598 2025-05-27 14:35:57,015 - DEBUG - VM ctest-TestBasicPolicy-28232286-40140598 ID is 95c59a2d-4143-4f4a-a284-e84ad3c1ac4c 2025-05-27 14:35:57,015 - DEBUG - VM ctest-TestBasicPolicy-28232286-40140598 launched on Node cn-jenkins-deploy-platform-ansible-os-3345-1 2025-05-27 14:35:57,091 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/95c59a2d-4143-4f4a-a284-e84ad3c1ac4c 2025-05-27 14:35:57,100 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/fc13b487-cded-4235-8f7b-6cc8077ec4d9 2025-05-27 14:35:58,345 - 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=3.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.601 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.601/2.270/3.939/1.669 ms') 2025-05-27 14:35:58,345 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-28232286-40140598 passed 2025-05-27 14:35:58,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-27 14:35:58,494 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28232286-40140598, IP 46.128.18.131, Port 22 2025-05-27 14:35:58,650 - DEBUG - VM ctest-TestBasicPolicy-28232286-40140598 is ready for SSH connections 2025-05-27 14:35:58,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-27 14:35:58,650 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.128.18.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-05-27 14:35:58,650 - DEBUG - ping -s 56 -c 3 -W 1 46.128.18.131 2025-05-27 14:36:02,352 - DEBUG - PING 46.128.18.131 (46.128.18.131): 56 data bytes 64 bytes from 46.128.18.131: seq=0 ttl=63 time=3.647 ms 64 bytes from 46.128.18.131: seq=1 ttl=63 time=0.893 ms 64 bytes from 46.128.18.131: seq=2 ttl=63 time=0.913 ms --- 46.128.18.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.893/1.817/3.647 ms 2025-05-27 14:36:02,352 - INFO - Ping to IP 46.128.18.131 from VM ctest-TestBasicPolicy-28232286-21468092 passed 2025-05-27 14:36:02,546 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e5f20297-476c-4aa5-af0a-3377ddf35713", "href": "http://10.0.0.22:8082/network-policy/e5f20297-476c-4aa5-af0a-3377ddf35713"}} 2025-05-27 14:36:02,546 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-27 14:36:02,546 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.128.18.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-05-27 14:36:02,546 - DEBUG - ping -s 56 -c 3 -W 1 46.128.18.131 2025-05-27 14:36:05,772 - DEBUG - PING 46.128.18.131 (46.128.18.131): 56 data bytes 64 bytes from 46.128.18.131: seq=0 ttl=63 time=1.376 ms --- 46.128.18.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.376/1.376/1.376 ms 2025-05-27 14:36:05,772 - WARNING - Ping to IP 46.128.18.131 from VM ctest-TestBasicPolicy-28232286-21468092 failed 2025-05-27 14:36:05,772 - INFO - Deleting VM ctest-TestBasicPolicy-28232286-40140598 2025-05-27 14:36:05,836 - INFO - Deleting VM ctest-TestBasicPolicy-28232286-21468092 2025-05-27 14:36:06,286 - INFO - Deleted policy ctest-policy-allow-all-88539576 2025-05-27 14:36:06,287 - INFO - Deleting VN ctest-vn-75010476 2025-05-27 14:36:06,323 - DEBUG - VN 23c70a41-2b9c-4f67-946d-c9b802cd108f still in use: Unable to complete operation on network 23c70a41-2b9c-4f67-946d-c9b802cd108f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-11d6706f-a59a-43be-b7da-081622a9a1e7'] 2025-05-27 14:36:06,323 - WARNING - Deleting VN ctest-vn-75010476 failed..Will retry 2025-05-27 14:36:08,441 - DEBUG - Response for deleting network () 2025-05-27 14:36:08,441 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e61acc62-18f0-4b21-b6ce-03a533450cc6 2025-05-27 14:36:08,451 - DEBUG - Response Code: 404 2025-05-27 14:36:08,451 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-05-27 14:36:08,457 - DEBUG - Requesting: http://10.0.0.22:8082/domain/d409ea93-6831-4f38-ae4a-402ccc6c6473 2025-05-27 14:36:08,513 - DEBUG - Requesting: http://10.0.0.22:8082/project/78b5d83c-11e8-421d-b5b4-70cc855bae7f 2025-05-27 14:36:08,594 - INFO - Validated that VN ctest-vn-75010476 is not found in API Server 2025-05-27 14:36:08,605 - DEBUG - VN ctest-vn-75010476 is not present in Agent 10.0.0.22 2025-05-27 14:36:08,605 - INFO - Validated that VN ctest-vn-75010476 is not in any agent 2025-05-27 14:36:08,626 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75010476 info 2025-05-27 14:36:08,626 - INFO - Deleting VN ctest-vn-94140869 2025-05-27 14:36:08,730 - DEBUG - Response for deleting network () 2025-05-27 14:36:08,730 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/dda26df9-512b-4d64-9d97-9ee656ce3d5f 2025-05-27 14:36:08,735 - DEBUG - Response Code: 404 2025-05-27 14:36:08,735 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-05-27 14:36:08,743 - DEBUG - Requesting: http://10.0.0.22:8082/domain/d409ea93-6831-4f38-ae4a-402ccc6c6473 2025-05-27 14:36:08,795 - DEBUG - Requesting: http://10.0.0.22:8082/project/78b5d83c-11e8-421d-b5b4-70cc855bae7f 2025-05-27 14:36:08,869 - INFO - Validated that VN ctest-vn-94140869 is not found in API Server 2025-05-27 14:36:08,881 - DEBUG - VN ctest-vn-94140869 is not present in Agent 10.0.0.22 2025-05-27 14:36:08,881 - INFO - Validated that VN ctest-vn-94140869 is not in any agent 2025-05-27 14:36:08,897 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94140869 info 2025-05-27 14:36:09,152 - DEBUG - No XMPP flaps were noticed during the test 2025-05-27 14:36:09,153 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-05-27 14:36:09,153 - INFO - -------------------------------------------------------------------------------- 2025-05-27 14:36:09,877 - INFO - Deleted project: ctest-TestBasicPolicy-28232286, ID : 78b5d83c-11e8-421d-b5b4-70cc855bae7f