2025-11-05 16:23:13,795 - INFO - Domain Default found not creating 2025-11-05 16:23:13,978 - INFO - Project ctest-TestBasicPolicy-14574787 not found, creating it 2025-11-05 16:23:14,458 - INFO - Created Project:ctest-TestBasicPolicy-14574787, ID : a435df08-7abc-4178-a6f6-25430ddd0a84 2025-11-05 16:23:16,099 - INFO - ================================================================================ 2025-11-05 16:23:16,099 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-05 16:23:16,099 - 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-11-05 16:23:16,361 - DEBUG - Nothing to compare xmpp stats {'10.0.0.147': {'10.20.0.249': '0'}} with 2025-11-05 16:23:16,361 - INFO - Initial checks done. Running the testcase now 2025-11-05 16:23:16,361 - INFO - 2025-11-05 16:23:16,983 - DEBUG - Response for create_network : {'network': {'id': '456e9171-5e41-4004-a4ad-d4f48a977722', 'name': 'ctest-vn-74492398', 'tenant_id': 'a435df087abc4178a6f625430ddd0a84', 'project_id': 'a435df087abc4178a6f625430ddd0a84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14574787', 'ctest-vn-74492398'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 16:23:17,186 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c82e0d20-4b95-48f0-875f-2413f1669181', 'name': '', 'tenant_id': 'a435df087abc4178a6f625430ddd0a84', 'network_id': '456e9171-5e41-4004-a4ad-d4f48a977722', 'ip_version': 4, 'cidr': '105.249.34.64/26', 'allocation_pools': [{'start': '105.249.34.66', 'end': '105.249.34.126'}], 'gateway_ip': '105.249.34.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.249.34.66', 'tags': [], 'project_id': 'a435df087abc4178a6f625430ddd0a84'}} 2025-11-05 16:23:17,209 - INFO - Created VN ctest-vn-74492398 2025-11-05 16:23:17,267 - DEBUG - VN ctest-vn-74492398 UUID is 456e9171-5e41-4004-a4ad-d4f48a977722 2025-11-05 16:23:17,578 - DEBUG - Response for create_network : {'network': {'id': 'a012d54d-7009-4b9c-9779-66b3f16e51a8', 'name': 'ctest-vn-48898056', 'tenant_id': 'a435df087abc4178a6f625430ddd0a84', 'project_id': 'a435df087abc4178a6f625430ddd0a84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14574787', 'ctest-vn-48898056'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 16:23:17,737 - DEBUG - Response for create_subnet : {'subnet': {'id': '10cd5cfe-868f-428e-897a-e076310fbe48', 'name': '', 'tenant_id': 'a435df087abc4178a6f625430ddd0a84', 'network_id': 'a012d54d-7009-4b9c-9779-66b3f16e51a8', 'ip_version': 4, 'cidr': '209.115.176.64/26', 'allocation_pools': [{'start': '209.115.176.66', 'end': '209.115.176.126'}], 'gateway_ip': '209.115.176.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.115.176.66', 'tags': [], 'project_id': 'a435df087abc4178a6f625430ddd0a84'}} 2025-11-05 16:23:17,758 - INFO - Created VN ctest-vn-48898056 2025-11-05 16:23:17,815 - DEBUG - VN ctest-vn-48898056 UUID is a012d54d-7009-4b9c-9779-66b3f16e51a8 2025-11-05 16:23:17,943 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-14574787:ctest-vn-74492398, 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-14574787:ctest-vn-48898056, 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-11-05 16:23:18,259 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '456e9171-5e41-4004-a4ad-d4f48a977722', 'name': 'ctest-vn-74492398', 'tenant_id': 'a435df087abc4178a6f625430ddd0a84', 'project_id': 'a435df087abc4178a6f625430ddd0a84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c82e0d20-4b95-48f0-875f-2413f1669181'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14574787', 'ctest-vn-74492398'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14574787', 'ctest-policy-allow-all-95469295']], 'subnet_ipam': [{'subnet_cidr': '105.249.34.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 16:23:18,537 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a012d54d-7009-4b9c-9779-66b3f16e51a8', 'name': 'ctest-vn-48898056', 'tenant_id': 'a435df087abc4178a6f625430ddd0a84', 'project_id': 'a435df087abc4178a6f625430ddd0a84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['10cd5cfe-868f-428e-897a-e076310fbe48'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14574787', 'ctest-vn-48898056'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14574787', 'ctest-policy-allow-all-95469295']], 'subnet_ipam': [{'subnet_cidr': '209.115.176.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 16:23:18,703 - DEBUG - Requesting: http://10.0.0.147:8082/domains 2025-11-05 16:23:19,040 - DEBUG - Requesting: http://10.0.0.147:8082/domains 2025-11-05 16:23:19,070 - DEBUG - Requesting: http://10.0.0.147:8082/domain/ad16a0d8-919e-4d52-94ae-2502c0ee8856 2025-11-05 16:23:19,084 - DEBUG - Requesting: http://10.0.0.147:8082/project/a435df08-7abc-4178-a6f6-25430ddd0a84 2025-11-05 16:23:19,165 - DEBUG - Requesting: http://10.0.0.147:8082/virtual-network/456e9171-5e41-4004-a4ad-d4f48a977722 2025-11-05 16:23:19,179 - DEBUG - Requesting: http://10.0.0.147:8082/virtual-network/456e9171-5e41-4004-a4ad-d4f48a977722 2025-11-05 16:23:19,190 - DEBUG - Requesting: http://10.0.0.147:8082/routing-instance/0fb0c4cb-a192-4500-9618-de1128a3217d 2025-11-05 16:23:19,199 - DEBUG - Requesting: http://10.0.0.147:8082/routing-instance/0fb0c4cb-a192-4500-9618-de1128a3217d 2025-11-05 16:23:19,206 - DEBUG - Requesting: http://10.0.0.147:8082/route-target/d562b210-0294-41b8-8d8d-a11f5eef816d 2025-11-05 16:23:19,214 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 16:23:19,214 - DEBUG - Requesting: http://10.0.0.147:8082/virtual-network/456e9171-5e41-4004-a4ad-d4f48a977722 2025-11-05 16:23:19,224 - DEBUG - Requesting: http://10.0.0.147:8082/routing-instance/0fb0c4cb-a192-4500-9618-de1128a3217d 2025-11-05 16:23:19,242 - INFO - Verified VN network id 11 for VN 456e9171-5e41-4004-a4ad-d4f48a977722 2025-11-05 16:23:19,243 - INFO - Verifications in API Server for VN ctest-vn-74492398 passed 2025-11-05 16:23:19,243 - DEBUG - Requesting: http://10.0.0.147:8082/virtual-network/456e9171-5e41-4004-a4ad-d4f48a977722 2025-11-05 16:23:19,253 - DEBUG - Requesting: http://10.0.0.147:8082/routing-instance/0fb0c4cb-a192-4500-9618-de1128a3217d 2025-11-05 16:23:19,261 - DEBUG - Requesting: http://10.0.0.147:8082/routing-instance/0fb0c4cb-a192-4500-9618-de1128a3217d 2025-11-05 16:23:19,268 - DEBUG - Requesting: http://10.0.0.147:8082/route-target/d562b210-0294-41b8-8d8d-a11f5eef816d 2025-11-05 16:23:19,281 - DEBUG - Control-node 10.0.0.147 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14574787:ctest-vn-74492398', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14574787', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5003096152153866244', 'uuid-lslong': '11866374739953415970'}, 'enable': 'true', 'created': '2025-11-05T16:23:16', 'last-modified': '2025-11-05T16:23:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.047549'} 2025-11-05 16:23:19,287 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 16:23:19,288 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74492398 passed 2025-11-05 16:23:19,288 - DEBUG - ====Verifying policy data for ctest-vn-74492398 in API_Server ====== 2025-11-05 16:23:19,288 - DEBUG - Requesting: http://10.0.0.147:8082/domains 2025-11-05 16:23:19,294 - DEBUG - Requesting: http://10.0.0.147:8082/domain/ad16a0d8-919e-4d52-94ae-2502c0ee8856 2025-11-05 16:23:19,308 - DEBUG - Requesting: http://10.0.0.147:8082/project/a435df08-7abc-4178-a6f6-25430ddd0a84 2025-11-05 16:23:19,384 - DEBUG - Requesting: http://10.0.0.147:8082/virtual-network/456e9171-5e41-4004-a4ad-d4f48a977722 2025-11-05 16:23:19,397 - DEBUG - ==>Verifying data for policy with id: 51a51cf7-fba1-460a-b552-396855f3f347, fqn: ['default-domain', 'ctest-TestBasicPolicy-14574787', 'ctest-policy-allow-all-95469295'] 2025-11-05 16:23:19,397 - INFO - VN ctest-vn-74492398 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 16:23:19,398 - DEBUG - Verifying the vn in opserver 2025-11-05 16:23:19,398 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14574787:ctest-vn-74492398 virtual network link through opserver 10.0.0.147 2025-11-05 16:23:19,398 - DEBUG - Requesting: http://10.0.0.147:8081/analytics/uves/virtual-networks 2025-11-05 16:23:19,754 - DEBUG - Requesting: http://10.0.0.147:8081/analytics/uves/virtual-networks 2025-11-05 16:23:19,824 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14574787:ctest-vn-74492398', 'href': 'http://10.0.0.147:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14574787:ctest-vn-74492398?flat'} 2025-11-05 16:23:19,824 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14574787:ctest-vn-74492398 is found in opserver 2025-11-05 16:23:19,842 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 16:23:19,848 - DEBUG - VRF ids for VN ctest-vn-74492398: {} 2025-11-05 16:23:19,848 - DEBUG - Requesting: http://10.0.0.147:8082/domains 2025-11-05 16:23:19,855 - DEBUG - Requesting: http://10.0.0.147:8082/domain/ad16a0d8-919e-4d52-94ae-2502c0ee8856 2025-11-05 16:23:19,869 - DEBUG - Requesting: http://10.0.0.147:8082/project/a435df08-7abc-4178-a6f6-25430ddd0a84 2025-11-05 16:23:19,942 - DEBUG - Requesting: http://10.0.0.147:8082/virtual-network/a012d54d-7009-4b9c-9779-66b3f16e51a8 2025-11-05 16:23:19,957 - DEBUG - Requesting: http://10.0.0.147:8082/virtual-network/a012d54d-7009-4b9c-9779-66b3f16e51a8 2025-11-05 16:23:19,968 - DEBUG - Requesting: http://10.0.0.147:8082/routing-instance/ee9c87c1-0b5f-4173-a876-6658984b4192 2025-11-05 16:23:19,975 - DEBUG - Requesting: http://10.0.0.147:8082/routing-instance/ee9c87c1-0b5f-4173-a876-6658984b4192 2025-11-05 16:23:19,983 - DEBUG - Requesting: http://10.0.0.147:8082/route-target/d5e477f3-58bf-4994-8333-02c327e273bd 2025-11-05 16:23:19,991 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 16:23:19,991 - DEBUG - Requesting: http://10.0.0.147:8082/virtual-network/a012d54d-7009-4b9c-9779-66b3f16e51a8 2025-11-05 16:23:20,003 - DEBUG - Requesting: http://10.0.0.147:8082/routing-instance/ee9c87c1-0b5f-4173-a876-6658984b4192 2025-11-05 16:23:20,022 - INFO - Verified VN network id 12 for VN a012d54d-7009-4b9c-9779-66b3f16e51a8 2025-11-05 16:23:20,022 - INFO - Verifications in API Server for VN ctest-vn-48898056 passed 2025-11-05 16:23:20,022 - DEBUG - Requesting: http://10.0.0.147:8082/virtual-network/a012d54d-7009-4b9c-9779-66b3f16e51a8 2025-11-05 16:23:20,035 - DEBUG - Requesting: http://10.0.0.147:8082/routing-instance/ee9c87c1-0b5f-4173-a876-6658984b4192 2025-11-05 16:23:20,045 - DEBUG - Requesting: http://10.0.0.147:8082/routing-instance/ee9c87c1-0b5f-4173-a876-6658984b4192 2025-11-05 16:23:20,057 - DEBUG - Requesting: http://10.0.0.147:8082/route-target/d5e477f3-58bf-4994-8333-02c327e273bd 2025-11-05 16:23:20,076 - DEBUG - Control-node 10.0.0.147 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14574787:ctest-vn-48898056', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14574787', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11534516124218117020', 'uuid-lslong': '10914868094944825768'}, 'enable': 'true', 'created': '2025-11-05T16:23:17', 'last-modified': '2025-11-05T16:23:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.581179'} 2025-11-05 16:23:20,084 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 16:23:20,084 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48898056 passed 2025-11-05 16:23:20,084 - DEBUG - ====Verifying policy data for ctest-vn-48898056 in API_Server ====== 2025-11-05 16:23:20,084 - DEBUG - Requesting: http://10.0.0.147:8082/domains 2025-11-05 16:23:20,092 - DEBUG - Requesting: http://10.0.0.147:8082/domain/ad16a0d8-919e-4d52-94ae-2502c0ee8856 2025-11-05 16:23:20,106 - DEBUG - Requesting: http://10.0.0.147:8082/project/a435df08-7abc-4178-a6f6-25430ddd0a84 2025-11-05 16:23:20,180 - DEBUG - Requesting: http://10.0.0.147:8082/virtual-network/a012d54d-7009-4b9c-9779-66b3f16e51a8 2025-11-05 16:23:20,190 - DEBUG - ==>Verifying data for policy with id: 51a51cf7-fba1-460a-b552-396855f3f347, fqn: ['default-domain', 'ctest-TestBasicPolicy-14574787', 'ctest-policy-allow-all-95469295'] 2025-11-05 16:23:20,190 - INFO - VN ctest-vn-48898056 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 16:23:20,190 - DEBUG - Verifying the vn in opserver 2025-11-05 16:23:20,190 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14574787:ctest-vn-48898056 virtual network link through opserver 10.0.0.147 2025-11-05 16:23:20,190 - DEBUG - Requesting: http://10.0.0.147:8081/analytics/uves/virtual-networks 2025-11-05 16:23:20,202 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14574787:ctest-vn-48898056', 'href': 'http://10.0.0.147:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14574787:ctest-vn-48898056?flat'} 2025-11-05 16:23:20,202 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14574787:ctest-vn-48898056 is found in opserver 2025-11-05 16:23:20,212 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 16:23:20,217 - DEBUG - VRF ids for VN ctest-vn-48898056: {} 2025-11-05 16:23:20,283 - DEBUG - Services list from nova: [, , ] 2025-11-05 16:23:21,527 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4649-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4649-1) 2025-11-05 16:23:23,035 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4649-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4649-1) 2025-11-05 16:23:23,036 - INFO - Waiting for VM ctest-TestBasicPolicy-14574787-62491056 to be up.. 2025-11-05 16:23:23,127 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 16:23:28,231 - DEBUG - VM is in ACTIVE state now 2025-11-05 16:23:28,231 - INFO - VM name : ctest-TestBasicPolicy-14574787-62491056 2025-11-05 16:23:28,338 - DEBUG - VM ctest-TestBasicPolicy-14574787-62491056 ID is 5a4da5ed-6863-4230-8de6-aa2d937426e1 2025-11-05 16:23:28,365 - DEBUG - VM ctest-TestBasicPolicy-14574787-62491056 launched on Node cn-jenkins-deploy-platform-ansible-os-4649-1 2025-11-05 16:23:28,453 - DEBUG - Requesting: http://10.0.0.147:8082/virtual-machine/5a4da5ed-6863-4230-8de6-aa2d937426e1 2025-11-05 16:23:28,463 - DEBUG - Requesting: http://10.0.0.147:8082/virtual-machine-interface/15cfdb6f-d84e-4a54-a92d-78b9cf645cea 2025-11-05 16:23:31,722 - 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 1009ms') 2025-11-05 16:23:31,723 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-14574787-62491056 failed! 2025-11-05 16:23:31,779 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-14574787:ctest-vn-74492398 is 105.249.34.65 and allocation pool is NOT set 2025-11-05 16:23:35,849 - 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=2 ttl=63 time=5.96 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 5.958/5.958/5.958/0.000 ms') 2025-11-05 16:23:35,849 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-14574787-62491056 passed 2025-11-05 16:23:36,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:23:36,007 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-14574787-62491056, IP 105.249.34.67, Port 22 2025-11-05 16:23:36,172 - DEBUG - VM ctest-TestBasicPolicy-14574787-62491056 is ready for SSH connections 2025-11-05 16:23:36,173 - INFO - Waiting for VM ctest-TestBasicPolicy-14574787-97287393 to be up.. 2025-11-05 16:23:36,262 - DEBUG - VM is in ACTIVE state now 2025-11-05 16:23:36,262 - INFO - VM name : ctest-TestBasicPolicy-14574787-97287393 2025-11-05 16:23:36,353 - DEBUG - VM ctest-TestBasicPolicy-14574787-97287393 ID is a13e9a36-c511-46fe-b3e4-beba419268d4 2025-11-05 16:23:36,353 - DEBUG - VM ctest-TestBasicPolicy-14574787-97287393 launched on Node cn-jenkins-deploy-platform-ansible-os-4649-1 2025-11-05 16:23:36,441 - DEBUG - Requesting: http://10.0.0.147:8082/virtual-machine/a13e9a36-c511-46fe-b3e4-beba419268d4 2025-11-05 16:23:36,452 - DEBUG - Requesting: http://10.0.0.147:8082/virtual-machine-interface/899684eb-ccad-4466-9bc7-b1e7b3a10d97 2025-11-05 16:23:37,705 - 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=4.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.636 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.636/2.377/4.119/1.741 ms') 2025-11-05 16:23:37,705 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-14574787-97287393 passed 2025-11-05 16:23:37,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:23:37,859 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-14574787-97287393, IP 209.115.176.67, Port 22 2025-11-05 16:23:38,025 - DEBUG - VM ctest-TestBasicPolicy-14574787-97287393 is ready for SSH connections 2025-11-05 16:23:38,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:23:38,025 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.115.176.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.147, gateway password: c0ntrail123 2025-11-05 16:23:38,025 - DEBUG - ping -s 56 -c 3 -W 1 209.115.176.67 2025-11-05 16:23:42,209 - DEBUG - PING 209.115.176.67 (209.115.176.67): 56 data bytes 64 bytes from 209.115.176.67: seq=0 ttl=63 time=4.503 ms 64 bytes from 209.115.176.67: seq=1 ttl=63 time=1.098 ms 64 bytes from 209.115.176.67: seq=2 ttl=63 time=0.988 ms --- 209.115.176.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.988/2.196/4.503 ms 2025-11-05 16:23:42,209 - INFO - Ping to IP 209.115.176.67 from VM ctest-TestBasicPolicy-14574787-62491056 passed 2025-11-05 16:23:42,406 - DEBUG - Policy Update Response {"network-policy": {"uuid": "51a51cf7-fba1-460a-b552-396855f3f347", "href": "http://10.0.0.147:8082/network-policy/51a51cf7-fba1-460a-b552-396855f3f347"}} 2025-11-05 16:23:42,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:23:42,407 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.115.176.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.147, gateway password: c0ntrail123 2025-11-05 16:23:42,407 - DEBUG - ping -s 56 -c 3 -W 1 209.115.176.67 2025-11-05 16:23:45,647 - DEBUG - PING 209.115.176.67 (209.115.176.67): 56 data bytes --- 209.115.176.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 16:23:45,647 - WARNING - Ping to IP 209.115.176.67 from VM ctest-TestBasicPolicy-14574787-62491056 failed 2025-11-05 16:23:45,647 - INFO - Deleting VM ctest-TestBasicPolicy-14574787-97287393 2025-11-05 16:23:45,721 - INFO - Deleting VM ctest-TestBasicPolicy-14574787-62491056 2025-11-05 16:23:46,119 - INFO - Deleted policy ctest-policy-allow-all-95469295 2025-11-05 16:23:46,119 - INFO - Deleting VN ctest-vn-48898056 2025-11-05 16:23:46,159 - DEBUG - VN a012d54d-7009-4b9c-9779-66b3f16e51a8 still in use: Unable to complete operation on network a012d54d-7009-4b9c-9779-66b3f16e51a8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-125f10c0-8677-4df9-9559-862d9c53b3b1'] 2025-11-05 16:23:46,159 - WARNING - Deleting VN ctest-vn-48898056 failed..Will retry 2025-11-05 16:23:48,280 - DEBUG - Response for deleting network () 2025-11-05 16:23:48,280 - DEBUG - Requesting: http://10.0.0.147:8082/routing-instance/ee9c87c1-0b5f-4173-a876-6658984b4192 2025-11-05 16:23:48,287 - DEBUG - Response Code: 404 2025-11-05 16:23:48,288 - DEBUG - Requesting: http://10.0.0.147:8082/domains 2025-11-05 16:23:48,294 - DEBUG - Requesting: http://10.0.0.147:8082/domain/ad16a0d8-919e-4d52-94ae-2502c0ee8856 2025-11-05 16:23:48,349 - DEBUG - Requesting: http://10.0.0.147:8082/project/a435df08-7abc-4178-a6f6-25430ddd0a84 2025-11-05 16:23:48,428 - INFO - Validated that VN ctest-vn-48898056 is not found in API Server 2025-11-05 16:23:48,438 - DEBUG - VN ctest-vn-48898056 is not present in Agent 10.0.0.147 2025-11-05 16:23:48,438 - INFO - Validated that VN ctest-vn-48898056 is not in any agent 2025-11-05 16:23:48,452 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48898056 info 2025-11-05 16:23:48,452 - INFO - Deleting VN ctest-vn-74492398 2025-11-05 16:23:48,559 - DEBUG - Response for deleting network () 2025-11-05 16:23:48,559 - DEBUG - Requesting: http://10.0.0.147:8082/routing-instance/0fb0c4cb-a192-4500-9618-de1128a3217d 2025-11-05 16:23:48,578 - DEBUG - Response Code: 404 2025-11-05 16:23:48,578 - DEBUG - Requesting: http://10.0.0.147:8082/domains 2025-11-05 16:23:48,585 - DEBUG - Requesting: http://10.0.0.147:8082/domain/ad16a0d8-919e-4d52-94ae-2502c0ee8856 2025-11-05 16:23:48,603 - DEBUG - Requesting: http://10.0.0.147:8082/project/a435df08-7abc-4178-a6f6-25430ddd0a84 2025-11-05 16:23:48,682 - INFO - Validated that VN ctest-vn-74492398 is not found in API Server 2025-11-05 16:23:48,695 - DEBUG - VN ctest-vn-74492398 is not present in Agent 10.0.0.147 2025-11-05 16:23:48,695 - INFO - Validated that VN ctest-vn-74492398 is not in any agent 2025-11-05 16:23:48,711 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74492398 info 2025-11-05 16:23:48,968 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 16:23:48,968 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:32] 2025-11-05 16:23:48,968 - INFO - -------------------------------------------------------------------------------- 2025-11-05 16:23:49,738 - INFO - Deleted project: ctest-TestBasicPolicy-14574787, ID : a435df08-7abc-4178-a6f6-25430ddd0a84