2025-05-01 12:51:19,458 - INFO - Domain Default found not creating 2025-05-01 12:51:19,625 - INFO - Project ctest-TestBasicPolicy-70184383 not found, creating it 2025-05-01 12:51:20,066 - INFO - Created Project:ctest-TestBasicPolicy-70184383, ID : 3ece34d8-d8f6-40d9-afda-82eef9a77118 2025-05-01 12:51:21,570 - INFO - ================================================================================ 2025-05-01 12:51:21,570 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-01 12:51:21,570 - 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-05-01 12:51:21,835 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.0.0.38': '0'}} with 2025-05-01 12:51:21,835 - INFO - Initial checks done. Running the testcase now 2025-05-01 12:51:21,835 - INFO - 2025-05-01 12:51:22,352 - DEBUG - Response for create_network : {'network': {'id': 'eddb9305-97d6-4e78-8b70-44902ef69904', 'name': 'ctest-vn-28768819', 'tenant_id': '3ece34d8d8f640d9afda82eef9a77118', 'project_id': '3ece34d8d8f640d9afda82eef9a77118', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70184383', 'ctest-vn-28768819'], 'port_security_enabled': True, 'description': ''}} 2025-05-01 12:51:22,504 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf0257e5-7f36-4482-8f4c-6689581ac601', 'name': '', 'tenant_id': '3ece34d8d8f640d9afda82eef9a77118', 'network_id': 'eddb9305-97d6-4e78-8b70-44902ef69904', 'ip_version': 4, 'cidr': '64.120.77.192/26', 'allocation_pools': [{'start': '64.120.77.194', 'end': '64.120.77.254'}], 'gateway_ip': '64.120.77.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.120.77.194', 'tags': [], 'project_id': '3ece34d8d8f640d9afda82eef9a77118'}} 2025-05-01 12:51:22,523 - INFO - Created VN ctest-vn-28768819 2025-05-01 12:51:22,578 - DEBUG - VN ctest-vn-28768819 UUID is eddb9305-97d6-4e78-8b70-44902ef69904 2025-05-01 12:51:22,883 - DEBUG - Response for create_network : {'network': {'id': 'b76de471-944c-4648-8792-35b102261106', 'name': 'ctest-vn-51292128', 'tenant_id': '3ece34d8d8f640d9afda82eef9a77118', 'project_id': '3ece34d8d8f640d9afda82eef9a77118', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70184383', 'ctest-vn-51292128'], 'port_security_enabled': True, 'description': ''}} 2025-05-01 12:51:23,031 - DEBUG - Response for create_subnet : {'subnet': {'id': '7066cc80-ff86-4cd6-bad1-4236cb50b4d0', 'name': '', 'tenant_id': '3ece34d8d8f640d9afda82eef9a77118', 'network_id': 'b76de471-944c-4648-8792-35b102261106', 'ip_version': 4, 'cidr': '111.191.187.128/26', 'allocation_pools': [{'start': '111.191.187.130', 'end': '111.191.187.190'}], 'gateway_ip': '111.191.187.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.191.187.130', 'tags': [], 'project_id': '3ece34d8d8f640d9afda82eef9a77118'}} 2025-05-01 12:51:23,052 - INFO - Created VN ctest-vn-51292128 2025-05-01 12:51:23,102 - DEBUG - VN ctest-vn-51292128 UUID is b76de471-944c-4648-8792-35b102261106 2025-05-01 12:51:23,246 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-70184383:ctest-vn-28768819, 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-70184383:ctest-vn-51292128, 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-05-01 12:51:23,536 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eddb9305-97d6-4e78-8b70-44902ef69904', 'name': 'ctest-vn-28768819', 'tenant_id': '3ece34d8d8f640d9afda82eef9a77118', 'project_id': '3ece34d8d8f640d9afda82eef9a77118', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cf0257e5-7f36-4482-8f4c-6689581ac601'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70184383', 'ctest-vn-28768819'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70184383', 'ctest-policy-allow-all-37390842']], 'subnet_ipam': [{'subnet_cidr': '64.120.77.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-01 12:51:23,805 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b76de471-944c-4648-8792-35b102261106', 'name': 'ctest-vn-51292128', 'tenant_id': '3ece34d8d8f640d9afda82eef9a77118', 'project_id': '3ece34d8d8f640d9afda82eef9a77118', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7066cc80-ff86-4cd6-bad1-4236cb50b4d0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70184383', 'ctest-vn-51292128'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70184383', 'ctest-policy-allow-all-37390842']], 'subnet_ipam': [{'subnet_cidr': '111.191.187.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-01 12:51:23,958 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-01 12:51:24,259 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-01 12:51:24,285 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bdb7b428-e628-49dd-8052-159d32e07b57 2025-05-01 12:51:24,295 - DEBUG - Requesting: http://10.0.0.38:8082/project/3ece34d8-d8f6-40d9-afda-82eef9a77118 2025-05-01 12:51:24,369 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eddb9305-97d6-4e78-8b70-44902ef69904 2025-05-01 12:51:24,379 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eddb9305-97d6-4e78-8b70-44902ef69904 2025-05-01 12:51:24,387 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f0ce1976-b619-4c29-866b-cc9ee67e5839 2025-05-01 12:51:24,394 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f0ce1976-b619-4c29-866b-cc9ee67e5839 2025-05-01 12:51:24,401 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fc0d3f64-a637-4109-9c93-5ccb92be5066 2025-05-01 12:51:24,407 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-01 12:51:24,407 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eddb9305-97d6-4e78-8b70-44902ef69904 2025-05-01 12:51:24,414 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f0ce1976-b619-4c29-866b-cc9ee67e5839 2025-05-01 12:51:24,426 - INFO - Verified VN network id 8 for VN eddb9305-97d6-4e78-8b70-44902ef69904 2025-05-01 12:51:24,426 - INFO - Verifications in API Server for VN ctest-vn-28768819 passed 2025-05-01 12:51:24,426 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eddb9305-97d6-4e78-8b70-44902ef69904 2025-05-01 12:51:24,434 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f0ce1976-b619-4c29-866b-cc9ee67e5839 2025-05-01 12:51:24,440 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f0ce1976-b619-4c29-866b-cc9ee67e5839 2025-05-01 12:51:24,446 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fc0d3f64-a637-4109-9c93-5ccb92be5066 2025-05-01 12:51:24,455 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70184383:ctest-vn-28768819', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70184383', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17139454459120078456', 'uuid-lslong': '10047606154717468932'}, 'enable': 'true', 'created': '2025-05-01T12:51:22', 'last-modified': '2025-05-01T12:51:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.946320'} 2025-05-01 12:51:24,460 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-01 12:51:24,460 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28768819 passed 2025-05-01 12:51:24,461 - DEBUG - ====Verifying policy data for ctest-vn-28768819 in API_Server ====== 2025-05-01 12:51:24,461 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-01 12:51:24,468 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bdb7b428-e628-49dd-8052-159d32e07b57 2025-05-01 12:51:24,478 - DEBUG - Requesting: http://10.0.0.38:8082/project/3ece34d8-d8f6-40d9-afda-82eef9a77118 2025-05-01 12:51:24,557 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eddb9305-97d6-4e78-8b70-44902ef69904 2025-05-01 12:51:24,565 - DEBUG - ==>Verifying data for policy with id: 89856d57-6a01-4a67-8a4d-248173d6c9ee, fqn: ['default-domain', 'ctest-TestBasicPolicy-70184383', 'ctest-policy-allow-all-37390842'] 2025-05-01 12:51:24,565 - INFO - VN ctest-vn-28768819 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-01 12:51:24,565 - DEBUG - Verifying the vn in opserver 2025-05-01 12:51:24,565 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70184383:ctest-vn-28768819 virtual network link through opserver 10.0.0.38 2025-05-01 12:51:24,565 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-01 12:51:24,854 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-01 12:51:24,917 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70184383:ctest-vn-28768819', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70184383:ctest-vn-28768819?flat'} 2025-05-01 12:51:24,917 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70184383:ctest-vn-28768819 is found in opserver 2025-05-01 12:51:24,928 - DEBUG - Do not have enough data to verify VN in agent 2025-05-01 12:51:24,934 - DEBUG - VRF ids for VN ctest-vn-28768819: {} 2025-05-01 12:51:24,934 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-01 12:51:24,939 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bdb7b428-e628-49dd-8052-159d32e07b57 2025-05-01 12:51:24,951 - DEBUG - Requesting: http://10.0.0.38:8082/project/3ece34d8-d8f6-40d9-afda-82eef9a77118 2025-05-01 12:51:25,029 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b76de471-944c-4648-8792-35b102261106 2025-05-01 12:51:25,040 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b76de471-944c-4648-8792-35b102261106 2025-05-01 12:51:25,049 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/32f96f03-1629-475b-be23-2cf61765216e 2025-05-01 12:51:25,054 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/32f96f03-1629-475b-be23-2cf61765216e 2025-05-01 12:51:25,060 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/62c56cb1-55ec-4199-827b-237019c88b50 2025-05-01 12:51:25,066 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-01 12:51:25,066 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b76de471-944c-4648-8792-35b102261106 2025-05-01 12:51:25,073 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/32f96f03-1629-475b-be23-2cf61765216e 2025-05-01 12:51:25,140 - INFO - Verified VN network id 9 for VN b76de471-944c-4648-8792-35b102261106 2025-05-01 12:51:25,140 - INFO - Verifications in API Server for VN ctest-vn-51292128 passed 2025-05-01 12:51:25,140 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b76de471-944c-4648-8792-35b102261106 2025-05-01 12:51:25,147 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/32f96f03-1629-475b-be23-2cf61765216e 2025-05-01 12:51:25,153 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/32f96f03-1629-475b-be23-2cf61765216e 2025-05-01 12:51:25,160 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/62c56cb1-55ec-4199-827b-237019c88b50 2025-05-01 12:51:25,172 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70184383:ctest-vn-51292128', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70184383', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13217471657872737864', 'uuid-lslong': '9768929576081559814'}, 'enable': 'true', 'created': '2025-05-01T12:51:22', 'last-modified': '2025-05-01T12:51:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.434622'} 2025-05-01 12:51:25,176 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-01 12:51:25,177 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51292128 passed 2025-05-01 12:51:25,177 - DEBUG - ====Verifying policy data for ctest-vn-51292128 in API_Server ====== 2025-05-01 12:51:25,177 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-01 12:51:25,182 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bdb7b428-e628-49dd-8052-159d32e07b57 2025-05-01 12:51:25,194 - DEBUG - Requesting: http://10.0.0.38:8082/project/3ece34d8-d8f6-40d9-afda-82eef9a77118 2025-05-01 12:51:25,269 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b76de471-944c-4648-8792-35b102261106 2025-05-01 12:51:25,277 - DEBUG - ==>Verifying data for policy with id: 89856d57-6a01-4a67-8a4d-248173d6c9ee, fqn: ['default-domain', 'ctest-TestBasicPolicy-70184383', 'ctest-policy-allow-all-37390842'] 2025-05-01 12:51:25,277 - INFO - VN ctest-vn-51292128 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-01 12:51:25,277 - DEBUG - Verifying the vn in opserver 2025-05-01 12:51:25,277 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70184383:ctest-vn-51292128 virtual network link through opserver 10.0.0.38 2025-05-01 12:51:25,277 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-01 12:51:25,289 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70184383:ctest-vn-51292128', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70184383:ctest-vn-51292128?flat'} 2025-05-01 12:51:25,289 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70184383:ctest-vn-51292128 is found in opserver 2025-05-01 12:51:25,297 - DEBUG - Do not have enough data to verify VN in agent 2025-05-01 12:51:25,302 - DEBUG - VRF ids for VN ctest-vn-51292128: {} 2025-05-01 12:51:25,357 - DEBUG - Services list from nova: [, , ] 2025-05-01 12:51:26,360 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3256-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3256-1) 2025-05-01 12:51:27,706 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3256-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3256-1) 2025-05-01 12:51:27,707 - INFO - Waiting for VM ctest-TestBasicPolicy-70184383-47497505 to be up.. 2025-05-01 12:51:27,778 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-01 12:51:32,862 - DEBUG - VM is in ACTIVE state now 2025-05-01 12:51:32,862 - INFO - VM name : ctest-TestBasicPolicy-70184383-47497505 2025-05-01 12:51:32,963 - DEBUG - VM ctest-TestBasicPolicy-70184383-47497505 ID is fcf62c88-e453-4b5d-b6b1-0550200160aa 2025-05-01 12:51:32,989 - DEBUG - VM ctest-TestBasicPolicy-70184383-47497505 launched on Node cn-jenkins-deploy-platform-ansible-os-3256-1. 2025-05-01 12:51:33,072 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fcf62c88-e453-4b5d-b6b1-0550200160aa 2025-05-01 12:51:33,079 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/514f0b4c-4a97-4252-989c-777bda0f8fac 2025-05-01 12:51:36,342 - 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 1031ms') 2025-05-01 12:51:36,342 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-70184383-47497505 failed! 2025-05-01 12:51:36,398 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-70184383:ctest-vn-28768819 is 64.120.77.193 and allocation pool is NOT set 2025-05-01 12:51:38,457 - 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=2.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.431 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.431/1.630/2.829/1.199 ms') 2025-05-01 12:51:38,457 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-70184383-47497505 passed 2025-05-01 12:51:38,614 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-01 12:51:38,614 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70184383-47497505, IP 64.120.77.195, Port 22 2025-05-01 12:51:38,770 - DEBUG - VM ctest-TestBasicPolicy-70184383-47497505 is ready for SSH connections 2025-05-01 12:51:38,770 - INFO - Waiting for VM ctest-TestBasicPolicy-70184383-02460483 to be up.. 2025-05-01 12:51:38,838 - DEBUG - VM is in ACTIVE state now 2025-05-01 12:51:38,838 - INFO - VM name : ctest-TestBasicPolicy-70184383-02460483 2025-05-01 12:51:38,906 - DEBUG - VM ctest-TestBasicPolicy-70184383-02460483 ID is 70a1e34a-2932-48cf-b878-c5ef1751a4a9 2025-05-01 12:51:38,906 - DEBUG - VM ctest-TestBasicPolicy-70184383-02460483 launched on Node cn-jenkins-deploy-platform-ansible-os-3256-1. 2025-05-01 12:51:38,980 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/70a1e34a-2932-48cf-b878-c5ef1751a4a9 2025-05-01 12:51:38,988 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f4f8e62a-61fa-4c73-9a50-aa0045aa042e 2025-05-01 12:51:40,215 - 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.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.430 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.430/1.870/3.310/1.440 ms') 2025-05-01 12:51:40,215 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-70184383-02460483 passed 2025-05-01 12:51:40,363 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-01 12:51:40,363 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70184383-02460483, IP 111.191.187.131, Port 22 2025-05-01 12:51:40,529 - DEBUG - VM ctest-TestBasicPolicy-70184383-02460483 is ready for SSH connections 2025-05-01 12:51:40,529 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-01 12:51:40,529 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.191.187.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-01 12:51:40,529 - DEBUG - ping -s 56 -c 3 -W 1 111.191.187.131 2025-05-01 12:51:44,531 - DEBUG - PING 111.191.187.131 (111.191.187.131): 56 data bytes 64 bytes from 111.191.187.131: seq=0 ttl=63 time=3.194 ms 64 bytes from 111.191.187.131: seq=1 ttl=63 time=0.847 ms 64 bytes from 111.191.187.131: seq=2 ttl=63 time=0.769 ms --- 111.191.187.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.769/1.603/3.194 ms 2025-05-01 12:51:44,531 - INFO - Ping to IP 111.191.187.131 from VM ctest-TestBasicPolicy-70184383-47497505 passed 2025-05-01 12:51:44,706 - DEBUG - Policy Update Response {"network-policy": {"uuid": "89856d57-6a01-4a67-8a4d-248173d6c9ee", "href": "http://10.0.0.38:8082/network-policy/89856d57-6a01-4a67-8a4d-248173d6c9ee"}} 2025-05-01 12:51:44,706 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-01 12:51:44,706 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.191.187.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-01 12:51:44,707 - DEBUG - ping -s 56 -c 3 -W 1 111.191.187.131 2025-05-01 12:51:47,917 - DEBUG - PING 111.191.187.131 (111.191.187.131): 56 data bytes --- 111.191.187.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-01 12:51:47,917 - WARNING - Ping to IP 111.191.187.131 from VM ctest-TestBasicPolicy-70184383-47497505 failed 2025-05-01 12:51:47,917 - INFO - Deleting VM ctest-TestBasicPolicy-70184383-02460483 2025-05-01 12:51:47,977 - INFO - Deleting VM ctest-TestBasicPolicy-70184383-47497505 2025-05-01 12:51:48,362 - INFO - Deleted policy ctest-policy-allow-all-37390842 2025-05-01 12:51:48,362 - INFO - Deleting VN ctest-vn-51292128 2025-05-01 12:51:48,398 - DEBUG - VN b76de471-944c-4648-8792-35b102261106 still in use: Unable to complete operation on network b76de471-944c-4648-8792-35b102261106. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-75308fec-b34d-40ee-b3da-cc3c701b4398'] 2025-05-01 12:51:48,398 - WARNING - Deleting VN ctest-vn-51292128 failed..Will retry 2025-05-01 12:51:50,491 - DEBUG - Response for deleting network () 2025-05-01 12:51:50,492 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/32f96f03-1629-475b-be23-2cf61765216e 2025-05-01 12:51:50,502 - DEBUG - Response Code: 404 2025-05-01 12:51:50,502 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-01 12:51:50,508 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bdb7b428-e628-49dd-8052-159d32e07b57 2025-05-01 12:51:50,559 - DEBUG - Requesting: http://10.0.0.38:8082/project/3ece34d8-d8f6-40d9-afda-82eef9a77118 2025-05-01 12:51:50,628 - INFO - Validated that VN ctest-vn-51292128 is not found in API Server 2025-05-01 12:51:50,637 - DEBUG - VN ctest-vn-51292128 is not present in Agent 10.0.0.38 2025-05-01 12:51:50,637 - INFO - Validated that VN ctest-vn-51292128 is not in any agent 2025-05-01 12:51:50,648 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51292128 info 2025-05-01 12:51:50,648 - INFO - Deleting VN ctest-vn-28768819 2025-05-01 12:51:50,746 - DEBUG - Response for deleting network () 2025-05-01 12:51:50,746 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f0ce1976-b619-4c29-866b-cc9ee67e5839 2025-05-01 12:51:50,753 - DEBUG - Response Code: 404 2025-05-01 12:51:50,753 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-01 12:51:50,758 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bdb7b428-e628-49dd-8052-159d32e07b57 2025-05-01 12:51:50,815 - DEBUG - Requesting: http://10.0.0.38:8082/project/3ece34d8-d8f6-40d9-afda-82eef9a77118 2025-05-01 12:51:50,890 - INFO - Validated that VN ctest-vn-28768819 is not found in API Server 2025-05-01 12:51:50,898 - DEBUG - VN ctest-vn-28768819 is not present in Agent 10.0.0.38 2025-05-01 12:51:50,898 - INFO - Validated that VN ctest-vn-28768819 is not in any agent 2025-05-01 12:51:50,910 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28768819 info 2025-05-01 12:51:51,162 - DEBUG - No XMPP flaps were noticed during the test 2025-05-01 12:51:51,162 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-05-01 12:51:51,162 - INFO - -------------------------------------------------------------------------------- 2025-05-01 12:51:51,814 - INFO - Deleted project: ctest-TestBasicPolicy-70184383, ID : 3ece34d8-d8f6-40d9-afda-82eef9a77118