2026-03-02 16:26:56,282 - INFO - Domain Default found not creating 2026-03-02 16:26:56,433 - INFO - Project ctest-TestBasicPolicy-03406947 not found, creating it 2026-03-02 16:26:56,856 - INFO - Created Project:ctest-TestBasicPolicy-03406947, ID : 384e0a5d-8c58-4657-ae50-e74bedecc7c6 2026-03-02 16:26:58,224 - INFO - ================================================================================ 2026-03-02 16:26:58,224 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-02 16:26:58,224 - 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 2026-03-02 16:26:58,483 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-03-02 16:26:58,483 - INFO - Initial checks done. Running the testcase now 2026-03-02 16:26:58,483 - INFO - 2026-03-02 16:26:59,042 - DEBUG - Response for create_network : {'network': {'id': '61b373d4-4b33-48b2-b875-440287c6203a', 'name': 'ctest-vn-19894518', 'tenant_id': '384e0a5d8c584657ae50e74bedecc7c6', 'project_id': '384e0a5d8c584657ae50e74bedecc7c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03406947', 'ctest-vn-19894518'], 'port_security_enabled': True, 'description': ''}} 2026-03-02 16:26:59,230 - DEBUG - Response for create_subnet : {'subnet': {'id': '753e552a-ab57-4636-830c-b729bf1e63b3', 'name': '', 'tenant_id': '384e0a5d8c584657ae50e74bedecc7c6', 'network_id': '61b373d4-4b33-48b2-b875-440287c6203a', 'ip_version': 4, 'cidr': '38.0.155.64/26', 'allocation_pools': [{'start': '38.0.155.66', 'end': '38.0.155.126'}], 'gateway_ip': '38.0.155.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.0.155.66', 'tags': [], 'project_id': '384e0a5d8c584657ae50e74bedecc7c6'}} 2026-03-02 16:26:59,247 - INFO - Created VN ctest-vn-19894518 2026-03-02 16:26:59,298 - DEBUG - VN ctest-vn-19894518 UUID is 61b373d4-4b33-48b2-b875-440287c6203a 2026-03-02 16:26:59,595 - DEBUG - Response for create_network : {'network': {'id': '94590431-a1ba-4f99-84ee-cc3be42cfd02', 'name': 'ctest-vn-08308683', 'tenant_id': '384e0a5d8c584657ae50e74bedecc7c6', 'project_id': '384e0a5d8c584657ae50e74bedecc7c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03406947', 'ctest-vn-08308683'], 'port_security_enabled': True, 'description': ''}} 2026-03-02 16:26:59,818 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c02d7780-bac1-473a-abf9-779a5267f6e0', 'name': '', 'tenant_id': '384e0a5d8c584657ae50e74bedecc7c6', 'network_id': '94590431-a1ba-4f99-84ee-cc3be42cfd02', 'ip_version': 4, 'cidr': '16.239.228.0/26', 'allocation_pools': [{'start': '16.239.228.2', 'end': '16.239.228.62'}], 'gateway_ip': '16.239.228.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.239.228.2', 'tags': [], 'project_id': '384e0a5d8c584657ae50e74bedecc7c6'}} 2026-03-02 16:26:59,833 - INFO - Created VN ctest-vn-08308683 2026-03-02 16:26:59,886 - DEBUG - VN ctest-vn-08308683 UUID is 94590431-a1ba-4f99-84ee-cc3be42cfd02 2026-03-02 16:27:00,030 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-03406947:ctest-vn-19894518, 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-03406947:ctest-vn-08308683, 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] 2026-03-02 16:27:00,319 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '61b373d4-4b33-48b2-b875-440287c6203a', 'name': 'ctest-vn-19894518', 'tenant_id': '384e0a5d8c584657ae50e74bedecc7c6', 'project_id': '384e0a5d8c584657ae50e74bedecc7c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['753e552a-ab57-4636-830c-b729bf1e63b3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03406947', 'ctest-vn-19894518'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03406947', 'ctest-policy-allow-all-49416772']], 'subnet_ipam': [{'subnet_cidr': '38.0.155.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-02 16:27:00,549 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '94590431-a1ba-4f99-84ee-cc3be42cfd02', 'name': 'ctest-vn-08308683', 'tenant_id': '384e0a5d8c584657ae50e74bedecc7c6', 'project_id': '384e0a5d8c584657ae50e74bedecc7c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c02d7780-bac1-473a-abf9-779a5267f6e0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03406947', 'ctest-vn-08308683'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03406947', 'ctest-policy-allow-all-49416772']], 'subnet_ipam': [{'subnet_cidr': '16.239.228.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-02 16:27:00,710 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-02 16:27:01,006 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-02 16:27:01,036 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b6280c71-1ed9-45a0-a013-d958f0bfd883 2026-03-02 16:27:01,047 - DEBUG - Requesting: http://10.0.0.38:8082/project/384e0a5d-8c58-4657-ae50-e74bedecc7c6 2026-03-02 16:27:01,115 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/61b373d4-4b33-48b2-b875-440287c6203a 2026-03-02 16:27:01,123 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/61b373d4-4b33-48b2-b875-440287c6203a 2026-03-02 16:27:01,131 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fcaf063b-57f7-4047-b751-05f212b4c7de 2026-03-02 16:27:01,137 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fcaf063b-57f7-4047-b751-05f212b4c7de 2026-03-02 16:27:01,142 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ebce4797-b81f-4928-95f1-feb2c230d5ee 2026-03-02 16:27:01,148 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-02 16:27:01,148 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/61b373d4-4b33-48b2-b875-440287c6203a 2026-03-02 16:27:01,156 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fcaf063b-57f7-4047-b751-05f212b4c7de 2026-03-02 16:27:01,168 - INFO - Verified VN network id 11 for VN 61b373d4-4b33-48b2-b875-440287c6203a 2026-03-02 16:27:01,168 - INFO - Verifications in API Server for VN ctest-vn-19894518 passed 2026-03-02 16:27:01,168 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/61b373d4-4b33-48b2-b875-440287c6203a 2026-03-02 16:27:01,175 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fcaf063b-57f7-4047-b751-05f212b4c7de 2026-03-02 16:27:01,181 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fcaf063b-57f7-4047-b751-05f212b4c7de 2026-03-02 16:27:01,191 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ebce4797-b81f-4928-95f1-feb2c230d5ee 2026-03-02 16:27:01,202 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03406947:ctest-vn-19894518', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03406947', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7040097998142130354', 'uuid-lslong': '13291604652912418874'}, 'enable': 'true', 'created': '2026-03-02T16:26:59', 'last-modified': '2026-03-02T16:27:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.906592'} 2026-03-02 16:27:01,209 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-02 16:27:01,209 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19894518 passed 2026-03-02 16:27:01,209 - DEBUG - ====Verifying policy data for ctest-vn-19894518 in API_Server ====== 2026-03-02 16:27:01,209 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-02 16:27:01,214 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b6280c71-1ed9-45a0-a013-d958f0bfd883 2026-03-02 16:27:01,225 - DEBUG - Requesting: http://10.0.0.38:8082/project/384e0a5d-8c58-4657-ae50-e74bedecc7c6 2026-03-02 16:27:01,287 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/61b373d4-4b33-48b2-b875-440287c6203a 2026-03-02 16:27:01,295 - DEBUG - ==>Verifying data for policy with id: f5bf65f7-58bd-4fb8-a787-0d5c43e9d8d7, fqn: ['default-domain', 'ctest-TestBasicPolicy-03406947', 'ctest-policy-allow-all-49416772'] 2026-03-02 16:27:01,295 - INFO - VN ctest-vn-19894518 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-02 16:27:01,295 - DEBUG - Verifying the vn in opserver 2026-03-02 16:27:01,295 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03406947:ctest-vn-19894518 virtual network link through opserver 10.0.0.38 2026-03-02 16:27:01,295 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-02 16:27:01,585 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-02 16:27:01,640 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03406947:ctest-vn-19894518', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03406947:ctest-vn-19894518?flat'} 2026-03-02 16:27:01,640 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03406947:ctest-vn-19894518 is found in opserver 2026-03-02 16:27:01,649 - DEBUG - Do not have enough data to verify VN in agent 2026-03-02 16:27:01,652 - DEBUG - VRF ids for VN ctest-vn-19894518: {} 2026-03-02 16:27:01,652 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-02 16:27:01,657 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b6280c71-1ed9-45a0-a013-d958f0bfd883 2026-03-02 16:27:01,665 - DEBUG - Requesting: http://10.0.0.38:8082/project/384e0a5d-8c58-4657-ae50-e74bedecc7c6 2026-03-02 16:27:01,729 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/94590431-a1ba-4f99-84ee-cc3be42cfd02 2026-03-02 16:27:01,740 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/94590431-a1ba-4f99-84ee-cc3be42cfd02 2026-03-02 16:27:01,749 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/640b1fad-2fb8-4122-ad47-39005e479b2c 2026-03-02 16:27:01,756 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/640b1fad-2fb8-4122-ad47-39005e479b2c 2026-03-02 16:27:01,762 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9b9d9870-6253-43ee-9d73-27fd3d34f24f 2026-03-02 16:27:01,767 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-02 16:27:01,767 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/94590431-a1ba-4f99-84ee-cc3be42cfd02 2026-03-02 16:27:01,776 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/640b1fad-2fb8-4122-ad47-39005e479b2c 2026-03-02 16:27:01,790 - INFO - Verified VN network id 12 for VN 94590431-a1ba-4f99-84ee-cc3be42cfd02 2026-03-02 16:27:01,790 - INFO - Verifications in API Server for VN ctest-vn-08308683 passed 2026-03-02 16:27:01,790 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/94590431-a1ba-4f99-84ee-cc3be42cfd02 2026-03-02 16:27:01,800 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/640b1fad-2fb8-4122-ad47-39005e479b2c 2026-03-02 16:27:01,806 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/640b1fad-2fb8-4122-ad47-39005e479b2c 2026-03-02 16:27:01,813 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9b9d9870-6253-43ee-9d73-27fd3d34f24f 2026-03-02 16:27:01,823 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03406947:ctest-vn-08308683', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03406947', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10689579801753833369', 'uuid-lslong': '9578818015066914050'}, 'enable': 'true', 'created': '2026-03-02T16:26:59', 'last-modified': '2026-03-02T16:27:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.299052'} 2026-03-02 16:27:01,827 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-02 16:27:01,827 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08308683 passed 2026-03-02 16:27:01,828 - DEBUG - ====Verifying policy data for ctest-vn-08308683 in API_Server ====== 2026-03-02 16:27:01,828 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-02 16:27:01,833 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b6280c71-1ed9-45a0-a013-d958f0bfd883 2026-03-02 16:27:01,844 - DEBUG - Requesting: http://10.0.0.38:8082/project/384e0a5d-8c58-4657-ae50-e74bedecc7c6 2026-03-02 16:27:01,911 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/94590431-a1ba-4f99-84ee-cc3be42cfd02 2026-03-02 16:27:01,919 - DEBUG - ==>Verifying data for policy with id: f5bf65f7-58bd-4fb8-a787-0d5c43e9d8d7, fqn: ['default-domain', 'ctest-TestBasicPolicy-03406947', 'ctest-policy-allow-all-49416772'] 2026-03-02 16:27:01,919 - INFO - VN ctest-vn-08308683 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-02 16:27:01,919 - DEBUG - Verifying the vn in opserver 2026-03-02 16:27:01,919 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03406947:ctest-vn-08308683 virtual network link through opserver 10.0.0.38 2026-03-02 16:27:01,919 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-02 16:27:01,927 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03406947:ctest-vn-08308683', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03406947:ctest-vn-08308683?flat'} 2026-03-02 16:27:01,927 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03406947:ctest-vn-08308683 is found in opserver 2026-03-02 16:27:01,935 - DEBUG - Do not have enough data to verify VN in agent 2026-03-02 16:27:01,938 - DEBUG - VRF ids for VN ctest-vn-08308683: {} 2026-03-02 16:27:01,992 - DEBUG - Services list from nova: [, , ] 2026-03-02 16:27:02,947 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5420-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5420-1) 2026-03-02 16:27:03,989 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5420-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5420-1) 2026-03-02 16:27:03,989 - INFO - Waiting for VM ctest-TestBasicPolicy-03406947-49303453 to be up.. 2026-03-02 16:27:04,064 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-02 16:27:09,130 - DEBUG - VM is in ACTIVE state now 2026-03-02 16:27:09,130 - INFO - VM name : ctest-TestBasicPolicy-03406947-49303453 2026-03-02 16:27:09,191 - DEBUG - VM ctest-TestBasicPolicy-03406947-49303453 ID is f649c091-b1be-4c6e-b301-2ffc5d02cdc3 2026-03-02 16:27:09,209 - DEBUG - VM ctest-TestBasicPolicy-03406947-49303453 launched on Node cn-jenkins-deploy-platform-ansible-os-5420-1 2026-03-02 16:27:09,272 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f649c091-b1be-4c6e-b301-2ffc5d02cdc3 2026-03-02 16:27:09,279 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6bbb1156-2bb7-4bb5-be47-9a410e67e506 2026-03-02 16:27:12,524 - 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 1024ms') 2026-03-02 16:27:12,525 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03406947-49303453 failed! 2026-03-02 16:27:12,579 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-03406947:ctest-vn-19894518 is 38.0.155.65 and allocation pool is NOT set 2026-03-02 16:27:14,641 - 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=2.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.458 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.458/1.576/2.695/1.118 ms') 2026-03-02 16:27:14,641 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03406947-49303453 passed 2026-03-02 16:27:14,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-02 16:27:14,795 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03406947-49303453, IP 38.0.155.67, Port 22 2026-03-02 16:27:14,946 - DEBUG - VM ctest-TestBasicPolicy-03406947-49303453 is ready for SSH connections 2026-03-02 16:27:14,947 - INFO - Waiting for VM ctest-TestBasicPolicy-03406947-16440222 to be up.. 2026-03-02 16:27:15,013 - DEBUG - VM is in ACTIVE state now 2026-03-02 16:27:15,013 - INFO - VM name : ctest-TestBasicPolicy-03406947-16440222 2026-03-02 16:27:15,076 - DEBUG - VM ctest-TestBasicPolicy-03406947-16440222 ID is 6e075757-c4d5-4b26-ac13-233449bad232 2026-03-02 16:27:15,076 - DEBUG - VM ctest-TestBasicPolicy-03406947-16440222 launched on Node cn-jenkins-deploy-platform-ansible-os-5420-1 2026-03-02 16:27:15,143 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6e075757-c4d5-4b26-ac13-233449bad232 2026-03-02 16:27:15,150 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/457e85cd-c83e-4cae-b97f-b23ee1550bac 2026-03-02 16:27:16,380 - 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=3.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.384 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.384/1.838/3.293/1.454 ms') 2026-03-02 16:27:16,381 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-03406947-16440222 passed 2026-03-02 16:27:16,527 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-02 16:27:16,527 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03406947-16440222, IP 16.239.228.3, Port 22 2026-03-02 16:27:16,678 - DEBUG - VM ctest-TestBasicPolicy-03406947-16440222 is ready for SSH connections 2026-03-02 16:27:16,678 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-02 16:27:16,678 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.239.228.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-02 16:27:16,679 - DEBUG - ping -s 56 -c 3 -W 1 16.239.228.3 2026-03-02 16:27:20,365 - DEBUG - PING 16.239.228.3 (16.239.228.3): 56 data bytes 64 bytes from 16.239.228.3: seq=0 ttl=63 time=3.004 ms 64 bytes from 16.239.228.3: seq=1 ttl=63 time=0.894 ms 64 bytes from 16.239.228.3: seq=2 ttl=63 time=0.745 ms --- 16.239.228.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.745/1.547/3.004 ms 2026-03-02 16:27:20,365 - INFO - Ping to IP 16.239.228.3 from VM ctest-TestBasicPolicy-03406947-49303453 passed 2026-03-02 16:27:20,534 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f5bf65f7-58bd-4fb8-a787-0d5c43e9d8d7", "href": "http://10.0.0.38:8082/network-policy/f5bf65f7-58bd-4fb8-a787-0d5c43e9d8d7"}} 2026-03-02 16:27:20,534 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-02 16:27:20,534 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.239.228.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-02 16:27:20,535 - DEBUG - ping -s 56 -c 3 -W 1 16.239.228.3 2026-03-02 16:27:23,729 - DEBUG - PING 16.239.228.3 (16.239.228.3): 56 data bytes --- 16.239.228.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-02 16:27:23,729 - WARNING - Ping to IP 16.239.228.3 from VM ctest-TestBasicPolicy-03406947-49303453 failed 2026-03-02 16:27:23,729 - INFO - Deleting VM ctest-TestBasicPolicy-03406947-16440222 2026-03-02 16:27:23,789 - INFO - Deleting VM ctest-TestBasicPolicy-03406947-49303453 2026-03-02 16:27:24,092 - INFO - Deleted policy ctest-policy-allow-all-49416772 2026-03-02 16:27:24,092 - INFO - Deleting VN ctest-vn-08308683 2026-03-02 16:27:24,136 - DEBUG - VN 94590431-a1ba-4f99-84ee-cc3be42cfd02 still in use: Unable to complete operation on network 94590431-a1ba-4f99-84ee-cc3be42cfd02. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-478d145a-8ba7-49d1-817e-82ab3a652ac6'] 2026-03-02 16:27:24,136 - WARNING - Deleting VN ctest-vn-08308683 failed..Will retry 2026-03-02 16:27:26,217 - DEBUG - Response for deleting network () 2026-03-02 16:27:26,217 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/640b1fad-2fb8-4122-ad47-39005e479b2c 2026-03-02 16:27:26,224 - DEBUG - Response Code: 404 2026-03-02 16:27:26,224 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-02 16:27:26,229 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b6280c71-1ed9-45a0-a013-d958f0bfd883 2026-03-02 16:27:26,279 - DEBUG - Requesting: http://10.0.0.38:8082/project/384e0a5d-8c58-4657-ae50-e74bedecc7c6 2026-03-02 16:27:26,347 - INFO - Validated that VN ctest-vn-08308683 is not found in API Server 2026-03-02 16:27:26,358 - DEBUG - VN ctest-vn-08308683 is not present in Agent 10.0.0.38 2026-03-02 16:27:26,358 - INFO - Validated that VN ctest-vn-08308683 is not in any agent 2026-03-02 16:27:26,372 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08308683 info 2026-03-02 16:27:26,372 - INFO - Deleting VN ctest-vn-19894518 2026-03-02 16:27:26,477 - DEBUG - Response for deleting network () 2026-03-02 16:27:26,477 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fcaf063b-57f7-4047-b751-05f212b4c7de 2026-03-02 16:27:26,481 - DEBUG - Response Code: 404 2026-03-02 16:27:26,481 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-02 16:27:26,487 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b6280c71-1ed9-45a0-a013-d958f0bfd883 2026-03-02 16:27:26,539 - DEBUG - Requesting: http://10.0.0.38:8082/project/384e0a5d-8c58-4657-ae50-e74bedecc7c6 2026-03-02 16:27:26,606 - INFO - Validated that VN ctest-vn-19894518 is not found in API Server 2026-03-02 16:27:26,614 - DEBUG - VN ctest-vn-19894518 is not present in Agent 10.0.0.38 2026-03-02 16:27:26,614 - INFO - Validated that VN ctest-vn-19894518 is not in any agent 2026-03-02 16:27:26,624 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19894518 info 2026-03-02 16:27:26,883 - DEBUG - No XMPP flaps were noticed during the test
2026-03-02 16:27:26,883 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28]
2026-03-02 16:27:26,883 - INFO - -------------------------------------------------------------------------------- 2026-03-02 16:27:27,546 - INFO - Deleted project: ctest-TestBasicPolicy-03406947, ID : 384e0a5d-8c58-4657-ae50-e74bedecc7c6