2025-06-17 19:06:46,629 - INFO - Domain Default found not creating 2025-06-17 19:06:46,796 - INFO - Project ctest-TestBasicPolicy-74279133 not found, creating it 2025-06-17 19:06:47,272 - INFO - Created Project:ctest-TestBasicPolicy-74279133, ID : 6e490a14-6f7d-4f3a-a5bd-e7c2269de48b 2025-06-17 19:06:48,778 - INFO - ================================================================================ 2025-06-17 19:06:48,778 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-17 19:06:48,778 - 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 19:06:49,041 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-06-17 19:06:49,041 - INFO - Initial checks done. Running the testcase now 2025-06-17 19:06:49,041 - INFO - 2025-06-17 19:06:49,615 - DEBUG - Response for create_network : {'network': {'id': 'b84a68be-7873-4afc-82b9-d1365f1d862f', 'name': 'ctest-vn-78966059', 'tenant_id': '6e490a146f7d4f3aa5bde7c2269de48b', 'project_id': '6e490a146f7d4f3aa5bde7c2269de48b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74279133', 'ctest-vn-78966059'], 'port_security_enabled': True, 'description': ''}} 2025-06-17 19:06:49,778 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb13ee93-ad06-4d8a-a862-6726459e1ff1', 'name': '', 'tenant_id': '6e490a146f7d4f3aa5bde7c2269de48b', 'network_id': 'b84a68be-7873-4afc-82b9-d1365f1d862f', 'ip_version': 4, 'cidr': '47.129.207.0/26', 'allocation_pools': [{'start': '47.129.207.2', 'end': '47.129.207.62'}], 'gateway_ip': '47.129.207.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.129.207.2', 'tags': [], 'project_id': '6e490a146f7d4f3aa5bde7c2269de48b'}} 2025-06-17 19:06:49,799 - INFO - Created VN ctest-vn-78966059 2025-06-17 19:06:49,857 - DEBUG - VN ctest-vn-78966059 UUID is b84a68be-7873-4afc-82b9-d1365f1d862f 2025-06-17 19:06:50,159 - DEBUG - Response for create_network : {'network': {'id': '7f951617-d0ad-490f-b56b-d40e5573ab4d', 'name': 'ctest-vn-19668542', 'tenant_id': '6e490a146f7d4f3aa5bde7c2269de48b', 'project_id': '6e490a146f7d4f3aa5bde7c2269de48b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74279133', 'ctest-vn-19668542'], 'port_security_enabled': True, 'description': ''}} 2025-06-17 19:06:50,376 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c8e87c4f-84f6-4029-b272-d54806f0d47c', 'name': '', 'tenant_id': '6e490a146f7d4f3aa5bde7c2269de48b', 'network_id': '7f951617-d0ad-490f-b56b-d40e5573ab4d', 'ip_version': 4, 'cidr': '89.138.61.192/26', 'allocation_pools': [{'start': '89.138.61.194', 'end': '89.138.61.254'}], 'gateway_ip': '89.138.61.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.138.61.194', 'tags': [], 'project_id': '6e490a146f7d4f3aa5bde7c2269de48b'}} 2025-06-17 19:06:50,396 - INFO - Created VN ctest-vn-19668542 2025-06-17 19:06:50,449 - DEBUG - VN ctest-vn-19668542 UUID is 7f951617-d0ad-490f-b56b-d40e5573ab4d 2025-06-17 19:06:50,572 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74279133:ctest-vn-78966059, 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-74279133:ctest-vn-19668542, 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 19:06:50,875 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b84a68be-7873-4afc-82b9-d1365f1d862f', 'name': 'ctest-vn-78966059', 'tenant_id': '6e490a146f7d4f3aa5bde7c2269de48b', 'project_id': '6e490a146f7d4f3aa5bde7c2269de48b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bb13ee93-ad06-4d8a-a862-6726459e1ff1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74279133', 'ctest-vn-78966059'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74279133', 'ctest-policy-allow-all-10532688']], 'subnet_ipam': [{'subnet_cidr': '47.129.207.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-17 19:06:51,117 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7f951617-d0ad-490f-b56b-d40e5573ab4d', 'name': 'ctest-vn-19668542', 'tenant_id': '6e490a146f7d4f3aa5bde7c2269de48b', 'project_id': '6e490a146f7d4f3aa5bde7c2269de48b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c8e87c4f-84f6-4029-b272-d54806f0d47c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74279133', 'ctest-vn-19668542'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74279133', 'ctest-policy-allow-all-10532688']], 'subnet_ipam': [{'subnet_cidr': '89.138.61.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-17 19:06:51,257 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-17 19:06:51,553 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-17 19:06:51,585 - DEBUG - Requesting: http://10.0.0.57:8082/domain/5087096a-1565-41ba-823e-859072acb566 2025-06-17 19:06:51,601 - DEBUG - Requesting: http://10.0.0.57:8082/project/6e490a14-6f7d-4f3a-a5bd-e7c2269de48b 2025-06-17 19:06:51,680 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/b84a68be-7873-4afc-82b9-d1365f1d862f 2025-06-17 19:06:51,693 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/b84a68be-7873-4afc-82b9-d1365f1d862f 2025-06-17 19:06:51,705 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/95a71221-9d5a-4057-b738-2e78e1f395b7 2025-06-17 19:06:51,715 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/95a71221-9d5a-4057-b738-2e78e1f395b7 2025-06-17 19:06:51,723 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/2a06b5ce-9d96-4fb0-8057-6f3748ba550a 2025-06-17 19:06:51,730 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-17 19:06:51,730 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/b84a68be-7873-4afc-82b9-d1365f1d862f 2025-06-17 19:06:51,740 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/95a71221-9d5a-4057-b738-2e78e1f395b7 2025-06-17 19:06:51,756 - INFO - Verified VN network id 9 for VN b84a68be-7873-4afc-82b9-d1365f1d862f 2025-06-17 19:06:51,756 - INFO - Verifications in API Server for VN ctest-vn-78966059 passed 2025-06-17 19:06:51,757 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/b84a68be-7873-4afc-82b9-d1365f1d862f 2025-06-17 19:06:51,768 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/95a71221-9d5a-4057-b738-2e78e1f395b7 2025-06-17 19:06:51,777 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/95a71221-9d5a-4057-b738-2e78e1f395b7 2025-06-17 19:06:51,786 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/2a06b5ce-9d96-4fb0-8057-6f3748ba550a 2025-06-17 19:06:51,803 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74279133:ctest-vn-78966059', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74279133', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13279541618529225468', 'uuid-lslong': '9419790127076312623'}, 'enable': 'true', 'created': '2025-06-17T19:06:49', 'last-modified': '2025-06-17T19:06:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.954395'} 2025-06-17 19:06:51,810 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-17 19:06:51,810 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78966059 passed 2025-06-17 19:06:51,810 - DEBUG - ====Verifying policy data for ctest-vn-78966059 in API_Server ====== 2025-06-17 19:06:51,810 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-17 19:06:51,817 - DEBUG - Requesting: http://10.0.0.57:8082/domain/5087096a-1565-41ba-823e-859072acb566 2025-06-17 19:06:51,832 - DEBUG - Requesting: http://10.0.0.57:8082/project/6e490a14-6f7d-4f3a-a5bd-e7c2269de48b 2025-06-17 19:06:51,917 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/b84a68be-7873-4afc-82b9-d1365f1d862f 2025-06-17 19:06:51,929 - DEBUG - ==>Verifying data for policy with id: fc8467e2-0289-49fa-8bf4-7758f86db0c5, fqn: ['default-domain', 'ctest-TestBasicPolicy-74279133', 'ctest-policy-allow-all-10532688'] 2025-06-17 19:06:51,929 - INFO - VN ctest-vn-78966059 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-17 19:06:51,929 - DEBUG - Verifying the vn in opserver 2025-06-17 19:06:51,929 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74279133:ctest-vn-78966059 virtual network link through opserver 10.0.0.57 2025-06-17 19:06:51,929 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-06-17 19:06:52,227 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-06-17 19:06:52,289 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74279133:ctest-vn-78966059', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74279133:ctest-vn-78966059?flat'} 2025-06-17 19:06:52,289 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74279133:ctest-vn-78966059 is found in opserver 2025-06-17 19:06:52,300 - DEBUG - Do not have enough data to verify VN in agent 2025-06-17 19:06:52,305 - DEBUG - VRF ids for VN ctest-vn-78966059: {} 2025-06-17 19:06:52,306 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-17 19:06:52,311 - DEBUG - Requesting: http://10.0.0.57:8082/domain/5087096a-1565-41ba-823e-859072acb566 2025-06-17 19:06:52,323 - DEBUG - Requesting: http://10.0.0.57:8082/project/6e490a14-6f7d-4f3a-a5bd-e7c2269de48b 2025-06-17 19:06:52,459 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/7f951617-d0ad-490f-b56b-d40e5573ab4d 2025-06-17 19:06:52,474 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/7f951617-d0ad-490f-b56b-d40e5573ab4d 2025-06-17 19:06:52,486 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/ee0738c1-1dcc-4709-b0da-3cea3742407d 2025-06-17 19:06:52,495 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/ee0738c1-1dcc-4709-b0da-3cea3742407d 2025-06-17 19:06:52,503 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/b90e4297-ebec-48eb-91ac-3dd7e6304301 2025-06-17 19:06:52,511 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-17 19:06:52,511 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/7f951617-d0ad-490f-b56b-d40e5573ab4d 2025-06-17 19:06:52,525 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/ee0738c1-1dcc-4709-b0da-3cea3742407d 2025-06-17 19:06:52,543 - INFO - Verified VN network id 10 for VN 7f951617-d0ad-490f-b56b-d40e5573ab4d 2025-06-17 19:06:52,543 - INFO - Verifications in API Server for VN ctest-vn-19668542 passed 2025-06-17 19:06:52,543 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/7f951617-d0ad-490f-b56b-d40e5573ab4d 2025-06-17 19:06:52,554 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/ee0738c1-1dcc-4709-b0da-3cea3742407d 2025-06-17 19:06:52,562 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/ee0738c1-1dcc-4709-b0da-3cea3742407d 2025-06-17 19:06:52,571 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/b90e4297-ebec-48eb-91ac-3dd7e6304301 2025-06-17 19:06:52,585 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74279133:ctest-vn-19668542', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74279133', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9193278505887811855', 'uuid-lslong': '13072775501401271117'}, 'enable': 'true', 'created': '2025-06-17T19:06:50', 'last-modified': '2025-06-17T19:06:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.488640'} 2025-06-17 19:06:52,592 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-17 19:06:52,592 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19668542 passed 2025-06-17 19:06:52,593 - DEBUG - ====Verifying policy data for ctest-vn-19668542 in API_Server ====== 2025-06-17 19:06:52,593 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-17 19:06:52,600 - DEBUG - Requesting: http://10.0.0.57:8082/domain/5087096a-1565-41ba-823e-859072acb566 2025-06-17 19:06:52,613 - DEBUG - Requesting: http://10.0.0.57:8082/project/6e490a14-6f7d-4f3a-a5bd-e7c2269de48b 2025-06-17 19:06:52,693 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/7f951617-d0ad-490f-b56b-d40e5573ab4d 2025-06-17 19:06:52,706 - DEBUG - ==>Verifying data for policy with id: fc8467e2-0289-49fa-8bf4-7758f86db0c5, fqn: ['default-domain', 'ctest-TestBasicPolicy-74279133', 'ctest-policy-allow-all-10532688'] 2025-06-17 19:06:52,706 - INFO - VN ctest-vn-19668542 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-17 19:06:52,706 - DEBUG - Verifying the vn in opserver 2025-06-17 19:06:52,706 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74279133:ctest-vn-19668542 virtual network link through opserver 10.0.0.57 2025-06-17 19:06:52,706 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-06-17 19:06:52,718 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74279133:ctest-vn-19668542', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74279133:ctest-vn-19668542?flat'} 2025-06-17 19:06:52,718 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74279133:ctest-vn-19668542 is found in opserver 2025-06-17 19:06:52,731 - DEBUG - Do not have enough data to verify VN in agent 2025-06-17 19:06:52,737 - DEBUG - VRF ids for VN ctest-vn-19668542: {} 2025-06-17 19:06:52,811 - DEBUG - Services list from nova: [, , ] 2025-06-17 19:06:54,075 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3464-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3464-1) 2025-06-17 19:06:55,426 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3464-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3464-1) 2025-06-17 19:06:55,426 - INFO - Waiting for VM ctest-TestBasicPolicy-74279133-26585005 to be up.. 2025-06-17 19:06:55,516 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-17 19:07:00,607 - DEBUG - VM is in ACTIVE state now 2025-06-17 19:07:00,607 - INFO - VM name : ctest-TestBasicPolicy-74279133-26585005 2025-06-17 19:07:00,698 - DEBUG - VM ctest-TestBasicPolicy-74279133-26585005 ID is 40da5990-c0fc-4bd4-bd38-30e37dfc6713 2025-06-17 19:07:00,719 - DEBUG - VM ctest-TestBasicPolicy-74279133-26585005 launched on Node cn-jenkins-deploy-platform-ansible-os-3464-1 2025-06-17 19:07:00,823 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/40da5990-c0fc-4bd4-bd38-30e37dfc6713 2025-06-17 19:07:00,834 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/ed72dc39-0c17-46c2-abed-4f73f068c1b1 2025-06-17 19:07:04,107 - 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 1026ms') 2025-06-17 19:07:04,107 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74279133-26585005 failed! 2025-06-17 19:07:04,165 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74279133:ctest-vn-78966059 is 47.129.207.1 and allocation pool is NOT set 2025-06-17 19:07:06,240 - 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=12.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.21 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 = 2.213/7.234/12.255/5.021 ms') 2025-06-17 19:07:06,240 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74279133-26585005 passed 2025-06-17 19:07:06,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 19:07:06,397 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74279133-26585005, IP 47.129.207.3, Port 22 2025-06-17 19:07:06,571 - DEBUG - VM ctest-TestBasicPolicy-74279133-26585005 is ready for SSH connections 2025-06-17 19:07:06,571 - INFO - Waiting for VM ctest-TestBasicPolicy-74279133-85764564 to be up.. 2025-06-17 19:07:06,655 - DEBUG - VM is in ACTIVE state now 2025-06-17 19:07:06,656 - INFO - VM name : ctest-TestBasicPolicy-74279133-85764564 2025-06-17 19:07:06,754 - DEBUG - VM ctest-TestBasicPolicy-74279133-85764564 ID is 8f33a1e0-20e5-4740-ae9a-189c30817677 2025-06-17 19:07:06,755 - DEBUG - VM ctest-TestBasicPolicy-74279133-85764564 launched on Node cn-jenkins-deploy-platform-ansible-os-3464-1 2025-06-17 19:07:06,846 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/8f33a1e0-20e5-4740-ae9a-189c30817677 2025-06-17 19:07:06,855 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/3794379e-55c1-423f-b689-9ad54bec5793 2025-06-17 19:07:08,097 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.526 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.526/1.807/3.089/1.281 ms') 2025-06-17 19:07:08,097 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-74279133-85764564 passed 2025-06-17 19:07:08,249 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 19:07:08,249 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74279133-85764564, IP 89.138.61.195, Port 22 2025-06-17 19:07:08,416 - DEBUG - VM ctest-TestBasicPolicy-74279133-85764564 is ready for SSH connections 2025-06-17 19:07:08,417 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 19:07:08,417 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.138.61.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-06-17 19:07:08,417 - DEBUG - ping -s 56 -c 3 -W 1 89.138.61.195 2025-06-17 19:07:12,096 - DEBUG - PING 89.138.61.195 (89.138.61.195): 56 data bytes 64 bytes from 89.138.61.195: seq=0 ttl=63 time=3.462 ms 64 bytes from 89.138.61.195: seq=1 ttl=63 time=0.887 ms 64 bytes from 89.138.61.195: seq=2 ttl=63 time=0.925 ms --- 89.138.61.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.887/1.758/3.462 ms 2025-06-17 19:07:12,096 - INFO - Ping to IP 89.138.61.195 from VM ctest-TestBasicPolicy-74279133-26585005 passed 2025-06-17 19:07:12,276 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fc8467e2-0289-49fa-8bf4-7758f86db0c5", "href": "http://10.0.0.57:8082/network-policy/fc8467e2-0289-49fa-8bf4-7758f86db0c5"}} 2025-06-17 19:07:12,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 19:07:12,277 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.138.61.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-06-17 19:07:12,277 - DEBUG - ping -s 56 -c 3 -W 1 89.138.61.195 2025-06-17 19:07:15,492 - DEBUG - PING 89.138.61.195 (89.138.61.195): 56 data bytes 64 bytes from 89.138.61.195: seq=0 ttl=63 time=1.410 ms --- 89.138.61.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.410/1.410/1.410 ms 2025-06-17 19:07:15,492 - WARNING - Ping to IP 89.138.61.195 from VM ctest-TestBasicPolicy-74279133-26585005 failed 2025-06-17 19:07:15,492 - INFO - Deleting VM ctest-TestBasicPolicy-74279133-85764564 2025-06-17 19:07:15,574 - INFO - Deleting VM ctest-TestBasicPolicy-74279133-26585005 2025-06-17 19:07:16,036 - INFO - Deleted policy ctest-policy-allow-all-10532688 2025-06-17 19:07:16,036 - INFO - Deleting VN ctest-vn-19668542 2025-06-17 19:07:16,084 - DEBUG - VN 7f951617-d0ad-490f-b56b-d40e5573ab4d still in use: Unable to complete operation on network 7f951617-d0ad-490f-b56b-d40e5573ab4d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4c3215dc-1644-44b5-94a3-75ca2ff72120'] 2025-06-17 19:07:16,084 - WARNING - Deleting VN ctest-vn-19668542 failed..Will retry 2025-06-17 19:07:18,226 - DEBUG - Response for deleting network () 2025-06-17 19:07:18,226 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/ee0738c1-1dcc-4709-b0da-3cea3742407d 2025-06-17 19:07:18,233 - DEBUG - Response Code: 404 2025-06-17 19:07:18,234 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-17 19:07:18,239 - DEBUG - Requesting: http://10.0.0.57:8082/domain/5087096a-1565-41ba-823e-859072acb566 2025-06-17 19:07:18,295 - DEBUG - Requesting: http://10.0.0.57:8082/project/6e490a14-6f7d-4f3a-a5bd-e7c2269de48b 2025-06-17 19:07:18,376 - INFO - Validated that VN ctest-vn-19668542 is not found in API Server 2025-06-17 19:07:18,388 - DEBUG - VN ctest-vn-19668542 is not present in Agent 10.0.0.57 2025-06-17 19:07:18,388 - INFO - Validated that VN ctest-vn-19668542 is not in any agent 2025-06-17 19:07:18,408 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19668542 info 2025-06-17 19:07:18,408 - INFO - Deleting VN ctest-vn-78966059 2025-06-17 19:07:18,549 - DEBUG - Response for deleting network () 2025-06-17 19:07:18,549 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/95a71221-9d5a-4057-b738-2e78e1f395b7 2025-06-17 19:07:18,556 - DEBUG - Response Code: 404 2025-06-17 19:07:18,556 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-06-17 19:07:18,566 - DEBUG - Requesting: http://10.0.0.57:8082/domain/5087096a-1565-41ba-823e-859072acb566 2025-06-17 19:07:18,622 - DEBUG - Requesting: http://10.0.0.57:8082/project/6e490a14-6f7d-4f3a-a5bd-e7c2269de48b 2025-06-17 19:07:18,704 - INFO - Validated that VN ctest-vn-78966059 is not found in API Server 2025-06-17 19:07:18,717 - DEBUG - VN ctest-vn-78966059 is not present in Agent 10.0.0.57 2025-06-17 19:07:18,717 - INFO - Validated that VN ctest-vn-78966059 is not in any agent 2025-06-17 19:07:18,743 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78966059 info 2025-06-17 19:07:19,007 - DEBUG - No XMPP flaps were noticed during the test 2025-06-17 19:07:19,007 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-06-17 19:07:19,007 - INFO - -------------------------------------------------------------------------------- 2025-06-17 19:07:19,730 - INFO - Deleted project: ctest-TestBasicPolicy-74279133, ID : 6e490a14-6f7d-4f3a-a5bd-e7c2269de48b