2026-04-28 12:51:44,373 - INFO - Domain Default found not creating 2026-04-28 12:51:44,588 - INFO - Project ctest-TestBasicPolicy-24576700 not found, creating it 2026-04-28 12:51:45,094 - INFO - Created Project:ctest-TestBasicPolicy-24576700, ID : fba4474d-69d4-4de3-a659-cae198650220 2026-04-28 12:51:46,884 - INFO - ================================================================================ 2026-04-28 12:51:46,884 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-28 12:51:46,884 - 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-28 12:51:47,158 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-04-28 12:51:47,158 - INFO - Initial checks done. Running the testcase now 2026-04-28 12:51:47,158 - INFO - 2026-04-28 12:51:47,825 - DEBUG - Response for create_network : {'network': {'id': '16632303-6335-46d1-980d-d2cd74636dd6', 'name': 'ctest-vn-31492091', 'tenant_id': 'fba4474d69d44de3a659cae198650220', 'project_id': 'fba4474d69d44de3a659cae198650220', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24576700', 'ctest-vn-31492091'], 'port_security_enabled': True, 'description': ''}} 2026-04-28 12:51:48,034 - DEBUG - Response for create_subnet : {'subnet': {'id': '69787568-f6f6-4684-801e-532c3d6bad19', 'name': '', 'tenant_id': 'fba4474d69d44de3a659cae198650220', 'network_id': '16632303-6335-46d1-980d-d2cd74636dd6', 'ip_version': 4, 'cidr': '120.29.135.0/26', 'allocation_pools': [{'start': '120.29.135.2', 'end': '120.29.135.62'}], 'gateway_ip': '120.29.135.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.29.135.2', 'tags': [], 'project_id': 'fba4474d69d44de3a659cae198650220'}} 2026-04-28 12:51:48,058 - INFO - Created VN ctest-vn-31492091 2026-04-28 12:51:48,113 - DEBUG - VN ctest-vn-31492091 UUID is 16632303-6335-46d1-980d-d2cd74636dd6 2026-04-28 12:51:48,473 - DEBUG - Response for create_network : {'network': {'id': 'fc99e0a6-dc19-4c73-a588-64f7aeb94acb', 'name': 'ctest-vn-11081597', 'tenant_id': 'fba4474d69d44de3a659cae198650220', 'project_id': 'fba4474d69d44de3a659cae198650220', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24576700', 'ctest-vn-11081597'], 'port_security_enabled': True, 'description': ''}} 2026-04-28 12:51:48,686 - DEBUG - Response for create_subnet : {'subnet': {'id': '65007994-364c-42d5-94bb-494d704e7045', 'name': '', 'tenant_id': 'fba4474d69d44de3a659cae198650220', 'network_id': 'fc99e0a6-dc19-4c73-a588-64f7aeb94acb', 'ip_version': 4, 'cidr': '3.212.36.192/26', 'allocation_pools': [{'start': '3.212.36.194', 'end': '3.212.36.254'}], 'gateway_ip': '3.212.36.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.212.36.194', 'tags': [], 'project_id': 'fba4474d69d44de3a659cae198650220'}} 2026-04-28 12:51:48,712 - INFO - Created VN ctest-vn-11081597 2026-04-28 12:51:48,769 - DEBUG - VN ctest-vn-11081597 UUID is fc99e0a6-dc19-4c73-a588-64f7aeb94acb 2026-04-28 12:51:48,890 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-24576700:ctest-vn-31492091, 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-24576700:ctest-vn-11081597, 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-28 12:51:49,208 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '16632303-6335-46d1-980d-d2cd74636dd6', 'name': 'ctest-vn-31492091', 'tenant_id': 'fba4474d69d44de3a659cae198650220', 'project_id': 'fba4474d69d44de3a659cae198650220', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['69787568-f6f6-4684-801e-532c3d6bad19'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24576700', 'ctest-vn-31492091'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24576700', 'ctest-policy-allow-all-72037879']], 'subnet_ipam': [{'subnet_cidr': '120.29.135.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-28 12:51:49,448 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fc99e0a6-dc19-4c73-a588-64f7aeb94acb', 'name': 'ctest-vn-11081597', 'tenant_id': 'fba4474d69d44de3a659cae198650220', 'project_id': 'fba4474d69d44de3a659cae198650220', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['65007994-364c-42d5-94bb-494d704e7045'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24576700', 'ctest-vn-11081597'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24576700', 'ctest-policy-allow-all-72037879']], 'subnet_ipam': [{'subnet_cidr': '3.212.36.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-28 12:51:49,617 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-28 12:51:49,961 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-28 12:51:49,998 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d964e631-b55e-466d-a482-780e7ad2a746 2026-04-28 12:51:50,012 - DEBUG - Requesting: http://10.0.0.38:8082/project/fba4474d-69d4-4de3-a659-cae198650220 2026-04-28 12:51:50,094 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/16632303-6335-46d1-980d-d2cd74636dd6 2026-04-28 12:51:50,106 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/16632303-6335-46d1-980d-d2cd74636dd6 2026-04-28 12:51:50,118 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0a66fbc3-cb0c-4d1a-8789-d5ee8f4c542c 2026-04-28 12:51:50,127 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0a66fbc3-cb0c-4d1a-8789-d5ee8f4c542c 2026-04-28 12:51:50,134 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ee55f4ea-15b4-4efd-afc0-6e6585e71193 2026-04-28 12:51:50,143 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-28 12:51:50,143 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/16632303-6335-46d1-980d-d2cd74636dd6 2026-04-28 12:51:50,154 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0a66fbc3-cb0c-4d1a-8789-d5ee8f4c542c 2026-04-28 12:51:50,171 - INFO - Verified VN network id 10 for VN 16632303-6335-46d1-980d-d2cd74636dd6 2026-04-28 12:51:50,171 - INFO - Verifications in API Server for VN ctest-vn-31492091 passed 2026-04-28 12:51:50,171 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/16632303-6335-46d1-980d-d2cd74636dd6 2026-04-28 12:51:50,183 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0a66fbc3-cb0c-4d1a-8789-d5ee8f4c542c 2026-04-28 12:51:50,192 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0a66fbc3-cb0c-4d1a-8789-d5ee8f4c542c 2026-04-28 12:51:50,200 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ee55f4ea-15b4-4efd-afc0-6e6585e71193 2026-04-28 12:51:50,215 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24576700:ctest-vn-31492091', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24576700', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1613171588985079505', 'uuid-lslong': '10956645248325086678'}, 'enable': 'true', 'created': '2026-04-28T12:51:47', 'last-modified': '2026-04-28T12:51:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.044602'} 2026-04-28 12:51:50,224 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-28 12:51:50,224 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31492091 passed 2026-04-28 12:51:50,224 - DEBUG - ====Verifying policy data for ctest-vn-31492091 in API_Server ====== 2026-04-28 12:51:50,225 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-28 12:51:50,231 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d964e631-b55e-466d-a482-780e7ad2a746 2026-04-28 12:51:50,244 - DEBUG - Requesting: http://10.0.0.38:8082/project/fba4474d-69d4-4de3-a659-cae198650220 2026-04-28 12:51:50,321 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/16632303-6335-46d1-980d-d2cd74636dd6 2026-04-28 12:51:50,334 - DEBUG - ==>Verifying data for policy with id: 196cf2f3-198b-4d55-91fb-5b11bb662358, fqn: ['default-domain', 'ctest-TestBasicPolicy-24576700', 'ctest-policy-allow-all-72037879'] 2026-04-28 12:51:50,334 - INFO - VN ctest-vn-31492091 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-28 12:51:50,334 - DEBUG - Verifying the vn in opserver 2026-04-28 12:51:50,334 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24576700:ctest-vn-31492091 virtual network link through opserver 10.0.0.38 2026-04-28 12:51:50,334 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-28 12:51:50,680 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-28 12:51:50,763 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24576700:ctest-vn-31492091', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24576700:ctest-vn-31492091?flat'} 2026-04-28 12:51:50,763 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24576700:ctest-vn-31492091 is found in opserver 2026-04-28 12:51:50,774 - DEBUG - Do not have enough data to verify VN in agent 2026-04-28 12:51:50,780 - DEBUG - VRF ids for VN ctest-vn-31492091: {} 2026-04-28 12:51:50,780 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-28 12:51:50,787 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d964e631-b55e-466d-a482-780e7ad2a746 2026-04-28 12:51:50,800 - DEBUG - Requesting: http://10.0.0.38:8082/project/fba4474d-69d4-4de3-a659-cae198650220 2026-04-28 12:51:50,881 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fc99e0a6-dc19-4c73-a588-64f7aeb94acb 2026-04-28 12:51:50,896 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fc99e0a6-dc19-4c73-a588-64f7aeb94acb 2026-04-28 12:51:50,907 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/52f2ca82-1cd6-41de-9890-28f8f718a482 2026-04-28 12:51:50,916 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/52f2ca82-1cd6-41de-9890-28f8f718a482 2026-04-28 12:51:50,923 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/91be5511-ba57-4443-a201-b0ab69ce548e 2026-04-28 12:51:50,931 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-28 12:51:50,931 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fc99e0a6-dc19-4c73-a588-64f7aeb94acb 2026-04-28 12:51:50,941 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/52f2ca82-1cd6-41de-9890-28f8f718a482 2026-04-28 12:51:50,956 - INFO - Verified VN network id 11 for VN fc99e0a6-dc19-4c73-a588-64f7aeb94acb 2026-04-28 12:51:50,956 - INFO - Verifications in API Server for VN ctest-vn-11081597 passed 2026-04-28 12:51:50,956 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fc99e0a6-dc19-4c73-a588-64f7aeb94acb 2026-04-28 12:51:50,967 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/52f2ca82-1cd6-41de-9890-28f8f718a482 2026-04-28 12:51:50,978 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/52f2ca82-1cd6-41de-9890-28f8f718a482 2026-04-28 12:51:50,988 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/91be5511-ba57-4443-a201-b0ab69ce548e 2026-04-28 12:51:51,002 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24576700:ctest-vn-11081597', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24576700', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18201826376256408691', 'uuid-lslong': '11927894628041837259'}, 'enable': 'true', 'created': '2026-04-28T12:51:48', 'last-modified': '2026-04-28T12:51:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.587080'} 2026-04-28 12:51:51,008 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-28 12:51:51,008 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11081597 passed 2026-04-28 12:51:51,009 - DEBUG - ====Verifying policy data for ctest-vn-11081597 in API_Server ====== 2026-04-28 12:51:51,009 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-28 12:51:51,014 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d964e631-b55e-466d-a482-780e7ad2a746 2026-04-28 12:51:51,026 - DEBUG - Requesting: http://10.0.0.38:8082/project/fba4474d-69d4-4de3-a659-cae198650220 2026-04-28 12:51:51,098 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fc99e0a6-dc19-4c73-a588-64f7aeb94acb 2026-04-28 12:51:51,110 - DEBUG - ==>Verifying data for policy with id: 196cf2f3-198b-4d55-91fb-5b11bb662358, fqn: ['default-domain', 'ctest-TestBasicPolicy-24576700', 'ctest-policy-allow-all-72037879'] 2026-04-28 12:51:51,110 - INFO - VN ctest-vn-11081597 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-28 12:51:51,110 - DEBUG - Verifying the vn in opserver 2026-04-28 12:51:51,110 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24576700:ctest-vn-11081597 virtual network link through opserver 10.0.0.38 2026-04-28 12:51:51,110 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-28 12:51:51,122 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24576700:ctest-vn-11081597', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24576700:ctest-vn-11081597?flat'} 2026-04-28 12:51:51,122 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24576700:ctest-vn-11081597 is found in opserver 2026-04-28 12:51:51,134 - DEBUG - Do not have enough data to verify VN in agent 2026-04-28 12:51:51,141 - DEBUG - VRF ids for VN ctest-vn-11081597: {} 2026-04-28 12:51:51,223 - DEBUG - Services list from nova: [, , ] 2026-04-28 12:51:52,413 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5701-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5701-1) 2026-04-28 12:51:53,835 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5701-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5701-1) 2026-04-28 12:51:53,835 - INFO - Waiting for VM ctest-TestBasicPolicy-24576700-31039514 to be up.. 2026-04-28 12:51:53,934 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-28 12:51:59,043 - DEBUG - VM is in ACTIVE state now 2026-04-28 12:51:59,044 - INFO - VM name : ctest-TestBasicPolicy-24576700-31039514 2026-04-28 12:51:59,165 - DEBUG - VM ctest-TestBasicPolicy-24576700-31039514 ID is 9abfe379-9c10-438a-b6a6-1498e7d39171 2026-04-28 12:51:59,197 - DEBUG - VM ctest-TestBasicPolicy-24576700-31039514 launched on Node cn-jenkins-deploy-platform-ansible-os-5701-1 2026-04-28 12:51:59,301 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9abfe379-9c10-438a-b6a6-1498e7d39171 2026-04-28 12:51:59,310 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/45271267-32d8-4950-a84d-7d76752bf9b0 2026-04-28 12:52:02,563 - 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 1004ms') 2026-04-28 12:52:02,563 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24576700-31039514 failed! 2026-04-28 12:52:02,617 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-24576700:ctest-vn-31492091 is 120.29.135.1 and allocation pool is NOT set 2026-04-28 12:52:06,687 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=11.1 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1009ms\r\nrtt min/avg/max/mdev = 11.079/11.079/11.079/0.000 ms') 2026-04-28 12:52:06,687 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24576700-31039514 passed 2026-04-28 12:52:06,845 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 12:52:06,845 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24576700-31039514, IP 120.29.135.3, Port 22 2026-04-28 12:52:07,011 - DEBUG - VM ctest-TestBasicPolicy-24576700-31039514 is ready for SSH connections 2026-04-28 12:52:07,011 - INFO - Waiting for VM ctest-TestBasicPolicy-24576700-40550413 to be up.. 2026-04-28 12:52:07,125 - DEBUG - VM is in ACTIVE state now 2026-04-28 12:52:07,125 - INFO - VM name : ctest-TestBasicPolicy-24576700-40550413 2026-04-28 12:52:07,229 - DEBUG - VM ctest-TestBasicPolicy-24576700-40550413 ID is 8f9d78fe-b8aa-40e0-84ba-88f166d231a6 2026-04-28 12:52:07,229 - DEBUG - VM ctest-TestBasicPolicy-24576700-40550413 launched on Node cn-jenkins-deploy-platform-ansible-os-5701-1 2026-04-28 12:52:07,339 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8f9d78fe-b8aa-40e0-84ba-88f166d231a6 2026-04-28 12:52:07,349 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0926a42b-013b-450b-a09c-c2e42728a7cf 2026-04-28 12:52:08,604 - 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=6.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.909 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.909/3.486/6.064/2.577 ms') 2026-04-28 12:52:08,604 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-24576700-40550413 passed 2026-04-28 12:52:08,753 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 12:52:08,753 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24576700-40550413, IP 3.212.36.195, Port 22 2026-04-28 12:52:08,923 - DEBUG - VM ctest-TestBasicPolicy-24576700-40550413 is ready for SSH connections 2026-04-28 12:52:08,923 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 12:52:08,923 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.212.36.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-28 12:52:08,923 - DEBUG - ping -s 56 -c 3 -W 1 3.212.36.195 2026-04-28 12:52:13,175 - DEBUG - PING 3.212.36.195 (3.212.36.195): 56 data bytes 64 bytes from 3.212.36.195: seq=0 ttl=63 time=5.135 ms 64 bytes from 3.212.36.195: seq=1 ttl=63 time=0.947 ms 64 bytes from 3.212.36.195: seq=2 ttl=63 time=1.213 ms --- 3.212.36.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.947/2.431/5.135 ms 2026-04-28 12:52:13,175 - INFO - Ping to IP 3.212.36.195 from VM ctest-TestBasicPolicy-24576700-31039514 passed 2026-04-28 12:52:13,357 - DEBUG - Policy Update Response {"network-policy": {"uuid": "196cf2f3-198b-4d55-91fb-5b11bb662358", "href": "http://10.0.0.38:8082/network-policy/196cf2f3-198b-4d55-91fb-5b11bb662358"}} 2026-04-28 12:52:13,357 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 12:52:13,357 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.212.36.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-28 12:52:13,357 - DEBUG - ping -s 56 -c 3 -W 1 3.212.36.195 2026-04-28 12:52:16,631 - DEBUG - PING 3.212.36.195 (3.212.36.195): 56 data bytes --- 3.212.36.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-28 12:52:16,632 - WARNING - Ping to IP 3.212.36.195 from VM ctest-TestBasicPolicy-24576700-31039514 failed 2026-04-28 12:52:16,632 - INFO - Deleting VM ctest-TestBasicPolicy-24576700-40550413 2026-04-28 12:52:16,708 - INFO - Deleting VM ctest-TestBasicPolicy-24576700-31039514 2026-04-28 12:52:17,184 - INFO - Deleted policy ctest-policy-allow-all-72037879 2026-04-28 12:52:17,184 - INFO - Deleting VN ctest-vn-11081597 2026-04-28 12:52:17,233 - DEBUG - VN fc99e0a6-dc19-4c73-a588-64f7aeb94acb still in use: Unable to complete operation on network fc99e0a6-dc19-4c73-a588-64f7aeb94acb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-006b809e-fe9b-4d23-b8ff-40601b90ee03'] 2026-04-28 12:52:17,233 - WARNING - Deleting VN ctest-vn-11081597 failed..Will retry 2026-04-28 12:52:19,351 - DEBUG - Response for deleting network () 2026-04-28 12:52:19,351 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/52f2ca82-1cd6-41de-9890-28f8f718a482 2026-04-28 12:52:19,357 - DEBUG - Response Code: 404 2026-04-28 12:52:19,357 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-28 12:52:19,368 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d964e631-b55e-466d-a482-780e7ad2a746 2026-04-28 12:52:19,423 - DEBUG - Requesting: http://10.0.0.38:8082/project/fba4474d-69d4-4de3-a659-cae198650220 2026-04-28 12:52:19,496 - INFO - Validated that VN ctest-vn-11081597 is not found in API Server 2026-04-28 12:52:19,508 - DEBUG - VN ctest-vn-11081597 is not present in Agent 10.0.0.38 2026-04-28 12:52:19,509 - INFO - Validated that VN ctest-vn-11081597 is not in any agent 2026-04-28 12:52:19,526 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11081597 info 2026-04-28 12:52:19,526 - INFO - Deleting VN ctest-vn-31492091 2026-04-28 12:52:19,649 - DEBUG - Response for deleting network () 2026-04-28 12:52:19,649 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0a66fbc3-cb0c-4d1a-8789-d5ee8f4c542c 2026-04-28 12:52:19,655 - DEBUG - Response Code: 404 2026-04-28 12:52:19,655 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-28 12:52:19,662 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d964e631-b55e-466d-a482-780e7ad2a746 2026-04-28 12:52:19,719 - DEBUG - Requesting: http://10.0.0.38:8082/project/fba4474d-69d4-4de3-a659-cae198650220 2026-04-28 12:52:19,797 - INFO - Validated that VN ctest-vn-31492091 is not found in API Server 2026-04-28 12:52:19,809 - DEBUG - VN ctest-vn-31492091 is not present in Agent 10.0.0.38 2026-04-28 12:52:19,810 - INFO - Validated that VN ctest-vn-31492091 is not in any agent 2026-04-28 12:52:19,830 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31492091 info 2026-04-28 12:52:20,103 - DEBUG - No XMPP flaps were noticed during the test
2026-04-28 12:52:20,103 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34]
2026-04-28 12:52:20,103 - INFO - -------------------------------------------------------------------------------- 2026-04-28 12:52:20,882 - INFO - Deleted project: ctest-TestBasicPolicy-24576700, ID : fba4474d-69d4-4de3-a659-cae198650220