2025-07-14 02:02:42,875 - INFO - Domain Default found not creating 2025-07-14 02:02:43,036 - INFO - Project ctest-TestBasicPolicy-55759255 not found, creating it 2025-07-14 02:02:43,531 - INFO - Created Project:ctest-TestBasicPolicy-55759255, ID : 07e68d8f-7a97-486a-8e26-56d045d48168 2025-07-14 02:02:45,046 - INFO - ================================================================================ 2025-07-14 02:02:45,046 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-14 02:02:45,046 - 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-07-14 02:02:45,299 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.200': '0'}} with 2025-07-14 02:02:45,299 - INFO - Initial checks done. Running the testcase now 2025-07-14 02:02:45,300 - INFO - 2025-07-14 02:02:45,859 - DEBUG - Response for create_network : {'network': {'id': '9560e367-8968-408d-8d40-b218af57fba7', 'name': 'ctest-vn-31844433', 'tenant_id': '07e68d8f7a97486a8e2656d045d48168', 'project_id': '07e68d8f7a97486a8e2656d045d48168', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55759255', 'ctest-vn-31844433'], 'port_security_enabled': True, 'description': ''}} 2025-07-14 02:02:46,028 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd8be3fe9-93fd-44e6-bd08-46f88c5c1918', 'name': '', 'tenant_id': '07e68d8f7a97486a8e2656d045d48168', 'network_id': '9560e367-8968-408d-8d40-b218af57fba7', 'ip_version': 4, 'cidr': '90.63.144.64/26', 'allocation_pools': [{'start': '90.63.144.66', 'end': '90.63.144.126'}], 'gateway_ip': '90.63.144.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.63.144.66', 'tags': [], 'project_id': '07e68d8f7a97486a8e2656d045d48168'}} 2025-07-14 02:02:46,049 - INFO - Created VN ctest-vn-31844433 2025-07-14 02:02:46,101 - DEBUG - VN ctest-vn-31844433 UUID is 9560e367-8968-408d-8d40-b218af57fba7 2025-07-14 02:02:46,403 - DEBUG - Response for create_network : {'network': {'id': '8cefb565-1410-421e-9182-63c77a9e6528', 'name': 'ctest-vn-89114449', 'tenant_id': '07e68d8f7a97486a8e2656d045d48168', 'project_id': '07e68d8f7a97486a8e2656d045d48168', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55759255', 'ctest-vn-89114449'], 'port_security_enabled': True, 'description': ''}} 2025-07-14 02:02:46,576 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e7f7aba-ce02-4859-98d4-a3ada3c14bda', 'name': '', 'tenant_id': '07e68d8f7a97486a8e2656d045d48168', 'network_id': '8cefb565-1410-421e-9182-63c77a9e6528', 'ip_version': 4, 'cidr': '132.147.89.128/26', 'allocation_pools': [{'start': '132.147.89.130', 'end': '132.147.89.190'}], 'gateway_ip': '132.147.89.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.147.89.130', 'tags': [], 'project_id': '07e68d8f7a97486a8e2656d045d48168'}} 2025-07-14 02:02:46,595 - INFO - Created VN ctest-vn-89114449 2025-07-14 02:02:46,649 - DEBUG - VN ctest-vn-89114449 UUID is 8cefb565-1410-421e-9182-63c77a9e6528 2025-07-14 02:02:46,842 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-55759255:ctest-vn-31844433, 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-55759255:ctest-vn-89114449, 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-07-14 02:02:47,181 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9560e367-8968-408d-8d40-b218af57fba7', 'name': 'ctest-vn-31844433', 'tenant_id': '07e68d8f7a97486a8e2656d045d48168', 'project_id': '07e68d8f7a97486a8e2656d045d48168', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d8be3fe9-93fd-44e6-bd08-46f88c5c1918'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55759255', 'ctest-vn-31844433'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55759255', 'ctest-policy-allow-all-62700184']], 'subnet_ipam': [{'subnet_cidr': '90.63.144.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-14 02:02:47,420 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8cefb565-1410-421e-9182-63c77a9e6528', 'name': 'ctest-vn-89114449', 'tenant_id': '07e68d8f7a97486a8e2656d045d48168', 'project_id': '07e68d8f7a97486a8e2656d045d48168', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5e7f7aba-ce02-4859-98d4-a3ada3c14bda'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55759255', 'ctest-vn-89114449'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55759255', 'ctest-policy-allow-all-62700184']], 'subnet_ipam': [{'subnet_cidr': '132.147.89.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-14 02:02:47,589 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-07-14 02:02:47,896 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-07-14 02:02:47,933 - DEBUG - Requesting: http://10.0.0.141:8082/domain/d45b311b-3456-473f-8bc7-c85d702ccbc9 2025-07-14 02:02:47,948 - DEBUG - Requesting: http://10.0.0.141:8082/project/07e68d8f-7a97-486a-8e26-56d045d48168 2025-07-14 02:02:48,021 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9560e367-8968-408d-8d40-b218af57fba7 2025-07-14 02:02:48,033 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9560e367-8968-408d-8d40-b218af57fba7 2025-07-14 02:02:48,043 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/00d3c22e-bb52-48bb-87a9-c29a0fe80e35 2025-07-14 02:02:48,051 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/00d3c22e-bb52-48bb-87a9-c29a0fe80e35 2025-07-14 02:02:48,058 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/67f49fe7-7134-44a7-8d9e-ec222709030a 2025-07-14 02:02:48,066 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-14 02:02:48,066 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9560e367-8968-408d-8d40-b218af57fba7 2025-07-14 02:02:48,075 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/00d3c22e-bb52-48bb-87a9-c29a0fe80e35 2025-07-14 02:02:48,091 - INFO - Verified VN network id 8 for VN 9560e367-8968-408d-8d40-b218af57fba7 2025-07-14 02:02:48,091 - INFO - Verifications in API Server for VN ctest-vn-31844433 passed 2025-07-14 02:02:48,092 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9560e367-8968-408d-8d40-b218af57fba7 2025-07-14 02:02:48,102 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/00d3c22e-bb52-48bb-87a9-c29a0fe80e35 2025-07-14 02:02:48,110 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/00d3c22e-bb52-48bb-87a9-c29a0fe80e35 2025-07-14 02:02:48,117 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/67f49fe7-7134-44a7-8d9e-ec222709030a 2025-07-14 02:02:48,131 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55759255:ctest-vn-31844433', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55759255', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10763853143241932941', 'uuid-lslong': '10178330976948059047'}, 'enable': 'true', 'created': '2025-07-14T02:02:45', 'last-modified': '2025-07-14T02:02:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.979720'} 2025-07-14 02:02:48,138 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-14 02:02:48,138 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31844433 passed 2025-07-14 02:02:48,138 - DEBUG - ====Verifying policy data for ctest-vn-31844433 in API_Server ====== 2025-07-14 02:02:48,138 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-07-14 02:02:48,145 - DEBUG - Requesting: http://10.0.0.141:8082/domain/d45b311b-3456-473f-8bc7-c85d702ccbc9 2025-07-14 02:02:48,157 - DEBUG - Requesting: http://10.0.0.141:8082/project/07e68d8f-7a97-486a-8e26-56d045d48168 2025-07-14 02:02:48,231 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9560e367-8968-408d-8d40-b218af57fba7 2025-07-14 02:02:48,241 - DEBUG - ==>Verifying data for policy with id: 56942c9b-f307-424c-a7e2-74316bb1cb58, fqn: ['default-domain', 'ctest-TestBasicPolicy-55759255', 'ctest-policy-allow-all-62700184'] 2025-07-14 02:02:48,241 - INFO - VN ctest-vn-31844433 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-14 02:02:48,241 - DEBUG - Verifying the vn in opserver 2025-07-14 02:02:48,241 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55759255:ctest-vn-31844433 virtual network link through opserver 10.0.0.141 2025-07-14 02:02:48,241 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-07-14 02:02:48,530 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-07-14 02:02:48,597 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55759255:ctest-vn-31844433', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55759255:ctest-vn-31844433?flat'} 2025-07-14 02:02:48,597 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55759255:ctest-vn-31844433 is found in opserver 2025-07-14 02:02:48,609 - DEBUG - Do not have enough data to verify VN in agent 2025-07-14 02:02:48,614 - DEBUG - VRF ids for VN ctest-vn-31844433: {} 2025-07-14 02:02:48,614 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-07-14 02:02:48,621 - DEBUG - Requesting: http://10.0.0.141:8082/domain/d45b311b-3456-473f-8bc7-c85d702ccbc9 2025-07-14 02:02:48,637 - DEBUG - Requesting: http://10.0.0.141:8082/project/07e68d8f-7a97-486a-8e26-56d045d48168 2025-07-14 02:02:48,716 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/8cefb565-1410-421e-9182-63c77a9e6528 2025-07-14 02:02:48,730 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/8cefb565-1410-421e-9182-63c77a9e6528 2025-07-14 02:02:48,742 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/88f11caf-d2d3-48f0-9e74-557444af920a 2025-07-14 02:02:48,751 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/88f11caf-d2d3-48f0-9e74-557444af920a 2025-07-14 02:02:48,759 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/26a8cdd5-a7c6-467b-9842-825ada3fa1b7 2025-07-14 02:02:48,766 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-14 02:02:48,766 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/8cefb565-1410-421e-9182-63c77a9e6528 2025-07-14 02:02:48,776 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/88f11caf-d2d3-48f0-9e74-557444af920a 2025-07-14 02:02:48,791 - INFO - Verified VN network id 9 for VN 8cefb565-1410-421e-9182-63c77a9e6528 2025-07-14 02:02:48,791 - INFO - Verifications in API Server for VN ctest-vn-89114449 passed 2025-07-14 02:02:48,792 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/8cefb565-1410-421e-9182-63c77a9e6528 2025-07-14 02:02:48,802 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/88f11caf-d2d3-48f0-9e74-557444af920a 2025-07-14 02:02:48,810 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/88f11caf-d2d3-48f0-9e74-557444af920a 2025-07-14 02:02:48,820 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/26a8cdd5-a7c6-467b-9842-825ada3fa1b7 2025-07-14 02:02:48,833 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55759255:ctest-vn-89114449', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55759255', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10155535130476691998', 'uuid-lslong': '10485052590878778664'}, 'enable': 'true', 'created': '2025-07-14T02:02:46', 'last-modified': '2025-07-14T02:02:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.437986'} 2025-07-14 02:02:48,840 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-14 02:02:48,840 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89114449 passed 2025-07-14 02:02:48,840 - DEBUG - ====Verifying policy data for ctest-vn-89114449 in API_Server ====== 2025-07-14 02:02:48,840 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-07-14 02:02:48,846 - DEBUG - Requesting: http://10.0.0.141:8082/domain/d45b311b-3456-473f-8bc7-c85d702ccbc9 2025-07-14 02:02:48,858 - DEBUG - Requesting: http://10.0.0.141:8082/project/07e68d8f-7a97-486a-8e26-56d045d48168 2025-07-14 02:02:48,932 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/8cefb565-1410-421e-9182-63c77a9e6528 2025-07-14 02:02:48,946 - DEBUG - ==>Verifying data for policy with id: 56942c9b-f307-424c-a7e2-74316bb1cb58, fqn: ['default-domain', 'ctest-TestBasicPolicy-55759255', 'ctest-policy-allow-all-62700184'] 2025-07-14 02:02:48,946 - INFO - VN ctest-vn-89114449 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-14 02:02:48,946 - DEBUG - Verifying the vn in opserver 2025-07-14 02:02:48,946 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55759255:ctest-vn-89114449 virtual network link through opserver 10.0.0.141 2025-07-14 02:02:48,946 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-07-14 02:02:48,959 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55759255:ctest-vn-89114449', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55759255:ctest-vn-89114449?flat'} 2025-07-14 02:02:48,959 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55759255:ctest-vn-89114449 is found in opserver 2025-07-14 02:02:48,973 - DEBUG - Do not have enough data to verify VN in agent 2025-07-14 02:02:48,978 - DEBUG - VRF ids for VN ctest-vn-89114449: {} 2025-07-14 02:02:49,041 - DEBUG - Services list from nova: [, , ] 2025-07-14 02:02:50,040 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3635-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3635-1) 2025-07-14 02:02:51,326 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3635-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3635-1) 2025-07-14 02:02:51,326 - INFO - Waiting for VM ctest-TestBasicPolicy-55759255-66903449 to be up.. 2025-07-14 02:02:51,413 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-14 02:02:56,483 - DEBUG - VM is in ACTIVE state now 2025-07-14 02:02:56,484 - INFO - VM name : ctest-TestBasicPolicy-55759255-66903449 2025-07-14 02:02:56,556 - DEBUG - VM ctest-TestBasicPolicy-55759255-66903449 ID is 0ce00e12-db33-4b56-8bea-1fd7f37027cb 2025-07-14 02:02:56,574 - DEBUG - VM ctest-TestBasicPolicy-55759255-66903449 launched on Node cn-jenkins-deploy-platform-ansible-os-3635-1 2025-07-14 02:02:56,652 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/0ce00e12-db33-4b56-8bea-1fd7f37027cb 2025-07-14 02:02:56,662 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/d67a80de-7fe6-4e2a-8108-d4775187a1c9 2025-07-14 02:02:59,930 - 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 1031ms') 2025-07-14 02:02:59,930 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55759255-66903449 failed! 2025-07-14 02:02:59,985 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-55759255:ctest-vn-31844433 is 90.63.144.65 and allocation pool is NOT set 2025-07-14 02:03:02,045 - 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.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.455 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.455/1.656/2.858/1.201 ms') 2025-07-14 02:03:02,046 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55759255-66903449 passed 2025-07-14 02:03:02,193 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-14 02:03:02,194 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55759255-66903449, IP 90.63.144.67, Port 22 2025-07-14 02:03:02,345 - DEBUG - VM ctest-TestBasicPolicy-55759255-66903449 is ready for SSH connections 2025-07-14 02:03:02,345 - INFO - Waiting for VM ctest-TestBasicPolicy-55759255-90075186 to be up.. 2025-07-14 02:03:02,422 - DEBUG - VM is in ACTIVE state now 2025-07-14 02:03:02,422 - INFO - VM name : ctest-TestBasicPolicy-55759255-90075186 2025-07-14 02:03:02,499 - DEBUG - VM ctest-TestBasicPolicy-55759255-90075186 ID is 0faa4b18-bc44-4b0b-8a73-8c366e8fa7c4 2025-07-14 02:03:02,499 - DEBUG - VM ctest-TestBasicPolicy-55759255-90075186 launched on Node cn-jenkins-deploy-platform-ansible-os-3635-1 2025-07-14 02:03:02,574 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/0faa4b18-bc44-4b0b-8a73-8c366e8fa7c4 2025-07-14 02:03:02,584 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/37cda6e2-8415-4ca5-89dd-714a499a7216 2025-07-14 02:03:03,826 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.362 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.362/1.672/2.983/1.310 ms') 2025-07-14 02:03:03,827 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-55759255-90075186 passed 2025-07-14 02:03:03,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-14 02:03:03,982 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55759255-90075186, IP 132.147.89.131, Port 22 2025-07-14 02:03:04,142 - DEBUG - VM ctest-TestBasicPolicy-55759255-90075186 is ready for SSH connections 2025-07-14 02:03:04,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-14 02:03:04,142 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.147.89.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-07-14 02:03:04,142 - DEBUG - ping -s 56 -c 3 -W 1 132.147.89.131 2025-07-14 02:03:08,120 - DEBUG - PING 132.147.89.131 (132.147.89.131): 56 data bytes 64 bytes from 132.147.89.131: seq=0 ttl=63 time=3.230 ms 64 bytes from 132.147.89.131: seq=1 ttl=63 time=0.768 ms 64 bytes from 132.147.89.131: seq=2 ttl=63 time=0.753 ms --- 132.147.89.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.753/1.583/3.230 ms 2025-07-14 02:03:08,121 - INFO - Ping to IP 132.147.89.131 from VM ctest-TestBasicPolicy-55759255-66903449 passed 2025-07-14 02:03:08,309 - DEBUG - Policy Update Response {"network-policy": {"uuid": "56942c9b-f307-424c-a7e2-74316bb1cb58", "href": "http://10.0.0.141:8082/network-policy/56942c9b-f307-424c-a7e2-74316bb1cb58"}} 2025-07-14 02:03:08,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-14 02:03:08,310 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.147.89.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-07-14 02:03:08,310 - DEBUG - ping -s 56 -c 3 -W 1 132.147.89.131 2025-07-14 02:03:11,514 - DEBUG - PING 132.147.89.131 (132.147.89.131): 56 data bytes --- 132.147.89.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-14 02:03:11,514 - WARNING - Ping to IP 132.147.89.131 from VM ctest-TestBasicPolicy-55759255-66903449 failed 2025-07-14 02:03:11,514 - INFO - Deleting VM ctest-TestBasicPolicy-55759255-90075186 2025-07-14 02:03:11,583 - INFO - Deleting VM ctest-TestBasicPolicy-55759255-66903449 2025-07-14 02:03:12,010 - INFO - Deleted policy ctest-policy-allow-all-62700184 2025-07-14 02:03:12,010 - INFO - Deleting VN ctest-vn-89114449 2025-07-14 02:03:12,052 - DEBUG - VN 8cefb565-1410-421e-9182-63c77a9e6528 still in use: Unable to complete operation on network 8cefb565-1410-421e-9182-63c77a9e6528. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4b931adb-0e1c-464b-a0e8-fad92d26c36b'] 2025-07-14 02:03:12,053 - WARNING - Deleting VN ctest-vn-89114449 failed..Will retry 2025-07-14 02:03:14,169 - DEBUG - Response for deleting network () 2025-07-14 02:03:14,169 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/88f11caf-d2d3-48f0-9e74-557444af920a 2025-07-14 02:03:14,178 - DEBUG - Response Code: 404 2025-07-14 02:03:14,179 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-07-14 02:03:14,192 - DEBUG - Requesting: http://10.0.0.141:8082/domain/d45b311b-3456-473f-8bc7-c85d702ccbc9 2025-07-14 02:03:14,251 - DEBUG - Requesting: http://10.0.0.141:8082/project/07e68d8f-7a97-486a-8e26-56d045d48168 2025-07-14 02:03:14,329 - INFO - Validated that VN ctest-vn-89114449 is not found in API Server 2025-07-14 02:03:14,340 - DEBUG - VN ctest-vn-89114449 is not present in Agent 10.0.0.141 2025-07-14 02:03:14,341 - INFO - Validated that VN ctest-vn-89114449 is not in any agent 2025-07-14 02:03:14,356 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89114449 info 2025-07-14 02:03:14,356 - INFO - Deleting VN ctest-vn-31844433 2025-07-14 02:03:14,464 - DEBUG - Response for deleting network () 2025-07-14 02:03:14,464 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/00d3c22e-bb52-48bb-87a9-c29a0fe80e35 2025-07-14 02:03:14,471 - DEBUG - Response Code: 404 2025-07-14 02:03:14,471 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-07-14 02:03:14,477 - DEBUG - Requesting: http://10.0.0.141:8082/domain/d45b311b-3456-473f-8bc7-c85d702ccbc9 2025-07-14 02:03:14,533 - DEBUG - Requesting: http://10.0.0.141:8082/project/07e68d8f-7a97-486a-8e26-56d045d48168 2025-07-14 02:03:14,606 - INFO - Validated that VN ctest-vn-31844433 is not found in API Server 2025-07-14 02:03:14,619 - DEBUG - VN ctest-vn-31844433 is not present in Agent 10.0.0.141 2025-07-14 02:03:14,619 - INFO - Validated that VN ctest-vn-31844433 is not in any agent 2025-07-14 02:03:14,637 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31844433 info 2025-07-14 02:03:14,891 - DEBUG - No XMPP flaps were noticed during the test
2025-07-14 02:03:14,891 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-07-14 02:03:14,891 - INFO - -------------------------------------------------------------------------------- 2025-07-14 02:03:15,573 - INFO - Deleted project: ctest-TestBasicPolicy-55759255, ID : 07e68d8f-7a97-486a-8e26-56d045d48168