2026-02-19 23:34:23,011 - INFO - Domain Default found not creating
2026-02-19 23:34:23,178 - INFO - Project ctest-TestBasicPolicy-49092663 not found, creating it
2026-02-19 23:34:23,612 - INFO - Created Project:ctest-TestBasicPolicy-49092663, ID : 7ef88d9f-4137-4191-99bb-5d0c66dc796d
2026-02-19 23:34:25,039 - INFO - ================================================================================
2026-02-19 23:34:25,040 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-19 23:34:25,040 - 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 23:34:25,297 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-02-19 23:34:25,298 - INFO - Initial checks done. Running the testcase now
2026-02-19 23:34:25,298 - INFO -
2026-02-19 23:34:25,815 - DEBUG - Response for create_network : {'network': {'id': 'a8447ac0-3978-44b3-b75c-586fb72852d0', 'name': 'ctest-vn-80117201', 'tenant_id': '7ef88d9f4137419199bb5d0c66dc796d', 'project_id': '7ef88d9f4137419199bb5d0c66dc796d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49092663', 'ctest-vn-80117201'], 'port_security_enabled': True, 'description': ''}}
2026-02-19 23:34:25,967 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bf581261-87c8-4d5c-a8da-c7b5df2f512c', 'name': '', 'tenant_id': '7ef88d9f4137419199bb5d0c66dc796d', 'network_id': 'a8447ac0-3978-44b3-b75c-586fb72852d0', 'ip_version': 4, 'cidr': '202.159.105.0/26', 'allocation_pools': [{'start': '202.159.105.2', 'end': '202.159.105.62'}], 'gateway_ip': '202.159.105.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.159.105.2', 'tags': [], 'project_id': '7ef88d9f4137419199bb5d0c66dc796d'}}
2026-02-19 23:34:25,981 - INFO - Created VN ctest-vn-80117201
2026-02-19 23:34:26,033 - DEBUG - VN ctest-vn-80117201 UUID is a8447ac0-3978-44b3-b75c-586fb72852d0
2026-02-19 23:34:26,370 - DEBUG - Response for create_network : {'network': {'id': '9b03f49e-d9fc-4439-a2b5-645325157881', 'name': 'ctest-vn-95261072', 'tenant_id': '7ef88d9f4137419199bb5d0c66dc796d', 'project_id': '7ef88d9f4137419199bb5d0c66dc796d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49092663', 'ctest-vn-95261072'], 'port_security_enabled': True, 'description': ''}}
2026-02-19 23:34:26,545 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae040e70-1a19-4bc0-9ebb-a190afe7ac9b', 'name': '', 'tenant_id': '7ef88d9f4137419199bb5d0c66dc796d', 'network_id': '9b03f49e-d9fc-4439-a2b5-645325157881', 'ip_version': 4, 'cidr': '179.10.224.128/26', 'allocation_pools': [{'start': '179.10.224.130', 'end': '179.10.224.190'}], 'gateway_ip': '179.10.224.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.10.224.130', 'tags': [], 'project_id': '7ef88d9f4137419199bb5d0c66dc796d'}}
2026-02-19 23:34:26,559 - INFO - Created VN ctest-vn-95261072
2026-02-19 23:34:26,613 - DEBUG - VN ctest-vn-95261072 UUID is 9b03f49e-d9fc-4439-a2b5-645325157881
2026-02-19 23:34:26,753 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-49092663:ctest-vn-80117201, 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-49092663:ctest-vn-95261072, 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 23:34:27,027 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a8447ac0-3978-44b3-b75c-586fb72852d0', 'name': 'ctest-vn-80117201', 'tenant_id': '7ef88d9f4137419199bb5d0c66dc796d', 'project_id': '7ef88d9f4137419199bb5d0c66dc796d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bf581261-87c8-4d5c-a8da-c7b5df2f512c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49092663', 'ctest-vn-80117201'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49092663', 'ctest-policy-allow-all-62023954']], 'subnet_ipam': [{'subnet_cidr': '202.159.105.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-19 23:34:27,245 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9b03f49e-d9fc-4439-a2b5-645325157881', 'name': 'ctest-vn-95261072', 'tenant_id': '7ef88d9f4137419199bb5d0c66dc796d', 'project_id': '7ef88d9f4137419199bb5d0c66dc796d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ae040e70-1a19-4bc0-9ebb-a190afe7ac9b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49092663', 'ctest-vn-95261072'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49092663', 'ctest-policy-allow-all-62023954']], 'subnet_ipam': [{'subnet_cidr': '179.10.224.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-19 23:34:27,389 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-19 23:34:27,681 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-19 23:34:27,707 - DEBUG - Requesting: http://10.0.0.38:8082/domain/450ed921-8d8f-4102-99ca-22982e027b58
2026-02-19 23:34:27,744 - DEBUG - Requesting: http://10.0.0.38:8082/project/7ef88d9f-4137-4191-99bb-5d0c66dc796d
2026-02-19 23:34:27,814 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a8447ac0-3978-44b3-b75c-586fb72852d0
2026-02-19 23:34:27,822 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a8447ac0-3978-44b3-b75c-586fb72852d0
2026-02-19 23:34:27,829 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1997613-ba27-4fc1-8ae1-13b085b8ad19
2026-02-19 23:34:27,834 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1997613-ba27-4fc1-8ae1-13b085b8ad19
2026-02-19 23:34:27,840 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7e343b75-b348-434b-a8dd-60d59a52432c
2026-02-19 23:34:27,845 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-19 23:34:27,845 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a8447ac0-3978-44b3-b75c-586fb72852d0
2026-02-19 23:34:27,852 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1997613-ba27-4fc1-8ae1-13b085b8ad19
2026-02-19 23:34:27,864 - INFO - Verified VN network id 11 for VN a8447ac0-3978-44b3-b75c-586fb72852d0
2026-02-19 23:34:27,864 - INFO - Verifications in API Server for VN ctest-vn-80117201 passed
2026-02-19 23:34:27,864 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a8447ac0-3978-44b3-b75c-586fb72852d0
2026-02-19 23:34:27,870 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1997613-ba27-4fc1-8ae1-13b085b8ad19
2026-02-19 23:34:27,875 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1997613-ba27-4fc1-8ae1-13b085b8ad19
2026-02-19 23:34:27,879 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7e343b75-b348-434b-a8dd-60d59a52432c
2026-02-19 23:34:27,888 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49092663:ctest-vn-80117201', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49092663', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12124951062804710579', 'uuid-lslong': '13212532643635679952'}, 'enable': 'true', 'created': '2026-02-19T23:34:25', 'last-modified': '2026-02-19T23:34:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.878794'}
2026-02-19 23:34:27,893 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-19 23:34:27,893 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80117201 passed
2026-02-19 23:34:27,893 - DEBUG - ====Verifying policy data for ctest-vn-80117201 in API_Server ======
2026-02-19 23:34:27,893 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-19 23:34:27,896 - DEBUG - Requesting: http://10.0.0.38:8082/domain/450ed921-8d8f-4102-99ca-22982e027b58
2026-02-19 23:34:27,905 - DEBUG - Requesting: http://10.0.0.38:8082/project/7ef88d9f-4137-4191-99bb-5d0c66dc796d
2026-02-19 23:34:27,971 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a8447ac0-3978-44b3-b75c-586fb72852d0
2026-02-19 23:34:27,978 - DEBUG - ==>Verifying data for policy with id: be5c677b-5784-4832-af9c-5ceff5f32d37, fqn: ['default-domain', 'ctest-TestBasicPolicy-49092663', 'ctest-policy-allow-all-62023954']
2026-02-19 23:34:27,978 - INFO - VN ctest-vn-80117201 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-19 23:34:27,978 - DEBUG - Verifying the vn in opserver
2026-02-19 23:34:27,978 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49092663:ctest-vn-80117201 virtual network link through opserver 10.0.0.38
2026-02-19 23:34:27,978 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-19 23:34:28,269 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-19 23:34:28,321 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49092663:ctest-vn-80117201', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49092663:ctest-vn-80117201?flat'}
2026-02-19 23:34:28,321 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49092663:ctest-vn-80117201 is found in opserver
2026-02-19 23:34:28,330 - DEBUG - Do not have enough data to verify VN in agent
2026-02-19 23:34:28,334 - DEBUG - VRF ids for VN ctest-vn-80117201: {}
2026-02-19 23:34:28,334 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-19 23:34:28,339 - DEBUG - Requesting: http://10.0.0.38:8082/domain/450ed921-8d8f-4102-99ca-22982e027b58
2026-02-19 23:34:28,347 - DEBUG - Requesting: http://10.0.0.38:8082/project/7ef88d9f-4137-4191-99bb-5d0c66dc796d
2026-02-19 23:34:28,412 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9b03f49e-d9fc-4439-a2b5-645325157881
2026-02-19 23:34:28,421 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9b03f49e-d9fc-4439-a2b5-645325157881
2026-02-19 23:34:28,427 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c6b8f7d-dadd-4f21-ba70-1c4dad4fe4d4
2026-02-19 23:34:28,433 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c6b8f7d-dadd-4f21-ba70-1c4dad4fe4d4
2026-02-19 23:34:28,437 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5ee2c4c3-8a55-4e4a-8f0d-542b0e86773c
2026-02-19 23:34:28,442 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-19 23:34:28,442 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9b03f49e-d9fc-4439-a2b5-645325157881
2026-02-19 23:34:28,449 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c6b8f7d-dadd-4f21-ba70-1c4dad4fe4d4
2026-02-19 23:34:28,458 - INFO - Verified VN network id 12 for VN 9b03f49e-d9fc-4439-a2b5-645325157881
2026-02-19 23:34:28,458 - INFO - Verifications in API Server for VN ctest-vn-95261072 passed
2026-02-19 23:34:28,458 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9b03f49e-d9fc-4439-a2b5-645325157881
2026-02-19 23:34:28,465 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c6b8f7d-dadd-4f21-ba70-1c4dad4fe4d4
2026-02-19 23:34:28,470 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c6b8f7d-dadd-4f21-ba70-1c4dad4fe4d4
2026-02-19 23:34:28,475 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5ee2c4c3-8a55-4e4a-8f0d-542b0e86773c
2026-02-19 23:34:28,484 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49092663:ctest-vn-95261072', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49092663', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11170040463908160569', 'uuid-lslong': '11724387513196181633'}, 'enable': 'true', 'created': '2026-02-19T23:34:26', 'last-modified': '2026-02-19T23:34:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.297628'}
2026-02-19 23:34:28,489 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-19 23:34:28,489 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95261072 passed
2026-02-19 23:34:28,489 - DEBUG - ====Verifying policy data for ctest-vn-95261072 in API_Server ======
2026-02-19 23:34:28,489 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-19 23:34:28,493 - DEBUG - Requesting: http://10.0.0.38:8082/domain/450ed921-8d8f-4102-99ca-22982e027b58
2026-02-19 23:34:28,501 - DEBUG - Requesting: http://10.0.0.38:8082/project/7ef88d9f-4137-4191-99bb-5d0c66dc796d
2026-02-19 23:34:28,570 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9b03f49e-d9fc-4439-a2b5-645325157881
2026-02-19 23:34:28,577 - DEBUG - ==>Verifying data for policy with id: be5c677b-5784-4832-af9c-5ceff5f32d37, fqn: ['default-domain', 'ctest-TestBasicPolicy-49092663', 'ctest-policy-allow-all-62023954']
2026-02-19 23:34:28,577 - INFO - VN ctest-vn-95261072 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-19 23:34:28,577 - DEBUG - Verifying the vn in opserver
2026-02-19 23:34:28,577 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49092663:ctest-vn-95261072 virtual network link through opserver 10.0.0.38
2026-02-19 23:34:28,577 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-19 23:34:28,585 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49092663:ctest-vn-95261072', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49092663:ctest-vn-95261072?flat'}
2026-02-19 23:34:28,585 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49092663:ctest-vn-95261072 is found in opserver
2026-02-19 23:34:28,592 - DEBUG - Do not have enough data to verify VN in agent
2026-02-19 23:34:28,596 - DEBUG - VRF ids for VN ctest-vn-95261072: {}
2026-02-19 23:34:28,647 - DEBUG - Services list from nova: [