2025-09-05 18:21:57,947 - INFO - Domain Default found not creating 2025-09-05 18:21:58,080 - INFO - Project ctest-TestBasicPolicy-17237051 not found, creating it 2025-09-05 18:21:58,495 - INFO - Created Project:ctest-TestBasicPolicy-17237051, ID : 8748e6e2-db7a-487c-953d-21f14f3cc4f2 2025-09-05 18:21:59,843 - INFO - ================================================================================ 2025-09-05 18:21:59,844 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-05 18:21:59,844 - 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-09-05 18:22:00,102 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-09-05 18:22:00,102 - INFO - Initial checks done. Running the testcase now 2025-09-05 18:22:00,102 - INFO - 2025-09-05 18:22:00,619 - DEBUG - Response for create_network : {'network': {'id': 'a99bca4f-2f08-47c1-93c4-ffe9eb3f9b22', 'name': 'ctest-vn-43315233', 'tenant_id': '8748e6e2db7a487c953d21f14f3cc4f2', 'project_id': '8748e6e2db7a487c953d21f14f3cc4f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17237051', 'ctest-vn-43315233'], 'port_security_enabled': True, 'description': ''}} 2025-09-05 18:22:00,824 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f338720-2b67-47df-b2ee-ace5d47842be', 'name': '', 'tenant_id': '8748e6e2db7a487c953d21f14f3cc4f2', 'network_id': 'a99bca4f-2f08-47c1-93c4-ffe9eb3f9b22', 'ip_version': 4, 'cidr': '133.211.191.192/26', 'allocation_pools': [{'start': '133.211.191.194', 'end': '133.211.191.254'}], 'gateway_ip': '133.211.191.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.211.191.194', 'tags': [], 'project_id': '8748e6e2db7a487c953d21f14f3cc4f2'}} 2025-09-05 18:22:00,840 - INFO - Created VN ctest-vn-43315233 2025-09-05 18:22:00,889 - DEBUG - VN ctest-vn-43315233 UUID is a99bca4f-2f08-47c1-93c4-ffe9eb3f9b22 2025-09-05 18:22:01,208 - DEBUG - Response for create_network : {'network': {'id': '269b7c91-8cdf-44b1-83b2-25e2fedff2b1', 'name': 'ctest-vn-46504296', 'tenant_id': '8748e6e2db7a487c953d21f14f3cc4f2', 'project_id': '8748e6e2db7a487c953d21f14f3cc4f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17237051', 'ctest-vn-46504296'], 'port_security_enabled': True, 'description': ''}} 2025-09-05 18:22:01,387 - DEBUG - Response for create_subnet : {'subnet': {'id': '08405802-c1ad-4863-8793-5a37216e6794', 'name': '', 'tenant_id': '8748e6e2db7a487c953d21f14f3cc4f2', 'network_id': '269b7c91-8cdf-44b1-83b2-25e2fedff2b1', 'ip_version': 4, 'cidr': '69.109.101.64/26', 'allocation_pools': [{'start': '69.109.101.66', 'end': '69.109.101.126'}], 'gateway_ip': '69.109.101.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.109.101.66', 'tags': [], 'project_id': '8748e6e2db7a487c953d21f14f3cc4f2'}} 2025-09-05 18:22:01,404 - INFO - Created VN ctest-vn-46504296 2025-09-05 18:22:01,457 - DEBUG - VN ctest-vn-46504296 UUID is 269b7c91-8cdf-44b1-83b2-25e2fedff2b1 2025-09-05 18:22:01,605 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-17237051:ctest-vn-43315233, 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-17237051:ctest-vn-46504296, 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-09-05 18:22:01,894 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a99bca4f-2f08-47c1-93c4-ffe9eb3f9b22', 'name': 'ctest-vn-43315233', 'tenant_id': '8748e6e2db7a487c953d21f14f3cc4f2', 'project_id': '8748e6e2db7a487c953d21f14f3cc4f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8f338720-2b67-47df-b2ee-ace5d47842be'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17237051', 'ctest-vn-43315233'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17237051', 'ctest-policy-allow-all-91829437']], 'subnet_ipam': [{'subnet_cidr': '133.211.191.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-05 18:22:02,171 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '269b7c91-8cdf-44b1-83b2-25e2fedff2b1', 'name': 'ctest-vn-46504296', 'tenant_id': '8748e6e2db7a487c953d21f14f3cc4f2', 'project_id': '8748e6e2db7a487c953d21f14f3cc4f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['08405802-c1ad-4863-8793-5a37216e6794'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17237051', 'ctest-vn-46504296'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17237051', 'ctest-policy-allow-all-91829437']], 'subnet_ipam': [{'subnet_cidr': '69.109.101.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-05 18:22:02,313 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-05 18:22:02,616 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-05 18:22:02,641 - DEBUG - Requesting: http://10.0.0.57:8082/domain/f8d7b60e-08ab-4081-b0df-ba3261bf638b 2025-09-05 18:22:02,652 - DEBUG - Requesting: http://10.0.0.57:8082/project/8748e6e2-db7a-487c-953d-21f14f3cc4f2 2025-09-05 18:22:02,731 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/a99bca4f-2f08-47c1-93c4-ffe9eb3f9b22 2025-09-05 18:22:02,741 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/a99bca4f-2f08-47c1-93c4-ffe9eb3f9b22 2025-09-05 18:22:02,749 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/b3fada3c-387e-4f05-94ea-12ef629df219 2025-09-05 18:22:02,756 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/b3fada3c-387e-4f05-94ea-12ef629df219 2025-09-05 18:22:02,762 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/c5824f9a-2748-4f85-b25f-adacc5464111 2025-09-05 18:22:02,767 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-05 18:22:02,767 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/a99bca4f-2f08-47c1-93c4-ffe9eb3f9b22 2025-09-05 18:22:02,775 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/b3fada3c-387e-4f05-94ea-12ef629df219 2025-09-05 18:22:02,787 - INFO - Verified VN network id 11 for VN a99bca4f-2f08-47c1-93c4-ffe9eb3f9b22 2025-09-05 18:22:02,787 - INFO - Verifications in API Server for VN ctest-vn-43315233 passed 2025-09-05 18:22:02,787 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/a99bca4f-2f08-47c1-93c4-ffe9eb3f9b22 2025-09-05 18:22:02,794 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/b3fada3c-387e-4f05-94ea-12ef629df219 2025-09-05 18:22:02,801 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/b3fada3c-387e-4f05-94ea-12ef629df219 2025-09-05 18:22:02,806 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/c5824f9a-2748-4f85-b25f-adacc5464111 2025-09-05 18:22:02,816 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17237051:ctest-vn-43315233', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17237051', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12221584455240271809', 'uuid-lslong': '10647916799149972258'}, 'enable': 'true', 'created': '2025-09-05T18:22:00', 'last-modified': '2025-09-05T18:22:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.941208'} 2025-09-05 18:22:02,821 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-05 18:22:02,822 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43315233 passed 2025-09-05 18:22:02,822 - DEBUG - ====Verifying policy data for ctest-vn-43315233 in API_Server ====== 2025-09-05 18:22:02,822 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-05 18:22:02,826 - DEBUG - Requesting: http://10.0.0.57:8082/domain/f8d7b60e-08ab-4081-b0df-ba3261bf638b 2025-09-05 18:22:02,836 - DEBUG - Requesting: http://10.0.0.57:8082/project/8748e6e2-db7a-487c-953d-21f14f3cc4f2 2025-09-05 18:22:02,901 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/a99bca4f-2f08-47c1-93c4-ffe9eb3f9b22 2025-09-05 18:22:02,909 - DEBUG - ==>Verifying data for policy with id: ec897e4b-34f1-4455-8f63-c2b4c8715748, fqn: ['default-domain', 'ctest-TestBasicPolicy-17237051', 'ctest-policy-allow-all-91829437'] 2025-09-05 18:22:02,909 - INFO - VN ctest-vn-43315233 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-05 18:22:02,909 - DEBUG - Verifying the vn in opserver 2025-09-05 18:22:02,909 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17237051:ctest-vn-43315233 virtual network link through opserver 10.0.0.57 2025-09-05 18:22:02,909 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-09-05 18:22:03,198 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-09-05 18:22:03,247 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17237051:ctest-vn-43315233', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17237051:ctest-vn-43315233?flat'} 2025-09-05 18:22:03,247 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17237051:ctest-vn-43315233 is found in opserver 2025-09-05 18:22:03,255 - DEBUG - Do not have enough data to verify VN in agent 2025-09-05 18:22:03,259 - DEBUG - VRF ids for VN ctest-vn-43315233: {} 2025-09-05 18:22:03,259 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-05 18:22:03,264 - DEBUG - Requesting: http://10.0.0.57:8082/domain/f8d7b60e-08ab-4081-b0df-ba3261bf638b 2025-09-05 18:22:03,274 - DEBUG - Requesting: http://10.0.0.57:8082/project/8748e6e2-db7a-487c-953d-21f14f3cc4f2 2025-09-05 18:22:03,341 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/269b7c91-8cdf-44b1-83b2-25e2fedff2b1 2025-09-05 18:22:03,351 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/269b7c91-8cdf-44b1-83b2-25e2fedff2b1 2025-09-05 18:22:03,359 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/6c7f9cc7-4e6b-4c94-b7be-0d9b1d12a624 2025-09-05 18:22:03,365 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/6c7f9cc7-4e6b-4c94-b7be-0d9b1d12a624 2025-09-05 18:22:03,371 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/43bab2f8-ecbf-498b-bab6-d424731b14e4 2025-09-05 18:22:03,377 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-05 18:22:03,377 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/269b7c91-8cdf-44b1-83b2-25e2fedff2b1 2025-09-05 18:22:03,385 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/6c7f9cc7-4e6b-4c94-b7be-0d9b1d12a624 2025-09-05 18:22:03,397 - INFO - Verified VN network id 12 for VN 269b7c91-8cdf-44b1-83b2-25e2fedff2b1 2025-09-05 18:22:03,397 - INFO - Verifications in API Server for VN ctest-vn-46504296 passed 2025-09-05 18:22:03,397 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/269b7c91-8cdf-44b1-83b2-25e2fedff2b1 2025-09-05 18:22:03,405 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/6c7f9cc7-4e6b-4c94-b7be-0d9b1d12a624 2025-09-05 18:22:03,411 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/6c7f9cc7-4e6b-4c94-b7be-0d9b1d12a624 2025-09-05 18:22:03,416 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/43bab2f8-ecbf-498b-bab6-d424731b14e4 2025-09-05 18:22:03,427 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17237051:ctest-vn-46504296', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17237051', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2781954159406957745', 'uuid-lslong': '9489689021691982513'}, 'enable': 'true', 'created': '2025-09-05T18:22:01', 'last-modified': '2025-09-05T18:22:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.325664'} 2025-09-05 18:22:03,432 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-05 18:22:03,433 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46504296 passed 2025-09-05 18:22:03,433 - DEBUG - ====Verifying policy data for ctest-vn-46504296 in API_Server ====== 2025-09-05 18:22:03,433 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-05 18:22:03,438 - DEBUG - Requesting: http://10.0.0.57:8082/domain/f8d7b60e-08ab-4081-b0df-ba3261bf638b 2025-09-05 18:22:03,448 - DEBUG - Requesting: http://10.0.0.57:8082/project/8748e6e2-db7a-487c-953d-21f14f3cc4f2 2025-09-05 18:22:03,519 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/269b7c91-8cdf-44b1-83b2-25e2fedff2b1 2025-09-05 18:22:03,527 - DEBUG - ==>Verifying data for policy with id: ec897e4b-34f1-4455-8f63-c2b4c8715748, fqn: ['default-domain', 'ctest-TestBasicPolicy-17237051', 'ctest-policy-allow-all-91829437'] 2025-09-05 18:22:03,527 - INFO - VN ctest-vn-46504296 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-05 18:22:03,527 - DEBUG - Verifying the vn in opserver 2025-09-05 18:22:03,527 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17237051:ctest-vn-46504296 virtual network link through opserver 10.0.0.57 2025-09-05 18:22:03,527 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-09-05 18:22:03,538 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17237051:ctest-vn-46504296', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17237051:ctest-vn-46504296?flat'} 2025-09-05 18:22:03,539 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17237051:ctest-vn-46504296 is found in opserver 2025-09-05 18:22:03,557 - DEBUG - Do not have enough data to verify VN in agent 2025-09-05 18:22:03,571 - DEBUG - VRF ids for VN ctest-vn-46504296: {} 2025-09-05 18:22:03,644 - DEBUG - Services list from nova: [, , ] 2025-09-05 18:22:04,633 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4028-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4028-1) 2025-09-05 18:22:05,718 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4028-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4028-1) 2025-09-05 18:22:05,718 - INFO - Waiting for VM ctest-TestBasicPolicy-17237051-92125957 to be up.. 2025-09-05 18:22:05,788 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-05 18:22:10,859 - DEBUG - VM is in ACTIVE state now 2025-09-05 18:22:10,859 - INFO - VM name : ctest-TestBasicPolicy-17237051-92125957 2025-09-05 18:22:10,925 - DEBUG - VM ctest-TestBasicPolicy-17237051-92125957 ID is 5312eb59-f7fc-41e5-acff-bbf1bb467cc1 2025-09-05 18:22:10,943 - DEBUG - VM ctest-TestBasicPolicy-17237051-92125957 launched on Node cn-jenkins-deploy-platform-ansible-os-4028-1 2025-09-05 18:22:11,010 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/5312eb59-f7fc-41e5-acff-bbf1bb467cc1 2025-09-05 18:22:11,017 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/5052b62d-fd21-4e55-a960-e5aa9e2a5829 2025-09-05 18:22:14,256 - 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 1003ms') 2025-09-05 18:22:14,256 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17237051-92125957 failed! 2025-09-05 18:22:14,313 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-17237051:ctest-vn-43315233 is 133.211.191.193 and allocation pool is NOT set 2025-09-05 18:22:16,369 - 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.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.394 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.394/1.604/2.815/1.210 ms') 2025-09-05 18:22:16,369 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17237051-92125957 passed 2025-09-05 18:22:16,521 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 18:22:16,521 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17237051-92125957, IP 133.211.191.195, Port 22 2025-09-05 18:22:16,681 - DEBUG - VM ctest-TestBasicPolicy-17237051-92125957 is ready for SSH connections 2025-09-05 18:22:16,681 - INFO - Waiting for VM ctest-TestBasicPolicy-17237051-38036920 to be up.. 2025-09-05 18:22:16,748 - DEBUG - VM is in ACTIVE state now 2025-09-05 18:22:16,748 - INFO - VM name : ctest-TestBasicPolicy-17237051-38036920 2025-09-05 18:22:16,816 - DEBUG - VM ctest-TestBasicPolicy-17237051-38036920 ID is 86fb0823-093f-48b1-a4d8-1828d0138870 2025-09-05 18:22:16,816 - DEBUG - VM ctest-TestBasicPolicy-17237051-38036920 launched on Node cn-jenkins-deploy-platform-ansible-os-4028-1 2025-09-05 18:22:16,880 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/86fb0823-093f-48b1-a4d8-1828d0138870 2025-09-05 18:22:16,887 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/2103d250-11dc-432c-af27-58f80fc258e9 2025-09-05 18:22:18,118 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.424 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.424/1.595/2.767/1.171 ms') 2025-09-05 18:22:18,118 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-17237051-38036920 passed 2025-09-05 18:22:18,269 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 18:22:18,269 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17237051-38036920, IP 69.109.101.67, Port 22 2025-09-05 18:22:18,420 - DEBUG - VM ctest-TestBasicPolicy-17237051-38036920 is ready for SSH connections 2025-09-05 18:22:18,420 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 18:22:18,420 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 69.109.101.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-05 18:22:18,421 - DEBUG - ping -s 56 -c 3 -W 1 69.109.101.67 2025-09-05 18:22:22,247 - DEBUG - PING 69.109.101.67 (69.109.101.67): 56 data bytes 64 bytes from 69.109.101.67: seq=0 ttl=63 time=3.106 ms 64 bytes from 69.109.101.67: seq=1 ttl=63 time=0.869 ms 64 bytes from 69.109.101.67: seq=2 ttl=63 time=0.716 ms --- 69.109.101.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.716/1.563/3.106 ms 2025-09-05 18:22:22,248 - INFO - Ping to IP 69.109.101.67 from VM ctest-TestBasicPolicy-17237051-92125957 passed 2025-09-05 18:22:22,429 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ec897e4b-34f1-4455-8f63-c2b4c8715748", "href": "http://10.0.0.57:8082/network-policy/ec897e4b-34f1-4455-8f63-c2b4c8715748"}} 2025-09-05 18:22:22,429 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 18:22:22,429 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 69.109.101.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-05 18:22:22,429 - DEBUG - ping -s 56 -c 3 -W 1 69.109.101.67 2025-09-05 18:22:25,628 - DEBUG - PING 69.109.101.67 (69.109.101.67): 56 data bytes --- 69.109.101.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-05 18:22:25,628 - WARNING - Ping to IP 69.109.101.67 from VM ctest-TestBasicPolicy-17237051-92125957 failed 2025-09-05 18:22:25,628 - INFO - Deleting VM ctest-TestBasicPolicy-17237051-38036920 2025-09-05 18:22:25,699 - INFO - Deleting VM ctest-TestBasicPolicy-17237051-92125957 2025-09-05 18:22:26,047 - INFO - Deleted policy ctest-policy-allow-all-91829437 2025-09-05 18:22:26,047 - INFO - Deleting VN ctest-vn-46504296 2025-09-05 18:22:26,078 - DEBUG - VN 269b7c91-8cdf-44b1-83b2-25e2fedff2b1 still in use: Unable to complete operation on network 269b7c91-8cdf-44b1-83b2-25e2fedff2b1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-30625c92-8601-4bb4-94b0-cc9406bfab80'] 2025-09-05 18:22:26,078 - WARNING - Deleting VN ctest-vn-46504296 failed..Will retry 2025-09-05 18:22:28,165 - DEBUG - Response for deleting network () 2025-09-05 18:22:28,165 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/6c7f9cc7-4e6b-4c94-b7be-0d9b1d12a624 2025-09-05 18:22:28,169 - DEBUG - Response Code: 404 2025-09-05 18:22:28,170 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-05 18:22:28,174 - DEBUG - Requesting: http://10.0.0.57:8082/domain/f8d7b60e-08ab-4081-b0df-ba3261bf638b 2025-09-05 18:22:28,226 - DEBUG - Requesting: http://10.0.0.57:8082/project/8748e6e2-db7a-487c-953d-21f14f3cc4f2 2025-09-05 18:22:28,290 - INFO - Validated that VN ctest-vn-46504296 is not found in API Server 2025-09-05 18:22:28,298 - DEBUG - VN ctest-vn-46504296 is not present in Agent 10.0.0.57 2025-09-05 18:22:28,298 - INFO - Validated that VN ctest-vn-46504296 is not in any agent 2025-09-05 18:22:28,309 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46504296 info 2025-09-05 18:22:28,309 - INFO - Deleting VN ctest-vn-43315233 2025-09-05 18:22:28,396 - DEBUG - Response for deleting network () 2025-09-05 18:22:28,396 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/b3fada3c-387e-4f05-94ea-12ef629df219 2025-09-05 18:22:28,401 - DEBUG - Response Code: 404 2025-09-05 18:22:28,401 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-05 18:22:28,406 - DEBUG - Requesting: http://10.0.0.57:8082/domain/f8d7b60e-08ab-4081-b0df-ba3261bf638b 2025-09-05 18:22:28,457 - DEBUG - Requesting: http://10.0.0.57:8082/project/8748e6e2-db7a-487c-953d-21f14f3cc4f2 2025-09-05 18:22:28,525 - INFO - Validated that VN ctest-vn-43315233 is not found in API Server 2025-09-05 18:22:28,533 - DEBUG - VN ctest-vn-43315233 is not present in Agent 10.0.0.57 2025-09-05 18:22:28,533 - INFO - Validated that VN ctest-vn-43315233 is not in any agent 2025-09-05 18:22:28,545 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43315233 info 2025-09-05 18:22:28,797 - DEBUG - No XMPP flaps were noticed during the test
2025-09-05 18:22:28,797 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-09-05 18:22:28,797 - INFO - -------------------------------------------------------------------------------- 2025-09-05 18:22:29,438 - INFO - Deleted project: ctest-TestBasicPolicy-17237051, ID : 8748e6e2-db7a-487c-953d-21f14f3cc4f2