2026-02-05 02:08:29,126 - INFO - Domain Default found not creating
2026-02-05 02:08:29,330 - INFO - Project ctest-TestBasicPolicy-17380829 not found, creating it
2026-02-05 02:08:29,824 - INFO - Created Project:ctest-TestBasicPolicy-17380829, ID : a2b48ce9-b913-4b46-b41d-abad5716fb57
2026-02-05 02:08:32,072 - INFO - ================================================================================
2026-02-05 02:08:32,072 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-05 02:08:32,073 - 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-05 02:08:32,345 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-02-05 02:08:32,345 - INFO - Initial checks done. Running the testcase now
2026-02-05 02:08:32,345 - INFO -
2026-02-05 02:08:33,033 - DEBUG - Response for create_network : {'network': {'id': 'e13bc022-38f2-4fe9-b5e9-cc4ce9a3d844', 'name': 'ctest-vn-16932398', 'tenant_id': 'a2b48ce9b9134b46b41dabad5716fb57', 'project_id': 'a2b48ce9b9134b46b41dabad5716fb57', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17380829', 'ctest-vn-16932398'], 'port_security_enabled': True, 'description': ''}}
2026-02-05 02:08:33,228 - DEBUG - Response for create_subnet : {'subnet': {'id': '39a38381-0681-4c0e-9c06-c528727f1aa8', 'name': '', 'tenant_id': 'a2b48ce9b9134b46b41dabad5716fb57', 'network_id': 'e13bc022-38f2-4fe9-b5e9-cc4ce9a3d844', 'ip_version': 4, 'cidr': '188.209.183.192/26', 'allocation_pools': [{'start': '188.209.183.194', 'end': '188.209.183.254'}], 'gateway_ip': '188.209.183.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.209.183.194', 'tags': [], 'project_id': 'a2b48ce9b9134b46b41dabad5716fb57'}}
2026-02-05 02:08:33,252 - INFO - Created VN ctest-vn-16932398
2026-02-05 02:08:33,307 - DEBUG - VN ctest-vn-16932398 UUID is e13bc022-38f2-4fe9-b5e9-cc4ce9a3d844
2026-02-05 02:08:33,656 - DEBUG - Response for create_network : {'network': {'id': 'bf955749-79c8-430d-ad80-7bf5fddbaba9', 'name': 'ctest-vn-37018258', 'tenant_id': 'a2b48ce9b9134b46b41dabad5716fb57', 'project_id': 'a2b48ce9b9134b46b41dabad5716fb57', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17380829', 'ctest-vn-37018258'], 'port_security_enabled': True, 'description': ''}}
2026-02-05 02:08:33,836 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a7931cc-4d1b-43ac-b7b8-adf43fd24b9a', 'name': '', 'tenant_id': 'a2b48ce9b9134b46b41dabad5716fb57', 'network_id': 'bf955749-79c8-430d-ad80-7bf5fddbaba9', 'ip_version': 4, 'cidr': '13.248.228.192/26', 'allocation_pools': [{'start': '13.248.228.194', 'end': '13.248.228.254'}], 'gateway_ip': '13.248.228.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.248.228.194', 'tags': [], 'project_id': 'a2b48ce9b9134b46b41dabad5716fb57'}}
2026-02-05 02:08:33,860 - INFO - Created VN ctest-vn-37018258
2026-02-05 02:08:33,919 - DEBUG - VN ctest-vn-37018258 UUID is bf955749-79c8-430d-ad80-7bf5fddbaba9
2026-02-05 02:08:34,044 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-17380829:ctest-vn-16932398, 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-17380829:ctest-vn-37018258, 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-05 02:08:34,371 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e13bc022-38f2-4fe9-b5e9-cc4ce9a3d844', 'name': 'ctest-vn-16932398', 'tenant_id': 'a2b48ce9b9134b46b41dabad5716fb57', 'project_id': 'a2b48ce9b9134b46b41dabad5716fb57', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['39a38381-0681-4c0e-9c06-c528727f1aa8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17380829', 'ctest-vn-16932398'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17380829', 'ctest-policy-allow-all-58656923']], 'subnet_ipam': [{'subnet_cidr': '188.209.183.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-05 02:08:34,614 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bf955749-79c8-430d-ad80-7bf5fddbaba9', 'name': 'ctest-vn-37018258', 'tenant_id': 'a2b48ce9b9134b46b41dabad5716fb57', 'project_id': 'a2b48ce9b9134b46b41dabad5716fb57', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1a7931cc-4d1b-43ac-b7b8-adf43fd24b9a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17380829', 'ctest-vn-37018258'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17380829', 'ctest-policy-allow-all-58656923']], 'subnet_ipam': [{'subnet_cidr': '13.248.228.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-05 02:08:34,771 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-05 02:08:35,142 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-05 02:08:35,182 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e1e20fd6-fd62-475b-8d0e-1a10ad33a2c2
2026-02-05 02:08:35,198 - DEBUG - Requesting: http://10.0.0.38:8082/project/a2b48ce9-b913-4b46-b41d-abad5716fb57
2026-02-05 02:08:35,276 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e13bc022-38f2-4fe9-b5e9-cc4ce9a3d844
2026-02-05 02:08:35,288 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e13bc022-38f2-4fe9-b5e9-cc4ce9a3d844
2026-02-05 02:08:35,297 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4c55ec7c-e6c0-41bd-b9f3-c1f9a964031f
2026-02-05 02:08:35,305 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4c55ec7c-e6c0-41bd-b9f3-c1f9a964031f
2026-02-05 02:08:35,313 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c5ff9143-770f-4f3a-974b-cf37af84a2f6
2026-02-05 02:08:35,320 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-05 02:08:35,320 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e13bc022-38f2-4fe9-b5e9-cc4ce9a3d844
2026-02-05 02:08:35,332 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4c55ec7c-e6c0-41bd-b9f3-c1f9a964031f
2026-02-05 02:08:35,350 - INFO - Verified VN network id 12 for VN e13bc022-38f2-4fe9-b5e9-cc4ce9a3d844
2026-02-05 02:08:35,350 - INFO - Verifications in API Server for VN ctest-vn-16932398 passed
2026-02-05 02:08:35,350 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e13bc022-38f2-4fe9-b5e9-cc4ce9a3d844
2026-02-05 02:08:35,362 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4c55ec7c-e6c0-41bd-b9f3-c1f9a964031f
2026-02-05 02:08:35,370 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4c55ec7c-e6c0-41bd-b9f3-c1f9a964031f
2026-02-05 02:08:35,378 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c5ff9143-770f-4f3a-974b-cf37af84a2f6
2026-02-05 02:08:35,392 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17380829:ctest-vn-16932398', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17380829', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16229776935376539625', 'uuid-lslong': '13108232821147949124'}, 'enable': 'true', 'created': '2026-02-05T02:08:32', 'last-modified': '2026-02-05T02:08:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.051131'}
2026-02-05 02:08:35,399 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-05 02:08:35,399 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16932398 passed
2026-02-05 02:08:35,399 - DEBUG - ====Verifying policy data for ctest-vn-16932398 in API_Server ======
2026-02-05 02:08:35,400 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-05 02:08:35,406 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e1e20fd6-fd62-475b-8d0e-1a10ad33a2c2
2026-02-05 02:08:35,418 - DEBUG - Requesting: http://10.0.0.38:8082/project/a2b48ce9-b913-4b46-b41d-abad5716fb57
2026-02-05 02:08:35,490 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e13bc022-38f2-4fe9-b5e9-cc4ce9a3d844
2026-02-05 02:08:35,501 - DEBUG - ==>Verifying data for policy with id: 9c8265d9-df30-4f9d-8d16-95a9dd68a3fd, fqn: ['default-domain', 'ctest-TestBasicPolicy-17380829', 'ctest-policy-allow-all-58656923']
2026-02-05 02:08:35,501 - INFO - VN ctest-vn-16932398 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-05 02:08:35,501 - DEBUG - Verifying the vn in opserver
2026-02-05 02:08:35,502 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17380829:ctest-vn-16932398 virtual network link through opserver 10.0.0.38
2026-02-05 02:08:35,502 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-05 02:08:35,846 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-05 02:08:35,921 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17380829:ctest-vn-16932398', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17380829:ctest-vn-16932398?flat'}
2026-02-05 02:08:35,921 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17380829:ctest-vn-16932398 is found in opserver
2026-02-05 02:08:35,934 - DEBUG - Do not have enough data to verify VN in agent
2026-02-05 02:08:35,939 - DEBUG - VRF ids for VN ctest-vn-16932398: {}
2026-02-05 02:08:35,939 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-05 02:08:35,947 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e1e20fd6-fd62-475b-8d0e-1a10ad33a2c2
2026-02-05 02:08:35,962 - DEBUG - Requesting: http://10.0.0.38:8082/project/a2b48ce9-b913-4b46-b41d-abad5716fb57
2026-02-05 02:08:36,070 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bf955749-79c8-430d-ad80-7bf5fddbaba9
2026-02-05 02:08:36,084 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bf955749-79c8-430d-ad80-7bf5fddbaba9
2026-02-05 02:08:36,097 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7f269a36-39c0-4b44-87ae-01068331c1fd
2026-02-05 02:08:36,106 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7f269a36-39c0-4b44-87ae-01068331c1fd
2026-02-05 02:08:36,115 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6a135cd3-fbd1-4715-a0b2-1807e61e2643
2026-02-05 02:08:36,124 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-05 02:08:36,124 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bf955749-79c8-430d-ad80-7bf5fddbaba9
2026-02-05 02:08:36,136 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7f269a36-39c0-4b44-87ae-01068331c1fd
2026-02-05 02:08:36,156 - INFO - Verified VN network id 13 for VN bf955749-79c8-430d-ad80-7bf5fddbaba9
2026-02-05 02:08:36,156 - INFO - Verifications in API Server for VN ctest-vn-37018258 passed
2026-02-05 02:08:36,156 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bf955749-79c8-430d-ad80-7bf5fddbaba9
2026-02-05 02:08:36,169 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7f269a36-39c0-4b44-87ae-01068331c1fd
2026-02-05 02:08:36,178 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7f269a36-39c0-4b44-87ae-01068331c1fd
2026-02-05 02:08:36,189 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6a135cd3-fbd1-4715-a0b2-1807e61e2643
2026-02-05 02:08:36,203 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17380829:ctest-vn-37018258', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17380829', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13805036205861520141', 'uuid-lslong': '12502128862036732841'}, 'enable': 'true', 'created': '2026-02-05T02:08:33', 'last-modified': '2026-02-05T02:08:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.612589'}
2026-02-05 02:08:36,209 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-05 02:08:36,209 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37018258 passed
2026-02-05 02:08:36,210 - DEBUG - ====Verifying policy data for ctest-vn-37018258 in API_Server ======
2026-02-05 02:08:36,210 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-05 02:08:36,217 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e1e20fd6-fd62-475b-8d0e-1a10ad33a2c2
2026-02-05 02:08:36,230 - DEBUG - Requesting: http://10.0.0.38:8082/project/a2b48ce9-b913-4b46-b41d-abad5716fb57
2026-02-05 02:08:36,322 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bf955749-79c8-430d-ad80-7bf5fddbaba9
2026-02-05 02:08:36,336 - DEBUG - ==>Verifying data for policy with id: 9c8265d9-df30-4f9d-8d16-95a9dd68a3fd, fqn: ['default-domain', 'ctest-TestBasicPolicy-17380829', 'ctest-policy-allow-all-58656923']
2026-02-05 02:08:36,336 - INFO - VN ctest-vn-37018258 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-05 02:08:36,336 - DEBUG - Verifying the vn in opserver
2026-02-05 02:08:36,336 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17380829:ctest-vn-37018258 virtual network link through opserver 10.0.0.38
2026-02-05 02:08:36,336 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-05 02:08:36,349 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17380829:ctest-vn-37018258', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17380829:ctest-vn-37018258?flat'}
2026-02-05 02:08:36,350 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17380829:ctest-vn-37018258 is found in opserver
2026-02-05 02:08:36,362 - DEBUG - Do not have enough data to verify VN in agent
2026-02-05 02:08:36,369 - DEBUG - VRF ids for VN ctest-vn-37018258: {}
2026-02-05 02:08:36,443 - DEBUG - Services list from nova: [