2025-09-25 15:18:22,490 - INFO - Domain Default found not creating 2025-09-25 15:18:22,611 - INFO - Project ctest-TestBasicPolicy-34624855 not found, creating it 2025-09-25 15:18:23,018 - INFO - Created Project:ctest-TestBasicPolicy-34624855, ID : 89619f40-bd23-4577-a467-2d23b85e41da 2025-09-25 15:18:24,313 - INFO - ================================================================================ 2025-09-25 15:18:24,313 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-25 15:18:24,314 - 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-09-25 15:18:24,593 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-25 15:18:24,593 - INFO - Initial checks done. Running the testcase now 2025-09-25 15:18:24,594 - INFO - 2025-09-25 15:18:25,103 - DEBUG - Response for create_network : {'network': {'id': '3e5a7a15-0cf7-4dc3-b358-4f85badd30c5', 'name': 'ctest-vn-14328646', 'tenant_id': '89619f40bd234577a4672d23b85e41da', 'project_id': '89619f40bd234577a4672d23b85e41da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34624855', 'ctest-vn-14328646'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 15:18:25,288 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ecc6679a-0475-4ba0-b506-f4c2a9a26939', 'name': '', 'tenant_id': '89619f40bd234577a4672d23b85e41da', 'network_id': '3e5a7a15-0cf7-4dc3-b358-4f85badd30c5', 'ip_version': 4, 'cidr': '49.9.184.128/26', 'allocation_pools': [{'start': '49.9.184.130', 'end': '49.9.184.190'}], 'gateway_ip': '49.9.184.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.9.184.130', 'tags': [], 'project_id': '89619f40bd234577a4672d23b85e41da'}} 2025-09-25 15:18:25,304 - INFO - Created VN ctest-vn-14328646 2025-09-25 15:18:25,356 - DEBUG - VN ctest-vn-14328646 UUID is 3e5a7a15-0cf7-4dc3-b358-4f85badd30c5 2025-09-25 15:18:25,653 - DEBUG - Response for create_network : {'network': {'id': 'ac93140d-9deb-496b-84a8-09e8f60d5d5b', 'name': 'ctest-vn-74471624', 'tenant_id': '89619f40bd234577a4672d23b85e41da', 'project_id': '89619f40bd234577a4672d23b85e41da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34624855', 'ctest-vn-74471624'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 15:18:25,838 - DEBUG - Response for create_subnet : {'subnet': {'id': '0bcbd281-3232-4793-94a8-2c8c091d7fe5', 'name': '', 'tenant_id': '89619f40bd234577a4672d23b85e41da', 'network_id': 'ac93140d-9deb-496b-84a8-09e8f60d5d5b', 'ip_version': 4, 'cidr': '90.24.174.128/26', 'allocation_pools': [{'start': '90.24.174.130', 'end': '90.24.174.190'}], 'gateway_ip': '90.24.174.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.24.174.130', 'tags': [], 'project_id': '89619f40bd234577a4672d23b85e41da'}} 2025-09-25 15:18:25,854 - INFO - Created VN ctest-vn-74471624 2025-09-25 15:18:25,908 - DEBUG - VN ctest-vn-74471624 UUID is ac93140d-9deb-496b-84a8-09e8f60d5d5b 2025-09-25 15:18:26,052 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-34624855:ctest-vn-14328646, 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-34624855:ctest-vn-74471624, 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-09-25 15:18:26,329 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3e5a7a15-0cf7-4dc3-b358-4f85badd30c5', 'name': 'ctest-vn-14328646', 'tenant_id': '89619f40bd234577a4672d23b85e41da', 'project_id': '89619f40bd234577a4672d23b85e41da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ecc6679a-0475-4ba0-b506-f4c2a9a26939'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34624855', 'ctest-vn-14328646'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34624855', 'ctest-policy-allow-all-11898036']], 'subnet_ipam': [{'subnet_cidr': '49.9.184.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-25 15:18:26,543 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ac93140d-9deb-496b-84a8-09e8f60d5d5b', 'name': 'ctest-vn-74471624', 'tenant_id': '89619f40bd234577a4672d23b85e41da', 'project_id': '89619f40bd234577a4672d23b85e41da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0bcbd281-3232-4793-94a8-2c8c091d7fe5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34624855', 'ctest-vn-74471624'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34624855', 'ctest-policy-allow-all-11898036']], 'subnet_ipam': [{'subnet_cidr': '90.24.174.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-25 15:18:26,708 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-25 15:18:26,998 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-25 15:18:27,022 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b3edf19e-3aff-4e77-9a08-54839a041d5e 2025-09-25 15:18:27,032 - DEBUG - Requesting: http://10.0.0.254:8082/project/89619f40-bd23-4577-a467-2d23b85e41da 2025-09-25 15:18:27,102 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3e5a7a15-0cf7-4dc3-b358-4f85badd30c5 2025-09-25 15:18:27,110 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3e5a7a15-0cf7-4dc3-b358-4f85badd30c5 2025-09-25 15:18:27,117 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bc1c9c3c-0219-44d4-81bf-bdec941c3267 2025-09-25 15:18:27,122 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bc1c9c3c-0219-44d4-81bf-bdec941c3267 2025-09-25 15:18:27,127 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/b958c76a-4a3e-48f8-9e2b-9f9a98414206 2025-09-25 15:18:27,131 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-25 15:18:27,131 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3e5a7a15-0cf7-4dc3-b358-4f85badd30c5 2025-09-25 15:18:27,137 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bc1c9c3c-0219-44d4-81bf-bdec941c3267 2025-09-25 15:18:27,147 - INFO - Verified VN network id 11 for VN 3e5a7a15-0cf7-4dc3-b358-4f85badd30c5 2025-09-25 15:18:27,148 - INFO - Verifications in API Server for VN ctest-vn-14328646 passed 2025-09-25 15:18:27,148 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3e5a7a15-0cf7-4dc3-b358-4f85badd30c5 2025-09-25 15:18:27,154 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bc1c9c3c-0219-44d4-81bf-bdec941c3267 2025-09-25 15:18:27,159 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bc1c9c3c-0219-44d4-81bf-bdec941c3267 2025-09-25 15:18:27,164 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/b958c76a-4a3e-48f8-9e2b-9f9a98414206 2025-09-25 15:18:27,172 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34624855:ctest-vn-14328646', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34624855', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4493037809085926851', 'uuid-lslong': '12923166566523941061'}, 'enable': 'true', 'created': '2025-09-25T15:18:25', 'last-modified': '2025-09-25T15:18:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.861499'} 2025-09-25 15:18:27,177 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-25 15:18:27,177 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14328646 passed 2025-09-25 15:18:27,178 - DEBUG - ====Verifying policy data for ctest-vn-14328646 in API_Server ====== 2025-09-25 15:18:27,178 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-25 15:18:27,182 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b3edf19e-3aff-4e77-9a08-54839a041d5e 2025-09-25 15:18:27,190 - DEBUG - Requesting: http://10.0.0.254:8082/project/89619f40-bd23-4577-a467-2d23b85e41da 2025-09-25 15:18:27,260 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3e5a7a15-0cf7-4dc3-b358-4f85badd30c5 2025-09-25 15:18:27,268 - DEBUG - ==>Verifying data for policy with id: a89a73bb-116c-4001-bf9e-fcee40b85bed, fqn: ['default-domain', 'ctest-TestBasicPolicy-34624855', 'ctest-policy-allow-all-11898036'] 2025-09-25 15:18:27,268 - INFO - VN ctest-vn-14328646 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-25 15:18:27,268 - DEBUG - Verifying the vn in opserver 2025-09-25 15:18:27,268 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34624855:ctest-vn-14328646 virtual network link through opserver 10.0.0.254 2025-09-25 15:18:27,268 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-25 15:18:27,554 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-25 15:18:27,600 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34624855:ctest-vn-14328646', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34624855:ctest-vn-14328646?flat'} 2025-09-25 15:18:27,600 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34624855:ctest-vn-14328646 is found in opserver 2025-09-25 15:18:27,608 - DEBUG - Do not have enough data to verify VN in agent 2025-09-25 15:18:27,612 - DEBUG - VRF ids for VN ctest-vn-14328646: {} 2025-09-25 15:18:27,612 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-25 15:18:27,616 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b3edf19e-3aff-4e77-9a08-54839a041d5e 2025-09-25 15:18:27,625 - DEBUG - Requesting: http://10.0.0.254:8082/project/89619f40-bd23-4577-a467-2d23b85e41da 2025-09-25 15:18:27,690 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ac93140d-9deb-496b-84a8-09e8f60d5d5b 2025-09-25 15:18:27,699 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ac93140d-9deb-496b-84a8-09e8f60d5d5b 2025-09-25 15:18:27,706 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8e84b512-8c3e-40ae-9ee0-67d740a1bbba 2025-09-25 15:18:27,711 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8e84b512-8c3e-40ae-9ee0-67d740a1bbba 2025-09-25 15:18:27,717 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/23041cf6-2d18-4f6f-8d1d-a6874c77db5b 2025-09-25 15:18:27,721 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-25 15:18:27,722 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ac93140d-9deb-496b-84a8-09e8f60d5d5b 2025-09-25 15:18:27,728 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8e84b512-8c3e-40ae-9ee0-67d740a1bbba 2025-09-25 15:18:27,738 - INFO - Verified VN network id 12 for VN ac93140d-9deb-496b-84a8-09e8f60d5d5b 2025-09-25 15:18:27,738 - INFO - Verifications in API Server for VN ctest-vn-74471624 passed 2025-09-25 15:18:27,738 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ac93140d-9deb-496b-84a8-09e8f60d5d5b 2025-09-25 15:18:27,745 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8e84b512-8c3e-40ae-9ee0-67d740a1bbba 2025-09-25 15:18:27,750 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8e84b512-8c3e-40ae-9ee0-67d740a1bbba 2025-09-25 15:18:27,755 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/23041cf6-2d18-4f6f-8d1d-a6874c77db5b 2025-09-25 15:18:27,764 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34624855:ctest-vn-74471624', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34624855', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12435305044816644459', 'uuid-lslong': '9558901105259011419'}, 'enable': 'true', 'created': '2025-09-25T15:18:25', 'last-modified': '2025-09-25T15:18:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.237486'} 2025-09-25 15:18:27,769 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-25 15:18:27,769 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74471624 passed 2025-09-25 15:18:27,769 - DEBUG - ====Verifying policy data for ctest-vn-74471624 in API_Server ====== 2025-09-25 15:18:27,769 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-25 15:18:27,773 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b3edf19e-3aff-4e77-9a08-54839a041d5e 2025-09-25 15:18:27,781 - DEBUG - Requesting: http://10.0.0.254:8082/project/89619f40-bd23-4577-a467-2d23b85e41da 2025-09-25 15:18:27,847 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ac93140d-9deb-496b-84a8-09e8f60d5d5b 2025-09-25 15:18:27,854 - DEBUG - ==>Verifying data for policy with id: a89a73bb-116c-4001-bf9e-fcee40b85bed, fqn: ['default-domain', 'ctest-TestBasicPolicy-34624855', 'ctest-policy-allow-all-11898036'] 2025-09-25 15:18:27,854 - INFO - VN ctest-vn-74471624 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-25 15:18:27,854 - DEBUG - Verifying the vn in opserver 2025-09-25 15:18:27,854 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34624855:ctest-vn-74471624 virtual network link through opserver 10.0.0.254 2025-09-25 15:18:27,854 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-25 15:18:27,862 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34624855:ctest-vn-74471624', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34624855:ctest-vn-74471624?flat'} 2025-09-25 15:18:27,862 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34624855:ctest-vn-74471624 is found in opserver 2025-09-25 15:18:27,870 - DEBUG - Do not have enough data to verify VN in agent 2025-09-25 15:18:27,874 - DEBUG - VRF ids for VN ctest-vn-74471624: {} 2025-09-25 15:18:27,922 - DEBUG - Services list from nova: [, , ] 2025-09-25 15:18:28,855 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4193-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4193-1) 2025-09-25 15:18:29,900 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4193-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4193-1) 2025-09-25 15:18:29,901 - INFO - Waiting for VM ctest-TestBasicPolicy-34624855-71786778 to be up.. 2025-09-25 15:18:29,965 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-25 15:18:35,033 - DEBUG - VM is in ACTIVE state now 2025-09-25 15:18:35,033 - INFO - VM name : ctest-TestBasicPolicy-34624855-71786778 2025-09-25 15:18:35,098 - DEBUG - VM ctest-TestBasicPolicy-34624855-71786778 ID is 063500bf-e349-4cd0-a85f-f6616735271d 2025-09-25 15:18:35,115 - DEBUG - VM ctest-TestBasicPolicy-34624855-71786778 launched on Node cn-jenkins-deploy-platform-ansible-os-4193-1 2025-09-25 15:18:35,177 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/063500bf-e349-4cd0-a85f-f6616735271d 2025-09-25 15:18:35,184 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/23811900-3fe5-497b-ae90-33aba4a56407 2025-09-25 15:18:38,419 - 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 1007ms') 2025-09-25 15:18:38,419 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-34624855-71786778 failed! 2025-09-25 15:18:38,472 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-34624855:ctest-vn-14328646 is 49.9.184.129 and allocation pool is NOT set 2025-09-25 15:18:40,533 - 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=2.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.413 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.413/1.554/2.696/1.141 ms') 2025-09-25 15:18:40,534 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-34624855-71786778 passed 2025-09-25 15:18:40,680 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 15:18:40,680 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34624855-71786778, IP 49.9.184.131, Port 22 2025-09-25 15:18:40,832 - DEBUG - VM ctest-TestBasicPolicy-34624855-71786778 is ready for SSH connections 2025-09-25 15:18:40,832 - INFO - Waiting for VM ctest-TestBasicPolicy-34624855-15409931 to be up.. 2025-09-25 15:18:40,893 - DEBUG - VM is in ACTIVE state now 2025-09-25 15:18:40,893 - INFO - VM name : ctest-TestBasicPolicy-34624855-15409931 2025-09-25 15:18:40,957 - DEBUG - VM ctest-TestBasicPolicy-34624855-15409931 ID is 8339faed-09c2-4768-a833-c7c59e5a18db 2025-09-25 15:18:40,957 - DEBUG - VM ctest-TestBasicPolicy-34624855-15409931 launched on Node cn-jenkins-deploy-platform-ansible-os-4193-1 2025-09-25 15:18:41,018 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8339faed-09c2-4768-a833-c7c59e5a18db 2025-09-25 15:18:41,025 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3b41c4fc-14c3-4372-9541-03100d22a822 2025-09-25 15:18:42,253 - 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=2.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.446 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 = 0.446/1.605/2.765/1.159 ms') 2025-09-25 15:18:42,253 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-34624855-15409931 passed 2025-09-25 15:18:42,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 15:18:42,401 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34624855-15409931, IP 90.24.174.131, Port 22 2025-09-25 15:18:42,552 - DEBUG - VM ctest-TestBasicPolicy-34624855-15409931 is ready for SSH connections 2025-09-25 15:18:42,552 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 15:18:42,552 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.24.174.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-25 15:18:42,552 - DEBUG - ping -s 56 -c 3 -W 1 90.24.174.131 2025-09-25 15:18:46,546 - DEBUG - PING 90.24.174.131 (90.24.174.131): 56 data bytes 64 bytes from 90.24.174.131: seq=0 ttl=63 time=3.061 ms 64 bytes from 90.24.174.131: seq=1 ttl=63 time=0.855 ms 64 bytes from 90.24.174.131: seq=2 ttl=63 time=0.787 ms --- 90.24.174.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.787/1.567/3.061 ms 2025-09-25 15:18:46,547 - INFO - Ping to IP 90.24.174.131 from VM ctest-TestBasicPolicy-34624855-71786778 passed 2025-09-25 15:18:46,716 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a89a73bb-116c-4001-bf9e-fcee40b85bed", "href": "http://10.0.0.254:8082/network-policy/a89a73bb-116c-4001-bf9e-fcee40b85bed"}} 2025-09-25 15:18:46,716 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 15:18:46,716 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.24.174.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-25 15:18:46,717 - DEBUG - ping -s 56 -c 3 -W 1 90.24.174.131 2025-09-25 15:18:49,913 - DEBUG - PING 90.24.174.131 (90.24.174.131): 56 data bytes 64 bytes from 90.24.174.131: seq=0 ttl=63 time=1.061 ms --- 90.24.174.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.061/1.061/1.061 ms 2025-09-25 15:18:49,913 - WARNING - Ping to IP 90.24.174.131 from VM ctest-TestBasicPolicy-34624855-71786778 failed 2025-09-25 15:18:49,913 - INFO - Deleting VM ctest-TestBasicPolicy-34624855-15409931 2025-09-25 15:18:49,968 - INFO - Deleting VM ctest-TestBasicPolicy-34624855-71786778 2025-09-25 15:18:50,292 - INFO - Deleted policy ctest-policy-allow-all-11898036 2025-09-25 15:18:50,292 - INFO - Deleting VN ctest-vn-74471624 2025-09-25 15:18:50,326 - DEBUG - VN ac93140d-9deb-496b-84a8-09e8f60d5d5b still in use: Unable to complete operation on network ac93140d-9deb-496b-84a8-09e8f60d5d5b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5c59dd72-e023-4b33-9ac6-b93a05129353'] 2025-09-25 15:18:50,326 - WARNING - Deleting VN ctest-vn-74471624 failed..Will retry 2025-09-25 15:18:52,417 - DEBUG - Response for deleting network () 2025-09-25 15:18:52,417 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8e84b512-8c3e-40ae-9ee0-67d740a1bbba 2025-09-25 15:18:52,421 - DEBUG - Response Code: 404 2025-09-25 15:18:52,421 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-25 15:18:52,425 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b3edf19e-3aff-4e77-9a08-54839a041d5e 2025-09-25 15:18:52,481 - DEBUG - Requesting: http://10.0.0.254:8082/project/89619f40-bd23-4577-a467-2d23b85e41da 2025-09-25 15:18:52,548 - INFO - Validated that VN ctest-vn-74471624 is not found in API Server 2025-09-25 15:18:52,556 - DEBUG - VN ctest-vn-74471624 is not present in Agent 10.0.0.254 2025-09-25 15:18:52,556 - INFO - Validated that VN ctest-vn-74471624 is not in any agent 2025-09-25 15:18:52,568 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74471624 info 2025-09-25 15:18:52,569 - INFO - Deleting VN ctest-vn-14328646 2025-09-25 15:18:52,665 - DEBUG - Response for deleting network () 2025-09-25 15:18:52,665 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bc1c9c3c-0219-44d4-81bf-bdec941c3267 2025-09-25 15:18:52,671 - DEBUG - Response Code: 404 2025-09-25 15:18:52,671 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-25 15:18:52,675 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b3edf19e-3aff-4e77-9a08-54839a041d5e 2025-09-25 15:18:52,725 - DEBUG - Requesting: http://10.0.0.254:8082/project/89619f40-bd23-4577-a467-2d23b85e41da 2025-09-25 15:18:52,791 - INFO - Validated that VN ctest-vn-14328646 is not found in API Server 2025-09-25 15:18:52,801 - DEBUG - VN ctest-vn-14328646 is not present in Agent 10.0.0.254 2025-09-25 15:18:52,801 - INFO - Validated that VN ctest-vn-14328646 is not in any agent 2025-09-25 15:18:52,815 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14328646 info 2025-09-25 15:18:53,068 - DEBUG - No XMPP flaps were noticed during the test 2025-09-25 15:18:53,068 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-09-25 15:18:53,068 - INFO - -------------------------------------------------------------------------------- 2025-09-25 15:18:53,701 - INFO - Deleted project: ctest-TestBasicPolicy-34624855, ID : 89619f40-bd23-4577-a467-2d23b85e41da