2026-08-25 14:56:09,886 - INFO - Domain Default found not creating 2026-08-25 14:56:10,047 - INFO - Project ctest-TestBasicPolicy-11093668 not found, creating it 2026-08-25 14:56:10,562 - INFO - Created Project:ctest-TestBasicPolicy-11093668, ID : 778bc48e-58a3-472c-8207-8aa04edbf21e 2026-08-25 14:56:12,165 - INFO - ================================================================================ 2026-08-25 14:56:12,165 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-25 14:56:12,166 - 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-08-25 14:56:12,434 - DEBUG - Nothing to compare xmpp stats {'10.0.0.187': {'10.20.0.254': '0'}} with 2026-08-25 14:56:12,434 - INFO - Initial checks done. Running the testcase now 2026-08-25 14:56:12,434 - INFO - 2026-08-25 14:56:13,049 - DEBUG - Response for create_network : {'network': {'id': 'a710936f-a727-4e60-88b3-724804b8cae8', 'name': 'ctest-vn-50742109', 'tenant_id': '778bc48e58a3472c82078aa04edbf21e', 'project_id': '778bc48e58a3472c82078aa04edbf21e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11093668', 'ctest-vn-50742109'], 'port_security_enabled': True, 'description': ''}} 2026-08-25 14:56:13,229 - DEBUG - Response for create_subnet : {'subnet': {'id': '11ebf6c6-51f1-49a8-a15d-76a453af052b', 'name': '', 'tenant_id': '778bc48e58a3472c82078aa04edbf21e', 'network_id': 'a710936f-a727-4e60-88b3-724804b8cae8', 'ip_version': 4, 'cidr': '145.242.126.128/26', 'allocation_pools': [{'start': '145.242.126.130', 'end': '145.242.126.190'}], 'gateway_ip': '145.242.126.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.242.126.130', 'tags': [], 'project_id': '778bc48e58a3472c82078aa04edbf21e'}} 2026-08-25 14:56:13,246 - INFO - Created VN ctest-vn-50742109 2026-08-25 14:56:13,295 - DEBUG - VN ctest-vn-50742109 UUID is a710936f-a727-4e60-88b3-724804b8cae8 2026-08-25 14:56:13,639 - DEBUG - Response for create_network : {'network': {'id': '46c89198-0810-44b2-bba9-e4161cfa7b3c', 'name': 'ctest-vn-96909396', 'tenant_id': '778bc48e58a3472c82078aa04edbf21e', 'project_id': '778bc48e58a3472c82078aa04edbf21e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11093668', 'ctest-vn-96909396'], 'port_security_enabled': True, 'description': ''}} 2026-08-25 14:56:13,807 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e950ce68-53dc-43bf-aa79-55b93312b0ff', 'name': '', 'tenant_id': '778bc48e58a3472c82078aa04edbf21e', 'network_id': '46c89198-0810-44b2-bba9-e4161cfa7b3c', 'ip_version': 4, 'cidr': '199.155.76.192/26', 'allocation_pools': [{'start': '199.155.76.194', 'end': '199.155.76.254'}], 'gateway_ip': '199.155.76.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.155.76.194', 'tags': [], 'project_id': '778bc48e58a3472c82078aa04edbf21e'}} 2026-08-25 14:56:13,828 - INFO - Created VN ctest-vn-96909396 2026-08-25 14:56:13,887 - DEBUG - VN ctest-vn-96909396 UUID is 46c89198-0810-44b2-bba9-e4161cfa7b3c 2026-08-25 14:56:14,002 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-11093668:ctest-vn-50742109, 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-11093668:ctest-vn-96909396, 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-08-25 14:56:14,321 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a710936f-a727-4e60-88b3-724804b8cae8', 'name': 'ctest-vn-50742109', 'tenant_id': '778bc48e58a3472c82078aa04edbf21e', 'project_id': '778bc48e58a3472c82078aa04edbf21e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['11ebf6c6-51f1-49a8-a15d-76a453af052b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11093668', 'ctest-vn-50742109'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11093668', 'ctest-policy-allow-all-41940629']], 'subnet_ipam': [{'subnet_cidr': '145.242.126.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-25 14:56:14,564 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '46c89198-0810-44b2-bba9-e4161cfa7b3c', 'name': 'ctest-vn-96909396', 'tenant_id': '778bc48e58a3472c82078aa04edbf21e', 'project_id': '778bc48e58a3472c82078aa04edbf21e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e950ce68-53dc-43bf-aa79-55b93312b0ff'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11093668', 'ctest-vn-96909396'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11093668', 'ctest-policy-allow-all-41940629']], 'subnet_ipam': [{'subnet_cidr': '199.155.76.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-25 14:56:14,744 - DEBUG - Requesting: http://10.0.0.187:8082/domains 2026-08-25 14:56:15,066 - DEBUG - Requesting: http://10.0.0.187:8082/domains 2026-08-25 14:56:15,094 - DEBUG - Requesting: http://10.0.0.187:8082/domain/04b83ad2-f4cf-4ce1-a8fe-047738aa5c9a 2026-08-25 14:56:15,108 - DEBUG - Requesting: http://10.0.0.187:8082/project/778bc48e-58a3-472c-8207-8aa04edbf21e 2026-08-25 14:56:15,185 - DEBUG - Requesting: http://10.0.0.187:8082/virtual-network/a710936f-a727-4e60-88b3-724804b8cae8 2026-08-25 14:56:15,200 - DEBUG - Requesting: http://10.0.0.187:8082/virtual-network/a710936f-a727-4e60-88b3-724804b8cae8 2026-08-25 14:56:15,213 - DEBUG - Requesting: http://10.0.0.187:8082/routing-instance/f075764c-56b1-4a1c-91a1-98bd803156d7 2026-08-25 14:56:15,223 - DEBUG - Requesting: http://10.0.0.187:8082/routing-instance/f075764c-56b1-4a1c-91a1-98bd803156d7 2026-08-25 14:56:15,233 - DEBUG - Requesting: http://10.0.0.187:8082/route-target/3965f3c1-7bb1-481e-b213-e6d659c3cfa4 2026-08-25 14:56:15,244 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-25 14:56:15,244 - DEBUG - Requesting: http://10.0.0.187:8082/virtual-network/a710936f-a727-4e60-88b3-724804b8cae8 2026-08-25 14:56:15,255 - DEBUG - Requesting: http://10.0.0.187:8082/routing-instance/f075764c-56b1-4a1c-91a1-98bd803156d7 2026-08-25 14:56:15,272 - INFO - Verified VN network id 11 for VN a710936f-a727-4e60-88b3-724804b8cae8 2026-08-25 14:56:15,272 - INFO - Verifications in API Server for VN ctest-vn-50742109 passed 2026-08-25 14:56:15,272 - DEBUG - Requesting: http://10.0.0.187:8082/virtual-network/a710936f-a727-4e60-88b3-724804b8cae8 2026-08-25 14:56:15,284 - DEBUG - Requesting: http://10.0.0.187:8082/routing-instance/f075764c-56b1-4a1c-91a1-98bd803156d7 2026-08-25 14:56:15,292 - DEBUG - Requesting: http://10.0.0.187:8082/routing-instance/f075764c-56b1-4a1c-91a1-98bd803156d7 2026-08-25 14:56:15,302 - DEBUG - Requesting: http://10.0.0.187:8082/route-target/3965f3c1-7bb1-481e-b213-e6d659c3cfa4 2026-08-25 14:56:15,318 - DEBUG - Control-node 10.0.0.187 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11093668:ctest-vn-50742109', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11093668', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12038283911716359776', 'uuid-lslong': '9850342463631837928'}, 'enable': 'true', 'created': '2026-08-25T14:56:13', 'last-modified': '2026-08-25T14:56:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.023258'} 2026-08-25 14:56:15,327 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-25 14:56:15,327 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50742109 passed 2026-08-25 14:56:15,327 - DEBUG - ====Verifying policy data for ctest-vn-50742109 in API_Server ====== 2026-08-25 14:56:15,327 - DEBUG - Requesting: http://10.0.0.187:8082/domains 2026-08-25 14:56:15,334 - DEBUG - Requesting: http://10.0.0.187:8082/domain/04b83ad2-f4cf-4ce1-a8fe-047738aa5c9a 2026-08-25 14:56:15,347 - DEBUG - Requesting: http://10.0.0.187:8082/project/778bc48e-58a3-472c-8207-8aa04edbf21e 2026-08-25 14:56:15,425 - DEBUG - Requesting: http://10.0.0.187:8082/virtual-network/a710936f-a727-4e60-88b3-724804b8cae8 2026-08-25 14:56:15,438 - DEBUG - ==>Verifying data for policy with id: 441ac4b6-3cfb-4778-822a-94477da1811c, fqn: ['default-domain', 'ctest-TestBasicPolicy-11093668', 'ctest-policy-allow-all-41940629'] 2026-08-25 14:56:15,438 - INFO - VN ctest-vn-50742109 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-25 14:56:15,438 - DEBUG - Verifying the vn in opserver 2026-08-25 14:56:15,438 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11093668:ctest-vn-50742109 virtual network link through opserver 10.0.0.187 2026-08-25 14:56:15,438 - DEBUG - Requesting: http://10.0.0.187:8081/analytics/uves/virtual-networks 2026-08-25 14:56:15,779 - DEBUG - Requesting: http://10.0.0.187:8081/analytics/uves/virtual-networks 2026-08-25 14:56:15,842 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11093668:ctest-vn-50742109', 'href': 'http://10.0.0.187:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11093668:ctest-vn-50742109?flat'} 2026-08-25 14:56:15,842 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11093668:ctest-vn-50742109 is found in opserver 2026-08-25 14:56:15,853 - DEBUG - Do not have enough data to verify VN in agent 2026-08-25 14:56:15,858 - DEBUG - VRF ids for VN ctest-vn-50742109: {} 2026-08-25 14:56:15,858 - DEBUG - Requesting: http://10.0.0.187:8082/domains 2026-08-25 14:56:15,864 - DEBUG - Requesting: http://10.0.0.187:8082/domain/04b83ad2-f4cf-4ce1-a8fe-047738aa5c9a 2026-08-25 14:56:15,877 - DEBUG - Requesting: http://10.0.0.187:8082/project/778bc48e-58a3-472c-8207-8aa04edbf21e 2026-08-25 14:56:15,958 - DEBUG - Requesting: http://10.0.0.187:8082/virtual-network/46c89198-0810-44b2-bba9-e4161cfa7b3c 2026-08-25 14:56:15,972 - DEBUG - Requesting: http://10.0.0.187:8082/virtual-network/46c89198-0810-44b2-bba9-e4161cfa7b3c 2026-08-25 14:56:15,984 - DEBUG - Requesting: http://10.0.0.187:8082/routing-instance/34244b07-3981-4d82-9eab-212f180a4a6d 2026-08-25 14:56:15,993 - DEBUG - Requesting: http://10.0.0.187:8082/routing-instance/34244b07-3981-4d82-9eab-212f180a4a6d 2026-08-25 14:56:16,003 - DEBUG - Requesting: http://10.0.0.187:8082/route-target/76e21895-0bdf-4d4e-9e27-f9ff39bddb8a 2026-08-25 14:56:16,012 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-25 14:56:16,012 - DEBUG - Requesting: http://10.0.0.187:8082/virtual-network/46c89198-0810-44b2-bba9-e4161cfa7b3c 2026-08-25 14:56:16,023 - DEBUG - Requesting: http://10.0.0.187:8082/routing-instance/34244b07-3981-4d82-9eab-212f180a4a6d 2026-08-25 14:56:16,041 - INFO - Verified VN network id 12 for VN 46c89198-0810-44b2-bba9-e4161cfa7b3c 2026-08-25 14:56:16,041 - INFO - Verifications in API Server for VN ctest-vn-96909396 passed 2026-08-25 14:56:16,041 - DEBUG - Requesting: http://10.0.0.187:8082/virtual-network/46c89198-0810-44b2-bba9-e4161cfa7b3c 2026-08-25 14:56:16,052 - DEBUG - Requesting: http://10.0.0.187:8082/routing-instance/34244b07-3981-4d82-9eab-212f180a4a6d 2026-08-25 14:56:16,061 - DEBUG - Requesting: http://10.0.0.187:8082/routing-instance/34244b07-3981-4d82-9eab-212f180a4a6d 2026-08-25 14:56:16,069 - DEBUG - Requesting: http://10.0.0.187:8082/route-target/76e21895-0bdf-4d4e-9e27-f9ff39bddb8a 2026-08-25 14:56:16,085 - DEBUG - Control-node 10.0.0.187 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11093668:ctest-vn-96909396', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11093668', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5100486660153427122', 'uuid-lslong': '13522590139783215932'}, 'enable': 'true', 'created': '2026-08-25T14:56:13', 'last-modified': '2026-08-25T14:56:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.547335'} 2026-08-25 14:56:16,093 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-25 14:56:16,093 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96909396 passed 2026-08-25 14:56:16,094 - DEBUG - ====Verifying policy data for ctest-vn-96909396 in API_Server ====== 2026-08-25 14:56:16,094 - DEBUG - Requesting: http://10.0.0.187:8082/domains 2026-08-25 14:56:16,101 - DEBUG - Requesting: http://10.0.0.187:8082/domain/04b83ad2-f4cf-4ce1-a8fe-047738aa5c9a 2026-08-25 14:56:16,113 - DEBUG - Requesting: http://10.0.0.187:8082/project/778bc48e-58a3-472c-8207-8aa04edbf21e 2026-08-25 14:56:16,190 - DEBUG - Requesting: http://10.0.0.187:8082/virtual-network/46c89198-0810-44b2-bba9-e4161cfa7b3c 2026-08-25 14:56:16,200 - DEBUG - ==>Verifying data for policy with id: 441ac4b6-3cfb-4778-822a-94477da1811c, fqn: ['default-domain', 'ctest-TestBasicPolicy-11093668', 'ctest-policy-allow-all-41940629'] 2026-08-25 14:56:16,200 - INFO - VN ctest-vn-96909396 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-25 14:56:16,200 - DEBUG - Verifying the vn in opserver 2026-08-25 14:56:16,201 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11093668:ctest-vn-96909396 virtual network link through opserver 10.0.0.187 2026-08-25 14:56:16,201 - DEBUG - Requesting: http://10.0.0.187:8081/analytics/uves/virtual-networks 2026-08-25 14:56:16,211 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11093668:ctest-vn-96909396', 'href': 'http://10.0.0.187:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11093668:ctest-vn-96909396?flat'} 2026-08-25 14:56:16,211 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11093668:ctest-vn-96909396 is found in opserver 2026-08-25 14:56:16,222 - DEBUG - Do not have enough data to verify VN in agent 2026-08-25 14:56:16,226 - DEBUG - VRF ids for VN ctest-vn-96909396: {} 2026-08-25 14:56:16,291 - DEBUG - Services list from nova: [, , ] 2026-08-25 14:56:16,813 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6224-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6224-30) 2026-08-25 14:56:17,286 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6224-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6224-30) 2026-08-25 14:56:17,287 - INFO - Waiting for VM ctest-TestBasicPolicy-11093668-80605308 to be up.. 2026-08-25 14:56:17,326 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 14:56:22,418 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 14:56:27,500 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 14:56:32,588 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 14:56:37,675 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 14:56:42,780 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 14:56:47,927 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 14:56:53,044 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 14:56:58,156 - DEBUG - VM is in ACTIVE state now 2026-08-25 14:56:58,157 - INFO - VM name : ctest-TestBasicPolicy-11093668-80605308 2026-08-25 14:56:58,246 - DEBUG - VM ctest-TestBasicPolicy-11093668-80605308 ID is ffdf6534-4fbe-4e2e-ab74-7af163c81e03 2026-08-25 14:56:58,274 - DEBUG - VM ctest-TestBasicPolicy-11093668-80605308 launched on Node cn-jenkins-deploy-platform-ansible-os-6224-30 2026-08-25 14:56:58,370 - DEBUG - Requesting: http://10.0.0.187:8082/virtual-machine/ffdf6534-4fbe-4e2e-ab74-7af163c81e03 2026-08-25 14:56:58,382 - DEBUG - Requesting: http://10.0.0.187:8082/virtual-machine-interface/678f3b1d-fd21-430d-8ef9-95454557a951 2026-08-25 14:57:01,656 - 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 1016ms') 2026-08-25 14:57:01,656 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11093668-80605308 failed! 2026-08-25 14:57:01,711 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-11093668:ctest-vn-50742109 is 145.242.126.129 and allocation pool is NOT set 2026-08-25 14:57:03,780 - 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=6.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.728 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.728/3.719/6.711/2.991 ms') 2026-08-25 14:57:03,780 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11093668-80605308 passed 2026-08-25 14:57:03,935 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 14:57:03,936 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11093668-80605308, IP 145.242.126.131, Port 22 2026-08-25 14:57:04,096 - DEBUG - VM ctest-TestBasicPolicy-11093668-80605308 is ready for SSH connections 2026-08-25 14:57:04,096 - INFO - Waiting for VM ctest-TestBasicPolicy-11093668-16419487 to be up.. 2026-08-25 14:57:04,184 - DEBUG - VM is in ACTIVE state now 2026-08-25 14:57:04,184 - INFO - VM name : ctest-TestBasicPolicy-11093668-16419487 2026-08-25 14:57:04,268 - DEBUG - VM ctest-TestBasicPolicy-11093668-16419487 ID is 76ef9058-55e7-4d26-ba34-d658f8625eb0 2026-08-25 14:57:04,268 - DEBUG - VM ctest-TestBasicPolicy-11093668-16419487 launched on Node cn-jenkins-deploy-platform-ansible-os-6224-30 2026-08-25 14:57:04,363 - DEBUG - Requesting: http://10.0.0.187:8082/virtual-machine/76ef9058-55e7-4d26-ba34-d658f8625eb0 2026-08-25 14:57:04,374 - DEBUG - Requesting: http://10.0.0.187:8082/virtual-machine-interface/e66854b4-d592-4718-b902-16432677ca12 2026-08-25 14:57:07,644 - 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=3.81 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1017ms\r\nrtt min/avg/max/mdev = 3.810/3.810/3.810/0.000 ms') 2026-08-25 14:57:07,644 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-11093668-16419487 passed 2026-08-25 14:57:07,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 14:57:07,800 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11093668-16419487, IP 199.155.76.195, Port 22 2026-08-25 14:57:07,960 - DEBUG - VM ctest-TestBasicPolicy-11093668-16419487 is ready for SSH connections 2026-08-25 14:57:07,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 14:57:07,960 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.155.76.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.187, gateway password: c0ntrail123 2026-08-25 14:57:07,961 - DEBUG - ping -s 56 -c 3 -W 1 199.155.76.195 2026-08-25 14:57:12,082 - DEBUG - PING 199.155.76.195 (199.155.76.195): 56 data bytes 64 bytes from 199.155.76.195: seq=0 ttl=63 time=3.939 ms 64 bytes from 199.155.76.195: seq=1 ttl=63 time=1.360 ms 64 bytes from 199.155.76.195: seq=2 ttl=63 time=1.104 ms --- 199.155.76.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.104/2.134/3.939 ms 2026-08-25 14:57:12,082 - INFO - Ping to IP 199.155.76.195 from VM ctest-TestBasicPolicy-11093668-80605308 passed 2026-08-25 14:57:12,271 - DEBUG - Policy Update Response {"network-policy": {"uuid": "441ac4b6-3cfb-4778-822a-94477da1811c", "href": "http://10.0.0.187:8082/network-policy/441ac4b6-3cfb-4778-822a-94477da1811c"}} 2026-08-25 14:57:12,271 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 14:57:12,272 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.155.76.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.187, gateway password: c0ntrail123 2026-08-25 14:57:12,272 - DEBUG - ping -s 56 -c 3 -W 1 199.155.76.195 2026-08-25 14:57:15,396 - DEBUG - PING 199.155.76.195 (199.155.76.195): 56 data bytes 64 bytes from 199.155.76.195: seq=0 ttl=63 time=1.477 ms --- 199.155.76.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.477/1.477/1.477 ms 2026-08-25 14:57:15,396 - WARNING - Ping to IP 199.155.76.195 from VM ctest-TestBasicPolicy-11093668-80605308 failed 2026-08-25 14:57:15,397 - INFO - Deleting VM ctest-TestBasicPolicy-11093668-16419487 2026-08-25 14:57:15,486 - INFO - Deleting VM ctest-TestBasicPolicy-11093668-80605308 2026-08-25 14:57:15,920 - INFO - Deleted policy ctest-policy-allow-all-41940629 2026-08-25 14:57:15,921 - INFO - Deleting VN ctest-vn-96909396 2026-08-25 14:57:15,966 - DEBUG - VN 46c89198-0810-44b2-bba9-e4161cfa7b3c still in use: Unable to complete operation on network 46c89198-0810-44b2-bba9-e4161cfa7b3c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-edb15a54-3864-4c23-ab32-ab6201ff90d6'] 2026-08-25 14:57:15,967 - WARNING - Deleting VN ctest-vn-96909396 failed..Will retry 2026-08-25 14:57:18,100 - DEBUG - Response for deleting network () 2026-08-25 14:57:18,100 - DEBUG - Requesting: http://10.0.0.187:8082/routing-instance/34244b07-3981-4d82-9eab-212f180a4a6d 2026-08-25 14:57:18,112 - DEBUG - Response Code: 404 2026-08-25 14:57:18,112 - DEBUG - Requesting: http://10.0.0.187:8082/domains 2026-08-25 14:57:18,121 - DEBUG - Requesting: http://10.0.0.187:8082/domain/04b83ad2-f4cf-4ce1-a8fe-047738aa5c9a 2026-08-25 14:57:18,179 - DEBUG - Requesting: http://10.0.0.187:8082/project/778bc48e-58a3-472c-8207-8aa04edbf21e 2026-08-25 14:57:18,263 - INFO - Validated that VN ctest-vn-96909396 is not found in API Server 2026-08-25 14:57:18,277 - DEBUG - VN ctest-vn-96909396 is not present in Agent 10.0.0.187 2026-08-25 14:57:18,277 - INFO - Validated that VN ctest-vn-96909396 is not in any agent 2026-08-25 14:57:18,301 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96909396 info 2026-08-25 14:57:18,301 - INFO - Deleting VN ctest-vn-50742109 2026-08-25 14:57:18,432 - DEBUG - Response for deleting network () 2026-08-25 14:57:18,432 - DEBUG - Requesting: http://10.0.0.187:8082/routing-instance/f075764c-56b1-4a1c-91a1-98bd803156d7 2026-08-25 14:57:18,438 - DEBUG - Response Code: 404 2026-08-25 14:57:18,438 - DEBUG - Requesting: http://10.0.0.187:8082/domains 2026-08-25 14:57:18,448 - DEBUG - Requesting: http://10.0.0.187:8082/domain/04b83ad2-f4cf-4ce1-a8fe-047738aa5c9a 2026-08-25 14:57:18,505 - DEBUG - Requesting: http://10.0.0.187:8082/project/778bc48e-58a3-472c-8207-8aa04edbf21e 2026-08-25 14:57:18,587 - INFO - Validated that VN ctest-vn-50742109 is not found in API Server 2026-08-25 14:57:18,599 - DEBUG - VN ctest-vn-50742109 is not present in Agent 10.0.0.187 2026-08-25 14:57:18,599 - INFO - Validated that VN ctest-vn-50742109 is not in any agent 2026-08-25 14:57:18,618 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50742109 info 2026-08-25 14:57:18,889 - DEBUG - No XMPP flaps were noticed during the test
2026-08-25 14:57:18,889 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:06]
2026-08-25 14:57:18,889 - INFO - -------------------------------------------------------------------------------- 2026-08-25 14:57:19,664 - INFO - Deleted project: ctest-TestBasicPolicy-11093668, ID : 778bc48e-58a3-472c-8207-8aa04edbf21e