2025-08-15 17:28:28,549 - INFO - Domain Default found not creating 2025-08-15 17:28:28,662 - INFO - Project ctest-TestBasicPolicy-66190427 not found, creating it 2025-08-15 17:28:29,137 - INFO - Created Project:ctest-TestBasicPolicy-66190427, ID : 5b072804-f34b-458a-97ab-e7ecafc2b144 2025-08-15 17:28:30,417 - INFO - ================================================================================ 2025-08-15 17:28:30,417 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-15 17:28:30,417 - 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 17:28:30,666 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-15 17:28:30,666 - INFO - Initial checks done. Running the testcase now 2025-08-15 17:28:30,666 - INFO - 2025-08-15 17:28:31,168 - DEBUG - Response for create_network : {'network': {'id': '892099f5-3b0e-46f7-bff7-ce79251e2a1f', 'name': 'ctest-vn-99059781', 'tenant_id': '5b072804f34b458a97abe7ecafc2b144', 'project_id': '5b072804f34b458a97abe7ecafc2b144', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66190427', 'ctest-vn-99059781'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 17:28:31,355 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e033f225-6608-4b3e-9a59-f594fbb344d9', 'name': '', 'tenant_id': '5b072804f34b458a97abe7ecafc2b144', 'network_id': '892099f5-3b0e-46f7-bff7-ce79251e2a1f', 'ip_version': 4, 'cidr': '188.115.44.0/26', 'allocation_pools': [{'start': '188.115.44.2', 'end': '188.115.44.62'}], 'gateway_ip': '188.115.44.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.115.44.2', 'tags': [], 'project_id': '5b072804f34b458a97abe7ecafc2b144'}} 2025-08-15 17:28:31,369 - INFO - Created VN ctest-vn-99059781 2025-08-15 17:28:31,421 - DEBUG - VN ctest-vn-99059781 UUID is 892099f5-3b0e-46f7-bff7-ce79251e2a1f 2025-08-15 17:28:31,717 - DEBUG - Response for create_network : {'network': {'id': 'b19fafa8-bcc3-4f06-9792-413ceb054da9', 'name': 'ctest-vn-54408659', 'tenant_id': '5b072804f34b458a97abe7ecafc2b144', 'project_id': '5b072804f34b458a97abe7ecafc2b144', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66190427', 'ctest-vn-54408659'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 17:28:31,887 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3ee7a6b-d16d-46d7-b67f-bd3daa5e032d', 'name': '', 'tenant_id': '5b072804f34b458a97abe7ecafc2b144', 'network_id': 'b19fafa8-bcc3-4f06-9792-413ceb054da9', 'ip_version': 4, 'cidr': '84.122.46.128/26', 'allocation_pools': [{'start': '84.122.46.130', 'end': '84.122.46.190'}], 'gateway_ip': '84.122.46.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.122.46.130', 'tags': [], 'project_id': '5b072804f34b458a97abe7ecafc2b144'}} 2025-08-15 17:28:31,901 - INFO - Created VN ctest-vn-54408659 2025-08-15 17:28:31,953 - DEBUG - VN ctest-vn-54408659 UUID is b19fafa8-bcc3-4f06-9792-413ceb054da9 2025-08-15 17:28:32,097 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66190427:ctest-vn-99059781, 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-66190427:ctest-vn-54408659, 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 17:28:32,387 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '892099f5-3b0e-46f7-bff7-ce79251e2a1f', 'name': 'ctest-vn-99059781', 'tenant_id': '5b072804f34b458a97abe7ecafc2b144', 'project_id': '5b072804f34b458a97abe7ecafc2b144', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e033f225-6608-4b3e-9a59-f594fbb344d9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66190427', 'ctest-vn-99059781'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66190427', 'ctest-policy-allow-all-73340566']], 'subnet_ipam': [{'subnet_cidr': '188.115.44.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-15 17:28:32,626 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b19fafa8-bcc3-4f06-9792-413ceb054da9', 'name': 'ctest-vn-54408659', 'tenant_id': '5b072804f34b458a97abe7ecafc2b144', 'project_id': '5b072804f34b458a97abe7ecafc2b144', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e3ee7a6b-d16d-46d7-b67f-bd3daa5e032d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66190427', 'ctest-vn-54408659'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66190427', 'ctest-policy-allow-all-73340566']], 'subnet_ipam': [{'subnet_cidr': '84.122.46.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-15 17:28:32,789 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-15 17:28:33,077 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-15 17:28:33,100 - DEBUG - Requesting: http://10.0.0.50:8082/domain/4238f661-f832-4543-b519-0bccafd6fd9a 2025-08-15 17:28:33,110 - DEBUG - Requesting: http://10.0.0.50:8082/project/5b072804-f34b-458a-97ab-e7ecafc2b144 2025-08-15 17:28:33,177 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/892099f5-3b0e-46f7-bff7-ce79251e2a1f 2025-08-15 17:28:33,186 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/892099f5-3b0e-46f7-bff7-ce79251e2a1f 2025-08-15 17:28:33,193 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9a113163-97f2-44a6-b875-3c6592e01423 2025-08-15 17:28:33,198 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9a113163-97f2-44a6-b875-3c6592e01423 2025-08-15 17:28:33,203 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f4b02f6c-3175-4e33-b823-a2ea16feb0fd 2025-08-15 17:28:33,207 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-15 17:28:33,207 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/892099f5-3b0e-46f7-bff7-ce79251e2a1f 2025-08-15 17:28:33,214 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9a113163-97f2-44a6-b875-3c6592e01423 2025-08-15 17:28:33,225 - INFO - Verified VN network id 12 for VN 892099f5-3b0e-46f7-bff7-ce79251e2a1f 2025-08-15 17:28:33,225 - INFO - Verifications in API Server for VN ctest-vn-99059781 passed 2025-08-15 17:28:33,225 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/892099f5-3b0e-46f7-bff7-ce79251e2a1f 2025-08-15 17:28:33,232 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9a113163-97f2-44a6-b875-3c6592e01423 2025-08-15 17:28:33,237 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9a113163-97f2-44a6-b875-3c6592e01423 2025-08-15 17:28:33,242 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f4b02f6c-3175-4e33-b823-a2ea16feb0fd 2025-08-15 17:28:33,250 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66190427:ctest-vn-99059781', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66190427', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9881066860987696887', 'uuid-lslong': '13832751800200866335'}, 'enable': 'true', 'created': '2025-08-15T17:28:31', 'last-modified': '2025-08-15T17:28:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.888174'} 2025-08-15 17:28:33,256 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-15 17:28:33,256 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99059781 passed 2025-08-15 17:28:33,256 - DEBUG - ====Verifying policy data for ctest-vn-99059781 in API_Server ====== 2025-08-15 17:28:33,256 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-15 17:28:33,260 - DEBUG - Requesting: http://10.0.0.50:8082/domain/4238f661-f832-4543-b519-0bccafd6fd9a 2025-08-15 17:28:33,268 - DEBUG - Requesting: http://10.0.0.50:8082/project/5b072804-f34b-458a-97ab-e7ecafc2b144 2025-08-15 17:28:33,340 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/892099f5-3b0e-46f7-bff7-ce79251e2a1f 2025-08-15 17:28:33,348 - DEBUG - ==>Verifying data for policy with id: c5b50b39-1d50-4afd-a43e-c97270e1a937, fqn: ['default-domain', 'ctest-TestBasicPolicy-66190427', 'ctest-policy-allow-all-73340566'] 2025-08-15 17:28:33,348 - INFO - VN ctest-vn-99059781 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-15 17:28:33,348 - DEBUG - Verifying the vn in opserver 2025-08-15 17:28:33,348 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66190427:ctest-vn-99059781 virtual network link through opserver 10.0.0.50 2025-08-15 17:28:33,348 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-15 17:28:33,634 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-15 17:28:33,681 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66190427:ctest-vn-99059781', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66190427:ctest-vn-99059781?flat'} 2025-08-15 17:28:33,681 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66190427:ctest-vn-99059781 is found in opserver 2025-08-15 17:28:33,690 - DEBUG - Do not have enough data to verify VN in agent 2025-08-15 17:28:33,694 - DEBUG - VRF ids for VN ctest-vn-99059781: {} 2025-08-15 17:28:33,694 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-15 17:28:33,698 - DEBUG - Requesting: http://10.0.0.50:8082/domain/4238f661-f832-4543-b519-0bccafd6fd9a 2025-08-15 17:28:33,707 - DEBUG - Requesting: http://10.0.0.50:8082/project/5b072804-f34b-458a-97ab-e7ecafc2b144 2025-08-15 17:28:33,780 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b19fafa8-bcc3-4f06-9792-413ceb054da9 2025-08-15 17:28:33,790 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b19fafa8-bcc3-4f06-9792-413ceb054da9 2025-08-15 17:28:33,797 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/25637158-a271-4cbd-9811-0405afbd1b08 2025-08-15 17:28:33,803 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/25637158-a271-4cbd-9811-0405afbd1b08 2025-08-15 17:28:33,808 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/db6578e3-6ff6-4811-89bb-41dfa795cecb 2025-08-15 17:28:33,812 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-15 17:28:33,812 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b19fafa8-bcc3-4f06-9792-413ceb054da9 2025-08-15 17:28:33,819 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/25637158-a271-4cbd-9811-0405afbd1b08 2025-08-15 17:28:33,830 - INFO - Verified VN network id 13 for VN b19fafa8-bcc3-4f06-9792-413ceb054da9 2025-08-15 17:28:33,830 - INFO - Verifications in API Server for VN ctest-vn-54408659 passed 2025-08-15 17:28:33,830 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b19fafa8-bcc3-4f06-9792-413ceb054da9 2025-08-15 17:28:33,837 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/25637158-a271-4cbd-9811-0405afbd1b08 2025-08-15 17:28:33,842 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/25637158-a271-4cbd-9811-0405afbd1b08 2025-08-15 17:28:33,847 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/db6578e3-6ff6-4811-89bb-41dfa795cecb 2025-08-15 17:28:33,856 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66190427:ctest-vn-54408659', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66190427', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12799141805266521862', 'uuid-lslong': '10921863776223710633'}, 'enable': 'true', 'created': '2025-08-15T17:28:31', 'last-modified': '2025-08-15T17:28:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.254371'} 2025-08-15 17:28:33,861 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-15 17:28:33,861 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54408659 passed 2025-08-15 17:28:33,861 - DEBUG - ====Verifying policy data for ctest-vn-54408659 in API_Server ====== 2025-08-15 17:28:33,862 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-15 17:28:33,865 - DEBUG - Requesting: http://10.0.0.50:8082/domain/4238f661-f832-4543-b519-0bccafd6fd9a 2025-08-15 17:28:33,874 - DEBUG - Requesting: http://10.0.0.50:8082/project/5b072804-f34b-458a-97ab-e7ecafc2b144 2025-08-15 17:28:33,939 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b19fafa8-bcc3-4f06-9792-413ceb054da9 2025-08-15 17:28:33,947 - DEBUG - ==>Verifying data for policy with id: c5b50b39-1d50-4afd-a43e-c97270e1a937, fqn: ['default-domain', 'ctest-TestBasicPolicy-66190427', 'ctest-policy-allow-all-73340566'] 2025-08-15 17:28:33,947 - INFO - VN ctest-vn-54408659 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-15 17:28:33,947 - DEBUG - Verifying the vn in opserver 2025-08-15 17:28:33,947 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66190427:ctest-vn-54408659 virtual network link through opserver 10.0.0.50 2025-08-15 17:28:33,947 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-15 17:28:33,955 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66190427:ctest-vn-54408659', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66190427:ctest-vn-54408659?flat'} 2025-08-15 17:28:33,955 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66190427:ctest-vn-54408659 is found in opserver 2025-08-15 17:28:33,963 - DEBUG - Do not have enough data to verify VN in agent 2025-08-15 17:28:33,967 - DEBUG - VRF ids for VN ctest-vn-54408659: {} 2025-08-15 17:28:34,014 - DEBUG - Services list from nova: [, , ] 2025-08-15 17:28:34,942 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3868-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3868-1) 2025-08-15 17:28:35,964 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3868-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3868-1) 2025-08-15 17:28:35,964 - INFO - Waiting for VM ctest-TestBasicPolicy-66190427-45847838 to be up.. 2025-08-15 17:28:36,036 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-15 17:28:41,101 - DEBUG - VM is in ACTIVE state now 2025-08-15 17:28:41,101 - INFO - VM name : ctest-TestBasicPolicy-66190427-45847838 2025-08-15 17:28:41,161 - DEBUG - VM ctest-TestBasicPolicy-66190427-45847838 ID is 361a0368-8bb2-48c2-8f33-58cadda29312 2025-08-15 17:28:41,177 - DEBUG - VM ctest-TestBasicPolicy-66190427-45847838 launched on Node cn-jenkins-deploy-platform-ansible-os-3868-1 2025-08-15 17:28:41,235 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/361a0368-8bb2-48c2-8f33-58cadda29312 2025-08-15 17:28:41,242 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/434723cc-743d-4f63-a659-2d8f82120884 2025-08-15 17:28:44,489 - 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 1016ms') 2025-08-15 17:28:44,489 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66190427-45847838 failed! 2025-08-15 17:28:44,545 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66190427:ctest-vn-99059781 is 188.115.44.1 and allocation pool is NOT set 2025-08-15 17:28:46,600 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.317 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.317/1.479/2.642/1.162 ms') 2025-08-15 17:28:46,600 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66190427-45847838 passed 2025-08-15 17:28:46,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 17:28:46,741 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66190427-45847838, IP 188.115.44.3, Port 22 2025-08-15 17:28:46,896 - DEBUG - VM ctest-TestBasicPolicy-66190427-45847838 is ready for SSH connections 2025-08-15 17:28:46,896 - INFO - Waiting for VM ctest-TestBasicPolicy-66190427-38437619 to be up.. 2025-08-15 17:28:46,956 - DEBUG - VM is in ACTIVE state now 2025-08-15 17:28:46,957 - INFO - VM name : ctest-TestBasicPolicy-66190427-38437619 2025-08-15 17:28:47,012 - DEBUG - VM ctest-TestBasicPolicy-66190427-38437619 ID is 7df9b332-233c-440f-b68a-c7949cf865ba 2025-08-15 17:28:47,012 - DEBUG - VM ctest-TestBasicPolicy-66190427-38437619 launched on Node cn-jenkins-deploy-platform-ansible-os-3868-1 2025-08-15 17:28:47,154 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7df9b332-233c-440f-b68a-c7949cf865ba 2025-08-15 17:28:47,163 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/685d28c2-0809-4997-afb1-0bcf69e858ff 2025-08-15 17:28:48,391 - 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.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.82 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 = 1.818/2.684/3.551/0.866 ms') 2025-08-15 17:28:48,391 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-66190427-38437619 passed 2025-08-15 17:28:48,537 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 17:28:48,537 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66190427-38437619, IP 84.122.46.131, Port 22 2025-08-15 17:28:48,688 - DEBUG - VM ctest-TestBasicPolicy-66190427-38437619 is ready for SSH connections 2025-08-15 17:28:48,688 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 17:28:48,688 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.122.46.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-15 17:28:48,689 - DEBUG - ping -s 56 -c 3 -W 1 84.122.46.131 2025-08-15 17:28:52,622 - DEBUG - PING 84.122.46.131 (84.122.46.131): 56 data bytes 64 bytes from 84.122.46.131: seq=0 ttl=63 time=3.088 ms 64 bytes from 84.122.46.131: seq=1 ttl=63 time=0.665 ms 64 bytes from 84.122.46.131: seq=2 ttl=63 time=0.625 ms --- 84.122.46.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.625/1.459/3.088 ms 2025-08-15 17:28:52,622 - INFO - Ping to IP 84.122.46.131 from VM ctest-TestBasicPolicy-66190427-45847838 passed 2025-08-15 17:28:52,797 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c5b50b39-1d50-4afd-a43e-c97270e1a937", "href": "http://10.0.0.50:8082/network-policy/c5b50b39-1d50-4afd-a43e-c97270e1a937"}} 2025-08-15 17:28:52,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 17:28:52,797 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.122.46.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-15 17:28:52,797 - DEBUG - ping -s 56 -c 3 -W 1 84.122.46.131 2025-08-15 17:28:55,995 - DEBUG - PING 84.122.46.131 (84.122.46.131): 56 data bytes 64 bytes from 84.122.46.131: seq=0 ttl=63 time=1.321 ms --- 84.122.46.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.321/1.321/1.321 ms 2025-08-15 17:28:55,996 - WARNING - Ping to IP 84.122.46.131 from VM ctest-TestBasicPolicy-66190427-45847838 failed 2025-08-15 17:28:55,996 - INFO - Deleting VM ctest-TestBasicPolicy-66190427-38437619 2025-08-15 17:28:56,051 - INFO - Deleting VM ctest-TestBasicPolicy-66190427-45847838 2025-08-15 17:28:56,362 - INFO - Deleted policy ctest-policy-allow-all-73340566 2025-08-15 17:28:56,362 - INFO - Deleting VN ctest-vn-54408659 2025-08-15 17:28:56,392 - DEBUG - VN b19fafa8-bcc3-4f06-9792-413ceb054da9 still in use: Unable to complete operation on network b19fafa8-bcc3-4f06-9792-413ceb054da9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-31b42c7d-4f8f-42b5-9615-19793963ce14'] 2025-08-15 17:28:56,392 - WARNING - Deleting VN ctest-vn-54408659 failed..Will retry 2025-08-15 17:28:58,482 - DEBUG - Response for deleting network () 2025-08-15 17:28:58,482 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/25637158-a271-4cbd-9811-0405afbd1b08 2025-08-15 17:28:58,486 - DEBUG - Response Code: 404 2025-08-15 17:28:58,486 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-15 17:28:58,493 - DEBUG - Requesting: http://10.0.0.50:8082/domain/4238f661-f832-4543-b519-0bccafd6fd9a 2025-08-15 17:28:58,549 - DEBUG - Requesting: http://10.0.0.50:8082/project/5b072804-f34b-458a-97ab-e7ecafc2b144 2025-08-15 17:28:58,616 - INFO - Validated that VN ctest-vn-54408659 is not found in API Server 2025-08-15 17:28:58,624 - DEBUG - VN ctest-vn-54408659 is not present in Agent 10.0.0.50 2025-08-15 17:28:58,624 - INFO - Validated that VN ctest-vn-54408659 is not in any agent 2025-08-15 17:28:58,637 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54408659 info 2025-08-15 17:28:58,637 - INFO - Deleting VN ctest-vn-99059781 2025-08-15 17:28:58,724 - DEBUG - Response for deleting network () 2025-08-15 17:28:58,724 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9a113163-97f2-44a6-b875-3c6592e01423 2025-08-15 17:28:58,729 - DEBUG - Response Code: 404 2025-08-15 17:28:58,729 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-15 17:28:58,733 - DEBUG - Requesting: http://10.0.0.50:8082/domain/4238f661-f832-4543-b519-0bccafd6fd9a 2025-08-15 17:28:58,785 - DEBUG - Requesting: http://10.0.0.50:8082/project/5b072804-f34b-458a-97ab-e7ecafc2b144 2025-08-15 17:28:58,854 - INFO - Validated that VN ctest-vn-99059781 is not found in API Server 2025-08-15 17:28:58,862 - DEBUG - VN ctest-vn-99059781 is not present in Agent 10.0.0.50 2025-08-15 17:28:58,862 - INFO - Validated that VN ctest-vn-99059781 is not in any agent 2025-08-15 17:28:58,875 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99059781 info 2025-08-15 17:28:59,130 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 17:28:59,130 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-08-15 17:28:59,130 - INFO - -------------------------------------------------------------------------------- 2025-08-15 17:28:59,801 - INFO - Deleted project: ctest-TestBasicPolicy-66190427, ID : 5b072804-f34b-458a-97ab-e7ecafc2b144