2025-06-19 17:30:18,331 - INFO - Domain Default found not creating 2025-06-19 17:30:18,500 - INFO - Project ctest-TestBasicPolicy-47311242 not found, creating it 2025-06-19 17:30:18,985 - INFO - Created Project:ctest-TestBasicPolicy-47311242, ID : d6f640a3-2613-4381-83ed-4fb787b800b1 2025-06-19 17:30:20,504 - INFO - ================================================================================ 2025-06-19 17:30:20,504 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-19 17:30:20,504 - 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-19 17:30:20,760 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-06-19 17:30:20,760 - INFO - Initial checks done. Running the testcase now 2025-06-19 17:30:20,760 - INFO - 2025-06-19 17:30:21,337 - DEBUG - Response for create_network : {'network': {'id': 'dc45bae2-7bed-4ae3-a7bc-9c1df30621da', 'name': 'ctest-vn-25534172', 'tenant_id': 'd6f640a32613438183ed4fb787b800b1', 'project_id': 'd6f640a32613438183ed4fb787b800b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47311242', 'ctest-vn-25534172'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 17:30:21,531 - DEBUG - Response for create_subnet : {'subnet': {'id': '86be5c93-f484-4888-8876-d002c9df605e', 'name': '', 'tenant_id': 'd6f640a32613438183ed4fb787b800b1', 'network_id': 'dc45bae2-7bed-4ae3-a7bc-9c1df30621da', 'ip_version': 4, 'cidr': '158.91.227.192/26', 'allocation_pools': [{'start': '158.91.227.194', 'end': '158.91.227.254'}], 'gateway_ip': '158.91.227.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.91.227.194', 'tags': [], 'project_id': 'd6f640a32613438183ed4fb787b800b1'}} 2025-06-19 17:30:21,549 - INFO - Created VN ctest-vn-25534172 2025-06-19 17:30:21,605 - DEBUG - VN ctest-vn-25534172 UUID is dc45bae2-7bed-4ae3-a7bc-9c1df30621da 2025-06-19 17:30:21,908 - DEBUG - Response for create_network : {'network': {'id': '0048e7f3-d582-4624-9755-311aa07347d1', 'name': 'ctest-vn-92980151', 'tenant_id': 'd6f640a32613438183ed4fb787b800b1', 'project_id': 'd6f640a32613438183ed4fb787b800b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47311242', 'ctest-vn-92980151'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 17:30:22,119 - DEBUG - Response for create_subnet : {'subnet': {'id': '523bbbfd-d641-48a1-a030-a3c7352bd63a', 'name': '', 'tenant_id': 'd6f640a32613438183ed4fb787b800b1', 'network_id': '0048e7f3-d582-4624-9755-311aa07347d1', 'ip_version': 4, 'cidr': '72.66.246.64/26', 'allocation_pools': [{'start': '72.66.246.66', 'end': '72.66.246.126'}], 'gateway_ip': '72.66.246.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.66.246.66', 'tags': [], 'project_id': 'd6f640a32613438183ed4fb787b800b1'}} 2025-06-19 17:30:22,139 - INFO - Created VN ctest-vn-92980151 2025-06-19 17:30:22,193 - DEBUG - VN ctest-vn-92980151 UUID is 0048e7f3-d582-4624-9755-311aa07347d1 2025-06-19 17:30:22,313 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-47311242:ctest-vn-25534172, 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-47311242:ctest-vn-92980151, 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-19 17:30:22,622 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dc45bae2-7bed-4ae3-a7bc-9c1df30621da', 'name': 'ctest-vn-25534172', 'tenant_id': 'd6f640a32613438183ed4fb787b800b1', 'project_id': 'd6f640a32613438183ed4fb787b800b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['86be5c93-f484-4888-8876-d002c9df605e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47311242', 'ctest-vn-25534172'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47311242', 'ctest-policy-allow-all-99107822']], 'subnet_ipam': [{'subnet_cidr': '158.91.227.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-19 17:30:22,870 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0048e7f3-d582-4624-9755-311aa07347d1', 'name': 'ctest-vn-92980151', 'tenant_id': 'd6f640a32613438183ed4fb787b800b1', 'project_id': 'd6f640a32613438183ed4fb787b800b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['523bbbfd-d641-48a1-a030-a3c7352bd63a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47311242', 'ctest-vn-92980151'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47311242', 'ctest-policy-allow-all-99107822']], 'subnet_ipam': [{'subnet_cidr': '72.66.246.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-19 17:30:23,041 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-19 17:30:23,338 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-19 17:30:23,370 - DEBUG - Requesting: http://10.0.0.38:8082/domain/344b0948-0657-4767-83b3-b86d48e75eb8 2025-06-19 17:30:23,384 - DEBUG - Requesting: http://10.0.0.38:8082/project/d6f640a3-2613-4381-83ed-4fb787b800b1 2025-06-19 17:30:23,466 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dc45bae2-7bed-4ae3-a7bc-9c1df30621da 2025-06-19 17:30:23,479 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dc45bae2-7bed-4ae3-a7bc-9c1df30621da 2025-06-19 17:30:23,489 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d3d4beba-d976-46dc-9de2-1e71de729adf 2025-06-19 17:30:23,497 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d3d4beba-d976-46dc-9de2-1e71de729adf 2025-06-19 17:30:23,504 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b173c83c-8ed8-406e-b8e1-603d559f97f8 2025-06-19 17:30:23,512 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-19 17:30:23,512 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dc45bae2-7bed-4ae3-a7bc-9c1df30621da 2025-06-19 17:30:23,522 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d3d4beba-d976-46dc-9de2-1e71de729adf 2025-06-19 17:30:23,541 - INFO - Verified VN network id 8 for VN dc45bae2-7bed-4ae3-a7bc-9c1df30621da 2025-06-19 17:30:23,541 - INFO - Verifications in API Server for VN ctest-vn-25534172 passed 2025-06-19 17:30:23,541 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dc45bae2-7bed-4ae3-a7bc-9c1df30621da 2025-06-19 17:30:23,552 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d3d4beba-d976-46dc-9de2-1e71de729adf 2025-06-19 17:30:23,560 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d3d4beba-d976-46dc-9de2-1e71de729adf 2025-06-19 17:30:23,567 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b173c83c-8ed8-406e-b8e1-603d559f97f8 2025-06-19 17:30:23,580 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47311242:ctest-vn-25534172', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47311242', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15872297943641705187', 'uuid-lslong': '12086707152400818650'}, 'enable': 'true', 'created': '2025-06-19T17:30:21', 'last-modified': '2025-06-19T17:30:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.983162'} 2025-06-19 17:30:23,587 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-19 17:30:23,587 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25534172 passed 2025-06-19 17:30:23,587 - DEBUG - ====Verifying policy data for ctest-vn-25534172 in API_Server ====== 2025-06-19 17:30:23,587 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-19 17:30:23,594 - DEBUG - Requesting: http://10.0.0.38:8082/domain/344b0948-0657-4767-83b3-b86d48e75eb8 2025-06-19 17:30:23,606 - DEBUG - Requesting: http://10.0.0.38:8082/project/d6f640a3-2613-4381-83ed-4fb787b800b1 2025-06-19 17:30:23,679 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dc45bae2-7bed-4ae3-a7bc-9c1df30621da 2025-06-19 17:30:23,690 - DEBUG - ==>Verifying data for policy with id: 9109ee87-5712-4ad5-8c95-0971dfd6e9ef, fqn: ['default-domain', 'ctest-TestBasicPolicy-47311242', 'ctest-policy-allow-all-99107822'] 2025-06-19 17:30:23,690 - INFO - VN ctest-vn-25534172 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-19 17:30:23,690 - DEBUG - Verifying the vn in opserver 2025-06-19 17:30:23,690 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47311242:ctest-vn-25534172 virtual network link through opserver 10.0.0.38 2025-06-19 17:30:23,690 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-19 17:30:23,993 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-19 17:30:24,059 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47311242:ctest-vn-25534172', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47311242:ctest-vn-25534172?flat'} 2025-06-19 17:30:24,059 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47311242:ctest-vn-25534172 is found in opserver 2025-06-19 17:30:24,070 - DEBUG - Do not have enough data to verify VN in agent 2025-06-19 17:30:24,076 - DEBUG - VRF ids for VN ctest-vn-25534172: {} 2025-06-19 17:30:24,076 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-19 17:30:24,082 - DEBUG - Requesting: http://10.0.0.38:8082/domain/344b0948-0657-4767-83b3-b86d48e75eb8 2025-06-19 17:30:24,095 - DEBUG - Requesting: http://10.0.0.38:8082/project/d6f640a3-2613-4381-83ed-4fb787b800b1 2025-06-19 17:30:24,175 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0048e7f3-d582-4624-9755-311aa07347d1 2025-06-19 17:30:24,190 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0048e7f3-d582-4624-9755-311aa07347d1 2025-06-19 17:30:24,202 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0f3c4beb-3dc2-486a-bf9f-da6e1c0df529 2025-06-19 17:30:24,211 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0f3c4beb-3dc2-486a-bf9f-da6e1c0df529 2025-06-19 17:30:24,218 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d1aefefd-1d9a-425d-ae9b-b8f990749c95 2025-06-19 17:30:24,227 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-19 17:30:24,227 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0048e7f3-d582-4624-9755-311aa07347d1 2025-06-19 17:30:24,237 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0f3c4beb-3dc2-486a-bf9f-da6e1c0df529 2025-06-19 17:30:24,254 - INFO - Verified VN network id 9 for VN 0048e7f3-d582-4624-9755-311aa07347d1 2025-06-19 17:30:24,254 - INFO - Verifications in API Server for VN ctest-vn-92980151 passed 2025-06-19 17:30:24,255 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0048e7f3-d582-4624-9755-311aa07347d1 2025-06-19 17:30:24,266 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0f3c4beb-3dc2-486a-bf9f-da6e1c0df529 2025-06-19 17:30:24,276 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0f3c4beb-3dc2-486a-bf9f-da6e1c0df529 2025-06-19 17:30:24,284 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d1aefefd-1d9a-425d-ae9b-b8f990749c95 2025-06-19 17:30:24,297 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47311242:ctest-vn-92980151', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47311242', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '20521232768321060', 'uuid-lslong': '10904676063178344401'}, 'enable': 'true', 'created': '2025-06-19T17:30:21', 'last-modified': '2025-06-19T17:30:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.449316'} 2025-06-19 17:30:24,304 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-19 17:30:24,304 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92980151 passed 2025-06-19 17:30:24,304 - DEBUG - ====Verifying policy data for ctest-vn-92980151 in API_Server ====== 2025-06-19 17:30:24,304 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-19 17:30:24,311 - DEBUG - Requesting: http://10.0.0.38:8082/domain/344b0948-0657-4767-83b3-b86d48e75eb8 2025-06-19 17:30:24,324 - DEBUG - Requesting: http://10.0.0.38:8082/project/d6f640a3-2613-4381-83ed-4fb787b800b1 2025-06-19 17:30:24,399 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0048e7f3-d582-4624-9755-311aa07347d1 2025-06-19 17:30:24,411 - DEBUG - ==>Verifying data for policy with id: 9109ee87-5712-4ad5-8c95-0971dfd6e9ef, fqn: ['default-domain', 'ctest-TestBasicPolicy-47311242', 'ctest-policy-allow-all-99107822'] 2025-06-19 17:30:24,411 - INFO - VN ctest-vn-92980151 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-19 17:30:24,411 - DEBUG - Verifying the vn in opserver 2025-06-19 17:30:24,411 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47311242:ctest-vn-92980151 virtual network link through opserver 10.0.0.38 2025-06-19 17:30:24,411 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-19 17:30:24,423 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47311242:ctest-vn-92980151', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47311242:ctest-vn-92980151?flat'} 2025-06-19 17:30:24,423 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47311242:ctest-vn-92980151 is found in opserver 2025-06-19 17:30:24,434 - DEBUG - Do not have enough data to verify VN in agent 2025-06-19 17:30:24,439 - DEBUG - VRF ids for VN ctest-vn-92980151: {} 2025-06-19 17:30:24,497 - DEBUG - Services list from nova: [, , ] 2025-06-19 17:30:25,516 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3498-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3498-1) 2025-06-19 17:30:26,782 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3498-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3498-1) 2025-06-19 17:30:26,782 - INFO - Waiting for VM ctest-TestBasicPolicy-47311242-37160156 to be up.. 2025-06-19 17:30:26,862 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-19 17:30:31,950 - DEBUG - VM is in ACTIVE state now 2025-06-19 17:30:31,950 - INFO - VM name : ctest-TestBasicPolicy-47311242-37160156 2025-06-19 17:30:32,036 - DEBUG - VM ctest-TestBasicPolicy-47311242-37160156 ID is befc6354-5471-4b7b-abea-c6767cf623b3 2025-06-19 17:30:32,056 - DEBUG - VM ctest-TestBasicPolicy-47311242-37160156 launched on Node cn-jenkins-deploy-platform-ansible-os-3498-1 2025-06-19 17:30:32,134 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/befc6354-5471-4b7b-abea-c6767cf623b3 2025-06-19 17:30:32,144 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d5e035dc-256f-4d83-9d37-94f1d40c9be7 2025-06-19 17:30:35,391 - 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 1003ms') 2025-06-19 17:30:35,391 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47311242-37160156 failed! 2025-06-19 17:30:35,449 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-47311242:ctest-vn-25534172 is 158.91.227.193 and allocation pool is NOT set 2025-06-19 17:30:37,509 - 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.40 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.941 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.941/5.171/9.401/4.230 ms') 2025-06-19 17:30:37,510 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47311242-37160156 passed 2025-06-19 17:30:37,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 17:30:37,661 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47311242-37160156, IP 158.91.227.195, Port 22 2025-06-19 17:30:37,813 - DEBUG - VM ctest-TestBasicPolicy-47311242-37160156 is ready for SSH connections 2025-06-19 17:30:37,813 - INFO - Waiting for VM ctest-TestBasicPolicy-47311242-41795777 to be up.. 2025-06-19 17:30:37,899 - DEBUG - VM is in ACTIVE state now 2025-06-19 17:30:37,899 - INFO - VM name : ctest-TestBasicPolicy-47311242-41795777 2025-06-19 17:30:37,983 - DEBUG - VM ctest-TestBasicPolicy-47311242-41795777 ID is 2ead9308-21e6-481c-97cc-ad721fc4832c 2025-06-19 17:30:37,983 - DEBUG - VM ctest-TestBasicPolicy-47311242-41795777 launched on Node cn-jenkins-deploy-platform-ansible-os-3498-1 2025-06-19 17:30:38,067 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2ead9308-21e6-481c-97cc-ad721fc4832c 2025-06-19 17:30:38,076 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/32161692-d43c-414e-82be-e2b87ade5b1d 2025-06-19 17:30:39,319 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.396 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.396/1.573/2.750/1.177 ms') 2025-06-19 17:30:39,319 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-47311242-41795777 passed 2025-06-19 17:30:39,477 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 17:30:39,477 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47311242-41795777, IP 72.66.246.67, Port 22 2025-06-19 17:30:39,637 - DEBUG - VM ctest-TestBasicPolicy-47311242-41795777 is ready for SSH connections 2025-06-19 17:30:39,637 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 17:30:39,637 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.66.246.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-19 17:30:39,637 - DEBUG - ping -s 56 -c 3 -W 1 72.66.246.67 2025-06-19 17:30:43,297 - DEBUG - PING 72.66.246.67 (72.66.246.67): 56 data bytes 64 bytes from 72.66.246.67: seq=0 ttl=63 time=3.234 ms 64 bytes from 72.66.246.67: seq=1 ttl=63 time=1.098 ms 64 bytes from 72.66.246.67: seq=2 ttl=63 time=0.901 ms --- 72.66.246.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.901/1.744/3.234 ms 2025-06-19 17:30:43,297 - INFO - Ping to IP 72.66.246.67 from VM ctest-TestBasicPolicy-47311242-37160156 passed 2025-06-19 17:30:43,549 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9109ee87-5712-4ad5-8c95-0971dfd6e9ef", "href": "http://10.0.0.38:8082/network-policy/9109ee87-5712-4ad5-8c95-0971dfd6e9ef"}} 2025-06-19 17:30:43,549 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 17:30:43,549 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.66.246.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-19 17:30:43,549 - DEBUG - ping -s 56 -c 3 -W 1 72.66.246.67 2025-06-19 17:30:46,758 - DEBUG - PING 72.66.246.67 (72.66.246.67): 56 data bytes --- 72.66.246.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-19 17:30:46,758 - WARNING - Ping to IP 72.66.246.67 from VM ctest-TestBasicPolicy-47311242-37160156 failed 2025-06-19 17:30:46,758 - INFO - Deleting VM ctest-TestBasicPolicy-47311242-41795777 2025-06-19 17:30:46,828 - INFO - Deleting VM ctest-TestBasicPolicy-47311242-37160156 2025-06-19 17:30:47,257 - INFO - Deleted policy ctest-policy-allow-all-99107822 2025-06-19 17:30:47,258 - INFO - Deleting VN ctest-vn-92980151 2025-06-19 17:30:47,295 - DEBUG - VN 0048e7f3-d582-4624-9755-311aa07347d1 still in use: Unable to complete operation on network 0048e7f3-d582-4624-9755-311aa07347d1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bd4e2247-ccca-4138-b752-5dc7305dd614'] 2025-06-19 17:30:47,295 - WARNING - Deleting VN ctest-vn-92980151 failed..Will retry 2025-06-19 17:30:49,401 - DEBUG - Response for deleting network () 2025-06-19 17:30:49,401 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0f3c4beb-3dc2-486a-bf9f-da6e1c0df529 2025-06-19 17:30:49,407 - DEBUG - Response Code: 404 2025-06-19 17:30:49,407 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-19 17:30:49,414 - DEBUG - Requesting: http://10.0.0.38:8082/domain/344b0948-0657-4767-83b3-b86d48e75eb8 2025-06-19 17:30:49,468 - DEBUG - Requesting: http://10.0.0.38:8082/project/d6f640a3-2613-4381-83ed-4fb787b800b1 2025-06-19 17:30:49,538 - INFO - Validated that VN ctest-vn-92980151 is not found in API Server 2025-06-19 17:30:49,549 - DEBUG - VN ctest-vn-92980151 is not present in Agent 10.0.0.38 2025-06-19 17:30:49,549 - INFO - Validated that VN ctest-vn-92980151 is not in any agent 2025-06-19 17:30:49,567 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92980151 info 2025-06-19 17:30:49,567 - INFO - Deleting VN ctest-vn-25534172 2025-06-19 17:30:49,683 - DEBUG - Response for deleting network () 2025-06-19 17:30:49,683 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d3d4beba-d976-46dc-9de2-1e71de729adf 2025-06-19 17:30:49,690 - DEBUG - Response Code: 404 2025-06-19 17:30:49,691 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-19 17:30:49,697 - DEBUG - Requesting: http://10.0.0.38:8082/domain/344b0948-0657-4767-83b3-b86d48e75eb8 2025-06-19 17:30:49,754 - DEBUG - Requesting: http://10.0.0.38:8082/project/d6f640a3-2613-4381-83ed-4fb787b800b1 2025-06-19 17:30:49,827 - INFO - Validated that VN ctest-vn-25534172 is not found in API Server 2025-06-19 17:30:49,838 - DEBUG - VN ctest-vn-25534172 is not present in Agent 10.0.0.38 2025-06-19 17:30:49,838 - INFO - Validated that VN ctest-vn-25534172 is not in any agent 2025-06-19 17:30:49,855 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25534172 info 2025-06-19 17:30:50,111 - DEBUG - No XMPP flaps were noticed during the test 2025-06-19 17:30:50,111 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-19 17:30:50,112 - INFO - -------------------------------------------------------------------------------- 2025-06-19 17:30:50,794 - INFO - Deleted project: ctest-TestBasicPolicy-47311242, ID : d6f640a3-2613-4381-83ed-4fb787b800b1