2026-04-29 18:02:44,239 - INFO - Domain Default found not creating 2026-04-29 18:02:44,471 - INFO - Project ctest-TestBasicPolicy-36140926 not found, creating it 2026-04-29 18:02:44,997 - INFO - Created Project:ctest-TestBasicPolicy-36140926, ID : c38f77d7-d2ac-4274-ad0d-973887ff55fe 2026-04-29 18:02:46,618 - INFO - ================================================================================ 2026-04-29 18:02:46,619 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-29 18:02:46,619 - 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-04-29 18:02:46,894 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2026-04-29 18:02:46,894 - INFO - Initial checks done. Running the testcase now 2026-04-29 18:02:46,894 - INFO - 2026-04-29 18:02:47,519 - DEBUG - Response for create_network : {'network': {'id': 'd1ab1e77-7761-44f7-8773-3df8e915bc29', 'name': 'ctest-vn-87800475', 'tenant_id': 'c38f77d7d2ac4274ad0d973887ff55fe', 'project_id': 'c38f77d7d2ac4274ad0d973887ff55fe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36140926', 'ctest-vn-87800475'], 'port_security_enabled': True, 'description': ''}} 2026-04-29 18:02:47,698 - DEBUG - Response for create_subnet : {'subnet': {'id': '4be88be3-c04d-4e6d-8c8a-a19e460781ad', 'name': '', 'tenant_id': 'c38f77d7d2ac4274ad0d973887ff55fe', 'network_id': 'd1ab1e77-7761-44f7-8773-3df8e915bc29', 'ip_version': 4, 'cidr': '196.188.43.0/26', 'allocation_pools': [{'start': '196.188.43.2', 'end': '196.188.43.62'}], 'gateway_ip': '196.188.43.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.188.43.2', 'tags': [], 'project_id': 'c38f77d7d2ac4274ad0d973887ff55fe'}} 2026-04-29 18:02:47,725 - INFO - Created VN ctest-vn-87800475 2026-04-29 18:02:47,781 - DEBUG - VN ctest-vn-87800475 UUID is d1ab1e77-7761-44f7-8773-3df8e915bc29 2026-04-29 18:02:48,127 - DEBUG - Response for create_network : {'network': {'id': '161b39fc-ac06-4240-8776-4c5e1faab202', 'name': 'ctest-vn-56754757', 'tenant_id': 'c38f77d7d2ac4274ad0d973887ff55fe', 'project_id': 'c38f77d7d2ac4274ad0d973887ff55fe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36140926', 'ctest-vn-56754757'], 'port_security_enabled': True, 'description': ''}} 2026-04-29 18:02:48,286 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e19623e-cf94-4af9-b6de-9e8f363f47f5', 'name': '', 'tenant_id': 'c38f77d7d2ac4274ad0d973887ff55fe', 'network_id': '161b39fc-ac06-4240-8776-4c5e1faab202', 'ip_version': 4, 'cidr': '129.253.127.64/26', 'allocation_pools': [{'start': '129.253.127.66', 'end': '129.253.127.126'}], 'gateway_ip': '129.253.127.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.253.127.66', 'tags': [], 'project_id': 'c38f77d7d2ac4274ad0d973887ff55fe'}} 2026-04-29 18:02:48,306 - INFO - Created VN ctest-vn-56754757 2026-04-29 18:02:48,357 - DEBUG - VN ctest-vn-56754757 UUID is 161b39fc-ac06-4240-8776-4c5e1faab202 2026-04-29 18:02:48,485 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-36140926:ctest-vn-87800475, 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-36140926:ctest-vn-56754757, 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-04-29 18:02:48,802 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd1ab1e77-7761-44f7-8773-3df8e915bc29', 'name': 'ctest-vn-87800475', 'tenant_id': 'c38f77d7d2ac4274ad0d973887ff55fe', 'project_id': 'c38f77d7d2ac4274ad0d973887ff55fe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4be88be3-c04d-4e6d-8c8a-a19e460781ad'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36140926', 'ctest-vn-87800475'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36140926', 'ctest-policy-allow-all-11868587']], 'subnet_ipam': [{'subnet_cidr': '196.188.43.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-29 18:02:49,010 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '161b39fc-ac06-4240-8776-4c5e1faab202', 'name': 'ctest-vn-56754757', 'tenant_id': 'c38f77d7d2ac4274ad0d973887ff55fe', 'project_id': 'c38f77d7d2ac4274ad0d973887ff55fe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7e19623e-cf94-4af9-b6de-9e8f363f47f5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36140926', 'ctest-vn-56754757'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36140926', 'ctest-policy-allow-all-11868587']], 'subnet_ipam': [{'subnet_cidr': '129.253.127.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-29 18:02:49,177 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-29 18:02:49,487 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-29 18:02:49,533 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a5885fdb-1bdc-45fc-8384-627111b525ac 2026-04-29 18:02:49,550 - DEBUG - Requesting: http://10.0.0.249:8082/project/c38f77d7-d2ac-4274-ad0d-973887ff55fe 2026-04-29 18:02:49,631 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d1ab1e77-7761-44f7-8773-3df8e915bc29 2026-04-29 18:02:49,644 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d1ab1e77-7761-44f7-8773-3df8e915bc29 2026-04-29 18:02:49,654 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/6b48fa26-8da3-4ace-8063-b2e92ffed76e 2026-04-29 18:02:49,664 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/6b48fa26-8da3-4ace-8063-b2e92ffed76e 2026-04-29 18:02:49,672 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/48cbd105-2b09-4d6a-b418-d84e5a170607 2026-04-29 18:02:49,681 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-29 18:02:49,681 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d1ab1e77-7761-44f7-8773-3df8e915bc29 2026-04-29 18:02:49,692 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/6b48fa26-8da3-4ace-8063-b2e92ffed76e 2026-04-29 18:02:49,711 - INFO - Verified VN network id 11 for VN d1ab1e77-7761-44f7-8773-3df8e915bc29 2026-04-29 18:02:49,711 - INFO - Verifications in API Server for VN ctest-vn-87800475 passed 2026-04-29 18:02:49,712 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d1ab1e77-7761-44f7-8773-3df8e915bc29 2026-04-29 18:02:49,724 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/6b48fa26-8da3-4ace-8063-b2e92ffed76e 2026-04-29 18:02:49,734 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/6b48fa26-8da3-4ace-8063-b2e92ffed76e 2026-04-29 18:02:49,746 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/48cbd105-2b09-4d6a-b418-d84e5a170607 2026-04-29 18:02:49,759 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36140926:ctest-vn-87800475', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36140926', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15108202873397265655', 'uuid-lslong': '9760212956713696297'}, 'enable': 'true', 'created': '2026-04-29T18:02:47', 'last-modified': '2026-04-29T18:02:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.982593'} 2026-04-29 18:02:49,767 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-29 18:02:49,767 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87800475 passed 2026-04-29 18:02:49,767 - DEBUG - ====Verifying policy data for ctest-vn-87800475 in API_Server ====== 2026-04-29 18:02:49,768 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-29 18:02:49,775 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a5885fdb-1bdc-45fc-8384-627111b525ac 2026-04-29 18:02:49,789 - DEBUG - Requesting: http://10.0.0.249:8082/project/c38f77d7-d2ac-4274-ad0d-973887ff55fe 2026-04-29 18:02:49,867 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d1ab1e77-7761-44f7-8773-3df8e915bc29 2026-04-29 18:02:49,881 - DEBUG - ==>Verifying data for policy with id: de05aa18-9781-4178-9740-d18bb2c61558, fqn: ['default-domain', 'ctest-TestBasicPolicy-36140926', 'ctest-policy-allow-all-11868587'] 2026-04-29 18:02:49,881 - INFO - VN ctest-vn-87800475 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-29 18:02:49,881 - DEBUG - Verifying the vn in opserver 2026-04-29 18:02:49,881 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36140926:ctest-vn-87800475 virtual network link through opserver 10.0.0.249 2026-04-29 18:02:49,881 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-04-29 18:02:50,183 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-04-29 18:02:50,263 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36140926:ctest-vn-87800475', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36140926:ctest-vn-87800475?flat'} 2026-04-29 18:02:50,263 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36140926:ctest-vn-87800475 is found in opserver 2026-04-29 18:02:50,274 - DEBUG - Do not have enough data to verify VN in agent 2026-04-29 18:02:50,280 - DEBUG - VRF ids for VN ctest-vn-87800475: {} 2026-04-29 18:02:50,280 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-29 18:02:50,286 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a5885fdb-1bdc-45fc-8384-627111b525ac 2026-04-29 18:02:50,299 - DEBUG - Requesting: http://10.0.0.249:8082/project/c38f77d7-d2ac-4274-ad0d-973887ff55fe 2026-04-29 18:02:50,372 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/161b39fc-ac06-4240-8776-4c5e1faab202 2026-04-29 18:02:50,395 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/161b39fc-ac06-4240-8776-4c5e1faab202 2026-04-29 18:02:50,406 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c1619caf-e2d4-4cbd-a90f-10b0363e37c8 2026-04-29 18:02:50,415 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c1619caf-e2d4-4cbd-a90f-10b0363e37c8 2026-04-29 18:02:50,426 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/a24bd3be-f7bc-4310-be86-d5140e1415d8 2026-04-29 18:02:50,434 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-29 18:02:50,434 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/161b39fc-ac06-4240-8776-4c5e1faab202 2026-04-29 18:02:50,444 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c1619caf-e2d4-4cbd-a90f-10b0363e37c8 2026-04-29 18:02:50,461 - INFO - Verified VN network id 12 for VN 161b39fc-ac06-4240-8776-4c5e1faab202 2026-04-29 18:02:50,462 - INFO - Verifications in API Server for VN ctest-vn-56754757 passed 2026-04-29 18:02:50,462 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/161b39fc-ac06-4240-8776-4c5e1faab202 2026-04-29 18:02:50,476 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c1619caf-e2d4-4cbd-a90f-10b0363e37c8 2026-04-29 18:02:50,485 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c1619caf-e2d4-4cbd-a90f-10b0363e37c8 2026-04-29 18:02:50,493 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/a24bd3be-f7bc-4310-be86-d5140e1415d8 2026-04-29 18:02:50,509 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36140926:ctest-vn-56754757', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36140926', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1592930650586235456', 'uuid-lslong': '9761073209514045954'}, 'enable': 'true', 'created': '2026-04-29T18:02:48', 'last-modified': '2026-04-29T18:02:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.523119'} 2026-04-29 18:02:50,516 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-29 18:02:50,516 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56754757 passed 2026-04-29 18:02:50,516 - DEBUG - ====Verifying policy data for ctest-vn-56754757 in API_Server ====== 2026-04-29 18:02:50,516 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-29 18:02:50,522 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a5885fdb-1bdc-45fc-8384-627111b525ac 2026-04-29 18:02:50,536 - DEBUG - Requesting: http://10.0.0.249:8082/project/c38f77d7-d2ac-4274-ad0d-973887ff55fe 2026-04-29 18:02:50,617 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/161b39fc-ac06-4240-8776-4c5e1faab202 2026-04-29 18:02:50,628 - DEBUG - ==>Verifying data for policy with id: de05aa18-9781-4178-9740-d18bb2c61558, fqn: ['default-domain', 'ctest-TestBasicPolicy-36140926', 'ctest-policy-allow-all-11868587'] 2026-04-29 18:02:50,628 - INFO - VN ctest-vn-56754757 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-29 18:02:50,628 - DEBUG - Verifying the vn in opserver 2026-04-29 18:02:50,628 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36140926:ctest-vn-56754757 virtual network link through opserver 10.0.0.249 2026-04-29 18:02:50,628 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-04-29 18:02:50,641 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36140926:ctest-vn-56754757', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36140926:ctest-vn-56754757?flat'} 2026-04-29 18:02:50,642 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36140926:ctest-vn-56754757 is found in opserver 2026-04-29 18:02:50,653 - DEBUG - Do not have enough data to verify VN in agent 2026-04-29 18:02:50,660 - DEBUG - VRF ids for VN ctest-vn-56754757: {} 2026-04-29 18:02:50,746 - DEBUG - Services list from nova: [, , ] 2026-04-29 18:02:51,919 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5712-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5712-1) 2026-04-29 18:02:53,235 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5712-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5712-1) 2026-04-29 18:02:53,235 - INFO - Waiting for VM ctest-TestBasicPolicy-36140926-47548147 to be up.. 2026-04-29 18:02:53,331 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-29 18:02:58,428 - DEBUG - VM is in ACTIVE state now 2026-04-29 18:02:58,428 - INFO - VM name : ctest-TestBasicPolicy-36140926-47548147 2026-04-29 18:02:58,531 - DEBUG - VM ctest-TestBasicPolicy-36140926-47548147 ID is 92a7ce80-8ffb-40fd-bf1e-c75699e05efe 2026-04-29 18:02:58,560 - DEBUG - VM ctest-TestBasicPolicy-36140926-47548147 launched on Node cn-jenkins-deploy-platform-ansible-os-5712-1 2026-04-29 18:02:58,665 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/92a7ce80-8ffb-40fd-bf1e-c75699e05efe 2026-04-29 18:02:58,675 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/fc4fff10-ed1e-468c-b151-5143338e4167 2026-04-29 18:03:01,928 - 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 1021ms') 2026-04-29 18:03:01,928 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36140926-47548147 failed! 2026-04-29 18:03:01,990 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36140926:ctest-vn-87800475 is 196.188.43.1 and allocation pool is NOT set 2026-04-29 18:03:06,079 - 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=2 ttl=63 time=5.17 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1025ms\r\nrtt min/avg/max/mdev = 5.168/5.168/5.168/0.000 ms') 2026-04-29 18:03:06,079 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36140926-47548147 passed 2026-04-29 18:03:06,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 18:03:06,234 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36140926-47548147, IP 196.188.43.3, Port 22 2026-04-29 18:03:06,403 - DEBUG - VM ctest-TestBasicPolicy-36140926-47548147 is ready for SSH connections 2026-04-29 18:03:06,404 - INFO - Waiting for VM ctest-TestBasicPolicy-36140926-89434333 to be up.. 2026-04-29 18:03:06,505 - DEBUG - VM is in ACTIVE state now 2026-04-29 18:03:06,505 - INFO - VM name : ctest-TestBasicPolicy-36140926-89434333 2026-04-29 18:03:06,605 - DEBUG - VM ctest-TestBasicPolicy-36140926-89434333 ID is 39a30c4d-5585-4c97-aed6-f47a123b8952 2026-04-29 18:03:06,606 - DEBUG - VM ctest-TestBasicPolicy-36140926-89434333 launched on Node cn-jenkins-deploy-platform-ansible-os-5712-1 2026-04-29 18:03:06,717 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/39a30c4d-5585-4c97-aed6-f47a123b8952 2026-04-29 18:03:06,731 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/1df5b923-41a8-491d-b375-85dbe35bdf05 2026-04-29 18:03:07,991 - 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=4.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.03 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 = 1.028/2.744/4.460/1.716 ms') 2026-04-29 18:03:07,991 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-36140926-89434333 passed 2026-04-29 18:03:08,149 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 18:03:08,149 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36140926-89434333, IP 129.253.127.67, Port 22 2026-04-29 18:03:08,306 - DEBUG - VM ctest-TestBasicPolicy-36140926-89434333 is ready for SSH connections 2026-04-29 18:03:08,306 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 18:03:08,306 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 129.253.127.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-04-29 18:03:08,306 - DEBUG - ping -s 56 -c 3 -W 1 129.253.127.67 2026-04-29 18:03:12,464 - DEBUG - PING 129.253.127.67 (129.253.127.67): 56 data bytes 64 bytes from 129.253.127.67: seq=0 ttl=63 time=3.631 ms 64 bytes from 129.253.127.67: seq=1 ttl=63 time=1.244 ms 64 bytes from 129.253.127.67: seq=2 ttl=63 time=1.238 ms --- 129.253.127.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.238/2.037/3.631 ms 2026-04-29 18:03:12,464 - INFO - Ping to IP 129.253.127.67 from VM ctest-TestBasicPolicy-36140926-47548147 passed 2026-04-29 18:03:12,645 - DEBUG - Policy Update Response {"network-policy": {"uuid": "de05aa18-9781-4178-9740-d18bb2c61558", "href": "http://10.0.0.249:8082/network-policy/de05aa18-9781-4178-9740-d18bb2c61558"}} 2026-04-29 18:03:12,645 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 18:03:12,645 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 129.253.127.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-04-29 18:03:12,645 - DEBUG - ping -s 56 -c 3 -W 1 129.253.127.67 2026-04-29 18:03:15,908 - DEBUG - PING 129.253.127.67 (129.253.127.67): 56 data bytes --- 129.253.127.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-29 18:03:15,908 - WARNING - Ping to IP 129.253.127.67 from VM ctest-TestBasicPolicy-36140926-47548147 failed 2026-04-29 18:03:15,908 - INFO - Deleting VM ctest-TestBasicPolicy-36140926-89434333 2026-04-29 18:03:16,010 - INFO - Deleting VM ctest-TestBasicPolicy-36140926-47548147 2026-04-29 18:03:16,506 - INFO - Deleted policy ctest-policy-allow-all-11868587 2026-04-29 18:03:16,506 - INFO - Deleting VN ctest-vn-56754757 2026-04-29 18:03:16,564 - DEBUG - VN 161b39fc-ac06-4240-8776-4c5e1faab202 still in use: Unable to complete operation on network 161b39fc-ac06-4240-8776-4c5e1faab202. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9cf8952a-2978-4896-a495-28565a823f16'] 2026-04-29 18:03:16,565 - WARNING - Deleting VN ctest-vn-56754757 failed..Will retry 2026-04-29 18:03:18,691 - DEBUG - Response for deleting network () 2026-04-29 18:03:18,691 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c1619caf-e2d4-4cbd-a90f-10b0363e37c8 2026-04-29 18:03:18,699 - DEBUG - Response Code: 404 2026-04-29 18:03:18,699 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-29 18:03:18,709 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a5885fdb-1bdc-45fc-8384-627111b525ac 2026-04-29 18:03:18,764 - DEBUG - Requesting: http://10.0.0.249:8082/project/c38f77d7-d2ac-4274-ad0d-973887ff55fe 2026-04-29 18:03:18,841 - INFO - Validated that VN ctest-vn-56754757 is not found in API Server 2026-04-29 18:03:18,853 - DEBUG - VN ctest-vn-56754757 is not present in Agent 10.0.0.249 2026-04-29 18:03:18,854 - INFO - Validated that VN ctest-vn-56754757 is not in any agent 2026-04-29 18:03:18,872 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56754757 info 2026-04-29 18:03:18,873 - INFO - Deleting VN ctest-vn-87800475 2026-04-29 18:03:19,036 - DEBUG - Response for deleting network () 2026-04-29 18:03:19,036 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/6b48fa26-8da3-4ace-8063-b2e92ffed76e 2026-04-29 18:03:19,049 - DEBUG - Response Code: 404 2026-04-29 18:03:19,050 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-29 18:03:19,057 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a5885fdb-1bdc-45fc-8384-627111b525ac 2026-04-29 18:03:19,116 - DEBUG - Requesting: http://10.0.0.249:8082/project/c38f77d7-d2ac-4274-ad0d-973887ff55fe 2026-04-29 18:03:19,194 - INFO - Validated that VN ctest-vn-87800475 is not found in API Server 2026-04-29 18:03:19,207 - DEBUG - VN ctest-vn-87800475 is not present in Agent 10.0.0.249 2026-04-29 18:03:19,207 - INFO - Validated that VN ctest-vn-87800475 is not in any agent 2026-04-29 18:03:19,229 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87800475 info 2026-04-29 18:03:19,501 - DEBUG - No XMPP flaps were noticed during the test 2026-04-29 18:03:19,502 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:33] 2026-04-29 18:03:19,502 - INFO - -------------------------------------------------------------------------------- 2026-04-29 18:03:20,274 - INFO - Deleted project: ctest-TestBasicPolicy-36140926, ID : c38f77d7-d2ac-4274-ad0d-973887ff55fe