2026-05-08 22:03:35,225 - INFO - Domain Default found not creating 2026-05-08 22:03:35,429 - INFO - Project ctest-TestBasicPolicy-97443667 not found, creating it 2026-05-08 22:03:35,889 - INFO - Created Project:ctest-TestBasicPolicy-97443667, ID : 9e2a7c22-f400-49b9-97cf-0ace62e912f5 2026-05-08 22:03:37,375 - INFO - ================================================================================ 2026-05-08 22:03:37,376 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-08 22:03:37,376 - 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-05-08 22:03:37,632 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-05-08 22:03:37,632 - INFO - Initial checks done. Running the testcase now 2026-05-08 22:03:37,632 - INFO - 2026-05-08 22:03:38,203 - DEBUG - Response for create_network : {'network': {'id': 'de2e0953-f7b4-4c85-b9b0-1a1a4eafc288', 'name': 'ctest-vn-98487052', 'tenant_id': '9e2a7c22f40049b997cf0ace62e912f5', 'project_id': '9e2a7c22f40049b997cf0ace62e912f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97443667', 'ctest-vn-98487052'], 'port_security_enabled': True, 'description': ''}} 2026-05-08 22:03:38,398 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ac9c92a-69ca-4730-b432-905aa3cf033e', 'name': '', 'tenant_id': '9e2a7c22f40049b997cf0ace62e912f5', 'network_id': 'de2e0953-f7b4-4c85-b9b0-1a1a4eafc288', 'ip_version': 4, 'cidr': '89.36.46.0/26', 'allocation_pools': [{'start': '89.36.46.2', 'end': '89.36.46.62'}], 'gateway_ip': '89.36.46.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.36.46.2', 'tags': [], 'project_id': '9e2a7c22f40049b997cf0ace62e912f5'}} 2026-05-08 22:03:38,418 - INFO - Created VN ctest-vn-98487052 2026-05-08 22:03:38,470 - DEBUG - VN ctest-vn-98487052 UUID is de2e0953-f7b4-4c85-b9b0-1a1a4eafc288 2026-05-08 22:03:38,784 - DEBUG - Response for create_network : {'network': {'id': 'a0fec771-e39a-4572-976d-babd41ae0361', 'name': 'ctest-vn-59632641', 'tenant_id': '9e2a7c22f40049b997cf0ace62e912f5', 'project_id': '9e2a7c22f40049b997cf0ace62e912f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97443667', 'ctest-vn-59632641'], 'port_security_enabled': True, 'description': ''}} 2026-05-08 22:03:38,977 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea440f3d-7f17-42c9-be3d-a4c2903af2e9', 'name': '', 'tenant_id': '9e2a7c22f40049b997cf0ace62e912f5', 'network_id': 'a0fec771-e39a-4572-976d-babd41ae0361', 'ip_version': 4, 'cidr': '126.26.143.0/26', 'allocation_pools': [{'start': '126.26.143.2', 'end': '126.26.143.62'}], 'gateway_ip': '126.26.143.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.26.143.2', 'tags': [], 'project_id': '9e2a7c22f40049b997cf0ace62e912f5'}} 2026-05-08 22:03:38,997 - INFO - Created VN ctest-vn-59632641 2026-05-08 22:03:39,054 - DEBUG - VN ctest-vn-59632641 UUID is a0fec771-e39a-4572-976d-babd41ae0361 2026-05-08 22:03:39,206 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-97443667:ctest-vn-98487052, 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-97443667:ctest-vn-59632641, 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-05-08 22:03:39,496 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'de2e0953-f7b4-4c85-b9b0-1a1a4eafc288', 'name': 'ctest-vn-98487052', 'tenant_id': '9e2a7c22f40049b997cf0ace62e912f5', 'project_id': '9e2a7c22f40049b997cf0ace62e912f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5ac9c92a-69ca-4730-b432-905aa3cf033e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97443667', 'ctest-vn-98487052'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97443667', 'ctest-policy-allow-all-00812506']], 'subnet_ipam': [{'subnet_cidr': '89.36.46.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-08 22:03:39,721 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a0fec771-e39a-4572-976d-babd41ae0361', 'name': 'ctest-vn-59632641', 'tenant_id': '9e2a7c22f40049b997cf0ace62e912f5', 'project_id': '9e2a7c22f40049b997cf0ace62e912f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ea440f3d-7f17-42c9-be3d-a4c2903af2e9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97443667', 'ctest-vn-59632641'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97443667', 'ctest-policy-allow-all-00812506']], 'subnet_ipam': [{'subnet_cidr': '126.26.143.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-08 22:03:39,850 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-08 22:03:40,151 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-08 22:03:40,187 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d22c6d24-2341-4a17-85f6-a2d8ccdb534f 2026-05-08 22:03:40,200 - DEBUG - Requesting: http://10.0.0.50:8082/project/9e2a7c22-f400-49b9-97cf-0ace62e912f5 2026-05-08 22:03:40,271 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/de2e0953-f7b4-4c85-b9b0-1a1a4eafc288 2026-05-08 22:03:40,282 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/de2e0953-f7b4-4c85-b9b0-1a1a4eafc288 2026-05-08 22:03:40,292 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/17ef6bfe-56a5-419a-b3b1-6fdf5ef07e31 2026-05-08 22:03:40,298 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/17ef6bfe-56a5-419a-b3b1-6fdf5ef07e31 2026-05-08 22:03:40,305 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1562ca07-3dd5-40e9-8b26-edfb54e87ef9 2026-05-08 22:03:40,311 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-08 22:03:40,311 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/de2e0953-f7b4-4c85-b9b0-1a1a4eafc288 2026-05-08 22:03:40,321 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/17ef6bfe-56a5-419a-b3b1-6fdf5ef07e31 2026-05-08 22:03:40,335 - INFO - Verified VN network id 11 for VN de2e0953-f7b4-4c85-b9b0-1a1a4eafc288 2026-05-08 22:03:40,335 - INFO - Verifications in API Server for VN ctest-vn-98487052 passed 2026-05-08 22:03:40,336 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/de2e0953-f7b4-4c85-b9b0-1a1a4eafc288 2026-05-08 22:03:40,344 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/17ef6bfe-56a5-419a-b3b1-6fdf5ef07e31 2026-05-08 22:03:40,351 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/17ef6bfe-56a5-419a-b3b1-6fdf5ef07e31 2026-05-08 22:03:40,357 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1562ca07-3dd5-40e9-8b26-edfb54e87ef9 2026-05-08 22:03:40,368 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97443667:ctest-vn-98487052', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97443667', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16009743981591415941', 'uuid-lslong': '13380223193209356936'}, 'enable': 'true', 'created': '2026-05-08T22:03:38', 'last-modified': '2026-05-08T22:03:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.896904'} 2026-05-08 22:03:40,373 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-08 22:03:40,373 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-98487052 passed 2026-05-08 22:03:40,373 - DEBUG - ====Verifying policy data for ctest-vn-98487052 in API_Server ====== 2026-05-08 22:03:40,373 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-08 22:03:40,378 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d22c6d24-2341-4a17-85f6-a2d8ccdb534f 2026-05-08 22:03:40,388 - DEBUG - Requesting: http://10.0.0.50:8082/project/9e2a7c22-f400-49b9-97cf-0ace62e912f5 2026-05-08 22:03:40,454 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/de2e0953-f7b4-4c85-b9b0-1a1a4eafc288 2026-05-08 22:03:40,463 - DEBUG - ==>Verifying data for policy with id: 04d4e0b7-360e-442e-a944-1bd3e1b0bebb, fqn: ['default-domain', 'ctest-TestBasicPolicy-97443667', 'ctest-policy-allow-all-00812506'] 2026-05-08 22:03:40,463 - INFO - VN ctest-vn-98487052 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-08 22:03:40,463 - DEBUG - Verifying the vn in opserver 2026-05-08 22:03:40,463 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97443667:ctest-vn-98487052 virtual network link through opserver 10.0.0.50 2026-05-08 22:03:40,463 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-08 22:03:40,754 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-08 22:03:40,818 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97443667:ctest-vn-98487052', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97443667:ctest-vn-98487052?flat'} 2026-05-08 22:03:40,818 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97443667:ctest-vn-98487052 is found in opserver 2026-05-08 22:03:40,827 - DEBUG - Do not have enough data to verify VN in agent 2026-05-08 22:03:40,833 - DEBUG - VRF ids for VN ctest-vn-98487052: {} 2026-05-08 22:03:40,833 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-08 22:03:40,839 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d22c6d24-2341-4a17-85f6-a2d8ccdb534f 2026-05-08 22:03:40,850 - DEBUG - Requesting: http://10.0.0.50:8082/project/9e2a7c22-f400-49b9-97cf-0ace62e912f5 2026-05-08 22:03:40,920 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a0fec771-e39a-4572-976d-babd41ae0361 2026-05-08 22:03:40,933 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a0fec771-e39a-4572-976d-babd41ae0361 2026-05-08 22:03:40,941 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/79548bf7-22c7-4d53-ad44-cfd6222b4b51 2026-05-08 22:03:40,947 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/79548bf7-22c7-4d53-ad44-cfd6222b4b51 2026-05-08 22:03:40,953 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/846be980-b9f7-493d-be53-67faafc784ef 2026-05-08 22:03:40,959 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-08 22:03:40,959 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a0fec771-e39a-4572-976d-babd41ae0361 2026-05-08 22:03:40,968 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/79548bf7-22c7-4d53-ad44-cfd6222b4b51 2026-05-08 22:03:40,981 - INFO - Verified VN network id 12 for VN a0fec771-e39a-4572-976d-babd41ae0361 2026-05-08 22:03:40,981 - INFO - Verifications in API Server for VN ctest-vn-59632641 passed 2026-05-08 22:03:40,981 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a0fec771-e39a-4572-976d-babd41ae0361 2026-05-08 22:03:40,991 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/79548bf7-22c7-4d53-ad44-cfd6222b4b51 2026-05-08 22:03:40,998 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/79548bf7-22c7-4d53-ad44-cfd6222b4b51 2026-05-08 22:03:41,005 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/846be980-b9f7-493d-be53-67faafc784ef 2026-05-08 22:03:41,018 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97443667:ctest-vn-59632641', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97443667', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11600928982116746610', 'uuid-lslong': '10911582794202088289'}, 'enable': 'true', 'created': '2026-05-08T22:03:38', 'last-modified': '2026-05-08T22:03:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.314233'} 2026-05-08 22:03:41,025 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-08 22:03:41,025 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59632641 passed 2026-05-08 22:03:41,026 - DEBUG - ====Verifying policy data for ctest-vn-59632641 in API_Server ====== 2026-05-08 22:03:41,026 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-08 22:03:41,032 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d22c6d24-2341-4a17-85f6-a2d8ccdb534f 2026-05-08 22:03:41,041 - DEBUG - Requesting: http://10.0.0.50:8082/project/9e2a7c22-f400-49b9-97cf-0ace62e912f5 2026-05-08 22:03:41,111 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a0fec771-e39a-4572-976d-babd41ae0361 2026-05-08 22:03:41,120 - DEBUG - ==>Verifying data for policy with id: 04d4e0b7-360e-442e-a944-1bd3e1b0bebb, fqn: ['default-domain', 'ctest-TestBasicPolicy-97443667', 'ctest-policy-allow-all-00812506'] 2026-05-08 22:03:41,120 - INFO - VN ctest-vn-59632641 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-08 22:03:41,120 - DEBUG - Verifying the vn in opserver 2026-05-08 22:03:41,120 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97443667:ctest-vn-59632641 virtual network link through opserver 10.0.0.50 2026-05-08 22:03:41,120 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-08 22:03:41,130 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97443667:ctest-vn-59632641', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97443667:ctest-vn-59632641?flat'} 2026-05-08 22:03:41,130 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97443667:ctest-vn-59632641 is found in opserver 2026-05-08 22:03:41,140 - DEBUG - Do not have enough data to verify VN in agent 2026-05-08 22:03:41,145 - DEBUG - VRF ids for VN ctest-vn-59632641: {} 2026-05-08 22:03:41,205 - DEBUG - Services list from nova: [, , ] 2026-05-08 22:03:42,219 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5760-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5760-1) 2026-05-08 22:03:43,413 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5760-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5760-1) 2026-05-08 22:03:43,413 - INFO - Waiting for VM ctest-TestBasicPolicy-97443667-68463170 to be up.. 2026-05-08 22:03:43,490 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-08 22:03:48,569 - DEBUG - VM is in ACTIVE state now 2026-05-08 22:03:48,569 - INFO - VM name : ctest-TestBasicPolicy-97443667-68463170 2026-05-08 22:03:48,645 - DEBUG - VM ctest-TestBasicPolicy-97443667-68463170 ID is d32b48cf-9fd5-4e19-b2de-7cd5fef401dd 2026-05-08 22:03:48,665 - DEBUG - VM ctest-TestBasicPolicy-97443667-68463170 launched on Node cn-jenkins-deploy-platform-ansible-os-5760-1 2026-05-08 22:03:48,748 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d32b48cf-9fd5-4e19-b2de-7cd5fef401dd 2026-05-08 22:03:48,757 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7697109b-7a85-450c-be6f-33c84d36e5c7 2026-05-08 22:03:52,015 - 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 1018ms') 2026-05-08 22:03:52,015 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97443667-68463170 failed! 2026-05-08 22:03:52,070 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-97443667:ctest-vn-98487052 is 89.36.46.1 and allocation pool is NOT set 2026-05-08 22:03:54,129 - 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.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.47 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 = 2.469/3.192/3.915/0.723 ms') 2026-05-08 22:03:54,129 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97443667-68463170 passed 2026-05-08 22:03:54,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-08 22:03:54,279 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97443667-68463170, IP 89.36.46.3, Port 22 2026-05-08 22:03:54,438 - DEBUG - VM ctest-TestBasicPolicy-97443667-68463170 is ready for SSH connections 2026-05-08 22:03:54,438 - INFO - Waiting for VM ctest-TestBasicPolicy-97443667-89782083 to be up.. 2026-05-08 22:03:54,511 - DEBUG - VM is in ACTIVE state now 2026-05-08 22:03:54,511 - INFO - VM name : ctest-TestBasicPolicy-97443667-89782083 2026-05-08 22:03:54,586 - DEBUG - VM ctest-TestBasicPolicy-97443667-89782083 ID is 7fbff844-b4c8-4d48-a64c-3b59f3a39bbc 2026-05-08 22:03:54,586 - DEBUG - VM ctest-TestBasicPolicy-97443667-89782083 launched on Node cn-jenkins-deploy-platform-ansible-os-5760-1 2026-05-08 22:03:54,654 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7fbff844-b4c8-4d48-a64c-3b59f3a39bbc 2026-05-08 22:03:54,662 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/21d48bd1-d0a3-4285-a386-d5e8712a888f 2026-05-08 22:03:55,885 - 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=3.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.555 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.555/1.822/3.090/1.267 ms') 2026-05-08 22:03:55,885 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-97443667-89782083 passed 2026-05-08 22:03:56,037 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-08 22:03:56,037 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97443667-89782083, IP 126.26.143.3, Port 22 2026-05-08 22:03:56,194 - DEBUG - VM ctest-TestBasicPolicy-97443667-89782083 is ready for SSH connections 2026-05-08 22:03:56,194 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-08 22:03:56,194 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.26.143.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-08 22:03:56,194 - DEBUG - ping -s 56 -c 3 -W 1 126.26.143.3 2026-05-08 22:04:00,197 - DEBUG - PING 126.26.143.3 (126.26.143.3): 56 data bytes 64 bytes from 126.26.143.3: seq=0 ttl=63 time=3.658 ms 64 bytes from 126.26.143.3: seq=1 ttl=63 time=0.872 ms 64 bytes from 126.26.143.3: seq=2 ttl=63 time=0.876 ms --- 126.26.143.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.872/1.802/3.658 ms 2026-05-08 22:04:00,198 - INFO - Ping to IP 126.26.143.3 from VM ctest-TestBasicPolicy-97443667-68463170 passed 2026-05-08 22:04:00,370 - DEBUG - Policy Update Response {"network-policy": {"uuid": "04d4e0b7-360e-442e-a944-1bd3e1b0bebb", "href": "http://10.0.0.50:8082/network-policy/04d4e0b7-360e-442e-a944-1bd3e1b0bebb"}} 2026-05-08 22:04:00,370 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-08 22:04:00,370 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.26.143.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-08 22:04:00,370 - DEBUG - ping -s 56 -c 3 -W 1 126.26.143.3 2026-05-08 22:04:03,584 - DEBUG - PING 126.26.143.3 (126.26.143.3): 56 data bytes --- 126.26.143.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-08 22:04:03,585 - WARNING - Ping to IP 126.26.143.3 from VM ctest-TestBasicPolicy-97443667-68463170 failed 2026-05-08 22:04:03,585 - INFO - Deleting VM ctest-TestBasicPolicy-97443667-89782083 2026-05-08 22:04:03,654 - INFO - Deleting VM ctest-TestBasicPolicy-97443667-68463170 2026-05-08 22:04:04,051 - INFO - Deleted policy ctest-policy-allow-all-00812506 2026-05-08 22:04:04,051 - INFO - Deleting VN ctest-vn-59632641 2026-05-08 22:04:04,090 - DEBUG - VN a0fec771-e39a-4572-976d-babd41ae0361 still in use: Unable to complete operation on network a0fec771-e39a-4572-976d-babd41ae0361. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d9e2ff7a-d526-4a9a-8f43-0be5ce90c34f'] 2026-05-08 22:04:04,090 - WARNING - Deleting VN ctest-vn-59632641 failed..Will retry 2026-05-08 22:04:06,208 - DEBUG - Response for deleting network () 2026-05-08 22:04:06,208 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/79548bf7-22c7-4d53-ad44-cfd6222b4b51 2026-05-08 22:04:06,214 - DEBUG - Response Code: 404 2026-05-08 22:04:06,214 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-08 22:04:06,220 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d22c6d24-2341-4a17-85f6-a2d8ccdb534f 2026-05-08 22:04:06,271 - DEBUG - Requesting: http://10.0.0.50:8082/project/9e2a7c22-f400-49b9-97cf-0ace62e912f5 2026-05-08 22:04:06,346 - INFO - Validated that VN ctest-vn-59632641 is not found in API Server 2026-05-08 22:04:06,356 - DEBUG - VN ctest-vn-59632641 is not present in Agent 10.0.0.50 2026-05-08 22:04:06,356 - INFO - Validated that VN ctest-vn-59632641 is not in any agent 2026-05-08 22:04:06,371 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59632641 info 2026-05-08 22:04:06,372 - INFO - Deleting VN ctest-vn-98487052 2026-05-08 22:04:06,465 - DEBUG - Response for deleting network () 2026-05-08 22:04:06,465 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/17ef6bfe-56a5-419a-b3b1-6fdf5ef07e31 2026-05-08 22:04:06,470 - DEBUG - Response Code: 404 2026-05-08 22:04:06,470 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-08 22:04:06,475 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d22c6d24-2341-4a17-85f6-a2d8ccdb534f 2026-05-08 22:04:06,527 - DEBUG - Requesting: http://10.0.0.50:8082/project/9e2a7c22-f400-49b9-97cf-0ace62e912f5 2026-05-08 22:04:06,597 - INFO - Validated that VN ctest-vn-98487052 is not found in API Server 2026-05-08 22:04:06,607 - DEBUG - VN ctest-vn-98487052 is not present in Agent 10.0.0.50 2026-05-08 22:04:06,607 - INFO - Validated that VN ctest-vn-98487052 is not in any agent 2026-05-08 22:04:06,622 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-98487052 info 2026-05-08 22:04:06,875 - DEBUG - No XMPP flaps were noticed during the test
2026-05-08 22:04:06,875 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-05-08 22:04:06,875 - INFO - -------------------------------------------------------------------------------- 2026-05-08 22:04:07,558 - INFO - Deleted project: ctest-TestBasicPolicy-97443667, ID : 9e2a7c22-f400-49b9-97cf-0ace62e912f5