2025-06-17 00:21:18,179 - INFO - Domain Default found not creating 2025-06-17 00:21:18,321 - INFO - Project ctest-TestBasicPolicy-66028837 not found, creating it 2025-06-17 00:21:18,796 - INFO - Created Project:ctest-TestBasicPolicy-66028837, ID : f0c299f1-24cd-47d1-8f64-d76acc9e0b5f 2025-06-17 00:21:20,252 - INFO - ================================================================================ 2025-06-17 00:21:20,252 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-17 00:21:20,252 - 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-06-17 00:21:20,511 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-06-17 00:21:20,511 - INFO - Initial checks done. Running the testcase now 2025-06-17 00:21:20,511 - INFO - 2025-06-17 00:21:21,074 - DEBUG - Response for create_network : {'network': {'id': '1c29ac4e-686f-4920-843f-792fd1364dca', 'name': 'ctest-vn-45621519', 'tenant_id': 'f0c299f124cd47d18f64d76acc9e0b5f', 'project_id': 'f0c299f124cd47d18f64d76acc9e0b5f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66028837', 'ctest-vn-45621519'], 'port_security_enabled': True, 'description': ''}} 2025-06-17 00:21:21,301 - DEBUG - Response for create_subnet : {'subnet': {'id': '65e8965f-d741-4661-b4c4-13db8244b459', 'name': '', 'tenant_id': 'f0c299f124cd47d18f64d76acc9e0b5f', 'network_id': '1c29ac4e-686f-4920-843f-792fd1364dca', 'ip_version': 4, 'cidr': '72.251.17.0/26', 'allocation_pools': [{'start': '72.251.17.2', 'end': '72.251.17.62'}], 'gateway_ip': '72.251.17.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.251.17.2', 'tags': [], 'project_id': 'f0c299f124cd47d18f64d76acc9e0b5f'}} 2025-06-17 00:21:21,320 - INFO - Created VN ctest-vn-45621519 2025-06-17 00:21:21,375 - DEBUG - VN ctest-vn-45621519 UUID is 1c29ac4e-686f-4920-843f-792fd1364dca 2025-06-17 00:21:21,679 - DEBUG - Response for create_network : {'network': {'id': 'c179a7e9-3c8d-48a9-9608-05239829da07', 'name': 'ctest-vn-88465618', 'tenant_id': 'f0c299f124cd47d18f64d76acc9e0b5f', 'project_id': 'f0c299f124cd47d18f64d76acc9e0b5f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66028837', 'ctest-vn-88465618'], 'port_security_enabled': True, 'description': ''}} 2025-06-17 00:21:21,885 - DEBUG - Response for create_subnet : {'subnet': {'id': '0266318e-8c9d-422e-abd9-f34640678110', 'name': '', 'tenant_id': 'f0c299f124cd47d18f64d76acc9e0b5f', 'network_id': 'c179a7e9-3c8d-48a9-9608-05239829da07', 'ip_version': 4, 'cidr': '113.102.40.128/26', 'allocation_pools': [{'start': '113.102.40.130', 'end': '113.102.40.190'}], 'gateway_ip': '113.102.40.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.102.40.130', 'tags': [], 'project_id': 'f0c299f124cd47d18f64d76acc9e0b5f'}} 2025-06-17 00:21:21,903 - INFO - Created VN ctest-vn-88465618 2025-06-17 00:21:21,955 - DEBUG - VN ctest-vn-88465618 UUID is c179a7e9-3c8d-48a9-9608-05239829da07 2025-06-17 00:21:22,067 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66028837:ctest-vn-45621519, 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-66028837:ctest-vn-88465618, 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-06-17 00:21:22,351 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1c29ac4e-686f-4920-843f-792fd1364dca', 'name': 'ctest-vn-45621519', 'tenant_id': 'f0c299f124cd47d18f64d76acc9e0b5f', 'project_id': 'f0c299f124cd47d18f64d76acc9e0b5f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['65e8965f-d741-4661-b4c4-13db8244b459'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66028837', 'ctest-vn-45621519'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66028837', 'ctest-policy-allow-all-47286157']], 'subnet_ipam': [{'subnet_cidr': '72.251.17.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-17 00:21:22,587 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c179a7e9-3c8d-48a9-9608-05239829da07', 'name': 'ctest-vn-88465618', 'tenant_id': 'f0c299f124cd47d18f64d76acc9e0b5f', 'project_id': 'f0c299f124cd47d18f64d76acc9e0b5f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0266318e-8c9d-422e-abd9-f34640678110'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66028837', 'ctest-vn-88465618'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66028837', 'ctest-policy-allow-all-47286157']], 'subnet_ipam': [{'subnet_cidr': '113.102.40.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-17 00:21:22,751 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-17 00:21:23,050 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-17 00:21:23,079 - DEBUG - Requesting: http://10.0.0.57:8082/domain/cbac7227-dcf7-4847-8fa1-c3ec2997a090 2025-06-17 00:21:23,092 - DEBUG - Requesting: http://10.0.0.57:8082/project/f0c299f1-24cd-47d1-8f64-d76acc9e0b5f 2025-06-17 00:21:23,169 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/1c29ac4e-686f-4920-843f-792fd1364dca 2025-06-17 00:21:23,184 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/1c29ac4e-686f-4920-843f-792fd1364dca 2025-06-17 00:21:23,197 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d2d1aa85-3b39-4640-8663-4d7bd2ebf581 2025-06-17 00:21:23,206 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d2d1aa85-3b39-4640-8663-4d7bd2ebf581 2025-06-17 00:21:23,215 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/dfa19430-6f7f-451f-b31a-3c8f5110ee97 2025-06-17 00:21:23,222 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-17 00:21:23,222 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/1c29ac4e-686f-4920-843f-792fd1364dca 2025-06-17 00:21:23,235 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d2d1aa85-3b39-4640-8663-4d7bd2ebf581 2025-06-17 00:21:23,252 - INFO - Verified VN network id 8 for VN 1c29ac4e-686f-4920-843f-792fd1364dca 2025-06-17 00:21:23,253 - INFO - Verifications in API Server for VN ctest-vn-45621519 passed 2025-06-17 00:21:23,253 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/1c29ac4e-686f-4920-843f-792fd1364dca 2025-06-17 00:21:23,265 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d2d1aa85-3b39-4640-8663-4d7bd2ebf581 2025-06-17 00:21:23,274 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d2d1aa85-3b39-4640-8663-4d7bd2ebf581 2025-06-17 00:21:23,281 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/dfa19430-6f7f-451f-b31a-3c8f5110ee97 2025-06-17 00:21:23,308 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66028837:ctest-vn-45621519', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66028837', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2029342559866669344', 'uuid-lslong': '9529468582819679690'}, 'enable': 'true', 'created': '2025-06-17T00:21:21', 'last-modified': '2025-06-17T00:21:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.967420'} 2025-06-17 00:21:23,331 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-17 00:21:23,332 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45621519 passed 2025-06-17 00:21:23,333 - DEBUG - ====Verifying policy data for ctest-vn-45621519 in API_Server ====== 2025-06-17 00:21:23,333 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-17 00:21:23,345 - DEBUG - Requesting: http://10.0.0.57:8082/domain/cbac7227-dcf7-4847-8fa1-c3ec2997a090 2025-06-17 00:21:23,357 - DEBUG - Requesting: http://10.0.0.57:8082/project/f0c299f1-24cd-47d1-8f64-d76acc9e0b5f 2025-06-17 00:21:23,437 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/1c29ac4e-686f-4920-843f-792fd1364dca 2025-06-17 00:21:23,448 - DEBUG - ==>Verifying data for policy with id: 5b588a06-0ca7-44e9-9628-9f8d81e12d6b, fqn: ['default-domain', 'ctest-TestBasicPolicy-66028837', 'ctest-policy-allow-all-47286157'] 2025-06-17 00:21:23,448 - INFO - VN ctest-vn-45621519 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-17 00:21:23,448 - DEBUG - Verifying the vn in opserver 2025-06-17 00:21:23,448 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66028837:ctest-vn-45621519 virtual network link through opserver 10.0.0.57 2025-06-17 00:21:23,448 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-06-17 00:21:23,758 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-06-17 00:21:23,822 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66028837:ctest-vn-45621519', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66028837:ctest-vn-45621519?flat'} 2025-06-17 00:21:23,822 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66028837:ctest-vn-45621519 is found in opserver 2025-06-17 00:21:23,834 - DEBUG - Do not have enough data to verify VN in agent 2025-06-17 00:21:23,839 - DEBUG - VRF ids for VN ctest-vn-45621519: {} 2025-06-17 00:21:23,839 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-17 00:21:23,846 - DEBUG - Requesting: http://10.0.0.57:8082/domain/cbac7227-dcf7-4847-8fa1-c3ec2997a090 2025-06-17 00:21:23,862 - DEBUG - Requesting: http://10.0.0.57:8082/project/f0c299f1-24cd-47d1-8f64-d76acc9e0b5f 2025-06-17 00:21:23,936 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/c179a7e9-3c8d-48a9-9608-05239829da07 2025-06-17 00:21:23,948 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/c179a7e9-3c8d-48a9-9608-05239829da07 2025-06-17 00:21:23,958 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/1f884e53-d7ef-4547-bf45-62a4d3476077 2025-06-17 00:21:23,965 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/1f884e53-d7ef-4547-bf45-62a4d3476077 2025-06-17 00:21:23,972 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/88eb4bff-662d-45fe-a7fa-7db0426d778d 2025-06-17 00:21:23,979 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-17 00:21:23,979 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/c179a7e9-3c8d-48a9-9608-05239829da07 2025-06-17 00:21:23,989 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/1f884e53-d7ef-4547-bf45-62a4d3476077 2025-06-17 00:21:24,006 - INFO - Verified VN network id 9 for VN c179a7e9-3c8d-48a9-9608-05239829da07 2025-06-17 00:21:24,006 - INFO - Verifications in API Server for VN ctest-vn-88465618 passed 2025-06-17 00:21:24,006 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/c179a7e9-3c8d-48a9-9608-05239829da07 2025-06-17 00:21:24,021 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/1f884e53-d7ef-4547-bf45-62a4d3476077 2025-06-17 00:21:24,030 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/1f884e53-d7ef-4547-bf45-62a4d3476077 2025-06-17 00:21:24,038 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/88eb4bff-662d-45fe-a7fa-7db0426d778d 2025-06-17 00:21:24,051 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66028837:ctest-vn-88465618', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66028837', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13941358741687191721', 'uuid-lslong': '10810896555937749511'}, 'enable': 'true', 'created': '2025-06-17T00:21:21', 'last-modified': '2025-06-17T00:21:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.486927'} 2025-06-17 00:21:24,058 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-17 00:21:24,058 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88465618 passed 2025-06-17 00:21:24,058 - DEBUG - ====Verifying policy data for ctest-vn-88465618 in API_Server ====== 2025-06-17 00:21:24,058 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-17 00:21:24,064 - DEBUG - Requesting: http://10.0.0.57:8082/domain/cbac7227-dcf7-4847-8fa1-c3ec2997a090 2025-06-17 00:21:24,076 - DEBUG - Requesting: http://10.0.0.57:8082/project/f0c299f1-24cd-47d1-8f64-d76acc9e0b5f 2025-06-17 00:21:24,148 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/c179a7e9-3c8d-48a9-9608-05239829da07 2025-06-17 00:21:24,158 - DEBUG - ==>Verifying data for policy with id: 5b588a06-0ca7-44e9-9628-9f8d81e12d6b, fqn: ['default-domain', 'ctest-TestBasicPolicy-66028837', 'ctest-policy-allow-all-47286157'] 2025-06-17 00:21:24,158 - INFO - VN ctest-vn-88465618 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-17 00:21:24,158 - DEBUG - Verifying the vn in opserver 2025-06-17 00:21:24,158 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66028837:ctest-vn-88465618 virtual network link through opserver 10.0.0.57 2025-06-17 00:21:24,158 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-06-17 00:21:24,169 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66028837:ctest-vn-88465618', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66028837:ctest-vn-88465618?flat'} 2025-06-17 00:21:24,169 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66028837:ctest-vn-88465618 is found in opserver 2025-06-17 00:21:24,180 - DEBUG - Do not have enough data to verify VN in agent 2025-06-17 00:21:24,185 - DEBUG - VRF ids for VN ctest-vn-88465618: {} 2025-06-17 00:21:24,239 - DEBUG - Services list from nova: [, , ] 2025-06-17 00:21:25,249 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3458-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3458-1) 2025-06-17 00:21:26,426 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3458-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3458-1) 2025-06-17 00:21:26,426 - INFO - Waiting for VM ctest-TestBasicPolicy-66028837-55438513 to be up.. 2025-06-17 00:21:26,509 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-17 00:21:31,609 - DEBUG - VM is in ACTIVE state now 2025-06-17 00:21:31,609 - INFO - VM name : ctest-TestBasicPolicy-66028837-55438513 2025-06-17 00:21:31,701 - DEBUG - VM ctest-TestBasicPolicy-66028837-55438513 ID is 700a6cde-f584-41b4-932f-db4c98faac7d 2025-06-17 00:21:31,721 - DEBUG - VM ctest-TestBasicPolicy-66028837-55438513 launched on Node cn-jenkins-deploy-platform-ansible-os-3458-1 2025-06-17 00:21:31,818 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/700a6cde-f584-41b4-932f-db4c98faac7d 2025-06-17 00:21:31,833 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/f5e31871-fc28-4a62-9f32-2e3323fcaa47 2025-06-17 00:21:35,108 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1031ms') 2025-06-17 00:21:35,108 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66028837-55438513 failed! 2025-06-17 00:21:35,163 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66028837:ctest-vn-45621519 is 72.251.17.1 and allocation pool is NOT set 2025-06-17 00:21:37,232 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.484 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.484/1.656/2.828/1.172 ms') 2025-06-17 00:21:37,232 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66028837-55438513 passed 2025-06-17 00:21:37,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 00:21:37,391 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66028837-55438513, IP 72.251.17.3, Port 22 2025-06-17 00:21:37,543 - DEBUG - VM ctest-TestBasicPolicy-66028837-55438513 is ready for SSH connections 2025-06-17 00:21:37,543 - INFO - Waiting for VM ctest-TestBasicPolicy-66028837-77542853 to be up.. 2025-06-17 00:21:37,617 - DEBUG - VM is in ACTIVE state now 2025-06-17 00:21:37,618 - INFO - VM name : ctest-TestBasicPolicy-66028837-77542853 2025-06-17 00:21:37,688 - DEBUG - VM ctest-TestBasicPolicy-66028837-77542853 ID is 8c41f076-a4cf-4ed5-aaec-6dfc52f6ea0c 2025-06-17 00:21:37,688 - DEBUG - VM ctest-TestBasicPolicy-66028837-77542853 launched on Node cn-jenkins-deploy-platform-ansible-os-3458-1 2025-06-17 00:21:37,762 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/8c41f076-a4cf-4ed5-aaec-6dfc52f6ea0c 2025-06-17 00:21:37,770 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/212b0453-7328-4841-97de-4b2facbc960b 2025-06-17 00:21:39,010 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.400 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.400/1.607/2.814/1.207 ms') 2025-06-17 00:21:39,010 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-66028837-77542853 passed 2025-06-17 00:21:39,163 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 00:21:39,163 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66028837-77542853, IP 113.102.40.131, Port 22 2025-06-17 00:21:39,319 - DEBUG - VM ctest-TestBasicPolicy-66028837-77542853 is ready for SSH connections 2025-06-17 00:21:39,320 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 00:21:39,320 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.102.40.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-06-17 00:21:39,320 - DEBUG - ping -s 56 -c 3 -W 1 113.102.40.131 2025-06-17 00:21:43,020 - DEBUG - PING 113.102.40.131 (113.102.40.131): 56 data bytes 64 bytes from 113.102.40.131: seq=0 ttl=63 time=4.312 ms 64 bytes from 113.102.40.131: seq=1 ttl=63 time=1.762 ms 64 bytes from 113.102.40.131: seq=2 ttl=63 time=0.790 ms --- 113.102.40.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.790/2.288/4.312 ms 2025-06-17 00:21:43,020 - INFO - Ping to IP 113.102.40.131 from VM ctest-TestBasicPolicy-66028837-55438513 passed 2025-06-17 00:21:43,203 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5b588a06-0ca7-44e9-9628-9f8d81e12d6b", "href": "http://10.0.0.57:8082/network-policy/5b588a06-0ca7-44e9-9628-9f8d81e12d6b"}} 2025-06-17 00:21:43,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 00:21:43,203 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.102.40.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-06-17 00:21:43,203 - DEBUG - ping -s 56 -c 3 -W 1 113.102.40.131 2025-06-17 00:21:46,409 - DEBUG - PING 113.102.40.131 (113.102.40.131): 56 data bytes --- 113.102.40.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-17 00:21:46,409 - WARNING - Ping to IP 113.102.40.131 from VM ctest-TestBasicPolicy-66028837-55438513 failed 2025-06-17 00:21:46,409 - INFO - Deleting VM ctest-TestBasicPolicy-66028837-77542853 2025-06-17 00:21:46,490 - INFO - Deleting VM ctest-TestBasicPolicy-66028837-55438513 2025-06-17 00:21:46,905 - INFO - Deleted policy ctest-policy-allow-all-47286157 2025-06-17 00:21:46,905 - INFO - Deleting VN ctest-vn-88465618 2025-06-17 00:21:46,952 - DEBUG - VN c179a7e9-3c8d-48a9-9608-05239829da07 still in use: Unable to complete operation on network c179a7e9-3c8d-48a9-9608-05239829da07. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-220c0c0d-8361-435b-bd19-1cb4fb29914c'] 2025-06-17 00:21:46,952 - WARNING - Deleting VN ctest-vn-88465618 failed..Will retry 2025-06-17 00:21:49,069 - DEBUG - Response for deleting network () 2025-06-17 00:21:49,069 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/1f884e53-d7ef-4547-bf45-62a4d3476077 2025-06-17 00:21:49,076 - DEBUG - Response Code: 404 2025-06-17 00:21:49,076 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-17 00:21:49,082 - DEBUG - Requesting: http://10.0.0.57:8082/domain/cbac7227-dcf7-4847-8fa1-c3ec2997a090 2025-06-17 00:21:49,137 - DEBUG - Requesting: http://10.0.0.57:8082/project/f0c299f1-24cd-47d1-8f64-d76acc9e0b5f 2025-06-17 00:21:49,208 - INFO - Validated that VN ctest-vn-88465618 is not found in API Server 2025-06-17 00:21:49,221 - DEBUG - VN ctest-vn-88465618 is not present in Agent 10.0.0.57 2025-06-17 00:21:49,221 - INFO - Validated that VN ctest-vn-88465618 is not in any agent 2025-06-17 00:21:49,238 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88465618 info 2025-06-17 00:21:49,239 - INFO - Deleting VN ctest-vn-45621519 2025-06-17 00:21:49,330 - DEBUG - Response for deleting network () 2025-06-17 00:21:49,330 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/d2d1aa85-3b39-4640-8663-4d7bd2ebf581 2025-06-17 00:21:49,336 - DEBUG - Response Code: 404 2025-06-17 00:21:49,337 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-17 00:21:49,342 - DEBUG - Requesting: http://10.0.0.57:8082/domain/cbac7227-dcf7-4847-8fa1-c3ec2997a090 2025-06-17 00:21:49,397 - DEBUG - Requesting: http://10.0.0.57:8082/project/f0c299f1-24cd-47d1-8f64-d76acc9e0b5f 2025-06-17 00:21:49,471 - INFO - Validated that VN ctest-vn-45621519 is not found in API Server 2025-06-17 00:21:49,484 - DEBUG - VN ctest-vn-45621519 is not present in Agent 10.0.0.57 2025-06-17 00:21:49,484 - INFO - Validated that VN ctest-vn-45621519 is not in any agent 2025-06-17 00:21:49,500 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45621519 info 2025-06-17 00:21:49,753 - DEBUG - No XMPP flaps were noticed during the test
2025-06-17 00:21:49,753 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-06-17 00:21:49,753 - INFO - -------------------------------------------------------------------------------- 2025-06-17 00:21:50,415 - INFO - Deleted project: ctest-TestBasicPolicy-66028837, ID : f0c299f1-24cd-47d1-8f64-d76acc9e0b5f