2025-08-20 09:08:43,991 - INFO - Domain Default found not creating 2025-08-20 09:08:44,113 - INFO - Project ctest-TestBasicPolicy-24789124 not found, creating it 2025-08-20 09:08:44,533 - INFO - Created Project:ctest-TestBasicPolicy-24789124, ID : 1db65d3c-7437-42de-8701-355a4d66af89 2025-08-20 09:08:45,833 - INFO - ================================================================================ 2025-08-20 09:08:45,833 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-20 09:08:45,833 - 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 2025-08-20 09:08:46,081 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.0.0.50': '0'}} with 2025-08-20 09:08:46,081 - INFO - Initial checks done. Running the testcase now 2025-08-20 09:08:46,081 - INFO - 2025-08-20 09:08:46,588 - DEBUG - Response for create_network : {'network': {'id': 'f513d1b4-393a-475d-b230-6ee88b9afda7', 'name': 'ctest-vn-81297669', 'tenant_id': '1db65d3c743742de8701355a4d66af89', 'project_id': '1db65d3c743742de8701355a4d66af89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24789124', 'ctest-vn-81297669'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 09:08:46,754 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd1d9b171-cfa1-48c1-bd85-fb04f22a48f1', 'name': '', 'tenant_id': '1db65d3c743742de8701355a4d66af89', 'network_id': 'f513d1b4-393a-475d-b230-6ee88b9afda7', 'ip_version': 4, 'cidr': '135.29.127.128/26', 'allocation_pools': [{'start': '135.29.127.130', 'end': '135.29.127.190'}], 'gateway_ip': '135.29.127.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.29.127.130', 'tags': [], 'project_id': '1db65d3c743742de8701355a4d66af89'}} 2025-08-20 09:08:46,771 - INFO - Created VN ctest-vn-81297669 2025-08-20 09:08:46,823 - DEBUG - VN ctest-vn-81297669 UUID is f513d1b4-393a-475d-b230-6ee88b9afda7 2025-08-20 09:08:47,121 - DEBUG - Response for create_network : {'network': {'id': 'abf6852c-c3b7-482f-9a52-fafb46e5f9db', 'name': 'ctest-vn-87596383', 'tenant_id': '1db65d3c743742de8701355a4d66af89', 'project_id': '1db65d3c743742de8701355a4d66af89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24789124', 'ctest-vn-87596383'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 09:08:47,270 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad6a05b6-aafc-43b4-9b02-d7a1c4292687', 'name': '', 'tenant_id': '1db65d3c743742de8701355a4d66af89', 'network_id': 'abf6852c-c3b7-482f-9a52-fafb46e5f9db', 'ip_version': 4, 'cidr': '183.175.90.128/26', 'allocation_pools': [{'start': '183.175.90.130', 'end': '183.175.90.190'}], 'gateway_ip': '183.175.90.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.175.90.130', 'tags': [], 'project_id': '1db65d3c743742de8701355a4d66af89'}} 2025-08-20 09:08:47,286 - INFO - Created VN ctest-vn-87596383 2025-08-20 09:08:47,335 - DEBUG - VN ctest-vn-87596383 UUID is abf6852c-c3b7-482f-9a52-fafb46e5f9db 2025-08-20 09:08:47,479 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-24789124:ctest-vn-81297669, 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-24789124:ctest-vn-87596383, 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] 2025-08-20 09:08:47,780 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f513d1b4-393a-475d-b230-6ee88b9afda7', 'name': 'ctest-vn-81297669', 'tenant_id': '1db65d3c743742de8701355a4d66af89', 'project_id': '1db65d3c743742de8701355a4d66af89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d1d9b171-cfa1-48c1-bd85-fb04f22a48f1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24789124', 'ctest-vn-81297669'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24789124', 'ctest-policy-allow-all-52902220']], 'subnet_ipam': [{'subnet_cidr': '135.29.127.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-20 09:08:48,002 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'abf6852c-c3b7-482f-9a52-fafb46e5f9db', 'name': 'ctest-vn-87596383', 'tenant_id': '1db65d3c743742de8701355a4d66af89', 'project_id': '1db65d3c743742de8701355a4d66af89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ad6a05b6-aafc-43b4-9b02-d7a1c4292687'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24789124', 'ctest-vn-87596383'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24789124', 'ctest-policy-allow-all-52902220']], 'subnet_ipam': [{'subnet_cidr': '183.175.90.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-20 09:08:48,119 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-20 09:08:48,406 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-20 09:08:48,438 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e8a7ce66-cd45-4e0f-bb23-46d15f99ef7e 2025-08-20 09:08:48,474 - DEBUG - Requesting: http://10.0.0.50:8082/project/1db65d3c-7437-42de-8701-355a4d66af89 2025-08-20 09:08:48,516 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f513d1b4-393a-475d-b230-6ee88b9afda7 2025-08-20 09:08:48,530 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f513d1b4-393a-475d-b230-6ee88b9afda7 2025-08-20 09:08:48,539 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f77c7e30-1c94-45ca-8afe-7855495d7a7f 2025-08-20 09:08:48,545 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f77c7e30-1c94-45ca-8afe-7855495d7a7f 2025-08-20 09:08:48,551 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/36ce6598-0bc7-45c2-b1df-0fb532589389 2025-08-20 09:08:48,556 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-20 09:08:48,556 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f513d1b4-393a-475d-b230-6ee88b9afda7 2025-08-20 09:08:48,563 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f77c7e30-1c94-45ca-8afe-7855495d7a7f 2025-08-20 09:08:48,575 - INFO - Verified VN network id 12 for VN f513d1b4-393a-475d-b230-6ee88b9afda7 2025-08-20 09:08:48,575 - INFO - Verifications in API Server for VN ctest-vn-81297669 passed 2025-08-20 09:08:48,575 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f513d1b4-393a-475d-b230-6ee88b9afda7 2025-08-20 09:08:48,582 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f77c7e30-1c94-45ca-8afe-7855495d7a7f 2025-08-20 09:08:48,588 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f77c7e30-1c94-45ca-8afe-7855495d7a7f 2025-08-20 09:08:48,594 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/36ce6598-0bc7-45c2-b1df-0fb532589389 2025-08-20 09:08:48,649 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24789124:ctest-vn-81297669', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24789124', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17659689135834285917', 'uuid-lslong': '12839884482686942631'}, 'enable': 'true', 'created': '2025-08-20T09:08:46', 'last-modified': '2025-08-20T09:08:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.893815'} 2025-08-20 09:08:48,654 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-20 09:08:48,654 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81297669 passed 2025-08-20 09:08:48,654 - DEBUG - ====Verifying policy data for ctest-vn-81297669 in API_Server ====== 2025-08-20 09:08:48,654 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-20 09:08:48,659 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e8a7ce66-cd45-4e0f-bb23-46d15f99ef7e 2025-08-20 09:08:48,668 - DEBUG - Requesting: http://10.0.0.50:8082/project/1db65d3c-7437-42de-8701-355a4d66af89 2025-08-20 09:08:48,737 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f513d1b4-393a-475d-b230-6ee88b9afda7 2025-08-20 09:08:48,745 - DEBUG - ==>Verifying data for policy with id: 6e107cca-69df-4c14-8ee0-581a73100928, fqn: ['default-domain', 'ctest-TestBasicPolicy-24789124', 'ctest-policy-allow-all-52902220'] 2025-08-20 09:08:48,745 - INFO - VN ctest-vn-81297669 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-20 09:08:48,745 - DEBUG - Verifying the vn in opserver 2025-08-20 09:08:48,745 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24789124:ctest-vn-81297669 virtual network link through opserver 10.0.0.50 2025-08-20 09:08:48,745 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-20 09:08:49,034 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-20 09:08:49,083 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24789124:ctest-vn-81297669', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24789124:ctest-vn-81297669?flat'} 2025-08-20 09:08:49,083 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24789124:ctest-vn-81297669 is found in opserver 2025-08-20 09:08:49,092 - DEBUG - Do not have enough data to verify VN in agent 2025-08-20 09:08:49,096 - DEBUG - VRF ids for VN ctest-vn-81297669: {} 2025-08-20 09:08:49,097 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-20 09:08:49,101 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e8a7ce66-cd45-4e0f-bb23-46d15f99ef7e 2025-08-20 09:08:49,111 - DEBUG - Requesting: http://10.0.0.50:8082/project/1db65d3c-7437-42de-8701-355a4d66af89 2025-08-20 09:08:49,184 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/abf6852c-c3b7-482f-9a52-fafb46e5f9db 2025-08-20 09:08:49,195 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/abf6852c-c3b7-482f-9a52-fafb46e5f9db 2025-08-20 09:08:49,204 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/09a263bc-6e46-428d-b603-09fc50d2fe51 2025-08-20 09:08:49,210 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/09a263bc-6e46-428d-b603-09fc50d2fe51 2025-08-20 09:08:49,217 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9504a470-9bfc-438b-8c4a-85e6437a8513 2025-08-20 09:08:49,223 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-20 09:08:49,223 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/abf6852c-c3b7-482f-9a52-fafb46e5f9db 2025-08-20 09:08:49,232 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/09a263bc-6e46-428d-b603-09fc50d2fe51 2025-08-20 09:08:49,244 - INFO - Verified VN network id 13 for VN abf6852c-c3b7-482f-9a52-fafb46e5f9db 2025-08-20 09:08:49,244 - INFO - Verifications in API Server for VN ctest-vn-87596383 passed 2025-08-20 09:08:49,244 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/abf6852c-c3b7-482f-9a52-fafb46e5f9db 2025-08-20 09:08:49,252 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/09a263bc-6e46-428d-b603-09fc50d2fe51 2025-08-20 09:08:49,257 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/09a263bc-6e46-428d-b603-09fc50d2fe51 2025-08-20 09:08:49,263 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9504a470-9bfc-438b-8c4a-85e6437a8513 2025-08-20 09:08:49,272 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24789124:ctest-vn-87596383', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24789124', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12391237852065122351', 'uuid-lslong': '11120226387064388059'}, 'enable': 'true', 'created': '2025-08-20T09:08:47', 'last-modified': '2025-08-20T09:08:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.289148'} 2025-08-20 09:08:49,278 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-20 09:08:49,278 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87596383 passed 2025-08-20 09:08:49,278 - DEBUG - ====Verifying policy data for ctest-vn-87596383 in API_Server ====== 2025-08-20 09:08:49,278 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-20 09:08:49,283 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e8a7ce66-cd45-4e0f-bb23-46d15f99ef7e 2025-08-20 09:08:49,293 - DEBUG - Requesting: http://10.0.0.50:8082/project/1db65d3c-7437-42de-8701-355a4d66af89 2025-08-20 09:08:49,362 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/abf6852c-c3b7-482f-9a52-fafb46e5f9db 2025-08-20 09:08:49,370 - DEBUG - ==>Verifying data for policy with id: 6e107cca-69df-4c14-8ee0-581a73100928, fqn: ['default-domain', 'ctest-TestBasicPolicy-24789124', 'ctest-policy-allow-all-52902220'] 2025-08-20 09:08:49,370 - INFO - VN ctest-vn-87596383 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-20 09:08:49,370 - DEBUG - Verifying the vn in opserver 2025-08-20 09:08:49,370 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24789124:ctest-vn-87596383 virtual network link through opserver 10.0.0.50 2025-08-20 09:08:49,370 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-20 09:08:49,379 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24789124:ctest-vn-87596383', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24789124:ctest-vn-87596383?flat'} 2025-08-20 09:08:49,379 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24789124:ctest-vn-87596383 is found in opserver 2025-08-20 09:08:49,389 - DEBUG - Do not have enough data to verify VN in agent 2025-08-20 09:08:49,393 - DEBUG - VRF ids for VN ctest-vn-87596383: {} 2025-08-20 09:08:49,445 - DEBUG - Services list from nova: [, , ] 2025-08-20 09:08:50,397 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3889-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3889-1) 2025-08-20 09:08:51,443 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3889-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3889-1) 2025-08-20 09:08:51,443 - INFO - Waiting for VM ctest-TestBasicPolicy-24789124-51387265 to be up.. 2025-08-20 09:08:51,515 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-20 09:08:56,583 - DEBUG - VM is in ACTIVE state now 2025-08-20 09:08:56,583 - INFO - VM name : ctest-TestBasicPolicy-24789124-51387265 2025-08-20 09:08:56,643 - DEBUG - VM ctest-TestBasicPolicy-24789124-51387265 ID is 8aba50e0-766f-4746-a004-a62443aa84b9 2025-08-20 09:08:56,658 - DEBUG - VM ctest-TestBasicPolicy-24789124-51387265 launched on Node cn-jenkins-deploy-platform-ansible-os-3889-1. 2025-08-20 09:08:56,716 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8aba50e0-766f-4746-a004-a62443aa84b9 2025-08-20 09:08:56,723 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8a4fc634-4328-4631-a129-2e8455ca89de 2025-08-20 09:08:59,958 - 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') 2025-08-20 09:08:59,958 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24789124-51387265 failed! 2025-08-20 09:09:00,011 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-24789124:ctest-vn-81297669 is 135.29.127.129 and allocation pool is NOT set 2025-08-20 09:09:02,070 - 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=4.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.333 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.333/2.220/4.107/1.887 ms') 2025-08-20 09:09:02,070 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24789124-51387265 passed 2025-08-20 09:09:02,215 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:09:02,215 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24789124-51387265, IP 135.29.127.131, Port 22 2025-08-20 09:09:02,374 - DEBUG - VM ctest-TestBasicPolicy-24789124-51387265 is ready for SSH connections 2025-08-20 09:09:02,374 - INFO - Waiting for VM ctest-TestBasicPolicy-24789124-36618130 to be up.. 2025-08-20 09:09:02,438 - DEBUG - VM is in ACTIVE state now 2025-08-20 09:09:02,438 - INFO - VM name : ctest-TestBasicPolicy-24789124-36618130 2025-08-20 09:09:02,500 - DEBUG - VM ctest-TestBasicPolicy-24789124-36618130 ID is c0f122e4-d57d-4885-90b1-5d73d11eb9b0 2025-08-20 09:09:02,500 - DEBUG - VM ctest-TestBasicPolicy-24789124-36618130 launched on Node cn-jenkins-deploy-platform-ansible-os-3889-1. 2025-08-20 09:09:02,558 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c0f122e4-d57d-4885-90b1-5d73d11eb9b0 2025-08-20 09:09:02,565 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/eff49f61-8695-4879-b3d2-dd2fc9a2c05e 2025-08-20 09:09:03,791 - 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.339 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.339/1.716/3.094/1.377 ms') 2025-08-20 09:09:03,791 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-24789124-36618130 passed 2025-08-20 09:09:03,943 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:09:03,943 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24789124-36618130, IP 183.175.90.131, Port 22 2025-08-20 09:09:04,102 - DEBUG - VM ctest-TestBasicPolicy-24789124-36618130 is ready for SSH connections 2025-08-20 09:09:04,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:09:04,103 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.175.90.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-20 09:09:04,103 - DEBUG - ping -s 56 -c 3 -W 1 183.175.90.131 2025-08-20 09:09:07,764 - DEBUG - PING 183.175.90.131 (183.175.90.131): 56 data bytes 64 bytes from 183.175.90.131: seq=0 ttl=63 time=3.173 ms 64 bytes from 183.175.90.131: seq=1 ttl=63 time=0.726 ms 64 bytes from 183.175.90.131: seq=2 ttl=63 time=0.745 ms --- 183.175.90.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.726/1.548/3.173 ms 2025-08-20 09:09:07,764 - INFO - Ping to IP 183.175.90.131 from VM ctest-TestBasicPolicy-24789124-51387265 passed 2025-08-20 09:09:07,935 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6e107cca-69df-4c14-8ee0-581a73100928", "href": "http://10.0.0.50:8082/network-policy/6e107cca-69df-4c14-8ee0-581a73100928"}} 2025-08-20 09:09:07,935 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:09:07,935 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.175.90.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-20 09:09:07,935 - DEBUG - ping -s 56 -c 3 -W 1 183.175.90.131 2025-08-20 09:09:11,123 - DEBUG - PING 183.175.90.131 (183.175.90.131): 56 data bytes --- 183.175.90.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-20 09:09:11,123 - WARNING - Ping to IP 183.175.90.131 from VM ctest-TestBasicPolicy-24789124-51387265 failed 2025-08-20 09:09:11,123 - INFO - Deleting VM ctest-TestBasicPolicy-24789124-36618130 2025-08-20 09:09:11,181 - INFO - Deleting VM ctest-TestBasicPolicy-24789124-51387265 2025-08-20 09:09:11,530 - INFO - Deleted policy ctest-policy-allow-all-52902220 2025-08-20 09:09:11,530 - INFO - Deleting VN ctest-vn-87596383 2025-08-20 09:09:11,560 - DEBUG - VN abf6852c-c3b7-482f-9a52-fafb46e5f9db still in use: Unable to complete operation on network abf6852c-c3b7-482f-9a52-fafb46e5f9db. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-67930b96-acc7-4cec-9b5e-931f7efdfc84'] 2025-08-20 09:09:11,560 - WARNING - Deleting VN ctest-vn-87596383 failed..Will retry 2025-08-20 09:09:13,658 - DEBUG - Response for deleting network () 2025-08-20 09:09:13,658 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/09a263bc-6e46-428d-b603-09fc50d2fe51 2025-08-20 09:09:13,666 - DEBUG - Response Code: 404 2025-08-20 09:09:13,667 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-20 09:09:13,676 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e8a7ce66-cd45-4e0f-bb23-46d15f99ef7e 2025-08-20 09:09:13,729 - DEBUG - Requesting: http://10.0.0.50:8082/project/1db65d3c-7437-42de-8701-355a4d66af89 2025-08-20 09:09:13,794 - INFO - Validated that VN ctest-vn-87596383 is not found in API Server 2025-08-20 09:09:13,803 - DEBUG - VN ctest-vn-87596383 is not present in Agent 10.0.0.50 2025-08-20 09:09:13,803 - INFO - Validated that VN ctest-vn-87596383 is not in any agent 2025-08-20 09:09:13,816 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87596383 info 2025-08-20 09:09:13,816 - INFO - Deleting VN ctest-vn-81297669 2025-08-20 09:09:13,905 - DEBUG - Response for deleting network () 2025-08-20 09:09:13,905 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f77c7e30-1c94-45ca-8afe-7855495d7a7f 2025-08-20 09:09:13,909 - DEBUG - Response Code: 404 2025-08-20 09:09:13,909 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-20 09:09:13,915 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e8a7ce66-cd45-4e0f-bb23-46d15f99ef7e 2025-08-20 09:09:13,972 - DEBUG - Requesting: http://10.0.0.50:8082/project/1db65d3c-7437-42de-8701-355a4d66af89 2025-08-20 09:09:14,038 - INFO - Validated that VN ctest-vn-81297669 is not found in API Server 2025-08-20 09:09:14,047 - DEBUG - VN ctest-vn-81297669 is not present in Agent 10.0.0.50 2025-08-20 09:09:14,047 - INFO - Validated that VN ctest-vn-81297669 is not in any agent 2025-08-20 09:09:14,060 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81297669 info 2025-08-20 09:09:14,316 - DEBUG - No XMPP flaps were noticed during the test 2025-08-20 09:09:14,316 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-08-20 09:09:14,316 - INFO - -------------------------------------------------------------------------------- 2025-08-20 09:09:14,944 - INFO - Deleted project: ctest-TestBasicPolicy-24789124, ID : 1db65d3c-7437-42de-8701-355a4d66af89