2026-06-01 18:30:57,740 - INFO - Domain Default found not creating 2026-06-01 18:30:57,924 - INFO - Project ctest-TestBasicPolicy-52947220 not found, creating it 2026-06-01 18:30:58,415 - INFO - Created Project:ctest-TestBasicPolicy-52947220, ID : 1de22018-0f64-4d7a-ac6c-c7924cedcc86 2026-06-01 18:30:59,916 - INFO - ================================================================================ 2026-06-01 18:30:59,916 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-01 18:30:59,916 - 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-06-01 18:31:00,179 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.129': '0'}} with 2026-06-01 18:31:00,180 - INFO - Initial checks done. Running the testcase now 2026-06-01 18:31:00,180 - INFO - 2026-06-01 18:31:00,750 - DEBUG - Response for create_network : {'network': {'id': '2f10ff2c-6103-4c33-b41b-3ef95d90bd75', 'name': 'ctest-vn-19551179', 'tenant_id': '1de220180f644d7aac6cc7924cedcc86', 'project_id': '1de220180f644d7aac6cc7924cedcc86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52947220', 'ctest-vn-19551179'], 'port_security_enabled': True, 'description': ''}} 2026-06-01 18:31:00,917 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af50043e-26d4-4558-a60c-e87b96e38273', 'name': '', 'tenant_id': '1de220180f644d7aac6cc7924cedcc86', 'network_id': '2f10ff2c-6103-4c33-b41b-3ef95d90bd75', 'ip_version': 4, 'cidr': '138.235.104.64/26', 'allocation_pools': [{'start': '138.235.104.66', 'end': '138.235.104.126'}], 'gateway_ip': '138.235.104.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.235.104.66', 'tags': [], 'project_id': '1de220180f644d7aac6cc7924cedcc86'}} 2026-06-01 18:31:00,939 - INFO - Created VN ctest-vn-19551179 2026-06-01 18:31:00,996 - DEBUG - VN ctest-vn-19551179 UUID is 2f10ff2c-6103-4c33-b41b-3ef95d90bd75 2026-06-01 18:31:01,299 - DEBUG - Response for create_network : {'network': {'id': 'a79d057c-32e3-4c64-aa47-a1a7c3f4ad3a', 'name': 'ctest-vn-09006540', 'tenant_id': '1de220180f644d7aac6cc7924cedcc86', 'project_id': '1de220180f644d7aac6cc7924cedcc86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52947220', 'ctest-vn-09006540'], 'port_security_enabled': True, 'description': ''}} 2026-06-01 18:31:01,513 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e097944e-7ae5-4b55-8765-57a9d602f3c7', 'name': '', 'tenant_id': '1de220180f644d7aac6cc7924cedcc86', 'network_id': 'a79d057c-32e3-4c64-aa47-a1a7c3f4ad3a', 'ip_version': 4, 'cidr': '134.183.65.128/26', 'allocation_pools': [{'start': '134.183.65.130', 'end': '134.183.65.190'}], 'gateway_ip': '134.183.65.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.183.65.130', 'tags': [], 'project_id': '1de220180f644d7aac6cc7924cedcc86'}} 2026-06-01 18:31:01,536 - INFO - Created VN ctest-vn-09006540 2026-06-01 18:31:01,588 - DEBUG - VN ctest-vn-09006540 UUID is a79d057c-32e3-4c64-aa47-a1a7c3f4ad3a 2026-06-01 18:31:01,710 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-52947220:ctest-vn-19551179, 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-52947220:ctest-vn-09006540, 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-06-01 18:31:02,001 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2f10ff2c-6103-4c33-b41b-3ef95d90bd75', 'name': 'ctest-vn-19551179', 'tenant_id': '1de220180f644d7aac6cc7924cedcc86', 'project_id': '1de220180f644d7aac6cc7924cedcc86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['af50043e-26d4-4558-a60c-e87b96e38273'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52947220', 'ctest-vn-19551179'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52947220', 'ctest-policy-allow-all-49707258']], 'subnet_ipam': [{'subnet_cidr': '138.235.104.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-01 18:31:02,244 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a79d057c-32e3-4c64-aa47-a1a7c3f4ad3a', 'name': 'ctest-vn-09006540', 'tenant_id': '1de220180f644d7aac6cc7924cedcc86', 'project_id': '1de220180f644d7aac6cc7924cedcc86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e097944e-7ae5-4b55-8765-57a9d602f3c7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52947220', 'ctest-vn-09006540'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52947220', 'ctest-policy-allow-all-49707258']], 'subnet_ipam': [{'subnet_cidr': '134.183.65.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-01 18:31:02,412 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-01 18:31:02,712 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-01 18:31:02,744 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7ba7df23-fae8-4bab-923d-f6ff17267c16 2026-06-01 18:31:02,758 - DEBUG - Requesting: http://10.0.0.38:8082/project/1de22018-0f64-4d7a-ac6c-c7924cedcc86 2026-06-01 18:31:02,837 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2f10ff2c-6103-4c33-b41b-3ef95d90bd75 2026-06-01 18:31:02,848 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2f10ff2c-6103-4c33-b41b-3ef95d90bd75 2026-06-01 18:31:02,859 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f420be95-724a-4a7a-9090-9c7b20661287 2026-06-01 18:31:02,869 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f420be95-724a-4a7a-9090-9c7b20661287 2026-06-01 18:31:02,877 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f06f3a96-ddd3-4720-acc0-6884b1cc3c67 2026-06-01 18:31:02,884 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-01 18:31:02,884 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2f10ff2c-6103-4c33-b41b-3ef95d90bd75 2026-06-01 18:31:02,893 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f420be95-724a-4a7a-9090-9c7b20661287 2026-06-01 18:31:02,909 - INFO - Verified VN network id 11 for VN 2f10ff2c-6103-4c33-b41b-3ef95d90bd75 2026-06-01 18:31:02,909 - INFO - Verifications in API Server for VN ctest-vn-19551179 passed 2026-06-01 18:31:02,909 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2f10ff2c-6103-4c33-b41b-3ef95d90bd75 2026-06-01 18:31:02,918 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f420be95-724a-4a7a-9090-9c7b20661287 2026-06-01 18:31:02,926 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f420be95-724a-4a7a-9090-9c7b20661287 2026-06-01 18:31:02,936 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f06f3a96-ddd3-4720-acc0-6884b1cc3c67 2026-06-01 18:31:02,948 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52947220:ctest-vn-19551179', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52947220', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3391491085481233459', 'uuid-lslong': '12978035991935761781'}, 'enable': 'true', 'created': '2026-06-01T18:31:00', 'last-modified': '2026-06-01T18:31:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.970190'} 2026-06-01 18:31:02,953 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-01 18:31:02,953 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19551179 passed 2026-06-01 18:31:02,954 - DEBUG - ====Verifying policy data for ctest-vn-19551179 in API_Server ====== 2026-06-01 18:31:02,954 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-01 18:31:02,959 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7ba7df23-fae8-4bab-923d-f6ff17267c16 2026-06-01 18:31:02,970 - DEBUG - Requesting: http://10.0.0.38:8082/project/1de22018-0f64-4d7a-ac6c-c7924cedcc86 2026-06-01 18:31:03,045 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2f10ff2c-6103-4c33-b41b-3ef95d90bd75 2026-06-01 18:31:03,054 - DEBUG - ==>Verifying data for policy with id: d1c9cb0b-11d9-4d60-ad3d-5c6ed83f3b83, fqn: ['default-domain', 'ctest-TestBasicPolicy-52947220', 'ctest-policy-allow-all-49707258'] 2026-06-01 18:31:03,055 - INFO - VN ctest-vn-19551179 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-01 18:31:03,055 - DEBUG - Verifying the vn in opserver 2026-06-01 18:31:03,055 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52947220:ctest-vn-19551179 virtual network link through opserver 10.0.0.38 2026-06-01 18:31:03,055 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-01 18:31:03,350 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-01 18:31:03,416 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52947220:ctest-vn-19551179', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52947220:ctest-vn-19551179?flat'} 2026-06-01 18:31:03,416 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52947220:ctest-vn-19551179 is found in opserver 2026-06-01 18:31:03,426 - DEBUG - Do not have enough data to verify VN in agent 2026-06-01 18:31:03,431 - DEBUG - VRF ids for VN ctest-vn-19551179: {} 2026-06-01 18:31:03,431 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-01 18:31:03,437 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7ba7df23-fae8-4bab-923d-f6ff17267c16 2026-06-01 18:31:03,450 - DEBUG - Requesting: http://10.0.0.38:8082/project/1de22018-0f64-4d7a-ac6c-c7924cedcc86 2026-06-01 18:31:03,524 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a79d057c-32e3-4c64-aa47-a1a7c3f4ad3a 2026-06-01 18:31:03,536 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a79d057c-32e3-4c64-aa47-a1a7c3f4ad3a 2026-06-01 18:31:03,545 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f9e8ce18-67cd-4dda-9d56-936e39a076dc 2026-06-01 18:31:03,553 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f9e8ce18-67cd-4dda-9d56-936e39a076dc 2026-06-01 18:31:03,560 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/227ff405-5339-4272-b141-e65108b770c4 2026-06-01 18:31:03,567 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-01 18:31:03,567 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a79d057c-32e3-4c64-aa47-a1a7c3f4ad3a 2026-06-01 18:31:03,577 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f9e8ce18-67cd-4dda-9d56-936e39a076dc 2026-06-01 18:31:03,591 - INFO - Verified VN network id 12 for VN a79d057c-32e3-4c64-aa47-a1a7c3f4ad3a 2026-06-01 18:31:03,591 - INFO - Verifications in API Server for VN ctest-vn-09006540 passed 2026-06-01 18:31:03,591 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a79d057c-32e3-4c64-aa47-a1a7c3f4ad3a 2026-06-01 18:31:03,601 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f9e8ce18-67cd-4dda-9d56-936e39a076dc 2026-06-01 18:31:03,609 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f9e8ce18-67cd-4dda-9d56-936e39a076dc 2026-06-01 18:31:03,616 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/227ff405-5339-4272-b141-e65108b770c4 2026-06-01 18:31:03,631 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52947220:ctest-vn-09006540', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52947220', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12077815806665378916', 'uuid-lslong': '12269953451713408314'}, 'enable': 'true', 'created': '2026-06-01T18:31:01', 'last-modified': '2026-06-01T18:31:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.408031'} 2026-06-01 18:31:03,638 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-01 18:31:03,638 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09006540 passed 2026-06-01 18:31:03,638 - DEBUG - ====Verifying policy data for ctest-vn-09006540 in API_Server ====== 2026-06-01 18:31:03,638 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-01 18:31:03,644 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7ba7df23-fae8-4bab-923d-f6ff17267c16 2026-06-01 18:31:03,656 - DEBUG - Requesting: http://10.0.0.38:8082/project/1de22018-0f64-4d7a-ac6c-c7924cedcc86 2026-06-01 18:31:03,727 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a79d057c-32e3-4c64-aa47-a1a7c3f4ad3a 2026-06-01 18:31:03,737 - DEBUG - ==>Verifying data for policy with id: d1c9cb0b-11d9-4d60-ad3d-5c6ed83f3b83, fqn: ['default-domain', 'ctest-TestBasicPolicy-52947220', 'ctest-policy-allow-all-49707258'] 2026-06-01 18:31:03,737 - INFO - VN ctest-vn-09006540 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-01 18:31:03,737 - DEBUG - Verifying the vn in opserver 2026-06-01 18:31:03,737 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52947220:ctest-vn-09006540 virtual network link through opserver 10.0.0.38 2026-06-01 18:31:03,737 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-01 18:31:03,747 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52947220:ctest-vn-09006540', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52947220:ctest-vn-09006540?flat'} 2026-06-01 18:31:03,748 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52947220:ctest-vn-09006540 is found in opserver 2026-06-01 18:31:03,759 - DEBUG - Do not have enough data to verify VN in agent 2026-06-01 18:31:03,765 - DEBUG - VRF ids for VN ctest-vn-09006540: {} 2026-06-01 18:31:03,830 - DEBUG - Services list from nova: [, , ] 2026-06-01 18:31:04,885 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5874-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5874-1) 2026-06-01 18:31:06,063 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5874-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5874-1) 2026-06-01 18:31:06,063 - INFO - Waiting for VM ctest-TestBasicPolicy-52947220-45788129 to be up.. 2026-06-01 18:31:06,167 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-01 18:31:11,256 - DEBUG - VM is in ACTIVE state now 2026-06-01 18:31:11,256 - INFO - VM name : ctest-TestBasicPolicy-52947220-45788129 2026-06-01 18:31:11,346 - DEBUG - VM ctest-TestBasicPolicy-52947220-45788129 ID is 5b1498ee-c502-4a8c-b2b8-895f0cfef198 2026-06-01 18:31:11,366 - DEBUG - VM ctest-TestBasicPolicy-52947220-45788129 launched on Node cn-jenkins-deploy-platform-ansible-os-5874-1 2026-06-01 18:31:11,449 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5b1498ee-c502-4a8c-b2b8-895f0cfef198 2026-06-01 18:31:11,461 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b66c95de-62a0-4737-b74f-07c221c0c113 2026-06-01 18:31:14,742 - 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-06-01 18:31:14,742 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52947220-45788129 failed! 2026-06-01 18:31:14,805 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-52947220:ctest-vn-19551179 is 138.235.104.65 and allocation pool is NOT set 2026-06-01 18:31:16,873 - 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.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.470 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.470/3.789/7.109/3.319 ms') 2026-06-01 18:31:16,874 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52947220-45788129 passed 2026-06-01 18:31:17,032 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 18:31:17,032 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52947220-45788129, IP 138.235.104.67, Port 22 2026-06-01 18:31:17,187 - DEBUG - VM ctest-TestBasicPolicy-52947220-45788129 is ready for SSH connections 2026-06-01 18:31:17,187 - INFO - Waiting for VM ctest-TestBasicPolicy-52947220-59203769 to be up.. 2026-06-01 18:31:17,279 - DEBUG - VM is in ACTIVE state now 2026-06-01 18:31:17,279 - INFO - VM name : ctest-TestBasicPolicy-52947220-59203769 2026-06-01 18:31:17,363 - DEBUG - VM ctest-TestBasicPolicy-52947220-59203769 ID is a597eeca-b8ba-4c2e-83eb-338a6998fbd5 2026-06-01 18:31:17,363 - DEBUG - VM ctest-TestBasicPolicy-52947220-59203769 launched on Node cn-jenkins-deploy-platform-ansible-os-5874-1 2026-06-01 18:31:17,443 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a597eeca-b8ba-4c2e-83eb-338a6998fbd5 2026-06-01 18:31:17,451 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bb4a0af5-c74e-40f5-be89-2b6ab07a9d47 2026-06-01 18:31:18,702 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.04 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 = 1.040/2.757/4.475/1.717 ms') 2026-06-01 18:31:18,703 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-52947220-59203769 passed 2026-06-01 18:31:18,852 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 18:31:18,852 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52947220-59203769, IP 134.183.65.131, Port 22 2026-06-01 18:31:19,007 - DEBUG - VM ctest-TestBasicPolicy-52947220-59203769 is ready for SSH connections 2026-06-01 18:31:19,008 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 18:31:19,008 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.183.65.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-06-01 18:31:19,008 - DEBUG - ping -s 56 -c 3 -W 1 134.183.65.131 2026-06-01 18:31:23,066 - DEBUG - PING 134.183.65.131 (134.183.65.131): 56 data bytes 64 bytes from 134.183.65.131: seq=0 ttl=63 time=3.760 ms 64 bytes from 134.183.65.131: seq=1 ttl=63 time=1.102 ms 64 bytes from 134.183.65.131: seq=2 ttl=63 time=0.924 ms --- 134.183.65.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.924/1.928/3.760 ms 2026-06-01 18:31:23,066 - INFO - Ping to IP 134.183.65.131 from VM ctest-TestBasicPolicy-52947220-45788129 passed 2026-06-01 18:31:23,252 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d1c9cb0b-11d9-4d60-ad3d-5c6ed83f3b83", "href": "http://10.0.0.38:8082/network-policy/d1c9cb0b-11d9-4d60-ad3d-5c6ed83f3b83"}} 2026-06-01 18:31:23,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 18:31:23,252 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.183.65.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-06-01 18:31:23,252 - DEBUG - ping -s 56 -c 3 -W 1 134.183.65.131 2026-06-01 18:31:26,510 - DEBUG - PING 134.183.65.131 (134.183.65.131): 56 data bytes --- 134.183.65.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-01 18:31:26,510 - WARNING - Ping to IP 134.183.65.131 from VM ctest-TestBasicPolicy-52947220-45788129 failed 2026-06-01 18:31:26,510 - INFO - Deleting VM ctest-TestBasicPolicy-52947220-59203769 2026-06-01 18:31:26,580 - INFO - Deleting VM ctest-TestBasicPolicy-52947220-45788129 2026-06-01 18:31:26,954 - INFO - Deleted policy ctest-policy-allow-all-49707258 2026-06-01 18:31:26,954 - INFO - Deleting VN ctest-vn-09006540 2026-06-01 18:31:26,990 - DEBUG - VN a79d057c-32e3-4c64-aa47-a1a7c3f4ad3a still in use: Unable to complete operation on network a79d057c-32e3-4c64-aa47-a1a7c3f4ad3a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8a62164b-94c8-48ca-b34a-c5f1fcfb2dfb'] 2026-06-01 18:31:26,990 - WARNING - Deleting VN ctest-vn-09006540 failed..Will retry 2026-06-01 18:31:29,099 - DEBUG - Response for deleting network () 2026-06-01 18:31:29,099 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f9e8ce18-67cd-4dda-9d56-936e39a076dc 2026-06-01 18:31:29,105 - DEBUG - Response Code: 404 2026-06-01 18:31:29,105 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-01 18:31:29,114 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7ba7df23-fae8-4bab-923d-f6ff17267c16 2026-06-01 18:31:29,170 - DEBUG - Requesting: http://10.0.0.38:8082/project/1de22018-0f64-4d7a-ac6c-c7924cedcc86 2026-06-01 18:31:29,247 - INFO - Validated that VN ctest-vn-09006540 is not found in API Server 2026-06-01 18:31:29,258 - DEBUG - VN ctest-vn-09006540 is not present in Agent 10.0.0.38 2026-06-01 18:31:29,258 - INFO - Validated that VN ctest-vn-09006540 is not in any agent 2026-06-01 18:31:29,273 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09006540 info 2026-06-01 18:31:29,273 - INFO - Deleting VN ctest-vn-19551179 2026-06-01 18:31:29,390 - DEBUG - Response for deleting network () 2026-06-01 18:31:29,390 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f420be95-724a-4a7a-9090-9c7b20661287 2026-06-01 18:31:29,396 - DEBUG - Response Code: 404 2026-06-01 18:31:29,396 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-01 18:31:29,401 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7ba7df23-fae8-4bab-923d-f6ff17267c16 2026-06-01 18:31:29,458 - DEBUG - Requesting: http://10.0.0.38:8082/project/1de22018-0f64-4d7a-ac6c-c7924cedcc86 2026-06-01 18:31:29,534 - INFO - Validated that VN ctest-vn-19551179 is not found in API Server 2026-06-01 18:31:29,543 - DEBUG - VN ctest-vn-19551179 is not present in Agent 10.0.0.38 2026-06-01 18:31:29,543 - INFO - Validated that VN ctest-vn-19551179 is not in any agent 2026-06-01 18:31:29,558 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19551179 info 2026-06-01 18:31:29,833 - DEBUG - No XMPP flaps were noticed during the test 2026-06-01 18:31:29,834 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-06-01 18:31:29,834 - INFO - -------------------------------------------------------------------------------- 2026-06-01 18:31:30,571 - INFO - Deleted project: ctest-TestBasicPolicy-52947220, ID : 1de22018-0f64-4d7a-ac6c-c7924cedcc86