2025-06-30 15:08:09,586 - INFO - Domain Default found not creating 2025-06-30 15:08:09,730 - INFO - Project ctest-TestBasicPolicy-29462041 not found, creating it 2025-06-30 15:08:10,180 - INFO - Created Project:ctest-TestBasicPolicy-29462041, ID : 98aa4e17-0d93-4432-83fe-5d3c7a30207d 2025-06-30 15:08:11,632 - INFO - ================================================================================ 2025-06-30 15:08:11,632 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-30 15:08:11,632 - 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-30 15:08:11,887 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.25': '0'}} with 2025-06-30 15:08:11,887 - INFO - Initial checks done. Running the testcase now 2025-06-30 15:08:11,887 - INFO - 2025-06-30 15:08:12,452 - DEBUG - Response for create_network : {'network': {'id': '73f22380-ec03-48ab-90c4-2e38592d3b85', 'name': 'ctest-vn-20612857', 'tenant_id': '98aa4e170d93443283fe5d3c7a30207d', 'project_id': '98aa4e170d93443283fe5d3c7a30207d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29462041', 'ctest-vn-20612857'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 15:08:12,674 - DEBUG - Response for create_subnet : {'subnet': {'id': 'feb4e20e-f593-4012-b4f7-20539bca2f59', 'name': '', 'tenant_id': '98aa4e170d93443283fe5d3c7a30207d', 'network_id': '73f22380-ec03-48ab-90c4-2e38592d3b85', 'ip_version': 4, 'cidr': '89.236.157.192/26', 'allocation_pools': [{'start': '89.236.157.194', 'end': '89.236.157.254'}], 'gateway_ip': '89.236.157.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.236.157.194', 'tags': [], 'project_id': '98aa4e170d93443283fe5d3c7a30207d'}} 2025-06-30 15:08:12,690 - INFO - Created VN ctest-vn-20612857 2025-06-30 15:08:12,745 - DEBUG - VN ctest-vn-20612857 UUID is 73f22380-ec03-48ab-90c4-2e38592d3b85 2025-06-30 15:08:13,029 - DEBUG - Response for create_network : {'network': {'id': '83b5b948-e571-4100-a66f-28a57f0d755b', 'name': 'ctest-vn-10396772', 'tenant_id': '98aa4e170d93443283fe5d3c7a30207d', 'project_id': '98aa4e170d93443283fe5d3c7a30207d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29462041', 'ctest-vn-10396772'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 15:08:13,255 - DEBUG - Response for create_subnet : {'subnet': {'id': '1cd6cd7a-5ee9-4acc-8250-60c828616089', 'name': '', 'tenant_id': '98aa4e170d93443283fe5d3c7a30207d', 'network_id': '83b5b948-e571-4100-a66f-28a57f0d755b', 'ip_version': 4, 'cidr': '64.231.85.192/26', 'allocation_pools': [{'start': '64.231.85.194', 'end': '64.231.85.254'}], 'gateway_ip': '64.231.85.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.231.85.194', 'tags': [], 'project_id': '98aa4e170d93443283fe5d3c7a30207d'}} 2025-06-30 15:08:13,278 - INFO - Created VN ctest-vn-10396772 2025-06-30 15:08:13,333 - DEBUG - VN ctest-vn-10396772 UUID is 83b5b948-e571-4100-a66f-28a57f0d755b 2025-06-30 15:08:13,456 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29462041:ctest-vn-20612857, 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-29462041:ctest-vn-10396772, 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-30 15:08:13,780 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '73f22380-ec03-48ab-90c4-2e38592d3b85', 'name': 'ctest-vn-20612857', 'tenant_id': '98aa4e170d93443283fe5d3c7a30207d', 'project_id': '98aa4e170d93443283fe5d3c7a30207d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['feb4e20e-f593-4012-b4f7-20539bca2f59'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29462041', 'ctest-vn-20612857'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29462041', 'ctest-policy-allow-all-62271452']], 'subnet_ipam': [{'subnet_cidr': '89.236.157.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-30 15:08:14,020 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '83b5b948-e571-4100-a66f-28a57f0d755b', 'name': 'ctest-vn-10396772', 'tenant_id': '98aa4e170d93443283fe5d3c7a30207d', 'project_id': '98aa4e170d93443283fe5d3c7a30207d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1cd6cd7a-5ee9-4acc-8250-60c828616089'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29462041', 'ctest-vn-10396772'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29462041', 'ctest-policy-allow-all-62271452']], 'subnet_ipam': [{'subnet_cidr': '64.231.85.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-30 15:08:14,189 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2025-06-30 15:08:14,494 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2025-06-30 15:08:14,522 - DEBUG - Requesting: http://10.0.0.161:8082/domain/b76e56af-f288-4dab-9179-201d5098011b 2025-06-30 15:08:14,535 - DEBUG - Requesting: http://10.0.0.161:8082/project/98aa4e17-0d93-4432-83fe-5d3c7a30207d 2025-06-30 15:08:14,611 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/73f22380-ec03-48ab-90c4-2e38592d3b85 2025-06-30 15:08:14,622 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/73f22380-ec03-48ab-90c4-2e38592d3b85 2025-06-30 15:08:14,632 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/052e6faf-5773-4076-9404-586b383071a4 2025-06-30 15:08:14,640 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/052e6faf-5773-4076-9404-586b383071a4 2025-06-30 15:08:14,647 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/97f41c8b-6dd3-4b35-a62e-3a3a4673f690 2025-06-30 15:08:14,654 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-30 15:08:14,654 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/73f22380-ec03-48ab-90c4-2e38592d3b85 2025-06-30 15:08:14,664 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/052e6faf-5773-4076-9404-586b383071a4 2025-06-30 15:08:14,678 - INFO - Verified VN network id 8 for VN 73f22380-ec03-48ab-90c4-2e38592d3b85 2025-06-30 15:08:14,678 - INFO - Verifications in API Server for VN ctest-vn-20612857 passed 2025-06-30 15:08:14,679 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/73f22380-ec03-48ab-90c4-2e38592d3b85 2025-06-30 15:08:14,688 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/052e6faf-5773-4076-9404-586b383071a4 2025-06-30 15:08:14,695 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/052e6faf-5773-4076-9404-586b383071a4 2025-06-30 15:08:14,702 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/97f41c8b-6dd3-4b35-a62e-3a3a4673f690 2025-06-30 15:08:14,716 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29462041:ctest-vn-20612857', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29462041', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8354779295348115627', 'uuid-lslong': '10431513456446094213'}, 'enable': 'true', 'created': '2025-06-30T15:08:12', 'last-modified': '2025-06-30T15:08:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.963505'} 2025-06-30 15:08:14,724 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-30 15:08:14,724 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20612857 passed 2025-06-30 15:08:14,724 - DEBUG - ====Verifying policy data for ctest-vn-20612857 in API_Server ====== 2025-06-30 15:08:14,724 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2025-06-30 15:08:14,730 - DEBUG - Requesting: http://10.0.0.161:8082/domain/b76e56af-f288-4dab-9179-201d5098011b 2025-06-30 15:08:14,742 - DEBUG - Requesting: http://10.0.0.161:8082/project/98aa4e17-0d93-4432-83fe-5d3c7a30207d 2025-06-30 15:08:14,825 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/73f22380-ec03-48ab-90c4-2e38592d3b85 2025-06-30 15:08:14,836 - DEBUG - ==>Verifying data for policy with id: 21f1c924-2158-46df-8eb6-1753e739ca8d, fqn: ['default-domain', 'ctest-TestBasicPolicy-29462041', 'ctest-policy-allow-all-62271452'] 2025-06-30 15:08:14,836 - INFO - VN ctest-vn-20612857 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-30 15:08:14,836 - DEBUG - Verifying the vn in opserver 2025-06-30 15:08:14,836 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29462041:ctest-vn-20612857 virtual network link through opserver 10.0.0.161 2025-06-30 15:08:14,836 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2025-06-30 15:08:15,129 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2025-06-30 15:08:15,183 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29462041:ctest-vn-20612857', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29462041:ctest-vn-20612857?flat'} 2025-06-30 15:08:15,183 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29462041:ctest-vn-20612857 is found in opserver 2025-06-30 15:08:15,194 - DEBUG - Do not have enough data to verify VN in agent 2025-06-30 15:08:15,200 - DEBUG - VRF ids for VN ctest-vn-20612857: {} 2025-06-30 15:08:15,200 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2025-06-30 15:08:15,205 - DEBUG - Requesting: http://10.0.0.161:8082/domain/b76e56af-f288-4dab-9179-201d5098011b 2025-06-30 15:08:15,218 - DEBUG - Requesting: http://10.0.0.161:8082/project/98aa4e17-0d93-4432-83fe-5d3c7a30207d 2025-06-30 15:08:15,292 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/83b5b948-e571-4100-a66f-28a57f0d755b 2025-06-30 15:08:15,308 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/83b5b948-e571-4100-a66f-28a57f0d755b 2025-06-30 15:08:15,321 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/36aeed1f-a3af-468a-8552-babbd5ec37c3 2025-06-30 15:08:15,329 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/36aeed1f-a3af-468a-8552-babbd5ec37c3 2025-06-30 15:08:15,338 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/1d80fae9-f5f6-42d3-938a-50ba1ed48616 2025-06-30 15:08:15,347 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-30 15:08:15,347 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/83b5b948-e571-4100-a66f-28a57f0d755b 2025-06-30 15:08:15,359 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/36aeed1f-a3af-468a-8552-babbd5ec37c3 2025-06-30 15:08:15,376 - INFO - Verified VN network id 9 for VN 83b5b948-e571-4100-a66f-28a57f0d755b 2025-06-30 15:08:15,376 - INFO - Verifications in API Server for VN ctest-vn-10396772 passed 2025-06-30 15:08:15,376 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/83b5b948-e571-4100-a66f-28a57f0d755b 2025-06-30 15:08:15,388 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/36aeed1f-a3af-468a-8552-babbd5ec37c3 2025-06-30 15:08:15,397 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/36aeed1f-a3af-468a-8552-babbd5ec37c3 2025-06-30 15:08:15,405 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/1d80fae9-f5f6-42d3-938a-50ba1ed48616 2025-06-30 15:08:15,419 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29462041:ctest-vn-10396772', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29462041', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9490695512491376896', 'uuid-lslong': '11992849023977223515'}, 'enable': 'true', 'created': '2025-06-30T15:08:12', 'last-modified': '2025-06-30T15:08:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.415902'} 2025-06-30 15:08:15,427 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-30 15:08:15,427 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10396772 passed 2025-06-30 15:08:15,427 - DEBUG - ====Verifying policy data for ctest-vn-10396772 in API_Server ====== 2025-06-30 15:08:15,427 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2025-06-30 15:08:15,434 - DEBUG - Requesting: http://10.0.0.161:8082/domain/b76e56af-f288-4dab-9179-201d5098011b 2025-06-30 15:08:15,446 - DEBUG - Requesting: http://10.0.0.161:8082/project/98aa4e17-0d93-4432-83fe-5d3c7a30207d 2025-06-30 15:08:15,522 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/83b5b948-e571-4100-a66f-28a57f0d755b 2025-06-30 15:08:15,535 - DEBUG - ==>Verifying data for policy with id: 21f1c924-2158-46df-8eb6-1753e739ca8d, fqn: ['default-domain', 'ctest-TestBasicPolicy-29462041', 'ctest-policy-allow-all-62271452'] 2025-06-30 15:08:15,535 - INFO - VN ctest-vn-10396772 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-30 15:08:15,535 - DEBUG - Verifying the vn in opserver 2025-06-30 15:08:15,535 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29462041:ctest-vn-10396772 virtual network link through opserver 10.0.0.161 2025-06-30 15:08:15,536 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2025-06-30 15:08:15,549 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29462041:ctest-vn-10396772', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29462041:ctest-vn-10396772?flat'} 2025-06-30 15:08:15,549 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29462041:ctest-vn-10396772 is found in opserver 2025-06-30 15:08:15,561 - DEBUG - Do not have enough data to verify VN in agent 2025-06-30 15:08:15,566 - DEBUG - VRF ids for VN ctest-vn-10396772: {} 2025-06-30 15:08:15,622 - DEBUG - Services list from nova: [, , ] 2025-06-30 15:08:16,623 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3579-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3579-1) 2025-06-30 15:08:17,841 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3579-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3579-1) 2025-06-30 15:08:17,841 - INFO - Waiting for VM ctest-TestBasicPolicy-29462041-40184108 to be up.. 2025-06-30 15:08:17,926 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-30 15:08:23,004 - DEBUG - VM is in ACTIVE state now 2025-06-30 15:08:23,004 - INFO - VM name : ctest-TestBasicPolicy-29462041-40184108 2025-06-30 15:08:23,078 - DEBUG - VM ctest-TestBasicPolicy-29462041-40184108 ID is cf032c6c-1fa1-4ca3-a8f3-c9798ceec848 2025-06-30 15:08:23,097 - DEBUG - VM ctest-TestBasicPolicy-29462041-40184108 launched on Node cn-jenkins-deploy-platform-ansible-os-3579-1 2025-06-30 15:08:23,178 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/cf032c6c-1fa1-4ca3-a8f3-c9798ceec848 2025-06-30 15:08:23,189 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/5434d364-8730-4079-8701-5ed125dc7c20 2025-06-30 15:08:26,434 - 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 1001ms') 2025-06-30 15:08:26,434 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29462041-40184108 failed! 2025-06-30 15:08:26,489 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-29462041:ctest-vn-20612857 is 89.236.157.193 and allocation pool is NOT set 2025-06-30 15:08:28,546 - 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=3.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.580 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.580/1.855/3.131/1.275 ms') 2025-06-30 15:08:28,547 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29462041-40184108 passed 2025-06-30 15:08:28,701 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 15:08:28,701 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29462041-40184108, IP 89.236.157.195, Port 22 2025-06-30 15:08:28,856 - DEBUG - VM ctest-TestBasicPolicy-29462041-40184108 is ready for SSH connections 2025-06-30 15:08:28,856 - INFO - Waiting for VM ctest-TestBasicPolicy-29462041-64675811 to be up.. 2025-06-30 15:08:28,940 - DEBUG - VM is in ACTIVE state now 2025-06-30 15:08:28,940 - INFO - VM name : ctest-TestBasicPolicy-29462041-64675811 2025-06-30 15:08:29,023 - DEBUG - VM ctest-TestBasicPolicy-29462041-64675811 ID is d4742c68-d728-4d1c-806e-b04e2204d26e 2025-06-30 15:08:29,023 - DEBUG - VM ctest-TestBasicPolicy-29462041-64675811 launched on Node cn-jenkins-deploy-platform-ansible-os-3579-1 2025-06-30 15:08:29,108 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/d4742c68-d728-4d1c-806e-b04e2204d26e 2025-06-30 15:08:29,117 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/2413ba97-69e1-45cb-86e8-328f7898e68e 2025-06-30 15:08:30,350 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.449 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.449/1.779/3.109/1.330 ms') 2025-06-30 15:08:30,350 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-29462041-64675811 passed 2025-06-30 15:08:30,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 15:08:30,501 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29462041-64675811, IP 64.231.85.195, Port 22 2025-06-30 15:08:30,656 - DEBUG - VM ctest-TestBasicPolicy-29462041-64675811 is ready for SSH connections 2025-06-30 15:08:30,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 15:08:30,657 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.231.85.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2025-06-30 15:08:30,657 - DEBUG - ping -s 56 -c 3 -W 1 64.231.85.195 2025-06-30 15:08:34,350 - DEBUG - PING 64.231.85.195 (64.231.85.195): 56 data bytes 64 bytes from 64.231.85.195: seq=0 ttl=63 time=4.216 ms 64 bytes from 64.231.85.195: seq=1 ttl=63 time=0.836 ms 64 bytes from 64.231.85.195: seq=2 ttl=63 time=0.951 ms --- 64.231.85.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.836/2.001/4.216 ms 2025-06-30 15:08:34,350 - INFO - Ping to IP 64.231.85.195 from VM ctest-TestBasicPolicy-29462041-40184108 passed 2025-06-30 15:08:34,528 - DEBUG - Policy Update Response {"network-policy": {"uuid": "21f1c924-2158-46df-8eb6-1753e739ca8d", "href": "http://10.0.0.161:8082/network-policy/21f1c924-2158-46df-8eb6-1753e739ca8d"}} 2025-06-30 15:08:34,529 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 15:08:34,529 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.231.85.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2025-06-30 15:08:34,529 - DEBUG - ping -s 56 -c 3 -W 1 64.231.85.195 2025-06-30 15:08:37,734 - DEBUG - PING 64.231.85.195 (64.231.85.195): 56 data bytes --- 64.231.85.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-30 15:08:37,734 - WARNING - Ping to IP 64.231.85.195 from VM ctest-TestBasicPolicy-29462041-40184108 failed 2025-06-30 15:08:37,734 - INFO - Deleting VM ctest-TestBasicPolicy-29462041-64675811 2025-06-30 15:08:37,802 - INFO - Deleting VM ctest-TestBasicPolicy-29462041-40184108 2025-06-30 15:08:38,194 - INFO - Deleted policy ctest-policy-allow-all-62271452 2025-06-30 15:08:38,194 - INFO - Deleting VN ctest-vn-10396772 2025-06-30 15:08:38,238 - DEBUG - VN 83b5b948-e571-4100-a66f-28a57f0d755b still in use: Unable to complete operation on network 83b5b948-e571-4100-a66f-28a57f0d755b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9883e3e9-d8d4-4ef2-96ad-3245d82cc418'] 2025-06-30 15:08:38,238 - WARNING - Deleting VN ctest-vn-10396772 failed..Will retry 2025-06-30 15:08:40,345 - DEBUG - Response for deleting network () 2025-06-30 15:08:40,345 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/36aeed1f-a3af-468a-8552-babbd5ec37c3 2025-06-30 15:08:40,353 - DEBUG - Response Code: 404 2025-06-30 15:08:40,353 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2025-06-30 15:08:40,360 - DEBUG - Requesting: http://10.0.0.161:8082/domain/b76e56af-f288-4dab-9179-201d5098011b 2025-06-30 15:08:40,417 - DEBUG - Requesting: http://10.0.0.161:8082/project/98aa4e17-0d93-4432-83fe-5d3c7a30207d 2025-06-30 15:08:40,495 - INFO - Validated that VN ctest-vn-10396772 is not found in API Server 2025-06-30 15:08:40,507 - DEBUG - VN ctest-vn-10396772 is not present in Agent 10.0.0.161 2025-06-30 15:08:40,507 - INFO - Validated that VN ctest-vn-10396772 is not in any agent 2025-06-30 15:08:40,524 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10396772 info 2025-06-30 15:08:40,524 - INFO - Deleting VN ctest-vn-20612857 2025-06-30 15:08:40,626 - DEBUG - Response for deleting network () 2025-06-30 15:08:40,626 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/052e6faf-5773-4076-9404-586b383071a4 2025-06-30 15:08:40,634 - DEBUG - Response Code: 404 2025-06-30 15:08:40,634 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2025-06-30 15:08:40,640 - DEBUG - Requesting: http://10.0.0.161:8082/domain/b76e56af-f288-4dab-9179-201d5098011b 2025-06-30 15:08:40,698 - DEBUG - Requesting: http://10.0.0.161:8082/project/98aa4e17-0d93-4432-83fe-5d3c7a30207d 2025-06-30 15:08:40,775 - INFO - Validated that VN ctest-vn-20612857 is not found in API Server 2025-06-30 15:08:40,788 - DEBUG - VN ctest-vn-20612857 is not present in Agent 10.0.0.161 2025-06-30 15:08:40,788 - INFO - Validated that VN ctest-vn-20612857 is not in any agent 2025-06-30 15:08:40,805 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20612857 info 2025-06-30 15:08:41,058 - DEBUG - No XMPP flaps were noticed during the test
2025-06-30 15:08:41,058 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-06-30 15:08:41,059 - INFO - -------------------------------------------------------------------------------- 2025-06-30 15:08:41,731 - INFO - Deleted project: ctest-TestBasicPolicy-29462041, ID : 98aa4e17-0d93-4432-83fe-5d3c7a30207d