2026-02-04 10:06:14,293 - INFO - Domain Default found not creating 2026-02-04 10:06:14,455 - INFO - Project ctest-TestBasicPolicy-59700068 not found, creating it 2026-02-04 10:06:14,904 - INFO - Created Project:ctest-TestBasicPolicy-59700068, ID : 82b2cd7e-1cef-4b43-829a-33d74ffe7ac0 2026-02-04 10:06:16,310 - INFO - ================================================================================ 2026-02-04 10:06:16,310 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-04 10:06:16,310 - 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-02-04 10:06:16,563 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-04 10:06:16,563 - INFO - Initial checks done. Running the testcase now 2026-02-04 10:06:16,563 - INFO - 2026-02-04 10:06:17,104 - DEBUG - Response for create_network : {'network': {'id': '5818710c-5752-453f-a074-206f546d40fa', 'name': 'ctest-vn-91696675', 'tenant_id': '82b2cd7e1cef4b43829a33d74ffe7ac0', 'project_id': '82b2cd7e1cef4b43829a33d74ffe7ac0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59700068', 'ctest-vn-91696675'], 'port_security_enabled': True, 'description': ''}} 2026-02-04 10:06:17,279 - DEBUG - Response for create_subnet : {'subnet': {'id': '31fbe59c-9c32-4749-bbbf-b3e0fcbbdaae', 'name': '', 'tenant_id': '82b2cd7e1cef4b43829a33d74ffe7ac0', 'network_id': '5818710c-5752-453f-a074-206f546d40fa', 'ip_version': 4, 'cidr': '99.223.93.128/26', 'allocation_pools': [{'start': '99.223.93.130', 'end': '99.223.93.190'}], 'gateway_ip': '99.223.93.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.223.93.130', 'tags': [], 'project_id': '82b2cd7e1cef4b43829a33d74ffe7ac0'}} 2026-02-04 10:06:17,295 - INFO - Created VN ctest-vn-91696675 2026-02-04 10:06:17,345 - DEBUG - VN ctest-vn-91696675 UUID is 5818710c-5752-453f-a074-206f546d40fa 2026-02-04 10:06:17,652 - DEBUG - Response for create_network : {'network': {'id': '6f767850-8d2a-48bf-a5ec-4512a55e99d6', 'name': 'ctest-vn-31605256', 'tenant_id': '82b2cd7e1cef4b43829a33d74ffe7ac0', 'project_id': '82b2cd7e1cef4b43829a33d74ffe7ac0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59700068', 'ctest-vn-31605256'], 'port_security_enabled': True, 'description': ''}} 2026-02-04 10:06:17,847 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d61c8b1-5f9e-43d5-81db-33ebd6ff3f27', 'name': '', 'tenant_id': '82b2cd7e1cef4b43829a33d74ffe7ac0', 'network_id': '6f767850-8d2a-48bf-a5ec-4512a55e99d6', 'ip_version': 4, 'cidr': '163.136.117.128/26', 'allocation_pools': [{'start': '163.136.117.130', 'end': '163.136.117.190'}], 'gateway_ip': '163.136.117.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.136.117.130', 'tags': [], 'project_id': '82b2cd7e1cef4b43829a33d74ffe7ac0'}} 2026-02-04 10:06:17,863 - INFO - Created VN ctest-vn-31605256 2026-02-04 10:06:17,913 - DEBUG - VN ctest-vn-31605256 UUID is 6f767850-8d2a-48bf-a5ec-4512a55e99d6 2026-02-04 10:06:18,061 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-59700068:ctest-vn-91696675, 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-59700068:ctest-vn-31605256, 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-02-04 10:06:18,345 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5818710c-5752-453f-a074-206f546d40fa', 'name': 'ctest-vn-91696675', 'tenant_id': '82b2cd7e1cef4b43829a33d74ffe7ac0', 'project_id': '82b2cd7e1cef4b43829a33d74ffe7ac0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['31fbe59c-9c32-4749-bbbf-b3e0fcbbdaae'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59700068', 'ctest-vn-91696675'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59700068', 'ctest-policy-allow-all-24435073']], 'subnet_ipam': [{'subnet_cidr': '99.223.93.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-04 10:06:18,613 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6f767850-8d2a-48bf-a5ec-4512a55e99d6', 'name': 'ctest-vn-31605256', 'tenant_id': '82b2cd7e1cef4b43829a33d74ffe7ac0', 'project_id': '82b2cd7e1cef4b43829a33d74ffe7ac0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7d61c8b1-5f9e-43d5-81db-33ebd6ff3f27'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59700068', 'ctest-vn-31605256'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59700068', 'ctest-policy-allow-all-24435073']], 'subnet_ipam': [{'subnet_cidr': '163.136.117.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-04 10:06:18,758 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-04 10:06:19,060 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-04 10:06:19,090 - DEBUG - Requesting: http://10.0.0.38:8082/domain/47153d5d-ff6d-41fb-8db9-9156d15971d1 2026-02-04 10:06:19,104 - DEBUG - Requesting: http://10.0.0.38:8082/project/82b2cd7e-1cef-4b43-829a-33d74ffe7ac0 2026-02-04 10:06:19,173 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5818710c-5752-453f-a074-206f546d40fa 2026-02-04 10:06:19,183 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5818710c-5752-453f-a074-206f546d40fa 2026-02-04 10:06:19,193 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2d5cc356-ec38-4d7a-bc16-bd11ebdb7539 2026-02-04 10:06:19,200 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2d5cc356-ec38-4d7a-bc16-bd11ebdb7539 2026-02-04 10:06:19,206 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7a2de1d0-643b-4146-87ba-5a3c66db3615 2026-02-04 10:06:19,211 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-04 10:06:19,211 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5818710c-5752-453f-a074-206f546d40fa 2026-02-04 10:06:19,220 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2d5cc356-ec38-4d7a-bc16-bd11ebdb7539 2026-02-04 10:06:19,235 - INFO - Verified VN network id 12 for VN 5818710c-5752-453f-a074-206f546d40fa 2026-02-04 10:06:19,235 - INFO - Verifications in API Server for VN ctest-vn-91696675 passed 2026-02-04 10:06:19,235 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5818710c-5752-453f-a074-206f546d40fa 2026-02-04 10:06:19,243 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2d5cc356-ec38-4d7a-bc16-bd11ebdb7539 2026-02-04 10:06:19,250 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2d5cc356-ec38-4d7a-bc16-bd11ebdb7539 2026-02-04 10:06:19,255 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7a2de1d0-643b-4146-87ba-5a3c66db3615 2026-02-04 10:06:19,265 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59700068:ctest-vn-91696675', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59700068', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6347947972597269823', 'uuid-lslong': '11561901805896810746'}, 'enable': 'true', 'created': '2026-02-04T10:06:17', 'last-modified': '2026-02-04T10:06:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.939581'} 2026-02-04 10:06:19,270 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-04 10:06:19,270 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91696675 passed 2026-02-04 10:06:19,271 - DEBUG - ====Verifying policy data for ctest-vn-91696675 in API_Server ====== 2026-02-04 10:06:19,271 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-04 10:06:19,275 - DEBUG - Requesting: http://10.0.0.38:8082/domain/47153d5d-ff6d-41fb-8db9-9156d15971d1 2026-02-04 10:06:19,286 - DEBUG - Requesting: http://10.0.0.38:8082/project/82b2cd7e-1cef-4b43-829a-33d74ffe7ac0 2026-02-04 10:06:19,352 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5818710c-5752-453f-a074-206f546d40fa 2026-02-04 10:06:19,360 - DEBUG - ==>Verifying data for policy with id: 84dd7258-fcb0-4cb8-b277-ea989783750c, fqn: ['default-domain', 'ctest-TestBasicPolicy-59700068', 'ctest-policy-allow-all-24435073'] 2026-02-04 10:06:19,360 - INFO - VN ctest-vn-91696675 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-04 10:06:19,360 - DEBUG - Verifying the vn in opserver 2026-02-04 10:06:19,360 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59700068:ctest-vn-91696675 virtual network link through opserver 10.0.0.38 2026-02-04 10:06:19,360 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-04 10:06:19,650 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-04 10:06:19,706 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59700068:ctest-vn-91696675', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59700068:ctest-vn-91696675?flat'} 2026-02-04 10:06:19,706 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59700068:ctest-vn-91696675 is found in opserver 2026-02-04 10:06:19,714 - DEBUG - Do not have enough data to verify VN in agent 2026-02-04 10:06:19,718 - DEBUG - VRF ids for VN ctest-vn-91696675: {} 2026-02-04 10:06:19,719 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-04 10:06:19,723 - DEBUG - Requesting: http://10.0.0.38:8082/domain/47153d5d-ff6d-41fb-8db9-9156d15971d1 2026-02-04 10:06:19,734 - DEBUG - Requesting: http://10.0.0.38:8082/project/82b2cd7e-1cef-4b43-829a-33d74ffe7ac0 2026-02-04 10:06:19,802 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6f767850-8d2a-48bf-a5ec-4512a55e99d6 2026-02-04 10:06:19,811 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6f767850-8d2a-48bf-a5ec-4512a55e99d6 2026-02-04 10:06:19,820 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/007e3bd3-f8d4-4321-9e93-85d22d84c78f 2026-02-04 10:06:19,827 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/007e3bd3-f8d4-4321-9e93-85d22d84c78f 2026-02-04 10:06:19,834 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a008954d-9aef-45f7-923b-fd884e2f47da 2026-02-04 10:06:19,840 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-04 10:06:19,840 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6f767850-8d2a-48bf-a5ec-4512a55e99d6 2026-02-04 10:06:19,849 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/007e3bd3-f8d4-4321-9e93-85d22d84c78f 2026-02-04 10:06:19,862 - INFO - Verified VN network id 13 for VN 6f767850-8d2a-48bf-a5ec-4512a55e99d6 2026-02-04 10:06:19,862 - INFO - Verifications in API Server for VN ctest-vn-31605256 passed 2026-02-04 10:06:19,862 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6f767850-8d2a-48bf-a5ec-4512a55e99d6 2026-02-04 10:06:19,872 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/007e3bd3-f8d4-4321-9e93-85d22d84c78f 2026-02-04 10:06:19,878 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/007e3bd3-f8d4-4321-9e93-85d22d84c78f 2026-02-04 10:06:19,883 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a008954d-9aef-45f7-923b-fd884e2f47da 2026-02-04 10:06:19,892 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59700068:ctest-vn-31605256', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59700068', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8031739272822933695', 'uuid-lslong': '11956007057147992534'}, 'enable': 'true', 'created': '2026-02-04T10:06:17', 'last-modified': '2026-02-04T10:06:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.344900'} 2026-02-04 10:06:19,897 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-04 10:06:19,898 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31605256 passed 2026-02-04 10:06:19,898 - DEBUG - ====Verifying policy data for ctest-vn-31605256 in API_Server ====== 2026-02-04 10:06:19,898 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-04 10:06:19,903 - DEBUG - Requesting: http://10.0.0.38:8082/domain/47153d5d-ff6d-41fb-8db9-9156d15971d1 2026-02-04 10:06:19,912 - DEBUG - Requesting: http://10.0.0.38:8082/project/82b2cd7e-1cef-4b43-829a-33d74ffe7ac0 2026-02-04 10:06:19,977 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6f767850-8d2a-48bf-a5ec-4512a55e99d6 2026-02-04 10:06:19,987 - DEBUG - ==>Verifying data for policy with id: 84dd7258-fcb0-4cb8-b277-ea989783750c, fqn: ['default-domain', 'ctest-TestBasicPolicy-59700068', 'ctest-policy-allow-all-24435073'] 2026-02-04 10:06:19,987 - INFO - VN ctest-vn-31605256 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-04 10:06:19,987 - DEBUG - Verifying the vn in opserver 2026-02-04 10:06:19,987 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59700068:ctest-vn-31605256 virtual network link through opserver 10.0.0.38 2026-02-04 10:06:19,987 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-04 10:06:19,996 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59700068:ctest-vn-31605256', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59700068:ctest-vn-31605256?flat'} 2026-02-04 10:06:19,996 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59700068:ctest-vn-31605256 is found in opserver 2026-02-04 10:06:20,005 - DEBUG - Do not have enough data to verify VN in agent 2026-02-04 10:06:20,009 - DEBUG - VRF ids for VN ctest-vn-31605256: {} 2026-02-04 10:06:20,061 - DEBUG - Services list from nova: [, , ] 2026-02-04 10:06:21,053 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5200-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5200-1) 2026-02-04 10:06:22,152 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5200-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5200-1) 2026-02-04 10:06:22,152 - INFO - Waiting for VM ctest-TestBasicPolicy-59700068-91264899 to be up.. 2026-02-04 10:06:22,232 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-04 10:06:27,344 - DEBUG - VM is in ACTIVE state now 2026-02-04 10:06:27,344 - INFO - VM name : ctest-TestBasicPolicy-59700068-91264899 2026-02-04 10:06:27,422 - DEBUG - VM ctest-TestBasicPolicy-59700068-91264899 ID is f4971c81-2590-49a7-ae7c-bcd3e5fc3258 2026-02-04 10:06:27,445 - DEBUG - VM ctest-TestBasicPolicy-59700068-91264899 launched on Node cn-jenkins-deploy-platform-ansible-os-5200-1 2026-02-04 10:06:27,515 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f4971c81-2590-49a7-ae7c-bcd3e5fc3258 2026-02-04 10:06:27,523 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c0aef2b5-eefa-48b8-a470-f9e2369e416d 2026-02-04 10:06:30,792 - 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 1015ms') 2026-02-04 10:06:30,792 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-59700068-91264899 failed! 2026-02-04 10:06:30,849 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-59700068:ctest-vn-91696675 is 99.223.93.129 and allocation pool is NOT set 2026-02-04 10:06:32,912 - 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=2.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.488 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.488/1.619/2.751/1.131 ms') 2026-02-04 10:06:32,912 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-59700068-91264899 passed 2026-02-04 10:06:33,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 10:06:33,062 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-59700068-91264899, IP 99.223.93.131, Port 22 2026-02-04 10:06:33,217 - DEBUG - VM ctest-TestBasicPolicy-59700068-91264899 is ready for SSH connections 2026-02-04 10:06:33,217 - INFO - Waiting for VM ctest-TestBasicPolicy-59700068-48709114 to be up.. 2026-02-04 10:06:33,293 - DEBUG - VM is in ACTIVE state now 2026-02-04 10:06:33,293 - INFO - VM name : ctest-TestBasicPolicy-59700068-48709114 2026-02-04 10:06:33,374 - DEBUG - VM ctest-TestBasicPolicy-59700068-48709114 ID is e5400349-498b-4495-9990-47cc0421a083 2026-02-04 10:06:33,374 - DEBUG - VM ctest-TestBasicPolicy-59700068-48709114 launched on Node cn-jenkins-deploy-platform-ansible-os-5200-1 2026-02-04 10:06:33,454 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e5400349-498b-4495-9990-47cc0421a083 2026-02-04 10:06:33,462 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/adc659f7-a9bb-499a-a541-cf8a726bdec8 2026-02-04 10:06:34,691 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.516 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.516/1.622/2.729/1.106 ms') 2026-02-04 10:06:34,691 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-59700068-48709114 passed 2026-02-04 10:06:34,837 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 10:06:34,838 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-59700068-48709114, IP 163.136.117.131, Port 22 2026-02-04 10:06:34,994 - DEBUG - VM ctest-TestBasicPolicy-59700068-48709114 is ready for SSH connections 2026-02-04 10:06:34,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 10:06:34,994 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.136.117.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-04 10:06:34,994 - DEBUG - ping -s 56 -c 3 -W 1 163.136.117.131 2026-02-04 10:06:38,974 - DEBUG - PING 163.136.117.131 (163.136.117.131): 56 data bytes 64 bytes from 163.136.117.131: seq=0 ttl=63 time=3.091 ms 64 bytes from 163.136.117.131: seq=1 ttl=63 time=0.853 ms 64 bytes from 163.136.117.131: seq=2 ttl=63 time=0.934 ms --- 163.136.117.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.853/1.626/3.091 ms 2026-02-04 10:06:38,974 - INFO - Ping to IP 163.136.117.131 from VM ctest-TestBasicPolicy-59700068-91264899 passed 2026-02-04 10:06:39,149 - DEBUG - Policy Update Response {"network-policy": {"uuid": "84dd7258-fcb0-4cb8-b277-ea989783750c", "href": "http://10.0.0.38:8082/network-policy/84dd7258-fcb0-4cb8-b277-ea989783750c"}} 2026-02-04 10:06:39,149 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 10:06:39,149 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.136.117.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-04 10:06:39,150 - DEBUG - ping -s 56 -c 3 -W 1 163.136.117.131 2026-02-04 10:06:42,382 - DEBUG - PING 163.136.117.131 (163.136.117.131): 56 data bytes --- 163.136.117.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-04 10:06:42,382 - WARNING - Ping to IP 163.136.117.131 from VM ctest-TestBasicPolicy-59700068-91264899 failed 2026-02-04 10:06:42,382 - INFO - Deleting VM ctest-TestBasicPolicy-59700068-48709114 2026-02-04 10:06:42,448 - INFO - Deleting VM ctest-TestBasicPolicy-59700068-91264899 2026-02-04 10:06:42,832 - INFO - Deleted policy ctest-policy-allow-all-24435073 2026-02-04 10:06:42,832 - INFO - Deleting VN ctest-vn-31605256 2026-02-04 10:06:42,863 - DEBUG - VN 6f767850-8d2a-48bf-a5ec-4512a55e99d6 still in use: Unable to complete operation on network 6f767850-8d2a-48bf-a5ec-4512a55e99d6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e7aa1a9d-88ca-4ccd-a1a4-93bfdc9ab703'] 2026-02-04 10:06:42,863 - WARNING - Deleting VN ctest-vn-31605256 failed..Will retry 2026-02-04 10:06:44,964 - DEBUG - Response for deleting network () 2026-02-04 10:06:44,964 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/007e3bd3-f8d4-4321-9e93-85d22d84c78f 2026-02-04 10:06:44,968 - DEBUG - Response Code: 404 2026-02-04 10:06:44,968 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-04 10:06:44,973 - DEBUG - Requesting: http://10.0.0.38:8082/domain/47153d5d-ff6d-41fb-8db9-9156d15971d1 2026-02-04 10:06:45,028 - DEBUG - Requesting: http://10.0.0.38:8082/project/82b2cd7e-1cef-4b43-829a-33d74ffe7ac0 2026-02-04 10:06:45,099 - INFO - Validated that VN ctest-vn-31605256 is not found in API Server 2026-02-04 10:06:45,111 - DEBUG - VN ctest-vn-31605256 is not present in Agent 10.0.0.38 2026-02-04 10:06:45,111 - INFO - Validated that VN ctest-vn-31605256 is not in any agent 2026-02-04 10:06:45,127 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31605256 info 2026-02-04 10:06:45,127 - INFO - Deleting VN ctest-vn-91696675 2026-02-04 10:06:45,234 - DEBUG - Response for deleting network () 2026-02-04 10:06:45,234 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2d5cc356-ec38-4d7a-bc16-bd11ebdb7539 2026-02-04 10:06:45,238 - DEBUG - Response Code: 404 2026-02-04 10:06:45,238 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-04 10:06:45,243 - DEBUG - Requesting: http://10.0.0.38:8082/domain/47153d5d-ff6d-41fb-8db9-9156d15971d1 2026-02-04 10:06:45,294 - DEBUG - Requesting: http://10.0.0.38:8082/project/82b2cd7e-1cef-4b43-829a-33d74ffe7ac0 2026-02-04 10:06:45,369 - INFO - Validated that VN ctest-vn-91696675 is not found in API Server 2026-02-04 10:06:45,378 - DEBUG - VN ctest-vn-91696675 is not present in Agent 10.0.0.38 2026-02-04 10:06:45,378 - INFO - Validated that VN ctest-vn-91696675 is not in any agent 2026-02-04 10:06:45,390 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91696675 info 2026-02-04 10:06:45,642 - DEBUG - No XMPP flaps were noticed during the test 2026-02-04 10:06:45,642 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2026-02-04 10:06:45,643 - INFO - -------------------------------------------------------------------------------- 2026-02-04 10:06:46,292 - INFO - Deleted project: ctest-TestBasicPolicy-59700068, ID : 82b2cd7e-1cef-4b43-829a-33d74ffe7ac0