2026-02-19 02:39:54,542 - INFO - Domain Default found not creating 2026-02-19 02:39:54,713 - INFO - Project ctest-TestBasicPolicy-86627511 not found, creating it 2026-02-19 02:39:55,290 - INFO - Created Project:ctest-TestBasicPolicy-86627511, ID : a624b6ec-cdda-414c-bf4a-a5c33600cd2c 2026-02-19 02:39:56,824 - INFO - ================================================================================ 2026-02-19 02:39:56,824 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-19 02:39:56,824 - 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-02-19 02:39:58,095 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0', '10.20.0.18': '0'}, '10.0.0.133': {'10.20.0.17': '0', '10.20.0.18': '0'}} with 2026-02-19 02:39:58,095 - INFO - Initial checks done. Running the testcase now 2026-02-19 02:39:58,095 - INFO - 2026-02-19 02:39:58,780 - DEBUG - Response for create_network : {'network': {'id': 'ab9b07df-c63d-45b3-9056-d3abdc13df74', 'name': 'ctest-vn-71282022', 'tenant_id': 'a624b6eccdda414cbf4aa5c33600cd2c', 'project_id': 'a624b6eccdda414cbf4aa5c33600cd2c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86627511', 'ctest-vn-71282022'], 'port_security_enabled': True, 'description': ''}} 2026-02-19 02:39:59,093 - DEBUG - Response for create_subnet : {'subnet': {'id': '2505abdb-551d-4164-a390-8066eb3131b5', 'name': '', 'tenant_id': 'a624b6eccdda414cbf4aa5c33600cd2c', 'network_id': 'ab9b07df-c63d-45b3-9056-d3abdc13df74', 'ip_version': 4, 'cidr': '194.219.70.192/26', 'allocation_pools': [{'start': '194.219.70.194', 'end': '194.219.70.254'}], 'gateway_ip': '194.219.70.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.219.70.194', 'tags': [], 'project_id': 'a624b6eccdda414cbf4aa5c33600cd2c'}} 2026-02-19 02:39:59,122 - INFO - Created VN ctest-vn-71282022 2026-02-19 02:39:59,140 - DEBUG - VN ctest-vn-71282022 UUID is ab9b07df-c63d-45b3-9056-d3abdc13df74 2026-02-19 02:39:59,546 - DEBUG - Response for create_network : {'network': {'id': 'd0d1c094-51b9-48b0-a9f6-ca87a54fc245', 'name': 'ctest-vn-78635022', 'tenant_id': 'a624b6eccdda414cbf4aa5c33600cd2c', 'project_id': 'a624b6eccdda414cbf4aa5c33600cd2c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86627511', 'ctest-vn-78635022'], 'port_security_enabled': True, 'description': ''}} 2026-02-19 02:39:59,825 - DEBUG - Response for create_subnet : {'subnet': {'id': '07d4e238-e224-4324-91ff-63af939d14bd', 'name': '', 'tenant_id': 'a624b6eccdda414cbf4aa5c33600cd2c', 'network_id': 'd0d1c094-51b9-48b0-a9f6-ca87a54fc245', 'ip_version': 4, 'cidr': '178.239.59.0/26', 'allocation_pools': [{'start': '178.239.59.2', 'end': '178.239.59.62'}], 'gateway_ip': '178.239.59.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.239.59.2', 'tags': [], 'project_id': 'a624b6eccdda414cbf4aa5c33600cd2c'}} 2026-02-19 02:39:59,850 - INFO - Created VN ctest-vn-78635022 2026-02-19 02:39:59,861 - DEBUG - VN ctest-vn-78635022 UUID is d0d1c094-51b9-48b0-a9f6-ca87a54fc245 2026-02-19 02:39:59,939 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-71282022, 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-86627511:ctest-vn-78635022, 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-02-19 02:40:00,296 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ab9b07df-c63d-45b3-9056-d3abdc13df74', 'name': 'ctest-vn-71282022', 'tenant_id': 'a624b6eccdda414cbf4aa5c33600cd2c', 'project_id': 'a624b6eccdda414cbf4aa5c33600cd2c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2505abdb-551d-4164-a390-8066eb3131b5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86627511', 'ctest-vn-71282022'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86627511', 'ctest-policy-allow-all-66163756']], 'subnet_ipam': [{'subnet_cidr': '194.219.70.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-19 02:40:00,523 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd0d1c094-51b9-48b0-a9f6-ca87a54fc245', 'name': 'ctest-vn-78635022', 'tenant_id': 'a624b6eccdda414cbf4aa5c33600cd2c', 'project_id': 'a624b6eccdda414cbf4aa5c33600cd2c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['07d4e238-e224-4324-91ff-63af939d14bd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86627511', 'ctest-vn-78635022'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86627511', 'ctest-policy-allow-all-66163756']], 'subnet_ipam': [{'subnet_cidr': '178.239.59.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-19 02:40:00,643 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-19 02:40:00,978 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-19 02:40:01,010 - DEBUG - Requesting: http://10.0.0.129:8082/domain/0d96b699-7b7b-4313-9fa1-bd6ec91582e3 2026-02-19 02:40:01,025 - DEBUG - Requesting: http://10.0.0.129:8082/project/a624b6ec-cdda-414c-bf4a-a5c33600cd2c 2026-02-19 02:40:01,129 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/ab9b07df-c63d-45b3-9056-d3abdc13df74 2026-02-19 02:40:01,147 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/ab9b07df-c63d-45b3-9056-d3abdc13df74 2026-02-19 02:40:01,159 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/31066501-db02-494c-ac8b-16a3ae995dae 2026-02-19 02:40:01,170 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/31066501-db02-494c-ac8b-16a3ae995dae 2026-02-19 02:40:01,179 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/616f1a2e-0d59-4ff3-a21d-5f66e090dbdd 2026-02-19 02:40:01,187 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-19 02:40:01,187 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/ab9b07df-c63d-45b3-9056-d3abdc13df74 2026-02-19 02:40:01,198 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/31066501-db02-494c-ac8b-16a3ae995dae 2026-02-19 02:40:01,215 - INFO - Verified VN network id 13 for VN ab9b07df-c63d-45b3-9056-d3abdc13df74 2026-02-19 02:40:01,216 - INFO - Verifications in API Server for VN ctest-vn-71282022 passed 2026-02-19 02:40:01,216 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/ab9b07df-c63d-45b3-9056-d3abdc13df74 2026-02-19 02:40:01,226 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/31066501-db02-494c-ac8b-16a3ae995dae 2026-02-19 02:40:01,235 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/31066501-db02-494c-ac8b-16a3ae995dae 2026-02-19 02:40:01,243 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/616f1a2e-0d59-4ff3-a21d-5f66e090dbdd 2026-02-19 02:40:01,256 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-71282022', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86627511', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12365485859560834483', 'uuid-lslong': '10400733124543897460'}, 'enable': 'true', 'created': '2026-02-19T02:39:58', 'last-modified': '2026-02-19T02:40:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.004713'} 2026-02-19 02:40:01,262 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-19 02:40:01,268 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-71282022', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86627511', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12365485859560834483', 'uuid-lslong': '10400733124543897460'}, 'enable': 'true', 'created': '2026-02-19T02:39:58', 'last-modified': '2026-02-19T02:40:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.012181'} 2026-02-19 02:40:01,274 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-19 02:40:01,280 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-71282022', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86627511', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12365485859560834483', 'uuid-lslong': '10400733124543897460'}, 'enable': 'true', 'created': '2026-02-19T02:39:58', 'last-modified': '2026-02-19T02:40:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.024384'} 2026-02-19 02:40:01,288 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-19 02:40:01,288 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71282022 passed 2026-02-19 02:40:01,288 - DEBUG - ====Verifying policy data for ctest-vn-71282022 in API_Server ====== 2026-02-19 02:40:01,288 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-19 02:40:01,294 - DEBUG - Requesting: http://10.0.0.129:8082/domain/0d96b699-7b7b-4313-9fa1-bd6ec91582e3 2026-02-19 02:40:01,305 - DEBUG - Requesting: http://10.0.0.129:8082/project/a624b6ec-cdda-414c-bf4a-a5c33600cd2c 2026-02-19 02:40:01,404 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/ab9b07df-c63d-45b3-9056-d3abdc13df74 2026-02-19 02:40:01,416 - DEBUG - ==>Verifying data for policy with id: ae4f16fe-f7b5-4f6c-b78f-996af62dcc62, fqn: ['default-domain', 'ctest-TestBasicPolicy-86627511', 'ctest-policy-allow-all-66163756'] 2026-02-19 02:40:01,416 - INFO - VN ctest-vn-71282022 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-19 02:40:01,416 - DEBUG - Verifying the vn in opserver 2026-02-19 02:40:01,416 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-71282022 virtual network link through opserver 10.0.0.129 2026-02-19 02:40:01,416 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-02-19 02:40:01,710 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-02-19 02:40:01,778 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-71282022', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-71282022?flat'} 2026-02-19 02:40:01,778 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-71282022 virtual network link through opserver 10.0.0.38 2026-02-19 02:40:01,778 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-19 02:40:02,077 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-19 02:40:02,148 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-71282022', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-71282022?flat'} 2026-02-19 02:40:02,148 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-71282022 virtual network link through opserver 10.0.0.130 2026-02-19 02:40:02,148 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2026-02-19 02:40:02,445 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2026-02-19 02:40:02,511 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-71282022', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-71282022?flat'} 2026-02-19 02:40:02,511 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-71282022 is found in opserver 2026-02-19 02:40:02,533 - DEBUG - Do not have enough data to verify VN in agent 2026-02-19 02:40:02,548 - DEBUG - VRF ids for VN ctest-vn-71282022: {} 2026-02-19 02:40:02,548 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-19 02:40:02,555 - DEBUG - Requesting: http://10.0.0.129:8082/domain/0d96b699-7b7b-4313-9fa1-bd6ec91582e3 2026-02-19 02:40:02,568 - DEBUG - Requesting: http://10.0.0.129:8082/project/a624b6ec-cdda-414c-bf4a-a5c33600cd2c 2026-02-19 02:40:02,667 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/d0d1c094-51b9-48b0-a9f6-ca87a54fc245 2026-02-19 02:40:02,682 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/d0d1c094-51b9-48b0-a9f6-ca87a54fc245 2026-02-19 02:40:02,694 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/621ad766-4b4a-411d-800e-7c47512be61f 2026-02-19 02:40:02,704 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/621ad766-4b4a-411d-800e-7c47512be61f 2026-02-19 02:40:02,711 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/787c4992-d72c-48e6-9aa3-d475f45c8320 2026-02-19 02:40:02,717 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-19 02:40:02,717 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/d0d1c094-51b9-48b0-a9f6-ca87a54fc245 2026-02-19 02:40:02,727 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/621ad766-4b4a-411d-800e-7c47512be61f 2026-02-19 02:40:02,744 - INFO - Verified VN network id 14 for VN d0d1c094-51b9-48b0-a9f6-ca87a54fc245 2026-02-19 02:40:02,744 - INFO - Verifications in API Server for VN ctest-vn-78635022 passed 2026-02-19 02:40:02,744 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/d0d1c094-51b9-48b0-a9f6-ca87a54fc245 2026-02-19 02:40:02,753 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/621ad766-4b4a-411d-800e-7c47512be61f 2026-02-19 02:40:02,760 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/621ad766-4b4a-411d-800e-7c47512be61f 2026-02-19 02:40:02,767 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/787c4992-d72c-48e6-9aa3-d475f45c8320 2026-02-19 02:40:02,777 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-78635022', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86627511', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15047019573280327856', 'uuid-lslong': '12247198920623505989'}, 'enable': 'true', 'created': '2026-02-19T02:39:59', 'last-modified': '2026-02-19T02:40:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.297947'} 2026-02-19 02:40:02,782 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-19 02:40:02,788 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-78635022', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86627511', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15047019573280327856', 'uuid-lslong': '12247198920623505989'}, 'enable': 'true', 'created': '2026-02-19T02:39:59', 'last-modified': '2026-02-19T02:40:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.298379'} 2026-02-19 02:40:02,794 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-19 02:40:02,801 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-78635022', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86627511', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15047019573280327856', 'uuid-lslong': '12247198920623505989'}, 'enable': 'true', 'created': '2026-02-19T02:39:59', 'last-modified': '2026-02-19T02:40:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.308672'} 2026-02-19 02:40:02,808 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-19 02:40:02,808 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78635022 passed 2026-02-19 02:40:02,808 - DEBUG - ====Verifying policy data for ctest-vn-78635022 in API_Server ====== 2026-02-19 02:40:02,808 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-19 02:40:02,815 - DEBUG - Requesting: http://10.0.0.129:8082/domain/0d96b699-7b7b-4313-9fa1-bd6ec91582e3 2026-02-19 02:40:02,826 - DEBUG - Requesting: http://10.0.0.129:8082/project/a624b6ec-cdda-414c-bf4a-a5c33600cd2c 2026-02-19 02:40:02,914 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/d0d1c094-51b9-48b0-a9f6-ca87a54fc245 2026-02-19 02:40:02,924 - DEBUG - ==>Verifying data for policy with id: ae4f16fe-f7b5-4f6c-b78f-996af62dcc62, fqn: ['default-domain', 'ctest-TestBasicPolicy-86627511', 'ctest-policy-allow-all-66163756'] 2026-02-19 02:40:02,924 - INFO - VN ctest-vn-78635022 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-19 02:40:02,924 - DEBUG - Verifying the vn in opserver 2026-02-19 02:40:02,924 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-78635022 virtual network link through opserver 10.0.0.129 2026-02-19 02:40:02,924 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-02-19 02:40:02,988 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-78635022', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-78635022?flat'} 2026-02-19 02:40:02,988 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-78635022 virtual network link through opserver 10.0.0.38 2026-02-19 02:40:02,988 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-19 02:40:03,053 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-78635022', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-78635022?flat'} 2026-02-19 02:40:03,053 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-78635022 virtual network link through opserver 10.0.0.130 2026-02-19 02:40:03,053 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2026-02-19 02:40:03,117 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-78635022', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-78635022?flat'} 2026-02-19 02:40:03,117 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-78635022 is found in opserver 2026-02-19 02:40:03,139 - DEBUG - Do not have enough data to verify VN in agent 2026-02-19 02:40:03,150 - DEBUG - VRF ids for VN ctest-vn-78635022: {} 2026-02-19 02:40:03,210 - DEBUG - Services list from nova: [, , , ] 2026-02-19 02:40:04,513 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5351-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5351-2) 2026-02-19 02:40:05,847 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5351-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5351-1) 2026-02-19 02:40:05,848 - INFO - Waiting for VM ctest-TestBasicPolicy-86627511-88438725 to be up.. 2026-02-19 02:40:05,963 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-19 02:40:11,052 - DEBUG - VM is in ACTIVE state now 2026-02-19 02:40:11,052 - INFO - VM name : ctest-TestBasicPolicy-86627511-88438725 2026-02-19 02:40:11,133 - DEBUG - VM ctest-TestBasicPolicy-86627511-88438725 ID is 6ca0ca0b-aeaf-46e4-9486-904ba337fde0 2026-02-19 02:40:11,159 - DEBUG - VM ctest-TestBasicPolicy-86627511-88438725 launched on Node an-jenkins-deploy-platform-ansible-os-5351-2 2026-02-19 02:40:11,243 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/6ca0ca0b-aeaf-46e4-9486-904ba337fde0 2026-02-19 02:40:11,543 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/6ca0ca0b-aeaf-46e4-9486-904ba337fde0 2026-02-19 02:40:11,582 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/77c5eaed-8607-4c98-87c0-8600f5e58cdc 2026-02-19 02:40:14,761 - 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-02-19 02:40:14,761 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86627511-88438725 failed! 2026-02-19 02:40:14,777 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-71282022 is 194.219.70.193 and allocation pool is NOT set 2026-02-19 02:40:18,865 - 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 1020ms') 2026-02-19 02:40:18,865 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86627511-88438725 failed! 2026-02-19 02:40:18,879 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-71282022 is 194.219.70.193 and allocation pool is NOT set 2026-02-19 02:40:22,954 - 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 1015ms') 2026-02-19 02:40:22,954 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86627511-88438725 failed! 2026-02-19 02:40:22,968 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-71282022 is 194.219.70.193 and allocation pool is NOT set 2026-02-19 02:40:27,061 - 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-02-19 02:40:27,062 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86627511-88438725 failed! 2026-02-19 02:40:27,077 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-71282022 is 194.219.70.193 and allocation pool is NOT set 2026-02-19 02:40:31,150 - 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 1007ms') 2026-02-19 02:40:31,150 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86627511-88438725 failed! 2026-02-19 02:40:31,165 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-71282022 is 194.219.70.193 and allocation pool is NOT set 2026-02-19 02:40:35,248 - 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-02-19 02:40:35,248 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86627511-88438725 failed! 2026-02-19 02:40:35,265 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-71282022 is 194.219.70.193 and allocation pool is NOT set 2026-02-19 02:40:39,343 - 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 1015ms') 2026-02-19 02:40:39,344 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86627511-88438725 failed! 2026-02-19 02:40:39,360 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-71282022 is 194.219.70.193 and allocation pool is NOT set 2026-02-19 02:40:43,439 - 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 1015ms') 2026-02-19 02:40:43,440 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86627511-88438725 failed! 2026-02-19 02:40:43,454 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-86627511:ctest-vn-71282022 is 194.219.70.193 and allocation pool is NOT set 2026-02-19 02:40:45,518 - 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=6.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.707 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.707/3.426/6.145/2.719 ms') 2026-02-19 02:40:45,518 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86627511-88438725 passed 2026-02-19 02:40:45,598 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 02:40:45,598 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86627511-88438725, IP 194.219.70.195, Port 22 2026-02-19 02:40:45,664 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-19 02:40:45,757 - DEBUG - VM ctest-TestBasicPolicy-86627511-88438725 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-19 02:40:50,758 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 02:40:50,758 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86627511-88438725, IP 194.219.70.195, Port 22 2026-02-19 02:40:50,824 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-19 02:40:50,910 - DEBUG - VM ctest-TestBasicPolicy-86627511-88438725 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-19 02:40:55,912 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 02:40:55,912 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86627511-88438725, IP 194.219.70.195, Port 22 2026-02-19 02:40:56,012 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-19 02:40:56,095 - DEBUG - VM ctest-TestBasicPolicy-86627511-88438725 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-19 02:41:01,096 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 02:41:01,097 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86627511-88438725, IP 194.219.70.195, Port 22 2026-02-19 02:41:01,165 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-19 02:41:01,271 - DEBUG - VM ctest-TestBasicPolicy-86627511-88438725 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-19 02:41:06,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 02:41:06,273 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86627511-88438725, IP 194.219.70.195, Port 22 2026-02-19 02:41:06,449 - DEBUG - VM ctest-TestBasicPolicy-86627511-88438725 is ready for SSH connections 2026-02-19 02:41:06,449 - INFO - Waiting for VM ctest-TestBasicPolicy-86627511-89858841 to be up.. 2026-02-19 02:41:06,544 - DEBUG - VM is in ACTIVE state now 2026-02-19 02:41:06,544 - INFO - VM name : ctest-TestBasicPolicy-86627511-89858841 2026-02-19 02:41:06,634 - DEBUG - VM ctest-TestBasicPolicy-86627511-89858841 ID is 3e2355d7-6c1f-4c7b-afae-af582a1d1770 2026-02-19 02:41:06,635 - DEBUG - VM ctest-TestBasicPolicy-86627511-89858841 launched on Node an-jenkins-deploy-platform-ansible-os-5351-1 2026-02-19 02:41:06,731 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/3e2355d7-6c1f-4c7b-afae-af582a1d1770 2026-02-19 02:41:06,741 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/eafa0343-fcf0-4bb3-a2c6-460f4feefbe9 2026-02-19 02:41:07,913 - 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.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.22 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 = 3.216/3.847/4.479/0.631 ms') 2026-02-19 02:41:07,913 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86627511-89858841 passed 2026-02-19 02:41:07,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 02:41:07,982 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86627511-89858841, IP 178.239.59.3, Port 22 2026-02-19 02:41:08,154 - DEBUG - VM ctest-TestBasicPolicy-86627511-89858841 is ready for SSH connections 2026-02-19 02:41:08,154 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 02:41:08,154 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.239.59.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2026-02-19 02:41:08,154 - DEBUG - ping -s 56 -c 3 -W 1 178.239.59.3 2026-02-19 02:41:30,864 - DEBUG - PING 178.239.59.3 (178.239.59.3) 56(84) bytes of data. 64 bytes from 178.239.59.3: icmp_req=1 ttl=63 time=8.91 ms 64 bytes from 178.239.59.3: icmp_req=2 ttl=63 time=1.32 ms 64 bytes from 178.239.59.3: icmp_req=3 ttl=63 time=1.11 ms --- 178.239.59.3 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.118/3.785/8.912/3.626 ms 2026-02-19 02:41:30,864 - INFO - Ping to IP 178.239.59.3 from VM ctest-TestBasicPolicy-86627511-88438725 passed 2026-02-19 02:41:31,093 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ae4f16fe-f7b5-4f6c-b78f-996af62dcc62", "href": "http://10.0.0.130:8082/network-policy/ae4f16fe-f7b5-4f6c-b78f-996af62dcc62"}} 2026-02-19 02:41:31,093 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 02:41:31,093 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.239.59.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2026-02-19 02:41:31,093 - DEBUG - ping -s 56 -c 3 -W 1 178.239.59.3 2026-02-19 02:41:34,963 - DEBUG - PING 178.239.59.3 (178.239.59.3) 56(84) bytes of data. --- 178.239.59.3 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 1999ms 2026-02-19 02:41:34,963 - WARNING - Ping to IP 178.239.59.3 from VM ctest-TestBasicPolicy-86627511-88438725 failed 2026-02-19 02:41:34,963 - INFO - Deleting VM ctest-TestBasicPolicy-86627511-89858841 2026-02-19 02:41:35,071 - INFO - Deleting VM ctest-TestBasicPolicy-86627511-88438725 2026-02-19 02:41:35,535 - INFO - Deleted policy ctest-policy-allow-all-66163756 2026-02-19 02:41:35,535 - INFO - Deleting VN ctest-vn-78635022 2026-02-19 02:41:35,587 - DEBUG - VN d0d1c094-51b9-48b0-a9f6-ca87a54fc245 still in use: Unable to complete operation on network d0d1c094-51b9-48b0-a9f6-ca87a54fc245. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-313a019c-ce58-4a9e-8013-ee1d953ffd39'] 2026-02-19 02:41:35,587 - WARNING - Deleting VN ctest-vn-78635022 failed..Will retry 2026-02-19 02:41:37,803 - DEBUG - Response for deleting network () 2026-02-19 02:41:37,803 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/621ad766-4b4a-411d-800e-7c47512be61f 2026-02-19 02:41:37,812 - DEBUG - Response Code: 404 2026-02-19 02:41:37,812 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-19 02:41:37,817 - DEBUG - Requesting: http://10.0.0.129:8082/domain/0d96b699-7b7b-4313-9fa1-bd6ec91582e3 2026-02-19 02:41:37,867 - DEBUG - Requesting: http://10.0.0.129:8082/project/a624b6ec-cdda-414c-bf4a-a5c33600cd2c 2026-02-19 02:41:37,980 - INFO - Validated that VN ctest-vn-78635022 is not found in API Server 2026-02-19 02:41:37,991 - DEBUG - VN ctest-vn-78635022 is not present in Agent 10.0.0.65 2026-02-19 02:41:38,002 - DEBUG - VN ctest-vn-78635022 is not present in Agent 10.0.0.133 2026-02-19 02:41:38,002 - INFO - Validated that VN ctest-vn-78635022 is not in any agent 2026-02-19 02:41:38,034 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78635022 info 2026-02-19 02:41:38,034 - INFO - Deleting VN ctest-vn-71282022 2026-02-19 02:41:38,258 - DEBUG - Response for deleting network () 2026-02-19 02:41:38,258 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/31066501-db02-494c-ac8b-16a3ae995dae 2026-02-19 02:41:38,264 - DEBUG - Response Code: 404 2026-02-19 02:41:38,264 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-19 02:41:38,271 - DEBUG - Requesting: http://10.0.0.129:8082/domain/0d96b699-7b7b-4313-9fa1-bd6ec91582e3 2026-02-19 02:41:38,329 - DEBUG - Requesting: http://10.0.0.129:8082/project/a624b6ec-cdda-414c-bf4a-a5c33600cd2c 2026-02-19 02:41:38,428 - INFO - Validated that VN ctest-vn-71282022 is not found in API Server 2026-02-19 02:41:38,437 - DEBUG - VN ctest-vn-71282022 is not present in Agent 10.0.0.65 2026-02-19 02:41:38,447 - DEBUG - VN ctest-vn-71282022 is not present in Agent 10.0.0.133 2026-02-19 02:41:38,447 - INFO - Validated that VN ctest-vn-71282022 is not in any agent 2026-02-19 02:41:38,475 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71282022 info 2026-02-19 02:41:39,772 - DEBUG - No XMPP flaps were noticed during the test
2026-02-19 02:41:39,772 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:43]
2026-02-19 02:41:39,773 - INFO - -------------------------------------------------------------------------------- 2026-02-19 02:41:40,518 - INFO - Deleted project: ctest-TestBasicPolicy-86627511, ID : a624b6ec-cdda-414c-bf4a-a5c33600cd2c