2026-03-06 05:24:33,112 - INFO - Domain Default found not creating 2026-03-06 05:24:33,271 - INFO - Project ctest-TestBasicPolicy-61165812 not found, creating it 2026-03-06 05:24:33,709 - INFO - Created Project:ctest-TestBasicPolicy-61165812, ID : 4fedb1ee-88a4-40ab-bc7d-6001e4e1baa1 2026-03-06 05:24:35,378 - INFO - ================================================================================ 2026-03-06 05:24:35,379 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-06 05:24:35,379 - 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-03-06 05:24:35,634 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-03-06 05:24:35,634 - INFO - Initial checks done. Running the testcase now 2026-03-06 05:24:35,634 - INFO - 2026-03-06 05:24:36,213 - DEBUG - Response for create_network : {'network': {'id': '7293a4b8-c137-40fa-a7f1-e6b294327c38', 'name': 'ctest-vn-45352966', 'tenant_id': '4fedb1ee88a440abbc7d6001e4e1baa1', 'project_id': '4fedb1ee88a440abbc7d6001e4e1baa1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61165812', 'ctest-vn-45352966'], 'port_security_enabled': True, 'description': ''}} 2026-03-06 05:24:36,422 - DEBUG - Response for create_subnet : {'subnet': {'id': '7a26556a-8413-4aa1-970c-59ab61744a07', 'name': '', 'tenant_id': '4fedb1ee88a440abbc7d6001e4e1baa1', 'network_id': '7293a4b8-c137-40fa-a7f1-e6b294327c38', 'ip_version': 4, 'cidr': '211.232.7.192/26', 'allocation_pools': [{'start': '211.232.7.194', 'end': '211.232.7.254'}], 'gateway_ip': '211.232.7.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.232.7.194', 'tags': [], 'project_id': '4fedb1ee88a440abbc7d6001e4e1baa1'}} 2026-03-06 05:24:36,440 - INFO - Created VN ctest-vn-45352966 2026-03-06 05:24:36,492 - DEBUG - VN ctest-vn-45352966 UUID is 7293a4b8-c137-40fa-a7f1-e6b294327c38 2026-03-06 05:24:36,777 - DEBUG - Response for create_network : {'network': {'id': 'eee01303-f204-40a2-b9eb-96ca1d7acc3b', 'name': 'ctest-vn-30640397', 'tenant_id': '4fedb1ee88a440abbc7d6001e4e1baa1', 'project_id': '4fedb1ee88a440abbc7d6001e4e1baa1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61165812', 'ctest-vn-30640397'], 'port_security_enabled': True, 'description': ''}} 2026-03-06 05:24:36,951 - DEBUG - Response for create_subnet : {'subnet': {'id': '55ac62fb-0031-42db-84e9-33c480b84a12', 'name': '', 'tenant_id': '4fedb1ee88a440abbc7d6001e4e1baa1', 'network_id': 'eee01303-f204-40a2-b9eb-96ca1d7acc3b', 'ip_version': 4, 'cidr': '1.166.112.128/26', 'allocation_pools': [{'start': '1.166.112.130', 'end': '1.166.112.190'}], 'gateway_ip': '1.166.112.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.166.112.130', 'tags': [], 'project_id': '4fedb1ee88a440abbc7d6001e4e1baa1'}} 2026-03-06 05:24:36,971 - INFO - Created VN ctest-vn-30640397 2026-03-06 05:24:37,024 - DEBUG - VN ctest-vn-30640397 UUID is eee01303-f204-40a2-b9eb-96ca1d7acc3b 2026-03-06 05:24:37,172 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-61165812:ctest-vn-45352966, 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-61165812:ctest-vn-30640397, 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-03-06 05:24:37,450 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7293a4b8-c137-40fa-a7f1-e6b294327c38', 'name': 'ctest-vn-45352966', 'tenant_id': '4fedb1ee88a440abbc7d6001e4e1baa1', 'project_id': '4fedb1ee88a440abbc7d6001e4e1baa1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7a26556a-8413-4aa1-970c-59ab61744a07'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61165812', 'ctest-vn-45352966'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61165812', 'ctest-policy-allow-all-12833559']], 'subnet_ipam': [{'subnet_cidr': '211.232.7.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-06 05:24:37,683 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eee01303-f204-40a2-b9eb-96ca1d7acc3b', 'name': 'ctest-vn-30640397', 'tenant_id': '4fedb1ee88a440abbc7d6001e4e1baa1', 'project_id': '4fedb1ee88a440abbc7d6001e4e1baa1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['55ac62fb-0031-42db-84e9-33c480b84a12'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61165812', 'ctest-vn-30640397'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61165812', 'ctest-policy-allow-all-12833559']], 'subnet_ipam': [{'subnet_cidr': '1.166.112.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-06 05:24:37,808 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-06 05:24:38,105 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-06 05:24:38,142 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8e062cac-a287-47c7-bf36-3d306af41172 2026-03-06 05:24:38,158 - DEBUG - Requesting: http://10.0.0.38:8082/project/4fedb1ee-88a4-40ab-bc7d-6001e4e1baa1 2026-03-06 05:24:38,239 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7293a4b8-c137-40fa-a7f1-e6b294327c38 2026-03-06 05:24:38,250 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7293a4b8-c137-40fa-a7f1-e6b294327c38 2026-03-06 05:24:38,259 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9a4f8506-59d7-40cc-8273-a5351de97827 2026-03-06 05:24:38,266 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9a4f8506-59d7-40cc-8273-a5351de97827 2026-03-06 05:24:38,272 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/73e190bc-d960-428f-9cf7-5f3ddc1795a4 2026-03-06 05:24:38,278 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-06 05:24:38,278 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7293a4b8-c137-40fa-a7f1-e6b294327c38 2026-03-06 05:24:38,287 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9a4f8506-59d7-40cc-8273-a5351de97827 2026-03-06 05:24:38,300 - INFO - Verified VN network id 9 for VN 7293a4b8-c137-40fa-a7f1-e6b294327c38 2026-03-06 05:24:38,300 - INFO - Verifications in API Server for VN ctest-vn-45352966 passed 2026-03-06 05:24:38,300 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7293a4b8-c137-40fa-a7f1-e6b294327c38 2026-03-06 05:24:38,309 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9a4f8506-59d7-40cc-8273-a5351de97827 2026-03-06 05:24:38,315 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9a4f8506-59d7-40cc-8273-a5351de97827 2026-03-06 05:24:38,321 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/73e190bc-d960-428f-9cf7-5f3ddc1795a4 2026-03-06 05:24:38,331 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61165812:ctest-vn-45352966', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61165812', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8256123655322812666', 'uuid-lslong': '12101707328386137144'}, 'enable': 'true', 'created': '2026-03-06T05:24:36', 'last-modified': '2026-03-06T05:24:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.900541'} 2026-03-06 05:24:38,337 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-06 05:24:38,337 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45352966 passed 2026-03-06 05:24:38,338 - DEBUG - ====Verifying policy data for ctest-vn-45352966 in API_Server ====== 2026-03-06 05:24:38,338 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-06 05:24:38,343 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8e062cac-a287-47c7-bf36-3d306af41172 2026-03-06 05:24:38,353 - DEBUG - Requesting: http://10.0.0.38:8082/project/4fedb1ee-88a4-40ab-bc7d-6001e4e1baa1 2026-03-06 05:24:38,420 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7293a4b8-c137-40fa-a7f1-e6b294327c38 2026-03-06 05:24:38,429 - DEBUG - ==>Verifying data for policy with id: 8635181f-954c-40bc-bb1b-4d4f6ff4b7b7, fqn: ['default-domain', 'ctest-TestBasicPolicy-61165812', 'ctest-policy-allow-all-12833559'] 2026-03-06 05:24:38,429 - INFO - VN ctest-vn-45352966 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-06 05:24:38,429 - DEBUG - Verifying the vn in opserver 2026-03-06 05:24:38,429 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61165812:ctest-vn-45352966 virtual network link through opserver 10.0.0.38 2026-03-06 05:24:38,429 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-06 05:24:38,722 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-06 05:24:38,782 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61165812:ctest-vn-45352966', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61165812:ctest-vn-45352966?flat'} 2026-03-06 05:24:38,782 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61165812:ctest-vn-45352966 is found in opserver 2026-03-06 05:24:38,791 - DEBUG - Do not have enough data to verify VN in agent 2026-03-06 05:24:38,795 - DEBUG - VRF ids for VN ctest-vn-45352966: {} 2026-03-06 05:24:38,795 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-06 05:24:38,800 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8e062cac-a287-47c7-bf36-3d306af41172 2026-03-06 05:24:38,809 - DEBUG - Requesting: http://10.0.0.38:8082/project/4fedb1ee-88a4-40ab-bc7d-6001e4e1baa1 2026-03-06 05:24:38,876 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eee01303-f204-40a2-b9eb-96ca1d7acc3b 2026-03-06 05:24:38,887 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eee01303-f204-40a2-b9eb-96ca1d7acc3b 2026-03-06 05:24:38,896 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/488bae9e-9a24-4482-94b1-962de41904aa 2026-03-06 05:24:38,903 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/488bae9e-9a24-4482-94b1-962de41904aa 2026-03-06 05:24:38,910 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b6f65554-964b-42ec-8243-90578b4924ce 2026-03-06 05:24:38,916 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-06 05:24:38,916 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eee01303-f204-40a2-b9eb-96ca1d7acc3b 2026-03-06 05:24:38,926 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/488bae9e-9a24-4482-94b1-962de41904aa 2026-03-06 05:24:38,941 - INFO - Verified VN network id 10 for VN eee01303-f204-40a2-b9eb-96ca1d7acc3b 2026-03-06 05:24:38,941 - INFO - Verifications in API Server for VN ctest-vn-30640397 passed 2026-03-06 05:24:38,941 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eee01303-f204-40a2-b9eb-96ca1d7acc3b 2026-03-06 05:24:38,950 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/488bae9e-9a24-4482-94b1-962de41904aa 2026-03-06 05:24:38,956 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/488bae9e-9a24-4482-94b1-962de41904aa 2026-03-06 05:24:38,962 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b6f65554-964b-42ec-8243-90578b4924ce 2026-03-06 05:24:38,973 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61165812:ctest-vn-30640397', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61165812', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17212778683476230306', 'uuid-lslong': '13396967311365819451'}, 'enable': 'true', 'created': '2026-03-06T05:24:36', 'last-modified': '2026-03-06T05:24:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.310192'} 2026-03-06 05:24:38,978 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-06 05:24:38,979 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30640397 passed 2026-03-06 05:24:38,979 - DEBUG - ====Verifying policy data for ctest-vn-30640397 in API_Server ====== 2026-03-06 05:24:38,979 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-06 05:24:38,984 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8e062cac-a287-47c7-bf36-3d306af41172 2026-03-06 05:24:38,993 - DEBUG - Requesting: http://10.0.0.38:8082/project/4fedb1ee-88a4-40ab-bc7d-6001e4e1baa1 2026-03-06 05:24:39,062 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eee01303-f204-40a2-b9eb-96ca1d7acc3b 2026-03-06 05:24:39,071 - DEBUG - ==>Verifying data for policy with id: 8635181f-954c-40bc-bb1b-4d4f6ff4b7b7, fqn: ['default-domain', 'ctest-TestBasicPolicy-61165812', 'ctest-policy-allow-all-12833559'] 2026-03-06 05:24:39,071 - INFO - VN ctest-vn-30640397 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-06 05:24:39,071 - DEBUG - Verifying the vn in opserver 2026-03-06 05:24:39,071 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61165812:ctest-vn-30640397 virtual network link through opserver 10.0.0.38 2026-03-06 05:24:39,072 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-06 05:24:39,082 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61165812:ctest-vn-30640397', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61165812:ctest-vn-30640397?flat'} 2026-03-06 05:24:39,082 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61165812:ctest-vn-30640397 is found in opserver 2026-03-06 05:24:39,092 - DEBUG - Do not have enough data to verify VN in agent 2026-03-06 05:24:39,097 - DEBUG - VRF ids for VN ctest-vn-30640397: {} 2026-03-06 05:24:39,154 - DEBUG - Services list from nova: [, , ] 2026-03-06 05:24:40,147 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5447-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5447-1) 2026-03-06 05:24:41,283 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5447-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5447-1) 2026-03-06 05:24:41,283 - INFO - Waiting for VM ctest-TestBasicPolicy-61165812-55372010 to be up.. 2026-03-06 05:24:41,354 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-06 05:24:46,437 - DEBUG - VM is in ACTIVE state now 2026-03-06 05:24:46,438 - INFO - VM name : ctest-TestBasicPolicy-61165812-55372010 2026-03-06 05:24:46,508 - DEBUG - VM ctest-TestBasicPolicy-61165812-55372010 ID is 5e3a5c67-7dd9-40d6-b047-a930cae959e6 2026-03-06 05:24:46,525 - DEBUG - VM ctest-TestBasicPolicy-61165812-55372010 launched on Node cn-jenkins-deploy-platform-ansible-os-5447-1 2026-03-06 05:24:46,596 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5e3a5c67-7dd9-40d6-b047-a930cae959e6 2026-03-06 05:24:46,605 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f2064e5e-3ad3-4c1a-8289-38ebff0831b1 2026-03-06 05:24:49,863 - 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 1018ms') 2026-03-06 05:24:49,863 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61165812-55372010 failed! 2026-03-06 05:24:49,916 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-61165812:ctest-vn-45352966 is 211.232.7.193 and allocation pool is NOT set 2026-03-06 05:24:51,980 - 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=10.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.83 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.830/6.448/10.067/3.618 ms') 2026-03-06 05:24:51,980 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61165812-55372010 passed 2026-03-06 05:24:52,129 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-06 05:24:52,129 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61165812-55372010, IP 211.232.7.195, Port 22 2026-03-06 05:24:52,280 - DEBUG - VM ctest-TestBasicPolicy-61165812-55372010 is ready for SSH connections 2026-03-06 05:24:52,280 - INFO - Waiting for VM ctest-TestBasicPolicy-61165812-70152622 to be up.. 2026-03-06 05:24:52,349 - DEBUG - VM is in ACTIVE state now 2026-03-06 05:24:52,349 - INFO - VM name : ctest-TestBasicPolicy-61165812-70152622 2026-03-06 05:24:52,418 - DEBUG - VM ctest-TestBasicPolicy-61165812-70152622 ID is c68a206d-7b5d-4ad7-971b-1c0343e1c550 2026-03-06 05:24:52,418 - DEBUG - VM ctest-TestBasicPolicy-61165812-70152622 launched on Node cn-jenkins-deploy-platform-ansible-os-5447-1 2026-03-06 05:24:52,487 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c68a206d-7b5d-4ad7-971b-1c0343e1c550 2026-03-06 05:24:52,495 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4a2f7d6f-b9d2-4f5b-b496-ab9e00dd27d9 2026-03-06 05:24:53,724 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.426 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.426/1.891/3.356/1.465 ms') 2026-03-06 05:24:53,725 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-61165812-70152622 passed 2026-03-06 05:24:53,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-06 05:24:53,873 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61165812-70152622, IP 1.166.112.131, Port 22 2026-03-06 05:24:54,027 - DEBUG - VM ctest-TestBasicPolicy-61165812-70152622 is ready for SSH connections 2026-03-06 05:24:54,028 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-06 05:24:54,028 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.166.112.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-06 05:24:54,028 - DEBUG - ping -s 56 -c 3 -W 1 1.166.112.131 2026-03-06 05:24:58,029 - DEBUG - PING 1.166.112.131 (1.166.112.131): 56 data bytes 64 bytes from 1.166.112.131: seq=0 ttl=63 time=3.204 ms 64 bytes from 1.166.112.131: seq=1 ttl=63 time=1.027 ms 64 bytes from 1.166.112.131: seq=2 ttl=63 time=0.881 ms --- 1.166.112.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.881/1.704/3.204 ms 2026-03-06 05:24:58,029 - INFO - Ping to IP 1.166.112.131 from VM ctest-TestBasicPolicy-61165812-55372010 passed 2026-03-06 05:24:58,204 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8635181f-954c-40bc-bb1b-4d4f6ff4b7b7", "href": "http://10.0.0.38:8082/network-policy/8635181f-954c-40bc-bb1b-4d4f6ff4b7b7"}} 2026-03-06 05:24:58,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-06 05:24:58,204 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.166.112.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-06 05:24:58,205 - DEBUG - ping -s 56 -c 3 -W 1 1.166.112.131 2026-03-06 05:25:01,421 - DEBUG - PING 1.166.112.131 (1.166.112.131): 56 data bytes --- 1.166.112.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-06 05:25:01,421 - WARNING - Ping to IP 1.166.112.131 from VM ctest-TestBasicPolicy-61165812-55372010 failed 2026-03-06 05:25:01,421 - INFO - Deleting VM ctest-TestBasicPolicy-61165812-70152622 2026-03-06 05:25:01,494 - INFO - Deleting VM ctest-TestBasicPolicy-61165812-55372010 2026-03-06 05:25:01,876 - INFO - Deleted policy ctest-policy-allow-all-12833559 2026-03-06 05:25:01,876 - INFO - Deleting VN ctest-vn-30640397 2026-03-06 05:25:01,914 - DEBUG - VN eee01303-f204-40a2-b9eb-96ca1d7acc3b still in use: Unable to complete operation on network eee01303-f204-40a2-b9eb-96ca1d7acc3b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b90e597b-8aee-443b-8239-411dc2ec98fc'] 2026-03-06 05:25:01,914 - WARNING - Deleting VN ctest-vn-30640397 failed..Will retry 2026-03-06 05:25:04,016 - DEBUG - Response for deleting network () 2026-03-06 05:25:04,016 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/488bae9e-9a24-4482-94b1-962de41904aa 2026-03-06 05:25:04,023 - DEBUG - Response Code: 404 2026-03-06 05:25:04,023 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-06 05:25:04,028 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8e062cac-a287-47c7-bf36-3d306af41172 2026-03-06 05:25:04,081 - DEBUG - Requesting: http://10.0.0.38:8082/project/4fedb1ee-88a4-40ab-bc7d-6001e4e1baa1 2026-03-06 05:25:04,151 - INFO - Validated that VN ctest-vn-30640397 is not found in API Server 2026-03-06 05:25:04,161 - DEBUG - VN ctest-vn-30640397 is not present in Agent 10.0.0.38 2026-03-06 05:25:04,161 - INFO - Validated that VN ctest-vn-30640397 is not in any agent 2026-03-06 05:25:04,176 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30640397 info 2026-03-06 05:25:04,176 - INFO - Deleting VN ctest-vn-45352966 2026-03-06 05:25:04,288 - DEBUG - Response for deleting network () 2026-03-06 05:25:04,289 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9a4f8506-59d7-40cc-8273-a5351de97827 2026-03-06 05:25:04,294 - DEBUG - Response Code: 404 2026-03-06 05:25:04,294 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-06 05:25:04,299 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8e062cac-a287-47c7-bf36-3d306af41172 2026-03-06 05:25:04,353 - DEBUG - Requesting: http://10.0.0.38:8082/project/4fedb1ee-88a4-40ab-bc7d-6001e4e1baa1 2026-03-06 05:25:04,422 - INFO - Validated that VN ctest-vn-45352966 is not found in API Server 2026-03-06 05:25:04,430 - DEBUG - VN ctest-vn-45352966 is not present in Agent 10.0.0.38 2026-03-06 05:25:04,430 - INFO - Validated that VN ctest-vn-45352966 is not in any agent 2026-03-06 05:25:04,442 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45352966 info 2026-03-06 05:25:04,698 - DEBUG - No XMPP flaps were noticed during the test 2026-03-06 05:25:04,698 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2026-03-06 05:25:04,698 - INFO - -------------------------------------------------------------------------------- 2026-03-06 05:25:05,387 - INFO - Deleted project: ctest-TestBasicPolicy-61165812, ID : 4fedb1ee-88a4-40ab-bc7d-6001e4e1baa1