2025-06-26 23:09:36,811 - INFO - Domain Default found not creating 2025-06-26 23:09:36,960 - INFO - Project ctest-TestBasicPolicy-95913716 not found, creating it 2025-06-26 23:09:37,407 - INFO - Created Project:ctest-TestBasicPolicy-95913716, ID : c84476b8-7191-4f26-9466-99e6ffd777c1 2025-06-26 23:09:38,813 - INFO - ================================================================================ 2025-06-26 23:09:38,813 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-26 23:09:38,813 - 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-26 23:09:39,067 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-06-26 23:09:39,068 - INFO - Initial checks done. Running the testcase now 2025-06-26 23:09:39,068 - INFO - 2025-06-26 23:09:39,621 - DEBUG - Response for create_network : {'network': {'id': 'e277f785-774f-459e-97f3-3a7a87493b46', 'name': 'ctest-vn-24636239', 'tenant_id': 'c84476b871914f26946699e6ffd777c1', 'project_id': 'c84476b871914f26946699e6ffd777c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95913716', 'ctest-vn-24636239'], 'port_security_enabled': True, 'description': ''}} 2025-06-26 23:09:39,839 - DEBUG - Response for create_subnet : {'subnet': {'id': '712b8ded-f3ec-4543-95e8-8b056be82843', 'name': '', 'tenant_id': 'c84476b871914f26946699e6ffd777c1', 'network_id': 'e277f785-774f-459e-97f3-3a7a87493b46', 'ip_version': 4, 'cidr': '111.19.36.128/26', 'allocation_pools': [{'start': '111.19.36.130', 'end': '111.19.36.190'}], 'gateway_ip': '111.19.36.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.19.36.130', 'tags': [], 'project_id': 'c84476b871914f26946699e6ffd777c1'}} 2025-06-26 23:09:39,855 - INFO - Created VN ctest-vn-24636239 2025-06-26 23:09:39,906 - DEBUG - VN ctest-vn-24636239 UUID is e277f785-774f-459e-97f3-3a7a87493b46 2025-06-26 23:09:40,203 - DEBUG - Response for create_network : {'network': {'id': 'c331ded3-8255-4336-9068-fd51935b209a', 'name': 'ctest-vn-11418574', 'tenant_id': 'c84476b871914f26946699e6ffd777c1', 'project_id': 'c84476b871914f26946699e6ffd777c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95913716', 'ctest-vn-11418574'], 'port_security_enabled': True, 'description': ''}} 2025-06-26 23:09:40,413 - DEBUG - Response for create_subnet : {'subnet': {'id': '39882297-2c3b-4e26-a828-93a7a98fa4a5', 'name': '', 'tenant_id': 'c84476b871914f26946699e6ffd777c1', 'network_id': 'c331ded3-8255-4336-9068-fd51935b209a', 'ip_version': 4, 'cidr': '65.68.237.192/26', 'allocation_pools': [{'start': '65.68.237.194', 'end': '65.68.237.254'}], 'gateway_ip': '65.68.237.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.68.237.194', 'tags': [], 'project_id': 'c84476b871914f26946699e6ffd777c1'}} 2025-06-26 23:09:40,431 - INFO - Created VN ctest-vn-11418574 2025-06-26 23:09:40,482 - DEBUG - VN ctest-vn-11418574 UUID is c331ded3-8255-4336-9068-fd51935b209a 2025-06-26 23:09:40,597 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-95913716:ctest-vn-24636239, 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-95913716:ctest-vn-11418574, 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-26 23:09:40,900 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e277f785-774f-459e-97f3-3a7a87493b46', 'name': 'ctest-vn-24636239', 'tenant_id': 'c84476b871914f26946699e6ffd777c1', 'project_id': 'c84476b871914f26946699e6ffd777c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['712b8ded-f3ec-4543-95e8-8b056be82843'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95913716', 'ctest-vn-24636239'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95913716', 'ctest-policy-allow-all-71288264']], 'subnet_ipam': [{'subnet_cidr': '111.19.36.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-26 23:09:41,183 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c331ded3-8255-4336-9068-fd51935b209a', 'name': 'ctest-vn-11418574', 'tenant_id': 'c84476b871914f26946699e6ffd777c1', 'project_id': 'c84476b871914f26946699e6ffd777c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['39882297-2c3b-4e26-a828-93a7a98fa4a5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95913716', 'ctest-vn-11418574'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95913716', 'ctest-policy-allow-all-71288264']], 'subnet_ipam': [{'subnet_cidr': '65.68.237.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-26 23:09:41,342 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-26 23:09:41,644 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-26 23:09:41,676 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8b7b4f77-64c7-4c51-9ca3-7b5819ec7e53 2025-06-26 23:09:41,693 - DEBUG - Requesting: http://10.0.0.38:8082/project/c84476b8-7191-4f26-9466-99e6ffd777c1 2025-06-26 23:09:41,771 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e277f785-774f-459e-97f3-3a7a87493b46 2025-06-26 23:09:41,785 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e277f785-774f-459e-97f3-3a7a87493b46 2025-06-26 23:09:41,798 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cd2b7cf7-da50-488b-b359-4ad2cb902023 2025-06-26 23:09:41,806 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cd2b7cf7-da50-488b-b359-4ad2cb902023 2025-06-26 23:09:41,814 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/61fbab14-39c1-4c61-9f3d-ea2428ee4a93 2025-06-26 23:09:41,821 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-26 23:09:41,821 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e277f785-774f-459e-97f3-3a7a87493b46 2025-06-26 23:09:41,831 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cd2b7cf7-da50-488b-b359-4ad2cb902023 2025-06-26 23:09:41,846 - INFO - Verified VN network id 8 for VN e277f785-774f-459e-97f3-3a7a87493b46 2025-06-26 23:09:41,847 - INFO - Verifications in API Server for VN ctest-vn-24636239 passed 2025-06-26 23:09:41,847 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e277f785-774f-459e-97f3-3a7a87493b46 2025-06-26 23:09:41,858 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cd2b7cf7-da50-488b-b359-4ad2cb902023 2025-06-26 23:09:41,866 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cd2b7cf7-da50-488b-b359-4ad2cb902023 2025-06-26 23:09:41,874 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/61fbab14-39c1-4c61-9f3d-ea2428ee4a93 2025-06-26 23:09:41,890 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95913716:ctest-vn-24636239', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95913716', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16318783927404676510', 'uuid-lslong': '10949159416997952326'}, 'enable': 'true', 'created': '2025-06-26T23:09:39', 'last-modified': '2025-06-26T23:09:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.016714'} 2025-06-26 23:09:41,899 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-26 23:09:41,899 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24636239 passed 2025-06-26 23:09:41,900 - DEBUG - ====Verifying policy data for ctest-vn-24636239 in API_Server ====== 2025-06-26 23:09:41,900 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-26 23:09:41,906 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8b7b4f77-64c7-4c51-9ca3-7b5819ec7e53 2025-06-26 23:09:41,919 - DEBUG - Requesting: http://10.0.0.38:8082/project/c84476b8-7191-4f26-9466-99e6ffd777c1 2025-06-26 23:09:41,996 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e277f785-774f-459e-97f3-3a7a87493b46 2025-06-26 23:09:42,006 - DEBUG - ==>Verifying data for policy with id: a98cfe03-8d4d-4015-a3ad-e96914caa273, fqn: ['default-domain', 'ctest-TestBasicPolicy-95913716', 'ctest-policy-allow-all-71288264'] 2025-06-26 23:09:42,006 - INFO - VN ctest-vn-24636239 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-26 23:09:42,006 - DEBUG - Verifying the vn in opserver 2025-06-26 23:09:42,006 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95913716:ctest-vn-24636239 virtual network link through opserver 10.0.0.38 2025-06-26 23:09:42,007 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-26 23:09:42,300 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-26 23:09:42,353 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95913716:ctest-vn-24636239', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95913716:ctest-vn-24636239?flat'} 2025-06-26 23:09:42,353 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95913716:ctest-vn-24636239 is found in opserver 2025-06-26 23:09:42,363 - DEBUG - Do not have enough data to verify VN in agent 2025-06-26 23:09:42,368 - DEBUG - VRF ids for VN ctest-vn-24636239: {} 2025-06-26 23:09:42,368 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-26 23:09:42,375 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8b7b4f77-64c7-4c51-9ca3-7b5819ec7e53 2025-06-26 23:09:42,386 - DEBUG - Requesting: http://10.0.0.38:8082/project/c84476b8-7191-4f26-9466-99e6ffd777c1 2025-06-26 23:09:42,457 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c331ded3-8255-4336-9068-fd51935b209a 2025-06-26 23:09:42,469 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c331ded3-8255-4336-9068-fd51935b209a 2025-06-26 23:09:42,479 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/89d4050a-c904-4b88-ad30-3256f0d62291 2025-06-26 23:09:42,488 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/89d4050a-c904-4b88-ad30-3256f0d62291 2025-06-26 23:09:42,495 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/16f6fc42-b66d-4fdc-880d-6d0de0b6cb6c 2025-06-26 23:09:42,502 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-26 23:09:42,502 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c331ded3-8255-4336-9068-fd51935b209a 2025-06-26 23:09:42,511 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/89d4050a-c904-4b88-ad30-3256f0d62291 2025-06-26 23:09:42,525 - INFO - Verified VN network id 9 for VN c331ded3-8255-4336-9068-fd51935b209a 2025-06-26 23:09:42,525 - INFO - Verifications in API Server for VN ctest-vn-11418574 passed 2025-06-26 23:09:42,525 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c331ded3-8255-4336-9068-fd51935b209a 2025-06-26 23:09:42,535 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/89d4050a-c904-4b88-ad30-3256f0d62291 2025-06-26 23:09:42,542 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/89d4050a-c904-4b88-ad30-3256f0d62291 2025-06-26 23:09:42,551 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/16f6fc42-b66d-4fdc-880d-6d0de0b6cb6c 2025-06-26 23:09:42,565 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95913716:ctest-vn-11418574', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95913716', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14065268111260861238', 'uuid-lslong': '10405845465845932186'}, 'enable': 'true', 'created': '2025-06-26T23:09:40', 'last-modified': '2025-06-26T23:09:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.452369'} 2025-06-26 23:09:42,571 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-26 23:09:42,571 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11418574 passed 2025-06-26 23:09:42,571 - DEBUG - ====Verifying policy data for ctest-vn-11418574 in API_Server ====== 2025-06-26 23:09:42,571 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-26 23:09:42,576 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8b7b4f77-64c7-4c51-9ca3-7b5819ec7e53 2025-06-26 23:09:42,588 - DEBUG - Requesting: http://10.0.0.38:8082/project/c84476b8-7191-4f26-9466-99e6ffd777c1 2025-06-26 23:09:42,663 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c331ded3-8255-4336-9068-fd51935b209a 2025-06-26 23:09:42,673 - DEBUG - ==>Verifying data for policy with id: a98cfe03-8d4d-4015-a3ad-e96914caa273, fqn: ['default-domain', 'ctest-TestBasicPolicy-95913716', 'ctest-policy-allow-all-71288264'] 2025-06-26 23:09:42,673 - INFO - VN ctest-vn-11418574 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-26 23:09:42,673 - DEBUG - Verifying the vn in opserver 2025-06-26 23:09:42,673 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95913716:ctest-vn-11418574 virtual network link through opserver 10.0.0.38 2025-06-26 23:09:42,673 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-26 23:09:42,685 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95913716:ctest-vn-11418574', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95913716:ctest-vn-11418574?flat'} 2025-06-26 23:09:42,685 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95913716:ctest-vn-11418574 is found in opserver 2025-06-26 23:09:42,696 - DEBUG - Do not have enough data to verify VN in agent 2025-06-26 23:09:42,701 - DEBUG - VRF ids for VN ctest-vn-11418574: {} 2025-06-26 23:09:42,764 - DEBUG - Services list from nova: [, , ] 2025-06-26 23:09:43,764 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3564-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3564-1) 2025-06-26 23:09:45,016 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3564-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3564-1) 2025-06-26 23:09:45,017 - INFO - Waiting for VM ctest-TestBasicPolicy-95913716-42880202 to be up.. 2025-06-26 23:09:45,113 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-26 23:09:50,187 - DEBUG - VM is in ACTIVE state now 2025-06-26 23:09:50,187 - INFO - VM name : ctest-TestBasicPolicy-95913716-42880202 2025-06-26 23:09:50,259 - DEBUG - VM ctest-TestBasicPolicy-95913716-42880202 ID is 60cde1bb-7852-424d-b08f-fb43ac6a322d 2025-06-26 23:09:50,277 - DEBUG - VM ctest-TestBasicPolicy-95913716-42880202 launched on Node cn-jenkins-deploy-platform-ansible-os-3564-1 2025-06-26 23:09:50,352 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/60cde1bb-7852-424d-b08f-fb43ac6a322d 2025-06-26 23:09:50,361 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/10c7e905-fc9b-4bf3-abb8-0c00bd660d6d 2025-06-26 23:09:53,610 - 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 1007ms') 2025-06-26 23:09:53,610 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95913716-42880202 failed! 2025-06-26 23:09:53,666 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95913716:ctest-vn-24636239 is 111.19.36.129 and allocation pool is NOT set 2025-06-26 23:09:55,724 - 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=3.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.422 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.422/2.137/3.852/1.715 ms') 2025-06-26 23:09:55,724 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95913716-42880202 passed 2025-06-26 23:09:55,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 23:09:55,882 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95913716-42880202, IP 111.19.36.131, Port 22 2025-06-26 23:09:56,038 - DEBUG - VM ctest-TestBasicPolicy-95913716-42880202 is ready for SSH connections 2025-06-26 23:09:56,038 - INFO - Waiting for VM ctest-TestBasicPolicy-95913716-44196595 to be up.. 2025-06-26 23:09:56,118 - DEBUG - VM is in ACTIVE state now 2025-06-26 23:09:56,118 - INFO - VM name : ctest-TestBasicPolicy-95913716-44196595 2025-06-26 23:09:56,191 - DEBUG - VM ctest-TestBasicPolicy-95913716-44196595 ID is 3bb69771-1b6e-4635-ae11-ada873237467 2025-06-26 23:09:56,191 - DEBUG - VM ctest-TestBasicPolicy-95913716-44196595 launched on Node cn-jenkins-deploy-platform-ansible-os-3564-1 2025-06-26 23:09:56,262 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3bb69771-1b6e-4635-ae11-ada873237467 2025-06-26 23:09:56,272 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f92d1886-3dca-4ba1-8343-67c184876986 2025-06-26 23:09:57,514 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.400 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.400/1.586/2.772/1.186 ms') 2025-06-26 23:09:57,514 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-95913716-44196595 passed 2025-06-26 23:09:57,670 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 23:09:57,670 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95913716-44196595, IP 65.68.237.195, Port 22 2025-06-26 23:09:57,836 - DEBUG - VM ctest-TestBasicPolicy-95913716-44196595 is ready for SSH connections 2025-06-26 23:09:57,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 23:09:57,836 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.68.237.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-26 23:09:57,836 - DEBUG - ping -s 56 -c 3 -W 1 65.68.237.195 2025-06-26 23:10:01,820 - DEBUG - PING 65.68.237.195 (65.68.237.195): 56 data bytes 64 bytes from 65.68.237.195: seq=0 ttl=63 time=3.195 ms 64 bytes from 65.68.237.195: seq=1 ttl=63 time=0.760 ms 64 bytes from 65.68.237.195: seq=2 ttl=63 time=1.048 ms --- 65.68.237.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.760/1.667/3.195 ms 2025-06-26 23:10:01,820 - INFO - Ping to IP 65.68.237.195 from VM ctest-TestBasicPolicy-95913716-42880202 passed 2025-06-26 23:10:02,017 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a98cfe03-8d4d-4015-a3ad-e96914caa273", "href": "http://10.0.0.38:8082/network-policy/a98cfe03-8d4d-4015-a3ad-e96914caa273"}} 2025-06-26 23:10:02,018 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 23:10:02,018 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.68.237.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-26 23:10:02,018 - DEBUG - ping -s 56 -c 3 -W 1 65.68.237.195 2025-06-26 23:10:05,238 - DEBUG - PING 65.68.237.195 (65.68.237.195): 56 data bytes --- 65.68.237.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-26 23:10:05,238 - WARNING - Ping to IP 65.68.237.195 from VM ctest-TestBasicPolicy-95913716-42880202 failed 2025-06-26 23:10:05,239 - INFO - Deleting VM ctest-TestBasicPolicy-95913716-44196595 2025-06-26 23:10:05,300 - INFO - Deleting VM ctest-TestBasicPolicy-95913716-42880202 2025-06-26 23:10:05,675 - INFO - Deleted policy ctest-policy-allow-all-71288264 2025-06-26 23:10:05,675 - INFO - Deleting VN ctest-vn-11418574 2025-06-26 23:10:05,716 - DEBUG - VN c331ded3-8255-4336-9068-fd51935b209a still in use: Unable to complete operation on network c331ded3-8255-4336-9068-fd51935b209a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-004da7bf-8783-43e2-9a69-0c8ab8446105'] 2025-06-26 23:10:05,716 - WARNING - Deleting VN ctest-vn-11418574 failed..Will retry 2025-06-26 23:10:07,818 - DEBUG - Response for deleting network () 2025-06-26 23:10:07,818 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/89d4050a-c904-4b88-ad30-3256f0d62291 2025-06-26 23:10:07,827 - DEBUG - Response Code: 404 2025-06-26 23:10:07,827 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-26 23:10:07,833 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8b7b4f77-64c7-4c51-9ca3-7b5819ec7e53 2025-06-26 23:10:07,888 - DEBUG - Requesting: http://10.0.0.38:8082/project/c84476b8-7191-4f26-9466-99e6ffd777c1 2025-06-26 23:10:07,963 - INFO - Validated that VN ctest-vn-11418574 is not found in API Server 2025-06-26 23:10:07,973 - DEBUG - VN ctest-vn-11418574 is not present in Agent 10.0.0.38 2025-06-26 23:10:07,973 - INFO - Validated that VN ctest-vn-11418574 is not in any agent 2025-06-26 23:10:07,989 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11418574 info 2025-06-26 23:10:07,989 - INFO - Deleting VN ctest-vn-24636239 2025-06-26 23:10:08,118 - DEBUG - Response for deleting network () 2025-06-26 23:10:08,118 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cd2b7cf7-da50-488b-b359-4ad2cb902023 2025-06-26 23:10:08,124 - DEBUG - Response Code: 404 2025-06-26 23:10:08,125 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-26 23:10:08,130 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8b7b4f77-64c7-4c51-9ca3-7b5819ec7e53 2025-06-26 23:10:08,188 - DEBUG - Requesting: http://10.0.0.38:8082/project/c84476b8-7191-4f26-9466-99e6ffd777c1 2025-06-26 23:10:08,261 - INFO - Validated that VN ctest-vn-24636239 is not found in API Server 2025-06-26 23:10:08,273 - DEBUG - VN ctest-vn-24636239 is not present in Agent 10.0.0.38 2025-06-26 23:10:08,273 - INFO - Validated that VN ctest-vn-24636239 is not in any agent 2025-06-26 23:10:08,289 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24636239 info 2025-06-26 23:10:08,549 - DEBUG - No XMPP flaps were noticed during the test 2025-06-26 23:10:08,549 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-26 23:10:08,549 - INFO - -------------------------------------------------------------------------------- 2025-06-26 23:10:09,216 - INFO - Deleted project: ctest-TestBasicPolicy-95913716, ID : c84476b8-7191-4f26-9466-99e6ffd777c1