2025-10-09 14:51:16,376 - INFO - Domain Default found not creating 2025-10-09 14:51:16,524 - INFO - Project ctest-TestBasicPolicy-53727952 not found, creating it 2025-10-09 14:51:16,971 - INFO - Created Project:ctest-TestBasicPolicy-53727952, ID : 8bee2cfb-6639-4c37-a976-16bc9bd5cbcc 2025-10-09 14:51:18,404 - INFO - ================================================================================ 2025-10-09 14:51:18,404 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-09 14:51:18,404 - 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-10-09 14:51:18,661 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.14': '0'}} with 2025-10-09 14:51:18,661 - INFO - Initial checks done. Running the testcase now 2025-10-09 14:51:18,661 - INFO - 2025-10-09 14:51:19,249 - DEBUG - Response for create_network : {'network': {'id': '513cc511-fc20-478a-a112-a521f12cd1b6', 'name': 'ctest-vn-15479907', 'tenant_id': '8bee2cfb66394c37a97616bc9bd5cbcc', 'project_id': '8bee2cfb66394c37a97616bc9bd5cbcc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53727952', 'ctest-vn-15479907'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 14:51:19,429 - DEBUG - Response for create_subnet : {'subnet': {'id': '45708e1e-1b73-44c2-8bc3-398945c099dc', 'name': '', 'tenant_id': '8bee2cfb66394c37a97616bc9bd5cbcc', 'network_id': '513cc511-fc20-478a-a112-a521f12cd1b6', 'ip_version': 4, 'cidr': '122.138.14.64/26', 'allocation_pools': [{'start': '122.138.14.66', 'end': '122.138.14.126'}], 'gateway_ip': '122.138.14.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.138.14.66', 'tags': [], 'project_id': '8bee2cfb66394c37a97616bc9bd5cbcc'}} 2025-10-09 14:51:19,447 - INFO - Created VN ctest-vn-15479907 2025-10-09 14:51:19,500 - DEBUG - VN ctest-vn-15479907 UUID is 513cc511-fc20-478a-a112-a521f12cd1b6 2025-10-09 14:51:19,773 - DEBUG - Response for create_network : {'network': {'id': '005ecaed-87a2-4e13-9919-1852c2239200', 'name': 'ctest-vn-63545594', 'tenant_id': '8bee2cfb66394c37a97616bc9bd5cbcc', 'project_id': '8bee2cfb66394c37a97616bc9bd5cbcc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53727952', 'ctest-vn-63545594'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 14:51:19,938 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd557133c-7c24-4206-bf3f-3dd45f6f3c1c', 'name': '', 'tenant_id': '8bee2cfb66394c37a97616bc9bd5cbcc', 'network_id': '005ecaed-87a2-4e13-9919-1852c2239200', 'ip_version': 4, 'cidr': '121.189.77.192/26', 'allocation_pools': [{'start': '121.189.77.194', 'end': '121.189.77.254'}], 'gateway_ip': '121.189.77.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.189.77.194', 'tags': [], 'project_id': '8bee2cfb66394c37a97616bc9bd5cbcc'}} 2025-10-09 14:51:19,956 - INFO - Created VN ctest-vn-63545594 2025-10-09 14:51:20,008 - DEBUG - VN ctest-vn-63545594 UUID is 005ecaed-87a2-4e13-9919-1852c2239200 2025-10-09 14:51:20,121 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-53727952:ctest-vn-15479907, 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-53727952:ctest-vn-63545594, 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-10-09 14:51:20,413 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '513cc511-fc20-478a-a112-a521f12cd1b6', 'name': 'ctest-vn-15479907', 'tenant_id': '8bee2cfb66394c37a97616bc9bd5cbcc', 'project_id': '8bee2cfb66394c37a97616bc9bd5cbcc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['45708e1e-1b73-44c2-8bc3-398945c099dc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53727952', 'ctest-vn-15479907'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53727952', 'ctest-policy-allow-all-63522213']], 'subnet_ipam': [{'subnet_cidr': '122.138.14.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 14:51:20,641 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '005ecaed-87a2-4e13-9919-1852c2239200', 'name': 'ctest-vn-63545594', 'tenant_id': '8bee2cfb66394c37a97616bc9bd5cbcc', 'project_id': '8bee2cfb66394c37a97616bc9bd5cbcc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d557133c-7c24-4206-bf3f-3dd45f6f3c1c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53727952', 'ctest-vn-63545594'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53727952', 'ctest-policy-allow-all-63522213']], 'subnet_ipam': [{'subnet_cidr': '121.189.77.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 14:51:20,812 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-09 14:51:21,105 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-09 14:51:21,136 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e9fdd950-4694-411a-9365-540c867da33b 2025-10-09 14:51:21,148 - DEBUG - Requesting: http://10.0.0.242:8082/project/8bee2cfb-6639-4c37-a976-16bc9bd5cbcc 2025-10-09 14:51:21,223 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/513cc511-fc20-478a-a112-a521f12cd1b6 2025-10-09 14:51:21,235 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/513cc511-fc20-478a-a112-a521f12cd1b6 2025-10-09 14:51:21,244 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d6d729c6-fd91-4026-a6db-7518eed5b6a9 2025-10-09 14:51:21,251 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d6d729c6-fd91-4026-a6db-7518eed5b6a9 2025-10-09 14:51:21,258 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/d176c940-b61e-48c7-b050-98e075b0785e 2025-10-09 14:51:21,265 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 14:51:21,265 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/513cc511-fc20-478a-a112-a521f12cd1b6 2025-10-09 14:51:21,274 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d6d729c6-fd91-4026-a6db-7518eed5b6a9 2025-10-09 14:51:21,289 - INFO - Verified VN network id 11 for VN 513cc511-fc20-478a-a112-a521f12cd1b6 2025-10-09 14:51:21,289 - INFO - Verifications in API Server for VN ctest-vn-15479907 passed 2025-10-09 14:51:21,289 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/513cc511-fc20-478a-a112-a521f12cd1b6 2025-10-09 14:51:21,298 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d6d729c6-fd91-4026-a6db-7518eed5b6a9 2025-10-09 14:51:21,305 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d6d729c6-fd91-4026-a6db-7518eed5b6a9 2025-10-09 14:51:21,311 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/d176c940-b61e-48c7-b050-98e075b0785e 2025-10-09 14:51:21,323 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53727952:ctest-vn-15479907', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53727952', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5853770296709891978', 'uuid-lslong': '11606520754885939638'}, 'enable': 'true', 'created': '2025-10-09T14:51:19', 'last-modified': '2025-10-09T14:51:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.933134'} 2025-10-09 14:51:21,328 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 14:51:21,328 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15479907 passed 2025-10-09 14:51:21,329 - DEBUG - ====Verifying policy data for ctest-vn-15479907 in API_Server ====== 2025-10-09 14:51:21,329 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-09 14:51:21,334 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e9fdd950-4694-411a-9365-540c867da33b 2025-10-09 14:51:21,344 - DEBUG - Requesting: http://10.0.0.242:8082/project/8bee2cfb-6639-4c37-a976-16bc9bd5cbcc 2025-10-09 14:51:21,416 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/513cc511-fc20-478a-a112-a521f12cd1b6 2025-10-09 14:51:21,425 - DEBUG - ==>Verifying data for policy with id: 3b1fd8bd-5a87-4a95-80b4-621152140f69, fqn: ['default-domain', 'ctest-TestBasicPolicy-53727952', 'ctest-policy-allow-all-63522213'] 2025-10-09 14:51:21,425 - INFO - VN ctest-vn-15479907 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 14:51:21,425 - DEBUG - Verifying the vn in opserver 2025-10-09 14:51:21,425 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53727952:ctest-vn-15479907 virtual network link through opserver 10.0.0.242 2025-10-09 14:51:21,425 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-09 14:51:21,719 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-09 14:51:21,775 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53727952:ctest-vn-15479907', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53727952:ctest-vn-15479907?flat'} 2025-10-09 14:51:21,775 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53727952:ctest-vn-15479907 is found in opserver 2025-10-09 14:51:21,785 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 14:51:21,789 - DEBUG - VRF ids for VN ctest-vn-15479907: {} 2025-10-09 14:51:21,789 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-09 14:51:21,795 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e9fdd950-4694-411a-9365-540c867da33b 2025-10-09 14:51:21,805 - DEBUG - Requesting: http://10.0.0.242:8082/project/8bee2cfb-6639-4c37-a976-16bc9bd5cbcc 2025-10-09 14:51:21,873 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/005ecaed-87a2-4e13-9919-1852c2239200 2025-10-09 14:51:21,884 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/005ecaed-87a2-4e13-9919-1852c2239200 2025-10-09 14:51:21,893 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d559dfd0-1249-4a11-a337-5ee09c7d2c9c 2025-10-09 14:51:21,899 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d559dfd0-1249-4a11-a337-5ee09c7d2c9c 2025-10-09 14:51:21,905 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/ed9f88c0-3798-4623-97cd-63157dda1294 2025-10-09 14:51:21,917 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 14:51:21,917 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/005ecaed-87a2-4e13-9919-1852c2239200 2025-10-09 14:51:21,926 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d559dfd0-1249-4a11-a337-5ee09c7d2c9c 2025-10-09 14:51:21,939 - INFO - Verified VN network id 12 for VN 005ecaed-87a2-4e13-9919-1852c2239200 2025-10-09 14:51:21,939 - INFO - Verifications in API Server for VN ctest-vn-63545594 passed 2025-10-09 14:51:21,939 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/005ecaed-87a2-4e13-9919-1852c2239200 2025-10-09 14:51:21,949 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d559dfd0-1249-4a11-a337-5ee09c7d2c9c 2025-10-09 14:51:21,956 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d559dfd0-1249-4a11-a337-5ee09c7d2c9c 2025-10-09 14:51:21,963 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/ed9f88c0-3798-4623-97cd-63157dda1294 2025-10-09 14:51:21,974 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53727952:ctest-vn-63545594', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53727952', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '26681769342422547', 'uuid-lslong': '11031875505944236544'}, 'enable': 'true', 'created': '2025-10-09T14:51:19', 'last-modified': '2025-10-09T14:51:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.357955'} 2025-10-09 14:51:21,981 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 14:51:21,981 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63545594 passed 2025-10-09 14:51:21,981 - DEBUG - ====Verifying policy data for ctest-vn-63545594 in API_Server ====== 2025-10-09 14:51:21,981 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-09 14:51:21,987 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e9fdd950-4694-411a-9365-540c867da33b 2025-10-09 14:51:21,999 - DEBUG - Requesting: http://10.0.0.242:8082/project/8bee2cfb-6639-4c37-a976-16bc9bd5cbcc 2025-10-09 14:51:22,071 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/005ecaed-87a2-4e13-9919-1852c2239200 2025-10-09 14:51:22,080 - DEBUG - ==>Verifying data for policy with id: 3b1fd8bd-5a87-4a95-80b4-621152140f69, fqn: ['default-domain', 'ctest-TestBasicPolicy-53727952', 'ctest-policy-allow-all-63522213'] 2025-10-09 14:51:22,080 - INFO - VN ctest-vn-63545594 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 14:51:22,080 - DEBUG - Verifying the vn in opserver 2025-10-09 14:51:22,080 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53727952:ctest-vn-63545594 virtual network link through opserver 10.0.0.242 2025-10-09 14:51:22,080 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-09 14:51:22,089 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53727952:ctest-vn-63545594', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53727952:ctest-vn-63545594?flat'} 2025-10-09 14:51:22,090 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53727952:ctest-vn-63545594 is found in opserver 2025-10-09 14:51:22,099 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 14:51:22,103 - DEBUG - VRF ids for VN ctest-vn-63545594: {} 2025-10-09 14:51:22,161 - DEBUG - Services list from nova: [, , ] 2025-10-09 14:51:23,212 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4264-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4264-1) 2025-10-09 14:51:24,335 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4264-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4264-1) 2025-10-09 14:51:24,335 - INFO - Waiting for VM ctest-TestBasicPolicy-53727952-84498487 to be up.. 2025-10-09 14:51:24,416 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 14:51:29,492 - DEBUG - VM is in ACTIVE state now 2025-10-09 14:51:29,492 - INFO - VM name : ctest-TestBasicPolicy-53727952-84498487 2025-10-09 14:51:29,575 - DEBUG - VM ctest-TestBasicPolicy-53727952-84498487 ID is 2b590305-99c6-43d9-b97f-6c8714cfd833 2025-10-09 14:51:29,597 - DEBUG - VM ctest-TestBasicPolicy-53727952-84498487 launched on Node cn-jenkins-deploy-platform-ansible-os-4264-1 2025-10-09 14:51:29,685 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/2b590305-99c6-43d9-b97f-6c8714cfd833 2025-10-09 14:51:29,693 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/9a2db7ff-f40d-44d3-be67-8186af7f96a2 2025-10-09 14:51:32,898 - 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 1015ms') 2025-10-09 14:51:32,898 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53727952-84498487 failed! 2025-10-09 14:51:32,952 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-53727952:ctest-vn-15479907 is 122.138.14.65 and allocation pool is NOT set 2025-10-09 14:51:35,018 - 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=11.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.634 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.634/6.284/11.935/5.650 ms') 2025-10-09 14:51:35,018 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53727952-84498487 passed 2025-10-09 14:51:35,168 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:51:35,168 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53727952-84498487, IP 122.138.14.67, Port 22 2025-10-09 14:51:35,324 - DEBUG - VM ctest-TestBasicPolicy-53727952-84498487 is ready for SSH connections 2025-10-09 14:51:35,324 - INFO - Waiting for VM ctest-TestBasicPolicy-53727952-85679265 to be up.. 2025-10-09 14:51:35,395 - DEBUG - VM is in ACTIVE state now 2025-10-09 14:51:35,395 - INFO - VM name : ctest-TestBasicPolicy-53727952-85679265 2025-10-09 14:51:35,467 - DEBUG - VM ctest-TestBasicPolicy-53727952-85679265 ID is ce681be0-de29-4c64-8b46-defdf88a8d06 2025-10-09 14:51:35,467 - DEBUG - VM ctest-TestBasicPolicy-53727952-85679265 launched on Node cn-jenkins-deploy-platform-ansible-os-4264-1 2025-10-09 14:51:35,539 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/ce681be0-de29-4c64-8b46-defdf88a8d06 2025-10-09 14:51:35,548 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/a54f545b-8d8b-4c87-a4b3-88c6dd765568 2025-10-09 14:51:36,784 - 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=4.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.437 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.437/2.340/4.243/1.903 ms') 2025-10-09 14:51:36,784 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-53727952-85679265 passed 2025-10-09 14:51:36,936 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:51:36,936 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53727952-85679265, IP 121.189.77.195, Port 22 2025-10-09 14:51:37,112 - DEBUG - VM ctest-TestBasicPolicy-53727952-85679265 is ready for SSH connections 2025-10-09 14:51:37,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:51:37,113 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.189.77.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-09 14:51:37,113 - DEBUG - ping -s 56 -c 3 -W 1 121.189.77.195 2025-10-09 14:51:40,792 - DEBUG - PING 121.189.77.195 (121.189.77.195): 56 data bytes 64 bytes from 121.189.77.195: seq=0 ttl=63 time=3.418 ms 64 bytes from 121.189.77.195: seq=1 ttl=63 time=0.892 ms 64 bytes from 121.189.77.195: seq=2 ttl=63 time=0.844 ms --- 121.189.77.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.844/1.718/3.418 ms 2025-10-09 14:51:40,792 - INFO - Ping to IP 121.189.77.195 from VM ctest-TestBasicPolicy-53727952-84498487 passed 2025-10-09 14:51:40,964 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3b1fd8bd-5a87-4a95-80b4-621152140f69", "href": "http://10.0.0.242:8082/network-policy/3b1fd8bd-5a87-4a95-80b4-621152140f69"}} 2025-10-09 14:51:40,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:51:40,964 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.189.77.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-09 14:51:40,964 - DEBUG - ping -s 56 -c 3 -W 1 121.189.77.195 2025-10-09 14:51:44,183 - DEBUG - PING 121.189.77.195 (121.189.77.195): 56 data bytes --- 121.189.77.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 14:51:44,183 - WARNING - Ping to IP 121.189.77.195 from VM ctest-TestBasicPolicy-53727952-84498487 failed 2025-10-09 14:51:44,183 - INFO - Deleting VM ctest-TestBasicPolicy-53727952-85679265 2025-10-09 14:51:44,263 - INFO - Deleting VM ctest-TestBasicPolicy-53727952-84498487 2025-10-09 14:51:44,648 - INFO - Deleted policy ctest-policy-allow-all-63522213 2025-10-09 14:51:44,649 - INFO - Deleting VN ctest-vn-63545594 2025-10-09 14:51:44,687 - DEBUG - VN 005ecaed-87a2-4e13-9919-1852c2239200 still in use: Unable to complete operation on network 005ecaed-87a2-4e13-9919-1852c2239200. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-904ef9eb-d1ad-4ed5-889d-7be0a28d45ed'] 2025-10-09 14:51:44,687 - WARNING - Deleting VN ctest-vn-63545594 failed..Will retry 2025-10-09 14:51:46,778 - DEBUG - Response for deleting network () 2025-10-09 14:51:46,778 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d559dfd0-1249-4a11-a337-5ee09c7d2c9c 2025-10-09 14:51:46,783 - DEBUG - Response Code: 404 2025-10-09 14:51:46,783 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-09 14:51:46,791 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e9fdd950-4694-411a-9365-540c867da33b 2025-10-09 14:51:46,845 - DEBUG - Requesting: http://10.0.0.242:8082/project/8bee2cfb-6639-4c37-a976-16bc9bd5cbcc 2025-10-09 14:51:46,915 - INFO - Validated that VN ctest-vn-63545594 is not found in API Server 2025-10-09 14:51:46,924 - DEBUG - VN ctest-vn-63545594 is not present in Agent 10.0.0.242 2025-10-09 14:51:46,924 - INFO - Validated that VN ctest-vn-63545594 is not in any agent 2025-10-09 14:51:46,937 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-63545594 info 2025-10-09 14:51:46,937 - INFO - Deleting VN ctest-vn-15479907 2025-10-09 14:51:47,039 - DEBUG - Response for deleting network () 2025-10-09 14:51:47,039 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d6d729c6-fd91-4026-a6db-7518eed5b6a9 2025-10-09 14:51:47,044 - DEBUG - Response Code: 404 2025-10-09 14:51:47,044 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-09 14:51:47,050 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e9fdd950-4694-411a-9365-540c867da33b 2025-10-09 14:51:47,101 - DEBUG - Requesting: http://10.0.0.242:8082/project/8bee2cfb-6639-4c37-a976-16bc9bd5cbcc 2025-10-09 14:51:47,170 - INFO - Validated that VN ctest-vn-15479907 is not found in API Server 2025-10-09 14:51:47,179 - DEBUG - VN ctest-vn-15479907 is not present in Agent 10.0.0.242 2025-10-09 14:51:47,179 - INFO - Validated that VN ctest-vn-15479907 is not in any agent 2025-10-09 14:51:47,191 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15479907 info 2025-10-09 14:51:47,445 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 14:51:47,445 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-09 14:51:47,445 - INFO - -------------------------------------------------------------------------------- 2025-10-09 14:51:48,114 - INFO - Deleted project: ctest-TestBasicPolicy-53727952, ID : 8bee2cfb-6639-4c37-a976-16bc9bd5cbcc