2025-06-10 12:23:47,627 - INFO - Domain Default found not creating 2025-06-10 12:23:47,760 - INFO - Project ctest-TestBasicPolicy-38448476 not found, creating it 2025-06-10 12:23:48,218 - INFO - Created Project:ctest-TestBasicPolicy-38448476, ID : 32e26d37-d9d7-470f-9a34-ac89a7360bb8 2025-06-10 12:23:49,754 - INFO - ================================================================================ 2025-06-10 12:23:49,754 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-10 12:23:49,754 - 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-10 12:23:50,015 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0'}} with 2025-06-10 12:23:50,015 - INFO - Initial checks done. Running the testcase now 2025-06-10 12:23:50,015 - INFO - 2025-06-10 12:23:50,612 - DEBUG - Response for create_network : {'network': {'id': '355fe023-9099-4510-8fb6-b1141ca76dc6', 'name': 'ctest-vn-11298337', 'tenant_id': '32e26d37d9d7470f9a34ac89a7360bb8', 'project_id': '32e26d37d9d7470f9a34ac89a7360bb8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38448476', 'ctest-vn-11298337'], 'port_security_enabled': True, 'description': ''}} 2025-06-10 12:23:50,799 - DEBUG - Response for create_subnet : {'subnet': {'id': '177fe60b-e8c8-41a2-ad72-a8fb5d6b2eab', 'name': '', 'tenant_id': '32e26d37d9d7470f9a34ac89a7360bb8', 'network_id': '355fe023-9099-4510-8fb6-b1141ca76dc6', 'ip_version': 4, 'cidr': '184.237.211.192/26', 'allocation_pools': [{'start': '184.237.211.194', 'end': '184.237.211.254'}], 'gateway_ip': '184.237.211.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.237.211.194', 'tags': [], 'project_id': '32e26d37d9d7470f9a34ac89a7360bb8'}} 2025-06-10 12:23:50,817 - INFO - Created VN ctest-vn-11298337 2025-06-10 12:23:50,869 - DEBUG - VN ctest-vn-11298337 UUID is 355fe023-9099-4510-8fb6-b1141ca76dc6 2025-06-10 12:23:51,191 - DEBUG - Response for create_network : {'network': {'id': '7f634be3-efaa-4e1d-9c84-9dfae9d254e0', 'name': 'ctest-vn-12086760', 'tenant_id': '32e26d37d9d7470f9a34ac89a7360bb8', 'project_id': '32e26d37d9d7470f9a34ac89a7360bb8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38448476', 'ctest-vn-12086760'], 'port_security_enabled': True, 'description': ''}} 2025-06-10 12:23:51,384 - DEBUG - Response for create_subnet : {'subnet': {'id': '40a80e3c-8592-4f40-96c6-79e60cecae41', 'name': '', 'tenant_id': '32e26d37d9d7470f9a34ac89a7360bb8', 'network_id': '7f634be3-efaa-4e1d-9c84-9dfae9d254e0', 'ip_version': 4, 'cidr': '7.156.204.128/26', 'allocation_pools': [{'start': '7.156.204.130', 'end': '7.156.204.190'}], 'gateway_ip': '7.156.204.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.156.204.130', 'tags': [], 'project_id': '32e26d37d9d7470f9a34ac89a7360bb8'}} 2025-06-10 12:23:51,401 - INFO - Created VN ctest-vn-12086760 2025-06-10 12:23:51,453 - DEBUG - VN ctest-vn-12086760 UUID is 7f634be3-efaa-4e1d-9c84-9dfae9d254e0 2025-06-10 12:23:51,575 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-38448476:ctest-vn-11298337, 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-38448476:ctest-vn-12086760, 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-10 12:23:51,886 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '355fe023-9099-4510-8fb6-b1141ca76dc6', 'name': 'ctest-vn-11298337', 'tenant_id': '32e26d37d9d7470f9a34ac89a7360bb8', 'project_id': '32e26d37d9d7470f9a34ac89a7360bb8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['177fe60b-e8c8-41a2-ad72-a8fb5d6b2eab'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38448476', 'ctest-vn-11298337'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38448476', 'ctest-policy-allow-all-75674076']], 'subnet_ipam': [{'subnet_cidr': '184.237.211.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-10 12:23:52,158 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7f634be3-efaa-4e1d-9c84-9dfae9d254e0', 'name': 'ctest-vn-12086760', 'tenant_id': '32e26d37d9d7470f9a34ac89a7360bb8', 'project_id': '32e26d37d9d7470f9a34ac89a7360bb8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['40a80e3c-8592-4f40-96c6-79e60cecae41'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38448476', 'ctest-vn-12086760'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38448476', 'ctest-policy-allow-all-75674076']], 'subnet_ipam': [{'subnet_cidr': '7.156.204.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-10 12:23:52,325 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-10 12:23:52,667 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-10 12:23:52,696 - DEBUG - Requesting: http://10.0.0.65:8082/domain/f45aa77e-8e1d-4d51-a938-80933d3ea3d3 2025-06-10 12:23:52,710 - DEBUG - Requesting: http://10.0.0.65:8082/project/32e26d37-d9d7-470f-9a34-ac89a7360bb8 2025-06-10 12:23:52,785 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/355fe023-9099-4510-8fb6-b1141ca76dc6 2025-06-10 12:23:52,798 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/355fe023-9099-4510-8fb6-b1141ca76dc6 2025-06-10 12:23:52,809 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/00c7f070-c212-4f2e-ae82-d0bf7d46ccc6 2025-06-10 12:23:52,817 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/00c7f070-c212-4f2e-ae82-d0bf7d46ccc6 2025-06-10 12:23:52,824 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/38b0b711-b12b-427e-aec0-12c549887ad7 2025-06-10 12:23:52,830 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-10 12:23:52,830 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/355fe023-9099-4510-8fb6-b1141ca76dc6 2025-06-10 12:23:52,840 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/00c7f070-c212-4f2e-ae82-d0bf7d46ccc6 2025-06-10 12:23:52,854 - INFO - Verified VN network id 8 for VN 355fe023-9099-4510-8fb6-b1141ca76dc6 2025-06-10 12:23:52,854 - INFO - Verifications in API Server for VN ctest-vn-11298337 passed 2025-06-10 12:23:52,854 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/355fe023-9099-4510-8fb6-b1141ca76dc6 2025-06-10 12:23:52,864 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/00c7f070-c212-4f2e-ae82-d0bf7d46ccc6 2025-06-10 12:23:52,871 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/00c7f070-c212-4f2e-ae82-d0bf7d46ccc6 2025-06-10 12:23:52,878 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/38b0b711-b12b-427e-aec0-12c549887ad7 2025-06-10 12:23:52,890 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38448476:ctest-vn-11298337', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38448476', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3846039050152133904', 'uuid-lslong': '10355659093123231174'}, 'enable': 'true', 'created': '2025-06-10T12:23:50', 'last-modified': '2025-06-10T12:23:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.030959'} 2025-06-10 12:23:52,898 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-10 12:23:52,898 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11298337 passed 2025-06-10 12:23:52,898 - DEBUG - ====Verifying policy data for ctest-vn-11298337 in API_Server ====== 2025-06-10 12:23:52,898 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-10 12:23:52,904 - DEBUG - Requesting: http://10.0.0.65:8082/domain/f45aa77e-8e1d-4d51-a938-80933d3ea3d3 2025-06-10 12:23:52,916 - DEBUG - Requesting: http://10.0.0.65:8082/project/32e26d37-d9d7-470f-9a34-ac89a7360bb8 2025-06-10 12:23:52,988 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/355fe023-9099-4510-8fb6-b1141ca76dc6 2025-06-10 12:23:52,998 - DEBUG - ==>Verifying data for policy with id: 1a7e10ce-0411-454b-8c3e-d1d0111d8910, fqn: ['default-domain', 'ctest-TestBasicPolicy-38448476', 'ctest-policy-allow-all-75674076'] 2025-06-10 12:23:52,999 - INFO - VN ctest-vn-11298337 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-10 12:23:52,999 - DEBUG - Verifying the vn in opserver 2025-06-10 12:23:52,999 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38448476:ctest-vn-11298337 virtual network link through opserver 10.0.0.65 2025-06-10 12:23:52,999 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-06-10 12:23:53,331 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-06-10 12:23:53,388 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38448476:ctest-vn-11298337', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38448476:ctest-vn-11298337?flat'} 2025-06-10 12:23:53,388 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38448476:ctest-vn-11298337 is found in opserver 2025-06-10 12:23:53,400 - DEBUG - Do not have enough data to verify VN in agent 2025-06-10 12:23:53,405 - DEBUG - VRF ids for VN ctest-vn-11298337: {} 2025-06-10 12:23:53,405 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-10 12:23:53,411 - DEBUG - Requesting: http://10.0.0.65:8082/domain/f45aa77e-8e1d-4d51-a938-80933d3ea3d3 2025-06-10 12:23:53,425 - DEBUG - Requesting: http://10.0.0.65:8082/project/32e26d37-d9d7-470f-9a34-ac89a7360bb8 2025-06-10 12:23:53,499 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/7f634be3-efaa-4e1d-9c84-9dfae9d254e0 2025-06-10 12:23:53,512 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/7f634be3-efaa-4e1d-9c84-9dfae9d254e0 2025-06-10 12:23:53,521 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/eb557673-3787-4fa2-a9c5-ba12d26b2694 2025-06-10 12:23:53,529 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/eb557673-3787-4fa2-a9c5-ba12d26b2694 2025-06-10 12:23:53,535 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/d289ed72-268a-429d-941d-d5c25b21f52a 2025-06-10 12:23:53,541 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-10 12:23:53,541 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/7f634be3-efaa-4e1d-9c84-9dfae9d254e0 2025-06-10 12:23:53,551 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/eb557673-3787-4fa2-a9c5-ba12d26b2694 2025-06-10 12:23:53,564 - INFO - Verified VN network id 9 for VN 7f634be3-efaa-4e1d-9c84-9dfae9d254e0 2025-06-10 12:23:53,564 - INFO - Verifications in API Server for VN ctest-vn-12086760 passed 2025-06-10 12:23:53,564 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/7f634be3-efaa-4e1d-9c84-9dfae9d254e0 2025-06-10 12:23:53,574 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/eb557673-3787-4fa2-a9c5-ba12d26b2694 2025-06-10 12:23:53,580 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/eb557673-3787-4fa2-a9c5-ba12d26b2694 2025-06-10 12:23:53,587 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/d289ed72-268a-429d-941d-d5c25b21f52a 2025-06-10 12:23:53,598 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38448476:ctest-vn-12086760', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38448476', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9179263907861777949', 'uuid-lslong': '11278313067832825056'}, 'enable': 'true', 'created': '2025-06-10T12:23:51', 'last-modified': '2025-06-10T12:23:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.492379'} 2025-06-10 12:23:53,605 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-10 12:23:53,605 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12086760 passed 2025-06-10 12:23:53,605 - DEBUG - ====Verifying policy data for ctest-vn-12086760 in API_Server ====== 2025-06-10 12:23:53,605 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-10 12:23:53,611 - DEBUG - Requesting: http://10.0.0.65:8082/domain/f45aa77e-8e1d-4d51-a938-80933d3ea3d3 2025-06-10 12:23:53,622 - DEBUG - Requesting: http://10.0.0.65:8082/project/32e26d37-d9d7-470f-9a34-ac89a7360bb8 2025-06-10 12:23:53,691 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/7f634be3-efaa-4e1d-9c84-9dfae9d254e0 2025-06-10 12:23:53,701 - DEBUG - ==>Verifying data for policy with id: 1a7e10ce-0411-454b-8c3e-d1d0111d8910, fqn: ['default-domain', 'ctest-TestBasicPolicy-38448476', 'ctest-policy-allow-all-75674076'] 2025-06-10 12:23:53,702 - INFO - VN ctest-vn-12086760 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-10 12:23:53,702 - DEBUG - Verifying the vn in opserver 2025-06-10 12:23:53,702 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38448476:ctest-vn-12086760 virtual network link through opserver 10.0.0.65 2025-06-10 12:23:53,702 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-06-10 12:23:53,712 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38448476:ctest-vn-12086760', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38448476:ctest-vn-12086760?flat'} 2025-06-10 12:23:53,712 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38448476:ctest-vn-12086760 is found in opserver 2025-06-10 12:23:53,724 - DEBUG - Do not have enough data to verify VN in agent 2025-06-10 12:23:53,735 - DEBUG - VRF ids for VN ctest-vn-12086760: {} 2025-06-10 12:23:53,790 - DEBUG - Services list from nova: [, , ] 2025-06-10 12:23:54,887 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3432-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3432-1) 2025-06-10 12:23:56,223 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3432-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3432-1) 2025-06-10 12:23:56,223 - INFO - Waiting for VM ctest-TestBasicPolicy-38448476-97244956 to be up.. 2025-06-10 12:23:56,309 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-10 12:24:01,386 - DEBUG - VM is in ACTIVE state now 2025-06-10 12:24:01,387 - INFO - VM name : ctest-TestBasicPolicy-38448476-97244956 2025-06-10 12:24:01,462 - DEBUG - VM ctest-TestBasicPolicy-38448476-97244956 ID is 39290464-e3c3-4442-b986-22754dc3bf3b 2025-06-10 12:24:01,481 - DEBUG - VM ctest-TestBasicPolicy-38448476-97244956 launched on Node cn-jenkins-deploy-platform-ansible-os-3432-1 2025-06-10 12:24:01,564 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/39290464-e3c3-4442-b986-22754dc3bf3b 2025-06-10 12:24:01,574 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/c3479471-06f7-4188-8979-985f929d4189 2025-06-10 12:24:04,837 - 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 1019ms') 2025-06-10 12:24:04,837 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38448476-97244956 failed! 2025-06-10 12:24:04,894 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-38448476:ctest-vn-11298337 is 184.237.211.193 and allocation pool is NOT set 2025-06-10 12:24:06,959 - 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=7.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.315 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.315/3.657/6.999/3.342 ms') 2025-06-10 12:24:06,959 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38448476-97244956 passed 2025-06-10 12:24:07,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 12:24:07,110 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38448476-97244956, IP 184.237.211.195, Port 22 2025-06-10 12:24:07,268 - DEBUG - VM ctest-TestBasicPolicy-38448476-97244956 is ready for SSH connections 2025-06-10 12:24:07,269 - INFO - Waiting for VM ctest-TestBasicPolicy-38448476-09408574 to be up.. 2025-06-10 12:24:07,346 - DEBUG - VM is in ACTIVE state now 2025-06-10 12:24:07,346 - INFO - VM name : ctest-TestBasicPolicy-38448476-09408574 2025-06-10 12:24:07,420 - DEBUG - VM ctest-TestBasicPolicy-38448476-09408574 ID is 24eb1c1d-2b1e-4379-9afd-51e2f051a705 2025-06-10 12:24:07,420 - DEBUG - VM ctest-TestBasicPolicy-38448476-09408574 launched on Node cn-jenkins-deploy-platform-ansible-os-3432-1 2025-06-10 12:24:07,496 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/24eb1c1d-2b1e-4379-9afd-51e2f051a705 2025-06-10 12:24:07,504 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/65ecb528-287b-407e-a87f-45d66e489a4d 2025-06-10 12:24:08,747 - 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=5.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.27 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 = 2.269/3.685/5.101/1.416 ms') 2025-06-10 12:24:08,748 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-38448476-09408574 passed 2025-06-10 12:24:08,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 12:24:08,901 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38448476-09408574, IP 7.156.204.131, Port 22 2025-06-10 12:24:09,061 - DEBUG - VM ctest-TestBasicPolicy-38448476-09408574 is ready for SSH connections 2025-06-10 12:24:09,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 12:24:09,061 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.156.204.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-06-10 12:24:09,062 - DEBUG - ping -s 56 -c 3 -W 1 7.156.204.131 2025-06-10 12:24:12,797 - DEBUG - PING 7.156.204.131 (7.156.204.131): 56 data bytes 64 bytes from 7.156.204.131: seq=0 ttl=63 time=3.954 ms 64 bytes from 7.156.204.131: seq=1 ttl=63 time=0.803 ms 64 bytes from 7.156.204.131: seq=2 ttl=63 time=0.755 ms --- 7.156.204.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.755/1.837/3.954 ms 2025-06-10 12:24:12,798 - INFO - Ping to IP 7.156.204.131 from VM ctest-TestBasicPolicy-38448476-97244956 passed 2025-06-10 12:24:12,985 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1a7e10ce-0411-454b-8c3e-d1d0111d8910", "href": "http://10.0.0.65:8082/network-policy/1a7e10ce-0411-454b-8c3e-d1d0111d8910"}} 2025-06-10 12:24:12,985 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 12:24:12,985 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.156.204.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-06-10 12:24:12,985 - DEBUG - ping -s 56 -c 3 -W 1 7.156.204.131 2025-06-10 12:24:16,198 - DEBUG - PING 7.156.204.131 (7.156.204.131): 56 data bytes 64 bytes from 7.156.204.131: seq=0 ttl=63 time=1.394 ms --- 7.156.204.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.394/1.394/1.394 ms 2025-06-10 12:24:16,198 - WARNING - Ping to IP 7.156.204.131 from VM ctest-TestBasicPolicy-38448476-97244956 failed 2025-06-10 12:24:16,199 - INFO - Deleting VM ctest-TestBasicPolicy-38448476-09408574 2025-06-10 12:24:16,266 - INFO - Deleting VM ctest-TestBasicPolicy-38448476-97244956 2025-06-10 12:24:16,667 - INFO - Deleted policy ctest-policy-allow-all-75674076 2025-06-10 12:24:16,668 - INFO - Deleting VN ctest-vn-12086760 2025-06-10 12:24:16,702 - DEBUG - VN 7f634be3-efaa-4e1d-9c84-9dfae9d254e0 still in use: Unable to complete operation on network 7f634be3-efaa-4e1d-9c84-9dfae9d254e0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-55def92f-7ab3-4767-af3a-c7c05269ae2f'] 2025-06-10 12:24:16,703 - WARNING - Deleting VN ctest-vn-12086760 failed..Will retry 2025-06-10 12:24:18,814 - DEBUG - Response for deleting network () 2025-06-10 12:24:18,814 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/eb557673-3787-4fa2-a9c5-ba12d26b2694 2025-06-10 12:24:18,823 - DEBUG - Response Code: 404 2025-06-10 12:24:18,823 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-10 12:24:18,829 - DEBUG - Requesting: http://10.0.0.65:8082/domain/f45aa77e-8e1d-4d51-a938-80933d3ea3d3 2025-06-10 12:24:18,886 - DEBUG - Requesting: http://10.0.0.65:8082/project/32e26d37-d9d7-470f-9a34-ac89a7360bb8 2025-06-10 12:24:18,965 - INFO - Validated that VN ctest-vn-12086760 is not found in API Server 2025-06-10 12:24:18,978 - DEBUG - VN ctest-vn-12086760 is not present in Agent 10.0.0.65 2025-06-10 12:24:18,978 - INFO - Validated that VN ctest-vn-12086760 is not in any agent 2025-06-10 12:24:18,996 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12086760 info 2025-06-10 12:24:18,996 - INFO - Deleting VN ctest-vn-11298337 2025-06-10 12:24:19,115 - DEBUG - Response for deleting network () 2025-06-10 12:24:19,115 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/00c7f070-c212-4f2e-ae82-d0bf7d46ccc6 2025-06-10 12:24:19,122 - DEBUG - Response Code: 404 2025-06-10 12:24:19,123 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-10 12:24:19,129 - DEBUG - Requesting: http://10.0.0.65:8082/domain/f45aa77e-8e1d-4d51-a938-80933d3ea3d3 2025-06-10 12:24:19,188 - DEBUG - Requesting: http://10.0.0.65:8082/project/32e26d37-d9d7-470f-9a34-ac89a7360bb8 2025-06-10 12:24:19,268 - INFO - Validated that VN ctest-vn-11298337 is not found in API Server 2025-06-10 12:24:19,279 - DEBUG - VN ctest-vn-11298337 is not present in Agent 10.0.0.65 2025-06-10 12:24:19,279 - INFO - Validated that VN ctest-vn-11298337 is not in any agent 2025-06-10 12:24:19,295 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11298337 info 2025-06-10 12:24:19,564 - DEBUG - No XMPP flaps were noticed during the test 2025-06-10 12:24:19,565 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-10 12:24:19,565 - INFO - -------------------------------------------------------------------------------- 2025-06-10 12:24:20,267 - INFO - Deleted project: ctest-TestBasicPolicy-38448476, ID : 32e26d37-d9d7-470f-9a34-ac89a7360bb8