2026-06-18 13:06:20,691 - INFO - Domain Default found not creating 2026-06-18 13:06:20,822 - INFO - Project ctest-TestBasicPolicy-22122949 not found, creating it 2026-06-18 13:06:21,270 - INFO - Created Project:ctest-TestBasicPolicy-22122949, ID : 5a976503-7dd6-4429-8b1e-26526b353c07 2026-06-18 13:06:22,659 - INFO - ================================================================================ 2026-06-18 13:06:22,659 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-18 13:06:22,659 - 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-18 13:06:22,912 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.192': '0'}} with 2026-06-18 13:06:22,912 - INFO - Initial checks done. Running the testcase now 2026-06-18 13:06:22,912 - INFO - 2026-06-18 13:06:23,451 - DEBUG - Response for create_network : {'network': {'id': '576d8419-008e-4ec2-b3cf-ffc729b24dac', 'name': 'ctest-vn-40755022', 'tenant_id': '5a9765037dd644298b1e26526b353c07', 'project_id': '5a9765037dd644298b1e26526b353c07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22122949', 'ctest-vn-40755022'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 13:06:23,611 - DEBUG - Response for create_subnet : {'subnet': {'id': '54c13cf9-aa71-400d-8ddc-603108926260', 'name': '', 'tenant_id': '5a9765037dd644298b1e26526b353c07', 'network_id': '576d8419-008e-4ec2-b3cf-ffc729b24dac', 'ip_version': 4, 'cidr': '159.35.227.64/26', 'allocation_pools': [{'start': '159.35.227.66', 'end': '159.35.227.126'}], 'gateway_ip': '159.35.227.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.35.227.66', 'tags': [], 'project_id': '5a9765037dd644298b1e26526b353c07'}} 2026-06-18 13:06:23,624 - INFO - Created VN ctest-vn-40755022 2026-06-18 13:06:23,679 - DEBUG - VN ctest-vn-40755022 UUID is 576d8419-008e-4ec2-b3cf-ffc729b24dac 2026-06-18 13:06:23,961 - DEBUG - Response for create_network : {'network': {'id': '29cad6bc-a282-4a2c-ad60-d80049034ccd', 'name': 'ctest-vn-18244927', 'tenant_id': '5a9765037dd644298b1e26526b353c07', 'project_id': '5a9765037dd644298b1e26526b353c07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22122949', 'ctest-vn-18244927'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 13:06:24,133 - DEBUG - Response for create_subnet : {'subnet': {'id': '00702d0e-c201-4dc4-9dca-edc257789831', 'name': '', 'tenant_id': '5a9765037dd644298b1e26526b353c07', 'network_id': '29cad6bc-a282-4a2c-ad60-d80049034ccd', 'ip_version': 4, 'cidr': '172.54.76.0/26', 'allocation_pools': [{'start': '172.54.76.2', 'end': '172.54.76.62'}], 'gateway_ip': '172.54.76.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.54.76.2', 'tags': [], 'project_id': '5a9765037dd644298b1e26526b353c07'}} 2026-06-18 13:06:24,147 - INFO - Created VN ctest-vn-18244927 2026-06-18 13:06:24,199 - DEBUG - VN ctest-vn-18244927 UUID is 29cad6bc-a282-4a2c-ad60-d80049034ccd 2026-06-18 13:06:24,339 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-22122949:ctest-vn-40755022, 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-22122949:ctest-vn-18244927, 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-18 13:06:24,610 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '576d8419-008e-4ec2-b3cf-ffc729b24dac', 'name': 'ctest-vn-40755022', 'tenant_id': '5a9765037dd644298b1e26526b353c07', 'project_id': '5a9765037dd644298b1e26526b353c07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['54c13cf9-aa71-400d-8ddc-603108926260'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22122949', 'ctest-vn-40755022'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22122949', 'ctest-policy-allow-all-32492386']], 'subnet_ipam': [{'subnet_cidr': '159.35.227.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-18 13:06:24,826 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '29cad6bc-a282-4a2c-ad60-d80049034ccd', 'name': 'ctest-vn-18244927', 'tenant_id': '5a9765037dd644298b1e26526b353c07', 'project_id': '5a9765037dd644298b1e26526b353c07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['00702d0e-c201-4dc4-9dca-edc257789831'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22122949', 'ctest-vn-18244927'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22122949', 'ctest-policy-allow-all-32492386']], 'subnet_ipam': [{'subnet_cidr': '172.54.76.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-18 13:06:24,991 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-18 13:06:25,306 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-18 13:06:25,327 - DEBUG - Requesting: http://10.0.0.50:8082/domain/96e5e975-a248-431e-b6ac-11917f385982 2026-06-18 13:06:25,338 - DEBUG - Requesting: http://10.0.0.50:8082/project/5a976503-7dd6-4429-8b1e-26526b353c07 2026-06-18 13:06:25,408 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/576d8419-008e-4ec2-b3cf-ffc729b24dac 2026-06-18 13:06:25,418 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/576d8419-008e-4ec2-b3cf-ffc729b24dac 2026-06-18 13:06:25,426 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/892c0547-cf22-4e85-b058-59348672f59b 2026-06-18 13:06:25,432 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/892c0547-cf22-4e85-b058-59348672f59b 2026-06-18 13:06:25,438 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a1e76ebe-c338-4031-bf39-0fe67a8bd874 2026-06-18 13:06:25,445 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-18 13:06:25,445 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/576d8419-008e-4ec2-b3cf-ffc729b24dac 2026-06-18 13:06:25,453 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/892c0547-cf22-4e85-b058-59348672f59b 2026-06-18 13:06:25,464 - INFO - Verified VN network id 11 for VN 576d8419-008e-4ec2-b3cf-ffc729b24dac 2026-06-18 13:06:25,464 - INFO - Verifications in API Server for VN ctest-vn-40755022 passed 2026-06-18 13:06:25,464 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/576d8419-008e-4ec2-b3cf-ffc729b24dac 2026-06-18 13:06:25,472 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/892c0547-cf22-4e85-b058-59348672f59b 2026-06-18 13:06:25,478 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/892c0547-cf22-4e85-b058-59348672f59b 2026-06-18 13:06:25,483 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a1e76ebe-c338-4031-bf39-0fe67a8bd874 2026-06-18 13:06:25,493 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22122949:ctest-vn-40755022', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22122949', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6299836696679567042', 'uuid-lslong': '12956855883831332268'}, 'enable': 'true', 'created': '2026-06-18T13:06:23', 'last-modified': '2026-06-18T13:06:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.901846'} 2026-06-18 13:06:25,498 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-18 13:06:25,498 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40755022 passed 2026-06-18 13:06:25,498 - DEBUG - ====Verifying policy data for ctest-vn-40755022 in API_Server ====== 2026-06-18 13:06:25,499 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-18 13:06:25,503 - DEBUG - Requesting: http://10.0.0.50:8082/domain/96e5e975-a248-431e-b6ac-11917f385982 2026-06-18 13:06:25,513 - DEBUG - Requesting: http://10.0.0.50:8082/project/5a976503-7dd6-4429-8b1e-26526b353c07 2026-06-18 13:06:25,575 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/576d8419-008e-4ec2-b3cf-ffc729b24dac 2026-06-18 13:06:25,583 - DEBUG - ==>Verifying data for policy with id: 4f7f730d-215b-4b7c-9b36-b18b287f0544, fqn: ['default-domain', 'ctest-TestBasicPolicy-22122949', 'ctest-policy-allow-all-32492386'] 2026-06-18 13:06:25,583 - INFO - VN ctest-vn-40755022 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-18 13:06:25,584 - DEBUG - Verifying the vn in opserver 2026-06-18 13:06:25,584 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22122949:ctest-vn-40755022 virtual network link through opserver 10.0.0.50 2026-06-18 13:06:25,584 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-18 13:06:25,897 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-18 13:06:25,942 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22122949:ctest-vn-40755022', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22122949:ctest-vn-40755022?flat'} 2026-06-18 13:06:25,942 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22122949:ctest-vn-40755022 is found in opserver 2026-06-18 13:06:25,951 - DEBUG - Do not have enough data to verify VN in agent 2026-06-18 13:06:25,955 - DEBUG - VRF ids for VN ctest-vn-40755022: {} 2026-06-18 13:06:25,955 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-18 13:06:25,959 - DEBUG - Requesting: http://10.0.0.50:8082/domain/96e5e975-a248-431e-b6ac-11917f385982 2026-06-18 13:06:25,969 - DEBUG - Requesting: http://10.0.0.50:8082/project/5a976503-7dd6-4429-8b1e-26526b353c07 2026-06-18 13:06:26,037 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/29cad6bc-a282-4a2c-ad60-d80049034ccd 2026-06-18 13:06:26,047 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/29cad6bc-a282-4a2c-ad60-d80049034ccd 2026-06-18 13:06:26,054 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4f9dc1a9-fc19-4c72-a4c5-8ddf143fa8f4 2026-06-18 13:06:26,062 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4f9dc1a9-fc19-4c72-a4c5-8ddf143fa8f4 2026-06-18 13:06:26,067 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8c020607-29f8-4f54-97bb-a56bf7699772 2026-06-18 13:06:26,072 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-18 13:06:26,072 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/29cad6bc-a282-4a2c-ad60-d80049034ccd 2026-06-18 13:06:26,079 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4f9dc1a9-fc19-4c72-a4c5-8ddf143fa8f4 2026-06-18 13:06:26,091 - INFO - Verified VN network id 12 for VN 29cad6bc-a282-4a2c-ad60-d80049034ccd 2026-06-18 13:06:26,091 - INFO - Verifications in API Server for VN ctest-vn-18244927 passed 2026-06-18 13:06:26,091 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/29cad6bc-a282-4a2c-ad60-d80049034ccd 2026-06-18 13:06:26,099 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4f9dc1a9-fc19-4c72-a4c5-8ddf143fa8f4 2026-06-18 13:06:26,106 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4f9dc1a9-fc19-4c72-a4c5-8ddf143fa8f4 2026-06-18 13:06:26,112 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8c020607-29f8-4f54-97bb-a56bf7699772 2026-06-18 13:06:26,124 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22122949:ctest-vn-18244927', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22122949', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3011455406519241260', 'uuid-lslong': '12493222862062308557'}, 'enable': 'true', 'created': '2026-06-18T13:06:23', 'last-modified': '2026-06-18T13:06:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.316223'} 2026-06-18 13:06:26,129 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-18 13:06:26,129 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18244927 passed 2026-06-18 13:06:26,129 - DEBUG - ====Verifying policy data for ctest-vn-18244927 in API_Server ====== 2026-06-18 13:06:26,129 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-18 13:06:26,148 - DEBUG - Requesting: http://10.0.0.50:8082/domain/96e5e975-a248-431e-b6ac-11917f385982 2026-06-18 13:06:26,191 - DEBUG - Requesting: http://10.0.0.50:8082/project/5a976503-7dd6-4429-8b1e-26526b353c07 2026-06-18 13:06:26,306 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/29cad6bc-a282-4a2c-ad60-d80049034ccd 2026-06-18 13:06:26,348 - DEBUG - ==>Verifying data for policy with id: 4f7f730d-215b-4b7c-9b36-b18b287f0544, fqn: ['default-domain', 'ctest-TestBasicPolicy-22122949', 'ctest-policy-allow-all-32492386'] 2026-06-18 13:06:26,348 - INFO - VN ctest-vn-18244927 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-18 13:06:26,348 - DEBUG - Verifying the vn in opserver 2026-06-18 13:06:26,348 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22122949:ctest-vn-18244927 virtual network link through opserver 10.0.0.50 2026-06-18 13:06:26,348 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-18 13:06:26,357 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22122949:ctest-vn-18244927', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22122949:ctest-vn-18244927?flat'} 2026-06-18 13:06:26,357 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22122949:ctest-vn-18244927 is found in opserver 2026-06-18 13:06:26,368 - DEBUG - Do not have enough data to verify VN in agent 2026-06-18 13:06:26,373 - DEBUG - VRF ids for VN ctest-vn-18244927: {} 2026-06-18 13:06:26,433 - DEBUG - Services list from nova: [, , ] 2026-06-18 13:06:27,529 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5984-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5984-1) 2026-06-18 13:06:28,545 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5984-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5984-1) 2026-06-18 13:06:28,545 - INFO - Waiting for VM ctest-TestBasicPolicy-22122949-41541927 to be up.. 2026-06-18 13:06:28,584 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 13:06:33,648 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 13:06:38,727 - DEBUG - VM is in ACTIVE state now 2026-06-18 13:06:38,728 - INFO - VM name : ctest-TestBasicPolicy-22122949-41541927 2026-06-18 13:06:38,795 - DEBUG - VM ctest-TestBasicPolicy-22122949-41541927 ID is d2061771-a9bf-442b-b371-94ffdf77e2db 2026-06-18 13:06:38,811 - DEBUG - VM ctest-TestBasicPolicy-22122949-41541927 launched on Node cn-jenkins-deploy-platform-ansible-os-5984-1 2026-06-18 13:06:38,871 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d2061771-a9bf-442b-b371-94ffdf77e2db 2026-06-18 13:06:38,878 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/47498edf-854a-4a50-a54a-e03e6a9c163d 2026-06-18 13:06:42,137 - 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 1028ms') 2026-06-18 13:06:42,137 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22122949-41541927 failed! 2026-06-18 13:06:42,191 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-22122949:ctest-vn-40755022 is 159.35.227.65 and allocation pool is NOT set 2026-06-18 13:06:44,249 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.522 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.522/1.797/3.073/1.275 ms') 2026-06-18 13:06:44,250 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22122949-41541927 passed 2026-06-18 13:06:44,399 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 13:06:44,399 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22122949-41541927, IP 159.35.227.67, Port 22 2026-06-18 13:06:44,554 - DEBUG - VM ctest-TestBasicPolicy-22122949-41541927 is ready for SSH connections 2026-06-18 13:06:44,554 - INFO - Waiting for VM ctest-TestBasicPolicy-22122949-17365870 to be up.. 2026-06-18 13:06:44,630 - DEBUG - VM is in ACTIVE state now 2026-06-18 13:06:44,630 - INFO - VM name : ctest-TestBasicPolicy-22122949-17365870 2026-06-18 13:06:44,697 - DEBUG - VM ctest-TestBasicPolicy-22122949-17365870 ID is 9a03d920-74e2-473c-ac00-8b482a11027d 2026-06-18 13:06:44,697 - DEBUG - VM ctest-TestBasicPolicy-22122949-17365870 launched on Node cn-jenkins-deploy-platform-ansible-os-5984-1 2026-06-18 13:06:44,760 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9a03d920-74e2-473c-ac00-8b482a11027d 2026-06-18 13:06:44,767 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/acf3638a-542c-45c3-878b-78d044856a4b 2026-06-18 13:06:45,998 - 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=6.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.361 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.361/3.519/6.677/3.158 ms') 2026-06-18 13:06:45,998 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-22122949-17365870 passed 2026-06-18 13:06:46,147 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 13:06:46,147 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22122949-17365870, IP 172.54.76.3, Port 22 2026-06-18 13:06:46,302 - DEBUG - VM ctest-TestBasicPolicy-22122949-17365870 is ready for SSH connections 2026-06-18 13:06:46,302 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 13:06:46,302 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.54.76.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-18 13:06:46,302 - DEBUG - ping -s 56 -c 3 -W 1 172.54.76.3 2026-06-18 13:06:50,153 - DEBUG - PING 172.54.76.3 (172.54.76.3): 56 data bytes 64 bytes from 172.54.76.3: seq=0 ttl=63 time=3.214 ms 64 bytes from 172.54.76.3: seq=1 ttl=63 time=0.772 ms 64 bytes from 172.54.76.3: seq=2 ttl=63 time=0.869 ms --- 172.54.76.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.772/1.618/3.214 ms 2026-06-18 13:06:50,153 - INFO - Ping to IP 172.54.76.3 from VM ctest-TestBasicPolicy-22122949-41541927 passed 2026-06-18 13:06:50,331 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4f7f730d-215b-4b7c-9b36-b18b287f0544", "href": "http://10.0.0.50:8082/network-policy/4f7f730d-215b-4b7c-9b36-b18b287f0544"}} 2026-06-18 13:06:50,331 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 13:06:50,331 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.54.76.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-18 13:06:50,331 - DEBUG - ping -s 56 -c 3 -W 1 172.54.76.3 2026-06-18 13:06:53,442 - DEBUG - PING 172.54.76.3 (172.54.76.3): 56 data bytes --- 172.54.76.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-18 13:06:53,442 - WARNING - Ping to IP 172.54.76.3 from VM ctest-TestBasicPolicy-22122949-41541927 failed 2026-06-18 13:06:53,442 - INFO - Deleting VM ctest-TestBasicPolicy-22122949-17365870 2026-06-18 13:06:53,504 - INFO - Deleting VM ctest-TestBasicPolicy-22122949-41541927 2026-06-18 13:06:53,790 - INFO - Deleted policy ctest-policy-allow-all-32492386 2026-06-18 13:06:53,790 - INFO - Deleting VN ctest-vn-18244927 2026-06-18 13:06:53,815 - DEBUG - VN 29cad6bc-a282-4a2c-ad60-d80049034ccd still in use: Unable to complete operation on network 29cad6bc-a282-4a2c-ad60-d80049034ccd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4476b9c9-0109-423f-9f66-2dbdfe6c5f00'] 2026-06-18 13:06:53,815 - WARNING - Deleting VN ctest-vn-18244927 failed..Will retry 2026-06-18 13:06:55,900 - DEBUG - Response for deleting network () 2026-06-18 13:06:55,900 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4f9dc1a9-fc19-4c72-a4c5-8ddf143fa8f4 2026-06-18 13:06:55,905 - DEBUG - Response Code: 404 2026-06-18 13:06:55,905 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-18 13:06:55,911 - DEBUG - Requesting: http://10.0.0.50:8082/domain/96e5e975-a248-431e-b6ac-11917f385982 2026-06-18 13:06:55,964 - DEBUG - Requesting: http://10.0.0.50:8082/project/5a976503-7dd6-4429-8b1e-26526b353c07 2026-06-18 13:06:56,040 - INFO - Validated that VN ctest-vn-18244927 is not found in API Server 2026-06-18 13:06:56,051 - DEBUG - VN ctest-vn-18244927 is not present in Agent 10.0.0.50 2026-06-18 13:06:56,051 - INFO - Validated that VN ctest-vn-18244927 is not in any agent 2026-06-18 13:06:56,066 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18244927 info 2026-06-18 13:06:56,066 - INFO - Deleting VN ctest-vn-40755022 2026-06-18 13:06:56,157 - DEBUG - Response for deleting network () 2026-06-18 13:06:56,157 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/892c0547-cf22-4e85-b058-59348672f59b 2026-06-18 13:06:56,164 - DEBUG - Response Code: 404 2026-06-18 13:06:56,165 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-18 13:06:56,169 - DEBUG - Requesting: http://10.0.0.50:8082/domain/96e5e975-a248-431e-b6ac-11917f385982 2026-06-18 13:06:56,223 - DEBUG - Requesting: http://10.0.0.50:8082/project/5a976503-7dd6-4429-8b1e-26526b353c07 2026-06-18 13:06:56,289 - INFO - Validated that VN ctest-vn-40755022 is not found in API Server 2026-06-18 13:06:56,297 - DEBUG - VN ctest-vn-40755022 is not present in Agent 10.0.0.50 2026-06-18 13:06:56,297 - INFO - Validated that VN ctest-vn-40755022 is not in any agent 2026-06-18 13:06:56,312 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40755022 info 2026-06-18 13:06:56,563 - DEBUG - No XMPP flaps were noticed during the test
2026-06-18 13:06:56,564 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34]
2026-06-18 13:06:56,564 - INFO - -------------------------------------------------------------------------------- 2026-06-18 13:06:57,249 - INFO - Deleted project: ctest-TestBasicPolicy-22122949, ID : 5a976503-7dd6-4429-8b1e-26526b353c07