2025-09-11 09:25:55,376 - INFO - Domain Default found not creating 2025-09-11 09:25:55,507 - INFO - Project ctest-TestBasicPolicy-97945350 not found, creating it 2025-09-11 09:25:55,919 - INFO - Created Project:ctest-TestBasicPolicy-97945350, ID : 7492252d-f966-438d-a28a-753f5fd273b4 2025-09-11 09:25:57,262 - INFO - ================================================================================ 2025-09-11 09:25:57,263 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-11 09:25:57,263 - 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-09-11 09:25:57,516 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-09-11 09:25:57,517 - INFO - Initial checks done. Running the testcase now 2025-09-11 09:25:57,517 - INFO - 2025-09-11 09:25:58,039 - DEBUG - Response for create_network : {'network': {'id': '83029aaa-0753-4a5e-82f5-284bad32e5fc', 'name': 'ctest-vn-93791563', 'tenant_id': '7492252df966438da28a753f5fd273b4', 'project_id': '7492252df966438da28a753f5fd273b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97945350', 'ctest-vn-93791563'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 09:25:58,232 - DEBUG - Response for create_subnet : {'subnet': {'id': '5bf21fb8-c9df-48b6-a9bc-59ce108faeff', 'name': '', 'tenant_id': '7492252df966438da28a753f5fd273b4', 'network_id': '83029aaa-0753-4a5e-82f5-284bad32e5fc', 'ip_version': 4, 'cidr': '213.101.176.64/26', 'allocation_pools': [{'start': '213.101.176.66', 'end': '213.101.176.126'}], 'gateway_ip': '213.101.176.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.101.176.66', 'tags': [], 'project_id': '7492252df966438da28a753f5fd273b4'}} 2025-09-11 09:25:58,246 - INFO - Created VN ctest-vn-93791563 2025-09-11 09:25:58,295 - DEBUG - VN ctest-vn-93791563 UUID is 83029aaa-0753-4a5e-82f5-284bad32e5fc 2025-09-11 09:25:58,637 - DEBUG - Response for create_network : {'network': {'id': '5c666499-f7ed-4f84-926e-619c272a3fc1', 'name': 'ctest-vn-51206624', 'tenant_id': '7492252df966438da28a753f5fd273b4', 'project_id': '7492252df966438da28a753f5fd273b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97945350', 'ctest-vn-51206624'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 09:25:58,768 - DEBUG - Response for create_subnet : {'subnet': {'id': '5bcbfed8-18f4-4a7a-9ce4-9a3e948e0f62', 'name': '', 'tenant_id': '7492252df966438da28a753f5fd273b4', 'network_id': '5c666499-f7ed-4f84-926e-619c272a3fc1', 'ip_version': 4, 'cidr': '34.54.88.64/26', 'allocation_pools': [{'start': '34.54.88.66', 'end': '34.54.88.126'}], 'gateway_ip': '34.54.88.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.54.88.66', 'tags': [], 'project_id': '7492252df966438da28a753f5fd273b4'}} 2025-09-11 09:25:58,785 - INFO - Created VN ctest-vn-51206624 2025-09-11 09:25:58,835 - DEBUG - VN ctest-vn-51206624 UUID is 5c666499-f7ed-4f84-926e-619c272a3fc1 2025-09-11 09:25:58,975 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-97945350:ctest-vn-93791563, 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-97945350:ctest-vn-51206624, 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-09-11 09:25:59,260 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '83029aaa-0753-4a5e-82f5-284bad32e5fc', 'name': 'ctest-vn-93791563', 'tenant_id': '7492252df966438da28a753f5fd273b4', 'project_id': '7492252df966438da28a753f5fd273b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5bf21fb8-c9df-48b6-a9bc-59ce108faeff'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97945350', 'ctest-vn-93791563'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97945350', 'ctest-policy-allow-all-10903358']], 'subnet_ipam': [{'subnet_cidr': '213.101.176.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-11 09:25:59,538 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5c666499-f7ed-4f84-926e-619c272a3fc1', 'name': 'ctest-vn-51206624', 'tenant_id': '7492252df966438da28a753f5fd273b4', 'project_id': '7492252df966438da28a753f5fd273b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5bcbfed8-18f4-4a7a-9ce4-9a3e948e0f62'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97945350', 'ctest-vn-51206624'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97945350', 'ctest-policy-allow-all-10903358']], 'subnet_ipam': [{'subnet_cidr': '34.54.88.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-11 09:25:59,679 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-11 09:25:59,971 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-11 09:25:59,995 - DEBUG - Requesting: http://10.0.0.22:8082/domain/19580de5-4ced-4cb6-9fe3-dd2072a9de08 2025-09-11 09:26:00,005 - DEBUG - Requesting: http://10.0.0.22:8082/project/7492252d-f966-438d-a28a-753f5fd273b4 2025-09-11 09:26:00,075 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/83029aaa-0753-4a5e-82f5-284bad32e5fc 2025-09-11 09:26:00,084 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/83029aaa-0753-4a5e-82f5-284bad32e5fc 2025-09-11 09:26:00,092 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7ecdb946-2b7e-4017-98f3-7dd962d5c92d 2025-09-11 09:26:00,097 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7ecdb946-2b7e-4017-98f3-7dd962d5c92d 2025-09-11 09:26:00,102 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/e6e4182a-a04f-4544-a407-f4c7c181977d 2025-09-11 09:26:00,107 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-11 09:26:00,107 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/83029aaa-0753-4a5e-82f5-284bad32e5fc 2025-09-11 09:26:00,114 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7ecdb946-2b7e-4017-98f3-7dd962d5c92d 2025-09-11 09:26:00,124 - INFO - Verified VN network id 12 for VN 83029aaa-0753-4a5e-82f5-284bad32e5fc 2025-09-11 09:26:00,124 - INFO - Verifications in API Server for VN ctest-vn-93791563 passed 2025-09-11 09:26:00,124 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/83029aaa-0753-4a5e-82f5-284bad32e5fc 2025-09-11 09:26:00,131 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7ecdb946-2b7e-4017-98f3-7dd962d5c92d 2025-09-11 09:26:00,137 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7ecdb946-2b7e-4017-98f3-7dd962d5c92d 2025-09-11 09:26:00,142 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/e6e4182a-a04f-4544-a407-f4c7c181977d 2025-09-11 09:26:00,152 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97945350:ctest-vn-93791563', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97945350', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9440277823979997790', 'uuid-lslong': '9436492899718194684'}, 'enable': 'true', 'created': '2025-09-11T09:25:58', 'last-modified': '2025-09-11T09:25:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.913870'} 2025-09-11 09:26:00,157 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-11 09:26:00,157 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93791563 passed 2025-09-11 09:26:00,157 - DEBUG - ====Verifying policy data for ctest-vn-93791563 in API_Server ====== 2025-09-11 09:26:00,157 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-11 09:26:00,162 - DEBUG - Requesting: http://10.0.0.22:8082/domain/19580de5-4ced-4cb6-9fe3-dd2072a9de08 2025-09-11 09:26:00,174 - DEBUG - Requesting: http://10.0.0.22:8082/project/7492252d-f966-438d-a28a-753f5fd273b4 2025-09-11 09:26:00,238 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/83029aaa-0753-4a5e-82f5-284bad32e5fc 2025-09-11 09:26:00,246 - DEBUG - ==>Verifying data for policy with id: 721b49e3-d2f1-44cf-a8cc-f95062da3873, fqn: ['default-domain', 'ctest-TestBasicPolicy-97945350', 'ctest-policy-allow-all-10903358'] 2025-09-11 09:26:00,246 - INFO - VN ctest-vn-93791563 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-11 09:26:00,246 - DEBUG - Verifying the vn in opserver 2025-09-11 09:26:00,246 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97945350:ctest-vn-93791563 virtual network link through opserver 10.0.0.22 2025-09-11 09:26:00,246 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-11 09:26:00,534 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-11 09:26:00,591 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97945350:ctest-vn-93791563', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97945350:ctest-vn-93791563?flat'} 2025-09-11 09:26:00,591 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97945350:ctest-vn-93791563 is found in opserver 2025-09-11 09:26:00,600 - DEBUG - Do not have enough data to verify VN in agent 2025-09-11 09:26:00,604 - DEBUG - VRF ids for VN ctest-vn-93791563: {} 2025-09-11 09:26:00,604 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-11 09:26:00,609 - DEBUG - Requesting: http://10.0.0.22:8082/domain/19580de5-4ced-4cb6-9fe3-dd2072a9de08 2025-09-11 09:26:00,618 - DEBUG - Requesting: http://10.0.0.22:8082/project/7492252d-f966-438d-a28a-753f5fd273b4 2025-09-11 09:26:00,683 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5c666499-f7ed-4f84-926e-619c272a3fc1 2025-09-11 09:26:00,693 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5c666499-f7ed-4f84-926e-619c272a3fc1 2025-09-11 09:26:00,701 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f6d459aa-bfcb-492a-803e-9394c7d489ca 2025-09-11 09:26:00,707 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f6d459aa-bfcb-492a-803e-9394c7d489ca 2025-09-11 09:26:00,712 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/12cab095-a7f6-43ad-9cac-7b1a0cfd0507 2025-09-11 09:26:00,717 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-11 09:26:00,717 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5c666499-f7ed-4f84-926e-619c272a3fc1 2025-09-11 09:26:00,725 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f6d459aa-bfcb-492a-803e-9394c7d489ca 2025-09-11 09:26:00,736 - INFO - Verified VN network id 13 for VN 5c666499-f7ed-4f84-926e-619c272a3fc1 2025-09-11 09:26:00,736 - INFO - Verifications in API Server for VN ctest-vn-51206624 passed 2025-09-11 09:26:00,736 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5c666499-f7ed-4f84-926e-619c272a3fc1 2025-09-11 09:26:00,743 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f6d459aa-bfcb-492a-803e-9394c7d489ca 2025-09-11 09:26:00,749 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f6d459aa-bfcb-492a-803e-9394c7d489ca 2025-09-11 09:26:00,754 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/12cab095-a7f6-43ad-9cac-7b1a0cfd0507 2025-09-11 09:26:00,764 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97945350:ctest-vn-51206624', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97945350', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6658119711566155652', 'uuid-lslong': '10551478300275523521'}, 'enable': 'true', 'created': '2025-09-11T09:25:58', 'last-modified': '2025-09-11T09:25:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.299209'} 2025-09-11 09:26:00,769 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-11 09:26:00,769 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51206624 passed 2025-09-11 09:26:00,769 - DEBUG - ====Verifying policy data for ctest-vn-51206624 in API_Server ====== 2025-09-11 09:26:00,769 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-11 09:26:00,773 - DEBUG - Requesting: http://10.0.0.22:8082/domain/19580de5-4ced-4cb6-9fe3-dd2072a9de08 2025-09-11 09:26:00,782 - DEBUG - Requesting: http://10.0.0.22:8082/project/7492252d-f966-438d-a28a-753f5fd273b4 2025-09-11 09:26:00,847 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5c666499-f7ed-4f84-926e-619c272a3fc1 2025-09-11 09:26:00,855 - DEBUG - ==>Verifying data for policy with id: 721b49e3-d2f1-44cf-a8cc-f95062da3873, fqn: ['default-domain', 'ctest-TestBasicPolicy-97945350', 'ctest-policy-allow-all-10903358'] 2025-09-11 09:26:00,855 - INFO - VN ctest-vn-51206624 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-11 09:26:00,855 - DEBUG - Verifying the vn in opserver 2025-09-11 09:26:00,855 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97945350:ctest-vn-51206624 virtual network link through opserver 10.0.0.22 2025-09-11 09:26:00,855 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-11 09:26:00,863 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97945350:ctest-vn-51206624', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97945350:ctest-vn-51206624?flat'} 2025-09-11 09:26:00,863 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97945350:ctest-vn-51206624 is found in opserver 2025-09-11 09:26:00,872 - DEBUG - Do not have enough data to verify VN in agent 2025-09-11 09:26:00,875 - DEBUG - VRF ids for VN ctest-vn-51206624: {} 2025-09-11 09:26:00,925 - DEBUG - Services list from nova: [, , ] 2025-09-11 09:26:01,945 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4087-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4087-1) 2025-09-11 09:26:03,013 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4087-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4087-1) 2025-09-11 09:26:03,014 - INFO - Waiting for VM ctest-TestBasicPolicy-97945350-26927839 to be up.. 2025-09-11 09:26:03,104 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 09:26:08,176 - DEBUG - VM is in ACTIVE state now 2025-09-11 09:26:08,176 - INFO - VM name : ctest-TestBasicPolicy-97945350-26927839 2025-09-11 09:26:08,240 - DEBUG - VM ctest-TestBasicPolicy-97945350-26927839 ID is 4bdd82a8-a300-4985-a43a-7fa115e47b12 2025-09-11 09:26:08,256 - DEBUG - VM ctest-TestBasicPolicy-97945350-26927839 launched on Node cn-jenkins-deploy-platform-ansible-os-4087-1 2025-09-11 09:26:08,330 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/4bdd82a8-a300-4985-a43a-7fa115e47b12 2025-09-11 09:26:08,340 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/50ef548d-b856-4bd1-87c4-afd1a280aca9 2025-09-11 09:26:11,575 - 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-09-11 09:26:11,575 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97945350-26927839 failed! 2025-09-11 09:26:11,627 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-97945350:ctest-vn-93791563 is 213.101.176.65 and allocation pool is NOT set 2025-09-11 09:26:13,695 - 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.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.14 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.137/2.214/3.292/1.077 ms') 2025-09-11 09:26:13,695 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97945350-26927839 passed 2025-09-11 09:26:13,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 09:26:13,859 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97945350-26927839, IP 213.101.176.67, Port 22 2025-09-11 09:26:14,010 - DEBUG - VM ctest-TestBasicPolicy-97945350-26927839 is ready for SSH connections 2025-09-11 09:26:14,010 - INFO - Waiting for VM ctest-TestBasicPolicy-97945350-53227013 to be up.. 2025-09-11 09:26:14,074 - DEBUG - VM is in ACTIVE state now 2025-09-11 09:26:14,074 - INFO - VM name : ctest-TestBasicPolicy-97945350-53227013 2025-09-11 09:26:14,136 - DEBUG - VM ctest-TestBasicPolicy-97945350-53227013 ID is 1a296760-2147-4b61-90be-9e69b1a56843 2025-09-11 09:26:14,136 - DEBUG - VM ctest-TestBasicPolicy-97945350-53227013 launched on Node cn-jenkins-deploy-platform-ansible-os-4087-1 2025-09-11 09:26:14,200 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/1a296760-2147-4b61-90be-9e69b1a56843 2025-09-11 09:26:14,207 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/7921aec3-c9bb-4558-94b6-78ef4f7c7e8b 2025-09-11 09:26:15,441 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.393 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.393/1.560/2.728/1.167 ms') 2025-09-11 09:26:15,441 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-97945350-53227013 passed 2025-09-11 09:26:15,587 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 09:26:15,587 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97945350-53227013, IP 34.54.88.67, Port 22 2025-09-11 09:26:15,753 - DEBUG - VM ctest-TestBasicPolicy-97945350-53227013 is ready for SSH connections 2025-09-11 09:26:15,753 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 09:26:15,753 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.54.88.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 09:26:15,753 - DEBUG - ping -s 56 -c 3 -W 1 34.54.88.67 2025-09-11 09:26:19,416 - DEBUG - PING 34.54.88.67 (34.54.88.67): 56 data bytes 64 bytes from 34.54.88.67: seq=0 ttl=63 time=3.128 ms 64 bytes from 34.54.88.67: seq=1 ttl=63 time=0.776 ms 64 bytes from 34.54.88.67: seq=2 ttl=63 time=0.783 ms --- 34.54.88.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.776/1.562/3.128 ms 2025-09-11 09:26:19,416 - INFO - Ping to IP 34.54.88.67 from VM ctest-TestBasicPolicy-97945350-26927839 passed 2025-09-11 09:26:19,591 - DEBUG - Policy Update Response {"network-policy": {"uuid": "721b49e3-d2f1-44cf-a8cc-f95062da3873", "href": "http://10.0.0.22:8082/network-policy/721b49e3-d2f1-44cf-a8cc-f95062da3873"}} 2025-09-11 09:26:19,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 09:26:19,591 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.54.88.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 09:26:19,591 - DEBUG - ping -s 56 -c 3 -W 1 34.54.88.67 2025-09-11 09:26:22,815 - DEBUG - PING 34.54.88.67 (34.54.88.67): 56 data bytes --- 34.54.88.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 09:26:22,815 - WARNING - Ping to IP 34.54.88.67 from VM ctest-TestBasicPolicy-97945350-26927839 failed 2025-09-11 09:26:22,815 - INFO - Deleting VM ctest-TestBasicPolicy-97945350-53227013 2025-09-11 09:26:22,907 - INFO - Deleting VM ctest-TestBasicPolicy-97945350-26927839 2025-09-11 09:26:23,225 - INFO - Deleted policy ctest-policy-allow-all-10903358 2025-09-11 09:26:23,225 - INFO - Deleting VN ctest-vn-51206624 2025-09-11 09:26:23,256 - DEBUG - VN 5c666499-f7ed-4f84-926e-619c272a3fc1 still in use: Unable to complete operation on network 5c666499-f7ed-4f84-926e-619c272a3fc1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-947c8e9d-4d6e-4c15-a358-ec00d7753c6e'] 2025-09-11 09:26:23,256 - WARNING - Deleting VN ctest-vn-51206624 failed..Will retry 2025-09-11 09:26:25,346 - DEBUG - Response for deleting network () 2025-09-11 09:26:25,346 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f6d459aa-bfcb-492a-803e-9394c7d489ca 2025-09-11 09:26:25,352 - DEBUG - Response Code: 404 2025-09-11 09:26:25,353 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-11 09:26:25,357 - DEBUG - Requesting: http://10.0.0.22:8082/domain/19580de5-4ced-4cb6-9fe3-dd2072a9de08 2025-09-11 09:26:25,409 - DEBUG - Requesting: http://10.0.0.22:8082/project/7492252d-f966-438d-a28a-753f5fd273b4 2025-09-11 09:26:25,474 - INFO - Validated that VN ctest-vn-51206624 is not found in API Server 2025-09-11 09:26:25,482 - DEBUG - VN ctest-vn-51206624 is not present in Agent 10.0.0.22 2025-09-11 09:26:25,482 - INFO - Validated that VN ctest-vn-51206624 is not in any agent 2025-09-11 09:26:25,493 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51206624 info 2025-09-11 09:26:25,493 - INFO - Deleting VN ctest-vn-93791563 2025-09-11 09:26:25,580 - DEBUG - Response for deleting network () 2025-09-11 09:26:25,580 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7ecdb946-2b7e-4017-98f3-7dd962d5c92d 2025-09-11 09:26:25,585 - DEBUG - Response Code: 404 2025-09-11 09:26:25,586 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-11 09:26:25,590 - DEBUG - Requesting: http://10.0.0.22:8082/domain/19580de5-4ced-4cb6-9fe3-dd2072a9de08 2025-09-11 09:26:25,643 - DEBUG - Requesting: http://10.0.0.22:8082/project/7492252d-f966-438d-a28a-753f5fd273b4 2025-09-11 09:26:25,714 - INFO - Validated that VN ctest-vn-93791563 is not found in API Server 2025-09-11 09:26:25,722 - DEBUG - VN ctest-vn-93791563 is not present in Agent 10.0.0.22 2025-09-11 09:26:25,722 - INFO - Validated that VN ctest-vn-93791563 is not in any agent 2025-09-11 09:26:25,734 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93791563 info 2025-09-11 09:26:25,991 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 09:26:25,991 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28]
2025-09-11 09:26:25,991 - INFO - -------------------------------------------------------------------------------- 2025-09-11 09:26:26,659 - INFO - Deleted project: ctest-TestBasicPolicy-97945350, ID : 7492252d-f966-438d-a28a-753f5fd273b4