2026-01-28 22:22:56,426 - INFO - Domain Default found not creating
2026-01-28 22:22:56,566 - INFO - Project ctest-TestBasicPolicy-01281743 not found, creating it
2026-01-28 22:22:56,997 - INFO - Created Project:ctest-TestBasicPolicy-01281743, ID : a79e0d15-668b-4563-a1df-d05a97dcc186
2026-01-28 22:22:58,379 - INFO - ================================================================================
2026-01-28 22:22:58,380 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-28 22:22:58,380 - 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-28 22:22:58,633 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2026-01-28 22:22:58,633 - INFO - Initial checks done. Running the testcase now
2026-01-28 22:22:58,634 - INFO -
2026-01-28 22:22:59,167 - DEBUG - Response for create_network : {'network': {'id': '75346d68-12a8-4e22-9779-4b5cc56840bc', 'name': 'ctest-vn-99925270', 'tenant_id': 'a79e0d15668b4563a1dfd05a97dcc186', 'project_id': 'a79e0d15668b4563a1dfd05a97dcc186', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01281743', 'ctest-vn-99925270'], 'port_security_enabled': True, 'description': ''}}
2026-01-28 22:22:59,349 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc1a9471-5e29-459b-9ef1-dcd899a169e2', 'name': '', 'tenant_id': 'a79e0d15668b4563a1dfd05a97dcc186', 'network_id': '75346d68-12a8-4e22-9779-4b5cc56840bc', 'ip_version': 4, 'cidr': '168.249.113.0/26', 'allocation_pools': [{'start': '168.249.113.2', 'end': '168.249.113.62'}], 'gateway_ip': '168.249.113.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.249.113.2', 'tags': [], 'project_id': 'a79e0d15668b4563a1dfd05a97dcc186'}}
2026-01-28 22:22:59,365 - INFO - Created VN ctest-vn-99925270
2026-01-28 22:22:59,415 - DEBUG - VN ctest-vn-99925270 UUID is 75346d68-12a8-4e22-9779-4b5cc56840bc
2026-01-28 22:22:59,756 - DEBUG - Response for create_network : {'network': {'id': '3fedde14-f1d2-4a31-8abc-4ff30872f91f', 'name': 'ctest-vn-72105508', 'tenant_id': 'a79e0d15668b4563a1dfd05a97dcc186', 'project_id': 'a79e0d15668b4563a1dfd05a97dcc186', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01281743', 'ctest-vn-72105508'], 'port_security_enabled': True, 'description': ''}}
2026-01-28 22:22:59,967 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd47cf459-1c0a-41e3-bc09-bd9bd1255329', 'name': '', 'tenant_id': 'a79e0d15668b4563a1dfd05a97dcc186', 'network_id': '3fedde14-f1d2-4a31-8abc-4ff30872f91f', 'ip_version': 4, 'cidr': '93.199.88.192/26', 'allocation_pools': [{'start': '93.199.88.194', 'end': '93.199.88.254'}], 'gateway_ip': '93.199.88.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.199.88.194', 'tags': [], 'project_id': 'a79e0d15668b4563a1dfd05a97dcc186'}}
2026-01-28 22:22:59,982 - INFO - Created VN ctest-vn-72105508
2026-01-28 22:23:00,031 - DEBUG - VN ctest-vn-72105508 UUID is 3fedde14-f1d2-4a31-8abc-4ff30872f91f
2026-01-28 22:23:00,183 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-01281743:ctest-vn-99925270, 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-01281743:ctest-vn-72105508, 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-28 22:23:00,455 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '75346d68-12a8-4e22-9779-4b5cc56840bc', 'name': 'ctest-vn-99925270', 'tenant_id': 'a79e0d15668b4563a1dfd05a97dcc186', 'project_id': 'a79e0d15668b4563a1dfd05a97dcc186', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dc1a9471-5e29-459b-9ef1-dcd899a169e2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01281743', 'ctest-vn-99925270'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01281743', 'ctest-policy-allow-all-92716434']], 'subnet_ipam': [{'subnet_cidr': '168.249.113.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-28 22:23:00,724 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3fedde14-f1d2-4a31-8abc-4ff30872f91f', 'name': 'ctest-vn-72105508', 'tenant_id': 'a79e0d15668b4563a1dfd05a97dcc186', 'project_id': 'a79e0d15668b4563a1dfd05a97dcc186', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d47cf459-1c0a-41e3-bc09-bd9bd1255329'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01281743', 'ctest-vn-72105508'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01281743', 'ctest-policy-allow-all-92716434']], 'subnet_ipam': [{'subnet_cidr': '93.199.88.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-28 22:23:00,875 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-01-28 22:23:01,169 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-01-28 22:23:01,196 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c7f4837a-788e-4a51-a2cb-23a127bebc0c
2026-01-28 22:23:01,207 - DEBUG - Requesting: http://10.0.0.249:8082/project/a79e0d15-668b-4563-a1df-d05a97dcc186
2026-01-28 22:23:01,283 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/75346d68-12a8-4e22-9779-4b5cc56840bc
2026-01-28 22:23:01,292 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/75346d68-12a8-4e22-9779-4b5cc56840bc
2026-01-28 22:23:01,300 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0ff198e0-08d0-4f8f-b7db-8e060ab33027
2026-01-28 22:23:01,306 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0ff198e0-08d0-4f8f-b7db-8e060ab33027
2026-01-28 22:23:01,311 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/96f820d1-3c7c-493d-a81b-ec2f0f533bed
2026-01-28 22:23:01,316 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-28 22:23:01,316 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/75346d68-12a8-4e22-9779-4b5cc56840bc
2026-01-28 22:23:01,323 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0ff198e0-08d0-4f8f-b7db-8e060ab33027
2026-01-28 22:23:01,334 - INFO - Verified VN network id 12 for VN 75346d68-12a8-4e22-9779-4b5cc56840bc
2026-01-28 22:23:01,334 - INFO - Verifications in API Server for VN ctest-vn-99925270 passed
2026-01-28 22:23:01,335 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/75346d68-12a8-4e22-9779-4b5cc56840bc
2026-01-28 22:23:01,342 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0ff198e0-08d0-4f8f-b7db-8e060ab33027
2026-01-28 22:23:01,347 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0ff198e0-08d0-4f8f-b7db-8e060ab33027
2026-01-28 22:23:01,353 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/96f820d1-3c7c-493d-a81b-ec2f0f533bed
2026-01-28 22:23:01,364 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01281743:ctest-vn-99925270', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01281743', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8445495494983568930', 'uuid-lslong': '10914838033730126012'}, 'enable': 'true', 'created': '2026-01-28T22:22:59', 'last-modified': '2026-01-28T22:23:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.923650'}
2026-01-28 22:23:01,369 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-28 22:23:01,369 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99925270 passed
2026-01-28 22:23:01,369 - DEBUG - ====Verifying policy data for ctest-vn-99925270 in API_Server ======
2026-01-28 22:23:01,369 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-01-28 22:23:01,374 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c7f4837a-788e-4a51-a2cb-23a127bebc0c
2026-01-28 22:23:01,384 - DEBUG - Requesting: http://10.0.0.249:8082/project/a79e0d15-668b-4563-a1df-d05a97dcc186
2026-01-28 22:23:01,454 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/75346d68-12a8-4e22-9779-4b5cc56840bc
2026-01-28 22:23:01,461 - DEBUG - ==>Verifying data for policy with id: a13da189-822b-4463-98fa-2f1fa88f8231, fqn: ['default-domain', 'ctest-TestBasicPolicy-01281743', 'ctest-policy-allow-all-92716434']
2026-01-28 22:23:01,461 - INFO - VN ctest-vn-99925270 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-28 22:23:01,461 - DEBUG - Verifying the vn in opserver
2026-01-28 22:23:01,462 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01281743:ctest-vn-99925270 virtual network link through opserver 10.0.0.249
2026-01-28 22:23:01,462 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-01-28 22:23:01,755 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-01-28 22:23:01,813 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01281743:ctest-vn-99925270', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01281743:ctest-vn-99925270?flat'}
2026-01-28 22:23:01,814 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01281743:ctest-vn-99925270 is found in opserver
2026-01-28 22:23:01,822 - DEBUG - Do not have enough data to verify VN in agent
2026-01-28 22:23:01,826 - DEBUG - VRF ids for VN ctest-vn-99925270: {}
2026-01-28 22:23:01,826 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-01-28 22:23:01,830 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c7f4837a-788e-4a51-a2cb-23a127bebc0c
2026-01-28 22:23:01,839 - DEBUG - Requesting: http://10.0.0.249:8082/project/a79e0d15-668b-4563-a1df-d05a97dcc186
2026-01-28 22:23:01,908 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3fedde14-f1d2-4a31-8abc-4ff30872f91f
2026-01-28 22:23:01,917 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3fedde14-f1d2-4a31-8abc-4ff30872f91f
2026-01-28 22:23:01,925 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3ba44bfc-b6d2-418a-aa1c-7e9b30938e63
2026-01-28 22:23:01,931 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3ba44bfc-b6d2-418a-aa1c-7e9b30938e63
2026-01-28 22:23:01,937 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/cebb46b8-9d38-4f7e-bd37-3497c0c4e593
2026-01-28 22:23:01,942 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-28 22:23:01,942 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3fedde14-f1d2-4a31-8abc-4ff30872f91f
2026-01-28 22:23:01,950 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3ba44bfc-b6d2-418a-aa1c-7e9b30938e63
2026-01-28 22:23:01,962 - INFO - Verified VN network id 13 for VN 3fedde14-f1d2-4a31-8abc-4ff30872f91f
2026-01-28 22:23:01,962 - INFO - Verifications in API Server for VN ctest-vn-72105508 passed
2026-01-28 22:23:01,962 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3fedde14-f1d2-4a31-8abc-4ff30872f91f
2026-01-28 22:23:01,969 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3ba44bfc-b6d2-418a-aa1c-7e9b30938e63
2026-01-28 22:23:01,975 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3ba44bfc-b6d2-418a-aa1c-7e9b30938e63
2026-01-28 22:23:01,980 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/cebb46b8-9d38-4f7e-bd37-3497c0c4e593
2026-01-28 22:23:01,990 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01281743:ctest-vn-72105508', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01281743', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4606582175407688241', 'uuid-lslong': '9996953178093058335'}, 'enable': 'true', 'created': '2026-01-28T22:22:59', 'last-modified': '2026-01-28T22:23:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.329888'}
2026-01-28 22:23:01,995 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-28 22:23:01,995 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72105508 passed
2026-01-28 22:23:01,996 - DEBUG - ====Verifying policy data for ctest-vn-72105508 in API_Server ======
2026-01-28 22:23:01,996 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-01-28 22:23:02,001 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c7f4837a-788e-4a51-a2cb-23a127bebc0c
2026-01-28 22:23:02,011 - DEBUG - Requesting: http://10.0.0.249:8082/project/a79e0d15-668b-4563-a1df-d05a97dcc186
2026-01-28 22:23:02,077 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3fedde14-f1d2-4a31-8abc-4ff30872f91f
2026-01-28 22:23:02,085 - DEBUG - ==>Verifying data for policy with id: a13da189-822b-4463-98fa-2f1fa88f8231, fqn: ['default-domain', 'ctest-TestBasicPolicy-01281743', 'ctest-policy-allow-all-92716434']
2026-01-28 22:23:02,086 - INFO - VN ctest-vn-72105508 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-28 22:23:02,086 - DEBUG - Verifying the vn in opserver
2026-01-28 22:23:02,086 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01281743:ctest-vn-72105508 virtual network link through opserver 10.0.0.249
2026-01-28 22:23:02,086 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-01-28 22:23:02,094 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01281743:ctest-vn-72105508', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01281743:ctest-vn-72105508?flat'}
2026-01-28 22:23:02,094 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01281743:ctest-vn-72105508 is found in opserver
2026-01-28 22:23:02,102 - DEBUG - Do not have enough data to verify VN in agent
2026-01-28 22:23:02,106 - DEBUG - VRF ids for VN ctest-vn-72105508: {}
2026-01-28 22:23:02,159 - DEBUG - Services list from nova: [