2026-01-29 13:10:55,282 - INFO - Domain Default found not creating 2026-01-29 13:10:55,513 - INFO - Project ctest-TestBasicPolicy-03727030 not found, creating it 2026-01-29 13:10:56,039 - INFO - Created Project:ctest-TestBasicPolicy-03727030, ID : 99e38c40-3cf4-446a-a375-05cd5e5459d5 2026-01-29 13:10:57,760 - INFO - ================================================================================ 2026-01-29 13:10:57,760 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-29 13:10:57,760 - 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-01-29 13:10:58,024 - DEBUG - Nothing to compare xmpp stats {'10.0.0.133': {'10.20.0.17': '0'}} with 2026-01-29 13:10:58,024 - INFO - Initial checks done. Running the testcase now 2026-01-29 13:10:58,024 - INFO - 2026-01-29 13:10:58,603 - DEBUG - Response for create_network : {'network': {'id': '81fe15fd-95d0-4580-b504-7c8e9ba25bd3', 'name': 'ctest-vn-45168698', 'tenant_id': '99e38c403cf4446aa37505cd5e5459d5', 'project_id': '99e38c403cf4446aa37505cd5e5459d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03727030', 'ctest-vn-45168698'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 13:10:58,806 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eb74397b-0a72-4efb-99e4-368ff5586dcb', 'name': '', 'tenant_id': '99e38c403cf4446aa37505cd5e5459d5', 'network_id': '81fe15fd-95d0-4580-b504-7c8e9ba25bd3', 'ip_version': 4, 'cidr': '126.150.255.64/26', 'allocation_pools': [{'start': '126.150.255.66', 'end': '126.150.255.126'}], 'gateway_ip': '126.150.255.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.150.255.66', 'tags': [], 'project_id': '99e38c403cf4446aa37505cd5e5459d5'}} 2026-01-29 13:10:58,826 - INFO - Created VN ctest-vn-45168698 2026-01-29 13:10:58,881 - DEBUG - VN ctest-vn-45168698 UUID is 81fe15fd-95d0-4580-b504-7c8e9ba25bd3 2026-01-29 13:10:59,189 - DEBUG - Response for create_network : {'network': {'id': '8078e43f-d338-45e9-97bb-336f503a2103', 'name': 'ctest-vn-90497481', 'tenant_id': '99e38c403cf4446aa37505cd5e5459d5', 'project_id': '99e38c403cf4446aa37505cd5e5459d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03727030', 'ctest-vn-90497481'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 13:10:59,373 - DEBUG - Response for create_subnet : {'subnet': {'id': '58fbf70c-10c4-48ed-9f06-ef7c7e745352', 'name': '', 'tenant_id': '99e38c403cf4446aa37505cd5e5459d5', 'network_id': '8078e43f-d338-45e9-97bb-336f503a2103', 'ip_version': 4, 'cidr': '172.236.50.192/26', 'allocation_pools': [{'start': '172.236.50.194', 'end': '172.236.50.254'}], 'gateway_ip': '172.236.50.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.236.50.194', 'tags': [], 'project_id': '99e38c403cf4446aa37505cd5e5459d5'}} 2026-01-29 13:10:59,395 - INFO - Created VN ctest-vn-90497481 2026-01-29 13:10:59,449 - DEBUG - VN ctest-vn-90497481 UUID is 8078e43f-d338-45e9-97bb-336f503a2103 2026-01-29 13:10:59,573 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-03727030:ctest-vn-45168698, 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-03727030:ctest-vn-90497481, 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-01-29 13:10:59,917 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '81fe15fd-95d0-4580-b504-7c8e9ba25bd3', 'name': 'ctest-vn-45168698', 'tenant_id': '99e38c403cf4446aa37505cd5e5459d5', 'project_id': '99e38c403cf4446aa37505cd5e5459d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['eb74397b-0a72-4efb-99e4-368ff5586dcb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03727030', 'ctest-vn-45168698'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03727030', 'ctest-policy-allow-all-48907034']], 'subnet_ipam': [{'subnet_cidr': '126.150.255.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-29 13:11:00,218 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8078e43f-d338-45e9-97bb-336f503a2103', 'name': 'ctest-vn-90497481', 'tenant_id': '99e38c403cf4446aa37505cd5e5459d5', 'project_id': '99e38c403cf4446aa37505cd5e5459d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['58fbf70c-10c4-48ed-9f06-ef7c7e745352'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03727030', 'ctest-vn-90497481'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03727030', 'ctest-policy-allow-all-48907034']], 'subnet_ipam': [{'subnet_cidr': '172.236.50.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-29 13:11:00,373 - DEBUG - Requesting: http://10.0.0.133:8082/domains 2026-01-29 13:11:00,686 - DEBUG - Requesting: http://10.0.0.133:8082/domains 2026-01-29 13:11:00,723 - DEBUG - Requesting: http://10.0.0.133:8082/domain/92359388-5d0f-4739-b4e5-e01c04542787 2026-01-29 13:11:00,739 - DEBUG - Requesting: http://10.0.0.133:8082/project/99e38c40-3cf4-446a-a375-05cd5e5459d5 2026-01-29 13:11:00,817 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/81fe15fd-95d0-4580-b504-7c8e9ba25bd3 2026-01-29 13:11:00,830 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/81fe15fd-95d0-4580-b504-7c8e9ba25bd3 2026-01-29 13:11:00,842 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/98088fec-6d12-462c-b05b-35163aa39021 2026-01-29 13:11:00,853 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/98088fec-6d12-462c-b05b-35163aa39021 2026-01-29 13:11:00,863 - DEBUG - Requesting: http://10.0.0.133:8082/route-target/c145bd96-6ebb-4163-bde1-55013c74d344 2026-01-29 13:11:00,871 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 13:11:00,871 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/81fe15fd-95d0-4580-b504-7c8e9ba25bd3 2026-01-29 13:11:00,882 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/98088fec-6d12-462c-b05b-35163aa39021 2026-01-29 13:11:00,899 - INFO - Verified VN network id 11 for VN 81fe15fd-95d0-4580-b504-7c8e9ba25bd3 2026-01-29 13:11:00,899 - INFO - Verifications in API Server for VN ctest-vn-45168698 passed 2026-01-29 13:11:00,900 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/81fe15fd-95d0-4580-b504-7c8e9ba25bd3 2026-01-29 13:11:00,911 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/98088fec-6d12-462c-b05b-35163aa39021 2026-01-29 13:11:00,922 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/98088fec-6d12-462c-b05b-35163aa39021 2026-01-29 13:11:00,933 - DEBUG - Requesting: http://10.0.0.133:8082/route-target/c145bd96-6ebb-4163-bde1-55013c74d344 2026-01-29 13:11:00,949 - DEBUG - Control-node 10.0.0.133 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03727030:ctest-vn-45168698', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03727030', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9366948453861574016', 'uuid-lslong': '13043687372710108115'}, 'enable': 'true', 'created': '2026-01-29T13:10:58', 'last-modified': '2026-01-29T13:10:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.065865'} 2026-01-29 13:11:00,957 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 13:11:00,957 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45168698 passed 2026-01-29 13:11:00,957 - DEBUG - ====Verifying policy data for ctest-vn-45168698 in API_Server ====== 2026-01-29 13:11:00,957 - DEBUG - Requesting: http://10.0.0.133:8082/domains 2026-01-29 13:11:00,964 - DEBUG - Requesting: http://10.0.0.133:8082/domain/92359388-5d0f-4739-b4e5-e01c04542787 2026-01-29 13:11:00,977 - DEBUG - Requesting: http://10.0.0.133:8082/project/99e38c40-3cf4-446a-a375-05cd5e5459d5 2026-01-29 13:11:01,049 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/81fe15fd-95d0-4580-b504-7c8e9ba25bd3 2026-01-29 13:11:01,061 - DEBUG - ==>Verifying data for policy with id: 34831565-5d65-4d41-968b-28bf39595c0d, fqn: ['default-domain', 'ctest-TestBasicPolicy-03727030', 'ctest-policy-allow-all-48907034'] 2026-01-29 13:11:01,061 - INFO - VN ctest-vn-45168698 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 13:11:01,061 - DEBUG - Verifying the vn in opserver 2026-01-29 13:11:01,061 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03727030:ctest-vn-45168698 virtual network link through opserver 10.0.0.133 2026-01-29 13:11:01,062 - DEBUG - Requesting: http://10.0.0.133:8081/analytics/uves/virtual-networks 2026-01-29 13:11:01,362 - DEBUG - Requesting: http://10.0.0.133:8081/analytics/uves/virtual-networks 2026-01-29 13:11:01,441 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03727030:ctest-vn-45168698', 'href': 'http://10.0.0.133:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03727030:ctest-vn-45168698?flat'} 2026-01-29 13:11:01,441 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03727030:ctest-vn-45168698 is found in opserver 2026-01-29 13:11:01,451 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 13:11:01,456 - DEBUG - VRF ids for VN ctest-vn-45168698: {} 2026-01-29 13:11:01,456 - DEBUG - Requesting: http://10.0.0.133:8082/domains 2026-01-29 13:11:01,462 - DEBUG - Requesting: http://10.0.0.133:8082/domain/92359388-5d0f-4739-b4e5-e01c04542787 2026-01-29 13:11:01,473 - DEBUG - Requesting: http://10.0.0.133:8082/project/99e38c40-3cf4-446a-a375-05cd5e5459d5 2026-01-29 13:11:01,545 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/8078e43f-d338-45e9-97bb-336f503a2103 2026-01-29 13:11:01,557 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/8078e43f-d338-45e9-97bb-336f503a2103 2026-01-29 13:11:01,567 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/8406b96b-2493-4ad1-931f-807d3b3acc4f 2026-01-29 13:11:01,574 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/8406b96b-2493-4ad1-931f-807d3b3acc4f 2026-01-29 13:11:01,582 - DEBUG - Requesting: http://10.0.0.133:8082/route-target/128de758-5fdf-487b-8782-1b5668011f7c 2026-01-29 13:11:01,591 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 13:11:01,591 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/8078e43f-d338-45e9-97bb-336f503a2103 2026-01-29 13:11:01,601 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/8406b96b-2493-4ad1-931f-807d3b3acc4f 2026-01-29 13:11:01,616 - INFO - Verified VN network id 12 for VN 8078e43f-d338-45e9-97bb-336f503a2103 2026-01-29 13:11:01,617 - INFO - Verifications in API Server for VN ctest-vn-90497481 passed 2026-01-29 13:11:01,617 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/8078e43f-d338-45e9-97bb-336f503a2103 2026-01-29 13:11:01,627 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/8406b96b-2493-4ad1-931f-807d3b3acc4f 2026-01-29 13:11:01,635 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/8406b96b-2493-4ad1-931f-807d3b3acc4f 2026-01-29 13:11:01,643 - DEBUG - Requesting: http://10.0.0.133:8082/route-target/128de758-5fdf-487b-8782-1b5668011f7c 2026-01-29 13:11:01,657 - DEBUG - Control-node 10.0.0.133 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03727030:ctest-vn-90497481', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03727030', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9257399996837807593', 'uuid-lslong': '10933389073552384259'}, 'enable': 'true', 'created': '2026-01-29T13:10:59', 'last-modified': '2026-01-29T13:11:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.510257'} 2026-01-29 13:11:01,663 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 13:11:01,663 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90497481 passed 2026-01-29 13:11:01,663 - DEBUG - ====Verifying policy data for ctest-vn-90497481 in API_Server ====== 2026-01-29 13:11:01,663 - DEBUG - Requesting: http://10.0.0.133:8082/domains 2026-01-29 13:11:01,670 - DEBUG - Requesting: http://10.0.0.133:8082/domain/92359388-5d0f-4739-b4e5-e01c04542787 2026-01-29 13:11:01,683 - DEBUG - Requesting: http://10.0.0.133:8082/project/99e38c40-3cf4-446a-a375-05cd5e5459d5 2026-01-29 13:11:01,769 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/8078e43f-d338-45e9-97bb-336f503a2103 2026-01-29 13:11:01,780 - DEBUG - ==>Verifying data for policy with id: 34831565-5d65-4d41-968b-28bf39595c0d, fqn: ['default-domain', 'ctest-TestBasicPolicy-03727030', 'ctest-policy-allow-all-48907034'] 2026-01-29 13:11:01,780 - INFO - VN ctest-vn-90497481 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 13:11:01,780 - DEBUG - Verifying the vn in opserver 2026-01-29 13:11:01,780 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03727030:ctest-vn-90497481 virtual network link through opserver 10.0.0.133 2026-01-29 13:11:01,780 - DEBUG - Requesting: http://10.0.0.133:8081/analytics/uves/virtual-networks 2026-01-29 13:11:01,792 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03727030:ctest-vn-90497481', 'href': 'http://10.0.0.133:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03727030:ctest-vn-90497481?flat'} 2026-01-29 13:11:01,792 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03727030:ctest-vn-90497481 is found in opserver 2026-01-29 13:11:01,806 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 13:11:01,812 - DEBUG - VRF ids for VN ctest-vn-90497481: {} 2026-01-29 13:11:01,891 - DEBUG - Services list from nova: [, , ] 2026-01-29 13:11:03,123 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5124-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5124-1) 2026-01-29 13:11:04,419 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5124-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5124-1) 2026-01-29 13:11:04,420 - INFO - Waiting for VM ctest-TestBasicPolicy-03727030-97449333 to be up.. 2026-01-29 13:11:04,530 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-29 13:11:09,623 - DEBUG - VM is in ACTIVE state now 2026-01-29 13:11:09,623 - INFO - VM name : ctest-TestBasicPolicy-03727030-97449333 2026-01-29 13:11:09,719 - DEBUG - VM ctest-TestBasicPolicy-03727030-97449333 ID is f80e3299-ae91-4f2f-a34d-a6dd3d808ea3 2026-01-29 13:11:09,741 - DEBUG - VM ctest-TestBasicPolicy-03727030-97449333 launched on Node cn-jenkins-deploy-platform-ansible-os-5124-1 2026-01-29 13:11:09,827 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/f80e3299-ae91-4f2f-a34d-a6dd3d808ea3 2026-01-29 13:11:09,838 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/ec5f9a31-e699-43b4-aeaa-d669a6639b60 2026-01-29 13:11:13,118 - 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 1034ms') 2026-01-29 13:11:13,118 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03727030-97449333 failed! 2026-01-29 13:11:13,185 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-03727030:ctest-vn-45168698 is 126.150.255.65 and allocation pool is NOT set 2026-01-29 13:11:15,258 - 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=9.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.79 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 = 1.790/5.450/9.111/3.660 ms') 2026-01-29 13:11:15,258 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03727030-97449333 passed 2026-01-29 13:11:15,413 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 13:11:15,413 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03727030-97449333, IP 126.150.255.67, Port 22 2026-01-29 13:11:15,569 - DEBUG - VM ctest-TestBasicPolicy-03727030-97449333 is ready for SSH connections 2026-01-29 13:11:15,569 - INFO - Waiting for VM ctest-TestBasicPolicy-03727030-94503561 to be up.. 2026-01-29 13:11:15,655 - DEBUG - VM is in ACTIVE state now 2026-01-29 13:11:15,655 - INFO - VM name : ctest-TestBasicPolicy-03727030-94503561 2026-01-29 13:11:15,740 - DEBUG - VM ctest-TestBasicPolicy-03727030-94503561 ID is 938467b1-9466-48a0-9feb-1fbb9f733d53 2026-01-29 13:11:15,740 - DEBUG - VM ctest-TestBasicPolicy-03727030-94503561 launched on Node cn-jenkins-deploy-platform-ansible-os-5124-1 2026-01-29 13:11:15,834 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/938467b1-9466-48a0-9feb-1fbb9f733d53 2026-01-29 13:11:15,843 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/fad930c0-e709-409b-a1ee-40470718d8f5 2026-01-29 13:11:17,098 - 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.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.05 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 = 2.053/3.667/5.282/1.614 ms') 2026-01-29 13:11:17,098 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-03727030-94503561 passed 2026-01-29 13:11:17,253 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 13:11:17,254 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03727030-94503561, IP 172.236.50.195, Port 22 2026-01-29 13:11:17,320 - 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-01-29 13:11:17,413 - DEBUG - VM ctest-TestBasicPolicy-03727030-94503561 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-29 13:11:22,413 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 13:11:22,414 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03727030-94503561, IP 172.236.50.195, Port 22 2026-01-29 13:11:22,569 - DEBUG - VM ctest-TestBasicPolicy-03727030-94503561 is ready for SSH connections 2026-01-29 13:11:22,570 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 13:11:22,570 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.236.50.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2026-01-29 13:11:22,570 - DEBUG - ping -s 56 -c 3 -W 1 172.236.50.195 2026-01-29 13:11:26,803 - DEBUG - PING 172.236.50.195 (172.236.50.195): 56 data bytes 64 bytes from 172.236.50.195: seq=0 ttl=63 time=5.601 ms 64 bytes from 172.236.50.195: seq=1 ttl=63 time=1.119 ms 64 bytes from 172.236.50.195: seq=2 ttl=63 time=1.115 ms --- 172.236.50.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.115/2.611/5.601 ms 2026-01-29 13:11:26,804 - INFO - Ping to IP 172.236.50.195 from VM ctest-TestBasicPolicy-03727030-97449333 passed 2026-01-29 13:11:27,017 - DEBUG - Policy Update Response {"network-policy": {"uuid": "34831565-5d65-4d41-968b-28bf39595c0d", "href": "http://10.0.0.133:8082/network-policy/34831565-5d65-4d41-968b-28bf39595c0d"}} 2026-01-29 13:11:27,017 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 13:11:27,017 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.236.50.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2026-01-29 13:11:27,018 - DEBUG - ping -s 56 -c 3 -W 1 172.236.50.195 2026-01-29 13:11:30,247 - DEBUG - PING 172.236.50.195 (172.236.50.195): 56 data bytes --- 172.236.50.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-29 13:11:30,247 - WARNING - Ping to IP 172.236.50.195 from VM ctest-TestBasicPolicy-03727030-97449333 failed 2026-01-29 13:11:30,247 - INFO - Deleting VM ctest-TestBasicPolicy-03727030-94503561 2026-01-29 13:11:30,348 - INFO - Deleting VM ctest-TestBasicPolicy-03727030-97449333 2026-01-29 13:11:30,803 - INFO - Deleted policy ctest-policy-allow-all-48907034 2026-01-29 13:11:30,804 - INFO - Deleting VN ctest-vn-90497481 2026-01-29 13:11:30,855 - DEBUG - VN 8078e43f-d338-45e9-97bb-336f503a2103 still in use: Unable to complete operation on network 8078e43f-d338-45e9-97bb-336f503a2103. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-981fd602-1149-4d52-b389-46f40977e0bd'] 2026-01-29 13:11:30,855 - WARNING - Deleting VN ctest-vn-90497481 failed..Will retry 2026-01-29 13:11:33,012 - DEBUG - Response for deleting network () 2026-01-29 13:11:33,012 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/8406b96b-2493-4ad1-931f-807d3b3acc4f 2026-01-29 13:11:33,028 - DEBUG - Response Code: 404 2026-01-29 13:11:33,028 - DEBUG - Requesting: http://10.0.0.133:8082/domains 2026-01-29 13:11:33,037 - DEBUG - Requesting: http://10.0.0.133:8082/domain/92359388-5d0f-4739-b4e5-e01c04542787 2026-01-29 13:11:33,055 - DEBUG - Requesting: http://10.0.0.133:8082/project/99e38c40-3cf4-446a-a375-05cd5e5459d5 2026-01-29 13:11:33,136 - INFO - Validated that VN ctest-vn-90497481 is not found in API Server 2026-01-29 13:11:33,147 - DEBUG - VN ctest-vn-90497481 is not present in Agent 10.0.0.133 2026-01-29 13:11:33,147 - INFO - Validated that VN ctest-vn-90497481 is not in any agent 2026-01-29 13:11:33,169 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90497481 info 2026-01-29 13:11:33,169 - INFO - Deleting VN ctest-vn-45168698 2026-01-29 13:11:33,296 - DEBUG - Response for deleting network () 2026-01-29 13:11:33,296 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/98088fec-6d12-462c-b05b-35163aa39021 2026-01-29 13:11:33,303 - DEBUG - Response Code: 404 2026-01-29 13:11:33,304 - DEBUG - Requesting: http://10.0.0.133:8082/domains 2026-01-29 13:11:33,312 - DEBUG - Requesting: http://10.0.0.133:8082/domain/92359388-5d0f-4739-b4e5-e01c04542787 2026-01-29 13:11:33,371 - DEBUG - Requesting: http://10.0.0.133:8082/project/99e38c40-3cf4-446a-a375-05cd5e5459d5 2026-01-29 13:11:33,451 - INFO - Validated that VN ctest-vn-45168698 is not found in API Server 2026-01-29 13:11:33,462 - DEBUG - VN ctest-vn-45168698 is not present in Agent 10.0.0.133 2026-01-29 13:11:33,462 - INFO - Validated that VN ctest-vn-45168698 is not in any agent 2026-01-29 13:11:33,480 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45168698 info 2026-01-29 13:11:33,739 - DEBUG - No XMPP flaps were noticed during the test 2026-01-29 13:11:33,739 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2026-01-29 13:11:33,739 - INFO - -------------------------------------------------------------------------------- 2026-01-29 13:11:34,456 - INFO - Deleted project: ctest-TestBasicPolicy-03727030, ID : 99e38c40-3cf4-446a-a375-05cd5e5459d5