2025-10-20 16:02:34,679 - INFO - Domain Default found not creating 2025-10-20 16:02:34,823 - INFO - Project ctest-TestBasicPolicy-60564260 not found, creating it 2025-10-20 16:02:35,278 - INFO - Created Project:ctest-TestBasicPolicy-60564260, ID : 66343ea2-aba8-49df-8e5a-f2abdaae13fb 2025-10-20 16:02:36,736 - INFO - ================================================================================ 2025-10-20 16:02:36,736 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-20 16:02:36,736 - 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-10-20 16:02:36,990 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.18': '0'}} with 2025-10-20 16:02:36,990 - INFO - Initial checks done. Running the testcase now 2025-10-20 16:02:36,990 - INFO - 2025-10-20 16:02:37,522 - DEBUG - Response for create_network : {'network': {'id': '3406a337-1892-4a0a-91b6-d78595b74be3', 'name': 'ctest-vn-65787942', 'tenant_id': '66343ea2aba849df8e5af2abdaae13fb', 'project_id': '66343ea2aba849df8e5af2abdaae13fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60564260', 'ctest-vn-65787942'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 16:02:37,684 - DEBUG - Response for create_subnet : {'subnet': {'id': '339a7217-0955-4c36-96f7-72595c50299e', 'name': '', 'tenant_id': '66343ea2aba849df8e5af2abdaae13fb', 'network_id': '3406a337-1892-4a0a-91b6-d78595b74be3', 'ip_version': 4, 'cidr': '56.59.188.0/26', 'allocation_pools': [{'start': '56.59.188.2', 'end': '56.59.188.62'}], 'gateway_ip': '56.59.188.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.59.188.2', 'tags': [], 'project_id': '66343ea2aba849df8e5af2abdaae13fb'}} 2025-10-20 16:02:37,702 - INFO - Created VN ctest-vn-65787942 2025-10-20 16:02:37,752 - DEBUG - VN ctest-vn-65787942 UUID is 3406a337-1892-4a0a-91b6-d78595b74be3 2025-10-20 16:02:38,064 - DEBUG - Response for create_network : {'network': {'id': 'c0f59243-dcb2-408d-a4a3-aefa6cf86150', 'name': 'ctest-vn-95033306', 'tenant_id': '66343ea2aba849df8e5af2abdaae13fb', 'project_id': '66343ea2aba849df8e5af2abdaae13fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60564260', 'ctest-vn-95033306'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 16:02:38,224 - DEBUG - Response for create_subnet : {'subnet': {'id': '015c8bf4-92d5-4913-8f37-2497060ecc1b', 'name': '', 'tenant_id': '66343ea2aba849df8e5af2abdaae13fb', 'network_id': 'c0f59243-dcb2-408d-a4a3-aefa6cf86150', 'ip_version': 4, 'cidr': '141.115.94.0/26', 'allocation_pools': [{'start': '141.115.94.2', 'end': '141.115.94.62'}], 'gateway_ip': '141.115.94.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.115.94.2', 'tags': [], 'project_id': '66343ea2aba849df8e5af2abdaae13fb'}} 2025-10-20 16:02:38,243 - INFO - Created VN ctest-vn-95033306 2025-10-20 16:02:38,296 - DEBUG - VN ctest-vn-95033306 UUID is c0f59243-dcb2-408d-a4a3-aefa6cf86150 2025-10-20 16:02:38,444 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-60564260:ctest-vn-65787942, 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-60564260:ctest-vn-95033306, 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-10-20 16:02:38,742 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3406a337-1892-4a0a-91b6-d78595b74be3', 'name': 'ctest-vn-65787942', 'tenant_id': '66343ea2aba849df8e5af2abdaae13fb', 'project_id': '66343ea2aba849df8e5af2abdaae13fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['339a7217-0955-4c36-96f7-72595c50299e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60564260', 'ctest-vn-65787942'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60564260', 'ctest-policy-allow-all-07774533']], 'subnet_ipam': [{'subnet_cidr': '56.59.188.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-20 16:02:38,959 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c0f59243-dcb2-408d-a4a3-aefa6cf86150', 'name': 'ctest-vn-95033306', 'tenant_id': '66343ea2aba849df8e5af2abdaae13fb', 'project_id': '66343ea2aba849df8e5af2abdaae13fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['015c8bf4-92d5-4913-8f37-2497060ecc1b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60564260', 'ctest-vn-95033306'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60564260', 'ctest-policy-allow-all-07774533']], 'subnet_ipam': [{'subnet_cidr': '141.115.94.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-20 16:02:39,120 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-10-20 16:02:39,414 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-10-20 16:02:39,442 - DEBUG - Requesting: http://10.0.0.19:8082/domain/77cd44c6-faac-4783-aa8b-343f83be2fef 2025-10-20 16:02:39,454 - DEBUG - Requesting: http://10.0.0.19:8082/project/66343ea2-aba8-49df-8e5a-f2abdaae13fb 2025-10-20 16:02:39,528 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3406a337-1892-4a0a-91b6-d78595b74be3 2025-10-20 16:02:39,538 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3406a337-1892-4a0a-91b6-d78595b74be3 2025-10-20 16:02:39,549 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0c367e8d-35b7-47d8-9701-93b58cfa48ca 2025-10-20 16:02:39,556 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0c367e8d-35b7-47d8-9701-93b58cfa48ca 2025-10-20 16:02:39,564 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/92d3cb10-5a56-40d8-9798-ec601a7c145f 2025-10-20 16:02:39,570 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-20 16:02:39,570 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3406a337-1892-4a0a-91b6-d78595b74be3 2025-10-20 16:02:39,579 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0c367e8d-35b7-47d8-9701-93b58cfa48ca 2025-10-20 16:02:39,594 - INFO - Verified VN network id 10 for VN 3406a337-1892-4a0a-91b6-d78595b74be3 2025-10-20 16:02:39,594 - INFO - Verifications in API Server for VN ctest-vn-65787942 passed 2025-10-20 16:02:39,594 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3406a337-1892-4a0a-91b6-d78595b74be3 2025-10-20 16:02:39,605 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0c367e8d-35b7-47d8-9701-93b58cfa48ca 2025-10-20 16:02:39,612 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0c367e8d-35b7-47d8-9701-93b58cfa48ca 2025-10-20 16:02:39,618 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/92d3cb10-5a56-40d8-9798-ec601a7c145f 2025-10-20 16:02:39,630 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60564260:ctest-vn-65787942', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60564260', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3748863196863285770', 'uuid-lslong': '10499816550003330019'}, 'enable': 'true', 'created': '2025-10-20T16:02:37', 'last-modified': '2025-10-20T16:02:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.915070'} 2025-10-20 16:02:39,636 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-20 16:02:39,636 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65787942 passed 2025-10-20 16:02:39,636 - DEBUG - ====Verifying policy data for ctest-vn-65787942 in API_Server ====== 2025-10-20 16:02:39,636 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-10-20 16:02:39,641 - DEBUG - Requesting: http://10.0.0.19:8082/domain/77cd44c6-faac-4783-aa8b-343f83be2fef 2025-10-20 16:02:39,652 - DEBUG - Requesting: http://10.0.0.19:8082/project/66343ea2-aba8-49df-8e5a-f2abdaae13fb 2025-10-20 16:02:39,720 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3406a337-1892-4a0a-91b6-d78595b74be3 2025-10-20 16:02:39,729 - DEBUG - ==>Verifying data for policy with id: 173a68e2-ebd7-4c49-8315-bb420dcc9867, fqn: ['default-domain', 'ctest-TestBasicPolicy-60564260', 'ctest-policy-allow-all-07774533'] 2025-10-20 16:02:39,729 - INFO - VN ctest-vn-65787942 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-20 16:02:39,729 - DEBUG - Verifying the vn in opserver 2025-10-20 16:02:39,729 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60564260:ctest-vn-65787942 virtual network link through opserver 10.0.0.19 2025-10-20 16:02:39,729 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-10-20 16:02:40,018 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-10-20 16:02:40,073 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60564260:ctest-vn-65787942', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60564260:ctest-vn-65787942?flat'} 2025-10-20 16:02:40,073 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60564260:ctest-vn-65787942 is found in opserver 2025-10-20 16:02:40,082 - DEBUG - Do not have enough data to verify VN in agent 2025-10-20 16:02:40,086 - DEBUG - VRF ids for VN ctest-vn-65787942: {} 2025-10-20 16:02:40,086 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-10-20 16:02:40,091 - DEBUG - Requesting: http://10.0.0.19:8082/domain/77cd44c6-faac-4783-aa8b-343f83be2fef 2025-10-20 16:02:40,102 - DEBUG - Requesting: http://10.0.0.19:8082/project/66343ea2-aba8-49df-8e5a-f2abdaae13fb 2025-10-20 16:02:40,170 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c0f59243-dcb2-408d-a4a3-aefa6cf86150 2025-10-20 16:02:40,182 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c0f59243-dcb2-408d-a4a3-aefa6cf86150 2025-10-20 16:02:40,192 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/923d2e6d-590f-426e-80e9-e9e9dc143e55 2025-10-20 16:02:40,199 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/923d2e6d-590f-426e-80e9-e9e9dc143e55 2025-10-20 16:02:40,205 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/eadbedd9-7e4b-4c4b-966d-4db637ec1af4 2025-10-20 16:02:40,212 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-20 16:02:40,212 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c0f59243-dcb2-408d-a4a3-aefa6cf86150 2025-10-20 16:02:40,222 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/923d2e6d-590f-426e-80e9-e9e9dc143e55 2025-10-20 16:02:40,239 - INFO - Verified VN network id 11 for VN c0f59243-dcb2-408d-a4a3-aefa6cf86150 2025-10-20 16:02:40,239 - INFO - Verifications in API Server for VN ctest-vn-95033306 passed 2025-10-20 16:02:40,239 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c0f59243-dcb2-408d-a4a3-aefa6cf86150 2025-10-20 16:02:40,249 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/923d2e6d-590f-426e-80e9-e9e9dc143e55 2025-10-20 16:02:40,255 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/923d2e6d-590f-426e-80e9-e9e9dc143e55 2025-10-20 16:02:40,262 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/eadbedd9-7e4b-4c4b-966d-4db637ec1af4 2025-10-20 16:02:40,274 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60564260:ctest-vn-95033306', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60564260', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13904180244739408013', 'uuid-lslong': '11863518234017292624'}, 'enable': 'true', 'created': '2025-10-20T16:02:38', 'last-modified': '2025-10-20T16:02:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.337628'} 2025-10-20 16:02:40,279 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-20 16:02:40,279 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95033306 passed 2025-10-20 16:02:40,280 - DEBUG - ====Verifying policy data for ctest-vn-95033306 in API_Server ====== 2025-10-20 16:02:40,280 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-10-20 16:02:40,285 - DEBUG - Requesting: http://10.0.0.19:8082/domain/77cd44c6-faac-4783-aa8b-343f83be2fef 2025-10-20 16:02:40,296 - DEBUG - Requesting: http://10.0.0.19:8082/project/66343ea2-aba8-49df-8e5a-f2abdaae13fb 2025-10-20 16:02:40,366 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c0f59243-dcb2-408d-a4a3-aefa6cf86150 2025-10-20 16:02:40,375 - DEBUG - ==>Verifying data for policy with id: 173a68e2-ebd7-4c49-8315-bb420dcc9867, fqn: ['default-domain', 'ctest-TestBasicPolicy-60564260', 'ctest-policy-allow-all-07774533'] 2025-10-20 16:02:40,375 - INFO - VN ctest-vn-95033306 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-20 16:02:40,375 - DEBUG - Verifying the vn in opserver 2025-10-20 16:02:40,375 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60564260:ctest-vn-95033306 virtual network link through opserver 10.0.0.19 2025-10-20 16:02:40,375 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-10-20 16:02:40,383 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60564260:ctest-vn-95033306', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60564260:ctest-vn-95033306?flat'} 2025-10-20 16:02:40,383 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60564260:ctest-vn-95033306 is found in opserver 2025-10-20 16:02:40,392 - DEBUG - Do not have enough data to verify VN in agent 2025-10-20 16:02:40,396 - DEBUG - VRF ids for VN ctest-vn-95033306: {} 2025-10-20 16:02:40,453 - DEBUG - Services list from nova: [, , ] 2025-10-20 16:02:41,445 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4383-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4383-1) 2025-10-20 16:02:42,533 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4383-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4383-1) 2025-10-20 16:02:42,533 - INFO - Waiting for VM ctest-TestBasicPolicy-60564260-12003829 to be up.. 2025-10-20 16:02:42,614 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-20 16:02:47,687 - DEBUG - VM is in ACTIVE state now 2025-10-20 16:02:47,687 - INFO - VM name : ctest-TestBasicPolicy-60564260-12003829 2025-10-20 16:02:47,759 - DEBUG - VM ctest-TestBasicPolicy-60564260-12003829 ID is 6f304bb4-b210-47bd-bb16-ed4153e2bfaa 2025-10-20 16:02:47,777 - DEBUG - VM ctest-TestBasicPolicy-60564260-12003829 launched on Node cn-jenkins-deploy-platform-ansible-os-4383-1 2025-10-20 16:02:47,847 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/6f304bb4-b210-47bd-bb16-ed4153e2bfaa 2025-10-20 16:02:47,856 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/9014377b-0a9e-4491-9401-daeed91f711c 2025-10-20 16:02:51,111 - 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 1021ms') 2025-10-20 16:02:51,111 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60564260-12003829 failed! 2025-10-20 16:02:51,164 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-60564260:ctest-vn-65787942 is 56.59.188.1 and allocation pool is NOT set 2025-10-20 16:02:53,225 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=4.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.437 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.437/2.589/4.741/2.152 ms') 2025-10-20 16:02:53,225 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60564260-12003829 passed 2025-10-20 16:02:53,376 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 16:02:53,376 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60564260-12003829, IP 56.59.188.3, Port 22 2025-10-20 16:02:53,532 - DEBUG - VM ctest-TestBasicPolicy-60564260-12003829 is ready for SSH connections 2025-10-20 16:02:53,532 - INFO - Waiting for VM ctest-TestBasicPolicy-60564260-91832438 to be up.. 2025-10-20 16:02:53,611 - DEBUG - VM is in ACTIVE state now 2025-10-20 16:02:53,611 - INFO - VM name : ctest-TestBasicPolicy-60564260-91832438 2025-10-20 16:02:53,687 - DEBUG - VM ctest-TestBasicPolicy-60564260-91832438 ID is 15465ed8-96cb-496e-bb13-b0f1f36245c5 2025-10-20 16:02:53,687 - DEBUG - VM ctest-TestBasicPolicy-60564260-91832438 launched on Node cn-jenkins-deploy-platform-ansible-os-4383-1 2025-10-20 16:02:53,756 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/15465ed8-96cb-496e-bb13-b0f1f36245c5 2025-10-20 16:02:53,765 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/371d549f-0144-4612-a7e6-49556c3374f6 2025-10-20 16:02:55,009 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.466 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.466/2.023/3.581/1.557 ms') 2025-10-20 16:02:55,009 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-60564260-91832438 passed 2025-10-20 16:02:55,156 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 16:02:55,156 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60564260-91832438, IP 141.115.94.3, Port 22 2025-10-20 16:02:55,311 - DEBUG - VM ctest-TestBasicPolicy-60564260-91832438 is ready for SSH connections 2025-10-20 16:02:55,311 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 16:02:55,311 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.115.94.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-20 16:02:55,311 - DEBUG - ping -s 56 -c 3 -W 1 141.115.94.3 2025-10-20 16:02:59,014 - DEBUG - PING 141.115.94.3 (141.115.94.3): 56 data bytes 64 bytes from 141.115.94.3: seq=0 ttl=63 time=3.597 ms 64 bytes from 141.115.94.3: seq=1 ttl=63 time=0.831 ms 64 bytes from 141.115.94.3: seq=2 ttl=63 time=0.944 ms --- 141.115.94.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.831/1.790/3.597 ms 2025-10-20 16:02:59,014 - INFO - Ping to IP 141.115.94.3 from VM ctest-TestBasicPolicy-60564260-12003829 passed 2025-10-20 16:02:59,184 - DEBUG - Policy Update Response {"network-policy": {"uuid": "173a68e2-ebd7-4c49-8315-bb420dcc9867", "href": "http://10.0.0.19:8082/network-policy/173a68e2-ebd7-4c49-8315-bb420dcc9867"}} 2025-10-20 16:02:59,184 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 16:02:59,184 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.115.94.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-20 16:02:59,184 - DEBUG - ping -s 56 -c 3 -W 1 141.115.94.3 2025-10-20 16:03:02,392 - DEBUG - PING 141.115.94.3 (141.115.94.3): 56 data bytes --- 141.115.94.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-20 16:03:02,392 - WARNING - Ping to IP 141.115.94.3 from VM ctest-TestBasicPolicy-60564260-12003829 failed 2025-10-20 16:03:02,393 - INFO - Deleting VM ctest-TestBasicPolicy-60564260-91832438 2025-10-20 16:03:02,462 - INFO - Deleting VM ctest-TestBasicPolicy-60564260-12003829 2025-10-20 16:03:02,862 - INFO - Deleted policy ctest-policy-allow-all-07774533 2025-10-20 16:03:02,862 - INFO - Deleting VN ctest-vn-95033306 2025-10-20 16:03:02,895 - DEBUG - VN c0f59243-dcb2-408d-a4a3-aefa6cf86150 still in use: Unable to complete operation on network c0f59243-dcb2-408d-a4a3-aefa6cf86150. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a1e974d1-7d21-4d11-9c31-0571729e3333'] 2025-10-20 16:03:02,895 - WARNING - Deleting VN ctest-vn-95033306 failed..Will retry 2025-10-20 16:03:05,007 - DEBUG - Response for deleting network () 2025-10-20 16:03:05,007 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/923d2e6d-590f-426e-80e9-e9e9dc143e55 2025-10-20 16:03:05,013 - DEBUG - Response Code: 404 2025-10-20 16:03:05,013 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-10-20 16:03:05,018 - DEBUG - Requesting: http://10.0.0.19:8082/domain/77cd44c6-faac-4783-aa8b-343f83be2fef 2025-10-20 16:03:05,073 - DEBUG - Requesting: http://10.0.0.19:8082/project/66343ea2-aba8-49df-8e5a-f2abdaae13fb 2025-10-20 16:03:05,143 - INFO - Validated that VN ctest-vn-95033306 is not found in API Server 2025-10-20 16:03:05,152 - DEBUG - VN ctest-vn-95033306 is not present in Agent 10.0.0.19 2025-10-20 16:03:05,152 - INFO - Validated that VN ctest-vn-95033306 is not in any agent 2025-10-20 16:03:05,164 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95033306 info 2025-10-20 16:03:05,164 - INFO - Deleting VN ctest-vn-65787942 2025-10-20 16:03:05,272 - DEBUG - Response for deleting network () 2025-10-20 16:03:05,272 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0c367e8d-35b7-47d8-9701-93b58cfa48ca 2025-10-20 16:03:05,278 - DEBUG - Response Code: 404 2025-10-20 16:03:05,278 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-10-20 16:03:05,285 - DEBUG - Requesting: http://10.0.0.19:8082/domain/77cd44c6-faac-4783-aa8b-343f83be2fef 2025-10-20 16:03:05,337 - DEBUG - Requesting: http://10.0.0.19:8082/project/66343ea2-aba8-49df-8e5a-f2abdaae13fb 2025-10-20 16:03:05,406 - INFO - Validated that VN ctest-vn-65787942 is not found in API Server 2025-10-20 16:03:05,416 - DEBUG - VN ctest-vn-65787942 is not present in Agent 10.0.0.19 2025-10-20 16:03:05,416 - INFO - Validated that VN ctest-vn-65787942 is not in any agent 2025-10-20 16:03:05,430 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65787942 info 2025-10-20 16:03:05,685 - DEBUG - No XMPP flaps were noticed during the test 2025-10-20 16:03:05,685 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-20 16:03:05,685 - INFO - -------------------------------------------------------------------------------- 2025-10-20 16:03:06,370 - INFO - Deleted project: ctest-TestBasicPolicy-60564260, ID : 66343ea2-aba8-49df-8e5a-f2abdaae13fb