2026-03-27 14:53:35,130 - INFO - Domain Default found not creating
2026-03-27 14:53:35,380 - INFO - Project ctest-TestBasicPolicy-39278249 not found, creating it
2026-03-27 14:53:35,975 - INFO - Created Project:ctest-TestBasicPolicy-39278249, ID : abb475dd-388f-4985-baf8-8f4917d6ae55
2026-03-27 14:53:37,937 - INFO - ================================================================================
2026-03-27 14:53:37,937 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-27 14:53:37,937 - 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-03-27 14:53:38,229 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with
2026-03-27 14:53:38,229 - INFO - Initial checks done. Running the testcase now
2026-03-27 14:53:38,229 - INFO -
2026-03-27 14:53:38,935 - DEBUG - Response for create_network : {'network': {'id': '77d81f61-1931-429f-9722-971dd71c4d5c', 'name': 'ctest-vn-91309456', 'tenant_id': 'abb475dd388f4985baf88f4917d6ae55', 'project_id': 'abb475dd388f4985baf88f4917d6ae55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39278249', 'ctest-vn-91309456'], 'port_security_enabled': True, 'description': ''}}
2026-03-27 14:53:39,131 - DEBUG - Response for create_subnet : {'subnet': {'id': '3ee6220e-51db-4076-8300-27170e4b6c42', 'name': '', 'tenant_id': 'abb475dd388f4985baf88f4917d6ae55', 'network_id': '77d81f61-1931-429f-9722-971dd71c4d5c', 'ip_version': 4, 'cidr': '29.247.174.128/26', 'allocation_pools': [{'start': '29.247.174.130', 'end': '29.247.174.190'}], 'gateway_ip': '29.247.174.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.247.174.130', 'tags': [], 'project_id': 'abb475dd388f4985baf88f4917d6ae55'}}
2026-03-27 14:53:39,154 - INFO - Created VN ctest-vn-91309456
2026-03-27 14:53:39,210 - DEBUG - VN ctest-vn-91309456 UUID is 77d81f61-1931-429f-9722-971dd71c4d5c
2026-03-27 14:53:39,570 - DEBUG - Response for create_network : {'network': {'id': 'f6406b73-7afc-4391-8ea2-ab9465004dc7', 'name': 'ctest-vn-09919144', 'tenant_id': 'abb475dd388f4985baf88f4917d6ae55', 'project_id': 'abb475dd388f4985baf88f4917d6ae55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39278249', 'ctest-vn-09919144'], 'port_security_enabled': True, 'description': ''}}
2026-03-27 14:53:39,790 - DEBUG - Response for create_subnet : {'subnet': {'id': '0eda8208-669c-46cd-8c41-7fbbd707ae8e', 'name': '', 'tenant_id': 'abb475dd388f4985baf88f4917d6ae55', 'network_id': 'f6406b73-7afc-4391-8ea2-ab9465004dc7', 'ip_version': 4, 'cidr': '134.38.75.192/26', 'allocation_pools': [{'start': '134.38.75.194', 'end': '134.38.75.254'}], 'gateway_ip': '134.38.75.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.38.75.194', 'tags': [], 'project_id': 'abb475dd388f4985baf88f4917d6ae55'}}
2026-03-27 14:53:39,811 - INFO - Created VN ctest-vn-09919144
2026-03-27 14:53:39,866 - DEBUG - VN ctest-vn-09919144 UUID is f6406b73-7afc-4391-8ea2-ab9465004dc7
2026-03-27 14:53:40,029 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-39278249:ctest-vn-91309456, 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-39278249:ctest-vn-09919144, 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-03-27 14:53:40,390 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '77d81f61-1931-429f-9722-971dd71c4d5c', 'name': 'ctest-vn-91309456', 'tenant_id': 'abb475dd388f4985baf88f4917d6ae55', 'project_id': 'abb475dd388f4985baf88f4917d6ae55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3ee6220e-51db-4076-8300-27170e4b6c42'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39278249', 'ctest-vn-91309456'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39278249', 'ctest-policy-allow-all-21013720']], 'subnet_ipam': [{'subnet_cidr': '29.247.174.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-27 14:53:40,649 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f6406b73-7afc-4391-8ea2-ab9465004dc7', 'name': 'ctest-vn-09919144', 'tenant_id': 'abb475dd388f4985baf88f4917d6ae55', 'project_id': 'abb475dd388f4985baf88f4917d6ae55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0eda8208-669c-46cd-8c41-7fbbd707ae8e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39278249', 'ctest-vn-09919144'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39278249', 'ctest-policy-allow-all-21013720']], 'subnet_ipam': [{'subnet_cidr': '134.38.75.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-27 14:53:40,802 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-03-27 14:53:41,142 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-03-27 14:53:41,182 - DEBUG - Requesting: http://10.0.0.242:8082/domain/f26f3862-ac90-44b6-9976-ea993ff3ab61
2026-03-27 14:53:41,196 - DEBUG - Requesting: http://10.0.0.242:8082/project/abb475dd-388f-4985-baf8-8f4917d6ae55
2026-03-27 14:53:41,282 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/77d81f61-1931-429f-9722-971dd71c4d5c
2026-03-27 14:53:41,300 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/77d81f61-1931-429f-9722-971dd71c4d5c
2026-03-27 14:53:41,316 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/1c5ac7a6-f13d-4cec-b779-7a7553e89e16
2026-03-27 14:53:41,327 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/1c5ac7a6-f13d-4cec-b779-7a7553e89e16
2026-03-27 14:53:41,335 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/7d634f5c-ff22-45f3-bf4c-5981fdc56cd2
2026-03-27 14:53:41,343 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-27 14:53:41,343 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/77d81f61-1931-429f-9722-971dd71c4d5c
2026-03-27 14:53:41,355 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/1c5ac7a6-f13d-4cec-b779-7a7553e89e16
2026-03-27 14:53:41,376 - INFO - Verified VN network id 9 for VN 77d81f61-1931-429f-9722-971dd71c4d5c
2026-03-27 14:53:41,377 - INFO - Verifications in API Server for VN ctest-vn-91309456 passed
2026-03-27 14:53:41,377 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/77d81f61-1931-429f-9722-971dd71c4d5c
2026-03-27 14:53:41,390 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/1c5ac7a6-f13d-4cec-b779-7a7553e89e16
2026-03-27 14:53:41,398 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/1c5ac7a6-f13d-4cec-b779-7a7553e89e16
2026-03-27 14:53:41,407 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/7d634f5c-ff22-45f3-bf4c-5981fdc56cd2
2026-03-27 14:53:41,424 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39278249:ctest-vn-91309456', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39278249', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8635686787377873567', 'uuid-lslong': '10890433003354082652'}, 'enable': 'true', 'created': '2026-03-27T14:53:38', 'last-modified': '2026-03-27T14:53:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.070334'}
2026-03-27 14:53:41,433 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-27 14:53:41,433 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91309456 passed
2026-03-27 14:53:41,433 - DEBUG - ====Verifying policy data for ctest-vn-91309456 in API_Server ======
2026-03-27 14:53:41,433 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-03-27 14:53:41,441 - DEBUG - Requesting: http://10.0.0.242:8082/domain/f26f3862-ac90-44b6-9976-ea993ff3ab61
2026-03-27 14:53:41,457 - DEBUG - Requesting: http://10.0.0.242:8082/project/abb475dd-388f-4985-baf8-8f4917d6ae55
2026-03-27 14:53:41,535 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/77d81f61-1931-429f-9722-971dd71c4d5c
2026-03-27 14:53:41,548 - DEBUG - ==>Verifying data for policy with id: ffeba75c-1315-42b4-8344-f1961e9ce613, fqn: ['default-domain', 'ctest-TestBasicPolicy-39278249', 'ctest-policy-allow-all-21013720']
2026-03-27 14:53:41,548 - INFO - VN ctest-vn-91309456 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-27 14:53:41,549 - DEBUG - Verifying the vn in opserver
2026-03-27 14:53:41,549 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39278249:ctest-vn-91309456 virtual network link through opserver 10.0.0.242
2026-03-27 14:53:41,549 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-03-27 14:53:41,897 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-03-27 14:53:41,991 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39278249:ctest-vn-91309456', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39278249:ctest-vn-91309456?flat'}
2026-03-27 14:53:41,991 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39278249:ctest-vn-91309456 is found in opserver
2026-03-27 14:53:42,005 - DEBUG - Do not have enough data to verify VN in agent
2026-03-27 14:53:42,010 - DEBUG - VRF ids for VN ctest-vn-91309456: {}
2026-03-27 14:53:42,010 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-03-27 14:53:42,018 - DEBUG - Requesting: http://10.0.0.242:8082/domain/f26f3862-ac90-44b6-9976-ea993ff3ab61
2026-03-27 14:53:42,032 - DEBUG - Requesting: http://10.0.0.242:8082/project/abb475dd-388f-4985-baf8-8f4917d6ae55
2026-03-27 14:53:42,124 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f6406b73-7afc-4391-8ea2-ab9465004dc7
2026-03-27 14:53:42,142 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f6406b73-7afc-4391-8ea2-ab9465004dc7
2026-03-27 14:53:42,160 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/8d5fab7d-80eb-4c76-9da2-a6bbd29e49f6
2026-03-27 14:53:42,173 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/8d5fab7d-80eb-4c76-9da2-a6bbd29e49f6
2026-03-27 14:53:42,186 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/93a4d30e-5162-440d-874d-3a5b707a9ab0
2026-03-27 14:53:42,200 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-27 14:53:42,200 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f6406b73-7afc-4391-8ea2-ab9465004dc7
2026-03-27 14:53:42,216 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/8d5fab7d-80eb-4c76-9da2-a6bbd29e49f6
2026-03-27 14:53:42,238 - INFO - Verified VN network id 10 for VN f6406b73-7afc-4391-8ea2-ab9465004dc7
2026-03-27 14:53:42,239 - INFO - Verifications in API Server for VN ctest-vn-09919144 passed
2026-03-27 14:53:42,239 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f6406b73-7afc-4391-8ea2-ab9465004dc7
2026-03-27 14:53:42,252 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/8d5fab7d-80eb-4c76-9da2-a6bbd29e49f6
2026-03-27 14:53:42,264 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/8d5fab7d-80eb-4c76-9da2-a6bbd29e49f6
2026-03-27 14:53:42,276 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/93a4d30e-5162-440d-874d-3a5b707a9ab0
2026-03-27 14:53:42,292 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39278249:ctest-vn-09919144', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39278249', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17744300675568518033', 'uuid-lslong': '10277965953450921415'}, 'enable': 'true', 'created': '2026-03-27T14:53:39', 'last-modified': '2026-03-27T14:53:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.674389'}
2026-03-27 14:53:42,299 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-27 14:53:42,299 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09919144 passed
2026-03-27 14:53:42,299 - DEBUG - ====Verifying policy data for ctest-vn-09919144 in API_Server ======
2026-03-27 14:53:42,299 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-03-27 14:53:42,307 - DEBUG - Requesting: http://10.0.0.242:8082/domain/f26f3862-ac90-44b6-9976-ea993ff3ab61
2026-03-27 14:53:42,325 - DEBUG - Requesting: http://10.0.0.242:8082/project/abb475dd-388f-4985-baf8-8f4917d6ae55
2026-03-27 14:53:42,405 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f6406b73-7afc-4391-8ea2-ab9465004dc7
2026-03-27 14:53:42,418 - DEBUG - ==>Verifying data for policy with id: ffeba75c-1315-42b4-8344-f1961e9ce613, fqn: ['default-domain', 'ctest-TestBasicPolicy-39278249', 'ctest-policy-allow-all-21013720']
2026-03-27 14:53:42,419 - INFO - VN ctest-vn-09919144 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-27 14:53:42,419 - DEBUG - Verifying the vn in opserver
2026-03-27 14:53:42,419 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39278249:ctest-vn-09919144 virtual network link through opserver 10.0.0.242
2026-03-27 14:53:42,419 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-03-27 14:53:42,433 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39278249:ctest-vn-09919144', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39278249:ctest-vn-09919144?flat'}
2026-03-27 14:53:42,433 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39278249:ctest-vn-09919144 is found in opserver
2026-03-27 14:53:42,446 - DEBUG - Do not have enough data to verify VN in agent
2026-03-27 14:53:42,453 - DEBUG - VRF ids for VN ctest-vn-09919144: {}
2026-03-27 14:53:42,526 - DEBUG - Services list from nova: [