2026-03-13 16:58:58,281 - INFO - Domain Default found not creating 2026-03-13 16:58:58,489 - INFO - Project ctest-TestBasicPolicy-46973285 not found, creating it 2026-03-13 16:58:59,000 - INFO - Created Project:ctest-TestBasicPolicy-46973285, ID : 4976fe37-8ac7-4661-b7e4-368d77ac130d 2026-03-13 16:59:00,711 - INFO - ================================================================================ 2026-03-13 16:59:00,711 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-13 16:59:00,711 - 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-13 16:59:00,982 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2026-03-13 16:59:00,982 - INFO - Initial checks done. Running the testcase now 2026-03-13 16:59:00,983 - INFO - 2026-03-13 16:59:01,614 - DEBUG - Response for create_network : {'network': {'id': '79e4e5ad-c9d0-4308-970a-1c58294eea3a', 'name': 'ctest-vn-36511054', 'tenant_id': '4976fe378ac74661b7e4368d77ac130d', 'project_id': '4976fe378ac74661b7e4368d77ac130d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46973285', 'ctest-vn-36511054'], 'port_security_enabled': True, 'description': ''}} 2026-03-13 16:59:01,851 - DEBUG - Response for create_subnet : {'subnet': {'id': '20e478e6-f8e7-4de9-b3f5-8cf6ff61f276', 'name': '', 'tenant_id': '4976fe378ac74661b7e4368d77ac130d', 'network_id': '79e4e5ad-c9d0-4308-970a-1c58294eea3a', 'ip_version': 4, 'cidr': '132.179.97.128/26', 'allocation_pools': [{'start': '132.179.97.130', 'end': '132.179.97.190'}], 'gateway_ip': '132.179.97.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.179.97.130', 'tags': [], 'project_id': '4976fe378ac74661b7e4368d77ac130d'}} 2026-03-13 16:59:01,873 - INFO - Created VN ctest-vn-36511054 2026-03-13 16:59:01,928 - DEBUG - VN ctest-vn-36511054 UUID is 79e4e5ad-c9d0-4308-970a-1c58294eea3a 2026-03-13 16:59:02,253 - DEBUG - Response for create_network : {'network': {'id': '47099973-852e-4721-a7eb-ad3b9299b484', 'name': 'ctest-vn-61005728', 'tenant_id': '4976fe378ac74661b7e4368d77ac130d', 'project_id': '4976fe378ac74661b7e4368d77ac130d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46973285', 'ctest-vn-61005728'], 'port_security_enabled': True, 'description': ''}} 2026-03-13 16:59:02,427 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b657c50-cf53-4712-863a-26d4ae00e882', 'name': '', 'tenant_id': '4976fe378ac74661b7e4368d77ac130d', 'network_id': '47099973-852e-4721-a7eb-ad3b9299b484', 'ip_version': 4, 'cidr': '223.110.165.0/26', 'allocation_pools': [{'start': '223.110.165.2', 'end': '223.110.165.62'}], 'gateway_ip': '223.110.165.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.110.165.2', 'tags': [], 'project_id': '4976fe378ac74661b7e4368d77ac130d'}} 2026-03-13 16:59:02,449 - INFO - Created VN ctest-vn-61005728 2026-03-13 16:59:02,504 - DEBUG - VN ctest-vn-61005728 UUID is 47099973-852e-4721-a7eb-ad3b9299b484 2026-03-13 16:59:02,622 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-46973285:ctest-vn-36511054, 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-46973285:ctest-vn-61005728, 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-13 16:59:02,928 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '79e4e5ad-c9d0-4308-970a-1c58294eea3a', 'name': 'ctest-vn-36511054', 'tenant_id': '4976fe378ac74661b7e4368d77ac130d', 'project_id': '4976fe378ac74661b7e4368d77ac130d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['20e478e6-f8e7-4de9-b3f5-8cf6ff61f276'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46973285', 'ctest-vn-36511054'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46973285', 'ctest-policy-allow-all-51666423']], 'subnet_ipam': [{'subnet_cidr': '132.179.97.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-13 16:59:03,185 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '47099973-852e-4721-a7eb-ad3b9299b484', 'name': 'ctest-vn-61005728', 'tenant_id': '4976fe378ac74661b7e4368d77ac130d', 'project_id': '4976fe378ac74661b7e4368d77ac130d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3b657c50-cf53-4712-863a-26d4ae00e882'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46973285', 'ctest-vn-61005728'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46973285', 'ctest-policy-allow-all-51666423']], 'subnet_ipam': [{'subnet_cidr': '223.110.165.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-13 16:59:03,316 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-13 16:59:03,651 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-13 16:59:03,691 - DEBUG - Requesting: http://10.0.0.249:8082/domain/d29060aa-f28b-49a6-91a7-56c7bf313547 2026-03-13 16:59:03,740 - DEBUG - Requesting: http://10.0.0.249:8082/project/4976fe37-8ac7-4661-b7e4-368d77ac130d 2026-03-13 16:59:03,820 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/79e4e5ad-c9d0-4308-970a-1c58294eea3a 2026-03-13 16:59:03,831 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/79e4e5ad-c9d0-4308-970a-1c58294eea3a 2026-03-13 16:59:03,840 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/51f5f1ea-a9c5-42d5-8438-2c02e3abcf6f 2026-03-13 16:59:03,848 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/51f5f1ea-a9c5-42d5-8438-2c02e3abcf6f 2026-03-13 16:59:03,855 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/7be2a7c4-30d8-43ba-af0e-098c09b5a283 2026-03-13 16:59:03,862 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-13 16:59:03,862 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/79e4e5ad-c9d0-4308-970a-1c58294eea3a 2026-03-13 16:59:03,871 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/51f5f1ea-a9c5-42d5-8438-2c02e3abcf6f 2026-03-13 16:59:03,886 - INFO - Verified VN network id 11 for VN 79e4e5ad-c9d0-4308-970a-1c58294eea3a 2026-03-13 16:59:03,886 - INFO - Verifications in API Server for VN ctest-vn-36511054 passed 2026-03-13 16:59:03,886 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/79e4e5ad-c9d0-4308-970a-1c58294eea3a 2026-03-13 16:59:03,895 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/51f5f1ea-a9c5-42d5-8438-2c02e3abcf6f 2026-03-13 16:59:03,902 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/51f5f1ea-a9c5-42d5-8438-2c02e3abcf6f 2026-03-13 16:59:03,909 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/7be2a7c4-30d8-43ba-af0e-098c09b5a283 2026-03-13 16:59:03,923 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46973285:ctest-vn-36511054', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46973285', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8783397707857281800', 'uuid-lslong': '10883542614469962298'}, 'enable': 'true', 'created': '2026-03-13T16:59:01', 'last-modified': '2026-03-13T16:59:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.015083'} 2026-03-13 16:59:03,931 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-13 16:59:03,931 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36511054 passed 2026-03-13 16:59:03,931 - DEBUG - ====Verifying policy data for ctest-vn-36511054 in API_Server ====== 2026-03-13 16:59:03,931 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-13 16:59:03,937 - DEBUG - Requesting: http://10.0.0.249:8082/domain/d29060aa-f28b-49a6-91a7-56c7bf313547 2026-03-13 16:59:03,948 - DEBUG - Requesting: http://10.0.0.249:8082/project/4976fe37-8ac7-4661-b7e4-368d77ac130d 2026-03-13 16:59:04,023 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/79e4e5ad-c9d0-4308-970a-1c58294eea3a 2026-03-13 16:59:04,035 - DEBUG - ==>Verifying data for policy with id: 3cf545eb-a0d6-4396-adb1-a66e65a3df02, fqn: ['default-domain', 'ctest-TestBasicPolicy-46973285', 'ctest-policy-allow-all-51666423'] 2026-03-13 16:59:04,035 - INFO - VN ctest-vn-36511054 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-13 16:59:04,036 - DEBUG - Verifying the vn in opserver 2026-03-13 16:59:04,036 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46973285:ctest-vn-36511054 virtual network link through opserver 10.0.0.249 2026-03-13 16:59:04,036 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-03-13 16:59:04,353 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-03-13 16:59:04,430 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46973285:ctest-vn-36511054', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46973285:ctest-vn-36511054?flat'} 2026-03-13 16:59:04,430 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46973285:ctest-vn-36511054 is found in opserver 2026-03-13 16:59:04,444 - DEBUG - Do not have enough data to verify VN in agent 2026-03-13 16:59:04,450 - DEBUG - VRF ids for VN ctest-vn-36511054: {} 2026-03-13 16:59:04,450 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-13 16:59:04,457 - DEBUG - Requesting: http://10.0.0.249:8082/domain/d29060aa-f28b-49a6-91a7-56c7bf313547 2026-03-13 16:59:04,471 - DEBUG - Requesting: http://10.0.0.249:8082/project/4976fe37-8ac7-4661-b7e4-368d77ac130d 2026-03-13 16:59:04,546 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/47099973-852e-4721-a7eb-ad3b9299b484 2026-03-13 16:59:04,559 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/47099973-852e-4721-a7eb-ad3b9299b484 2026-03-13 16:59:04,569 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e243f008-ae6a-4011-a8f9-361a3da905b9 2026-03-13 16:59:04,577 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e243f008-ae6a-4011-a8f9-361a3da905b9 2026-03-13 16:59:04,584 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/b4d51e31-0c77-41f6-9ac7-26f904d8aacc 2026-03-13 16:59:04,591 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-13 16:59:04,591 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/47099973-852e-4721-a7eb-ad3b9299b484 2026-03-13 16:59:04,603 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e243f008-ae6a-4011-a8f9-361a3da905b9 2026-03-13 16:59:04,618 - INFO - Verified VN network id 12 for VN 47099973-852e-4721-a7eb-ad3b9299b484 2026-03-13 16:59:04,618 - INFO - Verifications in API Server for VN ctest-vn-61005728 passed 2026-03-13 16:59:04,618 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/47099973-852e-4721-a7eb-ad3b9299b484 2026-03-13 16:59:04,629 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e243f008-ae6a-4011-a8f9-361a3da905b9 2026-03-13 16:59:04,636 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e243f008-ae6a-4011-a8f9-361a3da905b9 2026-03-13 16:59:04,646 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/b4d51e31-0c77-41f6-9ac7-26f904d8aacc 2026-03-13 16:59:04,660 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46973285:ctest-vn-61005728', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46973285', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5118791172917970721', 'uuid-lslong': '12099955295235191940'}, 'enable': 'true', 'created': '2026-03-13T16:59:02', 'last-modified': '2026-03-13T16:59:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.510765'} 2026-03-13 16:59:04,667 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-13 16:59:04,667 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61005728 passed 2026-03-13 16:59:04,668 - DEBUG - ====Verifying policy data for ctest-vn-61005728 in API_Server ====== 2026-03-13 16:59:04,668 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-13 16:59:04,677 - DEBUG - Requesting: http://10.0.0.249:8082/domain/d29060aa-f28b-49a6-91a7-56c7bf313547 2026-03-13 16:59:04,689 - DEBUG - Requesting: http://10.0.0.249:8082/project/4976fe37-8ac7-4661-b7e4-368d77ac130d 2026-03-13 16:59:04,762 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/47099973-852e-4721-a7eb-ad3b9299b484 2026-03-13 16:59:04,772 - DEBUG - ==>Verifying data for policy with id: 3cf545eb-a0d6-4396-adb1-a66e65a3df02, fqn: ['default-domain', 'ctest-TestBasicPolicy-46973285', 'ctest-policy-allow-all-51666423'] 2026-03-13 16:59:04,772 - INFO - VN ctest-vn-61005728 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-13 16:59:04,772 - DEBUG - Verifying the vn in opserver 2026-03-13 16:59:04,772 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46973285:ctest-vn-61005728 virtual network link through opserver 10.0.0.249 2026-03-13 16:59:04,773 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-03-13 16:59:04,782 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46973285:ctest-vn-61005728', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46973285:ctest-vn-61005728?flat'} 2026-03-13 16:59:04,782 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46973285:ctest-vn-61005728 is found in opserver 2026-03-13 16:59:04,791 - DEBUG - Do not have enough data to verify VN in agent 2026-03-13 16:59:04,796 - DEBUG - VRF ids for VN ctest-vn-61005728: {} 2026-03-13 16:59:04,857 - DEBUG - Services list from nova: [, , ] 2026-03-13 16:59:06,020 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5466-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5466-1) 2026-03-13 16:59:07,313 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5466-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5466-1) 2026-03-13 16:59:07,314 - INFO - Waiting for VM ctest-TestBasicPolicy-46973285-47607779 to be up.. 2026-03-13 16:59:07,414 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-13 16:59:12,565 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-13 16:59:17,678 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-13 16:59:22,775 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-13 16:59:27,861 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-13 16:59:32,956 - DEBUG - VM is in ACTIVE state now 2026-03-13 16:59:32,956 - INFO - VM name : ctest-TestBasicPolicy-46973285-47607779 2026-03-13 16:59:33,067 - DEBUG - VM ctest-TestBasicPolicy-46973285-47607779 ID is 98a1263e-a86d-49dd-b7f6-1ad19309ee93 2026-03-13 16:59:33,096 - DEBUG - VM ctest-TestBasicPolicy-46973285-47607779 launched on Node cn-jenkins-deploy-platform-ansible-os-5466-1 2026-03-13 16:59:33,188 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/98a1263e-a86d-49dd-b7f6-1ad19309ee93 2026-03-13 16:59:33,199 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/842f6518-c1b8-4b84-b228-5d62036412df 2026-03-13 16:59:36,479 - 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-03-13 16:59:36,479 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46973285-47607779 failed! 2026-03-13 16:59:36,540 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-46973285:ctest-vn-36511054 is 132.179.97.129 and allocation pool is NOT set 2026-03-13 16:59:38,609 - 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=5.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.663 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.663/3.179/5.696/2.516 ms') 2026-03-13 16:59:38,609 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46973285-47607779 passed 2026-03-13 16:59:38,772 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-13 16:59:38,772 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46973285-47607779, IP 132.179.97.131, Port 22 2026-03-13 16:59:38,932 - DEBUG - VM ctest-TestBasicPolicy-46973285-47607779 is ready for SSH connections 2026-03-13 16:59:38,932 - INFO - Waiting for VM ctest-TestBasicPolicy-46973285-45567559 to be up.. 2026-03-13 16:59:39,029 - DEBUG - VM is in ACTIVE state now 2026-03-13 16:59:39,029 - INFO - VM name : ctest-TestBasicPolicy-46973285-45567559 2026-03-13 16:59:39,125 - DEBUG - VM ctest-TestBasicPolicy-46973285-45567559 ID is 59cb6926-3246-4375-8514-ed4566f275c9 2026-03-13 16:59:39,125 - DEBUG - VM ctest-TestBasicPolicy-46973285-45567559 launched on Node cn-jenkins-deploy-platform-ansible-os-5466-1 2026-03-13 16:59:39,219 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/59cb6926-3246-4375-8514-ed4566f275c9 2026-03-13 16:59:39,229 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/e3a13a5f-2377-4523-a466-56a267d55621 2026-03-13 16:59:40,474 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.705 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.705/2.462/4.220/1.757 ms') 2026-03-13 16:59:40,474 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-46973285-45567559 passed 2026-03-13 16:59:40,632 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-13 16:59:40,632 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46973285-45567559, IP 223.110.165.3, Port 22 2026-03-13 16:59:40,791 - DEBUG - VM ctest-TestBasicPolicy-46973285-45567559 is ready for SSH connections 2026-03-13 16:59:40,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-13 16:59:40,792 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.110.165.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-03-13 16:59:40,792 - DEBUG - ping -s 56 -c 3 -W 1 223.110.165.3 2026-03-13 16:59:45,072 - DEBUG - PING 223.110.165.3 (223.110.165.3): 56 data bytes 64 bytes from 223.110.165.3: seq=0 ttl=63 time=4.072 ms 64 bytes from 223.110.165.3: seq=1 ttl=63 time=1.703 ms 64 bytes from 223.110.165.3: seq=2 ttl=63 time=1.104 ms --- 223.110.165.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.104/2.293/4.072 ms 2026-03-13 16:59:45,073 - INFO - Ping to IP 223.110.165.3 from VM ctest-TestBasicPolicy-46973285-47607779 passed 2026-03-13 16:59:45,272 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3cf545eb-a0d6-4396-adb1-a66e65a3df02", "href": "http://10.0.0.249:8082/network-policy/3cf545eb-a0d6-4396-adb1-a66e65a3df02"}} 2026-03-13 16:59:45,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-13 16:59:45,272 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.110.165.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-03-13 16:59:45,272 - DEBUG - ping -s 56 -c 3 -W 1 223.110.165.3 2026-03-13 16:59:48,520 - DEBUG - PING 223.110.165.3 (223.110.165.3): 56 data bytes --- 223.110.165.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-13 16:59:48,520 - WARNING - Ping to IP 223.110.165.3 from VM ctest-TestBasicPolicy-46973285-47607779 failed 2026-03-13 16:59:48,520 - INFO - Deleting VM ctest-TestBasicPolicy-46973285-45567559 2026-03-13 16:59:48,610 - INFO - Deleting VM ctest-TestBasicPolicy-46973285-47607779 2026-03-13 16:59:49,072 - INFO - Deleted policy ctest-policy-allow-all-51666423 2026-03-13 16:59:49,072 - INFO - Deleting VN ctest-vn-61005728 2026-03-13 16:59:49,115 - DEBUG - VN 47099973-852e-4721-a7eb-ad3b9299b484 still in use: Unable to complete operation on network 47099973-852e-4721-a7eb-ad3b9299b484. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-94aff707-7a51-4783-aae3-a9ad4b6ef3e7'] 2026-03-13 16:59:49,116 - WARNING - Deleting VN ctest-vn-61005728 failed..Will retry 2026-03-13 16:59:51,229 - DEBUG - Response for deleting network () 2026-03-13 16:59:51,229 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e243f008-ae6a-4011-a8f9-361a3da905b9 2026-03-13 16:59:51,237 - DEBUG - Response Code: 404 2026-03-13 16:59:51,237 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-13 16:59:51,244 - DEBUG - Requesting: http://10.0.0.249:8082/domain/d29060aa-f28b-49a6-91a7-56c7bf313547 2026-03-13 16:59:51,299 - DEBUG - Requesting: http://10.0.0.249:8082/project/4976fe37-8ac7-4661-b7e4-368d77ac130d 2026-03-13 16:59:51,378 - INFO - Validated that VN ctest-vn-61005728 is not found in API Server 2026-03-13 16:59:51,392 - DEBUG - VN ctest-vn-61005728 is not present in Agent 10.0.0.249 2026-03-13 16:59:51,392 - INFO - Validated that VN ctest-vn-61005728 is not in any agent 2026-03-13 16:59:51,408 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61005728 info 2026-03-13 16:59:51,408 - INFO - Deleting VN ctest-vn-36511054 2026-03-13 16:59:51,570 - DEBUG - Response for deleting network () 2026-03-13 16:59:51,570 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/51f5f1ea-a9c5-42d5-8438-2c02e3abcf6f 2026-03-13 16:59:51,577 - DEBUG - Response Code: 404 2026-03-13 16:59:51,577 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-13 16:59:51,582 - DEBUG - Requesting: http://10.0.0.249:8082/domain/d29060aa-f28b-49a6-91a7-56c7bf313547 2026-03-13 16:59:51,633 - DEBUG - Requesting: http://10.0.0.249:8082/project/4976fe37-8ac7-4661-b7e4-368d77ac130d 2026-03-13 16:59:51,710 - INFO - Validated that VN ctest-vn-36511054 is not found in API Server 2026-03-13 16:59:51,722 - DEBUG - VN ctest-vn-36511054 is not present in Agent 10.0.0.249 2026-03-13 16:59:51,722 - INFO - Validated that VN ctest-vn-36511054 is not in any agent 2026-03-13 16:59:51,743 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36511054 info 2026-03-13 16:59:51,998 - DEBUG - No XMPP flaps were noticed during the test
2026-03-13 16:59:51,999 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:51]
2026-03-13 16:59:51,999 - INFO - -------------------------------------------------------------------------------- 2026-03-13 16:59:52,825 - INFO - Deleted project: ctest-TestBasicPolicy-46973285, ID : 4976fe37-8ac7-4661-b7e4-368d77ac130d