2026-03-20 21:15:01,981 - INFO - Domain Default found not creating 2026-03-20 21:15:02,129 - INFO - Project ctest-TestBasicPolicy-33572280 not found, creating it 2026-03-20 21:15:02,569 - INFO - Created Project:ctest-TestBasicPolicy-33572280, ID : 4b9c0a3f-9cd5-4712-be0c-6f581659f17a 2026-03-20 21:15:03,979 - INFO - ================================================================================ 2026-03-20 21:15:03,979 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-20 21:15:03,979 - 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 21:15:04,231 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-03-20 21:15:04,231 - INFO - Initial checks done. Running the testcase now 2026-03-20 21:15:04,231 - INFO - 2026-03-20 21:15:04,774 - DEBUG - Response for create_network : {'network': {'id': '72d3299e-4783-4854-9789-42122a68eb01', 'name': 'ctest-vn-64323963', 'tenant_id': '4b9c0a3f9cd54712be0c6f581659f17a', 'project_id': '4b9c0a3f9cd54712be0c6f581659f17a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33572280', 'ctest-vn-64323963'], 'port_security_enabled': True, 'description': ''}} 2026-03-20 21:15:04,906 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd4193bd8-6ea7-418d-8b76-27a5a8252afd', 'name': '', 'tenant_id': '4b9c0a3f9cd54712be0c6f581659f17a', 'network_id': '72d3299e-4783-4854-9789-42122a68eb01', 'ip_version': 4, 'cidr': '25.26.80.128/26', 'allocation_pools': [{'start': '25.26.80.130', 'end': '25.26.80.190'}], 'gateway_ip': '25.26.80.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.26.80.130', 'tags': [], 'project_id': '4b9c0a3f9cd54712be0c6f581659f17a'}} 2026-03-20 21:15:04,923 - INFO - Created VN ctest-vn-64323963 2026-03-20 21:15:04,974 - DEBUG - VN ctest-vn-64323963 UUID is 72d3299e-4783-4854-9789-42122a68eb01 2026-03-20 21:15:05,311 - DEBUG - Response for create_network : {'network': {'id': '425f6b89-30ba-4c06-b63d-146c2c056223', 'name': 'ctest-vn-52191215', 'tenant_id': '4b9c0a3f9cd54712be0c6f581659f17a', 'project_id': '4b9c0a3f9cd54712be0c6f581659f17a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33572280', 'ctest-vn-52191215'], 'port_security_enabled': True, 'description': ''}} 2026-03-20 21:15:05,477 - DEBUG - Response for create_subnet : {'subnet': {'id': '51dab61f-396f-4182-ae00-bc8f024ef403', 'name': '', 'tenant_id': '4b9c0a3f9cd54712be0c6f581659f17a', 'network_id': '425f6b89-30ba-4c06-b63d-146c2c056223', 'ip_version': 4, 'cidr': '87.42.112.128/26', 'allocation_pools': [{'start': '87.42.112.130', 'end': '87.42.112.190'}], 'gateway_ip': '87.42.112.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.42.112.130', 'tags': [], 'project_id': '4b9c0a3f9cd54712be0c6f581659f17a'}} 2026-03-20 21:15:05,493 - INFO - Created VN ctest-vn-52191215 2026-03-20 21:15:05,546 - DEBUG - VN ctest-vn-52191215 UUID is 425f6b89-30ba-4c06-b63d-146c2c056223 2026-03-20 21:15:05,698 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-33572280:ctest-vn-64323963, 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-33572280:ctest-vn-52191215, 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 21:15:05,972 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '72d3299e-4783-4854-9789-42122a68eb01', 'name': 'ctest-vn-64323963', 'tenant_id': '4b9c0a3f9cd54712be0c6f581659f17a', 'project_id': '4b9c0a3f9cd54712be0c6f581659f17a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d4193bd8-6ea7-418d-8b76-27a5a8252afd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33572280', 'ctest-vn-64323963'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33572280', 'ctest-policy-allow-all-03142977']], 'subnet_ipam': [{'subnet_cidr': '25.26.80.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-20 21:15:06,184 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '425f6b89-30ba-4c06-b63d-146c2c056223', 'name': 'ctest-vn-52191215', 'tenant_id': '4b9c0a3f9cd54712be0c6f581659f17a', 'project_id': '4b9c0a3f9cd54712be0c6f581659f17a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['51dab61f-396f-4182-ae00-bc8f024ef403'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33572280', 'ctest-vn-52191215'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33572280', 'ctest-policy-allow-all-03142977']], 'subnet_ipam': [{'subnet_cidr': '87.42.112.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-20 21:15:06,346 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-20 21:15:06,635 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-20 21:15:06,664 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9cf004ce-4702-4a59-bd59-ede0221bf91e 2026-03-20 21:15:06,674 - DEBUG - Requesting: http://10.0.0.38:8082/project/4b9c0a3f-9cd5-4712-be0c-6f581659f17a 2026-03-20 21:15:06,744 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/72d3299e-4783-4854-9789-42122a68eb01 2026-03-20 21:15:06,754 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/72d3299e-4783-4854-9789-42122a68eb01 2026-03-20 21:15:06,761 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/270665dd-6974-40fa-aa9c-6dd4811c7529 2026-03-20 21:15:06,767 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/270665dd-6974-40fa-aa9c-6dd4811c7529 2026-03-20 21:15:06,771 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4b5c8de2-e035-47fa-9ecb-6840f8a55dbf 2026-03-20 21:15:06,776 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-20 21:15:06,776 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/72d3299e-4783-4854-9789-42122a68eb01 2026-03-20 21:15:06,783 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/270665dd-6974-40fa-aa9c-6dd4811c7529 2026-03-20 21:15:06,793 - INFO - Verified VN network id 12 for VN 72d3299e-4783-4854-9789-42122a68eb01 2026-03-20 21:15:06,793 - INFO - Verifications in API Server for VN ctest-vn-64323963 passed 2026-03-20 21:15:06,793 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/72d3299e-4783-4854-9789-42122a68eb01 2026-03-20 21:15:06,800 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/270665dd-6974-40fa-aa9c-6dd4811c7529 2026-03-20 21:15:06,805 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/270665dd-6974-40fa-aa9c-6dd4811c7529 2026-03-20 21:15:06,810 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4b5c8de2-e035-47fa-9ecb-6840f8a55dbf 2026-03-20 21:15:06,819 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33572280:ctest-vn-64323963', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33572280', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8274002700191090772', 'uuid-lslong': '10919331417324841729'}, 'enable': 'true', 'created': '2026-03-20T21:15:04', 'last-modified': '2026-03-20T21:15:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.862806'} 2026-03-20 21:15:06,823 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-20 21:15:06,824 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64323963 passed 2026-03-20 21:15:06,824 - DEBUG - ====Verifying policy data for ctest-vn-64323963 in API_Server ====== 2026-03-20 21:15:06,824 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-20 21:15:06,828 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9cf004ce-4702-4a59-bd59-ede0221bf91e 2026-03-20 21:15:06,838 - DEBUG - Requesting: http://10.0.0.38:8082/project/4b9c0a3f-9cd5-4712-be0c-6f581659f17a 2026-03-20 21:15:06,908 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/72d3299e-4783-4854-9789-42122a68eb01 2026-03-20 21:15:06,917 - DEBUG - ==>Verifying data for policy with id: aa7d0bae-c0aa-48c4-87eb-8067e53c5e77, fqn: ['default-domain', 'ctest-TestBasicPolicy-33572280', 'ctest-policy-allow-all-03142977'] 2026-03-20 21:15:06,917 - INFO - VN ctest-vn-64323963 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-20 21:15:06,918 - DEBUG - Verifying the vn in opserver 2026-03-20 21:15:06,918 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33572280:ctest-vn-64323963 virtual network link through opserver 10.0.0.38 2026-03-20 21:15:06,918 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-20 21:15:07,213 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-20 21:15:07,301 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33572280:ctest-vn-64323963', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33572280:ctest-vn-64323963?flat'} 2026-03-20 21:15:07,301 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33572280:ctest-vn-64323963 is found in opserver 2026-03-20 21:15:07,309 - DEBUG - Do not have enough data to verify VN in agent 2026-03-20 21:15:07,313 - DEBUG - VRF ids for VN ctest-vn-64323963: {} 2026-03-20 21:15:07,313 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-20 21:15:07,322 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9cf004ce-4702-4a59-bd59-ede0221bf91e 2026-03-20 21:15:07,419 - DEBUG - Requesting: http://10.0.0.38:8082/project/4b9c0a3f-9cd5-4712-be0c-6f581659f17a 2026-03-20 21:15:07,513 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/425f6b89-30ba-4c06-b63d-146c2c056223 2026-03-20 21:15:07,539 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/425f6b89-30ba-4c06-b63d-146c2c056223 2026-03-20 21:15:07,551 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d524b93e-f253-4db5-8272-b88e3defadcc 2026-03-20 21:15:07,561 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d524b93e-f253-4db5-8272-b88e3defadcc 2026-03-20 21:15:07,574 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4d8bcba3-7b73-41c4-b452-d8dd14575d5f 2026-03-20 21:15:07,583 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-20 21:15:07,583 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/425f6b89-30ba-4c06-b63d-146c2c056223 2026-03-20 21:15:07,597 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d524b93e-f253-4db5-8272-b88e3defadcc 2026-03-20 21:15:07,613 - INFO - Verified VN network id 13 for VN 425f6b89-30ba-4c06-b63d-146c2c056223 2026-03-20 21:15:07,613 - INFO - Verifications in API Server for VN ctest-vn-52191215 passed 2026-03-20 21:15:07,613 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/425f6b89-30ba-4c06-b63d-146c2c056223 2026-03-20 21:15:07,628 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d524b93e-f253-4db5-8272-b88e3defadcc 2026-03-20 21:15:07,638 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d524b93e-f253-4db5-8272-b88e3defadcc 2026-03-20 21:15:07,646 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4d8bcba3-7b73-41c4-b452-d8dd14575d5f 2026-03-20 21:15:07,665 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33572280:ctest-vn-52191215', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33572280', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4782659566262963206', 'uuid-lslong': '13131674543309808163'}, 'enable': 'true', 'created': '2026-03-20T21:15:05', 'last-modified': '2026-03-20T21:15:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.497412'} 2026-03-20 21:15:07,677 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-20 21:15:07,677 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52191215 passed 2026-03-20 21:15:07,678 - DEBUG - ====Verifying policy data for ctest-vn-52191215 in API_Server ====== 2026-03-20 21:15:07,678 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-20 21:15:07,695 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9cf004ce-4702-4a59-bd59-ede0221bf91e 2026-03-20 21:15:07,765 - DEBUG - Requesting: http://10.0.0.38:8082/project/4b9c0a3f-9cd5-4712-be0c-6f581659f17a 2026-03-20 21:15:07,852 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/425f6b89-30ba-4c06-b63d-146c2c056223 2026-03-20 21:15:07,863 - DEBUG - ==>Verifying data for policy with id: aa7d0bae-c0aa-48c4-87eb-8067e53c5e77, fqn: ['default-domain', 'ctest-TestBasicPolicy-33572280', 'ctest-policy-allow-all-03142977'] 2026-03-20 21:15:07,863 - INFO - VN ctest-vn-52191215 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-20 21:15:07,863 - DEBUG - Verifying the vn in opserver 2026-03-20 21:15:07,863 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33572280:ctest-vn-52191215 virtual network link through opserver 10.0.0.38 2026-03-20 21:15:07,864 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-20 21:15:07,873 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33572280:ctest-vn-52191215', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33572280:ctest-vn-52191215?flat'} 2026-03-20 21:15:07,873 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33572280:ctest-vn-52191215 is found in opserver 2026-03-20 21:15:07,882 - DEBUG - Do not have enough data to verify VN in agent 2026-03-20 21:15:07,886 - DEBUG - VRF ids for VN ctest-vn-52191215: {} 2026-03-20 21:15:07,938 - DEBUG - Services list from nova: [, , ] 2026-03-20 21:15:08,895 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5507-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5507-1) 2026-03-20 21:15:09,975 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5507-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5507-1) 2026-03-20 21:15:09,975 - INFO - Waiting for VM ctest-TestBasicPolicy-33572280-63757150 to be up.. 2026-03-20 21:15:10,055 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-20 21:15:15,131 - DEBUG - VM is in ACTIVE state now 2026-03-20 21:15:15,131 - INFO - VM name : ctest-TestBasicPolicy-33572280-63757150 2026-03-20 21:15:15,206 - DEBUG - VM ctest-TestBasicPolicy-33572280-63757150 ID is e1dcf62b-531e-4798-a663-d43f2689c2ab 2026-03-20 21:15:15,228 - DEBUG - VM ctest-TestBasicPolicy-33572280-63757150 launched on Node cn-jenkins-deploy-platform-ansible-os-5507-1 2026-03-20 21:15:15,297 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e1dcf62b-531e-4798-a663-d43f2689c2ab 2026-03-20 21:15:15,304 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d00455c3-308e-436b-9791-be3b9817a8e0 2026-03-20 21:15:18,560 - 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 1022ms') 2026-03-20 21:15:18,560 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33572280-63757150 failed! 2026-03-20 21:15:18,614 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-33572280:ctest-vn-64323963 is 25.26.80.129 and allocation pool is NOT set 2026-03-20 21:15:20,677 - 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=4.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.46 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 = 1.459/3.173/4.888/1.714 ms') 2026-03-20 21:15:20,677 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33572280-63757150 passed 2026-03-20 21:15:20,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-20 21:15:20,826 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33572280-63757150, IP 25.26.80.131, Port 22 2026-03-20 21:15:20,981 - DEBUG - VM ctest-TestBasicPolicy-33572280-63757150 is ready for SSH connections 2026-03-20 21:15:20,981 - INFO - Waiting for VM ctest-TestBasicPolicy-33572280-76759367 to be up.. 2026-03-20 21:15:21,052 - DEBUG - VM is in ACTIVE state now 2026-03-20 21:15:21,052 - INFO - VM name : ctest-TestBasicPolicy-33572280-76759367 2026-03-20 21:15:21,116 - DEBUG - VM ctest-TestBasicPolicy-33572280-76759367 ID is cda181c6-d19a-44a2-9e57-23c88286a2c3 2026-03-20 21:15:21,116 - DEBUG - VM ctest-TestBasicPolicy-33572280-76759367 launched on Node cn-jenkins-deploy-platform-ansible-os-5507-1 2026-03-20 21:15:21,179 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cda181c6-d19a-44a2-9e57-23c88286a2c3 2026-03-20 21:15:21,186 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9df539fe-beb0-474e-ba6e-10b37a950b47 2026-03-20 21:15:22,426 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.415 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.415/1.526/2.637/1.111 ms') 2026-03-20 21:15:22,426 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-33572280-76759367 passed 2026-03-20 21:15:22,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-20 21:15:22,574 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33572280-76759367, IP 87.42.112.131, Port 22 2026-03-20 21:15:22,725 - DEBUG - VM ctest-TestBasicPolicy-33572280-76759367 is ready for SSH connections 2026-03-20 21:15:22,725 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-20 21:15:22,725 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.42.112.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-20 21:15:22,725 - DEBUG - ping -s 56 -c 3 -W 1 87.42.112.131 2026-03-20 21:15:26,390 - DEBUG - PING 87.42.112.131 (87.42.112.131): 56 data bytes 64 bytes from 87.42.112.131: seq=0 ttl=63 time=8.167 ms 64 bytes from 87.42.112.131: seq=1 ttl=63 time=0.857 ms 64 bytes from 87.42.112.131: seq=2 ttl=63 time=0.792 ms --- 87.42.112.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.792/3.272/8.167 ms 2026-03-20 21:15:26,391 - INFO - Ping to IP 87.42.112.131 from VM ctest-TestBasicPolicy-33572280-63757150 passed 2026-03-20 21:15:26,570 - DEBUG - Policy Update Response {"network-policy": {"uuid": "aa7d0bae-c0aa-48c4-87eb-8067e53c5e77", "href": "http://10.0.0.38:8082/network-policy/aa7d0bae-c0aa-48c4-87eb-8067e53c5e77"}} 2026-03-20 21:15:26,570 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-20 21:15:26,570 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.42.112.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-20 21:15:26,570 - DEBUG - ping -s 56 -c 3 -W 1 87.42.112.131 2026-03-20 21:15:29,781 - DEBUG - PING 87.42.112.131 (87.42.112.131): 56 data bytes --- 87.42.112.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-20 21:15:29,781 - WARNING - Ping to IP 87.42.112.131 from VM ctest-TestBasicPolicy-33572280-63757150 failed 2026-03-20 21:15:29,781 - INFO - Deleting VM ctest-TestBasicPolicy-33572280-76759367 2026-03-20 21:15:29,840 - INFO - Deleting VM ctest-TestBasicPolicy-33572280-63757150 2026-03-20 21:15:30,167 - INFO - Deleted policy ctest-policy-allow-all-03142977 2026-03-20 21:15:30,167 - INFO - Deleting VN ctest-vn-52191215 2026-03-20 21:15:30,199 - DEBUG - VN 425f6b89-30ba-4c06-b63d-146c2c056223 still in use: Unable to complete operation on network 425f6b89-30ba-4c06-b63d-146c2c056223. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ae3347c7-754c-49f5-a6f8-d91bb3250bec'] 2026-03-20 21:15:30,200 - WARNING - Deleting VN ctest-vn-52191215 failed..Will retry 2026-03-20 21:15:32,286 - DEBUG - Response for deleting network () 2026-03-20 21:15:32,286 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d524b93e-f253-4db5-8272-b88e3defadcc 2026-03-20 21:15:32,292 - DEBUG - Response Code: 404 2026-03-20 21:15:32,292 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-20 21:15:32,298 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9cf004ce-4702-4a59-bd59-ede0221bf91e 2026-03-20 21:15:32,352 - DEBUG - Requesting: http://10.0.0.38:8082/project/4b9c0a3f-9cd5-4712-be0c-6f581659f17a 2026-03-20 21:15:32,421 - INFO - Validated that VN ctest-vn-52191215 is not found in API Server 2026-03-20 21:15:32,430 - DEBUG - VN ctest-vn-52191215 is not present in Agent 10.0.0.38 2026-03-20 21:15:32,430 - INFO - Validated that VN ctest-vn-52191215 is not in any agent 2026-03-20 21:15:32,441 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52191215 info 2026-03-20 21:15:32,441 - INFO - Deleting VN ctest-vn-64323963 2026-03-20 21:15:32,531 - DEBUG - Response for deleting network () 2026-03-20 21:15:32,531 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/270665dd-6974-40fa-aa9c-6dd4811c7529 2026-03-20 21:15:32,536 - DEBUG - Response Code: 404 2026-03-20 21:15:32,537 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-20 21:15:32,542 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9cf004ce-4702-4a59-bd59-ede0221bf91e 2026-03-20 21:15:32,594 - DEBUG - Requesting: http://10.0.0.38:8082/project/4b9c0a3f-9cd5-4712-be0c-6f581659f17a 2026-03-20 21:15:32,661 - INFO - Validated that VN ctest-vn-64323963 is not found in API Server 2026-03-20 21:15:32,669 - DEBUG - VN ctest-vn-64323963 is not present in Agent 10.0.0.38 2026-03-20 21:15:32,669 - INFO - Validated that VN ctest-vn-64323963 is not in any agent 2026-03-20 21:15:32,681 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64323963 info 2026-03-20 21:15:32,943 - DEBUG - No XMPP flaps were noticed during the test
2026-03-20 21:15:32,943 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-03-20 21:15:32,943 - INFO - -------------------------------------------------------------------------------- 2026-03-20 21:15:33,619 - INFO - Deleted project: ctest-TestBasicPolicy-33572280, ID : 4b9c0a3f-9cd5-4712-be0c-6f581659f17a