2026-03-14 00:29:53,695 - INFO - Domain Default found not creating
2026-03-14 00:29:53,855 - INFO - Project ctest-TestBasicPolicy-06002940 not found, creating it
2026-03-14 00:29:54,314 - INFO - Created Project:ctest-TestBasicPolicy-06002940, ID : 812792bf-06cb-42d7-8932-00a0a4ae8c34
2026-03-14 00:29:55,738 - INFO - ================================================================================
2026-03-14 00:29:55,738 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-14 00:29:55,738 - 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-14 00:29:55,992 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2026-03-14 00:29:55,992 - INFO - Initial checks done. Running the testcase now
2026-03-14 00:29:55,992 - INFO -
2026-03-14 00:29:56,549 - DEBUG - Response for create_network : {'network': {'id': 'c193c27f-508e-4889-841e-fceee43b64ae', 'name': 'ctest-vn-93102252', 'tenant_id': '812792bf06cb42d7893200a0a4ae8c34', 'project_id': '812792bf06cb42d7893200a0a4ae8c34', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06002940', 'ctest-vn-93102252'], 'port_security_enabled': True, 'description': ''}}
2026-03-14 00:29:56,745 - DEBUG - Response for create_subnet : {'subnet': {'id': '71dbedf0-f5b6-41c1-a7ed-9b2247c978c6', 'name': '', 'tenant_id': '812792bf06cb42d7893200a0a4ae8c34', 'network_id': 'c193c27f-508e-4889-841e-fceee43b64ae', 'ip_version': 4, 'cidr': '102.110.142.192/26', 'allocation_pools': [{'start': '102.110.142.194', 'end': '102.110.142.254'}], 'gateway_ip': '102.110.142.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.110.142.194', 'tags': [], 'project_id': '812792bf06cb42d7893200a0a4ae8c34'}}
2026-03-14 00:29:56,766 - INFO - Created VN ctest-vn-93102252
2026-03-14 00:29:56,819 - DEBUG - VN ctest-vn-93102252 UUID is c193c27f-508e-4889-841e-fceee43b64ae
2026-03-14 00:29:57,156 - DEBUG - Response for create_network : {'network': {'id': '0d98f43c-1b20-4c1d-9d90-69de998082b0', 'name': 'ctest-vn-26341490', 'tenant_id': '812792bf06cb42d7893200a0a4ae8c34', 'project_id': '812792bf06cb42d7893200a0a4ae8c34', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06002940', 'ctest-vn-26341490'], 'port_security_enabled': True, 'description': ''}}
2026-03-14 00:29:57,359 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd5acd058-737b-4d54-aa93-02eef75d092e', 'name': '', 'tenant_id': '812792bf06cb42d7893200a0a4ae8c34', 'network_id': '0d98f43c-1b20-4c1d-9d90-69de998082b0', 'ip_version': 4, 'cidr': '157.32.163.0/26', 'allocation_pools': [{'start': '157.32.163.2', 'end': '157.32.163.62'}], 'gateway_ip': '157.32.163.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.32.163.2', 'tags': [], 'project_id': '812792bf06cb42d7893200a0a4ae8c34'}}
2026-03-14 00:29:57,378 - INFO - Created VN ctest-vn-26341490
2026-03-14 00:29:57,431 - DEBUG - VN ctest-vn-26341490 UUID is 0d98f43c-1b20-4c1d-9d90-69de998082b0
2026-03-14 00:29:57,583 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06002940:ctest-vn-93102252, 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-06002940:ctest-vn-26341490, 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-14 00:29:57,906 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c193c27f-508e-4889-841e-fceee43b64ae', 'name': 'ctest-vn-93102252', 'tenant_id': '812792bf06cb42d7893200a0a4ae8c34', 'project_id': '812792bf06cb42d7893200a0a4ae8c34', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['71dbedf0-f5b6-41c1-a7ed-9b2247c978c6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06002940', 'ctest-vn-93102252'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06002940', 'ctest-policy-allow-all-01390446']], 'subnet_ipam': [{'subnet_cidr': '102.110.142.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-14 00:29:58,133 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0d98f43c-1b20-4c1d-9d90-69de998082b0', 'name': 'ctest-vn-26341490', 'tenant_id': '812792bf06cb42d7893200a0a4ae8c34', 'project_id': '812792bf06cb42d7893200a0a4ae8c34', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d5acd058-737b-4d54-aa93-02eef75d092e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06002940', 'ctest-vn-26341490'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06002940', 'ctest-policy-allow-all-01390446']], 'subnet_ipam': [{'subnet_cidr': '157.32.163.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-14 00:29:58,295 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-03-14 00:29:58,588 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-03-14 00:29:58,621 - DEBUG - Requesting: http://10.0.0.249:8082/domain/56d0b843-db41-480a-9ce1-f5fc7f95ba33
2026-03-14 00:29:58,633 - DEBUG - Requesting: http://10.0.0.249:8082/project/812792bf-06cb-42d7-8932-00a0a4ae8c34
2026-03-14 00:29:58,703 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/c193c27f-508e-4889-841e-fceee43b64ae
2026-03-14 00:29:58,713 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/c193c27f-508e-4889-841e-fceee43b64ae
2026-03-14 00:29:58,725 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f2bc0e1f-c63a-47a4-bfda-e450d42ed2e2
2026-03-14 00:29:58,732 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f2bc0e1f-c63a-47a4-bfda-e450d42ed2e2
2026-03-14 00:29:58,738 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/dcea1f28-46b7-4576-8681-17c854a23f73
2026-03-14 00:29:58,745 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-14 00:29:58,745 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/c193c27f-508e-4889-841e-fceee43b64ae
2026-03-14 00:29:58,754 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f2bc0e1f-c63a-47a4-bfda-e450d42ed2e2
2026-03-14 00:29:58,770 - INFO - Verified VN network id 11 for VN c193c27f-508e-4889-841e-fceee43b64ae
2026-03-14 00:29:58,770 - INFO - Verifications in API Server for VN ctest-vn-93102252 passed
2026-03-14 00:29:58,770 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/c193c27f-508e-4889-841e-fceee43b64ae
2026-03-14 00:29:58,780 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f2bc0e1f-c63a-47a4-bfda-e450d42ed2e2
2026-03-14 00:29:58,787 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f2bc0e1f-c63a-47a4-bfda-e450d42ed2e2
2026-03-14 00:29:58,793 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/dcea1f28-46b7-4576-8681-17c854a23f73
2026-03-14 00:29:58,805 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06002940:ctest-vn-93102252', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06002940', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13948706322964695177', 'uuid-lslong': '9520324765269320878'}, 'enable': 'true', 'created': '2026-03-14T00:29:56', 'last-modified': '2026-03-14T00:29:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.942024'}
2026-03-14 00:29:58,811 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-14 00:29:58,811 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93102252 passed
2026-03-14 00:29:58,811 - DEBUG - ====Verifying policy data for ctest-vn-93102252 in API_Server ======
2026-03-14 00:29:58,811 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-03-14 00:29:58,816 - DEBUG - Requesting: http://10.0.0.249:8082/domain/56d0b843-db41-480a-9ce1-f5fc7f95ba33
2026-03-14 00:29:58,827 - DEBUG - Requesting: http://10.0.0.249:8082/project/812792bf-06cb-42d7-8932-00a0a4ae8c34
2026-03-14 00:29:58,895 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/c193c27f-508e-4889-841e-fceee43b64ae
2026-03-14 00:29:58,905 - DEBUG - ==>Verifying data for policy with id: 31a8e94b-12f4-40c5-88ad-9cf00e7fbdaf, fqn: ['default-domain', 'ctest-TestBasicPolicy-06002940', 'ctest-policy-allow-all-01390446']
2026-03-14 00:29:58,905 - INFO - VN ctest-vn-93102252 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-14 00:29:58,905 - DEBUG - Verifying the vn in opserver
2026-03-14 00:29:58,905 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06002940:ctest-vn-93102252 virtual network link through opserver 10.0.0.249
2026-03-14 00:29:58,905 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-03-14 00:29:59,201 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-03-14 00:29:59,264 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06002940:ctest-vn-93102252', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06002940:ctest-vn-93102252?flat'}
2026-03-14 00:29:59,264 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06002940:ctest-vn-93102252 is found in opserver
2026-03-14 00:29:59,273 - DEBUG - Do not have enough data to verify VN in agent
2026-03-14 00:29:59,278 - DEBUG - VRF ids for VN ctest-vn-93102252: {}
2026-03-14 00:29:59,278 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-03-14 00:29:59,284 - DEBUG - Requesting: http://10.0.0.249:8082/domain/56d0b843-db41-480a-9ce1-f5fc7f95ba33
2026-03-14 00:29:59,294 - DEBUG - Requesting: http://10.0.0.249:8082/project/812792bf-06cb-42d7-8932-00a0a4ae8c34
2026-03-14 00:29:59,362 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0d98f43c-1b20-4c1d-9d90-69de998082b0
2026-03-14 00:29:59,375 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0d98f43c-1b20-4c1d-9d90-69de998082b0
2026-03-14 00:29:59,384 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a72c535c-d709-44bb-b837-3a580d157034
2026-03-14 00:29:59,392 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a72c535c-d709-44bb-b837-3a580d157034
2026-03-14 00:29:59,400 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/475dba0c-5bc8-4540-8881-879429330b86
2026-03-14 00:29:59,407 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-14 00:29:59,407 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0d98f43c-1b20-4c1d-9d90-69de998082b0
2026-03-14 00:29:59,416 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a72c535c-d709-44bb-b837-3a580d157034
2026-03-14 00:29:59,431 - INFO - Verified VN network id 12 for VN 0d98f43c-1b20-4c1d-9d90-69de998082b0
2026-03-14 00:29:59,431 - INFO - Verifications in API Server for VN ctest-vn-26341490 passed
2026-03-14 00:29:59,431 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0d98f43c-1b20-4c1d-9d90-69de998082b0
2026-03-14 00:29:59,440 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a72c535c-d709-44bb-b837-3a580d157034
2026-03-14 00:29:59,446 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a72c535c-d709-44bb-b837-3a580d157034
2026-03-14 00:29:59,453 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/475dba0c-5bc8-4540-8881-879429330b86
2026-03-14 00:29:59,465 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06002940:ctest-vn-26341490', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06002940', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '979801457943399453', 'uuid-lslong': '11353691065380012720'}, 'enable': 'true', 'created': '2026-03-14T00:29:57', 'last-modified': '2026-03-14T00:29:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.352062'}
2026-03-14 00:29:59,470 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-14 00:29:59,470 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26341490 passed
2026-03-14 00:29:59,471 - DEBUG - ====Verifying policy data for ctest-vn-26341490 in API_Server ======
2026-03-14 00:29:59,471 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-03-14 00:29:59,477 - DEBUG - Requesting: http://10.0.0.249:8082/domain/56d0b843-db41-480a-9ce1-f5fc7f95ba33
2026-03-14 00:29:59,487 - DEBUG - Requesting: http://10.0.0.249:8082/project/812792bf-06cb-42d7-8932-00a0a4ae8c34
2026-03-14 00:29:59,557 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0d98f43c-1b20-4c1d-9d90-69de998082b0
2026-03-14 00:29:59,567 - DEBUG - ==>Verifying data for policy with id: 31a8e94b-12f4-40c5-88ad-9cf00e7fbdaf, fqn: ['default-domain', 'ctest-TestBasicPolicy-06002940', 'ctest-policy-allow-all-01390446']
2026-03-14 00:29:59,567 - INFO - VN ctest-vn-26341490 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-14 00:29:59,567 - DEBUG - Verifying the vn in opserver
2026-03-14 00:29:59,567 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06002940:ctest-vn-26341490 virtual network link through opserver 10.0.0.249
2026-03-14 00:29:59,567 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-03-14 00:29:59,576 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06002940:ctest-vn-26341490', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06002940:ctest-vn-26341490?flat'}
2026-03-14 00:29:59,577 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06002940:ctest-vn-26341490 is found in opserver
2026-03-14 00:29:59,585 - DEBUG - Do not have enough data to verify VN in agent
2026-03-14 00:29:59,590 - DEBUG - VRF ids for VN ctest-vn-26341490: {}
2026-03-14 00:29:59,643 - DEBUG - Services list from nova: [