2026-05-15 17:21:35,318 - INFO - Domain Default found not creating
2026-05-15 17:21:35,503 - INFO - Project ctest-TestBasicPolicy-87355371 not found, creating it
2026-05-15 17:21:35,987 - INFO - Created Project:ctest-TestBasicPolicy-87355371, ID : 6cabbecf-e845-4525-b431-ec904e4f6647
2026-05-15 17:21:37,451 - INFO - ================================================================================
2026-05-15 17:21:37,451 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-05-15 17:21:37,451 - 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-05-15 17:21:37,708 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with
2026-05-15 17:21:37,708 - INFO - Initial checks done. Running the testcase now
2026-05-15 17:21:37,708 - INFO -
2026-05-15 17:21:38,263 - DEBUG - Response for create_network : {'network': {'id': '4c894570-dc53-46c9-bb81-26cd13131a07', 'name': 'ctest-vn-68326009', 'tenant_id': '6cabbecfe8454525b431ec904e4f6647', 'project_id': '6cabbecfe8454525b431ec904e4f6647', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87355371', 'ctest-vn-68326009'], 'port_security_enabled': True, 'description': ''}}
2026-05-15 17:21:38,425 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a0aaff0-1f8e-4944-abcd-d6904724b809', 'name': '', 'tenant_id': '6cabbecfe8454525b431ec904e4f6647', 'network_id': '4c894570-dc53-46c9-bb81-26cd13131a07', 'ip_version': 4, 'cidr': '29.16.211.192/26', 'allocation_pools': [{'start': '29.16.211.194', 'end': '29.16.211.254'}], 'gateway_ip': '29.16.211.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.16.211.194', 'tags': [], 'project_id': '6cabbecfe8454525b431ec904e4f6647'}}
2026-05-15 17:21:38,443 - INFO - Created VN ctest-vn-68326009
2026-05-15 17:21:38,496 - DEBUG - VN ctest-vn-68326009 UUID is 4c894570-dc53-46c9-bb81-26cd13131a07
2026-05-15 17:21:38,814 - DEBUG - Response for create_network : {'network': {'id': '0b8246b8-1106-4281-bfe5-fe221733413b', 'name': 'ctest-vn-99494191', 'tenant_id': '6cabbecfe8454525b431ec904e4f6647', 'project_id': '6cabbecfe8454525b431ec904e4f6647', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87355371', 'ctest-vn-99494191'], 'port_security_enabled': True, 'description': ''}}
2026-05-15 17:21:39,008 - DEBUG - Response for create_subnet : {'subnet': {'id': '924d998c-7753-4dbd-906d-e6795c9c7231', 'name': '', 'tenant_id': '6cabbecfe8454525b431ec904e4f6647', 'network_id': '0b8246b8-1106-4281-bfe5-fe221733413b', 'ip_version': 4, 'cidr': '119.154.136.128/26', 'allocation_pools': [{'start': '119.154.136.130', 'end': '119.154.136.190'}], 'gateway_ip': '119.154.136.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.154.136.130', 'tags': [], 'project_id': '6cabbecfe8454525b431ec904e4f6647'}}
2026-05-15 17:21:39,028 - INFO - Created VN ctest-vn-99494191
2026-05-15 17:21:39,083 - DEBUG - VN ctest-vn-99494191 UUID is 0b8246b8-1106-4281-bfe5-fe221733413b
2026-05-15 17:21:39,205 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-87355371:ctest-vn-68326009, 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-87355371:ctest-vn-99494191, 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-05-15 17:21:39,501 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4c894570-dc53-46c9-bb81-26cd13131a07', 'name': 'ctest-vn-68326009', 'tenant_id': '6cabbecfe8454525b431ec904e4f6647', 'project_id': '6cabbecfe8454525b431ec904e4f6647', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2a0aaff0-1f8e-4944-abcd-d6904724b809'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87355371', 'ctest-vn-68326009'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87355371', 'ctest-policy-allow-all-37110207']], 'subnet_ipam': [{'subnet_cidr': '29.16.211.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-15 17:21:39,726 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0b8246b8-1106-4281-bfe5-fe221733413b', 'name': 'ctest-vn-99494191', 'tenant_id': '6cabbecfe8454525b431ec904e4f6647', 'project_id': '6cabbecfe8454525b431ec904e4f6647', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['924d998c-7753-4dbd-906d-e6795c9c7231'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87355371', 'ctest-vn-99494191'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87355371', 'ctest-policy-allow-all-37110207']], 'subnet_ipam': [{'subnet_cidr': '119.154.136.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-15 17:21:39,895 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-05-15 17:21:40,193 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-05-15 17:21:40,227 - DEBUG - Requesting: http://10.0.0.33:8082/domain/73d90680-ed4e-44c1-86de-f6277c11dafe
2026-05-15 17:21:40,240 - DEBUG - Requesting: http://10.0.0.33:8082/project/6cabbecf-e845-4525-b431-ec904e4f6647
2026-05-15 17:21:40,311 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/4c894570-dc53-46c9-bb81-26cd13131a07
2026-05-15 17:21:40,326 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/4c894570-dc53-46c9-bb81-26cd13131a07
2026-05-15 17:21:40,337 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/12679654-9896-48cd-a391-b3159e90b9cc
2026-05-15 17:21:40,348 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/12679654-9896-48cd-a391-b3159e90b9cc
2026-05-15 17:21:40,355 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/07395c13-c557-4de5-8535-6ce4657cbbc0
2026-05-15 17:21:40,362 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-15 17:21:40,362 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/4c894570-dc53-46c9-bb81-26cd13131a07
2026-05-15 17:21:40,373 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/12679654-9896-48cd-a391-b3159e90b9cc
2026-05-15 17:21:40,388 - INFO - Verified VN network id 10 for VN 4c894570-dc53-46c9-bb81-26cd13131a07
2026-05-15 17:21:40,388 - INFO - Verifications in API Server for VN ctest-vn-68326009 passed
2026-05-15 17:21:40,388 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/4c894570-dc53-46c9-bb81-26cd13131a07
2026-05-15 17:21:40,398 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/12679654-9896-48cd-a391-b3159e90b9cc
2026-05-15 17:21:40,407 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/12679654-9896-48cd-a391-b3159e90b9cc
2026-05-15 17:21:40,416 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/07395c13-c557-4de5-8535-6ce4657cbbc0
2026-05-15 17:21:40,430 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87355371:ctest-vn-68326009', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87355371', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5515015569726981833', 'uuid-lslong': '13511123019318368775'}, 'enable': 'true', 'created': '2026-05-15T17:21:38', 'last-modified': '2026-05-15T17:21:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.950295'}
2026-05-15 17:21:40,438 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-15 17:21:40,438 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68326009 passed
2026-05-15 17:21:40,438 - DEBUG - ====Verifying policy data for ctest-vn-68326009 in API_Server ======
2026-05-15 17:21:40,438 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-05-15 17:21:40,444 - DEBUG - Requesting: http://10.0.0.33:8082/domain/73d90680-ed4e-44c1-86de-f6277c11dafe
2026-05-15 17:21:40,458 - DEBUG - Requesting: http://10.0.0.33:8082/project/6cabbecf-e845-4525-b431-ec904e4f6647
2026-05-15 17:21:40,531 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/4c894570-dc53-46c9-bb81-26cd13131a07
2026-05-15 17:21:40,541 - DEBUG - ==>Verifying data for policy with id: 568fddae-cc9d-4918-84c3-4f6e87c4dff9, fqn: ['default-domain', 'ctest-TestBasicPolicy-87355371', 'ctest-policy-allow-all-37110207']
2026-05-15 17:21:40,541 - INFO - VN ctest-vn-68326009 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-15 17:21:40,541 - DEBUG - Verifying the vn in opserver
2026-05-15 17:21:40,541 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87355371:ctest-vn-68326009 virtual network link through opserver 10.0.0.33
2026-05-15 17:21:40,541 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-05-15 17:21:40,835 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-05-15 17:21:40,897 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87355371:ctest-vn-68326009', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87355371:ctest-vn-68326009?flat'}
2026-05-15 17:21:40,897 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87355371:ctest-vn-68326009 is found in opserver
2026-05-15 17:21:40,906 - DEBUG - Do not have enough data to verify VN in agent
2026-05-15 17:21:40,909 - DEBUG - VRF ids for VN ctest-vn-68326009: {}
2026-05-15 17:21:40,910 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-05-15 17:21:40,915 - DEBUG - Requesting: http://10.0.0.33:8082/domain/73d90680-ed4e-44c1-86de-f6277c11dafe
2026-05-15 17:21:40,925 - DEBUG - Requesting: http://10.0.0.33:8082/project/6cabbecf-e845-4525-b431-ec904e4f6647
2026-05-15 17:21:40,993 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0b8246b8-1106-4281-bfe5-fe221733413b
2026-05-15 17:21:41,004 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0b8246b8-1106-4281-bfe5-fe221733413b
2026-05-15 17:21:41,013 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0574aad1-8d39-4568-8610-4845b0c6cd2d
2026-05-15 17:21:41,020 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0574aad1-8d39-4568-8610-4845b0c6cd2d
2026-05-15 17:21:41,026 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/3343966e-bf61-4541-84a2-26161b07be5d
2026-05-15 17:21:41,033 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-15 17:21:41,033 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0b8246b8-1106-4281-bfe5-fe221733413b
2026-05-15 17:21:41,042 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0574aad1-8d39-4568-8610-4845b0c6cd2d
2026-05-15 17:21:41,055 - INFO - Verified VN network id 11 for VN 0b8246b8-1106-4281-bfe5-fe221733413b
2026-05-15 17:21:41,055 - INFO - Verifications in API Server for VN ctest-vn-99494191 passed
2026-05-15 17:21:41,056 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0b8246b8-1106-4281-bfe5-fe221733413b
2026-05-15 17:21:41,064 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0574aad1-8d39-4568-8610-4845b0c6cd2d
2026-05-15 17:21:41,072 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0574aad1-8d39-4568-8610-4845b0c6cd2d
2026-05-15 17:21:41,078 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/3343966e-bf61-4541-84a2-26161b07be5d
2026-05-15 17:21:41,089 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87355371:ctest-vn-99494191', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87355371', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '829303037763142273', 'uuid-lslong': '13827737653282554171'}, 'enable': 'true', 'created': '2026-05-15T17:21:38', 'last-modified': '2026-05-15T17:21:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.385657'}
2026-05-15 17:21:41,095 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-15 17:21:41,095 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99494191 passed
2026-05-15 17:21:41,096 - DEBUG - ====Verifying policy data for ctest-vn-99494191 in API_Server ======
2026-05-15 17:21:41,096 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-05-15 17:21:41,101 - DEBUG - Requesting: http://10.0.0.33:8082/domain/73d90680-ed4e-44c1-86de-f6277c11dafe
2026-05-15 17:21:41,112 - DEBUG - Requesting: http://10.0.0.33:8082/project/6cabbecf-e845-4525-b431-ec904e4f6647
2026-05-15 17:21:41,181 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0b8246b8-1106-4281-bfe5-fe221733413b
2026-05-15 17:21:41,190 - DEBUG - ==>Verifying data for policy with id: 568fddae-cc9d-4918-84c3-4f6e87c4dff9, fqn: ['default-domain', 'ctest-TestBasicPolicy-87355371', 'ctest-policy-allow-all-37110207']
2026-05-15 17:21:41,190 - INFO - VN ctest-vn-99494191 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-15 17:21:41,190 - DEBUG - Verifying the vn in opserver
2026-05-15 17:21:41,190 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87355371:ctest-vn-99494191 virtual network link through opserver 10.0.0.33
2026-05-15 17:21:41,190 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-05-15 17:21:41,199 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87355371:ctest-vn-99494191', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87355371:ctest-vn-99494191?flat'}
2026-05-15 17:21:41,199 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87355371:ctest-vn-99494191 is found in opserver
2026-05-15 17:21:41,209 - DEBUG - Do not have enough data to verify VN in agent
2026-05-15 17:21:41,214 - DEBUG - VRF ids for VN ctest-vn-99494191: {}
2026-05-15 17:21:41,284 - DEBUG - Services list from nova: [