2026-03-24 19:43:04,720 - INFO - Domain Default found not creating 2026-03-24 19:43:04,877 - INFO - Project ctest-TestBasicPolicy-28781585 not found, creating it 2026-03-24 19:43:05,325 - INFO - Created Project:ctest-TestBasicPolicy-28781585, ID : 083d9008-dd87-48db-9a14-a8a22df62812 2026-03-24 19:43:06,752 - INFO - ================================================================================ 2026-03-24 19:43:06,752 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-24 19:43:06,752 - 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-03-24 19:43:07,006 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-03-24 19:43:07,007 - INFO - Initial checks done. Running the testcase now 2026-03-24 19:43:07,007 - INFO - 2026-03-24 19:43:07,553 - DEBUG - Response for create_network : {'network': {'id': 'd3aff0c2-2fe3-47fc-9347-5100ad375f8e', 'name': 'ctest-vn-28842090', 'tenant_id': '083d9008dd8748db9a14a8a22df62812', 'project_id': '083d9008dd8748db9a14a8a22df62812', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28781585', 'ctest-vn-28842090'], 'port_security_enabled': True, 'description': ''}} 2026-03-24 19:43:07,781 - DEBUG - Response for create_subnet : {'subnet': {'id': '5450b1cf-298f-4b87-a0f4-0c5b68f3b826', 'name': '', 'tenant_id': '083d9008dd8748db9a14a8a22df62812', 'network_id': 'd3aff0c2-2fe3-47fc-9347-5100ad375f8e', 'ip_version': 4, 'cidr': '156.177.82.64/26', 'allocation_pools': [{'start': '156.177.82.66', 'end': '156.177.82.126'}], 'gateway_ip': '156.177.82.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.177.82.66', 'tags': [], 'project_id': '083d9008dd8748db9a14a8a22df62812'}} 2026-03-24 19:43:07,801 - INFO - Created VN ctest-vn-28842090 2026-03-24 19:43:07,854 - DEBUG - VN ctest-vn-28842090 UUID is d3aff0c2-2fe3-47fc-9347-5100ad375f8e 2026-03-24 19:43:08,167 - DEBUG - Response for create_network : {'network': {'id': '636af555-b98d-4841-85b7-3329c76bb912', 'name': 'ctest-vn-33869890', 'tenant_id': '083d9008dd8748db9a14a8a22df62812', 'project_id': '083d9008dd8748db9a14a8a22df62812', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28781585', 'ctest-vn-33869890'], 'port_security_enabled': True, 'description': ''}} 2026-03-24 19:43:08,328 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1a6cbd7-6d35-4e97-8170-f79b69165261', 'name': '', 'tenant_id': '083d9008dd8748db9a14a8a22df62812', 'network_id': '636af555-b98d-4841-85b7-3329c76bb912', 'ip_version': 4, 'cidr': '85.139.86.128/26', 'allocation_pools': [{'start': '85.139.86.130', 'end': '85.139.86.190'}], 'gateway_ip': '85.139.86.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.139.86.130', 'tags': [], 'project_id': '083d9008dd8748db9a14a8a22df62812'}} 2026-03-24 19:43:08,345 - INFO - Created VN ctest-vn-33869890 2026-03-24 19:43:08,397 - DEBUG - VN ctest-vn-33869890 UUID is 636af555-b98d-4841-85b7-3329c76bb912 2026-03-24 19:43:08,541 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28781585:ctest-vn-28842090, 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-28781585:ctest-vn-33869890, 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-03-24 19:43:08,834 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd3aff0c2-2fe3-47fc-9347-5100ad375f8e', 'name': 'ctest-vn-28842090', 'tenant_id': '083d9008dd8748db9a14a8a22df62812', 'project_id': '083d9008dd8748db9a14a8a22df62812', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5450b1cf-298f-4b87-a0f4-0c5b68f3b826'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28781585', 'ctest-vn-28842090'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28781585', 'ctest-policy-allow-all-95052090']], 'subnet_ipam': [{'subnet_cidr': '156.177.82.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-24 19:43:09,108 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '636af555-b98d-4841-85b7-3329c76bb912', 'name': 'ctest-vn-33869890', 'tenant_id': '083d9008dd8748db9a14a8a22df62812', 'project_id': '083d9008dd8748db9a14a8a22df62812', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c1a6cbd7-6d35-4e97-8170-f79b69165261'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28781585', 'ctest-vn-33869890'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28781585', 'ctest-policy-allow-all-95052090']], 'subnet_ipam': [{'subnet_cidr': '85.139.86.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-24 19:43:09,238 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-24 19:43:09,535 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-24 19:43:09,564 - DEBUG - Requesting: http://10.0.0.38:8082/domain/919d5ea9-ac55-483e-ae99-dc23197abd89 2026-03-24 19:43:09,575 - DEBUG - Requesting: http://10.0.0.38:8082/project/083d9008-dd87-48db-9a14-a8a22df62812 2026-03-24 19:43:09,658 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d3aff0c2-2fe3-47fc-9347-5100ad375f8e 2026-03-24 19:43:09,668 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d3aff0c2-2fe3-47fc-9347-5100ad375f8e 2026-03-24 19:43:09,676 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a710a6b2-9abb-467f-b600-d5633a9c2b51 2026-03-24 19:43:09,683 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a710a6b2-9abb-467f-b600-d5633a9c2b51 2026-03-24 19:43:09,690 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/bca588ca-2d3b-4f9d-8cff-2585d90510b9 2026-03-24 19:43:09,695 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-24 19:43:09,695 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d3aff0c2-2fe3-47fc-9347-5100ad375f8e 2026-03-24 19:43:09,704 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a710a6b2-9abb-467f-b600-d5633a9c2b51 2026-03-24 19:43:09,721 - INFO - Verified VN network id 11 for VN d3aff0c2-2fe3-47fc-9347-5100ad375f8e 2026-03-24 19:43:09,721 - INFO - Verifications in API Server for VN ctest-vn-28842090 passed 2026-03-24 19:43:09,721 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d3aff0c2-2fe3-47fc-9347-5100ad375f8e 2026-03-24 19:43:09,730 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a710a6b2-9abb-467f-b600-d5633a9c2b51 2026-03-24 19:43:09,737 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a710a6b2-9abb-467f-b600-d5633a9c2b51 2026-03-24 19:43:09,744 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/bca588ca-2d3b-4f9d-8cff-2585d90510b9 2026-03-24 19:43:09,759 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28781585:ctest-vn-28842090', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28781585', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15253675179744905212', 'uuid-lslong': '10612540110269800334'}, 'enable': 'true', 'created': '2026-03-24T19:43:07', 'last-modified': '2026-03-24T19:43:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.945815'} 2026-03-24 19:43:09,766 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-24 19:43:09,766 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28842090 passed 2026-03-24 19:43:09,767 - DEBUG - ====Verifying policy data for ctest-vn-28842090 in API_Server ====== 2026-03-24 19:43:09,767 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-24 19:43:09,773 - DEBUG - Requesting: http://10.0.0.38:8082/domain/919d5ea9-ac55-483e-ae99-dc23197abd89 2026-03-24 19:43:09,786 - DEBUG - Requesting: http://10.0.0.38:8082/project/083d9008-dd87-48db-9a14-a8a22df62812 2026-03-24 19:43:09,860 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d3aff0c2-2fe3-47fc-9347-5100ad375f8e 2026-03-24 19:43:09,870 - DEBUG - ==>Verifying data for policy with id: bb137ac4-151c-4ac0-bd3d-7b82357b1db3, fqn: ['default-domain', 'ctest-TestBasicPolicy-28781585', 'ctest-policy-allow-all-95052090'] 2026-03-24 19:43:09,870 - INFO - VN ctest-vn-28842090 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-24 19:43:09,870 - DEBUG - Verifying the vn in opserver 2026-03-24 19:43:09,870 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28781585:ctest-vn-28842090 virtual network link through opserver 10.0.0.38 2026-03-24 19:43:09,870 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-24 19:43:10,167 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-24 19:43:10,229 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28781585:ctest-vn-28842090', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28781585:ctest-vn-28842090?flat'} 2026-03-24 19:43:10,229 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28781585:ctest-vn-28842090 is found in opserver 2026-03-24 19:43:10,240 - DEBUG - Do not have enough data to verify VN in agent 2026-03-24 19:43:10,246 - DEBUG - VRF ids for VN ctest-vn-28842090: {} 2026-03-24 19:43:10,246 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-24 19:43:10,252 - DEBUG - Requesting: http://10.0.0.38:8082/domain/919d5ea9-ac55-483e-ae99-dc23197abd89 2026-03-24 19:43:10,265 - DEBUG - Requesting: http://10.0.0.38:8082/project/083d9008-dd87-48db-9a14-a8a22df62812 2026-03-24 19:43:10,335 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/636af555-b98d-4841-85b7-3329c76bb912 2026-03-24 19:43:10,347 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/636af555-b98d-4841-85b7-3329c76bb912 2026-03-24 19:43:10,357 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0c7f6dc3-a568-496d-90be-7f04aed99665 2026-03-24 19:43:10,363 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0c7f6dc3-a568-496d-90be-7f04aed99665 2026-03-24 19:43:10,369 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2626f93a-7bfb-48ea-b09e-2352c695f2ac 2026-03-24 19:43:10,376 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-24 19:43:10,376 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/636af555-b98d-4841-85b7-3329c76bb912 2026-03-24 19:43:10,386 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0c7f6dc3-a568-496d-90be-7f04aed99665 2026-03-24 19:43:10,399 - INFO - Verified VN network id 12 for VN 636af555-b98d-4841-85b7-3329c76bb912 2026-03-24 19:43:10,400 - INFO - Verifications in API Server for VN ctest-vn-33869890 passed 2026-03-24 19:43:10,400 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/636af555-b98d-4841-85b7-3329c76bb912 2026-03-24 19:43:10,409 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0c7f6dc3-a568-496d-90be-7f04aed99665 2026-03-24 19:43:10,417 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0c7f6dc3-a568-496d-90be-7f04aed99665 2026-03-24 19:43:10,424 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2626f93a-7bfb-48ea-b09e-2352c695f2ac 2026-03-24 19:43:10,436 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28781585:ctest-vn-33869890', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28781585', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7163807905820264513', 'uuid-lslong': '9635226182314866962'}, 'enable': 'true', 'created': '2026-03-24T19:43:08', 'last-modified': '2026-03-24T19:43:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.403643'} 2026-03-24 19:43:10,441 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-24 19:43:10,441 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33869890 passed 2026-03-24 19:43:10,442 - DEBUG - ====Verifying policy data for ctest-vn-33869890 in API_Server ====== 2026-03-24 19:43:10,442 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-24 19:43:10,447 - DEBUG - Requesting: http://10.0.0.38:8082/domain/919d5ea9-ac55-483e-ae99-dc23197abd89 2026-03-24 19:43:10,457 - DEBUG - Requesting: http://10.0.0.38:8082/project/083d9008-dd87-48db-9a14-a8a22df62812 2026-03-24 19:43:10,528 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/636af555-b98d-4841-85b7-3329c76bb912 2026-03-24 19:43:10,536 - DEBUG - ==>Verifying data for policy with id: bb137ac4-151c-4ac0-bd3d-7b82357b1db3, fqn: ['default-domain', 'ctest-TestBasicPolicy-28781585', 'ctest-policy-allow-all-95052090'] 2026-03-24 19:43:10,536 - INFO - VN ctest-vn-33869890 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-24 19:43:10,536 - DEBUG - Verifying the vn in opserver 2026-03-24 19:43:10,536 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28781585:ctest-vn-33869890 virtual network link through opserver 10.0.0.38 2026-03-24 19:43:10,536 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-24 19:43:10,546 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28781585:ctest-vn-33869890', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28781585:ctest-vn-33869890?flat'} 2026-03-24 19:43:10,546 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28781585:ctest-vn-33869890 is found in opserver 2026-03-24 19:43:10,555 - DEBUG - Do not have enough data to verify VN in agent 2026-03-24 19:43:10,562 - DEBUG - VRF ids for VN ctest-vn-33869890: {} 2026-03-24 19:43:10,618 - DEBUG - Services list from nova: [, , ] 2026-03-24 19:43:11,647 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5535-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5535-1) 2026-03-24 19:43:12,784 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5535-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5535-1) 2026-03-24 19:43:12,790 - INFO - Waiting for VM ctest-TestBasicPolicy-28781585-52062425 to be up.. 2026-03-24 19:43:12,870 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-24 19:43:17,953 - DEBUG - VM is in ACTIVE state now 2026-03-24 19:43:17,953 - INFO - VM name : ctest-TestBasicPolicy-28781585-52062425 2026-03-24 19:43:18,038 - DEBUG - VM ctest-TestBasicPolicy-28781585-52062425 ID is 0d60c33c-2a9b-4644-be10-fcc66dbd3f8e 2026-03-24 19:43:18,061 - DEBUG - VM ctest-TestBasicPolicy-28781585-52062425 launched on Node cn-jenkins-deploy-platform-ansible-os-5535-1 2026-03-24 19:43:18,146 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0d60c33c-2a9b-4644-be10-fcc66dbd3f8e 2026-03-24 19:43:18,154 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4a95f0dc-f4a8-427c-9f2f-6625d477497d 2026-03-24 19:43:21,413 - 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 1019ms') 2026-03-24 19:43:21,414 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28781585-52062425 failed! 2026-03-24 19:43:21,465 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-28781585:ctest-vn-28842090 is 156.177.82.65 and allocation pool is NOT set 2026-03-24 19:43:23,525 - 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.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.405 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.405/1.728/3.051/1.323 ms') 2026-03-24 19:43:23,526 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28781585-52062425 passed 2026-03-24 19:43:23,673 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-24 19:43:23,674 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28781585-52062425, IP 156.177.82.67, Port 22 2026-03-24 19:43:23,825 - DEBUG - VM ctest-TestBasicPolicy-28781585-52062425 is ready for SSH connections 2026-03-24 19:43:23,825 - INFO - Waiting for VM ctest-TestBasicPolicy-28781585-19146707 to be up.. 2026-03-24 19:43:23,895 - DEBUG - VM is in ACTIVE state now 2026-03-24 19:43:23,895 - INFO - VM name : ctest-TestBasicPolicy-28781585-19146707 2026-03-24 19:43:23,961 - DEBUG - VM ctest-TestBasicPolicy-28781585-19146707 ID is bef2eec8-a6ed-4bac-96bd-406ae52f2115 2026-03-24 19:43:23,961 - DEBUG - VM ctest-TestBasicPolicy-28781585-19146707 launched on Node cn-jenkins-deploy-platform-ansible-os-5535-1 2026-03-24 19:43:24,032 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bef2eec8-a6ed-4bac-96bd-406ae52f2115 2026-03-24 19:43:24,040 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b7a230fc-0b11-4926-b086-2c7e683963c2 2026-03-24 19:43:25,267 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.410/1.565/2.721/1.155 ms') 2026-03-24 19:43:25,267 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-28781585-19146707 passed 2026-03-24 19:43:25,413 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-24 19:43:25,413 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28781585-19146707, IP 85.139.86.131, Port 22 2026-03-24 19:43:25,573 - DEBUG - VM ctest-TestBasicPolicy-28781585-19146707 is ready for SSH connections 2026-03-24 19:43:25,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-24 19:43:25,573 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.139.86.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-24 19:43:25,573 - DEBUG - ping -s 56 -c 3 -W 1 85.139.86.131 2026-03-24 19:43:29,568 - DEBUG - PING 85.139.86.131 (85.139.86.131): 56 data bytes 64 bytes from 85.139.86.131: seq=0 ttl=63 time=3.416 ms 64 bytes from 85.139.86.131: seq=1 ttl=63 time=0.863 ms 64 bytes from 85.139.86.131: seq=2 ttl=63 time=0.811 ms --- 85.139.86.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.811/1.696/3.416 ms 2026-03-24 19:43:29,568 - INFO - Ping to IP 85.139.86.131 from VM ctest-TestBasicPolicy-28781585-52062425 passed 2026-03-24 19:43:29,745 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bb137ac4-151c-4ac0-bd3d-7b82357b1db3", "href": "http://10.0.0.38:8082/network-policy/bb137ac4-151c-4ac0-bd3d-7b82357b1db3"}} 2026-03-24 19:43:29,745 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-24 19:43:29,745 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.139.86.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-24 19:43:29,746 - DEBUG - ping -s 56 -c 3 -W 1 85.139.86.131 2026-03-24 19:43:32,957 - DEBUG - PING 85.139.86.131 (85.139.86.131): 56 data bytes --- 85.139.86.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-24 19:43:32,957 - WARNING - Ping to IP 85.139.86.131 from VM ctest-TestBasicPolicy-28781585-52062425 failed 2026-03-24 19:43:32,957 - INFO - Deleting VM ctest-TestBasicPolicy-28781585-19146707 2026-03-24 19:43:33,028 - INFO - Deleting VM ctest-TestBasicPolicy-28781585-52062425 2026-03-24 19:43:33,392 - INFO - Deleted policy ctest-policy-allow-all-95052090 2026-03-24 19:43:33,392 - INFO - Deleting VN ctest-vn-33869890 2026-03-24 19:43:33,432 - DEBUG - VN 636af555-b98d-4841-85b7-3329c76bb912 still in use: Unable to complete operation on network 636af555-b98d-4841-85b7-3329c76bb912. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5adab637-9fde-4096-afc9-44ab0fb3cfcb'] 2026-03-24 19:43:33,432 - WARNING - Deleting VN ctest-vn-33869890 failed..Will retry 2026-03-24 19:43:35,534 - DEBUG - Response for deleting network () 2026-03-24 19:43:35,534 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0c7f6dc3-a568-496d-90be-7f04aed99665 2026-03-24 19:43:35,539 - DEBUG - Response Code: 404 2026-03-24 19:43:35,539 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-24 19:43:35,544 - DEBUG - Requesting: http://10.0.0.38:8082/domain/919d5ea9-ac55-483e-ae99-dc23197abd89 2026-03-24 19:43:35,598 - DEBUG - Requesting: http://10.0.0.38:8082/project/083d9008-dd87-48db-9a14-a8a22df62812 2026-03-24 19:43:35,664 - INFO - Validated that VN ctest-vn-33869890 is not found in API Server 2026-03-24 19:43:35,675 - DEBUG - VN ctest-vn-33869890 is not present in Agent 10.0.0.38 2026-03-24 19:43:35,675 - INFO - Validated that VN ctest-vn-33869890 is not in any agent 2026-03-24 19:43:35,689 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33869890 info 2026-03-24 19:43:35,689 - INFO - Deleting VN ctest-vn-28842090 2026-03-24 19:43:35,791 - DEBUG - Response for deleting network () 2026-03-24 19:43:35,791 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a710a6b2-9abb-467f-b600-d5633a9c2b51 2026-03-24 19:43:35,799 - DEBUG - Response Code: 404 2026-03-24 19:43:35,799 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-24 19:43:35,803 - DEBUG - Requesting: http://10.0.0.38:8082/domain/919d5ea9-ac55-483e-ae99-dc23197abd89 2026-03-24 19:43:35,854 - DEBUG - Requesting: http://10.0.0.38:8082/project/083d9008-dd87-48db-9a14-a8a22df62812 2026-03-24 19:43:35,920 - INFO - Validated that VN ctest-vn-28842090 is not found in API Server 2026-03-24 19:43:35,929 - DEBUG - VN ctest-vn-28842090 is not present in Agent 10.0.0.38 2026-03-24 19:43:35,929 - INFO - Validated that VN ctest-vn-28842090 is not in any agent 2026-03-24 19:43:35,941 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28842090 info 2026-03-24 19:43:36,194 - DEBUG - No XMPP flaps were noticed during the test
2026-03-24 19:43:36,194 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-03-24 19:43:36,194 - INFO - -------------------------------------------------------------------------------- 2026-03-24 19:43:36,862 - INFO - Deleted project: ctest-TestBasicPolicy-28781585, ID : 083d9008-dd87-48db-9a14-a8a22df62812