2025-08-11 10:01:29,742 - INFO - Domain Default found not creating 2025-08-11 10:01:29,886 - INFO - Project ctest-TestBasicPolicy-68214159 not found, creating it 2025-08-11 10:01:30,336 - INFO - Created Project:ctest-TestBasicPolicy-68214159, ID : e524bd02-c990-4698-89ff-60ac260062a3 2025-08-11 10:01:31,819 - INFO - ================================================================================ 2025-08-11 10:01:31,819 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-11 10:01:31,819 - 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-08-11 10:01:32,083 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-11 10:01:32,083 - INFO - Initial checks done. Running the testcase now 2025-08-11 10:01:32,083 - INFO - 2025-08-11 10:01:32,654 - DEBUG - Response for create_network : {'network': {'id': 'c8c4b4af-6f1c-4d73-a630-60514af2d1d3', 'name': 'ctest-vn-59076364', 'tenant_id': 'e524bd02c990469889ff60ac260062a3', 'project_id': 'e524bd02c990469889ff60ac260062a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68214159', 'ctest-vn-59076364'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 10:01:32,834 - DEBUG - Response for create_subnet : {'subnet': {'id': '51ef8cc7-6e06-4472-a878-44a381842233', 'name': '', 'tenant_id': 'e524bd02c990469889ff60ac260062a3', 'network_id': 'c8c4b4af-6f1c-4d73-a630-60514af2d1d3', 'ip_version': 4, 'cidr': '47.56.92.0/26', 'allocation_pools': [{'start': '47.56.92.2', 'end': '47.56.92.62'}], 'gateway_ip': '47.56.92.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.56.92.2', 'tags': [], 'project_id': 'e524bd02c990469889ff60ac260062a3'}} 2025-08-11 10:01:32,853 - INFO - Created VN ctest-vn-59076364 2025-08-11 10:01:32,905 - DEBUG - VN ctest-vn-59076364 UUID is c8c4b4af-6f1c-4d73-a630-60514af2d1d3 2025-08-11 10:01:33,235 - DEBUG - Response for create_network : {'network': {'id': '82365bfc-ae7b-459d-95ef-47362b49aee2', 'name': 'ctest-vn-36203276', 'tenant_id': 'e524bd02c990469889ff60ac260062a3', 'project_id': 'e524bd02c990469889ff60ac260062a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68214159', 'ctest-vn-36203276'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 10:01:33,401 - DEBUG - Response for create_subnet : {'subnet': {'id': '6c5b79f5-8aba-4fa7-81c8-e50b8594d117', 'name': '', 'tenant_id': 'e524bd02c990469889ff60ac260062a3', 'network_id': '82365bfc-ae7b-459d-95ef-47362b49aee2', 'ip_version': 4, 'cidr': '124.62.26.0/26', 'allocation_pools': [{'start': '124.62.26.2', 'end': '124.62.26.62'}], 'gateway_ip': '124.62.26.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.62.26.2', 'tags': [], 'project_id': 'e524bd02c990469889ff60ac260062a3'}} 2025-08-11 10:01:33,418 - INFO - Created VN ctest-vn-36203276 2025-08-11 10:01:33,469 - DEBUG - VN ctest-vn-36203276 UUID is 82365bfc-ae7b-459d-95ef-47362b49aee2 2025-08-11 10:01:33,583 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-68214159:ctest-vn-59076364, 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-68214159:ctest-vn-36203276, 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-08-11 10:01:33,887 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c8c4b4af-6f1c-4d73-a630-60514af2d1d3', 'name': 'ctest-vn-59076364', 'tenant_id': 'e524bd02c990469889ff60ac260062a3', 'project_id': 'e524bd02c990469889ff60ac260062a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['51ef8cc7-6e06-4472-a878-44a381842233'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68214159', 'ctest-vn-59076364'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68214159', 'ctest-policy-allow-all-40365348']], 'subnet_ipam': [{'subnet_cidr': '47.56.92.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 10:01:34,118 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '82365bfc-ae7b-459d-95ef-47362b49aee2', 'name': 'ctest-vn-36203276', 'tenant_id': 'e524bd02c990469889ff60ac260062a3', 'project_id': 'e524bd02c990469889ff60ac260062a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6c5b79f5-8aba-4fa7-81c8-e50b8594d117'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68214159', 'ctest-vn-36203276'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68214159', 'ctest-policy-allow-all-40365348']], 'subnet_ipam': [{'subnet_cidr': '124.62.26.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 10:01:34,265 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-11 10:01:34,600 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-11 10:01:34,628 - DEBUG - Requesting: http://10.0.0.50:8082/domain/33249967-bcb4-4792-94ad-4a9762a2fd1e 2025-08-11 10:01:34,642 - DEBUG - Requesting: http://10.0.0.50:8082/project/e524bd02-c990-4698-89ff-60ac260062a3 2025-08-11 10:01:34,715 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c8c4b4af-6f1c-4d73-a630-60514af2d1d3 2025-08-11 10:01:34,726 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c8c4b4af-6f1c-4d73-a630-60514af2d1d3 2025-08-11 10:01:34,737 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/23a26759-8ae6-47aa-80c5-afa78b8527f6 2025-08-11 10:01:34,745 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/23a26759-8ae6-47aa-80c5-afa78b8527f6 2025-08-11 10:01:34,752 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9787082b-3227-49b5-b29b-7a5dc6be6954 2025-08-11 10:01:34,758 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 10:01:34,758 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c8c4b4af-6f1c-4d73-a630-60514af2d1d3 2025-08-11 10:01:34,767 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/23a26759-8ae6-47aa-80c5-afa78b8527f6 2025-08-11 10:01:34,781 - INFO - Verified VN network id 12 for VN c8c4b4af-6f1c-4d73-a630-60514af2d1d3 2025-08-11 10:01:34,781 - INFO - Verifications in API Server for VN ctest-vn-59076364 passed 2025-08-11 10:01:34,781 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c8c4b4af-6f1c-4d73-a630-60514af2d1d3 2025-08-11 10:01:34,790 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/23a26759-8ae6-47aa-80c5-afa78b8527f6 2025-08-11 10:01:34,797 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/23a26759-8ae6-47aa-80c5-afa78b8527f6 2025-08-11 10:01:34,803 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9787082b-3227-49b5-b29b-7a5dc6be6954 2025-08-11 10:01:34,816 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68214159:ctest-vn-59076364', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68214159', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14466886568597278067', 'uuid-lslong': '11975177311444193747'}, 'enable': 'true', 'created': '2025-08-11T10:01:32', 'last-modified': '2025-08-11T10:01:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.956761'} 2025-08-11 10:01:34,823 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 10:01:34,823 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59076364 passed 2025-08-11 10:01:34,823 - DEBUG - ====Verifying policy data for ctest-vn-59076364 in API_Server ====== 2025-08-11 10:01:34,823 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-11 10:01:34,830 - DEBUG - Requesting: http://10.0.0.50:8082/domain/33249967-bcb4-4792-94ad-4a9762a2fd1e 2025-08-11 10:01:34,844 - DEBUG - Requesting: http://10.0.0.50:8082/project/e524bd02-c990-4698-89ff-60ac260062a3 2025-08-11 10:01:34,922 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c8c4b4af-6f1c-4d73-a630-60514af2d1d3 2025-08-11 10:01:34,931 - DEBUG - ==>Verifying data for policy with id: 2ffbc0cf-3099-4ce3-8a95-f193b84ba7ce, fqn: ['default-domain', 'ctest-TestBasicPolicy-68214159', 'ctest-policy-allow-all-40365348'] 2025-08-11 10:01:34,931 - INFO - VN ctest-vn-59076364 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 10:01:34,931 - DEBUG - Verifying the vn in opserver 2025-08-11 10:01:34,931 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68214159:ctest-vn-59076364 virtual network link through opserver 10.0.0.50 2025-08-11 10:01:34,932 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-11 10:01:35,265 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-11 10:01:35,366 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68214159:ctest-vn-59076364', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68214159:ctest-vn-59076364?flat'} 2025-08-11 10:01:35,366 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68214159:ctest-vn-59076364 is found in opserver 2025-08-11 10:01:35,379 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 10:01:35,386 - DEBUG - VRF ids for VN ctest-vn-59076364: {} 2025-08-11 10:01:35,386 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-11 10:01:35,424 - DEBUG - Requesting: http://10.0.0.50:8082/domain/33249967-bcb4-4792-94ad-4a9762a2fd1e 2025-08-11 10:01:35,468 - DEBUG - Requesting: http://10.0.0.50:8082/project/e524bd02-c990-4698-89ff-60ac260062a3 2025-08-11 10:01:35,584 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/82365bfc-ae7b-459d-95ef-47362b49aee2 2025-08-11 10:01:35,613 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/82365bfc-ae7b-459d-95ef-47362b49aee2 2025-08-11 10:01:35,631 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/74846baf-7fd3-42ce-a05e-aa64d56ee9ab 2025-08-11 10:01:35,651 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/74846baf-7fd3-42ce-a05e-aa64d56ee9ab 2025-08-11 10:01:35,675 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/48e55c0b-9b00-4c5f-bf1a-40b3f96f1e58 2025-08-11 10:01:35,690 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 10:01:35,690 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/82365bfc-ae7b-459d-95ef-47362b49aee2 2025-08-11 10:01:35,709 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/74846baf-7fd3-42ce-a05e-aa64d56ee9ab 2025-08-11 10:01:35,744 - INFO - Verified VN network id 13 for VN 82365bfc-ae7b-459d-95ef-47362b49aee2 2025-08-11 10:01:35,745 - INFO - Verifications in API Server for VN ctest-vn-36203276 passed 2025-08-11 10:01:35,745 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/82365bfc-ae7b-459d-95ef-47362b49aee2 2025-08-11 10:01:35,762 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/74846baf-7fd3-42ce-a05e-aa64d56ee9ab 2025-08-11 10:01:35,775 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/74846baf-7fd3-42ce-a05e-aa64d56ee9ab 2025-08-11 10:01:35,789 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/48e55c0b-9b00-4c5f-bf1a-40b3f96f1e58 2025-08-11 10:01:35,825 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68214159:ctest-vn-36203276', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68214159', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9382788014490207645', 'uuid-lslong': '10803932329065164514'}, 'enable': 'true', 'created': '2025-08-11T10:01:33', 'last-modified': '2025-08-11T10:01:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.732128'} 2025-08-11 10:01:35,831 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 10:01:35,832 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36203276 passed 2025-08-11 10:01:35,832 - DEBUG - ====Verifying policy data for ctest-vn-36203276 in API_Server ====== 2025-08-11 10:01:35,832 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-11 10:01:35,841 - DEBUG - Requesting: http://10.0.0.50:8082/domain/33249967-bcb4-4792-94ad-4a9762a2fd1e 2025-08-11 10:01:35,928 - DEBUG - Requesting: http://10.0.0.50:8082/project/e524bd02-c990-4698-89ff-60ac260062a3 2025-08-11 10:01:36,048 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/82365bfc-ae7b-459d-95ef-47362b49aee2 2025-08-11 10:01:36,070 - DEBUG - ==>Verifying data for policy with id: 2ffbc0cf-3099-4ce3-8a95-f193b84ba7ce, fqn: ['default-domain', 'ctest-TestBasicPolicy-68214159', 'ctest-policy-allow-all-40365348'] 2025-08-11 10:01:36,070 - INFO - VN ctest-vn-36203276 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 10:01:36,070 - DEBUG - Verifying the vn in opserver 2025-08-11 10:01:36,070 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68214159:ctest-vn-36203276 virtual network link through opserver 10.0.0.50 2025-08-11 10:01:36,070 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-11 10:01:36,085 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68214159:ctest-vn-36203276', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68214159:ctest-vn-36203276?flat'} 2025-08-11 10:01:36,085 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68214159:ctest-vn-36203276 is found in opserver 2025-08-11 10:01:36,104 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 10:01:36,111 - DEBUG - VRF ids for VN ctest-vn-36203276: {} 2025-08-11 10:01:36,176 - DEBUG - Services list from nova: [, , ] 2025-08-11 10:01:37,271 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3801-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3801-1) 2025-08-11 10:01:38,477 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3801-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3801-1) 2025-08-11 10:01:38,477 - INFO - Waiting for VM ctest-TestBasicPolicy-68214159-84460960 to be up.. 2025-08-11 10:01:38,555 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 10:01:43,630 - DEBUG - VM is in ACTIVE state now 2025-08-11 10:01:43,630 - INFO - VM name : ctest-TestBasicPolicy-68214159-84460960 2025-08-11 10:01:43,705 - DEBUG - VM ctest-TestBasicPolicy-68214159-84460960 ID is c555514f-aafd-4690-b0f0-3ef23a32c427 2025-08-11 10:01:43,725 - DEBUG - VM ctest-TestBasicPolicy-68214159-84460960 launched on Node cn-jenkins-deploy-platform-ansible-os-3801-1 2025-08-11 10:01:43,803 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c555514f-aafd-4690-b0f0-3ef23a32c427 2025-08-11 10:01:43,811 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/89123d02-58a6-4c05-8011-464f6e453cdc 2025-08-11 10:01:47,087 - 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 1030ms') 2025-08-11 10:01:47,087 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68214159-84460960 failed! 2025-08-11 10:01:47,145 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-68214159:ctest-vn-59076364 is 47.56.92.1 and allocation pool is NOT set 2025-08-11 10:01:49,204 - 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=7.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.321 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.321/3.729/7.138/3.408 ms') 2025-08-11 10:01:49,204 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68214159-84460960 passed 2025-08-11 10:01:49,353 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 10:01:49,353 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68214159-84460960, IP 47.56.92.3, Port 22 2025-08-11 10:01:49,519 - DEBUG - VM ctest-TestBasicPolicy-68214159-84460960 is ready for SSH connections 2025-08-11 10:01:49,519 - INFO - Waiting for VM ctest-TestBasicPolicy-68214159-80567603 to be up.. 2025-08-11 10:01:49,594 - DEBUG - VM is in ACTIVE state now 2025-08-11 10:01:49,594 - INFO - VM name : ctest-TestBasicPolicy-68214159-80567603 2025-08-11 10:01:49,664 - DEBUG - VM ctest-TestBasicPolicy-68214159-80567603 ID is 03cecb21-8d62-4158-b5f4-63572a32a77b 2025-08-11 10:01:49,664 - DEBUG - VM ctest-TestBasicPolicy-68214159-80567603 launched on Node cn-jenkins-deploy-platform-ansible-os-3801-1 2025-08-11 10:01:49,739 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/03cecb21-8d62-4158-b5f4-63572a32a77b 2025-08-11 10:01:49,748 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/13b6c44c-10d3-475b-a43a-6f2acf2ba2aa 2025-08-11 10:01:50,992 - 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=5.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.983 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.983/3.259/5.535/2.276 ms') 2025-08-11 10:01:50,992 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-68214159-80567603 passed 2025-08-11 10:01:51,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 10:01:51,145 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68214159-80567603, IP 124.62.26.3, Port 22 2025-08-11 10:01:51,300 - DEBUG - VM ctest-TestBasicPolicy-68214159-80567603 is ready for SSH connections 2025-08-11 10:01:51,300 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 10:01:51,300 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.62.26.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-11 10:01:51,300 - DEBUG - ping -s 56 -c 3 -W 1 124.62.26.3 2025-08-11 10:01:55,337 - DEBUG - PING 124.62.26.3 (124.62.26.3): 56 data bytes 64 bytes from 124.62.26.3: seq=0 ttl=63 time=3.565 ms 64 bytes from 124.62.26.3: seq=1 ttl=63 time=0.984 ms 64 bytes from 124.62.26.3: seq=2 ttl=63 time=0.813 ms --- 124.62.26.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.813/1.787/3.565 ms 2025-08-11 10:01:55,337 - INFO - Ping to IP 124.62.26.3 from VM ctest-TestBasicPolicy-68214159-84460960 passed 2025-08-11 10:01:55,529 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2ffbc0cf-3099-4ce3-8a95-f193b84ba7ce", "href": "http://10.0.0.50:8082/network-policy/2ffbc0cf-3099-4ce3-8a95-f193b84ba7ce"}} 2025-08-11 10:01:55,529 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 10:01:55,529 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.62.26.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-11 10:01:55,529 - DEBUG - ping -s 56 -c 3 -W 1 124.62.26.3 2025-08-11 10:01:58,750 - DEBUG - PING 124.62.26.3 (124.62.26.3): 56 data bytes --- 124.62.26.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 10:01:58,750 - WARNING - Ping to IP 124.62.26.3 from VM ctest-TestBasicPolicy-68214159-84460960 failed 2025-08-11 10:01:58,750 - INFO - Deleting VM ctest-TestBasicPolicy-68214159-80567603 2025-08-11 10:01:58,921 - INFO - Deleting VM ctest-TestBasicPolicy-68214159-84460960 2025-08-11 10:01:59,310 - INFO - Deleted policy ctest-policy-allow-all-40365348 2025-08-11 10:01:59,310 - INFO - Deleting VN ctest-vn-36203276 2025-08-11 10:01:59,348 - DEBUG - VN 82365bfc-ae7b-459d-95ef-47362b49aee2 still in use: Unable to complete operation on network 82365bfc-ae7b-459d-95ef-47362b49aee2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3d59bc37-0b76-4691-a3fa-3e2cc6977cb6'] 2025-08-11 10:01:59,348 - WARNING - Deleting VN ctest-vn-36203276 failed..Will retry 2025-08-11 10:02:01,454 - DEBUG - Response for deleting network () 2025-08-11 10:02:01,454 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/74846baf-7fd3-42ce-a05e-aa64d56ee9ab 2025-08-11 10:02:01,460 - DEBUG - Response Code: 404 2025-08-11 10:02:01,460 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-11 10:02:01,471 - DEBUG - Requesting: http://10.0.0.50:8082/domain/33249967-bcb4-4792-94ad-4a9762a2fd1e 2025-08-11 10:02:01,527 - DEBUG - Requesting: http://10.0.0.50:8082/project/e524bd02-c990-4698-89ff-60ac260062a3 2025-08-11 10:02:01,599 - INFO - Validated that VN ctest-vn-36203276 is not found in API Server 2025-08-11 10:02:01,611 - DEBUG - VN ctest-vn-36203276 is not present in Agent 10.0.0.50 2025-08-11 10:02:01,611 - INFO - Validated that VN ctest-vn-36203276 is not in any agent 2025-08-11 10:02:01,627 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36203276 info 2025-08-11 10:02:01,627 - INFO - Deleting VN ctest-vn-59076364 2025-08-11 10:02:01,749 - DEBUG - Response for deleting network () 2025-08-11 10:02:01,749 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/23a26759-8ae6-47aa-80c5-afa78b8527f6 2025-08-11 10:02:01,758 - DEBUG - Response Code: 404 2025-08-11 10:02:01,758 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-11 10:02:01,763 - DEBUG - Requesting: http://10.0.0.50:8082/domain/33249967-bcb4-4792-94ad-4a9762a2fd1e 2025-08-11 10:02:01,818 - DEBUG - Requesting: http://10.0.0.50:8082/project/e524bd02-c990-4698-89ff-60ac260062a3 2025-08-11 10:02:01,892 - INFO - Validated that VN ctest-vn-59076364 is not found in API Server 2025-08-11 10:02:01,903 - DEBUG - VN ctest-vn-59076364 is not present in Agent 10.0.0.50 2025-08-11 10:02:01,903 - INFO - Validated that VN ctest-vn-59076364 is not in any agent 2025-08-11 10:02:01,920 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59076364 info 2025-08-11 10:02:02,178 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 10:02:02,179 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-08-11 10:02:02,179 - INFO - -------------------------------------------------------------------------------- 2025-08-11 10:02:02,882 - INFO - Deleted project: ctest-TestBasicPolicy-68214159, ID : e524bd02-c990-4698-89ff-60ac260062a3