2025-06-20 10:56:35,480 - INFO - Domain Default found not creating 2025-06-20 10:56:35,641 - INFO - Project ctest-TestBasicPolicy-29287752 not found, creating it 2025-06-20 10:56:36,124 - INFO - Created Project:ctest-TestBasicPolicy-29287752, ID : 655a565b-0a25-4093-b35a-0973ac820506 2025-06-20 10:56:37,574 - INFO - ================================================================================ 2025-06-20 10:56:37,574 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-20 10:56:37,574 - 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-20 10:56:37,827 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.17': '0'}} with 2025-06-20 10:56:37,827 - INFO - Initial checks done. Running the testcase now 2025-06-20 10:56:37,827 - INFO - 2025-06-20 10:56:38,359 - DEBUG - Response for create_network : {'network': {'id': '3f6e677e-40e7-4087-a462-6c30230fc1d3', 'name': 'ctest-vn-39386809', 'tenant_id': '655a565b0a254093b35a0973ac820506', 'project_id': '655a565b0a254093b35a0973ac820506', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29287752', 'ctest-vn-39386809'], 'port_security_enabled': True, 'description': ''}} 2025-06-20 10:56:38,580 - DEBUG - Response for create_subnet : {'subnet': {'id': '01b5b6c6-f6ce-400f-9893-262a62152c0a', 'name': '', 'tenant_id': '655a565b0a254093b35a0973ac820506', 'network_id': '3f6e677e-40e7-4087-a462-6c30230fc1d3', 'ip_version': 4, 'cidr': '106.150.101.64/26', 'allocation_pools': [{'start': '106.150.101.66', 'end': '106.150.101.126'}], 'gateway_ip': '106.150.101.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.150.101.66', 'tags': [], 'project_id': '655a565b0a254093b35a0973ac820506'}} 2025-06-20 10:56:38,598 - INFO - Created VN ctest-vn-39386809 2025-06-20 10:56:38,650 - DEBUG - VN ctest-vn-39386809 UUID is 3f6e677e-40e7-4087-a462-6c30230fc1d3 2025-06-20 10:56:39,062 - DEBUG - Response for create_network : {'network': {'id': '6112ccf5-95d9-4793-b426-20cc52273455', 'name': 'ctest-vn-52173383', 'tenant_id': '655a565b0a254093b35a0973ac820506', 'project_id': '655a565b0a254093b35a0973ac820506', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29287752', 'ctest-vn-52173383'], 'port_security_enabled': True, 'description': ''}} 2025-06-20 10:56:39,236 - DEBUG - Response for create_subnet : {'subnet': {'id': '05276cae-c639-44e1-a3b6-6c59a35e7577', 'name': '', 'tenant_id': '655a565b0a254093b35a0973ac820506', 'network_id': '6112ccf5-95d9-4793-b426-20cc52273455', 'ip_version': 4, 'cidr': '210.124.80.192/26', 'allocation_pools': [{'start': '210.124.80.194', 'end': '210.124.80.254'}], 'gateway_ip': '210.124.80.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.124.80.194', 'tags': [], 'project_id': '655a565b0a254093b35a0973ac820506'}} 2025-06-20 10:56:39,255 - INFO - Created VN ctest-vn-52173383 2025-06-20 10:56:39,309 - DEBUG - VN ctest-vn-52173383 UUID is 6112ccf5-95d9-4793-b426-20cc52273455 2025-06-20 10:56:39,462 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29287752:ctest-vn-39386809, 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-29287752:ctest-vn-52173383, 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-20 10:56:39,765 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3f6e677e-40e7-4087-a462-6c30230fc1d3', 'name': 'ctest-vn-39386809', 'tenant_id': '655a565b0a254093b35a0973ac820506', 'project_id': '655a565b0a254093b35a0973ac820506', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['01b5b6c6-f6ce-400f-9893-262a62152c0a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29287752', 'ctest-vn-39386809'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29287752', 'ctest-policy-allow-all-72440857']], 'subnet_ipam': [{'subnet_cidr': '106.150.101.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-20 10:56:40,004 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6112ccf5-95d9-4793-b426-20cc52273455', 'name': 'ctest-vn-52173383', 'tenant_id': '655a565b0a254093b35a0973ac820506', 'project_id': '655a565b0a254093b35a0973ac820506', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['05276cae-c639-44e1-a3b6-6c59a35e7577'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29287752', 'ctest-vn-52173383'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29287752', 'ctest-policy-allow-all-72440857']], 'subnet_ipam': [{'subnet_cidr': '210.124.80.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-20 10:56:40,182 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-06-20 10:56:40,481 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-06-20 10:56:40,509 - DEBUG - Requesting: http://10.0.0.241:8082/domain/42fe9d11-ceb4-4ca1-8dce-b58c7a7402ca 2025-06-20 10:56:40,524 - DEBUG - Requesting: http://10.0.0.241:8082/project/655a565b-0a25-4093-b35a-0973ac820506 2025-06-20 10:56:40,605 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/3f6e677e-40e7-4087-a462-6c30230fc1d3 2025-06-20 10:56:40,618 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/3f6e677e-40e7-4087-a462-6c30230fc1d3 2025-06-20 10:56:40,630 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/5ec25de1-c328-472c-83c2-9290449033d1 2025-06-20 10:56:40,639 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/5ec25de1-c328-472c-83c2-9290449033d1 2025-06-20 10:56:40,647 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/d99e758a-13e1-48c6-b689-1cff84458fd3 2025-06-20 10:56:40,657 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-20 10:56:40,658 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/3f6e677e-40e7-4087-a462-6c30230fc1d3 2025-06-20 10:56:40,668 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/5ec25de1-c328-472c-83c2-9290449033d1 2025-06-20 10:56:40,685 - INFO - Verified VN network id 8 for VN 3f6e677e-40e7-4087-a462-6c30230fc1d3 2025-06-20 10:56:40,685 - INFO - Verifications in API Server for VN ctest-vn-39386809 passed 2025-06-20 10:56:40,685 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/3f6e677e-40e7-4087-a462-6c30230fc1d3 2025-06-20 10:56:40,696 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/5ec25de1-c328-472c-83c2-9290449033d1 2025-06-20 10:56:40,704 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/5ec25de1-c328-472c-83c2-9290449033d1 2025-06-20 10:56:40,713 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/d99e758a-13e1-48c6-b689-1cff84458fd3 2025-06-20 10:56:40,726 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29287752:ctest-vn-39386809', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29287752', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4570704463780069511', 'uuid-lslong': '11845148923940291027'}, 'enable': 'true', 'created': '2025-06-20T10:56:38', 'last-modified': '2025-06-20T10:56:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.987593'} 2025-06-20 10:56:40,733 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-20 10:56:40,733 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39386809 passed 2025-06-20 10:56:40,734 - DEBUG - ====Verifying policy data for ctest-vn-39386809 in API_Server ====== 2025-06-20 10:56:40,734 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-06-20 10:56:40,740 - DEBUG - Requesting: http://10.0.0.241:8082/domain/42fe9d11-ceb4-4ca1-8dce-b58c7a7402ca 2025-06-20 10:56:40,755 - DEBUG - Requesting: http://10.0.0.241:8082/project/655a565b-0a25-4093-b35a-0973ac820506 2025-06-20 10:56:40,827 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/3f6e677e-40e7-4087-a462-6c30230fc1d3 2025-06-20 10:56:40,837 - DEBUG - ==>Verifying data for policy with id: dbc9c973-848f-474b-a2ef-83e50e3c633b, fqn: ['default-domain', 'ctest-TestBasicPolicy-29287752', 'ctest-policy-allow-all-72440857'] 2025-06-20 10:56:40,837 - INFO - VN ctest-vn-39386809 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-20 10:56:40,837 - DEBUG - Verifying the vn in opserver 2025-06-20 10:56:40,837 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29287752:ctest-vn-39386809 virtual network link through opserver 10.0.0.241 2025-06-20 10:56:40,837 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-06-20 10:56:41,128 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-06-20 10:56:41,184 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29287752:ctest-vn-39386809', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29287752:ctest-vn-39386809?flat'} 2025-06-20 10:56:41,184 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29287752:ctest-vn-39386809 is found in opserver 2025-06-20 10:56:41,195 - DEBUG - Do not have enough data to verify VN in agent 2025-06-20 10:56:41,201 - DEBUG - VRF ids for VN ctest-vn-39386809: {} 2025-06-20 10:56:41,201 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-06-20 10:56:41,208 - DEBUG - Requesting: http://10.0.0.241:8082/domain/42fe9d11-ceb4-4ca1-8dce-b58c7a7402ca 2025-06-20 10:56:41,223 - DEBUG - Requesting: http://10.0.0.241:8082/project/655a565b-0a25-4093-b35a-0973ac820506 2025-06-20 10:56:41,300 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/6112ccf5-95d9-4793-b426-20cc52273455 2025-06-20 10:56:41,313 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/6112ccf5-95d9-4793-b426-20cc52273455 2025-06-20 10:56:41,324 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/2dff65bc-a309-4266-bef2-4afb6a3f2555 2025-06-20 10:56:41,334 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/2dff65bc-a309-4266-bef2-4afb6a3f2555 2025-06-20 10:56:41,341 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/63a04b77-320e-4032-a93d-939b68c3bd67 2025-06-20 10:56:41,349 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-20 10:56:41,349 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/6112ccf5-95d9-4793-b426-20cc52273455 2025-06-20 10:56:41,358 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/2dff65bc-a309-4266-bef2-4afb6a3f2555 2025-06-20 10:56:41,372 - INFO - Verified VN network id 9 for VN 6112ccf5-95d9-4793-b426-20cc52273455 2025-06-20 10:56:41,373 - INFO - Verifications in API Server for VN ctest-vn-52173383 passed 2025-06-20 10:56:41,373 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/6112ccf5-95d9-4793-b426-20cc52273455 2025-06-20 10:56:41,383 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/2dff65bc-a309-4266-bef2-4afb6a3f2555 2025-06-20 10:56:41,393 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/2dff65bc-a309-4266-bef2-4afb6a3f2555 2025-06-20 10:56:41,403 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/63a04b77-320e-4032-a93d-939b68c3bd67 2025-06-20 10:56:41,418 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29287752:ctest-vn-52173383', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29287752', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6994878526412900243', 'uuid-lslong': '12981099037865751637'}, 'enable': 'true', 'created': '2025-06-20T10:56:39', 'last-modified': '2025-06-20T10:56:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.438394'} 2025-06-20 10:56:41,425 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-20 10:56:41,425 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52173383 passed 2025-06-20 10:56:41,426 - DEBUG - ====Verifying policy data for ctest-vn-52173383 in API_Server ====== 2025-06-20 10:56:41,426 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-06-20 10:56:41,433 - DEBUG - Requesting: http://10.0.0.241:8082/domain/42fe9d11-ceb4-4ca1-8dce-b58c7a7402ca 2025-06-20 10:56:41,449 - DEBUG - Requesting: http://10.0.0.241:8082/project/655a565b-0a25-4093-b35a-0973ac820506 2025-06-20 10:56:41,527 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/6112ccf5-95d9-4793-b426-20cc52273455 2025-06-20 10:56:41,537 - DEBUG - ==>Verifying data for policy with id: dbc9c973-848f-474b-a2ef-83e50e3c633b, fqn: ['default-domain', 'ctest-TestBasicPolicy-29287752', 'ctest-policy-allow-all-72440857'] 2025-06-20 10:56:41,537 - INFO - VN ctest-vn-52173383 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-20 10:56:41,537 - DEBUG - Verifying the vn in opserver 2025-06-20 10:56:41,537 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29287752:ctest-vn-52173383 virtual network link through opserver 10.0.0.241 2025-06-20 10:56:41,537 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-06-20 10:56:41,549 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29287752:ctest-vn-52173383', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29287752:ctest-vn-52173383?flat'} 2025-06-20 10:56:41,549 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29287752:ctest-vn-52173383 is found in opserver 2025-06-20 10:56:41,560 - DEBUG - Do not have enough data to verify VN in agent 2025-06-20 10:56:41,564 - DEBUG - VRF ids for VN ctest-vn-52173383: {} 2025-06-20 10:56:41,622 - DEBUG - Services list from nova: [, , ] 2025-06-20 10:56:42,626 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3506-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3506-1) 2025-06-20 10:56:43,855 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3506-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3506-1) 2025-06-20 10:56:43,855 - INFO - Waiting for VM ctest-TestBasicPolicy-29287752-06841551 to be up.. 2025-06-20 10:56:43,940 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-20 10:56:49,026 - DEBUG - VM is in ACTIVE state now 2025-06-20 10:56:49,026 - INFO - VM name : ctest-TestBasicPolicy-29287752-06841551 2025-06-20 10:56:49,111 - DEBUG - VM ctest-TestBasicPolicy-29287752-06841551 ID is dfb3a25a-fbab-4668-ad7c-5f89e3b192ce 2025-06-20 10:56:49,132 - DEBUG - VM ctest-TestBasicPolicy-29287752-06841551 launched on Node cn-jenkins-deploy-platform-ansible-os-3506-1 2025-06-20 10:56:49,219 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/dfb3a25a-fbab-4668-ad7c-5f89e3b192ce 2025-06-20 10:56:49,231 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/79b18f68-b177-4bbb-b6e7-3256e9de8765 2025-06-20 10:56:52,499 - 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 1016ms') 2025-06-20 10:56:52,499 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29287752-06841551 failed! 2025-06-20 10:56:52,553 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-29287752:ctest-vn-39386809 is 106.150.101.65 and allocation pool is NOT set 2025-06-20 10:56:54,620 - 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=9.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.48 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 = 1.480/5.724/9.968/4.244 ms') 2025-06-20 10:56:54,620 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29287752-06841551 passed 2025-06-20 10:56:54,774 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 10:56:54,774 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29287752-06841551, IP 106.150.101.67, Port 22 2025-06-20 10:56:54,929 - DEBUG - VM ctest-TestBasicPolicy-29287752-06841551 is ready for SSH connections 2025-06-20 10:56:54,929 - INFO - Waiting for VM ctest-TestBasicPolicy-29287752-00896022 to be up.. 2025-06-20 10:56:55,014 - DEBUG - VM is in ACTIVE state now 2025-06-20 10:56:55,014 - INFO - VM name : ctest-TestBasicPolicy-29287752-00896022 2025-06-20 10:56:55,091 - DEBUG - VM ctest-TestBasicPolicy-29287752-00896022 ID is c8a79588-68ed-40e7-b94b-4914b81580f5 2025-06-20 10:56:55,091 - DEBUG - VM ctest-TestBasicPolicy-29287752-00896022 launched on Node cn-jenkins-deploy-platform-ansible-os-3506-1 2025-06-20 10:56:55,163 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/c8a79588-68ed-40e7-b94b-4914b81580f5 2025-06-20 10:56:55,171 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/efaec6e7-db4d-44c1-9c25-826625f82957 2025-06-20 10:56:56,421 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.19 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.192/3.239/4.287/1.047 ms') 2025-06-20 10:56:56,421 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-29287752-00896022 passed 2025-06-20 10:56:56,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 10:56:56,574 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29287752-00896022, IP 210.124.80.195, Port 22 2025-06-20 10:56:56,730 - DEBUG - VM ctest-TestBasicPolicy-29287752-00896022 is ready for SSH connections 2025-06-20 10:56:56,730 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 10:56:56,730 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.124.80.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-06-20 10:56:56,730 - DEBUG - ping -s 56 -c 3 -W 1 210.124.80.195 2025-06-20 10:57:00,401 - DEBUG - PING 210.124.80.195 (210.124.80.195): 56 data bytes 64 bytes from 210.124.80.195: seq=0 ttl=63 time=3.298 ms 64 bytes from 210.124.80.195: seq=1 ttl=63 time=0.636 ms 64 bytes from 210.124.80.195: seq=2 ttl=63 time=0.707 ms --- 210.124.80.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.636/1.547/3.298 ms 2025-06-20 10:57:00,401 - INFO - Ping to IP 210.124.80.195 from VM ctest-TestBasicPolicy-29287752-06841551 passed 2025-06-20 10:57:00,585 - DEBUG - Policy Update Response {"network-policy": {"uuid": "dbc9c973-848f-474b-a2ef-83e50e3c633b", "href": "http://10.0.0.241:8082/network-policy/dbc9c973-848f-474b-a2ef-83e50e3c633b"}} 2025-06-20 10:57:00,585 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 10:57:00,586 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.124.80.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-06-20 10:57:00,586 - DEBUG - ping -s 56 -c 3 -W 1 210.124.80.195 2025-06-20 10:57:03,804 - DEBUG - PING 210.124.80.195 (210.124.80.195): 56 data bytes --- 210.124.80.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-20 10:57:03,804 - WARNING - Ping to IP 210.124.80.195 from VM ctest-TestBasicPolicy-29287752-06841551 failed 2025-06-20 10:57:03,804 - INFO - Deleting VM ctest-TestBasicPolicy-29287752-00896022 2025-06-20 10:57:03,867 - INFO - Deleting VM ctest-TestBasicPolicy-29287752-06841551 2025-06-20 10:57:04,248 - INFO - Deleted policy ctest-policy-allow-all-72440857 2025-06-20 10:57:04,248 - INFO - Deleting VN ctest-vn-52173383 2025-06-20 10:57:04,285 - DEBUG - VN 6112ccf5-95d9-4793-b426-20cc52273455 still in use: Unable to complete operation on network 6112ccf5-95d9-4793-b426-20cc52273455. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fdcb116a-fe65-44c1-8e8c-13b1b5b33538'] 2025-06-20 10:57:04,285 - WARNING - Deleting VN ctest-vn-52173383 failed..Will retry 2025-06-20 10:57:06,375 - DEBUG - Response for deleting network () 2025-06-20 10:57:06,375 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/2dff65bc-a309-4266-bef2-4afb6a3f2555 2025-06-20 10:57:06,380 - DEBUG - Response Code: 404 2025-06-20 10:57:06,380 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-06-20 10:57:06,388 - DEBUG - Requesting: http://10.0.0.241:8082/domain/42fe9d11-ceb4-4ca1-8dce-b58c7a7402ca 2025-06-20 10:57:06,443 - DEBUG - Requesting: http://10.0.0.241:8082/project/655a565b-0a25-4093-b35a-0973ac820506 2025-06-20 10:57:06,514 - INFO - Validated that VN ctest-vn-52173383 is not found in API Server 2025-06-20 10:57:06,525 - DEBUG - VN ctest-vn-52173383 is not present in Agent 10.0.0.241 2025-06-20 10:57:06,525 - INFO - Validated that VN ctest-vn-52173383 is not in any agent 2025-06-20 10:57:06,543 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52173383 info 2025-06-20 10:57:06,543 - INFO - Deleting VN ctest-vn-39386809 2025-06-20 10:57:06,640 - DEBUG - Response for deleting network () 2025-06-20 10:57:06,640 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/5ec25de1-c328-472c-83c2-9290449033d1 2025-06-20 10:57:06,649 - DEBUG - Response Code: 404 2025-06-20 10:57:06,649 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-06-20 10:57:06,656 - DEBUG - Requesting: http://10.0.0.241:8082/domain/42fe9d11-ceb4-4ca1-8dce-b58c7a7402ca 2025-06-20 10:57:06,712 - DEBUG - Requesting: http://10.0.0.241:8082/project/655a565b-0a25-4093-b35a-0973ac820506 2025-06-20 10:57:06,785 - INFO - Validated that VN ctest-vn-39386809 is not found in API Server 2025-06-20 10:57:06,796 - DEBUG - VN ctest-vn-39386809 is not present in Agent 10.0.0.241 2025-06-20 10:57:06,797 - INFO - Validated that VN ctest-vn-39386809 is not in any agent 2025-06-20 10:57:06,812 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39386809 info 2025-06-20 10:57:07,073 - DEBUG - No XMPP flaps were noticed during the test 2025-06-20 10:57:07,073 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-20 10:57:07,073 - INFO - -------------------------------------------------------------------------------- 2025-06-20 10:57:07,710 - INFO - Deleted project: ctest-TestBasicPolicy-29287752, ID : 655a565b-0a25-4093-b35a-0973ac820506