2026-11-16 14:38:28,611 - INFO - Domain Default found not creating
2026-11-16 14:38:28,772 - INFO - Project ctest-TestBasicPolicy-77279270 not found, creating it
2026-11-16 14:38:29,262 - INFO - Created Project:ctest-TestBasicPolicy-77279270, ID : 13780425-b567-4e1e-826b-87fc4ef341aa
2026-11-16 14:38:31,002 - INFO - ================================================================================
2026-11-16 14:38:31,002 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-16 14:38:31,002 - 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-11-16 14:38:31,270 - DEBUG - Nothing to compare xmpp stats {'10.0.0.186': {'10.20.0.254': '0'}} with
2026-11-16 14:38:31,270 - INFO - Initial checks done. Running the testcase now
2026-11-16 14:38:31,270 - INFO -
2026-11-16 14:38:31,910 - DEBUG - Response for create_network : {'network': {'id': '89d3c02d-894d-4bc1-975d-934cf8fc6b1d', 'name': 'ctest-vn-80495939', 'tenant_id': '13780425b5674e1e826b87fc4ef341aa', 'project_id': '13780425b5674e1e826b87fc4ef341aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77279270', 'ctest-vn-80495939'], 'port_security_enabled': True, 'description': ''}}
2026-11-16 14:38:32,136 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eadf4768-a7ca-4b3f-a8e3-ecb70149c16c', 'name': '', 'tenant_id': '13780425b5674e1e826b87fc4ef341aa', 'network_id': '89d3c02d-894d-4bc1-975d-934cf8fc6b1d', 'ip_version': 4, 'cidr': '74.119.193.192/26', 'allocation_pools': [{'start': '74.119.193.194', 'end': '74.119.193.254'}], 'gateway_ip': '74.119.193.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.119.193.194', 'tags': [], 'project_id': '13780425b5674e1e826b87fc4ef341aa'}}
2026-11-16 14:38:32,157 - INFO - Created VN ctest-vn-80495939
2026-11-16 14:38:32,212 - DEBUG - VN ctest-vn-80495939 UUID is 89d3c02d-894d-4bc1-975d-934cf8fc6b1d
2026-11-16 14:38:32,505 - DEBUG - Response for create_network : {'network': {'id': '9effe9aa-7395-4a23-b69f-b2bf74d79886', 'name': 'ctest-vn-11209519', 'tenant_id': '13780425b5674e1e826b87fc4ef341aa', 'project_id': '13780425b5674e1e826b87fc4ef341aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77279270', 'ctest-vn-11209519'], 'port_security_enabled': True, 'description': ''}}
2026-11-16 14:38:32,714 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f01e2085-0fdf-4c1c-b0db-b836fc20515c', 'name': '', 'tenant_id': '13780425b5674e1e826b87fc4ef341aa', 'network_id': '9effe9aa-7395-4a23-b69f-b2bf74d79886', 'ip_version': 4, 'cidr': '147.95.138.128/26', 'allocation_pools': [{'start': '147.95.138.130', 'end': '147.95.138.190'}], 'gateway_ip': '147.95.138.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.95.138.130', 'tags': [], 'project_id': '13780425b5674e1e826b87fc4ef341aa'}}
2026-11-16 14:38:32,730 - INFO - Created VN ctest-vn-11209519
2026-11-16 14:38:32,784 - DEBUG - VN ctest-vn-11209519 UUID is 9effe9aa-7395-4a23-b69f-b2bf74d79886
2026-11-16 14:38:32,904 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-77279270:ctest-vn-80495939, 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-77279270:ctest-vn-11209519, 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-11-16 14:38:33,215 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '89d3c02d-894d-4bc1-975d-934cf8fc6b1d', 'name': 'ctest-vn-80495939', 'tenant_id': '13780425b5674e1e826b87fc4ef341aa', 'project_id': '13780425b5674e1e826b87fc4ef341aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['eadf4768-a7ca-4b3f-a8e3-ecb70149c16c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77279270', 'ctest-vn-80495939'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77279270', 'ctest-policy-allow-all-00884332']], 'subnet_ipam': [{'subnet_cidr': '74.119.193.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-16 14:38:33,465 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9effe9aa-7395-4a23-b69f-b2bf74d79886', 'name': 'ctest-vn-11209519', 'tenant_id': '13780425b5674e1e826b87fc4ef341aa', 'project_id': '13780425b5674e1e826b87fc4ef341aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['f01e2085-0fdf-4c1c-b0db-b836fc20515c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77279270', 'ctest-vn-11209519'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77279270', 'ctest-policy-allow-all-00884332']], 'subnet_ipam': [{'subnet_cidr': '147.95.138.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-16 14:38:33,624 - DEBUG - Requesting: http://10.0.0.186:8082/domains
2026-11-16 14:38:33,998 - DEBUG - Requesting: http://10.0.0.186:8082/domains
2026-11-16 14:38:34,027 - DEBUG - Requesting: http://10.0.0.186:8082/domain/69bbf3a4-3a84-48c8-9be4-869fce8baa8a
2026-11-16 14:38:34,042 - DEBUG - Requesting: http://10.0.0.186:8082/project/13780425-b567-4e1e-826b-87fc4ef341aa
2026-11-16 14:38:34,126 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/89d3c02d-894d-4bc1-975d-934cf8fc6b1d
2026-11-16 14:38:34,142 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/89d3c02d-894d-4bc1-975d-934cf8fc6b1d
2026-11-16 14:38:34,154 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/3bb32199-cb42-435b-b372-caaa9dbb4b56
2026-11-16 14:38:34,162 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/3bb32199-cb42-435b-b372-caaa9dbb4b56
2026-11-16 14:38:34,171 - DEBUG - Requesting: http://10.0.0.186:8082/route-target/fc44b142-d5d5-4f0b-aef6-cf0189730960
2026-11-16 14:38:34,179 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-16 14:38:34,179 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/89d3c02d-894d-4bc1-975d-934cf8fc6b1d
2026-11-16 14:38:34,191 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/3bb32199-cb42-435b-b372-caaa9dbb4b56
2026-11-16 14:38:34,206 - INFO - Verified VN network id 12 for VN 89d3c02d-894d-4bc1-975d-934cf8fc6b1d
2026-11-16 14:38:34,207 - INFO - Verifications in API Server for VN ctest-vn-80495939 passed
2026-11-16 14:38:34,207 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/89d3c02d-894d-4bc1-975d-934cf8fc6b1d
2026-11-16 14:38:34,215 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/3bb32199-cb42-435b-b372-caaa9dbb4b56
2026-11-16 14:38:34,221 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/3bb32199-cb42-435b-b372-caaa9dbb4b56
2026-11-16 14:38:34,226 - DEBUG - Requesting: http://10.0.0.186:8082/route-target/fc44b142-d5d5-4f0b-aef6-cf0189730960
2026-11-16 14:38:34,237 - DEBUG - Control-node 10.0.0.186 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77279270:ctest-vn-80495939', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77279270', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9931492905091681217', 'uuid-lslong': '10907035831365298973'}, 'enable': 'true', 'created': '2026-11-16T14:38:31', 'last-modified': '2026-11-16T14:38:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.055162'}
2026-11-16 14:38:34,243 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-16 14:38:34,243 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80495939 passed
2026-11-16 14:38:34,244 - DEBUG - ====Verifying policy data for ctest-vn-80495939 in API_Server ======
2026-11-16 14:38:34,244 - DEBUG - Requesting: http://10.0.0.186:8082/domains
2026-11-16 14:38:34,249 - DEBUG - Requesting: http://10.0.0.186:8082/domain/69bbf3a4-3a84-48c8-9be4-869fce8baa8a
2026-11-16 14:38:34,258 - DEBUG - Requesting: http://10.0.0.186:8082/project/13780425-b567-4e1e-826b-87fc4ef341aa
2026-11-16 14:38:34,333 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/89d3c02d-894d-4bc1-975d-934cf8fc6b1d
2026-11-16 14:38:34,343 - DEBUG - ==>Verifying data for policy with id: 1341d3f5-a983-4306-b8c3-87942330894d, fqn: ['default-domain', 'ctest-TestBasicPolicy-77279270', 'ctest-policy-allow-all-00884332']
2026-11-16 14:38:34,343 - INFO - VN ctest-vn-80495939 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-16 14:38:34,343 - DEBUG - Verifying the vn in opserver
2026-11-16 14:38:34,343 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77279270:ctest-vn-80495939 virtual network link through opserver 10.0.0.186
2026-11-16 14:38:34,343 - DEBUG - Requesting: http://10.0.0.186:8081/analytics/uves/virtual-networks
2026-11-16 14:38:34,705 - DEBUG - Requesting: http://10.0.0.186:8081/analytics/uves/virtual-networks
2026-11-16 14:38:34,762 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77279270:ctest-vn-80495939', 'href': 'http://10.0.0.186:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77279270:ctest-vn-80495939?flat'}
2026-11-16 14:38:34,762 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77279270:ctest-vn-80495939 is found in opserver
2026-11-16 14:38:34,773 - DEBUG - Do not have enough data to verify VN in agent
2026-11-16 14:38:34,778 - DEBUG - VRF ids for VN ctest-vn-80495939: {}
2026-11-16 14:38:34,778 - DEBUG - Requesting: http://10.0.0.186:8082/domains
2026-11-16 14:38:34,783 - DEBUG - Requesting: http://10.0.0.186:8082/domain/69bbf3a4-3a84-48c8-9be4-869fce8baa8a
2026-11-16 14:38:34,794 - DEBUG - Requesting: http://10.0.0.186:8082/project/13780425-b567-4e1e-826b-87fc4ef341aa
2026-11-16 14:38:34,870 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/9effe9aa-7395-4a23-b69f-b2bf74d79886
2026-11-16 14:38:34,885 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/9effe9aa-7395-4a23-b69f-b2bf74d79886
2026-11-16 14:38:34,896 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/077cae44-56f8-4477-bd39-af61e58b50b0
2026-11-16 14:38:34,906 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/077cae44-56f8-4477-bd39-af61e58b50b0
2026-11-16 14:38:34,915 - DEBUG - Requesting: http://10.0.0.186:8082/route-target/8d0be49c-cc97-44b5-a241-c4fbfd65b244
2026-11-16 14:38:34,922 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-16 14:38:34,922 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/9effe9aa-7395-4a23-b69f-b2bf74d79886
2026-11-16 14:38:34,932 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/077cae44-56f8-4477-bd39-af61e58b50b0
2026-11-16 14:38:34,946 - INFO - Verified VN network id 13 for VN 9effe9aa-7395-4a23-b69f-b2bf74d79886
2026-11-16 14:38:34,946 - INFO - Verifications in API Server for VN ctest-vn-11209519 passed
2026-11-16 14:38:34,946 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/9effe9aa-7395-4a23-b69f-b2bf74d79886
2026-11-16 14:38:34,956 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/077cae44-56f8-4477-bd39-af61e58b50b0
2026-11-16 14:38:34,963 - DEBUG - Requesting: http://10.0.0.186:8082/routing-instance/077cae44-56f8-4477-bd39-af61e58b50b0
2026-11-16 14:38:34,972 - DEBUG - Requesting: http://10.0.0.186:8082/route-target/8d0be49c-cc97-44b5-a241-c4fbfd65b244
2026-11-16 14:38:34,986 - DEBUG - Control-node 10.0.0.186 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77279270:ctest-vn-11209519', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77279270', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11457132895346706979', 'uuid-lslong': '13159433171568662662'}, 'enable': 'true', 'created': '2026-11-16T14:38:32', 'last-modified': '2026-11-16T14:38:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.541652'}
2026-11-16 14:38:34,993 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-16 14:38:34,993 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11209519 passed
2026-11-16 14:38:34,993 - DEBUG - ====Verifying policy data for ctest-vn-11209519 in API_Server ======
2026-11-16 14:38:34,993 - DEBUG - Requesting: http://10.0.0.186:8082/domains
2026-11-16 14:38:34,999 - DEBUG - Requesting: http://10.0.0.186:8082/domain/69bbf3a4-3a84-48c8-9be4-869fce8baa8a
2026-11-16 14:38:35,010 - DEBUG - Requesting: http://10.0.0.186:8082/project/13780425-b567-4e1e-826b-87fc4ef341aa
2026-11-16 14:38:35,089 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-network/9effe9aa-7395-4a23-b69f-b2bf74d79886
2026-11-16 14:38:35,100 - DEBUG - ==>Verifying data for policy with id: 1341d3f5-a983-4306-b8c3-87942330894d, fqn: ['default-domain', 'ctest-TestBasicPolicy-77279270', 'ctest-policy-allow-all-00884332']
2026-11-16 14:38:35,100 - INFO - VN ctest-vn-11209519 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-16 14:38:35,100 - DEBUG - Verifying the vn in opserver
2026-11-16 14:38:35,100 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77279270:ctest-vn-11209519 virtual network link through opserver 10.0.0.186
2026-11-16 14:38:35,100 - DEBUG - Requesting: http://10.0.0.186:8081/analytics/uves/virtual-networks
2026-11-16 14:38:35,109 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77279270:ctest-vn-11209519', 'href': 'http://10.0.0.186:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77279270:ctest-vn-11209519?flat'}
2026-11-16 14:38:35,109 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77279270:ctest-vn-11209519 is found in opserver
2026-11-16 14:38:35,119 - DEBUG - Do not have enough data to verify VN in agent
2026-11-16 14:38:35,123 - DEBUG - VRF ids for VN ctest-vn-11209519: {}
2026-11-16 14:38:35,176 - DEBUG - Services list from nova: [