2025-08-15 16:32:26,760 - INFO - Domain Default found not creating 2025-08-15 16:32:26,877 - INFO - Project ctest-TestBasicPolicy-34893521 not found, creating it 2025-08-15 16:32:27,344 - INFO - Created Project:ctest-TestBasicPolicy-34893521, ID : fa0bf72f-799a-48bf-815a-2350f611a3f4 2025-08-15 16:32:28,716 - INFO - ================================================================================ 2025-08-15 16:32:28,717 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-15 16:32:28,717 - 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-15 16:32:28,973 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-08-15 16:32:28,973 - INFO - Initial checks done. Running the testcase now 2025-08-15 16:32:28,973 - INFO - 2025-08-15 16:32:29,483 - DEBUG - Response for create_network : {'network': {'id': '493419f1-baf1-4b35-87f4-3ec89a80d82f', 'name': 'ctest-vn-21190513', 'tenant_id': 'fa0bf72f799a48bf815a2350f611a3f4', 'project_id': 'fa0bf72f799a48bf815a2350f611a3f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34893521', 'ctest-vn-21190513'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 16:32:29,635 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad0e48ac-5460-4831-8577-4d2c68009238', 'name': '', 'tenant_id': 'fa0bf72f799a48bf815a2350f611a3f4', 'network_id': '493419f1-baf1-4b35-87f4-3ec89a80d82f', 'ip_version': 4, 'cidr': '184.231.107.192/26', 'allocation_pools': [{'start': '184.231.107.194', 'end': '184.231.107.254'}], 'gateway_ip': '184.231.107.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.231.107.194', 'tags': [], 'project_id': 'fa0bf72f799a48bf815a2350f611a3f4'}} 2025-08-15 16:32:29,650 - INFO - Created VN ctest-vn-21190513 2025-08-15 16:32:29,700 - DEBUG - VN ctest-vn-21190513 UUID is 493419f1-baf1-4b35-87f4-3ec89a80d82f 2025-08-15 16:32:29,985 - DEBUG - Response for create_network : {'network': {'id': '5b575d38-0219-489a-b98d-a5cd41f0edba', 'name': 'ctest-vn-53233748', 'tenant_id': 'fa0bf72f799a48bf815a2350f611a3f4', 'project_id': 'fa0bf72f799a48bf815a2350f611a3f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34893521', 'ctest-vn-53233748'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 16:32:30,165 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b35f6f2-fbc7-41e0-984d-b3d9ae5ac5f9', 'name': '', 'tenant_id': 'fa0bf72f799a48bf815a2350f611a3f4', 'network_id': '5b575d38-0219-489a-b98d-a5cd41f0edba', 'ip_version': 4, 'cidr': '97.62.176.192/26', 'allocation_pools': [{'start': '97.62.176.194', 'end': '97.62.176.254'}], 'gateway_ip': '97.62.176.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.62.176.194', 'tags': [], 'project_id': 'fa0bf72f799a48bf815a2350f611a3f4'}} 2025-08-15 16:32:30,180 - INFO - Created VN ctest-vn-53233748 2025-08-15 16:32:30,232 - DEBUG - VN ctest-vn-53233748 UUID is 5b575d38-0219-489a-b98d-a5cd41f0edba 2025-08-15 16:32:30,384 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-34893521:ctest-vn-21190513, 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-34893521:ctest-vn-53233748, 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-15 16:32:30,657 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '493419f1-baf1-4b35-87f4-3ec89a80d82f', 'name': 'ctest-vn-21190513', 'tenant_id': 'fa0bf72f799a48bf815a2350f611a3f4', 'project_id': 'fa0bf72f799a48bf815a2350f611a3f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ad0e48ac-5460-4831-8577-4d2c68009238'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34893521', 'ctest-vn-21190513'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34893521', 'ctest-policy-allow-all-82361195']], 'subnet_ipam': [{'subnet_cidr': '184.231.107.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-15 16:32:30,918 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5b575d38-0219-489a-b98d-a5cd41f0edba', 'name': 'ctest-vn-53233748', 'tenant_id': 'fa0bf72f799a48bf815a2350f611a3f4', 'project_id': 'fa0bf72f799a48bf815a2350f611a3f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9b35f6f2-fbc7-41e0-984d-b3d9ae5ac5f9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34893521', 'ctest-vn-53233748'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34893521', 'ctest-policy-allow-all-82361195']], 'subnet_ipam': [{'subnet_cidr': '97.62.176.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-15 16:32:31,064 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-15 16:32:31,356 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-15 16:32:31,380 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e807ff4e-deb0-4f2b-83f6-c90fc6771ab8 2025-08-15 16:32:31,392 - DEBUG - Requesting: http://10.0.0.50:8082/project/fa0bf72f-799a-48bf-815a-2350f611a3f4 2025-08-15 16:32:31,463 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/493419f1-baf1-4b35-87f4-3ec89a80d82f 2025-08-15 16:32:31,473 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/493419f1-baf1-4b35-87f4-3ec89a80d82f 2025-08-15 16:32:31,482 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b5aec59c-cb86-4398-b3e2-b97e743adda1 2025-08-15 16:32:31,488 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b5aec59c-cb86-4398-b3e2-b97e743adda1 2025-08-15 16:32:31,493 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c90aabe2-d24a-4d29-b883-92ecd8653b53 2025-08-15 16:32:31,498 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-15 16:32:31,498 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/493419f1-baf1-4b35-87f4-3ec89a80d82f 2025-08-15 16:32:31,506 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b5aec59c-cb86-4398-b3e2-b97e743adda1 2025-08-15 16:32:31,518 - INFO - Verified VN network id 11 for VN 493419f1-baf1-4b35-87f4-3ec89a80d82f 2025-08-15 16:32:31,518 - INFO - Verifications in API Server for VN ctest-vn-21190513 passed 2025-08-15 16:32:31,518 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/493419f1-baf1-4b35-87f4-3ec89a80d82f 2025-08-15 16:32:31,526 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b5aec59c-cb86-4398-b3e2-b97e743adda1 2025-08-15 16:32:31,533 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b5aec59c-cb86-4398-b3e2-b97e743adda1 2025-08-15 16:32:31,538 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c90aabe2-d24a-4d29-b883-92ecd8653b53 2025-08-15 16:32:31,549 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34893521:ctest-vn-21190513', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34893521', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5274869589571881781', 'uuid-lslong': '9796524120744187951'}, 'enable': 'true', 'created': '2025-08-15T16:32:29', 'last-modified': '2025-08-15T16:32:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.906237'} 2025-08-15 16:32:31,554 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-15 16:32:31,554 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21190513 passed 2025-08-15 16:32:31,555 - DEBUG - ====Verifying policy data for ctest-vn-21190513 in API_Server ====== 2025-08-15 16:32:31,555 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-15 16:32:31,559 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e807ff4e-deb0-4f2b-83f6-c90fc6771ab8 2025-08-15 16:32:31,569 - DEBUG - Requesting: http://10.0.0.50:8082/project/fa0bf72f-799a-48bf-815a-2350f611a3f4 2025-08-15 16:32:31,639 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/493419f1-baf1-4b35-87f4-3ec89a80d82f 2025-08-15 16:32:31,647 - DEBUG - ==>Verifying data for policy with id: 37d6cd12-c63e-40bf-bde7-4ddf4092949f, fqn: ['default-domain', 'ctest-TestBasicPolicy-34893521', 'ctest-policy-allow-all-82361195'] 2025-08-15 16:32:31,647 - INFO - VN ctest-vn-21190513 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-15 16:32:31,648 - DEBUG - Verifying the vn in opserver 2025-08-15 16:32:31,648 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34893521:ctest-vn-21190513 virtual network link through opserver 10.0.0.50 2025-08-15 16:32:31,648 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-15 16:32:31,935 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-15 16:32:31,983 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34893521:ctest-vn-21190513', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34893521:ctest-vn-21190513?flat'} 2025-08-15 16:32:31,983 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34893521:ctest-vn-21190513 is found in opserver 2025-08-15 16:32:31,993 - DEBUG - Do not have enough data to verify VN in agent 2025-08-15 16:32:31,998 - DEBUG - VRF ids for VN ctest-vn-21190513: {} 2025-08-15 16:32:31,998 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-15 16:32:32,003 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e807ff4e-deb0-4f2b-83f6-c90fc6771ab8 2025-08-15 16:32:32,013 - DEBUG - Requesting: http://10.0.0.50:8082/project/fa0bf72f-799a-48bf-815a-2350f611a3f4 2025-08-15 16:32:32,085 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b575d38-0219-489a-b98d-a5cd41f0edba 2025-08-15 16:32:32,096 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b575d38-0219-489a-b98d-a5cd41f0edba 2025-08-15 16:32:32,105 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ed0f9b04-8e52-40b4-9c8b-c84d43e46b3a 2025-08-15 16:32:32,112 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ed0f9b04-8e52-40b4-9c8b-c84d43e46b3a 2025-08-15 16:32:32,118 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0d68fd41-d6df-43b1-bcd2-e8cd70749a0d 2025-08-15 16:32:32,124 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-15 16:32:32,124 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b575d38-0219-489a-b98d-a5cd41f0edba 2025-08-15 16:32:32,132 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ed0f9b04-8e52-40b4-9c8b-c84d43e46b3a 2025-08-15 16:32:32,144 - INFO - Verified VN network id 12 for VN 5b575d38-0219-489a-b98d-a5cd41f0edba 2025-08-15 16:32:32,144 - INFO - Verifications in API Server for VN ctest-vn-53233748 passed 2025-08-15 16:32:32,144 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b575d38-0219-489a-b98d-a5cd41f0edba 2025-08-15 16:32:32,153 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ed0f9b04-8e52-40b4-9c8b-c84d43e46b3a 2025-08-15 16:32:32,158 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ed0f9b04-8e52-40b4-9c8b-c84d43e46b3a 2025-08-15 16:32:32,164 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0d68fd41-d6df-43b1-bcd2-e8cd70749a0d 2025-08-15 16:32:32,175 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34893521:ctest-vn-53233748', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34893521', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6581831875560032410', 'uuid-lslong': '13370525169726057914'}, 'enable': 'true', 'created': '2025-08-15T16:32:29', 'last-modified': '2025-08-15T16:32:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.316831'} 2025-08-15 16:32:32,181 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-15 16:32:32,181 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53233748 passed 2025-08-15 16:32:32,181 - DEBUG - ====Verifying policy data for ctest-vn-53233748 in API_Server ====== 2025-08-15 16:32:32,181 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-15 16:32:32,186 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e807ff4e-deb0-4f2b-83f6-c90fc6771ab8 2025-08-15 16:32:32,196 - DEBUG - Requesting: http://10.0.0.50:8082/project/fa0bf72f-799a-48bf-815a-2350f611a3f4 2025-08-15 16:32:32,264 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b575d38-0219-489a-b98d-a5cd41f0edba 2025-08-15 16:32:32,273 - DEBUG - ==>Verifying data for policy with id: 37d6cd12-c63e-40bf-bde7-4ddf4092949f, fqn: ['default-domain', 'ctest-TestBasicPolicy-34893521', 'ctest-policy-allow-all-82361195'] 2025-08-15 16:32:32,274 - INFO - VN ctest-vn-53233748 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-15 16:32:32,274 - DEBUG - Verifying the vn in opserver 2025-08-15 16:32:32,274 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34893521:ctest-vn-53233748 virtual network link through opserver 10.0.0.50 2025-08-15 16:32:32,274 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-15 16:32:32,283 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34893521:ctest-vn-53233748', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34893521:ctest-vn-53233748?flat'} 2025-08-15 16:32:32,283 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34893521:ctest-vn-53233748 is found in opserver 2025-08-15 16:32:32,292 - DEBUG - Do not have enough data to verify VN in agent 2025-08-15 16:32:32,297 - DEBUG - VRF ids for VN ctest-vn-53233748: {} 2025-08-15 16:32:32,347 - DEBUG - Services list from nova: [, , ] 2025-08-15 16:32:33,273 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3865-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3865-1) 2025-08-15 16:32:34,321 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3865-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3865-1) 2025-08-15 16:32:34,322 - INFO - Waiting for VM ctest-TestBasicPolicy-34893521-27893990 to be up.. 2025-08-15 16:32:34,399 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-15 16:32:39,462 - DEBUG - VM is in ACTIVE state now 2025-08-15 16:32:39,462 - INFO - VM name : ctest-TestBasicPolicy-34893521-27893990 2025-08-15 16:32:39,522 - DEBUG - VM ctest-TestBasicPolicy-34893521-27893990 ID is dca8b0dc-4d5e-4db6-bed2-1045fe4a7ed6 2025-08-15 16:32:39,538 - DEBUG - VM ctest-TestBasicPolicy-34893521-27893990 launched on Node cn-jenkins-deploy-platform-ansible-os-3865-1 2025-08-15 16:32:39,594 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/dca8b0dc-4d5e-4db6-bed2-1045fe4a7ed6 2025-08-15 16:32:39,601 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1b32417a-aab4-4adb-9da8-8bd698a7ad8d 2025-08-15 16:32:42,846 - 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-15 16:32:42,846 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-34893521-27893990 failed! 2025-08-15 16:32:42,900 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-34893521:ctest-vn-21190513 is 184.231.107.193 and allocation pool is NOT set 2025-08-15 16:32:44,968 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.354 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.354/1.643/2.932/1.289 ms') 2025-08-15 16:32:44,968 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-34893521-27893990 passed 2025-08-15 16:32:45,124 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 16:32:45,124 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34893521-27893990, IP 184.231.107.195, Port 22 2025-08-15 16:32:45,284 - DEBUG - VM ctest-TestBasicPolicy-34893521-27893990 is ready for SSH connections 2025-08-15 16:32:45,284 - INFO - Waiting for VM ctest-TestBasicPolicy-34893521-35693590 to be up.. 2025-08-15 16:32:45,348 - DEBUG - VM is in ACTIVE state now 2025-08-15 16:32:45,348 - INFO - VM name : ctest-TestBasicPolicy-34893521-35693590 2025-08-15 16:32:45,410 - DEBUG - VM ctest-TestBasicPolicy-34893521-35693590 ID is 2515910e-0a20-4b31-99a9-7a91e6742b01 2025-08-15 16:32:45,410 - DEBUG - VM ctest-TestBasicPolicy-34893521-35693590 launched on Node cn-jenkins-deploy-platform-ansible-os-3865-1 2025-08-15 16:32:45,470 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2515910e-0a20-4b31-99a9-7a91e6742b01 2025-08-15 16:32:45,477 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/290fd905-8378-48ad-83cc-708a11ace6a8 2025-08-15 16:32:46,708 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.361 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.361/1.496/2.631/1.135 ms') 2025-08-15 16:32:46,708 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-34893521-35693590 passed 2025-08-15 16:32:46,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 16:32:46,860 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34893521-35693590, IP 97.62.176.195, Port 22 2025-08-15 16:32:47,012 - DEBUG - VM ctest-TestBasicPolicy-34893521-35693590 is ready for SSH connections 2025-08-15 16:32:47,012 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 16:32:47,012 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 97.62.176.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-15 16:32:47,012 - DEBUG - ping -s 56 -c 3 -W 1 97.62.176.195 2025-08-15 16:32:50,649 - DEBUG - PING 97.62.176.195 (97.62.176.195): 56 data bytes 64 bytes from 97.62.176.195: seq=0 ttl=63 time=2.934 ms 64 bytes from 97.62.176.195: seq=1 ttl=63 time=0.716 ms 64 bytes from 97.62.176.195: seq=2 ttl=63 time=0.689 ms --- 97.62.176.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.689/1.446/2.934 ms 2025-08-15 16:32:50,649 - INFO - Ping to IP 97.62.176.195 from VM ctest-TestBasicPolicy-34893521-27893990 passed 2025-08-15 16:32:50,816 - DEBUG - Policy Update Response {"network-policy": {"uuid": "37d6cd12-c63e-40bf-bde7-4ddf4092949f", "href": "http://10.0.0.50:8082/network-policy/37d6cd12-c63e-40bf-bde7-4ddf4092949f"}} 2025-08-15 16:32:50,816 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 16:32:50,816 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 97.62.176.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-15 16:32:50,816 - DEBUG - ping -s 56 -c 3 -W 1 97.62.176.195 2025-08-15 16:32:54,006 - DEBUG - PING 97.62.176.195 (97.62.176.195): 56 data bytes 64 bytes from 97.62.176.195: seq=0 ttl=63 time=1.188 ms --- 97.62.176.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.188/1.188/1.188 ms 2025-08-15 16:32:54,006 - WARNING - Ping to IP 97.62.176.195 from VM ctest-TestBasicPolicy-34893521-27893990 failed 2025-08-15 16:32:54,006 - INFO - Deleting VM ctest-TestBasicPolicy-34893521-35693590 2025-08-15 16:32:54,064 - INFO - Deleting VM ctest-TestBasicPolicy-34893521-27893990 2025-08-15 16:32:54,403 - INFO - Deleted policy ctest-policy-allow-all-82361195 2025-08-15 16:32:54,403 - INFO - Deleting VN ctest-vn-53233748 2025-08-15 16:32:54,435 - DEBUG - VN 5b575d38-0219-489a-b98d-a5cd41f0edba still in use: Unable to complete operation on network 5b575d38-0219-489a-b98d-a5cd41f0edba. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-84c3fe05-9dd5-44c2-9116-dfbea7e55a48'] 2025-08-15 16:32:54,435 - WARNING - Deleting VN ctest-vn-53233748 failed..Will retry 2025-08-15 16:32:56,535 - DEBUG - Response for deleting network () 2025-08-15 16:32:56,535 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ed0f9b04-8e52-40b4-9c8b-c84d43e46b3a 2025-08-15 16:32:56,541 - DEBUG - Response Code: 404 2025-08-15 16:32:56,541 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-15 16:32:56,547 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e807ff4e-deb0-4f2b-83f6-c90fc6771ab8 2025-08-15 16:32:56,600 - DEBUG - Requesting: http://10.0.0.50:8082/project/fa0bf72f-799a-48bf-815a-2350f611a3f4 2025-08-15 16:32:56,670 - INFO - Validated that VN ctest-vn-53233748 is not found in API Server 2025-08-15 16:32:56,680 - DEBUG - VN ctest-vn-53233748 is not present in Agent 10.0.0.50 2025-08-15 16:32:56,680 - INFO - Validated that VN ctest-vn-53233748 is not in any agent 2025-08-15 16:32:56,696 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53233748 info 2025-08-15 16:32:56,696 - INFO - Deleting VN ctest-vn-21190513 2025-08-15 16:32:56,787 - DEBUG - Response for deleting network () 2025-08-15 16:32:56,787 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b5aec59c-cb86-4398-b3e2-b97e743adda1 2025-08-15 16:32:56,793 - DEBUG - Response Code: 404 2025-08-15 16:32:56,793 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-15 16:32:56,798 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e807ff4e-deb0-4f2b-83f6-c90fc6771ab8 2025-08-15 16:32:56,848 - DEBUG - Requesting: http://10.0.0.50:8082/project/fa0bf72f-799a-48bf-815a-2350f611a3f4 2025-08-15 16:32:56,920 - INFO - Validated that VN ctest-vn-21190513 is not found in API Server 2025-08-15 16:32:56,930 - DEBUG - VN ctest-vn-21190513 is not present in Agent 10.0.0.50 2025-08-15 16:32:56,930 - INFO - Validated that VN ctest-vn-21190513 is not in any agent 2025-08-15 16:32:56,944 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21190513 info 2025-08-15 16:32:57,201 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 16:32:57,201 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-08-15 16:32:57,201 - INFO - -------------------------------------------------------------------------------- 2025-08-15 16:32:57,924 - INFO - Deleted project: ctest-TestBasicPolicy-34893521, ID : fa0bf72f-799a-48bf-815a-2350f611a3f4