2026-03-18 17:08:58,121 - INFO - Domain Default found not creating 2026-03-18 17:08:58,326 - INFO - Project ctest-TestBasicPolicy-25982012 not found, creating it 2026-03-18 17:08:58,837 - INFO - Created Project:ctest-TestBasicPolicy-25982012, ID : 02a4414c-576e-40f2-8c84-48d485f3841d 2026-03-18 17:09:00,422 - INFO - ================================================================================ 2026-03-18 17:09:00,422 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-18 17:09:00,422 - 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-18 17:09:00,675 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-03-18 17:09:00,675 - INFO - Initial checks done. Running the testcase now 2026-03-18 17:09:00,675 - INFO - 2026-03-18 17:09:01,255 - DEBUG - Response for create_network : {'network': {'id': '1897cd58-8abc-4c60-9de4-ee874147ab7c', 'name': 'ctest-vn-06699835', 'tenant_id': '02a4414c576e40f28c8448d485f3841d', 'project_id': '02a4414c576e40f28c8448d485f3841d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25982012', 'ctest-vn-06699835'], 'port_security_enabled': True, 'description': ''}} 2026-03-18 17:09:01,470 - DEBUG - Response for create_subnet : {'subnet': {'id': '06853561-f9e8-4eda-b64d-22f6983d0193', 'name': '', 'tenant_id': '02a4414c576e40f28c8448d485f3841d', 'network_id': '1897cd58-8abc-4c60-9de4-ee874147ab7c', 'ip_version': 4, 'cidr': '204.40.213.64/26', 'allocation_pools': [{'start': '204.40.213.66', 'end': '204.40.213.126'}], 'gateway_ip': '204.40.213.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.40.213.66', 'tags': [], 'project_id': '02a4414c576e40f28c8448d485f3841d'}} 2026-03-18 17:09:01,489 - INFO - Created VN ctest-vn-06699835 2026-03-18 17:09:01,545 - DEBUG - VN ctest-vn-06699835 UUID is 1897cd58-8abc-4c60-9de4-ee874147ab7c 2026-03-18 17:09:01,858 - DEBUG - Response for create_network : {'network': {'id': '75ff5007-c4f4-47ce-9391-000551235fac', 'name': 'ctest-vn-57896500', 'tenant_id': '02a4414c576e40f28c8448d485f3841d', 'project_id': '02a4414c576e40f28c8448d485f3841d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25982012', 'ctest-vn-57896500'], 'port_security_enabled': True, 'description': ''}} 2026-03-18 17:09:02,054 - DEBUG - Response for create_subnet : {'subnet': {'id': '22655f26-4f5c-4f4f-a218-a25520c1af0e', 'name': '', 'tenant_id': '02a4414c576e40f28c8448d485f3841d', 'network_id': '75ff5007-c4f4-47ce-9391-000551235fac', 'ip_version': 4, 'cidr': '112.215.116.0/26', 'allocation_pools': [{'start': '112.215.116.2', 'end': '112.215.116.62'}], 'gateway_ip': '112.215.116.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.215.116.2', 'tags': [], 'project_id': '02a4414c576e40f28c8448d485f3841d'}} 2026-03-18 17:09:02,074 - INFO - Created VN ctest-vn-57896500 2026-03-18 17:09:02,129 - DEBUG - VN ctest-vn-57896500 UUID is 75ff5007-c4f4-47ce-9391-000551235fac 2026-03-18 17:09:02,258 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-25982012:ctest-vn-06699835, 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-25982012:ctest-vn-57896500, 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-18 17:09:02,564 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1897cd58-8abc-4c60-9de4-ee874147ab7c', 'name': 'ctest-vn-06699835', 'tenant_id': '02a4414c576e40f28c8448d485f3841d', 'project_id': '02a4414c576e40f28c8448d485f3841d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['06853561-f9e8-4eda-b64d-22f6983d0193'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25982012', 'ctest-vn-06699835'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25982012', 'ctest-policy-allow-all-11634962']], 'subnet_ipam': [{'subnet_cidr': '204.40.213.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-18 17:09:02,811 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '75ff5007-c4f4-47ce-9391-000551235fac', 'name': 'ctest-vn-57896500', 'tenant_id': '02a4414c576e40f28c8448d485f3841d', 'project_id': '02a4414c576e40f28c8448d485f3841d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['22655f26-4f5c-4f4f-a218-a25520c1af0e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25982012', 'ctest-vn-57896500'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25982012', 'ctest-policy-allow-all-11634962']], 'subnet_ipam': [{'subnet_cidr': '112.215.116.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-18 17:09:02,981 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-18 17:09:03,283 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-18 17:09:03,322 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1a26233b-a09f-4051-bd45-e53d533a39be 2026-03-18 17:09:03,334 - DEBUG - Requesting: http://10.0.0.38:8082/project/02a4414c-576e-40f2-8c84-48d485f3841d 2026-03-18 17:09:03,419 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1897cd58-8abc-4c60-9de4-ee874147ab7c 2026-03-18 17:09:03,433 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1897cd58-8abc-4c60-9de4-ee874147ab7c 2026-03-18 17:09:03,446 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e0c4524c-65b1-49c0-b277-b700fca1913b 2026-03-18 17:09:03,455 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e0c4524c-65b1-49c0-b277-b700fca1913b 2026-03-18 17:09:03,463 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/764117b0-794c-4fd6-a7be-86e52b25e525 2026-03-18 17:09:03,470 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-18 17:09:03,470 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1897cd58-8abc-4c60-9de4-ee874147ab7c 2026-03-18 17:09:03,482 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e0c4524c-65b1-49c0-b277-b700fca1913b 2026-03-18 17:09:03,500 - INFO - Verified VN network id 11 for VN 1897cd58-8abc-4c60-9de4-ee874147ab7c 2026-03-18 17:09:03,500 - INFO - Verifications in API Server for VN ctest-vn-06699835 passed 2026-03-18 17:09:03,500 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1897cd58-8abc-4c60-9de4-ee874147ab7c 2026-03-18 17:09:03,515 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e0c4524c-65b1-49c0-b277-b700fca1913b 2026-03-18 17:09:03,523 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e0c4524c-65b1-49c0-b277-b700fca1913b 2026-03-18 17:09:03,531 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/764117b0-794c-4fd6-a7be-86e52b25e525 2026-03-18 17:09:03,547 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25982012:ctest-vn-06699835', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25982012', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1772110758561991776', 'uuid-lslong': '11377480823327927164'}, 'enable': 'true', 'created': '2026-03-18T17:09:01', 'last-modified': '2026-03-18T17:09:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.008623'} 2026-03-18 17:09:03,554 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-18 17:09:03,554 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06699835 passed 2026-03-18 17:09:03,554 - DEBUG - ====Verifying policy data for ctest-vn-06699835 in API_Server ====== 2026-03-18 17:09:03,554 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-18 17:09:03,559 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1a26233b-a09f-4051-bd45-e53d533a39be 2026-03-18 17:09:03,572 - DEBUG - Requesting: http://10.0.0.38:8082/project/02a4414c-576e-40f2-8c84-48d485f3841d 2026-03-18 17:09:03,643 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1897cd58-8abc-4c60-9de4-ee874147ab7c 2026-03-18 17:09:03,654 - DEBUG - ==>Verifying data for policy with id: 195733b9-945b-47f2-9180-4dd21b347f4a, fqn: ['default-domain', 'ctest-TestBasicPolicy-25982012', 'ctest-policy-allow-all-11634962'] 2026-03-18 17:09:03,654 - INFO - VN ctest-vn-06699835 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-18 17:09:03,654 - DEBUG - Verifying the vn in opserver 2026-03-18 17:09:03,654 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25982012:ctest-vn-06699835 virtual network link through opserver 10.0.0.38 2026-03-18 17:09:03,654 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-18 17:09:03,955 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-18 17:09:04,030 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25982012:ctest-vn-06699835', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25982012:ctest-vn-06699835?flat'} 2026-03-18 17:09:04,030 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25982012:ctest-vn-06699835 is found in opserver 2026-03-18 17:09:04,039 - DEBUG - Do not have enough data to verify VN in agent 2026-03-18 17:09:04,044 - DEBUG - VRF ids for VN ctest-vn-06699835: {} 2026-03-18 17:09:04,044 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-18 17:09:04,050 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1a26233b-a09f-4051-bd45-e53d533a39be 2026-03-18 17:09:04,063 - DEBUG - Requesting: http://10.0.0.38:8082/project/02a4414c-576e-40f2-8c84-48d485f3841d 2026-03-18 17:09:04,132 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/75ff5007-c4f4-47ce-9391-000551235fac 2026-03-18 17:09:04,145 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/75ff5007-c4f4-47ce-9391-000551235fac 2026-03-18 17:09:04,156 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/66887f24-7484-4793-b1cd-be1c26cb7175 2026-03-18 17:09:04,164 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/66887f24-7484-4793-b1cd-be1c26cb7175 2026-03-18 17:09:04,172 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/68350fcc-54f6-4ec1-aff9-77b6224aad70 2026-03-18 17:09:04,180 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-18 17:09:04,180 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/75ff5007-c4f4-47ce-9391-000551235fac 2026-03-18 17:09:04,190 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/66887f24-7484-4793-b1cd-be1c26cb7175 2026-03-18 17:09:04,205 - INFO - Verified VN network id 12 for VN 75ff5007-c4f4-47ce-9391-000551235fac 2026-03-18 17:09:04,205 - INFO - Verifications in API Server for VN ctest-vn-57896500 passed 2026-03-18 17:09:04,206 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/75ff5007-c4f4-47ce-9391-000551235fac 2026-03-18 17:09:04,215 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/66887f24-7484-4793-b1cd-be1c26cb7175 2026-03-18 17:09:04,222 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/66887f24-7484-4793-b1cd-be1c26cb7175 2026-03-18 17:09:04,232 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/68350fcc-54f6-4ec1-aff9-77b6224aad70 2026-03-18 17:09:04,245 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25982012:ctest-vn-57896500', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25982012', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8502602615798122446', 'uuid-lslong': '10633280218034560940'}, 'enable': 'true', 'created': '2026-03-18T17:09:01', 'last-modified': '2026-03-18T17:09:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.458637'} 2026-03-18 17:09:04,252 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-18 17:09:04,252 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57896500 passed 2026-03-18 17:09:04,252 - DEBUG - ====Verifying policy data for ctest-vn-57896500 in API_Server ====== 2026-03-18 17:09:04,252 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-18 17:09:04,260 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1a26233b-a09f-4051-bd45-e53d533a39be 2026-03-18 17:09:04,272 - DEBUG - Requesting: http://10.0.0.38:8082/project/02a4414c-576e-40f2-8c84-48d485f3841d 2026-03-18 17:09:04,344 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/75ff5007-c4f4-47ce-9391-000551235fac 2026-03-18 17:09:04,354 - DEBUG - ==>Verifying data for policy with id: 195733b9-945b-47f2-9180-4dd21b347f4a, fqn: ['default-domain', 'ctest-TestBasicPolicy-25982012', 'ctest-policy-allow-all-11634962'] 2026-03-18 17:09:04,355 - INFO - VN ctest-vn-57896500 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-18 17:09:04,355 - DEBUG - Verifying the vn in opserver 2026-03-18 17:09:04,355 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25982012:ctest-vn-57896500 virtual network link through opserver 10.0.0.38 2026-03-18 17:09:04,355 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-18 17:09:04,366 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25982012:ctest-vn-57896500', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25982012:ctest-vn-57896500?flat'} 2026-03-18 17:09:04,366 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25982012:ctest-vn-57896500 is found in opserver 2026-03-18 17:09:04,377 - DEBUG - Do not have enough data to verify VN in agent 2026-03-18 17:09:04,383 - DEBUG - VRF ids for VN ctest-vn-57896500: {} 2026-03-18 17:09:04,448 - DEBUG - Services list from nova: [, , ] 2026-03-18 17:09:05,533 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5487-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5487-1) 2026-03-18 17:09:06,747 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5487-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5487-1) 2026-03-18 17:09:06,747 - INFO - Waiting for VM ctest-TestBasicPolicy-25982012-83554714 to be up.. 2026-03-18 17:09:06,847 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-18 17:09:11,942 - DEBUG - VM is in ACTIVE state now 2026-03-18 17:09:11,942 - INFO - VM name : ctest-TestBasicPolicy-25982012-83554714 2026-03-18 17:09:12,045 - DEBUG - VM ctest-TestBasicPolicy-25982012-83554714 ID is 281bc7a8-4160-4513-b5f9-c9ed62a51d3e 2026-03-18 17:09:12,070 - DEBUG - VM ctest-TestBasicPolicy-25982012-83554714 launched on Node cn-jenkins-deploy-platform-ansible-os-5487-1 2026-03-18 17:09:12,169 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/281bc7a8-4160-4513-b5f9-c9ed62a51d3e 2026-03-18 17:09:12,181 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/78f7e7f5-f595-4df0-b12b-18e53a2a7b7b 2026-03-18 17:09:15,449 - 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') 2026-03-18 17:09:15,449 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25982012-83554714 failed! 2026-03-18 17:09:15,505 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-25982012:ctest-vn-06699835 is 204.40.213.65 and allocation pool is NOT set 2026-03-18 17:09:17,574 - 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=8.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.468 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.468/4.269/8.070/3.801 ms') 2026-03-18 17:09:17,574 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25982012-83554714 passed 2026-03-18 17:09:17,749 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-18 17:09:17,749 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25982012-83554714, IP 204.40.213.67, Port 22 2026-03-18 17:09:17,921 - DEBUG - VM ctest-TestBasicPolicy-25982012-83554714 is ready for SSH connections 2026-03-18 17:09:17,921 - INFO - Waiting for VM ctest-TestBasicPolicy-25982012-26976655 to be up.. 2026-03-18 17:09:18,046 - DEBUG - VM is in ACTIVE state now 2026-03-18 17:09:18,046 - INFO - VM name : ctest-TestBasicPolicy-25982012-26976655 2026-03-18 17:09:18,137 - DEBUG - VM ctest-TestBasicPolicy-25982012-26976655 ID is c9e50e1f-e5a4-4b1b-aae7-f0ab6a803b4b 2026-03-18 17:09:18,137 - DEBUG - VM ctest-TestBasicPolicy-25982012-26976655 launched on Node cn-jenkins-deploy-platform-ansible-os-5487-1 2026-03-18 17:09:18,230 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c9e50e1f-e5a4-4b1b-aae7-f0ab6a803b4b 2026-03-18 17:09:18,240 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/308b42f3-284e-436e-8ff0-b96b172be107 2026-03-18 17:09:19,485 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.80 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 = 1.798/3.424/5.050/1.626 ms') 2026-03-18 17:09:19,485 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-25982012-26976655 passed 2026-03-18 17:09:19,637 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-18 17:09:19,637 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25982012-26976655, IP 112.215.116.3, Port 22 2026-03-18 17:09:19,807 - DEBUG - VM ctest-TestBasicPolicy-25982012-26976655 is ready for SSH connections 2026-03-18 17:09:19,808 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-18 17:09:19,808 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.215.116.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-18 17:09:19,808 - DEBUG - ping -s 56 -c 3 -W 1 112.215.116.3 2026-03-18 17:09:23,931 - DEBUG - PING 112.215.116.3 (112.215.116.3): 56 data bytes 64 bytes from 112.215.116.3: seq=0 ttl=63 time=4.636 ms 64 bytes from 112.215.116.3: seq=1 ttl=63 time=1.335 ms 64 bytes from 112.215.116.3: seq=2 ttl=63 time=1.241 ms --- 112.215.116.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.241/2.404/4.636 ms 2026-03-18 17:09:23,932 - INFO - Ping to IP 112.215.116.3 from VM ctest-TestBasicPolicy-25982012-83554714 passed 2026-03-18 17:09:24,113 - DEBUG - Policy Update Response {"network-policy": {"uuid": "195733b9-945b-47f2-9180-4dd21b347f4a", "href": "http://10.0.0.38:8082/network-policy/195733b9-945b-47f2-9180-4dd21b347f4a"}} 2026-03-18 17:09:24,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-18 17:09:24,113 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.215.116.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-18 17:09:24,113 - DEBUG - ping -s 56 -c 3 -W 1 112.215.116.3 2026-03-18 17:09:27,324 - DEBUG - PING 112.215.116.3 (112.215.116.3): 56 data bytes --- 112.215.116.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-18 17:09:27,324 - WARNING - Ping to IP 112.215.116.3 from VM ctest-TestBasicPolicy-25982012-83554714 failed 2026-03-18 17:09:27,325 - INFO - Deleting VM ctest-TestBasicPolicy-25982012-26976655 2026-03-18 17:09:27,408 - INFO - Deleting VM ctest-TestBasicPolicy-25982012-83554714 2026-03-18 17:09:27,849 - INFO - Deleted policy ctest-policy-allow-all-11634962 2026-03-18 17:09:27,849 - INFO - Deleting VN ctest-vn-57896500 2026-03-18 17:09:27,887 - DEBUG - VN 75ff5007-c4f4-47ce-9391-000551235fac still in use: Unable to complete operation on network 75ff5007-c4f4-47ce-9391-000551235fac. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5f4428c6-0975-4da0-8a5c-3f96188e5094'] 2026-03-18 17:09:27,888 - WARNING - Deleting VN ctest-vn-57896500 failed..Will retry 2026-03-18 17:09:30,012 - DEBUG - Response for deleting network () 2026-03-18 17:09:30,012 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/66887f24-7484-4793-b1cd-be1c26cb7175 2026-03-18 17:09:30,024 - DEBUG - Response Code: 404 2026-03-18 17:09:30,024 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-18 17:09:30,035 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1a26233b-a09f-4051-bd45-e53d533a39be 2026-03-18 17:09:30,091 - DEBUG - Requesting: http://10.0.0.38:8082/project/02a4414c-576e-40f2-8c84-48d485f3841d 2026-03-18 17:09:30,162 - INFO - Validated that VN ctest-vn-57896500 is not found in API Server 2026-03-18 17:09:30,174 - DEBUG - VN ctest-vn-57896500 is not present in Agent 10.0.0.38 2026-03-18 17:09:30,174 - INFO - Validated that VN ctest-vn-57896500 is not in any agent 2026-03-18 17:09:30,190 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57896500 info 2026-03-18 17:09:30,190 - INFO - Deleting VN ctest-vn-06699835 2026-03-18 17:09:30,289 - DEBUG - Response for deleting network () 2026-03-18 17:09:30,289 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e0c4524c-65b1-49c0-b277-b700fca1913b 2026-03-18 17:09:30,296 - DEBUG - Response Code: 404 2026-03-18 17:09:30,296 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-18 17:09:30,302 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1a26233b-a09f-4051-bd45-e53d533a39be 2026-03-18 17:09:30,354 - DEBUG - Requesting: http://10.0.0.38:8082/project/02a4414c-576e-40f2-8c84-48d485f3841d 2026-03-18 17:09:30,423 - INFO - Validated that VN ctest-vn-06699835 is not found in API Server 2026-03-18 17:09:30,432 - DEBUG - VN ctest-vn-06699835 is not present in Agent 10.0.0.38 2026-03-18 17:09:30,433 - INFO - Validated that VN ctest-vn-06699835 is not in any agent 2026-03-18 17:09:30,449 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06699835 info 2026-03-18 17:09:30,702 - DEBUG - No XMPP flaps were noticed during the test 2026-03-18 17:09:30,703 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-03-18 17:09:30,703 - INFO - -------------------------------------------------------------------------------- 2026-03-18 17:09:31,423 - INFO - Deleted project: ctest-TestBasicPolicy-25982012, ID : 02a4414c-576e-40f2-8c84-48d485f3841d