2026-06-11 21:13:22,076 - INFO - Domain Default found not creating 2026-06-11 21:13:22,223 - INFO - Project ctest-TestBasicPolicy-14548452 not found, creating it 2026-06-11 21:13:22,667 - INFO - Created Project:ctest-TestBasicPolicy-14548452, ID : f1231329-237d-4ef5-ac7f-93ba705331ca 2026-06-11 21:13:24,138 - INFO - ================================================================================ 2026-06-11 21:13:24,138 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-11 21:13:24,138 - 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-11 21:13:24,392 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2026-06-11 21:13:24,392 - INFO - Initial checks done. Running the testcase now 2026-06-11 21:13:24,392 - INFO - 2026-06-11 21:13:24,942 - DEBUG - Response for create_network : {'network': {'id': '22628885-b12f-4eb3-b132-3da7c4b4ad29', 'name': 'ctest-vn-70109668', 'tenant_id': 'f1231329237d4ef5ac7f93ba705331ca', 'project_id': 'f1231329237d4ef5ac7f93ba705331ca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14548452', 'ctest-vn-70109668'], 'port_security_enabled': True, 'description': ''}} 2026-06-11 21:13:25,116 - DEBUG - Response for create_subnet : {'subnet': {'id': '4cf4967b-7a34-45dc-bb22-2ad38c07d974', 'name': '', 'tenant_id': 'f1231329237d4ef5ac7f93ba705331ca', 'network_id': '22628885-b12f-4eb3-b132-3da7c4b4ad29', 'ip_version': 4, 'cidr': '25.75.181.128/26', 'allocation_pools': [{'start': '25.75.181.130', 'end': '25.75.181.190'}], 'gateway_ip': '25.75.181.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.75.181.130', 'tags': [], 'project_id': 'f1231329237d4ef5ac7f93ba705331ca'}} 2026-06-11 21:13:25,132 - INFO - Created VN ctest-vn-70109668 2026-06-11 21:13:25,181 - DEBUG - VN ctest-vn-70109668 UUID is 22628885-b12f-4eb3-b132-3da7c4b4ad29 2026-06-11 21:13:25,485 - DEBUG - Response for create_network : {'network': {'id': '896acf86-7a2f-40ac-8ba5-b3fd424b8231', 'name': 'ctest-vn-55881114', 'tenant_id': 'f1231329237d4ef5ac7f93ba705331ca', 'project_id': 'f1231329237d4ef5ac7f93ba705331ca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14548452', 'ctest-vn-55881114'], 'port_security_enabled': True, 'description': ''}} 2026-06-11 21:13:25,653 - DEBUG - Response for create_subnet : {'subnet': {'id': '3612fb55-c67d-4691-87bc-8ef001e33377', 'name': '', 'tenant_id': 'f1231329237d4ef5ac7f93ba705331ca', 'network_id': '896acf86-7a2f-40ac-8ba5-b3fd424b8231', 'ip_version': 4, 'cidr': '206.250.176.192/26', 'allocation_pools': [{'start': '206.250.176.194', 'end': '206.250.176.254'}], 'gateway_ip': '206.250.176.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.250.176.194', 'tags': [], 'project_id': 'f1231329237d4ef5ac7f93ba705331ca'}} 2026-06-11 21:13:25,667 - INFO - Created VN ctest-vn-55881114 2026-06-11 21:13:25,717 - DEBUG - VN ctest-vn-55881114 UUID is 896acf86-7a2f-40ac-8ba5-b3fd424b8231 2026-06-11 21:13:25,857 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-14548452:ctest-vn-70109668, 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-14548452:ctest-vn-55881114, 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-11 21:13:26,156 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '22628885-b12f-4eb3-b132-3da7c4b4ad29', 'name': 'ctest-vn-70109668', 'tenant_id': 'f1231329237d4ef5ac7f93ba705331ca', 'project_id': 'f1231329237d4ef5ac7f93ba705331ca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4cf4967b-7a34-45dc-bb22-2ad38c07d974'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14548452', 'ctest-vn-70109668'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14548452', 'ctest-policy-allow-all-17665500']], 'subnet_ipam': [{'subnet_cidr': '25.75.181.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-11 21:13:26,384 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '896acf86-7a2f-40ac-8ba5-b3fd424b8231', 'name': 'ctest-vn-55881114', 'tenant_id': 'f1231329237d4ef5ac7f93ba705331ca', 'project_id': 'f1231329237d4ef5ac7f93ba705331ca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3612fb55-c67d-4691-87bc-8ef001e33377'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14548452', 'ctest-vn-55881114'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14548452', 'ctest-policy-allow-all-17665500']], 'subnet_ipam': [{'subnet_cidr': '206.250.176.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-11 21:13:26,545 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-11 21:13:26,879 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-11 21:13:26,903 - DEBUG - Requesting: http://10.0.0.33:8082/domain/362ff1bb-7609-4f69-9818-847ce94f1b7c 2026-06-11 21:13:26,917 - DEBUG - Requesting: http://10.0.0.33:8082/project/f1231329-237d-4ef5-ac7f-93ba705331ca 2026-06-11 21:13:26,992 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/22628885-b12f-4eb3-b132-3da7c4b4ad29 2026-06-11 21:13:27,004 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/22628885-b12f-4eb3-b132-3da7c4b4ad29 2026-06-11 21:13:27,013 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b043be03-cad2-4465-92c4-eb4f6b40fcd7 2026-06-11 21:13:27,019 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b043be03-cad2-4465-92c4-eb4f6b40fcd7 2026-06-11 21:13:27,025 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0b6cd942-9b77-4d66-9252-242429f95555 2026-06-11 21:13:27,031 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-11 21:13:27,031 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/22628885-b12f-4eb3-b132-3da7c4b4ad29 2026-06-11 21:13:27,038 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b043be03-cad2-4465-92c4-eb4f6b40fcd7 2026-06-11 21:13:27,051 - INFO - Verified VN network id 11 for VN 22628885-b12f-4eb3-b132-3da7c4b4ad29 2026-06-11 21:13:27,051 - INFO - Verifications in API Server for VN ctest-vn-70109668 passed 2026-06-11 21:13:27,051 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/22628885-b12f-4eb3-b132-3da7c4b4ad29 2026-06-11 21:13:27,058 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b043be03-cad2-4465-92c4-eb4f6b40fcd7 2026-06-11 21:13:27,064 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b043be03-cad2-4465-92c4-eb4f6b40fcd7 2026-06-11 21:13:27,070 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0b6cd942-9b77-4d66-9252-242429f95555 2026-06-11 21:13:27,080 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14548452:ctest-vn-70109668', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14548452', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2477692852791889587', 'uuid-lslong': '12768335684317785385'}, 'enable': 'true', 'created': '2026-06-11T21:13:24', 'last-modified': '2026-06-11T21:13:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.941704'} 2026-06-11 21:13:27,085 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-11 21:13:27,085 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70109668 passed 2026-06-11 21:13:27,085 - DEBUG - ====Verifying policy data for ctest-vn-70109668 in API_Server ====== 2026-06-11 21:13:27,086 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-11 21:13:27,090 - DEBUG - Requesting: http://10.0.0.33:8082/domain/362ff1bb-7609-4f69-9818-847ce94f1b7c 2026-06-11 21:13:27,100 - DEBUG - Requesting: http://10.0.0.33:8082/project/f1231329-237d-4ef5-ac7f-93ba705331ca 2026-06-11 21:13:27,171 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/22628885-b12f-4eb3-b132-3da7c4b4ad29 2026-06-11 21:13:27,180 - DEBUG - ==>Verifying data for policy with id: cd355a76-1d0e-4c8d-8a9e-69829314fbf3, fqn: ['default-domain', 'ctest-TestBasicPolicy-14548452', 'ctest-policy-allow-all-17665500'] 2026-06-11 21:13:27,180 - INFO - VN ctest-vn-70109668 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-11 21:13:27,180 - DEBUG - Verifying the vn in opserver 2026-06-11 21:13:27,180 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14548452:ctest-vn-70109668 virtual network link through opserver 10.0.0.33 2026-06-11 21:13:27,180 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-11 21:13:27,503 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-11 21:13:27,554 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14548452:ctest-vn-70109668', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14548452:ctest-vn-70109668?flat'} 2026-06-11 21:13:27,554 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14548452:ctest-vn-70109668 is found in opserver 2026-06-11 21:13:27,562 - DEBUG - Do not have enough data to verify VN in agent 2026-06-11 21:13:27,566 - DEBUG - VRF ids for VN ctest-vn-70109668: {} 2026-06-11 21:13:27,566 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-11 21:13:27,571 - DEBUG - Requesting: http://10.0.0.33:8082/domain/362ff1bb-7609-4f69-9818-847ce94f1b7c 2026-06-11 21:13:27,583 - DEBUG - Requesting: http://10.0.0.33:8082/project/f1231329-237d-4ef5-ac7f-93ba705331ca 2026-06-11 21:13:27,650 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/896acf86-7a2f-40ac-8ba5-b3fd424b8231 2026-06-11 21:13:27,661 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/896acf86-7a2f-40ac-8ba5-b3fd424b8231 2026-06-11 21:13:27,670 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/281cc91c-c31b-4895-bfb8-a7c0aed15ae4 2026-06-11 21:13:27,676 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/281cc91c-c31b-4895-bfb8-a7c0aed15ae4 2026-06-11 21:13:27,682 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/df9a3dd0-7bcf-4962-b3d6-4aaea97bf5b8 2026-06-11 21:13:27,688 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-11 21:13:27,688 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/896acf86-7a2f-40ac-8ba5-b3fd424b8231 2026-06-11 21:13:27,697 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/281cc91c-c31b-4895-bfb8-a7c0aed15ae4 2026-06-11 21:13:27,711 - INFO - Verified VN network id 12 for VN 896acf86-7a2f-40ac-8ba5-b3fd424b8231 2026-06-11 21:13:27,712 - INFO - Verifications in API Server for VN ctest-vn-55881114 passed 2026-06-11 21:13:27,712 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/896acf86-7a2f-40ac-8ba5-b3fd424b8231 2026-06-11 21:13:27,720 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/281cc91c-c31b-4895-bfb8-a7c0aed15ae4 2026-06-11 21:13:27,726 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/281cc91c-c31b-4895-bfb8-a7c0aed15ae4 2026-06-11 21:13:27,732 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/df9a3dd0-7bcf-4962-b3d6-4aaea97bf5b8 2026-06-11 21:13:27,743 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14548452:ctest-vn-55881114', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14548452', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9901954907209941164', 'uuid-lslong': '10062646842749583921'}, 'enable': 'true', 'created': '2026-06-11T21:13:25', 'last-modified': '2026-06-11T21:13:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.382784'} 2026-06-11 21:13:27,750 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-11 21:13:27,750 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55881114 passed 2026-06-11 21:13:27,750 - DEBUG - ====Verifying policy data for ctest-vn-55881114 in API_Server ====== 2026-06-11 21:13:27,750 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-11 21:13:27,755 - DEBUG - Requesting: http://10.0.0.33:8082/domain/362ff1bb-7609-4f69-9818-847ce94f1b7c 2026-06-11 21:13:27,765 - DEBUG - Requesting: http://10.0.0.33:8082/project/f1231329-237d-4ef5-ac7f-93ba705331ca 2026-06-11 21:13:27,834 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/896acf86-7a2f-40ac-8ba5-b3fd424b8231 2026-06-11 21:13:27,843 - DEBUG - ==>Verifying data for policy with id: cd355a76-1d0e-4c8d-8a9e-69829314fbf3, fqn: ['default-domain', 'ctest-TestBasicPolicy-14548452', 'ctest-policy-allow-all-17665500'] 2026-06-11 21:13:27,843 - INFO - VN ctest-vn-55881114 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-11 21:13:27,843 - DEBUG - Verifying the vn in opserver 2026-06-11 21:13:27,843 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14548452:ctest-vn-55881114 virtual network link through opserver 10.0.0.33 2026-06-11 21:13:27,843 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-11 21:13:27,851 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14548452:ctest-vn-55881114', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14548452:ctest-vn-55881114?flat'} 2026-06-11 21:13:27,851 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14548452:ctest-vn-55881114 is found in opserver 2026-06-11 21:13:27,860 - DEBUG - Do not have enough data to verify VN in agent 2026-06-11 21:13:27,865 - DEBUG - VRF ids for VN ctest-vn-55881114: {} 2026-06-11 21:13:27,916 - DEBUG - Services list from nova: [, , ] 2026-06-11 21:13:28,945 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5936-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5936-1) 2026-06-11 21:13:30,019 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5936-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5936-1) 2026-06-11 21:13:30,019 - INFO - Waiting for VM ctest-TestBasicPolicy-14548452-77343199 to be up.. 2026-06-11 21:13:30,062 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-11 21:13:35,129 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-11 21:13:40,209 - DEBUG - VM is in ACTIVE state now 2026-06-11 21:13:40,209 - INFO - VM name : ctest-TestBasicPolicy-14548452-77343199 2026-06-11 21:13:40,279 - DEBUG - VM ctest-TestBasicPolicy-14548452-77343199 ID is af2416e7-1040-4b4f-b110-7193bf218955 2026-06-11 21:13:40,303 - DEBUG - VM ctest-TestBasicPolicy-14548452-77343199 launched on Node cn-jenkins-deploy-platform-ansible-os-5936-1 2026-06-11 21:13:40,367 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/af2416e7-1040-4b4f-b110-7193bf218955 2026-06-11 21:13:40,376 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/2a6eb907-7190-4724-91e0-794d1bf6bba3 2026-06-11 21:13:43,596 - 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 1027ms') 2026-06-11 21:13:43,596 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-14548452-77343199 failed! 2026-06-11 21:13:43,649 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-14548452:ctest-vn-70109668 is 25.75.181.129 and allocation pool is NOT set 2026-06-11 21:13:45,711 - 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=9.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.452 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.452/4.910/9.368/4.458 ms') 2026-06-11 21:13:45,711 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-14548452-77343199 passed 2026-06-11 21:13:45,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-11 21:13:45,857 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-14548452-77343199, IP 25.75.181.131, Port 22 2026-06-11 21:13:46,020 - DEBUG - VM ctest-TestBasicPolicy-14548452-77343199 is ready for SSH connections 2026-06-11 21:13:46,020 - INFO - Waiting for VM ctest-TestBasicPolicy-14548452-77094421 to be up.. 2026-06-11 21:13:46,089 - DEBUG - VM is in ACTIVE state now 2026-06-11 21:13:46,089 - INFO - VM name : ctest-TestBasicPolicy-14548452-77094421 2026-06-11 21:13:46,158 - DEBUG - VM ctest-TestBasicPolicy-14548452-77094421 ID is a70be66c-5c6c-4833-817d-ddf5e3ccfe90 2026-06-11 21:13:46,158 - DEBUG - VM ctest-TestBasicPolicy-14548452-77094421 launched on Node cn-jenkins-deploy-platform-ansible-os-5936-1 2026-06-11 21:13:46,224 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a70be66c-5c6c-4833-817d-ddf5e3ccfe90 2026-06-11 21:13:46,231 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ddbe8644-158f-48ea-8c2a-ec4be72c8367 2026-06-11 21:13:49,478 - 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=2 ttl=63 time=10.7 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 10.692/10.692/10.692/0.000 ms') 2026-06-11 21:13:49,478 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-14548452-77094421 passed 2026-06-11 21:13:49,629 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-11 21:13:49,629 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-14548452-77094421, IP 206.250.176.195, Port 22 2026-06-11 21:13:49,800 - DEBUG - VM ctest-TestBasicPolicy-14548452-77094421 is ready for SSH connections 2026-06-11 21:13:49,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-11 21:13:49,800 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.250.176.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-06-11 21:13:49,800 - DEBUG - ping -s 56 -c 3 -W 1 206.250.176.195 2026-06-11 21:13:53,707 - DEBUG - PING 206.250.176.195 (206.250.176.195): 56 data bytes 64 bytes from 206.250.176.195: seq=0 ttl=63 time=5.151 ms 64 bytes from 206.250.176.195: seq=1 ttl=63 time=0.867 ms 64 bytes from 206.250.176.195: seq=2 ttl=63 time=1.078 ms --- 206.250.176.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.867/2.365/5.151 ms 2026-06-11 21:13:53,707 - INFO - Ping to IP 206.250.176.195 from VM ctest-TestBasicPolicy-14548452-77343199 passed 2026-06-11 21:13:53,880 - DEBUG - Policy Update Response {"network-policy": {"uuid": "cd355a76-1d0e-4c8d-8a9e-69829314fbf3", "href": "http://10.0.0.33:8082/network-policy/cd355a76-1d0e-4c8d-8a9e-69829314fbf3"}} 2026-06-11 21:13:53,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-11 21:13:53,881 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.250.176.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-06-11 21:13:53,881 - DEBUG - ping -s 56 -c 3 -W 1 206.250.176.195 2026-06-11 21:13:57,006 - DEBUG - PING 206.250.176.195 (206.250.176.195): 56 data bytes --- 206.250.176.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-11 21:13:57,006 - WARNING - Ping to IP 206.250.176.195 from VM ctest-TestBasicPolicy-14548452-77343199 failed 2026-06-11 21:13:57,006 - INFO - Deleting VM ctest-TestBasicPolicy-14548452-77094421 2026-06-11 21:13:57,069 - INFO - Deleting VM ctest-TestBasicPolicy-14548452-77343199 2026-06-11 21:13:57,391 - INFO - Deleted policy ctest-policy-allow-all-17665500 2026-06-11 21:13:57,391 - INFO - Deleting VN ctest-vn-55881114 2026-06-11 21:13:57,417 - DEBUG - VN 896acf86-7a2f-40ac-8ba5-b3fd424b8231 still in use: Unable to complete operation on network 896acf86-7a2f-40ac-8ba5-b3fd424b8231. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-269b21bc-498a-43c6-b92d-41f152acf9be'] 2026-06-11 21:13:57,417 - WARNING - Deleting VN ctest-vn-55881114 failed..Will retry 2026-06-11 21:13:59,509 - DEBUG - Response for deleting network () 2026-06-11 21:13:59,509 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/281cc91c-c31b-4895-bfb8-a7c0aed15ae4 2026-06-11 21:13:59,514 - DEBUG - Response Code: 404 2026-06-11 21:13:59,514 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-11 21:13:59,519 - DEBUG - Requesting: http://10.0.0.33:8082/domain/362ff1bb-7609-4f69-9818-847ce94f1b7c 2026-06-11 21:13:59,574 - DEBUG - Requesting: http://10.0.0.33:8082/project/f1231329-237d-4ef5-ac7f-93ba705331ca 2026-06-11 21:13:59,641 - INFO - Validated that VN ctest-vn-55881114 is not found in API Server 2026-06-11 21:13:59,649 - DEBUG - VN ctest-vn-55881114 is not present in Agent 10.0.0.33 2026-06-11 21:13:59,649 - INFO - Validated that VN ctest-vn-55881114 is not in any agent 2026-06-11 21:13:59,660 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55881114 info 2026-06-11 21:13:59,661 - INFO - Deleting VN ctest-vn-70109668 2026-06-11 21:13:59,758 - DEBUG - Response for deleting network () 2026-06-11 21:13:59,758 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b043be03-cad2-4465-92c4-eb4f6b40fcd7 2026-06-11 21:13:59,765 - DEBUG - Response Code: 404 2026-06-11 21:13:59,765 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-11 21:13:59,770 - DEBUG - Requesting: http://10.0.0.33:8082/domain/362ff1bb-7609-4f69-9818-847ce94f1b7c 2026-06-11 21:13:59,821 - DEBUG - Requesting: http://10.0.0.33:8082/project/f1231329-237d-4ef5-ac7f-93ba705331ca 2026-06-11 21:13:59,890 - INFO - Validated that VN ctest-vn-70109668 is not found in API Server 2026-06-11 21:13:59,899 - DEBUG - VN ctest-vn-70109668 is not present in Agent 10.0.0.33 2026-06-11 21:13:59,899 - INFO - Validated that VN ctest-vn-70109668 is not in any agent 2026-06-11 21:13:59,912 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-70109668 info 2026-06-11 21:14:00,171 - DEBUG - No XMPP flaps were noticed during the test
2026-06-11 21:14:00,171 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2026-06-11 21:14:00,171 - INFO - -------------------------------------------------------------------------------- 2026-06-11 21:14:00,872 - INFO - Deleted project: ctest-TestBasicPolicy-14548452, ID : f1231329-237d-4ef5-ac7f-93ba705331ca