2026-04-18 02:58:05,406 - INFO - Domain Default found not creating 2026-04-18 02:58:05,567 - INFO - Project ctest-TestBasicPolicy-49485232 not found, creating it 2026-04-18 02:58:06,008 - INFO - Created Project:ctest-TestBasicPolicy-49485232, ID : 6ffdb04f-20b1-419b-8889-56131409b0ab 2026-04-18 02:58:07,493 - INFO - ================================================================================ 2026-04-18 02:58:07,493 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-18 02:58:07,493 - 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-04-18 02:58:07,751 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-04-18 02:58:07,751 - INFO - Initial checks done. Running the testcase now 2026-04-18 02:58:07,751 - INFO - 2026-04-18 02:58:08,291 - DEBUG - Response for create_network : {'network': {'id': '98b2e97f-83ce-40ad-972f-ca16b9e9c87b', 'name': 'ctest-vn-30905086', 'tenant_id': '6ffdb04f20b1419b888956131409b0ab', 'project_id': '6ffdb04f20b1419b888956131409b0ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49485232', 'ctest-vn-30905086'], 'port_security_enabled': True, 'description': ''}} 2026-04-18 02:58:08,524 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a8a1eef-9f5d-4355-b9f8-a979e776412e', 'name': '', 'tenant_id': '6ffdb04f20b1419b888956131409b0ab', 'network_id': '98b2e97f-83ce-40ad-972f-ca16b9e9c87b', 'ip_version': 4, 'cidr': '44.105.156.0/26', 'allocation_pools': [{'start': '44.105.156.2', 'end': '44.105.156.62'}], 'gateway_ip': '44.105.156.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.105.156.2', 'tags': [], 'project_id': '6ffdb04f20b1419b888956131409b0ab'}} 2026-04-18 02:58:08,544 - INFO - Created VN ctest-vn-30905086 2026-04-18 02:58:08,600 - DEBUG - VN ctest-vn-30905086 UUID is 98b2e97f-83ce-40ad-972f-ca16b9e9c87b 2026-04-18 02:58:08,910 - DEBUG - Response for create_network : {'network': {'id': '58dc8d40-02ef-4b94-a99b-8a2e2a0fe02b', 'name': 'ctest-vn-51091273', 'tenant_id': '6ffdb04f20b1419b888956131409b0ab', 'project_id': '6ffdb04f20b1419b888956131409b0ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49485232', 'ctest-vn-51091273'], 'port_security_enabled': True, 'description': ''}} 2026-04-18 02:58:09,109 - DEBUG - Response for create_subnet : {'subnet': {'id': '717d35b1-3d81-4a9f-92f6-0b097315e78d', 'name': '', 'tenant_id': '6ffdb04f20b1419b888956131409b0ab', 'network_id': '58dc8d40-02ef-4b94-a99b-8a2e2a0fe02b', 'ip_version': 4, 'cidr': '26.42.16.64/26', 'allocation_pools': [{'start': '26.42.16.66', 'end': '26.42.16.126'}], 'gateway_ip': '26.42.16.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.42.16.66', 'tags': [], 'project_id': '6ffdb04f20b1419b888956131409b0ab'}} 2026-04-18 02:58:09,128 - INFO - Created VN ctest-vn-51091273 2026-04-18 02:58:09,184 - DEBUG - VN ctest-vn-51091273 UUID is 58dc8d40-02ef-4b94-a99b-8a2e2a0fe02b 2026-04-18 02:58:09,300 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-49485232:ctest-vn-30905086, 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-49485232:ctest-vn-51091273, 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-04-18 02:58:09,613 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '98b2e97f-83ce-40ad-972f-ca16b9e9c87b', 'name': 'ctest-vn-30905086', 'tenant_id': '6ffdb04f20b1419b888956131409b0ab', 'project_id': '6ffdb04f20b1419b888956131409b0ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9a8a1eef-9f5d-4355-b9f8-a979e776412e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49485232', 'ctest-vn-30905086'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49485232', 'ctest-policy-allow-all-25939050']], 'subnet_ipam': [{'subnet_cidr': '44.105.156.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-18 02:58:09,852 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '58dc8d40-02ef-4b94-a99b-8a2e2a0fe02b', 'name': 'ctest-vn-51091273', 'tenant_id': '6ffdb04f20b1419b888956131409b0ab', 'project_id': '6ffdb04f20b1419b888956131409b0ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['717d35b1-3d81-4a9f-92f6-0b097315e78d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49485232', 'ctest-vn-51091273'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49485232', 'ctest-policy-allow-all-25939050']], 'subnet_ipam': [{'subnet_cidr': '26.42.16.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-18 02:58:10,012 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-18 02:58:10,288 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-18 02:58:10,320 - DEBUG - Requesting: http://10.0.0.38:8082/domain/50e1fa05-26b9-4d0b-9964-5a06d44ee100 2026-04-18 02:58:10,332 - DEBUG - Requesting: http://10.0.0.38:8082/project/6ffdb04f-20b1-419b-8889-56131409b0ab 2026-04-18 02:58:10,405 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/98b2e97f-83ce-40ad-972f-ca16b9e9c87b 2026-04-18 02:58:10,415 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/98b2e97f-83ce-40ad-972f-ca16b9e9c87b 2026-04-18 02:58:10,425 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bfe948a8-d58c-4143-b295-241207d34fc5 2026-04-18 02:58:10,431 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bfe948a8-d58c-4143-b295-241207d34fc5 2026-04-18 02:58:10,437 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f50719ce-f652-40c2-b880-5b9f420e032d 2026-04-18 02:58:10,443 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-18 02:58:10,443 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/98b2e97f-83ce-40ad-972f-ca16b9e9c87b 2026-04-18 02:58:10,452 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bfe948a8-d58c-4143-b295-241207d34fc5 2026-04-18 02:58:10,464 - INFO - Verified VN network id 11 for VN 98b2e97f-83ce-40ad-972f-ca16b9e9c87b 2026-04-18 02:58:10,464 - INFO - Verifications in API Server for VN ctest-vn-30905086 passed 2026-04-18 02:58:10,465 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/98b2e97f-83ce-40ad-972f-ca16b9e9c87b 2026-04-18 02:58:10,473 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bfe948a8-d58c-4143-b295-241207d34fc5 2026-04-18 02:58:10,479 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bfe948a8-d58c-4143-b295-241207d34fc5 2026-04-18 02:58:10,485 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f50719ce-f652-40c2-b880-5b9f420e032d 2026-04-18 02:58:10,495 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49485232:ctest-vn-30905086', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49485232', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11003113573500993709', 'uuid-lslong': '10894148222589716603'}, 'enable': 'true', 'created': '2026-04-18T02:58:08', 'last-modified': '2026-04-18T02:58:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.913071'} 2026-04-18 02:58:10,502 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-18 02:58:10,502 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30905086 passed 2026-04-18 02:58:10,502 - DEBUG - ====Verifying policy data for ctest-vn-30905086 in API_Server ====== 2026-04-18 02:58:10,502 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-18 02:58:10,508 - DEBUG - Requesting: http://10.0.0.38:8082/domain/50e1fa05-26b9-4d0b-9964-5a06d44ee100 2026-04-18 02:58:10,520 - DEBUG - Requesting: http://10.0.0.38:8082/project/6ffdb04f-20b1-419b-8889-56131409b0ab 2026-04-18 02:58:10,591 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/98b2e97f-83ce-40ad-972f-ca16b9e9c87b 2026-04-18 02:58:10,600 - DEBUG - ==>Verifying data for policy with id: e751435c-19c3-4b63-97d7-8297b66b7b77, fqn: ['default-domain', 'ctest-TestBasicPolicy-49485232', 'ctest-policy-allow-all-25939050'] 2026-04-18 02:58:10,600 - INFO - VN ctest-vn-30905086 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-18 02:58:10,600 - DEBUG - Verifying the vn in opserver 2026-04-18 02:58:10,600 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49485232:ctest-vn-30905086 virtual network link through opserver 10.0.0.38 2026-04-18 02:58:10,600 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-18 02:58:10,864 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-18 02:58:10,927 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49485232:ctest-vn-30905086', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49485232:ctest-vn-30905086?flat'} 2026-04-18 02:58:10,927 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49485232:ctest-vn-30905086 is found in opserver 2026-04-18 02:58:10,937 - DEBUG - Do not have enough data to verify VN in agent 2026-04-18 02:58:10,941 - DEBUG - VRF ids for VN ctest-vn-30905086: {} 2026-04-18 02:58:10,941 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-18 02:58:10,946 - DEBUG - Requesting: http://10.0.0.38:8082/domain/50e1fa05-26b9-4d0b-9964-5a06d44ee100 2026-04-18 02:58:10,959 - DEBUG - Requesting: http://10.0.0.38:8082/project/6ffdb04f-20b1-419b-8889-56131409b0ab 2026-04-18 02:58:11,030 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/58dc8d40-02ef-4b94-a99b-8a2e2a0fe02b 2026-04-18 02:58:11,041 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/58dc8d40-02ef-4b94-a99b-8a2e2a0fe02b 2026-04-18 02:58:11,051 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6615ff29-8869-4134-8745-8977ec8a2922 2026-04-18 02:58:11,058 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6615ff29-8869-4134-8745-8977ec8a2922 2026-04-18 02:58:11,064 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f5135c6f-b1c3-4554-8102-17546b574fc1 2026-04-18 02:58:11,070 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-18 02:58:11,071 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/58dc8d40-02ef-4b94-a99b-8a2e2a0fe02b 2026-04-18 02:58:11,078 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6615ff29-8869-4134-8745-8977ec8a2922 2026-04-18 02:58:11,091 - INFO - Verified VN network id 12 for VN 58dc8d40-02ef-4b94-a99b-8a2e2a0fe02b 2026-04-18 02:58:11,091 - INFO - Verifications in API Server for VN ctest-vn-51091273 passed 2026-04-18 02:58:11,091 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/58dc8d40-02ef-4b94-a99b-8a2e2a0fe02b 2026-04-18 02:58:11,100 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6615ff29-8869-4134-8745-8977ec8a2922 2026-04-18 02:58:11,106 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6615ff29-8869-4134-8745-8977ec8a2922 2026-04-18 02:58:11,112 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f5135c6f-b1c3-4554-8102-17546b574fc1 2026-04-18 02:58:11,125 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49485232:ctest-vn-51091273', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49485232', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6403148076280662932', 'uuid-lslong': '12221513944678785067'}, 'enable': 'true', 'created': '2026-04-18T02:58:08', 'last-modified': '2026-04-18T02:58:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.299192'} 2026-04-18 02:58:11,131 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-18 02:58:11,131 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51091273 passed 2026-04-18 02:58:11,131 - DEBUG - ====Verifying policy data for ctest-vn-51091273 in API_Server ====== 2026-04-18 02:58:11,131 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-18 02:58:11,137 - DEBUG - Requesting: http://10.0.0.38:8082/domain/50e1fa05-26b9-4d0b-9964-5a06d44ee100 2026-04-18 02:58:11,150 - DEBUG - Requesting: http://10.0.0.38:8082/project/6ffdb04f-20b1-419b-8889-56131409b0ab 2026-04-18 02:58:11,215 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/58dc8d40-02ef-4b94-a99b-8a2e2a0fe02b 2026-04-18 02:58:11,225 - DEBUG - ==>Verifying data for policy with id: e751435c-19c3-4b63-97d7-8297b66b7b77, fqn: ['default-domain', 'ctest-TestBasicPolicy-49485232', 'ctest-policy-allow-all-25939050'] 2026-04-18 02:58:11,225 - INFO - VN ctest-vn-51091273 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-18 02:58:11,225 - DEBUG - Verifying the vn in opserver 2026-04-18 02:58:11,225 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49485232:ctest-vn-51091273 virtual network link through opserver 10.0.0.38 2026-04-18 02:58:11,225 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-18 02:58:11,235 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49485232:ctest-vn-51091273', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49485232:ctest-vn-51091273?flat'} 2026-04-18 02:58:11,235 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49485232:ctest-vn-51091273 is found in opserver 2026-04-18 02:58:11,245 - DEBUG - Do not have enough data to verify VN in agent 2026-04-18 02:58:11,249 - DEBUG - VRF ids for VN ctest-vn-51091273: {} 2026-04-18 02:58:11,307 - DEBUG - Services list from nova: [, , ] 2026-04-18 02:58:12,268 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5641-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5641-1) 2026-04-18 02:58:13,364 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5641-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5641-1) 2026-04-18 02:58:13,364 - INFO - Waiting for VM ctest-TestBasicPolicy-49485232-65033676 to be up.. 2026-04-18 02:58:13,463 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-18 02:58:18,552 - DEBUG - VM is in ACTIVE state now 2026-04-18 02:58:18,552 - INFO - VM name : ctest-TestBasicPolicy-49485232-65033676 2026-04-18 02:58:18,646 - DEBUG - VM ctest-TestBasicPolicy-49485232-65033676 ID is 325dfaff-0d1d-450b-83bf-6d9fe0ee5412 2026-04-18 02:58:18,665 - DEBUG - VM ctest-TestBasicPolicy-49485232-65033676 launched on Node cn-jenkins-deploy-platform-ansible-os-5641-1 2026-04-18 02:58:18,743 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/325dfaff-0d1d-450b-83bf-6d9fe0ee5412 2026-04-18 02:58:18,752 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f68b0b64-3282-47ff-93b6-1ade1a12d15f 2026-04-18 02:58:22,030 - 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 1035ms') 2026-04-18 02:58:22,030 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49485232-65033676 failed! 2026-04-18 02:58:22,084 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49485232:ctest-vn-30905086 is 44.105.156.1 and allocation pool is NOT set 2026-04-18 02:58:24,148 - 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=3.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.478 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 = 0.478/1.782/3.086/1.304 ms') 2026-04-18 02:58:24,149 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49485232-65033676 passed 2026-04-18 02:58:24,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-18 02:58:24,304 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49485232-65033676, IP 44.105.156.3, Port 22 2026-04-18 02:58:24,460 - DEBUG - VM ctest-TestBasicPolicy-49485232-65033676 is ready for SSH connections 2026-04-18 02:58:24,460 - INFO - Waiting for VM ctest-TestBasicPolicy-49485232-80632519 to be up.. 2026-04-18 02:58:24,535 - DEBUG - VM is in ACTIVE state now 2026-04-18 02:58:24,535 - INFO - VM name : ctest-TestBasicPolicy-49485232-80632519 2026-04-18 02:58:24,611 - DEBUG - VM ctest-TestBasicPolicy-49485232-80632519 ID is 9f23c252-753a-461e-9117-2ae3213590b2 2026-04-18 02:58:24,611 - DEBUG - VM ctest-TestBasicPolicy-49485232-80632519 launched on Node cn-jenkins-deploy-platform-ansible-os-5641-1 2026-04-18 02:58:24,682 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9f23c252-753a-461e-9117-2ae3213590b2 2026-04-18 02:58:24,691 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/354f8314-b74f-44a4-a15c-32cdc4400269 2026-04-18 02:58:25,925 - 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.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.793 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.793/2.153/3.513/1.360 ms') 2026-04-18 02:58:25,925 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-49485232-80632519 passed 2026-04-18 02:58:26,072 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-18 02:58:26,073 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49485232-80632519, IP 26.42.16.67, Port 22 2026-04-18 02:58:26,228 - DEBUG - VM ctest-TestBasicPolicy-49485232-80632519 is ready for SSH connections 2026-04-18 02:58:26,228 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-18 02:58:26,228 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.42.16.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-18 02:58:26,228 - DEBUG - ping -s 56 -c 3 -W 1 26.42.16.67 2026-04-18 02:58:30,260 - DEBUG - PING 26.42.16.67 (26.42.16.67): 56 data bytes 64 bytes from 26.42.16.67: seq=0 ttl=63 time=4.705 ms 64 bytes from 26.42.16.67: seq=1 ttl=63 time=0.961 ms 64 bytes from 26.42.16.67: seq=2 ttl=63 time=0.763 ms --- 26.42.16.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.763/2.143/4.705 ms 2026-04-18 02:58:30,260 - INFO - Ping to IP 26.42.16.67 from VM ctest-TestBasicPolicy-49485232-65033676 passed 2026-04-18 02:58:30,432 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e751435c-19c3-4b63-97d7-8297b66b7b77", "href": "http://10.0.0.38:8082/network-policy/e751435c-19c3-4b63-97d7-8297b66b7b77"}} 2026-04-18 02:58:30,432 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-18 02:58:30,432 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.42.16.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-18 02:58:30,432 - DEBUG - ping -s 56 -c 3 -W 1 26.42.16.67 2026-04-18 02:58:33,652 - DEBUG - PING 26.42.16.67 (26.42.16.67): 56 data bytes --- 26.42.16.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-18 02:58:33,652 - WARNING - Ping to IP 26.42.16.67 from VM ctest-TestBasicPolicy-49485232-65033676 failed 2026-04-18 02:58:33,652 - INFO - Deleting VM ctest-TestBasicPolicy-49485232-80632519 2026-04-18 02:58:33,734 - INFO - Deleting VM ctest-TestBasicPolicy-49485232-65033676 2026-04-18 02:58:34,090 - INFO - Deleted policy ctest-policy-allow-all-25939050 2026-04-18 02:58:34,090 - INFO - Deleting VN ctest-vn-51091273 2026-04-18 02:58:34,130 - DEBUG - VN 58dc8d40-02ef-4b94-a99b-8a2e2a0fe02b still in use: Unable to complete operation on network 58dc8d40-02ef-4b94-a99b-8a2e2a0fe02b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e344efec-9ca8-4f56-a0fd-d077770d97f8'] 2026-04-18 02:58:34,130 - WARNING - Deleting VN ctest-vn-51091273 failed..Will retry 2026-04-18 02:58:36,232 - DEBUG - Response for deleting network () 2026-04-18 02:58:36,232 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6615ff29-8869-4134-8745-8977ec8a2922 2026-04-18 02:58:36,241 - DEBUG - Response Code: 404 2026-04-18 02:58:36,241 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-18 02:58:36,247 - DEBUG - Requesting: http://10.0.0.38:8082/domain/50e1fa05-26b9-4d0b-9964-5a06d44ee100 2026-04-18 02:58:36,302 - DEBUG - Requesting: http://10.0.0.38:8082/project/6ffdb04f-20b1-419b-8889-56131409b0ab 2026-04-18 02:58:36,376 - INFO - Validated that VN ctest-vn-51091273 is not found in API Server 2026-04-18 02:58:36,386 - DEBUG - VN ctest-vn-51091273 is not present in Agent 10.0.0.38 2026-04-18 02:58:36,386 - INFO - Validated that VN ctest-vn-51091273 is not in any agent 2026-04-18 02:58:36,399 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51091273 info 2026-04-18 02:58:36,399 - INFO - Deleting VN ctest-vn-30905086 2026-04-18 02:58:36,516 - DEBUG - Response for deleting network () 2026-04-18 02:58:36,516 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bfe948a8-d58c-4143-b295-241207d34fc5 2026-04-18 02:58:36,522 - DEBUG - Response Code: 404 2026-04-18 02:58:36,523 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-18 02:58:36,528 - DEBUG - Requesting: http://10.0.0.38:8082/domain/50e1fa05-26b9-4d0b-9964-5a06d44ee100 2026-04-18 02:58:36,581 - DEBUG - Requesting: http://10.0.0.38:8082/project/6ffdb04f-20b1-419b-8889-56131409b0ab 2026-04-18 02:58:36,653 - INFO - Validated that VN ctest-vn-30905086 is not found in API Server 2026-04-18 02:58:36,664 - DEBUG - VN ctest-vn-30905086 is not present in Agent 10.0.0.38 2026-04-18 02:58:36,664 - INFO - Validated that VN ctest-vn-30905086 is not in any agent 2026-04-18 02:58:36,679 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30905086 info 2026-04-18 02:58:36,934 - DEBUG - No XMPP flaps were noticed during the test 2026-04-18 02:58:36,934 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2026-04-18 02:58:36,934 - INFO - -------------------------------------------------------------------------------- 2026-04-18 02:58:37,588 - INFO - Deleted project: ctest-TestBasicPolicy-49485232, ID : 6ffdb04f-20b1-419b-8889-56131409b0ab