2025-12-08 10:11:33,734 - INFO - Domain Default found not creating 2025-12-08 10:11:33,889 - INFO - Project ctest-TestBasicPolicy-36969830 not found, creating it 2025-12-08 10:11:34,347 - INFO - Created Project:ctest-TestBasicPolicy-36969830, ID : e1daf4e6-2377-467c-9f75-9e5f53121b42 2025-12-08 10:11:35,816 - INFO - ================================================================================ 2025-12-08 10:11:35,816 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-08 10:11:35,816 - 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-12-08 10:11:36,069 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2025-12-08 10:11:36,069 - INFO - Initial checks done. Running the testcase now 2025-12-08 10:11:36,069 - INFO - 2025-12-08 10:11:36,606 - DEBUG - Response for create_network : {'network': {'id': 'f5d43a1c-3100-4238-9570-248149f39f9b', 'name': 'ctest-vn-30049501', 'tenant_id': 'e1daf4e62377467c9f759e5f53121b42', 'project_id': 'e1daf4e62377467c9f759e5f53121b42', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36969830', 'ctest-vn-30049501'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 10:11:36,775 - DEBUG - Response for create_subnet : {'subnet': {'id': 'baa030c0-71c1-42c8-8e0d-342ca8d69b0d', 'name': '', 'tenant_id': 'e1daf4e62377467c9f759e5f53121b42', 'network_id': 'f5d43a1c-3100-4238-9570-248149f39f9b', 'ip_version': 4, 'cidr': '160.91.149.128/26', 'allocation_pools': [{'start': '160.91.149.130', 'end': '160.91.149.190'}], 'gateway_ip': '160.91.149.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.91.149.130', 'tags': [], 'project_id': 'e1daf4e62377467c9f759e5f53121b42'}} 2025-12-08 10:11:36,792 - INFO - Created VN ctest-vn-30049501 2025-12-08 10:11:36,847 - DEBUG - VN ctest-vn-30049501 UUID is f5d43a1c-3100-4238-9570-248149f39f9b 2025-12-08 10:11:37,167 - DEBUG - Response for create_network : {'network': {'id': '07e77e00-c3fc-46fd-aac7-fda7c92d1530', 'name': 'ctest-vn-88291203', 'tenant_id': 'e1daf4e62377467c9f759e5f53121b42', 'project_id': 'e1daf4e62377467c9f759e5f53121b42', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36969830', 'ctest-vn-88291203'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 10:11:37,302 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a02ce69c-ca57-4723-a3a7-a41ecb2a4530', 'name': '', 'tenant_id': 'e1daf4e62377467c9f759e5f53121b42', 'network_id': '07e77e00-c3fc-46fd-aac7-fda7c92d1530', 'ip_version': 4, 'cidr': '60.165.113.128/26', 'allocation_pools': [{'start': '60.165.113.130', 'end': '60.165.113.190'}], 'gateway_ip': '60.165.113.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.165.113.130', 'tags': [], 'project_id': 'e1daf4e62377467c9f759e5f53121b42'}} 2025-12-08 10:11:37,318 - INFO - Created VN ctest-vn-88291203 2025-12-08 10:11:37,371 - DEBUG - VN ctest-vn-88291203 UUID is 07e77e00-c3fc-46fd-aac7-fda7c92d1530 2025-12-08 10:11:37,483 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-36969830:ctest-vn-30049501, 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-36969830:ctest-vn-88291203, 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-12-08 10:11:37,771 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f5d43a1c-3100-4238-9570-248149f39f9b', 'name': 'ctest-vn-30049501', 'tenant_id': 'e1daf4e62377467c9f759e5f53121b42', 'project_id': 'e1daf4e62377467c9f759e5f53121b42', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['baa030c0-71c1-42c8-8e0d-342ca8d69b0d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36969830', 'ctest-vn-30049501'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36969830', 'ctest-policy-allow-all-25195310']], 'subnet_ipam': [{'subnet_cidr': '160.91.149.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-08 10:11:38,031 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '07e77e00-c3fc-46fd-aac7-fda7c92d1530', 'name': 'ctest-vn-88291203', 'tenant_id': 'e1daf4e62377467c9f759e5f53121b42', 'project_id': 'e1daf4e62377467c9f759e5f53121b42', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a02ce69c-ca57-4723-a3a7-a41ecb2a4530'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36969830', 'ctest-vn-88291203'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36969830', 'ctest-policy-allow-all-25195310']], 'subnet_ipam': [{'subnet_cidr': '60.165.113.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-08 10:11:38,179 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-08 10:11:38,493 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-08 10:11:38,520 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9b8e0cd7-5ec5-4a6c-86dc-fdeae14f1c22 2025-12-08 10:11:38,531 - DEBUG - Requesting: http://10.0.0.22:8082/project/e1daf4e6-2377-467c-9f75-9e5f53121b42 2025-12-08 10:11:38,609 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f5d43a1c-3100-4238-9570-248149f39f9b 2025-12-08 10:11:38,618 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f5d43a1c-3100-4238-9570-248149f39f9b 2025-12-08 10:11:38,626 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5ccd83f0-e25c-4cfa-8b06-dd017eb21458 2025-12-08 10:11:38,633 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5ccd83f0-e25c-4cfa-8b06-dd017eb21458 2025-12-08 10:11:38,639 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/bea4aee5-7b85-4f02-bcd6-78d8602f33e7 2025-12-08 10:11:38,644 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-08 10:11:38,644 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f5d43a1c-3100-4238-9570-248149f39f9b 2025-12-08 10:11:38,652 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5ccd83f0-e25c-4cfa-8b06-dd017eb21458 2025-12-08 10:11:38,668 - INFO - Verified VN network id 11 for VN f5d43a1c-3100-4238-9570-248149f39f9b 2025-12-08 10:11:38,668 - INFO - Verifications in API Server for VN ctest-vn-30049501 passed 2025-12-08 10:11:38,668 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f5d43a1c-3100-4238-9570-248149f39f9b 2025-12-08 10:11:38,677 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5ccd83f0-e25c-4cfa-8b06-dd017eb21458 2025-12-08 10:11:38,683 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5ccd83f0-e25c-4cfa-8b06-dd017eb21458 2025-12-08 10:11:38,689 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/bea4aee5-7b85-4f02-bcd6-78d8602f33e7 2025-12-08 10:11:38,699 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36969830:ctest-vn-30049501', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36969830', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17713847127110599224', 'uuid-lslong': '10768146846752939931'}, 'enable': 'true', 'created': '2025-12-08T10:11:36', 'last-modified': '2025-12-08T10:11:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.956281'} 2025-12-08 10:11:38,705 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-08 10:11:38,705 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30049501 passed 2025-12-08 10:11:38,705 - DEBUG - ====Verifying policy data for ctest-vn-30049501 in API_Server ====== 2025-12-08 10:11:38,705 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-08 10:11:38,710 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9b8e0cd7-5ec5-4a6c-86dc-fdeae14f1c22 2025-12-08 10:11:38,721 - DEBUG - Requesting: http://10.0.0.22:8082/project/e1daf4e6-2377-467c-9f75-9e5f53121b42 2025-12-08 10:11:38,786 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f5d43a1c-3100-4238-9570-248149f39f9b 2025-12-08 10:11:38,795 - DEBUG - ==>Verifying data for policy with id: 5d1cd1ba-78fa-4861-a0dd-5b8a26986761, fqn: ['default-domain', 'ctest-TestBasicPolicy-36969830', 'ctest-policy-allow-all-25195310'] 2025-12-08 10:11:38,795 - INFO - VN ctest-vn-30049501 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-08 10:11:38,795 - DEBUG - Verifying the vn in opserver 2025-12-08 10:11:38,795 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36969830:ctest-vn-30049501 virtual network link through opserver 10.0.0.22 2025-12-08 10:11:38,795 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-12-08 10:11:39,085 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-12-08 10:11:39,148 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36969830:ctest-vn-30049501', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36969830:ctest-vn-30049501?flat'} 2025-12-08 10:11:39,148 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36969830:ctest-vn-30049501 is found in opserver 2025-12-08 10:11:39,159 - DEBUG - Do not have enough data to verify VN in agent 2025-12-08 10:11:39,164 - DEBUG - VRF ids for VN ctest-vn-30049501: {} 2025-12-08 10:11:39,164 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-08 10:11:39,170 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9b8e0cd7-5ec5-4a6c-86dc-fdeae14f1c22 2025-12-08 10:11:39,180 - DEBUG - Requesting: http://10.0.0.22:8082/project/e1daf4e6-2377-467c-9f75-9e5f53121b42 2025-12-08 10:11:39,247 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/07e77e00-c3fc-46fd-aac7-fda7c92d1530 2025-12-08 10:11:39,258 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/07e77e00-c3fc-46fd-aac7-fda7c92d1530 2025-12-08 10:11:39,267 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1537a730-445a-4538-9a6d-439d5ebabba3 2025-12-08 10:11:39,274 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1537a730-445a-4538-9a6d-439d5ebabba3 2025-12-08 10:11:39,282 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/02446e7b-31d0-4804-8db9-4529eaead62c 2025-12-08 10:11:39,289 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-08 10:11:39,289 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/07e77e00-c3fc-46fd-aac7-fda7c92d1530 2025-12-08 10:11:39,297 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1537a730-445a-4538-9a6d-439d5ebabba3 2025-12-08 10:11:39,309 - INFO - Verified VN network id 12 for VN 07e77e00-c3fc-46fd-aac7-fda7c92d1530 2025-12-08 10:11:39,309 - INFO - Verifications in API Server for VN ctest-vn-88291203 passed 2025-12-08 10:11:39,310 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/07e77e00-c3fc-46fd-aac7-fda7c92d1530 2025-12-08 10:11:39,317 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1537a730-445a-4538-9a6d-439d5ebabba3 2025-12-08 10:11:39,323 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1537a730-445a-4538-9a6d-439d5ebabba3 2025-12-08 10:11:39,329 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/02446e7b-31d0-4804-8db9-4529eaead62c 2025-12-08 10:11:39,338 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36969830:ctest-vn-88291203', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36969830', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '569562419638847229', 'uuid-lslong': '12306083403889710384'}, 'enable': 'true', 'created': '2025-12-08T10:11:37', 'last-modified': '2025-12-08T10:11:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.371785'} 2025-12-08 10:11:39,344 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-08 10:11:39,344 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88291203 passed 2025-12-08 10:11:39,344 - DEBUG - ====Verifying policy data for ctest-vn-88291203 in API_Server ====== 2025-12-08 10:11:39,344 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-08 10:11:39,350 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9b8e0cd7-5ec5-4a6c-86dc-fdeae14f1c22 2025-12-08 10:11:39,360 - DEBUG - Requesting: http://10.0.0.22:8082/project/e1daf4e6-2377-467c-9f75-9e5f53121b42 2025-12-08 10:11:39,430 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/07e77e00-c3fc-46fd-aac7-fda7c92d1530 2025-12-08 10:11:39,438 - DEBUG - ==>Verifying data for policy with id: 5d1cd1ba-78fa-4861-a0dd-5b8a26986761, fqn: ['default-domain', 'ctest-TestBasicPolicy-36969830', 'ctest-policy-allow-all-25195310'] 2025-12-08 10:11:39,438 - INFO - VN ctest-vn-88291203 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-08 10:11:39,438 - DEBUG - Verifying the vn in opserver 2025-12-08 10:11:39,438 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36969830:ctest-vn-88291203 virtual network link through opserver 10.0.0.22 2025-12-08 10:11:39,438 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-12-08 10:11:39,447 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36969830:ctest-vn-88291203', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36969830:ctest-vn-88291203?flat'} 2025-12-08 10:11:39,447 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36969830:ctest-vn-88291203 is found in opserver 2025-12-08 10:11:39,456 - DEBUG - Do not have enough data to verify VN in agent 2025-12-08 10:11:39,460 - DEBUG - VRF ids for VN ctest-vn-88291203: {} 2025-12-08 10:11:39,514 - DEBUG - Services list from nova: [, , ] 2025-12-08 10:11:40,592 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4856-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4856-1) 2025-12-08 10:11:41,708 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4856-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4856-1) 2025-12-08 10:11:41,708 - INFO - Waiting for VM ctest-TestBasicPolicy-36969830-63748070 to be up.. 2025-12-08 10:11:41,791 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-08 10:11:46,887 - DEBUG - VM is in ACTIVE state now 2025-12-08 10:11:46,887 - INFO - VM name : ctest-TestBasicPolicy-36969830-63748070 2025-12-08 10:11:46,969 - DEBUG - VM ctest-TestBasicPolicy-36969830-63748070 ID is 7b40f006-8092-4c7c-bf65-f17138578c3f 2025-12-08 10:11:46,992 - DEBUG - VM ctest-TestBasicPolicy-36969830-63748070 launched on Node cn-jenkins-deploy-platform-ansible-os-4856-1 2025-12-08 10:11:47,079 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7b40f006-8092-4c7c-bf65-f17138578c3f 2025-12-08 10:11:47,088 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/69b2c7d6-fe4d-48d4-8829-9247f97c3669 2025-12-08 10:11:50,359 - 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 1029ms') 2025-12-08 10:11:50,359 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36969830-63748070 failed! 2025-12-08 10:11:50,415 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36969830:ctest-vn-30049501 is 160.91.149.129 and allocation pool is NOT set 2025-12-08 10:11:52,476 - 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=8.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.653 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.653/4.391/8.130/3.738 ms') 2025-12-08 10:11:52,477 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36969830-63748070 passed 2025-12-08 10:11:52,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 10:11:52,623 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36969830-63748070, IP 160.91.149.131, Port 22 2025-12-08 10:11:52,779 - DEBUG - VM ctest-TestBasicPolicy-36969830-63748070 is ready for SSH connections 2025-12-08 10:11:52,780 - INFO - Waiting for VM ctest-TestBasicPolicy-36969830-97561847 to be up.. 2025-12-08 10:11:52,855 - DEBUG - VM is in ACTIVE state now 2025-12-08 10:11:52,855 - INFO - VM name : ctest-TestBasicPolicy-36969830-97561847 2025-12-08 10:11:52,931 - DEBUG - VM ctest-TestBasicPolicy-36969830-97561847 ID is 8dfc5769-e34c-4ee9-a549-ef130a184c2e 2025-12-08 10:11:52,931 - DEBUG - VM ctest-TestBasicPolicy-36969830-97561847 launched on Node cn-jenkins-deploy-platform-ansible-os-4856-1 2025-12-08 10:11:53,003 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/8dfc5769-e34c-4ee9-a549-ef130a184c2e 2025-12-08 10:11:53,010 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/b05fae2c-7e7c-4b84-bef8-2d922aa46cba 2025-12-08 10:11:54,246 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.467 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.467/1.701/2.935/1.234 ms') 2025-12-08 10:11:54,247 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-36969830-97561847 passed 2025-12-08 10:11:54,395 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 10:11:54,395 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36969830-97561847, IP 60.165.113.131, Port 22 2025-12-08 10:11:54,555 - DEBUG - VM ctest-TestBasicPolicy-36969830-97561847 is ready for SSH connections 2025-12-08 10:11:54,555 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 10:11:54,555 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 60.165.113.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-12-08 10:11:54,555 - DEBUG - ping -s 56 -c 3 -W 1 60.165.113.131 2025-12-08 10:11:58,292 - DEBUG - PING 60.165.113.131 (60.165.113.131): 56 data bytes 64 bytes from 60.165.113.131: seq=0 ttl=63 time=3.724 ms 64 bytes from 60.165.113.131: seq=1 ttl=63 time=0.959 ms 64 bytes from 60.165.113.131: seq=2 ttl=63 time=0.996 ms --- 60.165.113.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.959/1.893/3.724 ms 2025-12-08 10:11:58,292 - INFO - Ping to IP 60.165.113.131 from VM ctest-TestBasicPolicy-36969830-63748070 passed 2025-12-08 10:11:58,459 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5d1cd1ba-78fa-4861-a0dd-5b8a26986761", "href": "http://10.0.0.22:8082/network-policy/5d1cd1ba-78fa-4861-a0dd-5b8a26986761"}} 2025-12-08 10:11:58,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 10:11:58,459 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 60.165.113.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-12-08 10:11:58,459 - DEBUG - ping -s 56 -c 3 -W 1 60.165.113.131 2025-12-08 10:12:01,669 - DEBUG - PING 60.165.113.131 (60.165.113.131): 56 data bytes --- 60.165.113.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-08 10:12:01,669 - WARNING - Ping to IP 60.165.113.131 from VM ctest-TestBasicPolicy-36969830-63748070 failed 2025-12-08 10:12:01,669 - INFO - Deleting VM ctest-TestBasicPolicy-36969830-97561847 2025-12-08 10:12:01,741 - INFO - Deleting VM ctest-TestBasicPolicy-36969830-63748070 2025-12-08 10:12:02,151 - INFO - Deleted policy ctest-policy-allow-all-25195310 2025-12-08 10:12:02,151 - INFO - Deleting VN ctest-vn-88291203 2025-12-08 10:12:02,193 - DEBUG - VN 07e77e00-c3fc-46fd-aac7-fda7c92d1530 still in use: Unable to complete operation on network 07e77e00-c3fc-46fd-aac7-fda7c92d1530. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-117c2a79-6efd-4948-81ed-63817cc1076d'] 2025-12-08 10:12:02,193 - WARNING - Deleting VN ctest-vn-88291203 failed..Will retry 2025-12-08 10:12:04,288 - DEBUG - Response for deleting network () 2025-12-08 10:12:04,288 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1537a730-445a-4538-9a6d-439d5ebabba3 2025-12-08 10:12:04,296 - DEBUG - Response Code: 404 2025-12-08 10:12:04,296 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-08 10:12:04,301 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9b8e0cd7-5ec5-4a6c-86dc-fdeae14f1c22 2025-12-08 10:12:04,362 - DEBUG - Requesting: http://10.0.0.22:8082/project/e1daf4e6-2377-467c-9f75-9e5f53121b42 2025-12-08 10:12:04,434 - INFO - Validated that VN ctest-vn-88291203 is not found in API Server 2025-12-08 10:12:04,444 - DEBUG - VN ctest-vn-88291203 is not present in Agent 10.0.0.22 2025-12-08 10:12:04,444 - INFO - Validated that VN ctest-vn-88291203 is not in any agent 2025-12-08 10:12:04,459 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88291203 info 2025-12-08 10:12:04,460 - INFO - Deleting VN ctest-vn-30049501 2025-12-08 10:12:04,566 - DEBUG - Response for deleting network () 2025-12-08 10:12:04,566 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5ccd83f0-e25c-4cfa-8b06-dd017eb21458 2025-12-08 10:12:04,578 - DEBUG - Response Code: 404 2025-12-08 10:12:04,578 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-08 10:12:04,584 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9b8e0cd7-5ec5-4a6c-86dc-fdeae14f1c22 2025-12-08 10:12:04,641 - DEBUG - Requesting: http://10.0.0.22:8082/project/e1daf4e6-2377-467c-9f75-9e5f53121b42 2025-12-08 10:12:04,712 - INFO - Validated that VN ctest-vn-30049501 is not found in API Server 2025-12-08 10:12:04,722 - DEBUG - VN ctest-vn-30049501 is not present in Agent 10.0.0.22 2025-12-08 10:12:04,722 - INFO - Validated that VN ctest-vn-30049501 is not in any agent 2025-12-08 10:12:04,736 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30049501 info 2025-12-08 10:12:04,989 - DEBUG - No XMPP flaps were noticed during the test 2025-12-08 10:12:04,989 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-12-08 10:12:04,989 - INFO - -------------------------------------------------------------------------------- 2025-12-08 10:12:05,670 - INFO - Deleted project: ctest-TestBasicPolicy-36969830, ID : e1daf4e6-2377-467c-9f75-9e5f53121b42