2026-10-30 02:53:44,723 - INFO - Domain Default found not creating 2026-10-30 02:53:44,849 - INFO - Project ctest-TestBasicPolicy-11277765 not found, creating it 2026-10-30 02:53:45,273 - INFO - Created Project:ctest-TestBasicPolicy-11277765, ID : cd22afec-f77c-4be0-948b-d5fb74ea5f1a 2026-10-30 02:53:46,642 - INFO - ================================================================================ 2026-10-30 02:53:46,642 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-30 02:53:46,642 - 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-10-30 02:53:46,900 - DEBUG - Nothing to compare xmpp stats {'10.0.0.248': {'10.20.0.25': '0'}} with 2026-10-30 02:53:46,900 - INFO - Initial checks done. Running the testcase now 2026-10-30 02:53:46,900 - INFO - 2026-10-30 02:53:47,433 - DEBUG - Response for create_network : {'network': {'id': '8e515b62-3b1e-4f66-81c5-704466d2134c', 'name': 'ctest-vn-81446474', 'tenant_id': 'cd22afecf77c4be0948bd5fb74ea5f1a', 'project_id': 'cd22afecf77c4be0948bd5fb74ea5f1a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11277765', 'ctest-vn-81446474'], 'port_security_enabled': True, 'description': ''}} 2026-10-30 02:53:47,617 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e6926dd5-7268-412f-9f49-808776c17b0e', 'name': '', 'tenant_id': 'cd22afecf77c4be0948bd5fb74ea5f1a', 'network_id': '8e515b62-3b1e-4f66-81c5-704466d2134c', 'ip_version': 4, 'cidr': '201.232.213.0/26', 'allocation_pools': [{'start': '201.232.213.2', 'end': '201.232.213.62'}], 'gateway_ip': '201.232.213.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.232.213.2', 'tags': [], 'project_id': 'cd22afecf77c4be0948bd5fb74ea5f1a'}} 2026-10-30 02:53:47,629 - INFO - Created VN ctest-vn-81446474 2026-10-30 02:53:47,679 - DEBUG - VN ctest-vn-81446474 UUID is 8e515b62-3b1e-4f66-81c5-704466d2134c 2026-10-30 02:53:47,950 - DEBUG - Response for create_network : {'network': {'id': '3a5314e9-9c29-4c07-8af0-5ee675c4b81d', 'name': 'ctest-vn-16073168', 'tenant_id': 'cd22afecf77c4be0948bd5fb74ea5f1a', 'project_id': 'cd22afecf77c4be0948bd5fb74ea5f1a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11277765', 'ctest-vn-16073168'], 'port_security_enabled': True, 'description': ''}} 2026-10-30 02:53:48,132 - DEBUG - Response for create_subnet : {'subnet': {'id': '588f74c7-af94-4b76-9cca-a54bb018054f', 'name': '', 'tenant_id': 'cd22afecf77c4be0948bd5fb74ea5f1a', 'network_id': '3a5314e9-9c29-4c07-8af0-5ee675c4b81d', 'ip_version': 4, 'cidr': '149.192.208.0/26', 'allocation_pools': [{'start': '149.192.208.2', 'end': '149.192.208.62'}], 'gateway_ip': '149.192.208.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.192.208.2', 'tags': [], 'project_id': 'cd22afecf77c4be0948bd5fb74ea5f1a'}} 2026-10-30 02:53:48,143 - INFO - Created VN ctest-vn-16073168 2026-10-30 02:53:48,195 - DEBUG - VN ctest-vn-16073168 UUID is 3a5314e9-9c29-4c07-8af0-5ee675c4b81d 2026-10-30 02:53:48,319 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-11277765:ctest-vn-81446474, 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-11277765:ctest-vn-16073168, 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-10-30 02:53:48,593 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8e515b62-3b1e-4f66-81c5-704466d2134c', 'name': 'ctest-vn-81446474', 'tenant_id': 'cd22afecf77c4be0948bd5fb74ea5f1a', 'project_id': 'cd22afecf77c4be0948bd5fb74ea5f1a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e6926dd5-7268-412f-9f49-808776c17b0e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11277765', 'ctest-vn-81446474'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11277765', 'ctest-policy-allow-all-39278419']], 'subnet_ipam': [{'subnet_cidr': '201.232.213.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-30 02:53:48,803 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3a5314e9-9c29-4c07-8af0-5ee675c4b81d', 'name': 'ctest-vn-16073168', 'tenant_id': 'cd22afecf77c4be0948bd5fb74ea5f1a', 'project_id': 'cd22afecf77c4be0948bd5fb74ea5f1a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['588f74c7-af94-4b76-9cca-a54bb018054f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11277765', 'ctest-vn-16073168'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11277765', 'ctest-policy-allow-all-39278419']], 'subnet_ipam': [{'subnet_cidr': '149.192.208.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-30 02:53:48,959 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-10-30 02:53:49,271 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-10-30 02:53:49,292 - DEBUG - Requesting: http://10.0.0.248:8082/domain/fd578f58-c644-4f46-ad45-390e615dedb1 2026-10-30 02:53:49,301 - DEBUG - Requesting: http://10.0.0.248:8082/project/cd22afec-f77c-4be0-948b-d5fb74ea5f1a 2026-10-30 02:53:49,370 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/8e515b62-3b1e-4f66-81c5-704466d2134c 2026-10-30 02:53:49,378 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/8e515b62-3b1e-4f66-81c5-704466d2134c 2026-10-30 02:53:49,385 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/37903222-31c5-47e9-8aa7-74c5bccb76a4 2026-10-30 02:53:49,390 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/37903222-31c5-47e9-8aa7-74c5bccb76a4 2026-10-30 02:53:49,395 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/25af2a34-fa69-4a36-bc3d-ce8825163c6b 2026-10-30 02:53:49,399 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-30 02:53:49,399 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/8e515b62-3b1e-4f66-81c5-704466d2134c 2026-10-30 02:53:49,405 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/37903222-31c5-47e9-8aa7-74c5bccb76a4 2026-10-30 02:53:49,415 - INFO - Verified VN network id 12 for VN 8e515b62-3b1e-4f66-81c5-704466d2134c 2026-10-30 02:53:49,415 - INFO - Verifications in API Server for VN ctest-vn-81446474 passed 2026-10-30 02:53:49,415 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/8e515b62-3b1e-4f66-81c5-704466d2134c 2026-10-30 02:53:49,424 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/37903222-31c5-47e9-8aa7-74c5bccb76a4 2026-10-30 02:53:49,428 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/37903222-31c5-47e9-8aa7-74c5bccb76a4 2026-10-30 02:53:49,433 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/25af2a34-fa69-4a36-bc3d-ce8825163c6b 2026-10-30 02:53:49,443 - DEBUG - Control-node 10.0.0.248 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11277765:ctest-vn-81446474', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11277765', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10255078303956094822', 'uuid-lslong': '9351003640389833548'}, 'enable': 'true', 'created': '2026-10-30T02:53:47', 'last-modified': '2026-10-30T02:53:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.865754'} 2026-10-30 02:53:49,450 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-30 02:53:49,450 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81446474 passed 2026-10-30 02:53:49,450 - DEBUG - ====Verifying policy data for ctest-vn-81446474 in API_Server ====== 2026-10-30 02:53:49,450 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-10-30 02:53:49,454 - DEBUG - Requesting: http://10.0.0.248:8082/domain/fd578f58-c644-4f46-ad45-390e615dedb1 2026-10-30 02:53:49,463 - DEBUG - Requesting: http://10.0.0.248:8082/project/cd22afec-f77c-4be0-948b-d5fb74ea5f1a 2026-10-30 02:53:49,534 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/8e515b62-3b1e-4f66-81c5-704466d2134c 2026-10-30 02:53:49,541 - DEBUG - ==>Verifying data for policy with id: 12e5ff8e-3aee-4b56-b658-faf18638d901, fqn: ['default-domain', 'ctest-TestBasicPolicy-11277765', 'ctest-policy-allow-all-39278419'] 2026-10-30 02:53:49,541 - INFO - VN ctest-vn-81446474 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-30 02:53:49,541 - DEBUG - Verifying the vn in opserver 2026-10-30 02:53:49,541 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11277765:ctest-vn-81446474 virtual network link through opserver 10.0.0.248 2026-10-30 02:53:49,541 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks 2026-10-30 02:53:49,873 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks 2026-10-30 02:53:49,933 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11277765:ctest-vn-81446474', 'href': 'http://10.0.0.248:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11277765:ctest-vn-81446474?flat'} 2026-10-30 02:53:49,933 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11277765:ctest-vn-81446474 is found in opserver 2026-10-30 02:53:49,943 - DEBUG - Do not have enough data to verify VN in agent 2026-10-30 02:53:49,947 - DEBUG - VRF ids for VN ctest-vn-81446474: {} 2026-10-30 02:53:49,947 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-10-30 02:53:49,952 - DEBUG - Requesting: http://10.0.0.248:8082/domain/fd578f58-c644-4f46-ad45-390e615dedb1 2026-10-30 02:53:49,961 - DEBUG - Requesting: http://10.0.0.248:8082/project/cd22afec-f77c-4be0-948b-d5fb74ea5f1a 2026-10-30 02:53:50,027 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/3a5314e9-9c29-4c07-8af0-5ee675c4b81d 2026-10-30 02:53:50,037 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/3a5314e9-9c29-4c07-8af0-5ee675c4b81d 2026-10-30 02:53:50,045 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/485047b8-ac52-4bc1-94ee-71ab69abf407 2026-10-30 02:53:50,051 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/485047b8-ac52-4bc1-94ee-71ab69abf407 2026-10-30 02:53:50,056 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/8e85dde0-3ec6-4b79-a02b-cd2bb94b44ff 2026-10-30 02:53:50,061 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-30 02:53:50,062 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/3a5314e9-9c29-4c07-8af0-5ee675c4b81d 2026-10-30 02:53:50,069 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/485047b8-ac52-4bc1-94ee-71ab69abf407 2026-10-30 02:53:50,081 - INFO - Verified VN network id 13 for VN 3a5314e9-9c29-4c07-8af0-5ee675c4b81d 2026-10-30 02:53:50,081 - INFO - Verifications in API Server for VN ctest-vn-16073168 passed 2026-10-30 02:53:50,081 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/3a5314e9-9c29-4c07-8af0-5ee675c4b81d 2026-10-30 02:53:50,088 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/485047b8-ac52-4bc1-94ee-71ab69abf407 2026-10-30 02:53:50,093 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/485047b8-ac52-4bc1-94ee-71ab69abf407 2026-10-30 02:53:50,098 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/8e85dde0-3ec6-4b79-a02b-cd2bb94b44ff 2026-10-30 02:53:50,108 - DEBUG - Control-node 10.0.0.248 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11277765:ctest-vn-16073168', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11277765', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4202725870846692359', 'uuid-lslong': '10011606315555928093'}, 'enable': 'true', 'created': '2026-10-30T02:53:47', 'last-modified': '2026-10-30T02:53:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.321281'} 2026-10-30 02:53:50,113 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-30 02:53:50,113 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16073168 passed 2026-10-30 02:53:50,113 - DEBUG - ====Verifying policy data for ctest-vn-16073168 in API_Server ====== 2026-10-30 02:53:50,113 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-10-30 02:53:50,117 - DEBUG - Requesting: http://10.0.0.248:8082/domain/fd578f58-c644-4f46-ad45-390e615dedb1 2026-10-30 02:53:50,125 - DEBUG - Requesting: http://10.0.0.248:8082/project/cd22afec-f77c-4be0-948b-d5fb74ea5f1a 2026-10-30 02:53:50,195 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/3a5314e9-9c29-4c07-8af0-5ee675c4b81d 2026-10-30 02:53:50,202 - DEBUG - ==>Verifying data for policy with id: 12e5ff8e-3aee-4b56-b658-faf18638d901, fqn: ['default-domain', 'ctest-TestBasicPolicy-11277765', 'ctest-policy-allow-all-39278419'] 2026-10-30 02:53:50,202 - INFO - VN ctest-vn-16073168 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-30 02:53:50,203 - DEBUG - Verifying the vn in opserver 2026-10-30 02:53:50,203 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11277765:ctest-vn-16073168 virtual network link through opserver 10.0.0.248 2026-10-30 02:53:50,203 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks 2026-10-30 02:53:50,210 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11277765:ctest-vn-16073168', 'href': 'http://10.0.0.248:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11277765:ctest-vn-16073168?flat'} 2026-10-30 02:53:50,210 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11277765:ctest-vn-16073168 is found in opserver 2026-10-30 02:53:50,218 - DEBUG - Do not have enough data to verify VN in agent 2026-10-30 02:53:50,222 - DEBUG - VRF ids for VN ctest-vn-16073168: {} 2026-10-30 02:53:50,266 - DEBUG - Services list from nova: [, , ] 2026-10-30 02:53:50,593 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6448-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6448-1) 2026-10-30 02:53:50,890 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6448-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6448-1) 2026-10-30 02:53:50,891 - INFO - Waiting for VM ctest-TestBasicPolicy-11277765-65071426 to be up.. 2026-10-30 02:53:50,924 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 02:53:55,982 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 02:54:01,043 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 02:54:06,100 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 02:54:11,165 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 02:54:16,224 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 02:54:21,285 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 02:54:26,351 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 02:54:31,411 - DEBUG - VM is in ACTIVE state now 2026-10-30 02:54:31,411 - INFO - VM name : ctest-TestBasicPolicy-11277765-65071426 2026-10-30 02:54:31,467 - DEBUG - VM ctest-TestBasicPolicy-11277765-65071426 ID is 21d31343-ea39-4194-b2ff-13ddf04bd371 2026-10-30 02:54:31,482 - DEBUG - VM ctest-TestBasicPolicy-11277765-65071426 launched on Node cn-jenkins-deploy-platform-ansible-os-6448-1 2026-10-30 02:54:31,534 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/21d31343-ea39-4194-b2ff-13ddf04bd371 2026-10-30 02:54:31,540 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine-interface/e34a552f-66e5-431a-970f-a76de581ad6a 2026-10-30 02:54:32,772 - 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.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.357 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.357/1.755/3.154/1.398 ms') 2026-10-30 02:54:32,772 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11277765-65071426 passed 2026-10-30 02:54:32,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-30 02:54:32,915 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11277765-65071426, IP 201.232.213.3, Port 22 2026-10-30 02:54:33,074 - DEBUG - VM ctest-TestBasicPolicy-11277765-65071426 is ready for SSH connections 2026-10-30 02:54:33,074 - INFO - Waiting for VM ctest-TestBasicPolicy-11277765-75136477 to be up.. 2026-10-30 02:54:33,142 - DEBUG - VM is in ACTIVE state now 2026-10-30 02:54:33,142 - INFO - VM name : ctest-TestBasicPolicy-11277765-75136477 2026-10-30 02:54:33,196 - DEBUG - VM ctest-TestBasicPolicy-11277765-75136477 ID is 1bd50cba-ddcc-473d-aebe-3653a31503f5 2026-10-30 02:54:33,196 - DEBUG - VM ctest-TestBasicPolicy-11277765-75136477 launched on Node cn-jenkins-deploy-platform-ansible-os-6448-1 2026-10-30 02:54:33,251 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/1bd50cba-ddcc-473d-aebe-3653a31503f5 2026-10-30 02:54:33,258 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine-interface/8454dc3e-b4f0-4121-83fd-0dff28bcf686 2026-10-30 02:54:34,479 - 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=2.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.330 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.330/1.616/2.902/1.286 ms') 2026-10-30 02:54:34,479 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-11277765-75136477 passed 2026-10-30 02:54:34,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-30 02:54:34,623 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11277765-75136477, IP 149.192.208.3, Port 22 2026-10-30 02:54:34,778 - DEBUG - VM ctest-TestBasicPolicy-11277765-75136477 is ready for SSH connections 2026-10-30 02:54:34,779 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-30 02:54:34,779 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.192.208.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.248, gateway password: c0ntrail123 2026-10-30 02:54:34,779 - DEBUG - ping -s 56 -c 3 -W 1 149.192.208.3 2026-10-30 02:54:38,638 - DEBUG - PING 149.192.208.3 (149.192.208.3): 56 data bytes 64 bytes from 149.192.208.3: seq=0 ttl=63 time=3.481 ms 64 bytes from 149.192.208.3: seq=1 ttl=63 time=0.783 ms 64 bytes from 149.192.208.3: seq=2 ttl=63 time=0.722 ms --- 149.192.208.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.722/1.662/3.481 ms 2026-10-30 02:54:38,638 - INFO - Ping to IP 149.192.208.3 from VM ctest-TestBasicPolicy-11277765-65071426 passed 2026-10-30 02:54:38,831 - DEBUG - Policy Update Response {"network-policy": {"uuid": "12e5ff8e-3aee-4b56-b658-faf18638d901", "href": "http://10.0.0.248:8082/network-policy/12e5ff8e-3aee-4b56-b658-faf18638d901"}} 2026-10-30 02:54:38,831 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-30 02:54:38,831 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.192.208.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.248, gateway password: c0ntrail123 2026-10-30 02:54:38,831 - DEBUG - ping -s 56 -c 3 -W 1 149.192.208.3 2026-10-30 02:54:41,951 - DEBUG - PING 149.192.208.3 (149.192.208.3): 56 data bytes 64 bytes from 149.192.208.3: seq=0 ttl=63 time=1.321 ms --- 149.192.208.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.321/1.321/1.321 ms 2026-10-30 02:54:41,952 - WARNING - Ping to IP 149.192.208.3 from VM ctest-TestBasicPolicy-11277765-65071426 failed 2026-10-30 02:54:41,952 - INFO - Deleting VM ctest-TestBasicPolicy-11277765-75136477 2026-10-30 02:54:42,014 - INFO - Deleting VM ctest-TestBasicPolicy-11277765-65071426 2026-10-30 02:54:42,337 - INFO - Deleted policy ctest-policy-allow-all-39278419 2026-10-30 02:54:42,337 - INFO - Deleting VN ctest-vn-16073168 2026-10-30 02:54:42,362 - DEBUG - VN 3a5314e9-9c29-4c07-8af0-5ee675c4b81d still in use: Unable to complete operation on network 3a5314e9-9c29-4c07-8af0-5ee675c4b81d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5b5ec88e-5b6f-4539-8ecc-dbf9eb0dea83'] 2026-10-30 02:54:42,362 - WARNING - Deleting VN ctest-vn-16073168 failed..Will retry 2026-10-30 02:54:44,392 - DEBUG - VN 3a5314e9-9c29-4c07-8af0-5ee675c4b81d still in use: Unable to complete operation on network 3a5314e9-9c29-4c07-8af0-5ee675c4b81d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-84bd893e-cbe8-4c9f-9df1-95acddde086c'] 2026-10-30 02:54:44,392 - WARNING - Deleting VN ctest-vn-16073168 failed..Will retry 2026-10-30 02:54:46,483 - DEBUG - Response for deleting network () 2026-10-30 02:54:46,483 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/485047b8-ac52-4bc1-94ee-71ab69abf407 2026-10-30 02:54:46,489 - DEBUG - Response Code: 404 2026-10-30 02:54:46,489 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-10-30 02:54:46,493 - DEBUG - Requesting: http://10.0.0.248:8082/domain/fd578f58-c644-4f46-ad45-390e615dedb1 2026-10-30 02:54:46,543 - DEBUG - Requesting: http://10.0.0.248:8082/project/cd22afec-f77c-4be0-948b-d5fb74ea5f1a 2026-10-30 02:54:46,616 - INFO - Validated that VN ctest-vn-16073168 is not found in API Server 2026-10-30 02:54:46,624 - DEBUG - VN ctest-vn-16073168 is not present in Agent 10.0.0.248 2026-10-30 02:54:46,624 - INFO - Validated that VN ctest-vn-16073168 is not in any agent 2026-10-30 02:54:46,637 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16073168 info 2026-10-30 02:54:46,637 - INFO - Deleting VN ctest-vn-81446474 2026-10-30 02:54:46,719 - DEBUG - Response for deleting network () 2026-10-30 02:54:46,719 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/37903222-31c5-47e9-8aa7-74c5bccb76a4 2026-10-30 02:54:46,725 - DEBUG - Response Code: 404 2026-10-30 02:54:46,725 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-10-30 02:54:46,729 - DEBUG - Requesting: http://10.0.0.248:8082/domain/fd578f58-c644-4f46-ad45-390e615dedb1 2026-10-30 02:54:46,778 - DEBUG - Requesting: http://10.0.0.248:8082/project/cd22afec-f77c-4be0-948b-d5fb74ea5f1a 2026-10-30 02:54:46,843 - INFO - Validated that VN ctest-vn-81446474 is not found in API Server 2026-10-30 02:54:46,852 - DEBUG - VN ctest-vn-81446474 is not present in Agent 10.0.0.248 2026-10-30 02:54:46,852 - INFO - Validated that VN ctest-vn-81446474 is not in any agent 2026-10-30 02:54:46,864 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81446474 info 2026-10-30 02:54:47,116 - DEBUG - No XMPP flaps were noticed during the test
2026-10-30 02:54:47,116 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:01]
2026-10-30 02:54:47,116 - INFO - -------------------------------------------------------------------------------- 2026-10-30 02:54:47,767 - INFO - Deleted project: ctest-TestBasicPolicy-11277765, ID : cd22afec-f77c-4be0-948b-d5fb74ea5f1a