2026-03-20 10:27:57,691 - INFO - Domain Default found not creating 2026-03-20 10:27:57,849 - INFO - Project ctest-TestBasicPolicy-36396405 not found, creating it 2026-03-20 10:27:58,311 - INFO - Created Project:ctest-TestBasicPolicy-36396405, ID : 14433074-2a6a-496a-9ffa-d1613569d070 2026-03-20 10:27:59,722 - INFO - ================================================================================ 2026-03-20 10:27:59,722 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-20 10:27:59,722 - 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-20 10:27:59,976 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-03-20 10:27:59,976 - INFO - Initial checks done. Running the testcase now 2026-03-20 10:27:59,976 - INFO - 2026-03-20 10:28:00,497 - DEBUG - Response for create_network : {'network': {'id': '37db3a3e-8ad6-42fe-bd2a-eb15f648c5cb', 'name': 'ctest-vn-10650186', 'tenant_id': '144330742a6a496a9ffad1613569d070', 'project_id': '144330742a6a496a9ffad1613569d070', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36396405', 'ctest-vn-10650186'], 'port_security_enabled': True, 'description': ''}} 2026-03-20 10:28:00,678 - DEBUG - Response for create_subnet : {'subnet': {'id': '60977fb9-4a36-4b33-a997-2038ee1a22a3', 'name': '', 'tenant_id': '144330742a6a496a9ffad1613569d070', 'network_id': '37db3a3e-8ad6-42fe-bd2a-eb15f648c5cb', 'ip_version': 4, 'cidr': '109.137.252.192/26', 'allocation_pools': [{'start': '109.137.252.194', 'end': '109.137.252.254'}], 'gateway_ip': '109.137.252.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.137.252.194', 'tags': [], 'project_id': '144330742a6a496a9ffad1613569d070'}} 2026-03-20 10:28:00,694 - INFO - Created VN ctest-vn-10650186 2026-03-20 10:28:00,747 - DEBUG - VN ctest-vn-10650186 UUID is 37db3a3e-8ad6-42fe-bd2a-eb15f648c5cb 2026-03-20 10:28:01,054 - DEBUG - Response for create_network : {'network': {'id': 'eacc9400-0892-4cdf-bc43-bf422ebc206f', 'name': 'ctest-vn-51886441', 'tenant_id': '144330742a6a496a9ffad1613569d070', 'project_id': '144330742a6a496a9ffad1613569d070', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36396405', 'ctest-vn-51886441'], 'port_security_enabled': True, 'description': ''}} 2026-03-20 10:28:01,222 - DEBUG - Response for create_subnet : {'subnet': {'id': '55ad44f4-0b2d-4ab4-b09d-31acb5d66600', 'name': '', 'tenant_id': '144330742a6a496a9ffad1613569d070', 'network_id': 'eacc9400-0892-4cdf-bc43-bf422ebc206f', 'ip_version': 4, 'cidr': '104.252.241.192/26', 'allocation_pools': [{'start': '104.252.241.194', 'end': '104.252.241.254'}], 'gateway_ip': '104.252.241.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.252.241.194', 'tags': [], 'project_id': '144330742a6a496a9ffad1613569d070'}} 2026-03-20 10:28:01,239 - INFO - Created VN ctest-vn-51886441 2026-03-20 10:28:01,291 - DEBUG - VN ctest-vn-51886441 UUID is eacc9400-0892-4cdf-bc43-bf422ebc206f 2026-03-20 10:28:01,439 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-36396405:ctest-vn-10650186, 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-36396405:ctest-vn-51886441, 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-20 10:28:01,722 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '37db3a3e-8ad6-42fe-bd2a-eb15f648c5cb', 'name': 'ctest-vn-10650186', 'tenant_id': '144330742a6a496a9ffad1613569d070', 'project_id': '144330742a6a496a9ffad1613569d070', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['60977fb9-4a36-4b33-a997-2038ee1a22a3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36396405', 'ctest-vn-10650186'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36396405', 'ctest-policy-allow-all-51308949']], 'subnet_ipam': [{'subnet_cidr': '109.137.252.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-20 10:28:02,004 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eacc9400-0892-4cdf-bc43-bf422ebc206f', 'name': 'ctest-vn-51886441', 'tenant_id': '144330742a6a496a9ffad1613569d070', 'project_id': '144330742a6a496a9ffad1613569d070', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['55ad44f4-0b2d-4ab4-b09d-31acb5d66600'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36396405', 'ctest-vn-51886441'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36396405', 'ctest-policy-allow-all-51308949']], 'subnet_ipam': [{'subnet_cidr': '104.252.241.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-20 10:28:02,151 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-20 10:28:02,633 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-20 10:28:02,680 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cc2a1751-e2eb-43f1-8209-5edd2d301d6a 2026-03-20 10:28:02,695 - DEBUG - Requesting: http://10.0.0.38:8082/project/14433074-2a6a-496a-9ffa-d1613569d070 2026-03-20 10:28:02,771 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/37db3a3e-8ad6-42fe-bd2a-eb15f648c5cb 2026-03-20 10:28:02,781 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/37db3a3e-8ad6-42fe-bd2a-eb15f648c5cb 2026-03-20 10:28:02,790 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c3c33d44-b998-4170-bb1f-4d44dc7b6895 2026-03-20 10:28:02,797 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c3c33d44-b998-4170-bb1f-4d44dc7b6895 2026-03-20 10:28:02,803 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b59b2fdc-bc0c-4723-b4a2-27a2b12a5890 2026-03-20 10:28:02,808 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-20 10:28:02,808 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/37db3a3e-8ad6-42fe-bd2a-eb15f648c5cb 2026-03-20 10:28:02,816 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c3c33d44-b998-4170-bb1f-4d44dc7b6895 2026-03-20 10:28:02,829 - INFO - Verified VN network id 11 for VN 37db3a3e-8ad6-42fe-bd2a-eb15f648c5cb 2026-03-20 10:28:02,829 - INFO - Verifications in API Server for VN ctest-vn-10650186 passed 2026-03-20 10:28:02,829 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/37db3a3e-8ad6-42fe-bd2a-eb15f648c5cb 2026-03-20 10:28:02,838 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c3c33d44-b998-4170-bb1f-4d44dc7b6895 2026-03-20 10:28:02,844 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c3c33d44-b998-4170-bb1f-4d44dc7b6895 2026-03-20 10:28:02,851 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b59b2fdc-bc0c-4723-b4a2-27a2b12a5890 2026-03-20 10:28:02,861 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36396405:ctest-vn-10650186', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36396405', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4024874732277351166', 'uuid-lslong': '13630965701749032395'}, 'enable': 'true', 'created': '2026-03-20T10:28:00', 'last-modified': '2026-03-20T10:28:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.157181'} 2026-03-20 10:28:02,868 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-20 10:28:02,869 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10650186 passed 2026-03-20 10:28:02,869 - DEBUG - ====Verifying policy data for ctest-vn-10650186 in API_Server ====== 2026-03-20 10:28:02,869 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-20 10:28:02,874 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cc2a1751-e2eb-43f1-8209-5edd2d301d6a 2026-03-20 10:28:02,885 - DEBUG - Requesting: http://10.0.0.38:8082/project/14433074-2a6a-496a-9ffa-d1613569d070 2026-03-20 10:28:02,951 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/37db3a3e-8ad6-42fe-bd2a-eb15f648c5cb 2026-03-20 10:28:02,960 - DEBUG - ==>Verifying data for policy with id: db55df80-3079-460b-9ddb-491e92ea92b4, fqn: ['default-domain', 'ctest-TestBasicPolicy-36396405', 'ctest-policy-allow-all-51308949'] 2026-03-20 10:28:02,960 - INFO - VN ctest-vn-10650186 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-20 10:28:02,960 - DEBUG - Verifying the vn in opserver 2026-03-20 10:28:02,960 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36396405:ctest-vn-10650186 virtual network link through opserver 10.0.0.38 2026-03-20 10:28:02,960 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-20 10:28:03,283 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-20 10:28:03,371 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36396405:ctest-vn-10650186', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36396405:ctest-vn-10650186?flat'} 2026-03-20 10:28:03,372 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36396405:ctest-vn-10650186 is found in opserver 2026-03-20 10:28:03,382 - DEBUG - Do not have enough data to verify VN in agent 2026-03-20 10:28:03,388 - DEBUG - VRF ids for VN ctest-vn-10650186: {} 2026-03-20 10:28:03,388 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-20 10:28:03,393 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cc2a1751-e2eb-43f1-8209-5edd2d301d6a 2026-03-20 10:28:03,404 - DEBUG - Requesting: http://10.0.0.38:8082/project/14433074-2a6a-496a-9ffa-d1613569d070 2026-03-20 10:28:03,471 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eacc9400-0892-4cdf-bc43-bf422ebc206f 2026-03-20 10:28:03,482 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eacc9400-0892-4cdf-bc43-bf422ebc206f 2026-03-20 10:28:03,492 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2880bd7a-4db2-444f-9f8b-844249a38be1 2026-03-20 10:28:03,499 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2880bd7a-4db2-444f-9f8b-844249a38be1 2026-03-20 10:28:03,506 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/080b8181-a15b-4879-ab7c-50672a37ab5f 2026-03-20 10:28:03,511 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-20 10:28:03,512 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eacc9400-0892-4cdf-bc43-bf422ebc206f 2026-03-20 10:28:03,520 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2880bd7a-4db2-444f-9f8b-844249a38be1 2026-03-20 10:28:03,532 - INFO - Verified VN network id 12 for VN eacc9400-0892-4cdf-bc43-bf422ebc206f 2026-03-20 10:28:03,533 - INFO - Verifications in API Server for VN ctest-vn-51886441 passed 2026-03-20 10:28:03,533 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eacc9400-0892-4cdf-bc43-bf422ebc206f 2026-03-20 10:28:03,541 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2880bd7a-4db2-444f-9f8b-844249a38be1 2026-03-20 10:28:03,548 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2880bd7a-4db2-444f-9f8b-844249a38be1 2026-03-20 10:28:03,555 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/080b8181-a15b-4879-ab7c-50672a37ab5f 2026-03-20 10:28:03,566 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36396405:ctest-vn-51886441', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36396405', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16919060627988827359', 'uuid-lslong': '13565896793542893679'}, 'enable': 'true', 'created': '2026-03-20T10:28:01', 'last-modified': '2026-03-20T10:28:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.634367'} 2026-03-20 10:28:03,572 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-20 10:28:03,572 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51886441 passed 2026-03-20 10:28:03,572 - DEBUG - ====Verifying policy data for ctest-vn-51886441 in API_Server ====== 2026-03-20 10:28:03,572 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-20 10:28:03,578 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cc2a1751-e2eb-43f1-8209-5edd2d301d6a 2026-03-20 10:28:03,588 - DEBUG - Requesting: http://10.0.0.38:8082/project/14433074-2a6a-496a-9ffa-d1613569d070 2026-03-20 10:28:03,660 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eacc9400-0892-4cdf-bc43-bf422ebc206f 2026-03-20 10:28:03,669 - DEBUG - ==>Verifying data for policy with id: db55df80-3079-460b-9ddb-491e92ea92b4, fqn: ['default-domain', 'ctest-TestBasicPolicy-36396405', 'ctest-policy-allow-all-51308949'] 2026-03-20 10:28:03,669 - INFO - VN ctest-vn-51886441 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-20 10:28:03,669 - DEBUG - Verifying the vn in opserver 2026-03-20 10:28:03,669 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36396405:ctest-vn-51886441 virtual network link through opserver 10.0.0.38 2026-03-20 10:28:03,669 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-20 10:28:03,677 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36396405:ctest-vn-51886441', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36396405:ctest-vn-51886441?flat'} 2026-03-20 10:28:03,677 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36396405:ctest-vn-51886441 is found in opserver 2026-03-20 10:28:03,687 - DEBUG - Do not have enough data to verify VN in agent 2026-03-20 10:28:03,691 - DEBUG - VRF ids for VN ctest-vn-51886441: {} 2026-03-20 10:28:03,749 - DEBUG - Services list from nova: [, , ] 2026-03-20 10:28:04,733 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5504-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5504-1) 2026-03-20 10:28:05,859 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5504-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5504-1) 2026-03-20 10:28:05,859 - INFO - Waiting for VM ctest-TestBasicPolicy-36396405-10273405 to be up.. 2026-03-20 10:28:05,932 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-20 10:28:11,008 - DEBUG - VM is in ACTIVE state now 2026-03-20 10:28:11,008 - INFO - VM name : ctest-TestBasicPolicy-36396405-10273405 2026-03-20 10:28:11,098 - DEBUG - VM ctest-TestBasicPolicy-36396405-10273405 ID is a7f0897d-7fb1-466c-9db3-f6e1b4f290c7 2026-03-20 10:28:11,119 - DEBUG - VM ctest-TestBasicPolicy-36396405-10273405 launched on Node cn-jenkins-deploy-platform-ansible-os-5504-1 2026-03-20 10:28:11,199 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a7f0897d-7fb1-466c-9db3-f6e1b4f290c7 2026-03-20 10:28:11,207 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f2003785-f8c7-43a9-95fa-5183d997c257 2026-03-20 10:28:14,458 - 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 1019ms') 2026-03-20 10:28:14,458 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36396405-10273405 failed! 2026-03-20 10:28:14,515 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36396405:ctest-vn-10650186 is 109.137.252.193 and allocation pool is NOT set 2026-03-20 10:28:16,578 - 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.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.421 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.421/1.983/3.546/1.562 ms') 2026-03-20 10:28:16,578 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36396405-10273405 passed 2026-03-20 10:28:16,727 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-20 10:28:16,727 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36396405-10273405, IP 109.137.252.195, Port 22 2026-03-20 10:28:16,882 - DEBUG - VM ctest-TestBasicPolicy-36396405-10273405 is ready for SSH connections 2026-03-20 10:28:16,882 - INFO - Waiting for VM ctest-TestBasicPolicy-36396405-65218804 to be up.. 2026-03-20 10:28:16,951 - DEBUG - VM is in ACTIVE state now 2026-03-20 10:28:16,952 - INFO - VM name : ctest-TestBasicPolicy-36396405-65218804 2026-03-20 10:28:17,025 - DEBUG - VM ctest-TestBasicPolicy-36396405-65218804 ID is d04df50a-8c17-42b5-a40c-c4b5852e516b 2026-03-20 10:28:17,025 - DEBUG - VM ctest-TestBasicPolicy-36396405-65218804 launched on Node cn-jenkins-deploy-platform-ansible-os-5504-1 2026-03-20 10:28:17,098 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d04df50a-8c17-42b5-a40c-c4b5852e516b 2026-03-20 10:28:17,107 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4d730b87-f9a4-4df2-a823-5eee79160ec9 2026-03-20 10:28:18,344 - 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.39 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.807 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.807/2.100/3.393/1.293 ms') 2026-03-20 10:28:18,344 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-36396405-65218804 passed 2026-03-20 10:28:18,491 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-20 10:28:18,491 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36396405-65218804, IP 104.252.241.195, Port 22 2026-03-20 10:28:18,646 - DEBUG - VM ctest-TestBasicPolicy-36396405-65218804 is ready for SSH connections 2026-03-20 10:28:18,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-20 10:28:18,647 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.252.241.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-20 10:28:18,647 - DEBUG - ping -s 56 -c 3 -W 1 104.252.241.195 2026-03-20 10:28:22,617 - DEBUG - PING 104.252.241.195 (104.252.241.195): 56 data bytes 64 bytes from 104.252.241.195: seq=0 ttl=63 time=3.157 ms 64 bytes from 104.252.241.195: seq=1 ttl=63 time=0.755 ms 64 bytes from 104.252.241.195: seq=2 ttl=63 time=0.802 ms --- 104.252.241.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.755/1.571/3.157 ms 2026-03-20 10:28:22,617 - INFO - Ping to IP 104.252.241.195 from VM ctest-TestBasicPolicy-36396405-10273405 passed 2026-03-20 10:28:22,791 - DEBUG - Policy Update Response {"network-policy": {"uuid": "db55df80-3079-460b-9ddb-491e92ea92b4", "href": "http://10.0.0.38:8082/network-policy/db55df80-3079-460b-9ddb-491e92ea92b4"}} 2026-03-20 10:28:22,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-20 10:28:22,791 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.252.241.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-20 10:28:22,791 - DEBUG - ping -s 56 -c 3 -W 1 104.252.241.195 2026-03-20 10:28:26,010 - DEBUG - PING 104.252.241.195 (104.252.241.195): 56 data bytes --- 104.252.241.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-20 10:28:26,010 - WARNING - Ping to IP 104.252.241.195 from VM ctest-TestBasicPolicy-36396405-10273405 failed 2026-03-20 10:28:26,010 - INFO - Deleting VM ctest-TestBasicPolicy-36396405-65218804 2026-03-20 10:28:26,082 - INFO - Deleting VM ctest-TestBasicPolicy-36396405-10273405 2026-03-20 10:28:26,437 - INFO - Deleted policy ctest-policy-allow-all-51308949 2026-03-20 10:28:26,438 - INFO - Deleting VN ctest-vn-51886441 2026-03-20 10:28:26,469 - DEBUG - VN eacc9400-0892-4cdf-bc43-bf422ebc206f still in use: Unable to complete operation on network eacc9400-0892-4cdf-bc43-bf422ebc206f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-739c7a13-c227-4dd3-8ee7-e63e780e4663'] 2026-03-20 10:28:26,469 - WARNING - Deleting VN ctest-vn-51886441 failed..Will retry 2026-03-20 10:28:28,560 - DEBUG - Response for deleting network () 2026-03-20 10:28:28,562 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2880bd7a-4db2-444f-9f8b-844249a38be1 2026-03-20 10:28:28,567 - DEBUG - Response Code: 404 2026-03-20 10:28:28,567 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-20 10:28:28,571 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cc2a1751-e2eb-43f1-8209-5edd2d301d6a 2026-03-20 10:28:28,624 - DEBUG - Requesting: http://10.0.0.38:8082/project/14433074-2a6a-496a-9ffa-d1613569d070 2026-03-20 10:28:28,690 - INFO - Validated that VN ctest-vn-51886441 is not found in API Server 2026-03-20 10:28:28,700 - DEBUG - VN ctest-vn-51886441 is not present in Agent 10.0.0.38 2026-03-20 10:28:28,700 - INFO - Validated that VN ctest-vn-51886441 is not in any agent 2026-03-20 10:28:28,714 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51886441 info 2026-03-20 10:28:28,714 - INFO - Deleting VN ctest-vn-10650186 2026-03-20 10:28:28,812 - DEBUG - Response for deleting network () 2026-03-20 10:28:28,812 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c3c33d44-b998-4170-bb1f-4d44dc7b6895 2026-03-20 10:28:28,817 - DEBUG - Response Code: 404 2026-03-20 10:28:28,817 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-20 10:28:28,822 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cc2a1751-e2eb-43f1-8209-5edd2d301d6a 2026-03-20 10:28:28,875 - DEBUG - Requesting: http://10.0.0.38:8082/project/14433074-2a6a-496a-9ffa-d1613569d070 2026-03-20 10:28:28,945 - INFO - Validated that VN ctest-vn-10650186 is not found in API Server 2026-03-20 10:28:28,954 - DEBUG - VN ctest-vn-10650186 is not present in Agent 10.0.0.38 2026-03-20 10:28:28,954 - INFO - Validated that VN ctest-vn-10650186 is not in any agent 2026-03-20 10:28:28,966 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10650186 info 2026-03-20 10:28:29,220 - DEBUG - No XMPP flaps were noticed during the test
2026-03-20 10:28:29,220 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-03-20 10:28:29,220 - INFO - -------------------------------------------------------------------------------- 2026-03-20 10:28:29,878 - INFO - Deleted project: ctest-TestBasicPolicy-36396405, ID : 14433074-2a6a-496a-9ffa-d1613569d070