2026-04-29 16:56:29,227 - INFO - Domain Default found not creating 2026-04-29 16:56:29,424 - INFO - Project ctest-TestBasicPolicy-20443018 not found, creating it 2026-04-29 16:56:29,878 - INFO - Created Project:ctest-TestBasicPolicy-20443018, ID : 4d3e5c83-901b-41d1-a2a5-1004761a18bf 2026-04-29 16:56:31,408 - INFO - ================================================================================ 2026-04-29 16:56:31,408 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-29 16:56:31,408 - 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 16:56:31,668 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2026-04-29 16:56:31,668 - INFO - Initial checks done. Running the testcase now 2026-04-29 16:56:31,668 - INFO - 2026-04-29 16:56:32,191 - DEBUG - Response for create_network : {'network': {'id': '16f9b0f6-8dce-478f-a169-e859f7bb08f2', 'name': 'ctest-vn-79743851', 'tenant_id': '4d3e5c83901b41d1a2a51004761a18bf', 'project_id': '4d3e5c83901b41d1a2a51004761a18bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20443018', 'ctest-vn-79743851'], 'port_security_enabled': True, 'description': ''}} 2026-04-29 16:56:32,387 - DEBUG - Response for create_subnet : {'subnet': {'id': '38e35d6b-0ef9-48ff-a64e-92b89716c51d', 'name': '', 'tenant_id': '4d3e5c83901b41d1a2a51004761a18bf', 'network_id': '16f9b0f6-8dce-478f-a169-e859f7bb08f2', 'ip_version': 4, 'cidr': '135.92.238.192/26', 'allocation_pools': [{'start': '135.92.238.194', 'end': '135.92.238.254'}], 'gateway_ip': '135.92.238.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.92.238.194', 'tags': [], 'project_id': '4d3e5c83901b41d1a2a51004761a18bf'}} 2026-04-29 16:56:32,403 - INFO - Created VN ctest-vn-79743851 2026-04-29 16:56:32,458 - DEBUG - VN ctest-vn-79743851 UUID is 16f9b0f6-8dce-478f-a169-e859f7bb08f2 2026-04-29 16:56:32,773 - DEBUG - Response for create_network : {'network': {'id': 'e66202d2-b331-4708-89b8-b43c33f03788', 'name': 'ctest-vn-24322957', 'tenant_id': '4d3e5c83901b41d1a2a51004761a18bf', 'project_id': '4d3e5c83901b41d1a2a51004761a18bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20443018', 'ctest-vn-24322957'], 'port_security_enabled': True, 'description': ''}} 2026-04-29 16:56:32,989 - DEBUG - Response for create_subnet : {'subnet': {'id': '96bacb32-6cab-4338-b4a3-9f4f93ddf3e3', 'name': '', 'tenant_id': '4d3e5c83901b41d1a2a51004761a18bf', 'network_id': 'e66202d2-b331-4708-89b8-b43c33f03788', 'ip_version': 4, 'cidr': '14.173.184.0/26', 'allocation_pools': [{'start': '14.173.184.2', 'end': '14.173.184.62'}], 'gateway_ip': '14.173.184.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.173.184.2', 'tags': [], 'project_id': '4d3e5c83901b41d1a2a51004761a18bf'}} 2026-04-29 16:56:33,007 - INFO - Created VN ctest-vn-24322957 2026-04-29 16:56:33,062 - DEBUG - VN ctest-vn-24322957 UUID is e66202d2-b331-4708-89b8-b43c33f03788 2026-04-29 16:56:33,214 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-20443018:ctest-vn-79743851, 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-20443018:ctest-vn-24322957, 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 16:56:33,493 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '16f9b0f6-8dce-478f-a169-e859f7bb08f2', 'name': 'ctest-vn-79743851', 'tenant_id': '4d3e5c83901b41d1a2a51004761a18bf', 'project_id': '4d3e5c83901b41d1a2a51004761a18bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['38e35d6b-0ef9-48ff-a64e-92b89716c51d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20443018', 'ctest-vn-79743851'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20443018', 'ctest-policy-allow-all-45190608']], 'subnet_ipam': [{'subnet_cidr': '135.92.238.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-29 16:56:33,709 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e66202d2-b331-4708-89b8-b43c33f03788', 'name': 'ctest-vn-24322957', 'tenant_id': '4d3e5c83901b41d1a2a51004761a18bf', 'project_id': '4d3e5c83901b41d1a2a51004761a18bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['96bacb32-6cab-4338-b4a3-9f4f93ddf3e3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20443018', 'ctest-vn-24322957'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20443018', 'ctest-policy-allow-all-45190608']], 'subnet_ipam': [{'subnet_cidr': '14.173.184.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-29 16:56:33,870 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-29 16:56:34,161 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-29 16:56:34,191 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5bdd3b40-301b-4528-af32-0158024f366c 2026-04-29 16:56:34,202 - DEBUG - Requesting: http://10.0.0.249:8082/project/4d3e5c83-901b-41d1-a2a5-1004761a18bf 2026-04-29 16:56:34,276 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/16f9b0f6-8dce-478f-a169-e859f7bb08f2 2026-04-29 16:56:34,286 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/16f9b0f6-8dce-478f-a169-e859f7bb08f2 2026-04-29 16:56:34,294 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/079ad954-6d58-463d-86c7-c2094e95744a 2026-04-29 16:56:34,299 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/079ad954-6d58-463d-86c7-c2094e95744a 2026-04-29 16:56:34,305 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/854fc81c-9a2f-4d54-ad7e-1ff7c38df9d1 2026-04-29 16:56:34,310 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-29 16:56:34,310 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/16f9b0f6-8dce-478f-a169-e859f7bb08f2 2026-04-29 16:56:34,317 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/079ad954-6d58-463d-86c7-c2094e95744a 2026-04-29 16:56:34,327 - INFO - Verified VN network id 9 for VN 16f9b0f6-8dce-478f-a169-e859f7bb08f2 2026-04-29 16:56:34,327 - INFO - Verifications in API Server for VN ctest-vn-79743851 passed 2026-04-29 16:56:34,327 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/16f9b0f6-8dce-478f-a169-e859f7bb08f2 2026-04-29 16:56:34,335 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/079ad954-6d58-463d-86c7-c2094e95744a 2026-04-29 16:56:34,340 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/079ad954-6d58-463d-86c7-c2094e95744a 2026-04-29 16:56:34,345 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/854fc81c-9a2f-4d54-ad7e-1ff7c38df9d1 2026-04-29 16:56:34,355 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20443018:ctest-vn-79743851', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20443018', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1655548911022917519', 'uuid-lslong': '11631082985766979826'}, 'enable': 'true', 'created': '2026-04-29T16:56:32', 'last-modified': '2026-04-29T16:56:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.882770'} 2026-04-29 16:56:34,360 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-29 16:56:34,360 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79743851 passed 2026-04-29 16:56:34,360 - DEBUG - ====Verifying policy data for ctest-vn-79743851 in API_Server ====== 2026-04-29 16:56:34,360 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-29 16:56:34,365 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5bdd3b40-301b-4528-af32-0158024f366c 2026-04-29 16:56:34,374 - DEBUG - Requesting: http://10.0.0.249:8082/project/4d3e5c83-901b-41d1-a2a5-1004761a18bf 2026-04-29 16:56:34,444 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/16f9b0f6-8dce-478f-a169-e859f7bb08f2 2026-04-29 16:56:34,452 - DEBUG - ==>Verifying data for policy with id: 81844c32-8478-4251-a7dc-01dd7d5ed9c2, fqn: ['default-domain', 'ctest-TestBasicPolicy-20443018', 'ctest-policy-allow-all-45190608'] 2026-04-29 16:56:34,452 - INFO - VN ctest-vn-79743851 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-29 16:56:34,452 - DEBUG - Verifying the vn in opserver 2026-04-29 16:56:34,452 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20443018:ctest-vn-79743851 virtual network link through opserver 10.0.0.249 2026-04-29 16:56:34,452 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-04-29 16:56:34,743 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-04-29 16:56:34,811 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20443018:ctest-vn-79743851', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20443018:ctest-vn-79743851?flat'} 2026-04-29 16:56:34,811 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20443018:ctest-vn-79743851 is found in opserver 2026-04-29 16:56:34,819 - DEBUG - Do not have enough data to verify VN in agent 2026-04-29 16:56:34,823 - DEBUG - VRF ids for VN ctest-vn-79743851: {} 2026-04-29 16:56:34,823 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-29 16:56:34,829 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5bdd3b40-301b-4528-af32-0158024f366c 2026-04-29 16:56:34,838 - DEBUG - Requesting: http://10.0.0.249:8082/project/4d3e5c83-901b-41d1-a2a5-1004761a18bf 2026-04-29 16:56:34,904 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/e66202d2-b331-4708-89b8-b43c33f03788 2026-04-29 16:56:34,914 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/e66202d2-b331-4708-89b8-b43c33f03788 2026-04-29 16:56:34,923 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1262391e-8064-4376-9b04-b346963965fb 2026-04-29 16:56:34,931 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1262391e-8064-4376-9b04-b346963965fb 2026-04-29 16:56:34,938 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/ece848da-d173-4f24-a939-680283e405ba 2026-04-29 16:56:34,944 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-29 16:56:34,944 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/e66202d2-b331-4708-89b8-b43c33f03788 2026-04-29 16:56:34,955 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1262391e-8064-4376-9b04-b346963965fb 2026-04-29 16:56:34,976 - INFO - Verified VN network id 10 for VN e66202d2-b331-4708-89b8-b43c33f03788 2026-04-29 16:56:34,976 - INFO - Verifications in API Server for VN ctest-vn-24322957 passed 2026-04-29 16:56:34,976 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/e66202d2-b331-4708-89b8-b43c33f03788 2026-04-29 16:56:34,985 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1262391e-8064-4376-9b04-b346963965fb 2026-04-29 16:56:34,992 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1262391e-8064-4376-9b04-b346963965fb 2026-04-29 16:56:34,997 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/ece848da-d173-4f24-a939-680283e405ba 2026-04-29 16:56:35,007 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20443018:ctest-vn-24322957', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20443018', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16600834280413808392', 'uuid-lslong': '9923879949573306248'}, 'enable': 'true', 'created': '2026-04-29T16:56:32', 'last-modified': '2026-04-29T16:56:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.317541'} 2026-04-29 16:56:35,011 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-29 16:56:35,012 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24322957 passed 2026-04-29 16:56:35,012 - DEBUG - ====Verifying policy data for ctest-vn-24322957 in API_Server ====== 2026-04-29 16:56:35,012 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-29 16:56:35,017 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5bdd3b40-301b-4528-af32-0158024f366c 2026-04-29 16:56:35,029 - DEBUG - Requesting: http://10.0.0.249:8082/project/4d3e5c83-901b-41d1-a2a5-1004761a18bf 2026-04-29 16:56:35,097 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/e66202d2-b331-4708-89b8-b43c33f03788 2026-04-29 16:56:35,105 - DEBUG - ==>Verifying data for policy with id: 81844c32-8478-4251-a7dc-01dd7d5ed9c2, fqn: ['default-domain', 'ctest-TestBasicPolicy-20443018', 'ctest-policy-allow-all-45190608'] 2026-04-29 16:56:35,105 - INFO - VN ctest-vn-24322957 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-29 16:56:35,105 - DEBUG - Verifying the vn in opserver 2026-04-29 16:56:35,105 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20443018:ctest-vn-24322957 virtual network link through opserver 10.0.0.249 2026-04-29 16:56:35,105 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-04-29 16:56:35,117 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20443018:ctest-vn-24322957', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20443018:ctest-vn-24322957?flat'} 2026-04-29 16:56:35,117 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20443018:ctest-vn-24322957 is found in opserver 2026-04-29 16:56:35,127 - DEBUG - Do not have enough data to verify VN in agent 2026-04-29 16:56:35,131 - DEBUG - VRF ids for VN ctest-vn-24322957: {} 2026-04-29 16:56:35,188 - DEBUG - Services list from nova: [, , ] 2026-04-29 16:56:36,204 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5711-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5711-1) 2026-04-29 16:56:37,439 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5711-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5711-1) 2026-04-29 16:56:37,439 - INFO - Waiting for VM ctest-TestBasicPolicy-20443018-26882015 to be up.. 2026-04-29 16:56:37,514 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-29 16:56:42,589 - DEBUG - VM is in ACTIVE state now 2026-04-29 16:56:42,589 - INFO - VM name : ctest-TestBasicPolicy-20443018-26882015 2026-04-29 16:56:42,665 - DEBUG - VM ctest-TestBasicPolicy-20443018-26882015 ID is 7224ce7f-a6ae-4af0-9dba-df973a85c257 2026-04-29 16:56:42,690 - DEBUG - VM ctest-TestBasicPolicy-20443018-26882015 launched on Node cn-jenkins-deploy-platform-ansible-os-5711-1 2026-04-29 16:56:42,772 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/7224ce7f-a6ae-4af0-9dba-df973a85c257 2026-04-29 16:56:42,782 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/f61a18b0-54fc-45a2-a145-6cb542197b05 2026-04-29 16:56:46,046 - 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 1023ms') 2026-04-29 16:56:46,046 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20443018-26882015 failed! 2026-04-29 16:56:46,098 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-20443018:ctest-vn-79743851 is 135.92.238.193 and allocation pool is NOT set 2026-04-29 16:56:48,164 - 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=6.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.449 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.449/3.645/6.841/3.196 ms') 2026-04-29 16:56:48,165 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20443018-26882015 passed 2026-04-29 16:56:48,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 16:56:48,318 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20443018-26882015, IP 135.92.238.195, Port 22 2026-04-29 16:56:48,474 - DEBUG - VM ctest-TestBasicPolicy-20443018-26882015 is ready for SSH connections 2026-04-29 16:56:48,474 - INFO - Waiting for VM ctest-TestBasicPolicy-20443018-13622350 to be up.. 2026-04-29 16:56:48,545 - DEBUG - VM is in ACTIVE state now 2026-04-29 16:56:48,545 - INFO - VM name : ctest-TestBasicPolicy-20443018-13622350 2026-04-29 16:56:48,624 - DEBUG - VM ctest-TestBasicPolicy-20443018-13622350 ID is 4fb9a2ed-6e3d-4cb4-b058-76a60c87de52 2026-04-29 16:56:48,624 - DEBUG - VM ctest-TestBasicPolicy-20443018-13622350 launched on Node cn-jenkins-deploy-platform-ansible-os-5711-1 2026-04-29 16:56:48,692 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/4fb9a2ed-6e3d-4cb4-b058-76a60c87de52 2026-04-29 16:56:48,698 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/65bca71e-eb9d-4bc9-8e43-0ca6bc08b13d 2026-04-29 16:56:49,922 - 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.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.861 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.861/2.600/4.340/1.739 ms') 2026-04-29 16:56:49,923 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-20443018-13622350 passed 2026-04-29 16:56:50,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 16:56:50,070 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20443018-13622350, IP 14.173.184.3, Port 22 2026-04-29 16:56:50,231 - DEBUG - VM ctest-TestBasicPolicy-20443018-13622350 is ready for SSH connections 2026-04-29 16:56:50,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 16:56:50,231 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.173.184.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-04-29 16:56:50,231 - DEBUG - ping -s 56 -c 3 -W 1 14.173.184.3 2026-04-29 16:56:54,274 - DEBUG - PING 14.173.184.3 (14.173.184.3): 56 data bytes 64 bytes from 14.173.184.3: seq=0 ttl=63 time=5.028 ms 64 bytes from 14.173.184.3: seq=1 ttl=63 time=0.797 ms 64 bytes from 14.173.184.3: seq=2 ttl=63 time=0.764 ms --- 14.173.184.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.764/2.196/5.028 ms 2026-04-29 16:56:54,274 - INFO - Ping to IP 14.173.184.3 from VM ctest-TestBasicPolicy-20443018-26882015 passed 2026-04-29 16:56:54,450 - DEBUG - Policy Update Response {"network-policy": {"uuid": "81844c32-8478-4251-a7dc-01dd7d5ed9c2", "href": "http://10.0.0.249:8082/network-policy/81844c32-8478-4251-a7dc-01dd7d5ed9c2"}} 2026-04-29 16:56:54,450 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 16:56:54,450 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.173.184.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-04-29 16:56:54,450 - DEBUG - ping -s 56 -c 3 -W 1 14.173.184.3 2026-04-29 16:56:57,667 - DEBUG - PING 14.173.184.3 (14.173.184.3): 56 data bytes --- 14.173.184.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-29 16:56:57,667 - WARNING - Ping to IP 14.173.184.3 from VM ctest-TestBasicPolicy-20443018-26882015 failed 2026-04-29 16:56:57,667 - INFO - Deleting VM ctest-TestBasicPolicy-20443018-13622350 2026-04-29 16:56:57,749 - INFO - Deleting VM ctest-TestBasicPolicy-20443018-26882015 2026-04-29 16:56:58,150 - INFO - Deleted policy ctest-policy-allow-all-45190608 2026-04-29 16:56:58,150 - INFO - Deleting VN ctest-vn-24322957 2026-04-29 16:56:58,188 - DEBUG - VN e66202d2-b331-4708-89b8-b43c33f03788 still in use: Unable to complete operation on network e66202d2-b331-4708-89b8-b43c33f03788. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1350b31d-6ba8-4fde-82ab-9bc5dfeec505'] 2026-04-29 16:56:58,188 - WARNING - Deleting VN ctest-vn-24322957 failed..Will retry 2026-04-29 16:57:00,290 - DEBUG - Response for deleting network () 2026-04-29 16:57:00,290 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1262391e-8064-4376-9b04-b346963965fb 2026-04-29 16:57:00,297 - DEBUG - Response Code: 404 2026-04-29 16:57:00,298 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-29 16:57:00,303 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5bdd3b40-301b-4528-af32-0158024f366c 2026-04-29 16:57:00,355 - DEBUG - Requesting: http://10.0.0.249:8082/project/4d3e5c83-901b-41d1-a2a5-1004761a18bf 2026-04-29 16:57:00,427 - INFO - Validated that VN ctest-vn-24322957 is not found in API Server 2026-04-29 16:57:00,436 - DEBUG - VN ctest-vn-24322957 is not present in Agent 10.0.0.249 2026-04-29 16:57:00,436 - INFO - Validated that VN ctest-vn-24322957 is not in any agent 2026-04-29 16:57:00,447 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24322957 info 2026-04-29 16:57:00,447 - INFO - Deleting VN ctest-vn-79743851 2026-04-29 16:57:00,528 - DEBUG - Response for deleting network () 2026-04-29 16:57:00,528 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/079ad954-6d58-463d-86c7-c2094e95744a 2026-04-29 16:57:00,532 - DEBUG - Response Code: 404 2026-04-29 16:57:00,532 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-29 16:57:00,538 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5bdd3b40-301b-4528-af32-0158024f366c 2026-04-29 16:57:00,592 - DEBUG - Requesting: http://10.0.0.249:8082/project/4d3e5c83-901b-41d1-a2a5-1004761a18bf 2026-04-29 16:57:00,660 - INFO - Validated that VN ctest-vn-79743851 is not found in API Server 2026-04-29 16:57:00,669 - DEBUG - VN ctest-vn-79743851 is not present in Agent 10.0.0.249 2026-04-29 16:57:00,669 - INFO - Validated that VN ctest-vn-79743851 is not in any agent 2026-04-29 16:57:00,680 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79743851 info 2026-04-29 16:57:00,950 - DEBUG - No XMPP flaps were noticed during the test
2026-04-29 16:57:00,950 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-04-29 16:57:00,950 - INFO - -------------------------------------------------------------------------------- 2026-04-29 16:57:01,639 - INFO - Deleted project: ctest-TestBasicPolicy-20443018, ID : 4d3e5c83-901b-41d1-a2a5-1004761a18bf