2026-03-18 19:44:39,834 - INFO - Domain Default found not creating 2026-03-18 19:44:40,192 - INFO - Project ctest-TestBasicPolicy-16509350 not found, creating it 2026-03-18 19:44:40,696 - INFO - Created Project:ctest-TestBasicPolicy-16509350, ID : 98d3e328-2de4-4e36-88e8-9a27a242c27f 2026-03-18 19:44:42,546 - INFO - ================================================================================ 2026-03-18 19:44:42,547 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-18 19:44:42,548 - 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 19:44:42,888 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-03-18 19:44:42,889 - INFO - Initial checks done. Running the testcase now 2026-03-18 19:44:42,889 - INFO - 2026-03-18 19:44:43,570 - DEBUG - Response for create_network : {'network': {'id': 'f3e017b1-090b-4614-b3f3-4e2ebbd305ae', 'name': 'ctest-vn-54041205', 'tenant_id': '98d3e3282de44e3688e89a27a242c27f', 'project_id': '98d3e3282de44e3688e89a27a242c27f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16509350', 'ctest-vn-54041205'], 'port_security_enabled': True, 'description': ''}} 2026-03-18 19:44:43,814 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c9ea8b5-6e1d-434d-bcdf-c24f9fedfa85', 'name': '', 'tenant_id': '98d3e3282de44e3688e89a27a242c27f', 'network_id': 'f3e017b1-090b-4614-b3f3-4e2ebbd305ae', 'ip_version': 4, 'cidr': '214.155.152.192/26', 'allocation_pools': [{'start': '214.155.152.194', 'end': '214.155.152.254'}], 'gateway_ip': '214.155.152.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.155.152.194', 'tags': [], 'project_id': '98d3e3282de44e3688e89a27a242c27f'}} 2026-03-18 19:44:43,841 - INFO - Created VN ctest-vn-54041205 2026-03-18 19:44:43,902 - DEBUG - VN ctest-vn-54041205 UUID is f3e017b1-090b-4614-b3f3-4e2ebbd305ae 2026-03-18 19:44:44,420 - DEBUG - Response for create_network : {'network': {'id': 'aacf449f-dc59-4755-84c7-713ffc90de92', 'name': 'ctest-vn-13145386', 'tenant_id': '98d3e3282de44e3688e89a27a242c27f', 'project_id': '98d3e3282de44e3688e89a27a242c27f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16509350', 'ctest-vn-13145386'], 'port_security_enabled': True, 'description': ''}} 2026-03-18 19:44:44,585 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e47bf36a-1506-44aa-bbed-872919e572a9', 'name': '', 'tenant_id': '98d3e3282de44e3688e89a27a242c27f', 'network_id': 'aacf449f-dc59-4755-84c7-713ffc90de92', 'ip_version': 4, 'cidr': '83.25.254.192/26', 'allocation_pools': [{'start': '83.25.254.194', 'end': '83.25.254.254'}], 'gateway_ip': '83.25.254.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.25.254.194', 'tags': [], 'project_id': '98d3e3282de44e3688e89a27a242c27f'}} 2026-03-18 19:44:44,606 - INFO - Created VN ctest-vn-13145386 2026-03-18 19:44:44,660 - DEBUG - VN ctest-vn-13145386 UUID is aacf449f-dc59-4755-84c7-713ffc90de92 2026-03-18 19:44:44,792 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-16509350:ctest-vn-54041205, 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-16509350:ctest-vn-13145386, 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 19:44:45,155 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f3e017b1-090b-4614-b3f3-4e2ebbd305ae', 'name': 'ctest-vn-54041205', 'tenant_id': '98d3e3282de44e3688e89a27a242c27f', 'project_id': '98d3e3282de44e3688e89a27a242c27f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3c9ea8b5-6e1d-434d-bcdf-c24f9fedfa85'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16509350', 'ctest-vn-54041205'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16509350', 'ctest-policy-allow-all-20569371']], 'subnet_ipam': [{'subnet_cidr': '214.155.152.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-18 19:44:45,454 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'aacf449f-dc59-4755-84c7-713ffc90de92', 'name': 'ctest-vn-13145386', 'tenant_id': '98d3e3282de44e3688e89a27a242c27f', 'project_id': '98d3e3282de44e3688e89a27a242c27f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e47bf36a-1506-44aa-bbed-872919e572a9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16509350', 'ctest-vn-13145386'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16509350', 'ctest-policy-allow-all-20569371']], 'subnet_ipam': [{'subnet_cidr': '83.25.254.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-18 19:44:45,637 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-18 19:44:45,948 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-18 19:44:46,041 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d67fdacd-c7c7-4aed-8c72-fe2ee799f392 2026-03-18 19:44:46,074 - DEBUG - Requesting: http://10.0.0.33:8082/project/98d3e328-2de4-4e36-88e8-9a27a242c27f 2026-03-18 19:44:46,182 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f3e017b1-090b-4614-b3f3-4e2ebbd305ae 2026-03-18 19:44:46,207 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f3e017b1-090b-4614-b3f3-4e2ebbd305ae 2026-03-18 19:44:46,224 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b61abe9d-c9a5-442b-80dc-b2abd7d1c630 2026-03-18 19:44:46,235 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b61abe9d-c9a5-442b-80dc-b2abd7d1c630 2026-03-18 19:44:46,244 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/9db03045-e0bb-4ff7-9b83-7fe06d989531 2026-03-18 19:44:46,254 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-18 19:44:46,254 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f3e017b1-090b-4614-b3f3-4e2ebbd305ae 2026-03-18 19:44:46,275 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b61abe9d-c9a5-442b-80dc-b2abd7d1c630 2026-03-18 19:44:46,303 - INFO - Verified VN network id 9 for VN f3e017b1-090b-4614-b3f3-4e2ebbd305ae 2026-03-18 19:44:46,303 - INFO - Verifications in API Server for VN ctest-vn-54041205 passed 2026-03-18 19:44:46,303 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f3e017b1-090b-4614-b3f3-4e2ebbd305ae 2026-03-18 19:44:46,324 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b61abe9d-c9a5-442b-80dc-b2abd7d1c630 2026-03-18 19:44:46,337 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b61abe9d-c9a5-442b-80dc-b2abd7d1c630 2026-03-18 19:44:46,349 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/9db03045-e0bb-4ff7-9b83-7fe06d989531 2026-03-18 19:44:46,371 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16509350:ctest-vn-54041205', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16509350', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17573071795128059412', 'uuid-lslong': '12966793714756421038'}, 'enable': 'true', 'created': '2026-03-18T19:44:43', 'last-modified': '2026-03-18T19:44:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.237789'} 2026-03-18 19:44:46,382 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-18 19:44:46,382 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54041205 passed 2026-03-18 19:44:46,383 - DEBUG - ====Verifying policy data for ctest-vn-54041205 in API_Server ====== 2026-03-18 19:44:46,383 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-18 19:44:46,394 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d67fdacd-c7c7-4aed-8c72-fe2ee799f392 2026-03-18 19:44:46,412 - DEBUG - Requesting: http://10.0.0.33:8082/project/98d3e328-2de4-4e36-88e8-9a27a242c27f 2026-03-18 19:44:46,509 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f3e017b1-090b-4614-b3f3-4e2ebbd305ae 2026-03-18 19:44:46,526 - DEBUG - ==>Verifying data for policy with id: 447d3e45-58f9-42c7-b1dd-6de69eee2db2, fqn: ['default-domain', 'ctest-TestBasicPolicy-16509350', 'ctest-policy-allow-all-20569371'] 2026-03-18 19:44:46,526 - INFO - VN ctest-vn-54041205 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-18 19:44:46,526 - DEBUG - Verifying the vn in opserver 2026-03-18 19:44:46,526 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16509350:ctest-vn-54041205 virtual network link through opserver 10.0.0.33 2026-03-18 19:44:46,526 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-18 19:44:46,862 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-18 19:44:46,933 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16509350:ctest-vn-54041205', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16509350:ctest-vn-54041205?flat'} 2026-03-18 19:44:46,933 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16509350:ctest-vn-54041205 is found in opserver 2026-03-18 19:44:46,952 - DEBUG - Do not have enough data to verify VN in agent 2026-03-18 19:44:46,962 - DEBUG - VRF ids for VN ctest-vn-54041205: {} 2026-03-18 19:44:46,962 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-18 19:44:46,968 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d67fdacd-c7c7-4aed-8c72-fe2ee799f392 2026-03-18 19:44:46,979 - DEBUG - Requesting: http://10.0.0.33:8082/project/98d3e328-2de4-4e36-88e8-9a27a242c27f 2026-03-18 19:44:47,077 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/aacf449f-dc59-4755-84c7-713ffc90de92 2026-03-18 19:44:47,104 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/aacf449f-dc59-4755-84c7-713ffc90de92 2026-03-18 19:44:47,122 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/fdb00795-4a7c-44f3-a778-d5891f06bc0f 2026-03-18 19:44:47,133 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/fdb00795-4a7c-44f3-a778-d5891f06bc0f 2026-03-18 19:44:47,145 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/c87250c4-b7d4-49f5-a145-58dae4c73538 2026-03-18 19:44:47,161 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-18 19:44:47,162 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/aacf449f-dc59-4755-84c7-713ffc90de92 2026-03-18 19:44:47,178 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/fdb00795-4a7c-44f3-a778-d5891f06bc0f 2026-03-18 19:44:47,201 - INFO - Verified VN network id 10 for VN aacf449f-dc59-4755-84c7-713ffc90de92 2026-03-18 19:44:47,202 - INFO - Verifications in API Server for VN ctest-vn-13145386 passed 2026-03-18 19:44:47,202 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/aacf449f-dc59-4755-84c7-713ffc90de92 2026-03-18 19:44:47,222 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/fdb00795-4a7c-44f3-a778-d5891f06bc0f 2026-03-18 19:44:47,234 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/fdb00795-4a7c-44f3-a778-d5891f06bc0f 2026-03-18 19:44:47,247 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/c87250c4-b7d4-49f5-a145-58dae4c73538 2026-03-18 19:44:47,274 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16509350:ctest-vn-13145386', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16509350', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12308131760014182229', 'uuid-lslong': '9567740453006139026'}, 'enable': 'true', 'created': '2026-03-18T19:44:44', 'last-modified': '2026-03-18T19:44:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.859961'} 2026-03-18 19:44:47,287 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-18 19:44:47,287 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13145386 passed 2026-03-18 19:44:47,287 - DEBUG - ====Verifying policy data for ctest-vn-13145386 in API_Server ====== 2026-03-18 19:44:47,287 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-18 19:44:47,298 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d67fdacd-c7c7-4aed-8c72-fe2ee799f392 2026-03-18 19:44:47,315 - DEBUG - Requesting: http://10.0.0.33:8082/project/98d3e328-2de4-4e36-88e8-9a27a242c27f 2026-03-18 19:44:47,405 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/aacf449f-dc59-4755-84c7-713ffc90de92 2026-03-18 19:44:47,434 - DEBUG - ==>Verifying data for policy with id: 447d3e45-58f9-42c7-b1dd-6de69eee2db2, fqn: ['default-domain', 'ctest-TestBasicPolicy-16509350', 'ctest-policy-allow-all-20569371'] 2026-03-18 19:44:47,434 - INFO - VN ctest-vn-13145386 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-18 19:44:47,434 - DEBUG - Verifying the vn in opserver 2026-03-18 19:44:47,434 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16509350:ctest-vn-13145386 virtual network link through opserver 10.0.0.33 2026-03-18 19:44:47,435 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-18 19:44:47,454 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16509350:ctest-vn-13145386', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16509350:ctest-vn-13145386?flat'} 2026-03-18 19:44:47,454 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16509350:ctest-vn-13145386 is found in opserver 2026-03-18 19:44:47,472 - DEBUG - Do not have enough data to verify VN in agent 2026-03-18 19:44:47,484 - DEBUG - VRF ids for VN ctest-vn-13145386: {} 2026-03-18 19:44:47,588 - DEBUG - Services list from nova: [, , ] 2026-03-18 19:44:49,209 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5488-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5488-1) 2026-03-18 19:44:50,671 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5488-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5488-1) 2026-03-18 19:44:50,672 - INFO - Waiting for VM ctest-TestBasicPolicy-16509350-54407280 to be up.. 2026-03-18 19:44:50,766 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-18 19:44:55,894 - DEBUG - VM is in ACTIVE state now 2026-03-18 19:44:55,895 - INFO - VM name : ctest-TestBasicPolicy-16509350-54407280 2026-03-18 19:44:56,004 - DEBUG - VM ctest-TestBasicPolicy-16509350-54407280 ID is 2a5adfd0-249f-429d-aa4d-1ddab6a5a825 2026-03-18 19:44:56,039 - DEBUG - VM ctest-TestBasicPolicy-16509350-54407280 launched on Node cn-jenkins-deploy-platform-ansible-os-5488-1 2026-03-18 19:44:56,135 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/2a5adfd0-249f-429d-aa4d-1ddab6a5a825 2026-03-18 19:44:56,145 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0a12bf8f-668a-46d2-b0bd-c90922ffd010 2026-03-18 19:44:59,419 - 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 1017ms') 2026-03-18 19:44:59,420 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-16509350-54407280 failed! 2026-03-18 19:44:59,489 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-16509350:ctest-vn-54041205 is 214.155.152.193 and allocation pool is NOT set 2026-03-18 19:45:01,563 - 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=14.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.47 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.471/7.995/14.519/6.524 ms') 2026-03-18 19:45:01,564 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-16509350-54407280 passed 2026-03-18 19:45:01,729 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-18 19:45:01,729 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16509350-54407280, IP 214.155.152.195, Port 22 2026-03-18 19:45:01,912 - DEBUG - VM ctest-TestBasicPolicy-16509350-54407280 is ready for SSH connections 2026-03-18 19:45:01,913 - INFO - Waiting for VM ctest-TestBasicPolicy-16509350-39849642 to be up.. 2026-03-18 19:45:02,040 - DEBUG - VM is in ACTIVE state now 2026-03-18 19:45:02,040 - INFO - VM name : ctest-TestBasicPolicy-16509350-39849642 2026-03-18 19:45:02,153 - DEBUG - VM ctest-TestBasicPolicy-16509350-39849642 ID is b9b06df9-a325-4feb-bbc8-9b85703b9a13 2026-03-18 19:45:02,154 - DEBUG - VM ctest-TestBasicPolicy-16509350-39849642 launched on Node cn-jenkins-deploy-platform-ansible-os-5488-1 2026-03-18 19:45:02,269 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b9b06df9-a325-4feb-bbc8-9b85703b9a13 2026-03-18 19:45:02,283 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/03052082-1399-428d-88f3-6f4350283f78 2026-03-18 19:45:03,558 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.474 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.474/3.059/5.645/2.585 ms') 2026-03-18 19:45:03,558 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-16509350-39849642 passed 2026-03-18 19:45:03,725 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-18 19:45:03,725 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16509350-39849642, IP 83.25.254.195, Port 22 2026-03-18 19:45:03,795 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-03-18 19:45:03,909 - DEBUG - VM ctest-TestBasicPolicy-16509350-39849642 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-18 19:45:08,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-18 19:45:08,911 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16509350-39849642, IP 83.25.254.195, Port 22 2026-03-18 19:45:09,107 - DEBUG - VM ctest-TestBasicPolicy-16509350-39849642 is ready for SSH connections 2026-03-18 19:45:09,108 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-18 19:45:09,108 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.25.254.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-03-18 19:45:09,108 - DEBUG - ping -s 56 -c 3 -W 1 83.25.254.195 2026-03-18 19:45:13,618 - DEBUG - PING 83.25.254.195 (83.25.254.195): 56 data bytes 64 bytes from 83.25.254.195: seq=0 ttl=63 time=4.687 ms 64 bytes from 83.25.254.195: seq=1 ttl=63 time=2.068 ms 64 bytes from 83.25.254.195: seq=2 ttl=63 time=1.663 ms --- 83.25.254.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.663/2.806/4.687 ms 2026-03-18 19:45:13,619 - INFO - Ping to IP 83.25.254.195 from VM ctest-TestBasicPolicy-16509350-54407280 passed 2026-03-18 19:45:13,812 - DEBUG - Policy Update Response {"network-policy": {"uuid": "447d3e45-58f9-42c7-b1dd-6de69eee2db2", "href": "http://10.0.0.33:8082/network-policy/447d3e45-58f9-42c7-b1dd-6de69eee2db2"}} 2026-03-18 19:45:13,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-18 19:45:13,813 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.25.254.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-03-18 19:45:13,813 - DEBUG - ping -s 56 -c 3 -W 1 83.25.254.195 2026-03-18 19:45:17,074 - DEBUG - PING 83.25.254.195 (83.25.254.195): 56 data bytes --- 83.25.254.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-18 19:45:17,074 - WARNING - Ping to IP 83.25.254.195 from VM ctest-TestBasicPolicy-16509350-54407280 failed 2026-03-18 19:45:17,075 - INFO - Deleting VM ctest-TestBasicPolicy-16509350-39849642 2026-03-18 19:45:17,278 - INFO - Deleting VM ctest-TestBasicPolicy-16509350-54407280 2026-03-18 19:45:17,840 - INFO - Deleted policy ctest-policy-allow-all-20569371 2026-03-18 19:45:17,840 - INFO - Deleting VN ctest-vn-13145386 2026-03-18 19:45:17,882 - DEBUG - VN aacf449f-dc59-4755-84c7-713ffc90de92 still in use: Unable to complete operation on network aacf449f-dc59-4755-84c7-713ffc90de92. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b0b98840-5cd7-4de6-8122-5190cbf8aa92'] 2026-03-18 19:45:17,882 - WARNING - Deleting VN ctest-vn-13145386 failed..Will retry 2026-03-18 19:45:20,034 - DEBUG - Response for deleting network () 2026-03-18 19:45:20,034 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/fdb00795-4a7c-44f3-a778-d5891f06bc0f 2026-03-18 19:45:20,041 - DEBUG - Response Code: 404 2026-03-18 19:45:20,041 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-18 19:45:20,048 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d67fdacd-c7c7-4aed-8c72-fe2ee799f392 2026-03-18 19:45:20,102 - DEBUG - Requesting: http://10.0.0.33:8082/project/98d3e328-2de4-4e36-88e8-9a27a242c27f 2026-03-18 19:45:20,197 - INFO - Validated that VN ctest-vn-13145386 is not found in API Server 2026-03-18 19:45:20,216 - DEBUG - VN ctest-vn-13145386 is not present in Agent 10.0.0.33 2026-03-18 19:45:20,216 - INFO - Validated that VN ctest-vn-13145386 is not in any agent 2026-03-18 19:45:20,250 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-13145386 info 2026-03-18 19:45:20,250 - INFO - Deleting VN ctest-vn-54041205 2026-03-18 19:45:20,461 - DEBUG - Response for deleting network () 2026-03-18 19:45:20,462 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b61abe9d-c9a5-442b-80dc-b2abd7d1c630 2026-03-18 19:45:20,470 - DEBUG - Response Code: 404 2026-03-18 19:45:20,470 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-18 19:45:20,478 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d67fdacd-c7c7-4aed-8c72-fe2ee799f392 2026-03-18 19:45:20,533 - DEBUG - Requesting: http://10.0.0.33:8082/project/98d3e328-2de4-4e36-88e8-9a27a242c27f 2026-03-18 19:45:20,636 - INFO - Validated that VN ctest-vn-54041205 is not found in API Server 2026-03-18 19:45:20,662 - DEBUG - VN ctest-vn-54041205 is not present in Agent 10.0.0.33 2026-03-18 19:45:20,662 - INFO - Validated that VN ctest-vn-54041205 is not in any agent 2026-03-18 19:45:20,689 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54041205 info 2026-03-18 19:45:20,983 - DEBUG - No XMPP flaps were noticed during the test
2026-03-18 19:45:20,983 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:38]
2026-03-18 19:45:20,983 - INFO - -------------------------------------------------------------------------------- 2026-03-18 19:45:21,849 - INFO - Deleted project: ctest-TestBasicPolicy-16509350, ID : 98d3e328-2de4-4e36-88e8-9a27a242c27f