2025-10-12 19:09:34,069 - INFO - Domain Default found not creating 2025-10-12 19:09:34,207 - INFO - Project ctest-TestBasicPolicy-80322416 not found, creating it 2025-10-12 19:09:34,662 - INFO - Created Project:ctest-TestBasicPolicy-80322416, ID : da322754-73a7-4728-9e31-b175f0537328 2025-10-12 19:09:36,045 - INFO - ================================================================================ 2025-10-12 19:09:36,045 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-12 19:09:36,045 - 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-10-12 19:09:36,304 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.254': '0'}} with 2025-10-12 19:09:36,304 - INFO - Initial checks done. Running the testcase now 2025-10-12 19:09:36,304 - INFO - 2025-10-12 19:09:36,887 - DEBUG - Response for create_network : {'network': {'id': 'aa666ec6-9bef-4b90-9162-dc0daa76efc9', 'name': 'ctest-vn-58127174', 'tenant_id': 'da32275473a747289e31b175f0537328', 'project_id': 'da32275473a747289e31b175f0537328', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80322416', 'ctest-vn-58127174'], 'port_security_enabled': True, 'description': ''}} 2025-10-12 19:09:37,058 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef008afb-9ea3-4ceb-8e9e-221879e09c3a', 'name': '', 'tenant_id': 'da32275473a747289e31b175f0537328', 'network_id': 'aa666ec6-9bef-4b90-9162-dc0daa76efc9', 'ip_version': 4, 'cidr': '19.233.27.0/26', 'allocation_pools': [{'start': '19.233.27.2', 'end': '19.233.27.62'}], 'gateway_ip': '19.233.27.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.233.27.2', 'tags': [], 'project_id': 'da32275473a747289e31b175f0537328'}} 2025-10-12 19:09:37,079 - INFO - Created VN ctest-vn-58127174 2025-10-12 19:09:37,131 - DEBUG - VN ctest-vn-58127174 UUID is aa666ec6-9bef-4b90-9162-dc0daa76efc9 2025-10-12 19:09:37,447 - DEBUG - Response for create_network : {'network': {'id': '0e9a0967-8b3a-4769-977e-1bfa41380f27', 'name': 'ctest-vn-35757689', 'tenant_id': 'da32275473a747289e31b175f0537328', 'project_id': 'da32275473a747289e31b175f0537328', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80322416', 'ctest-vn-35757689'], 'port_security_enabled': True, 'description': ''}} 2025-10-12 19:09:37,643 - DEBUG - Response for create_subnet : {'subnet': {'id': '9f6081ca-9edb-4bfe-937f-01d3c8081d2e', 'name': '', 'tenant_id': 'da32275473a747289e31b175f0537328', 'network_id': '0e9a0967-8b3a-4769-977e-1bfa41380f27', 'ip_version': 4, 'cidr': '161.56.80.64/26', 'allocation_pools': [{'start': '161.56.80.66', 'end': '161.56.80.126'}], 'gateway_ip': '161.56.80.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.56.80.66', 'tags': [], 'project_id': 'da32275473a747289e31b175f0537328'}} 2025-10-12 19:09:37,661 - INFO - Created VN ctest-vn-35757689 2025-10-12 19:09:37,715 - DEBUG - VN ctest-vn-35757689 UUID is 0e9a0967-8b3a-4769-977e-1bfa41380f27 2025-10-12 19:09:37,867 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-80322416:ctest-vn-58127174, 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-80322416:ctest-vn-35757689, 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-10-12 19:09:38,154 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'aa666ec6-9bef-4b90-9162-dc0daa76efc9', 'name': 'ctest-vn-58127174', 'tenant_id': 'da32275473a747289e31b175f0537328', 'project_id': 'da32275473a747289e31b175f0537328', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ef008afb-9ea3-4ceb-8e9e-221879e09c3a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80322416', 'ctest-vn-58127174'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80322416', 'ctest-policy-allow-all-03304054']], 'subnet_ipam': [{'subnet_cidr': '19.233.27.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-12 19:09:38,371 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0e9a0967-8b3a-4769-977e-1bfa41380f27', 'name': 'ctest-vn-35757689', 'tenant_id': 'da32275473a747289e31b175f0537328', 'project_id': 'da32275473a747289e31b175f0537328', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9f6081ca-9edb-4bfe-937f-01d3c8081d2e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80322416', 'ctest-vn-35757689'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80322416', 'ctest-policy-allow-all-03304054']], 'subnet_ipam': [{'subnet_cidr': '161.56.80.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-12 19:09:38,531 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-10-12 19:09:38,821 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-10-12 19:09:38,849 - DEBUG - Requesting: http://10.0.0.48:8082/domain/62d0a32e-052e-4a9b-b6a4-4f9a2f507701 2025-10-12 19:09:38,861 - DEBUG - Requesting: http://10.0.0.48:8082/project/da322754-73a7-4728-9e31-b175f0537328 2025-10-12 19:09:38,929 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/aa666ec6-9bef-4b90-9162-dc0daa76efc9 2025-10-12 19:09:38,938 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/aa666ec6-9bef-4b90-9162-dc0daa76efc9 2025-10-12 19:09:38,946 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/4340bc36-dd21-47c8-a233-39b754e47bef 2025-10-12 19:09:38,952 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/4340bc36-dd21-47c8-a233-39b754e47bef 2025-10-12 19:09:38,957 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/6edb4157-e7f7-460c-80aa-6f2d3c03d216 2025-10-12 19:09:38,962 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-12 19:09:38,963 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/aa666ec6-9bef-4b90-9162-dc0daa76efc9 2025-10-12 19:09:38,970 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/4340bc36-dd21-47c8-a233-39b754e47bef 2025-10-12 19:09:38,982 - INFO - Verified VN network id 12 for VN aa666ec6-9bef-4b90-9162-dc0daa76efc9 2025-10-12 19:09:38,982 - INFO - Verifications in API Server for VN ctest-vn-58127174 passed 2025-10-12 19:09:38,982 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/aa666ec6-9bef-4b90-9162-dc0daa76efc9 2025-10-12 19:09:38,990 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/4340bc36-dd21-47c8-a233-39b754e47bef 2025-10-12 19:09:38,995 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/4340bc36-dd21-47c8-a233-39b754e47bef 2025-10-12 19:09:39,001 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/6edb4157-e7f7-460c-80aa-6f2d3c03d216 2025-10-12 19:09:39,011 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80322416:ctest-vn-58127174', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80322416', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12278623233370966928', 'uuid-lslong': '10476177634469801929'}, 'enable': 'true', 'created': '2025-10-12T19:09:36', 'last-modified': '2025-10-12T19:09:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.874994'} 2025-10-12 19:09:39,016 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-12 19:09:39,016 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58127174 passed 2025-10-12 19:09:39,017 - DEBUG - ====Verifying policy data for ctest-vn-58127174 in API_Server ====== 2025-10-12 19:09:39,017 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-10-12 19:09:39,022 - DEBUG - Requesting: http://10.0.0.48:8082/domain/62d0a32e-052e-4a9b-b6a4-4f9a2f507701 2025-10-12 19:09:39,035 - DEBUG - Requesting: http://10.0.0.48:8082/project/da322754-73a7-4728-9e31-b175f0537328 2025-10-12 19:09:39,106 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/aa666ec6-9bef-4b90-9162-dc0daa76efc9 2025-10-12 19:09:39,115 - DEBUG - ==>Verifying data for policy with id: 17575b52-2615-4aa9-a93a-9bb50f82c268, fqn: ['default-domain', 'ctest-TestBasicPolicy-80322416', 'ctest-policy-allow-all-03304054'] 2025-10-12 19:09:39,115 - INFO - VN ctest-vn-58127174 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-12 19:09:39,115 - DEBUG - Verifying the vn in opserver 2025-10-12 19:09:39,115 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80322416:ctest-vn-58127174 virtual network link through opserver 10.0.0.48 2025-10-12 19:09:39,115 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-10-12 19:09:39,406 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-10-12 19:09:39,459 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80322416:ctest-vn-58127174', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80322416:ctest-vn-58127174?flat'} 2025-10-12 19:09:39,459 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80322416:ctest-vn-58127174 is found in opserver 2025-10-12 19:09:39,468 - DEBUG - Do not have enough data to verify VN in agent 2025-10-12 19:09:39,472 - DEBUG - VRF ids for VN ctest-vn-58127174: {} 2025-10-12 19:09:39,472 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-10-12 19:09:39,477 - DEBUG - Requesting: http://10.0.0.48:8082/domain/62d0a32e-052e-4a9b-b6a4-4f9a2f507701 2025-10-12 19:09:39,488 - DEBUG - Requesting: http://10.0.0.48:8082/project/da322754-73a7-4728-9e31-b175f0537328 2025-10-12 19:09:39,559 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/0e9a0967-8b3a-4769-977e-1bfa41380f27 2025-10-12 19:09:39,570 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/0e9a0967-8b3a-4769-977e-1bfa41380f27 2025-10-12 19:09:39,578 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/78390ffa-0f07-4141-a76a-d8116c87b633 2025-10-12 19:09:39,585 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/78390ffa-0f07-4141-a76a-d8116c87b633 2025-10-12 19:09:39,591 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/c8810561-eb9e-49e7-8e95-266f8e64283a 2025-10-12 19:09:39,597 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-12 19:09:39,597 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/0e9a0967-8b3a-4769-977e-1bfa41380f27 2025-10-12 19:09:39,605 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/78390ffa-0f07-4141-a76a-d8116c87b633 2025-10-12 19:09:39,617 - INFO - Verified VN network id 13 for VN 0e9a0967-8b3a-4769-977e-1bfa41380f27 2025-10-12 19:09:39,617 - INFO - Verifications in API Server for VN ctest-vn-35757689 passed 2025-10-12 19:09:39,618 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/0e9a0967-8b3a-4769-977e-1bfa41380f27 2025-10-12 19:09:39,625 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/78390ffa-0f07-4141-a76a-d8116c87b633 2025-10-12 19:09:39,631 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/78390ffa-0f07-4141-a76a-d8116c87b633 2025-10-12 19:09:39,637 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/c8810561-eb9e-49e7-8e95-266f8e64283a 2025-10-12 19:09:39,648 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80322416:ctest-vn-35757689', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80322416', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1052163803266565993', 'uuid-lslong': '10916193308442627879'}, 'enable': 'true', 'created': '2025-10-12T19:09:37', 'last-modified': '2025-10-12T19:09:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.295153'} 2025-10-12 19:09:39,654 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-12 19:09:39,654 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35757689 passed 2025-10-12 19:09:39,654 - DEBUG - ====Verifying policy data for ctest-vn-35757689 in API_Server ====== 2025-10-12 19:09:39,654 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-10-12 19:09:39,659 - DEBUG - Requesting: http://10.0.0.48:8082/domain/62d0a32e-052e-4a9b-b6a4-4f9a2f507701 2025-10-12 19:09:39,670 - DEBUG - Requesting: http://10.0.0.48:8082/project/da322754-73a7-4728-9e31-b175f0537328 2025-10-12 19:09:39,741 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/0e9a0967-8b3a-4769-977e-1bfa41380f27 2025-10-12 19:09:39,750 - DEBUG - ==>Verifying data for policy with id: 17575b52-2615-4aa9-a93a-9bb50f82c268, fqn: ['default-domain', 'ctest-TestBasicPolicy-80322416', 'ctest-policy-allow-all-03304054'] 2025-10-12 19:09:39,750 - INFO - VN ctest-vn-35757689 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-12 19:09:39,750 - DEBUG - Verifying the vn in opserver 2025-10-12 19:09:39,750 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80322416:ctest-vn-35757689 virtual network link through opserver 10.0.0.48 2025-10-12 19:09:39,750 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-10-12 19:09:39,759 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80322416:ctest-vn-35757689', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80322416:ctest-vn-35757689?flat'} 2025-10-12 19:09:39,759 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80322416:ctest-vn-35757689 is found in opserver 2025-10-12 19:09:39,768 - DEBUG - Do not have enough data to verify VN in agent 2025-10-12 19:09:39,773 - DEBUG - VRF ids for VN ctest-vn-35757689: {} 2025-10-12 19:09:39,833 - DEBUG - Services list from nova: [, , ] 2025-10-12 19:09:40,849 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4292-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4292-1) 2025-10-12 19:09:41,962 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4292-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4292-1) 2025-10-12 19:09:41,963 - INFO - Waiting for VM ctest-TestBasicPolicy-80322416-71332686 to be up.. 2025-10-12 19:09:42,039 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-12 19:09:47,183 - DEBUG - VM is in ACTIVE state now 2025-10-12 19:09:47,183 - INFO - VM name : ctest-TestBasicPolicy-80322416-71332686 2025-10-12 19:09:47,311 - DEBUG - VM ctest-TestBasicPolicy-80322416-71332686 ID is fd171fde-2e98-4185-b2be-65dd4eaf3f1a 2025-10-12 19:09:47,336 - DEBUG - VM ctest-TestBasicPolicy-80322416-71332686 launched on Node cn-jenkins-deploy-platform-ansible-os-4292-1 2025-10-12 19:09:47,535 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/fd171fde-2e98-4185-b2be-65dd4eaf3f1a 2025-10-12 19:09:47,569 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/dd9d8a89-7a26-4b93-8c0b-6dd6725a6d90 2025-10-12 19:09:50,910 - 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 1014ms') 2025-10-12 19:09:50,910 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80322416-71332686 failed! 2025-10-12 19:09:50,963 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80322416:ctest-vn-58127174 is 19.233.27.1 and allocation pool is NOT set 2025-10-12 19:09:53,034 - 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=5.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.31 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 = 2.314/4.121/5.928/1.807 ms') 2025-10-12 19:09:53,034 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80322416-71332686 passed 2025-10-12 19:09:53,187 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 19:09:53,187 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80322416-71332686, IP 19.233.27.3, Port 22 2025-10-12 19:09:53,343 - DEBUG - VM ctest-TestBasicPolicy-80322416-71332686 is ready for SSH connections 2025-10-12 19:09:53,343 - INFO - Waiting for VM ctest-TestBasicPolicy-80322416-65385139 to be up.. 2025-10-12 19:09:53,413 - DEBUG - VM is in ACTIVE state now 2025-10-12 19:09:53,413 - INFO - VM name : ctest-TestBasicPolicy-80322416-65385139 2025-10-12 19:09:53,481 - DEBUG - VM ctest-TestBasicPolicy-80322416-65385139 ID is 8b046a7c-4914-4822-9a0c-e08e4edf4e16 2025-10-12 19:09:53,481 - DEBUG - VM ctest-TestBasicPolicy-80322416-65385139 launched on Node cn-jenkins-deploy-platform-ansible-os-4292-1 2025-10-12 19:09:53,553 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/8b046a7c-4914-4822-9a0c-e08e4edf4e16 2025-10-12 19:09:53,561 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/bffda727-d3ee-4afe-88ff-bd382a6b05d7 2025-10-12 19:09:54,792 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.416 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.416/1.602/2.789/1.186 ms') 2025-10-12 19:09:54,792 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-80322416-65385139 passed 2025-10-12 19:09:54,939 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 19:09:54,939 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80322416-65385139, IP 161.56.80.67, Port 22 2025-10-12 19:09:55,091 - DEBUG - VM ctest-TestBasicPolicy-80322416-65385139 is ready for SSH connections 2025-10-12 19:09:55,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 19:09:55,091 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.56.80.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-10-12 19:09:55,091 - DEBUG - ping -s 56 -c 3 -W 1 161.56.80.67 2025-10-12 19:09:59,139 - DEBUG - PING 161.56.80.67 (161.56.80.67): 56 data bytes 64 bytes from 161.56.80.67: seq=0 ttl=63 time=3.740 ms 64 bytes from 161.56.80.67: seq=1 ttl=63 time=1.029 ms 64 bytes from 161.56.80.67: seq=2 ttl=63 time=0.758 ms --- 161.56.80.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.758/1.842/3.740 ms 2025-10-12 19:09:59,139 - INFO - Ping to IP 161.56.80.67 from VM ctest-TestBasicPolicy-80322416-71332686 passed 2025-10-12 19:09:59,311 - DEBUG - Policy Update Response {"network-policy": {"uuid": "17575b52-2615-4aa9-a93a-9bb50f82c268", "href": "http://10.0.0.48:8082/network-policy/17575b52-2615-4aa9-a93a-9bb50f82c268"}} 2025-10-12 19:09:59,311 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 19:09:59,311 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.56.80.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-10-12 19:09:59,311 - DEBUG - ping -s 56 -c 3 -W 1 161.56.80.67 2025-10-12 19:10:02,505 - DEBUG - PING 161.56.80.67 (161.56.80.67): 56 data bytes --- 161.56.80.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-12 19:10:02,505 - WARNING - Ping to IP 161.56.80.67 from VM ctest-TestBasicPolicy-80322416-71332686 failed 2025-10-12 19:10:02,505 - INFO - Deleting VM ctest-TestBasicPolicy-80322416-65385139 2025-10-12 19:10:02,575 - INFO - Deleting VM ctest-TestBasicPolicy-80322416-71332686 2025-10-12 19:10:02,937 - INFO - Deleted policy ctest-policy-allow-all-03304054 2025-10-12 19:10:02,938 - INFO - Deleting VN ctest-vn-35757689 2025-10-12 19:10:02,972 - DEBUG - VN 0e9a0967-8b3a-4769-977e-1bfa41380f27 still in use: Unable to complete operation on network 0e9a0967-8b3a-4769-977e-1bfa41380f27. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3ee948b7-3d17-41e5-9389-ff586f3fa5e8'] 2025-10-12 19:10:02,972 - WARNING - Deleting VN ctest-vn-35757689 failed..Will retry 2025-10-12 19:10:05,068 - DEBUG - Response for deleting network () 2025-10-12 19:10:05,068 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/78390ffa-0f07-4141-a76a-d8116c87b633 2025-10-12 19:10:05,073 - DEBUG - Response Code: 404 2025-10-12 19:10:05,073 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-10-12 19:10:05,085 - DEBUG - Requesting: http://10.0.0.48:8082/domain/62d0a32e-052e-4a9b-b6a4-4f9a2f507701 2025-10-12 19:10:05,141 - DEBUG - Requesting: http://10.0.0.48:8082/project/da322754-73a7-4728-9e31-b175f0537328 2025-10-12 19:10:05,216 - INFO - Validated that VN ctest-vn-35757689 is not found in API Server 2025-10-12 19:10:05,226 - DEBUG - VN ctest-vn-35757689 is not present in Agent 10.0.0.48 2025-10-12 19:10:05,226 - INFO - Validated that VN ctest-vn-35757689 is not in any agent 2025-10-12 19:10:05,242 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35757689 info 2025-10-12 19:10:05,242 - INFO - Deleting VN ctest-vn-58127174 2025-10-12 19:10:05,358 - DEBUG - Response for deleting network () 2025-10-12 19:10:05,358 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/4340bc36-dd21-47c8-a233-39b754e47bef 2025-10-12 19:10:05,364 - DEBUG - Response Code: 404 2025-10-12 19:10:05,364 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-10-12 19:10:05,374 - DEBUG - Requesting: http://10.0.0.48:8082/domain/62d0a32e-052e-4a9b-b6a4-4f9a2f507701 2025-10-12 19:10:05,428 - DEBUG - Requesting: http://10.0.0.48:8082/project/da322754-73a7-4728-9e31-b175f0537328 2025-10-12 19:10:05,505 - INFO - Validated that VN ctest-vn-58127174 is not found in API Server 2025-10-12 19:10:05,516 - DEBUG - VN ctest-vn-58127174 is not present in Agent 10.0.0.48 2025-10-12 19:10:05,516 - INFO - Validated that VN ctest-vn-58127174 is not in any agent 2025-10-12 19:10:05,534 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58127174 info 2025-10-12 19:10:05,788 - DEBUG - No XMPP flaps were noticed during the test 2025-10-12 19:10:05,788 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-12 19:10:05,788 - INFO - -------------------------------------------------------------------------------- 2025-10-12 19:10:06,489 - INFO - Deleted project: ctest-TestBasicPolicy-80322416, ID : da322754-73a7-4728-9e31-b175f0537328