2025-07-30 20:22:17,303 - INFO - Domain Default found not creating 2025-07-30 20:22:17,717 - INFO - Project ctest-TestBasicPolicy-38944580 not found, creating it 2025-07-30 20:22:18,413 - INFO - Created Project:ctest-TestBasicPolicy-38944580, ID : e62cd8d7-9f41-446b-a55f-ba4afa457e4f 2025-07-30 20:22:20,402 - INFO - ================================================================================ 2025-07-30 20:22:20,402 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-30 20:22:20,402 - 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-30 20:22:20,722 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-07-30 20:22:20,722 - INFO - Initial checks done. Running the testcase now 2025-07-30 20:22:20,722 - INFO - 2025-07-30 20:22:21,528 - DEBUG - Response for create_network : {'network': {'id': 'a2639ddb-2435-477c-835f-ef48c247deb9', 'name': 'ctest-vn-49239499', 'tenant_id': 'e62cd8d79f41446ba55fba4afa457e4f', 'project_id': 'e62cd8d79f41446ba55fba4afa457e4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38944580', 'ctest-vn-49239499'], 'port_security_enabled': True, 'description': ''}} 2025-07-30 20:22:21,748 - DEBUG - Response for create_subnet : {'subnet': {'id': '0c2c971e-b602-47df-a83c-f17139368b27', 'name': '', 'tenant_id': 'e62cd8d79f41446ba55fba4afa457e4f', 'network_id': 'a2639ddb-2435-477c-835f-ef48c247deb9', 'ip_version': 4, 'cidr': '58.109.121.0/26', 'allocation_pools': [{'start': '58.109.121.2', 'end': '58.109.121.62'}], 'gateway_ip': '58.109.121.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.109.121.2', 'tags': [], 'project_id': 'e62cd8d79f41446ba55fba4afa457e4f'}} 2025-07-30 20:22:21,777 - INFO - Created VN ctest-vn-49239499 2025-07-30 20:22:21,835 - DEBUG - VN ctest-vn-49239499 UUID is a2639ddb-2435-477c-835f-ef48c247deb9 2025-07-30 20:22:22,190 - DEBUG - Response for create_network : {'network': {'id': '163d0fff-8f65-4955-91c4-f81b1b32afef', 'name': 'ctest-vn-94066892', 'tenant_id': 'e62cd8d79f41446ba55fba4afa457e4f', 'project_id': 'e62cd8d79f41446ba55fba4afa457e4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38944580', 'ctest-vn-94066892'], 'port_security_enabled': True, 'description': ''}} 2025-07-30 20:22:22,411 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a348a513-f5d5-429a-ad57-c895570d3a1b', 'name': '', 'tenant_id': 'e62cd8d79f41446ba55fba4afa457e4f', 'network_id': '163d0fff-8f65-4955-91c4-f81b1b32afef', 'ip_version': 4, 'cidr': '88.211.22.64/26', 'allocation_pools': [{'start': '88.211.22.66', 'end': '88.211.22.126'}], 'gateway_ip': '88.211.22.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.211.22.66', 'tags': [], 'project_id': 'e62cd8d79f41446ba55fba4afa457e4f'}} 2025-07-30 20:22:22,440 - INFO - Created VN ctest-vn-94066892 2025-07-30 20:22:22,512 - DEBUG - VN ctest-vn-94066892 UUID is 163d0fff-8f65-4955-91c4-f81b1b32afef 2025-07-30 20:22:22,716 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-38944580:ctest-vn-49239499, 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-38944580:ctest-vn-94066892, 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-30 20:22:23,199 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a2639ddb-2435-477c-835f-ef48c247deb9', 'name': 'ctest-vn-49239499', 'tenant_id': 'e62cd8d79f41446ba55fba4afa457e4f', 'project_id': 'e62cd8d79f41446ba55fba4afa457e4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0c2c971e-b602-47df-a83c-f17139368b27'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38944580', 'ctest-vn-49239499'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38944580', 'ctest-policy-allow-all-39743389']], 'subnet_ipam': [{'subnet_cidr': '58.109.121.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-30 20:22:23,572 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '163d0fff-8f65-4955-91c4-f81b1b32afef', 'name': 'ctest-vn-94066892', 'tenant_id': 'e62cd8d79f41446ba55fba4afa457e4f', 'project_id': 'e62cd8d79f41446ba55fba4afa457e4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a348a513-f5d5-429a-ad57-c895570d3a1b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38944580', 'ctest-vn-94066892'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38944580', 'ctest-policy-allow-all-39743389']], 'subnet_ipam': [{'subnet_cidr': '88.211.22.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-30 20:22:23,731 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-07-30 20:22:24,061 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-07-30 20:22:24,116 - DEBUG - Requesting: http://10.0.0.57:8082/domain/50bf1c4a-6bfe-449d-bdf5-19bb22aa4730 2025-07-30 20:22:24,142 - DEBUG - Requesting: http://10.0.0.57:8082/project/e62cd8d7-9f41-446b-a55f-ba4afa457e4f 2025-07-30 20:22:24,246 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/a2639ddb-2435-477c-835f-ef48c247deb9 2025-07-30 20:22:24,263 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/a2639ddb-2435-477c-835f-ef48c247deb9 2025-07-30 20:22:24,277 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/2d63be53-1583-4955-91fd-128431418c38 2025-07-30 20:22:24,287 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/2d63be53-1583-4955-91fd-128431418c38 2025-07-30 20:22:24,298 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/67b52c42-3813-4f57-9944-7fd09526f56d 2025-07-30 20:22:24,309 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-30 20:22:24,310 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/a2639ddb-2435-477c-835f-ef48c247deb9 2025-07-30 20:22:24,327 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/2d63be53-1583-4955-91fd-128431418c38 2025-07-30 20:22:24,351 - INFO - Verified VN network id 11 for VN a2639ddb-2435-477c-835f-ef48c247deb9 2025-07-30 20:22:24,351 - INFO - Verifications in API Server for VN ctest-vn-49239499 passed 2025-07-30 20:22:24,352 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/a2639ddb-2435-477c-835f-ef48c247deb9 2025-07-30 20:22:24,371 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/2d63be53-1583-4955-91fd-128431418c38 2025-07-30 20:22:24,385 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/2d63be53-1583-4955-91fd-128431418c38 2025-07-30 20:22:24,401 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/67b52c42-3813-4f57-9944-7fd09526f56d 2025-07-30 20:22:24,433 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38944580:ctest-vn-49239499', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38944580', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11701369821369550716', 'uuid-lslong': '9466548037532245689'}, 'enable': 'true', 'created': '2025-07-30T20:22:21', 'last-modified': '2025-07-30T20:22:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.283314'} 2025-07-30 20:22:24,452 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-30 20:22:24,452 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49239499 passed 2025-07-30 20:22:24,453 - DEBUG - ====Verifying policy data for ctest-vn-49239499 in API_Server ====== 2025-07-30 20:22:24,453 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-07-30 20:22:24,468 - DEBUG - Requesting: http://10.0.0.57:8082/domain/50bf1c4a-6bfe-449d-bdf5-19bb22aa4730 2025-07-30 20:22:24,505 - DEBUG - Requesting: http://10.0.0.57:8082/project/e62cd8d7-9f41-446b-a55f-ba4afa457e4f 2025-07-30 20:22:24,637 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/a2639ddb-2435-477c-835f-ef48c247deb9 2025-07-30 20:22:24,666 - DEBUG - ==>Verifying data for policy with id: 36c05b8b-1e4b-495c-bd08-ff81106a0f19, fqn: ['default-domain', 'ctest-TestBasicPolicy-38944580', 'ctest-policy-allow-all-39743389'] 2025-07-30 20:22:24,667 - INFO - VN ctest-vn-49239499 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-30 20:22:24,667 - DEBUG - Verifying the vn in opserver 2025-07-30 20:22:24,667 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38944580:ctest-vn-49239499 virtual network link through opserver 10.0.0.57 2025-07-30 20:22:24,667 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-07-30 20:22:25,037 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-07-30 20:22:25,146 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38944580:ctest-vn-49239499', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38944580:ctest-vn-49239499?flat'} 2025-07-30 20:22:25,146 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38944580:ctest-vn-49239499 is found in opserver 2025-07-30 20:22:25,177 - DEBUG - Do not have enough data to verify VN in agent 2025-07-30 20:22:25,187 - DEBUG - VRF ids for VN ctest-vn-49239499: {} 2025-07-30 20:22:25,187 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-07-30 20:22:25,200 - DEBUG - Requesting: http://10.0.0.57:8082/domain/50bf1c4a-6bfe-449d-bdf5-19bb22aa4730 2025-07-30 20:22:25,226 - DEBUG - Requesting: http://10.0.0.57:8082/project/e62cd8d7-9f41-446b-a55f-ba4afa457e4f 2025-07-30 20:22:25,366 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/163d0fff-8f65-4955-91c4-f81b1b32afef 2025-07-30 20:22:25,398 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/163d0fff-8f65-4955-91c4-f81b1b32afef 2025-07-30 20:22:25,423 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/1ab76ca3-feab-443c-a379-3bad033da018 2025-07-30 20:22:25,445 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/1ab76ca3-feab-443c-a379-3bad033da018 2025-07-30 20:22:25,465 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/625948c8-d2ca-4fa2-b123-53f7f8b08469 2025-07-30 20:22:25,485 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-30 20:22:25,485 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/163d0fff-8f65-4955-91c4-f81b1b32afef 2025-07-30 20:22:25,517 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/1ab76ca3-feab-443c-a379-3bad033da018 2025-07-30 20:22:25,560 - INFO - Verified VN network id 12 for VN 163d0fff-8f65-4955-91c4-f81b1b32afef 2025-07-30 20:22:25,561 - INFO - Verifications in API Server for VN ctest-vn-94066892 passed 2025-07-30 20:22:25,561 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/163d0fff-8f65-4955-91c4-f81b1b32afef 2025-07-30 20:22:25,594 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/1ab76ca3-feab-443c-a379-3bad033da018 2025-07-30 20:22:25,616 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/1ab76ca3-feab-443c-a379-3bad033da018 2025-07-30 20:22:25,633 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/625948c8-d2ca-4fa2-b123-53f7f8b08469 2025-07-30 20:22:25,667 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38944580:ctest-vn-94066892', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38944580', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1602454632710621525', 'uuid-lslong': '10503793026238951407'}, 'enable': 'true', 'created': '2025-07-30T20:22:22', 'last-modified': '2025-07-30T20:22:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.162755'} 2025-07-30 20:22:25,687 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-30 20:22:25,687 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94066892 passed 2025-07-30 20:22:25,688 - DEBUG - ====Verifying policy data for ctest-vn-94066892 in API_Server ====== 2025-07-30 20:22:25,688 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-07-30 20:22:25,703 - DEBUG - Requesting: http://10.0.0.57:8082/domain/50bf1c4a-6bfe-449d-bdf5-19bb22aa4730 2025-07-30 20:22:25,737 - DEBUG - Requesting: http://10.0.0.57:8082/project/e62cd8d7-9f41-446b-a55f-ba4afa457e4f 2025-07-30 20:22:25,875 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/163d0fff-8f65-4955-91c4-f81b1b32afef 2025-07-30 20:22:25,907 - DEBUG - ==>Verifying data for policy with id: 36c05b8b-1e4b-495c-bd08-ff81106a0f19, fqn: ['default-domain', 'ctest-TestBasicPolicy-38944580', 'ctest-policy-allow-all-39743389'] 2025-07-30 20:22:25,907 - INFO - VN ctest-vn-94066892 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-30 20:22:25,907 - DEBUG - Verifying the vn in opserver 2025-07-30 20:22:25,907 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38944580:ctest-vn-94066892 virtual network link through opserver 10.0.0.57 2025-07-30 20:22:25,908 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-07-30 20:22:25,932 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38944580:ctest-vn-94066892', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38944580:ctest-vn-94066892?flat'} 2025-07-30 20:22:25,932 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38944580:ctest-vn-94066892 is found in opserver 2025-07-30 20:22:25,971 - DEBUG - Do not have enough data to verify VN in agent 2025-07-30 20:22:25,990 - DEBUG - VRF ids for VN ctest-vn-94066892: {} 2025-07-30 20:22:26,103 - DEBUG - Services list from nova: [, , ] 2025-07-30 20:22:27,758 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3726-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3726-1) 2025-07-30 20:22:29,439 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3726-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3726-1) 2025-07-30 20:22:29,439 - INFO - Waiting for VM ctest-TestBasicPolicy-38944580-83367856 to be up.. 2025-07-30 20:22:29,571 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-30 20:22:34,797 - DEBUG - VM is in ACTIVE state now 2025-07-30 20:22:34,797 - INFO - VM name : ctest-TestBasicPolicy-38944580-83367856 2025-07-30 20:22:34,942 - DEBUG - VM ctest-TestBasicPolicy-38944580-83367856 ID is 7016bd56-6a72-4e64-9a35-3c388331401a 2025-07-30 20:22:34,972 - DEBUG - VM ctest-TestBasicPolicy-38944580-83367856 launched on Node cn-jenkins-deploy-platform-ansible-os-3726-1 2025-07-30 20:22:35,076 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/7016bd56-6a72-4e64-9a35-3c388331401a 2025-07-30 20:22:35,087 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/e261d193-d8ad-4382-bb16-0606f1154d50 2025-07-30 20:22:38,370 - 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 1027ms') 2025-07-30 20:22:38,371 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38944580-83367856 failed! 2025-07-30 20:22:38,452 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-38944580:ctest-vn-49239499 is 58.109.121.1 and allocation pool is NOT set 2025-07-30 20:22:40,517 - 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=8.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.420 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.420/4.213/8.006/3.793 ms') 2025-07-30 20:22:40,518 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38944580-83367856 passed 2025-07-30 20:22:40,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 20:22:40,685 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38944580-83367856, IP 58.109.121.3, Port 22 2025-07-30 20:22:40,883 - DEBUG - VM ctest-TestBasicPolicy-38944580-83367856 is ready for SSH connections 2025-07-30 20:22:40,883 - INFO - Waiting for VM ctest-TestBasicPolicy-38944580-94242640 to be up.. 2025-07-30 20:22:41,077 - DEBUG - VM is in ACTIVE state now 2025-07-30 20:22:41,077 - INFO - VM name : ctest-TestBasicPolicy-38944580-94242640 2025-07-30 20:22:41,217 - DEBUG - VM ctest-TestBasicPolicy-38944580-94242640 ID is 263b4c38-f20b-4be4-a66c-d5652015fc18 2025-07-30 20:22:41,218 - DEBUG - VM ctest-TestBasicPolicy-38944580-94242640 launched on Node cn-jenkins-deploy-platform-ansible-os-3726-1 2025-07-30 20:22:41,337 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/263b4c38-f20b-4be4-a66c-d5652015fc18 2025-07-30 20:22:41,355 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/ec3c20b8-ac07-4ae9-9137-8efc2bd6fac5 2025-07-30 20:22:42,631 - 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=5.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=7.12 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 = 5.190/6.157/7.124/0.967 ms') 2025-07-30 20:22:42,632 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-38944580-94242640 passed 2025-07-30 20:22:42,824 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 20:22:42,824 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38944580-94242640, IP 88.211.22.67, Port 22 2025-07-30 20:22:43,022 - DEBUG - VM ctest-TestBasicPolicy-38944580-94242640 is ready for SSH connections 2025-07-30 20:22:43,022 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 20:22:43,022 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 88.211.22.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-07-30 20:22:43,023 - DEBUG - ping -s 56 -c 3 -W 1 88.211.22.67 2025-07-30 20:22:47,114 - DEBUG - PING 88.211.22.67 (88.211.22.67): 56 data bytes 64 bytes from 88.211.22.67: seq=0 ttl=63 time=5.975 ms 64 bytes from 88.211.22.67: seq=1 ttl=63 time=1.143 ms 64 bytes from 88.211.22.67: seq=2 ttl=63 time=1.721 ms --- 88.211.22.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.143/2.946/5.975 ms 2025-07-30 20:22:47,114 - INFO - Ping to IP 88.211.22.67 from VM ctest-TestBasicPolicy-38944580-83367856 passed 2025-07-30 20:22:47,359 - DEBUG - Policy Update Response {"network-policy": {"uuid": "36c05b8b-1e4b-495c-bd08-ff81106a0f19", "href": "http://10.0.0.57:8082/network-policy/36c05b8b-1e4b-495c-bd08-ff81106a0f19"}} 2025-07-30 20:22:47,360 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 20:22:47,360 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 88.211.22.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-07-30 20:22:47,360 - DEBUG - ping -s 56 -c 3 -W 1 88.211.22.67 2025-07-30 20:22:50,629 - DEBUG - PING 88.211.22.67 (88.211.22.67): 56 data bytes --- 88.211.22.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-30 20:22:50,630 - WARNING - Ping to IP 88.211.22.67 from VM ctest-TestBasicPolicy-38944580-83367856 failed 2025-07-30 20:22:50,630 - INFO - Deleting VM ctest-TestBasicPolicy-38944580-94242640 2025-07-30 20:22:50,795 - INFO - Deleting VM ctest-TestBasicPolicy-38944580-83367856 2025-07-30 20:22:51,346 - INFO - Deleted policy ctest-policy-allow-all-39743389 2025-07-30 20:22:51,346 - INFO - Deleting VN ctest-vn-94066892 2025-07-30 20:22:51,393 - DEBUG - VN 163d0fff-8f65-4955-91c4-f81b1b32afef still in use: Unable to complete operation on network 163d0fff-8f65-4955-91c4-f81b1b32afef. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0f9246ba-f9ae-4f2d-ae54-c46fa96d00aa'] 2025-07-30 20:22:51,393 - WARNING - Deleting VN ctest-vn-94066892 failed..Will retry 2025-07-30 20:22:53,533 - DEBUG - Response for deleting network () 2025-07-30 20:22:53,533 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/1ab76ca3-feab-443c-a379-3bad033da018 2025-07-30 20:22:53,540 - DEBUG - Response Code: 404 2025-07-30 20:22:53,541 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-07-30 20:22:53,552 - DEBUG - Requesting: http://10.0.0.57:8082/domain/50bf1c4a-6bfe-449d-bdf5-19bb22aa4730 2025-07-30 20:22:53,613 - DEBUG - Requesting: http://10.0.0.57:8082/project/e62cd8d7-9f41-446b-a55f-ba4afa457e4f 2025-07-30 20:22:53,726 - INFO - Validated that VN ctest-vn-94066892 is not found in API Server 2025-07-30 20:22:53,750 - DEBUG - VN ctest-vn-94066892 is not present in Agent 10.0.0.57 2025-07-30 20:22:53,751 - INFO - Validated that VN ctest-vn-94066892 is not in any agent 2025-07-30 20:22:53,802 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94066892 info 2025-07-30 20:22:53,803 - INFO - Deleting VN ctest-vn-49239499 2025-07-30 20:22:53,984 - DEBUG - Response for deleting network () 2025-07-30 20:22:53,985 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/2d63be53-1583-4955-91fd-128431418c38 2025-07-30 20:22:53,997 - DEBUG - Response Code: 404 2025-07-30 20:22:53,997 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-07-30 20:22:54,004 - DEBUG - Requesting: http://10.0.0.57:8082/domain/50bf1c4a-6bfe-449d-bdf5-19bb22aa4730 2025-07-30 20:22:54,021 - DEBUG - Requesting: http://10.0.0.57:8082/project/e62cd8d7-9f41-446b-a55f-ba4afa457e4f 2025-07-30 20:22:54,117 - INFO - Validated that VN ctest-vn-49239499 is not found in API Server 2025-07-30 20:22:54,143 - DEBUG - VN ctest-vn-49239499 is not present in Agent 10.0.0.57 2025-07-30 20:22:54,143 - INFO - Validated that VN ctest-vn-49239499 is not in any agent 2025-07-30 20:22:54,188 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49239499 info 2025-07-30 20:22:54,518 - DEBUG - No XMPP flaps were noticed during the test
2025-07-30 20:22:54,519 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34]
2025-07-30 20:22:54,519 - INFO - -------------------------------------------------------------------------------- 2025-07-30 20:22:55,334 - INFO - Deleted project: ctest-TestBasicPolicy-38944580, ID : e62cd8d7-9f41-446b-a55f-ba4afa457e4f