2026-05-20 15:37:48,840 - INFO - Domain Default found not creating 2026-05-20 15:37:49,014 - INFO - Project ctest-TestBasicPolicy-40975183 not found, creating it 2026-05-20 15:37:49,486 - INFO - Created Project:ctest-TestBasicPolicy-40975183, ID : 7e59996f-2374-4e0e-b02f-f953c191062a 2026-05-20 15:37:51,021 - INFO - ================================================================================ 2026-05-20 15:37:51,023 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-20 15:37:51,023 - 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-05-20 15:37:51,278 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-05-20 15:37:51,278 - INFO - Initial checks done. Running the testcase now 2026-05-20 15:37:51,278 - INFO - 2026-05-20 15:37:51,857 - DEBUG - Response for create_network : {'network': {'id': '7e636527-8415-48d3-a46e-70acc7e405dd', 'name': 'ctest-vn-04523880', 'tenant_id': '7e59996f23744e0eb02ff953c191062a', 'project_id': '7e59996f23744e0eb02ff953c191062a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40975183', 'ctest-vn-04523880'], 'port_security_enabled': True, 'description': ''}} 2026-05-20 15:37:52,081 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cd23a42c-1c31-4442-a8ab-d071b9343c4d', 'name': '', 'tenant_id': '7e59996f23744e0eb02ff953c191062a', 'network_id': '7e636527-8415-48d3-a46e-70acc7e405dd', 'ip_version': 4, 'cidr': '167.91.114.0/26', 'allocation_pools': [{'start': '167.91.114.2', 'end': '167.91.114.62'}], 'gateway_ip': '167.91.114.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.91.114.2', 'tags': [], 'project_id': '7e59996f23744e0eb02ff953c191062a'}} 2026-05-20 15:37:52,102 - INFO - Created VN ctest-vn-04523880 2026-05-20 15:37:52,157 - DEBUG - VN ctest-vn-04523880 UUID is 7e636527-8415-48d3-a46e-70acc7e405dd 2026-05-20 15:37:52,473 - DEBUG - Response for create_network : {'network': {'id': '82bd5a07-9508-4fa4-8206-5e23d2e512ed', 'name': 'ctest-vn-27475797', 'tenant_id': '7e59996f23744e0eb02ff953c191062a', 'project_id': '7e59996f23744e0eb02ff953c191062a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40975183', 'ctest-vn-27475797'], 'port_security_enabled': True, 'description': ''}} 2026-05-20 15:37:52,670 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f8bc891b-37c4-43a6-96d2-c2bd1a549103', 'name': '', 'tenant_id': '7e59996f23744e0eb02ff953c191062a', 'network_id': '82bd5a07-9508-4fa4-8206-5e23d2e512ed', 'ip_version': 4, 'cidr': '83.202.39.0/26', 'allocation_pools': [{'start': '83.202.39.2', 'end': '83.202.39.62'}], 'gateway_ip': '83.202.39.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.202.39.2', 'tags': [], 'project_id': '7e59996f23744e0eb02ff953c191062a'}} 2026-05-20 15:37:52,689 - INFO - Created VN ctest-vn-27475797 2026-05-20 15:37:52,741 - DEBUG - VN ctest-vn-27475797 UUID is 82bd5a07-9508-4fa4-8206-5e23d2e512ed 2026-05-20 15:37:52,863 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40975183:ctest-vn-04523880, 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-40975183:ctest-vn-27475797, 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-05-20 15:37:53,167 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7e636527-8415-48d3-a46e-70acc7e405dd', 'name': 'ctest-vn-04523880', 'tenant_id': '7e59996f23744e0eb02ff953c191062a', 'project_id': '7e59996f23744e0eb02ff953c191062a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cd23a42c-1c31-4442-a8ab-d071b9343c4d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40975183', 'ctest-vn-04523880'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40975183', 'ctest-policy-allow-all-87814469']], 'subnet_ipam': [{'subnet_cidr': '167.91.114.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-20 15:37:53,406 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '82bd5a07-9508-4fa4-8206-5e23d2e512ed', 'name': 'ctest-vn-27475797', 'tenant_id': '7e59996f23744e0eb02ff953c191062a', 'project_id': '7e59996f23744e0eb02ff953c191062a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f8bc891b-37c4-43a6-96d2-c2bd1a549103'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40975183', 'ctest-vn-27475797'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40975183', 'ctest-policy-allow-all-87814469']], 'subnet_ipam': [{'subnet_cidr': '83.202.39.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-20 15:37:53,577 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-20 15:37:53,883 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-20 15:37:53,918 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7fb72ccf-a47a-4c54-94dc-99a14d6243ea 2026-05-20 15:37:53,934 - DEBUG - Requesting: http://10.0.0.50:8082/project/7e59996f-2374-4e0e-b02f-f953c191062a 2026-05-20 15:37:54,014 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7e636527-8415-48d3-a46e-70acc7e405dd 2026-05-20 15:37:54,027 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7e636527-8415-48d3-a46e-70acc7e405dd 2026-05-20 15:37:54,036 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0e923757-d2ef-46ba-abaa-a39628349c63 2026-05-20 15:37:54,044 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0e923757-d2ef-46ba-abaa-a39628349c63 2026-05-20 15:37:54,052 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e9cce008-769a-4fb8-91f4-9c924e42ba46 2026-05-20 15:37:54,059 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-20 15:37:54,059 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7e636527-8415-48d3-a46e-70acc7e405dd 2026-05-20 15:37:54,069 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0e923757-d2ef-46ba-abaa-a39628349c63 2026-05-20 15:37:54,085 - INFO - Verified VN network id 12 for VN 7e636527-8415-48d3-a46e-70acc7e405dd 2026-05-20 15:37:54,085 - INFO - Verifications in API Server for VN ctest-vn-04523880 passed 2026-05-20 15:37:54,085 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7e636527-8415-48d3-a46e-70acc7e405dd 2026-05-20 15:37:54,096 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0e923757-d2ef-46ba-abaa-a39628349c63 2026-05-20 15:37:54,105 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0e923757-d2ef-46ba-abaa-a39628349c63 2026-05-20 15:37:54,113 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e9cce008-769a-4fb8-91f4-9c924e42ba46 2026-05-20 15:37:54,126 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40975183:ctest-vn-04523880', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40975183', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9107234091867392211', 'uuid-lslong': '11848531557048649181'}, 'enable': 'true', 'created': '2026-05-20T15:37:51', 'last-modified': '2026-05-20T15:37:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.984745'} 2026-05-20 15:37:54,133 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-20 15:37:54,133 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04523880 passed 2026-05-20 15:37:54,133 - DEBUG - ====Verifying policy data for ctest-vn-04523880 in API_Server ====== 2026-05-20 15:37:54,133 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-20 15:37:54,139 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7fb72ccf-a47a-4c54-94dc-99a14d6243ea 2026-05-20 15:37:54,151 - DEBUG - Requesting: http://10.0.0.50:8082/project/7e59996f-2374-4e0e-b02f-f953c191062a 2026-05-20 15:37:54,228 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7e636527-8415-48d3-a46e-70acc7e405dd 2026-05-20 15:37:54,237 - DEBUG - ==>Verifying data for policy with id: ea5ebd32-cd15-4892-afa9-1e984e71e75f, fqn: ['default-domain', 'ctest-TestBasicPolicy-40975183', 'ctest-policy-allow-all-87814469'] 2026-05-20 15:37:54,237 - INFO - VN ctest-vn-04523880 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-20 15:37:54,237 - DEBUG - Verifying the vn in opserver 2026-05-20 15:37:54,238 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40975183:ctest-vn-04523880 virtual network link through opserver 10.0.0.50 2026-05-20 15:37:54,238 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-20 15:37:54,532 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-20 15:37:54,595 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40975183:ctest-vn-04523880', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40975183:ctest-vn-04523880?flat'} 2026-05-20 15:37:54,595 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40975183:ctest-vn-04523880 is found in opserver 2026-05-20 15:37:54,607 - DEBUG - Do not have enough data to verify VN in agent 2026-05-20 15:37:54,611 - DEBUG - VRF ids for VN ctest-vn-04523880: {} 2026-05-20 15:37:54,611 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-20 15:37:54,618 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7fb72ccf-a47a-4c54-94dc-99a14d6243ea 2026-05-20 15:37:54,630 - DEBUG - Requesting: http://10.0.0.50:8082/project/7e59996f-2374-4e0e-b02f-f953c191062a 2026-05-20 15:37:54,701 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/82bd5a07-9508-4fa4-8206-5e23d2e512ed 2026-05-20 15:37:54,712 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/82bd5a07-9508-4fa4-8206-5e23d2e512ed 2026-05-20 15:37:54,721 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/eeb94d9f-981c-485d-868f-17a95de27282 2026-05-20 15:37:54,729 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/eeb94d9f-981c-485d-868f-17a95de27282 2026-05-20 15:37:54,736 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f713802b-65a3-49d5-a134-07ca96495cf4 2026-05-20 15:37:54,742 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-20 15:37:54,742 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/82bd5a07-9508-4fa4-8206-5e23d2e512ed 2026-05-20 15:37:54,751 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/eeb94d9f-981c-485d-868f-17a95de27282 2026-05-20 15:37:54,770 - INFO - Verified VN network id 13 for VN 82bd5a07-9508-4fa4-8206-5e23d2e512ed 2026-05-20 15:37:54,770 - INFO - Verifications in API Server for VN ctest-vn-27475797 passed 2026-05-20 15:37:54,770 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/82bd5a07-9508-4fa4-8206-5e23d2e512ed 2026-05-20 15:37:54,780 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/eeb94d9f-981c-485d-868f-17a95de27282 2026-05-20 15:37:54,787 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/eeb94d9f-981c-485d-868f-17a95de27282 2026-05-20 15:37:54,794 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f713802b-65a3-49d5-a134-07ca96495cf4 2026-05-20 15:37:54,807 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40975183:ctest-vn-27475797', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40975183', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9420784984140566436', 'uuid-lslong': '9369279582745989869'}, 'enable': 'true', 'created': '2026-05-20T15:37:52', 'last-modified': '2026-05-20T15:37:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.426631'} 2026-05-20 15:37:54,813 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-20 15:37:54,813 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27475797 passed 2026-05-20 15:37:54,813 - DEBUG - ====Verifying policy data for ctest-vn-27475797 in API_Server ====== 2026-05-20 15:37:54,813 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-20 15:37:54,819 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7fb72ccf-a47a-4c54-94dc-99a14d6243ea 2026-05-20 15:37:54,830 - DEBUG - Requesting: http://10.0.0.50:8082/project/7e59996f-2374-4e0e-b02f-f953c191062a 2026-05-20 15:37:54,901 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/82bd5a07-9508-4fa4-8206-5e23d2e512ed 2026-05-20 15:37:54,911 - DEBUG - ==>Verifying data for policy with id: ea5ebd32-cd15-4892-afa9-1e984e71e75f, fqn: ['default-domain', 'ctest-TestBasicPolicy-40975183', 'ctest-policy-allow-all-87814469'] 2026-05-20 15:37:54,911 - INFO - VN ctest-vn-27475797 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-20 15:37:54,911 - DEBUG - Verifying the vn in opserver 2026-05-20 15:37:54,911 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40975183:ctest-vn-27475797 virtual network link through opserver 10.0.0.50 2026-05-20 15:37:54,911 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-20 15:37:54,921 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40975183:ctest-vn-27475797', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40975183:ctest-vn-27475797?flat'} 2026-05-20 15:37:54,921 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40975183:ctest-vn-27475797 is found in opserver 2026-05-20 15:37:54,930 - DEBUG - Do not have enough data to verify VN in agent 2026-05-20 15:37:54,935 - DEBUG - VRF ids for VN ctest-vn-27475797: {} 2026-05-20 15:37:54,994 - DEBUG - Services list from nova: [, , ] 2026-05-20 15:37:56,051 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5804-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5804-1) 2026-05-20 15:37:57,221 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5804-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5804-1) 2026-05-20 15:37:57,221 - INFO - Waiting for VM ctest-TestBasicPolicy-40975183-20941865 to be up.. 2026-05-20 15:37:57,340 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-20 15:38:02,423 - DEBUG - VM is in ACTIVE state now 2026-05-20 15:38:02,423 - INFO - VM name : ctest-TestBasicPolicy-40975183-20941865 2026-05-20 15:38:02,509 - DEBUG - VM ctest-TestBasicPolicy-40975183-20941865 ID is 4ea716fc-23fd-4100-8503-cc0452a15754 2026-05-20 15:38:02,534 - DEBUG - VM ctest-TestBasicPolicy-40975183-20941865 launched on Node cn-jenkins-deploy-platform-ansible-os-5804-1 2026-05-20 15:38:02,617 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4ea716fc-23fd-4100-8503-cc0452a15754 2026-05-20 15:38:02,626 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/91564baf-cd95-4086-8399-9c64437013b8 2026-05-20 15:38:05,890 - 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-05-20 15:38:05,890 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40975183-20941865 failed! 2026-05-20 15:38:05,945 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-40975183:ctest-vn-04523880 is 167.91.114.1 and allocation pool is NOT set 2026-05-20 15:38:08,004 - 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.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.466 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.466/4.162/7.858/3.696 ms') 2026-05-20 15:38:08,004 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40975183-20941865 passed 2026-05-20 15:38:08,161 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 15:38:08,161 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40975183-20941865, IP 167.91.114.3, Port 22 2026-05-20 15:38:08,317 - DEBUG - VM ctest-TestBasicPolicy-40975183-20941865 is ready for SSH connections 2026-05-20 15:38:08,317 - INFO - Waiting for VM ctest-TestBasicPolicy-40975183-47267107 to be up.. 2026-05-20 15:38:08,397 - DEBUG - VM is in ACTIVE state now 2026-05-20 15:38:08,397 - INFO - VM name : ctest-TestBasicPolicy-40975183-47267107 2026-05-20 15:38:08,489 - DEBUG - VM ctest-TestBasicPolicy-40975183-47267107 ID is fe46d477-bfa6-4628-8c00-d0b019533260 2026-05-20 15:38:08,489 - DEBUG - VM ctest-TestBasicPolicy-40975183-47267107 launched on Node cn-jenkins-deploy-platform-ansible-os-5804-1 2026-05-20 15:38:08,580 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/fe46d477-bfa6-4628-8c00-d0b019533260 2026-05-20 15:38:08,590 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/128f7e51-eee7-43f1-9f84-1e8071e7208d 2026-05-20 15:38:09,837 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.477 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.477/1.574/2.671/1.097 ms') 2026-05-20 15:38:09,837 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-40975183-47267107 passed 2026-05-20 15:38:09,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 15:38:09,989 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40975183-47267107, IP 83.202.39.3, Port 22 2026-05-20 15:38:10,144 - DEBUG - VM ctest-TestBasicPolicy-40975183-47267107 is ready for SSH connections 2026-05-20 15:38:10,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 15:38:10,144 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.202.39.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-20 15:38:10,145 - DEBUG - ping -s 56 -c 3 -W 1 83.202.39.3 2026-05-20 15:38:14,192 - DEBUG - PING 83.202.39.3 (83.202.39.3): 56 data bytes 64 bytes from 83.202.39.3: seq=0 ttl=63 time=3.735 ms 64 bytes from 83.202.39.3: seq=1 ttl=63 time=0.998 ms 64 bytes from 83.202.39.3: seq=2 ttl=63 time=1.299 ms --- 83.202.39.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.998/2.010/3.735 ms 2026-05-20 15:38:14,192 - INFO - Ping to IP 83.202.39.3 from VM ctest-TestBasicPolicy-40975183-20941865 passed 2026-05-20 15:38:14,381 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ea5ebd32-cd15-4892-afa9-1e984e71e75f", "href": "http://10.0.0.50:8082/network-policy/ea5ebd32-cd15-4892-afa9-1e984e71e75f"}} 2026-05-20 15:38:14,381 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 15:38:14,381 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.202.39.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-20 15:38:14,381 - DEBUG - ping -s 56 -c 3 -W 1 83.202.39.3 2026-05-20 15:38:17,585 - DEBUG - PING 83.202.39.3 (83.202.39.3): 56 data bytes --- 83.202.39.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-20 15:38:17,585 - WARNING - Ping to IP 83.202.39.3 from VM ctest-TestBasicPolicy-40975183-20941865 failed 2026-05-20 15:38:17,585 - INFO - Deleting VM ctest-TestBasicPolicy-40975183-47267107 2026-05-20 15:38:17,783 - INFO - Deleting VM ctest-TestBasicPolicy-40975183-20941865 2026-05-20 15:38:18,179 - INFO - Deleted policy ctest-policy-allow-all-87814469 2026-05-20 15:38:18,179 - INFO - Deleting VN ctest-vn-27475797 2026-05-20 15:38:18,221 - DEBUG - VN 82bd5a07-9508-4fa4-8206-5e23d2e512ed still in use: Unable to complete operation on network 82bd5a07-9508-4fa4-8206-5e23d2e512ed. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ec11c61a-e0e2-47f3-a82d-de461fee7002'] 2026-05-20 15:38:18,222 - WARNING - Deleting VN ctest-vn-27475797 failed..Will retry 2026-05-20 15:38:20,325 - DEBUG - Response for deleting network () 2026-05-20 15:38:20,326 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/eeb94d9f-981c-485d-868f-17a95de27282 2026-05-20 15:38:20,334 - DEBUG - Response Code: 404 2026-05-20 15:38:20,334 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-20 15:38:20,342 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7fb72ccf-a47a-4c54-94dc-99a14d6243ea 2026-05-20 15:38:20,400 - DEBUG - Requesting: http://10.0.0.50:8082/project/7e59996f-2374-4e0e-b02f-f953c191062a 2026-05-20 15:38:20,474 - INFO - Validated that VN ctest-vn-27475797 is not found in API Server 2026-05-20 15:38:20,484 - DEBUG - VN ctest-vn-27475797 is not present in Agent 10.0.0.50 2026-05-20 15:38:20,484 - INFO - Validated that VN ctest-vn-27475797 is not in any agent 2026-05-20 15:38:20,499 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27475797 info 2026-05-20 15:38:20,499 - INFO - Deleting VN ctest-vn-04523880 2026-05-20 15:38:20,609 - DEBUG - Response for deleting network () 2026-05-20 15:38:20,609 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0e923757-d2ef-46ba-abaa-a39628349c63 2026-05-20 15:38:20,613 - DEBUG - Response Code: 404 2026-05-20 15:38:20,614 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-20 15:38:20,620 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7fb72ccf-a47a-4c54-94dc-99a14d6243ea 2026-05-20 15:38:20,675 - DEBUG - Requesting: http://10.0.0.50:8082/project/7e59996f-2374-4e0e-b02f-f953c191062a 2026-05-20 15:38:20,746 - INFO - Validated that VN ctest-vn-04523880 is not found in API Server 2026-05-20 15:38:20,758 - DEBUG - VN ctest-vn-04523880 is not present in Agent 10.0.0.50 2026-05-20 15:38:20,758 - INFO - Validated that VN ctest-vn-04523880 is not in any agent 2026-05-20 15:38:20,774 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04523880 info 2026-05-20 15:38:21,034 - DEBUG - No XMPP flaps were noticed during the test 2026-05-20 15:38:21,034 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-05-20 15:38:21,034 - INFO - -------------------------------------------------------------------------------- 2026-05-20 15:38:21,737 - INFO - Deleted project: ctest-TestBasicPolicy-40975183, ID : 7e59996f-2374-4e0e-b02f-f953c191062a