2026-11-07 13:39:19,545 - INFO - Domain Default found not creating
2026-11-07 13:39:19,714 - INFO - Project ctest-TestBasicPolicy-52554323 not found, creating it
2026-11-07 13:39:20,154 - INFO - Created Project:ctest-TestBasicPolicy-52554323, ID : 001399bb-b0d4-4d7a-8ab9-0ccd80a41bf0
2026-11-07 13:39:21,669 - INFO - ================================================================================
2026-11-07 13:39:21,669 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-07 13:39:21,670 - 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-11-07 13:39:21,925 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with
2026-11-07 13:39:21,925 - INFO - Initial checks done. Running the testcase now
2026-11-07 13:39:21,925 - INFO -
2026-11-07 13:39:22,497 - DEBUG - Response for create_network : {'network': {'id': '3ef80292-dda0-4968-b1a3-b0b56437761c', 'name': 'ctest-vn-37369026', 'tenant_id': '001399bbb0d44d7a8ab90ccd80a41bf0', 'project_id': '001399bbb0d44d7a8ab90ccd80a41bf0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52554323', 'ctest-vn-37369026'], 'port_security_enabled': True, 'description': ''}}
2026-11-07 13:39:22,679 - DEBUG - Response for create_subnet : {'subnet': {'id': '73361e26-f175-4ee6-811e-3f5163e18eb4', 'name': '', 'tenant_id': '001399bbb0d44d7a8ab90ccd80a41bf0', 'network_id': '3ef80292-dda0-4968-b1a3-b0b56437761c', 'ip_version': 4, 'cidr': '219.48.227.192/26', 'allocation_pools': [{'start': '219.48.227.194', 'end': '219.48.227.254'}], 'gateway_ip': '219.48.227.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.48.227.194', 'tags': [], 'project_id': '001399bbb0d44d7a8ab90ccd80a41bf0'}}
2026-11-07 13:39:22,699 - INFO - Created VN ctest-vn-37369026
2026-11-07 13:39:22,751 - DEBUG - VN ctest-vn-37369026 UUID is 3ef80292-dda0-4968-b1a3-b0b56437761c
2026-11-07 13:39:23,064 - DEBUG - Response for create_network : {'network': {'id': 'e9a213c6-b1d1-4dac-9a62-3e3fa36e1c6c', 'name': 'ctest-vn-25470789', 'tenant_id': '001399bbb0d44d7a8ab90ccd80a41bf0', 'project_id': '001399bbb0d44d7a8ab90ccd80a41bf0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52554323', 'ctest-vn-25470789'], 'port_security_enabled': True, 'description': ''}}
2026-11-07 13:39:23,279 - DEBUG - Response for create_subnet : {'subnet': {'id': '219c9f88-6f40-4264-a131-ccda0dd2939c', 'name': '', 'tenant_id': '001399bbb0d44d7a8ab90ccd80a41bf0', 'network_id': 'e9a213c6-b1d1-4dac-9a62-3e3fa36e1c6c', 'ip_version': 4, 'cidr': '161.193.155.0/26', 'allocation_pools': [{'start': '161.193.155.2', 'end': '161.193.155.62'}], 'gateway_ip': '161.193.155.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.193.155.2', 'tags': [], 'project_id': '001399bbb0d44d7a8ab90ccd80a41bf0'}}
2026-11-07 13:39:23,295 - INFO - Created VN ctest-vn-25470789
2026-11-07 13:39:23,347 - DEBUG - VN ctest-vn-25470789 UUID is e9a213c6-b1d1-4dac-9a62-3e3fa36e1c6c
2026-11-07 13:39:23,495 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-52554323:ctest-vn-37369026, 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-52554323:ctest-vn-25470789, 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-11-07 13:39:23,780 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3ef80292-dda0-4968-b1a3-b0b56437761c', 'name': 'ctest-vn-37369026', 'tenant_id': '001399bbb0d44d7a8ab90ccd80a41bf0', 'project_id': '001399bbb0d44d7a8ab90ccd80a41bf0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['73361e26-f175-4ee6-811e-3f5163e18eb4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52554323', 'ctest-vn-37369026'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52554323', 'ctest-policy-allow-all-11691729']], 'subnet_ipam': [{'subnet_cidr': '219.48.227.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-07 13:39:23,996 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e9a213c6-b1d1-4dac-9a62-3e3fa36e1c6c', 'name': 'ctest-vn-25470789', 'tenant_id': '001399bbb0d44d7a8ab90ccd80a41bf0', 'project_id': '001399bbb0d44d7a8ab90ccd80a41bf0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['219c9f88-6f40-4264-a131-ccda0dd2939c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52554323', 'ctest-vn-25470789'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52554323', 'ctest-policy-allow-all-11691729']], 'subnet_ipam': [{'subnet_cidr': '161.193.155.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-07 13:39:24,155 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-11-07 13:39:24,478 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-11-07 13:39:24,504 - DEBUG - Requesting: http://10.0.0.161:8082/domain/492d21e0-9c05-4053-b8b8-150fedf6ba43
2026-11-07 13:39:24,521 - DEBUG - Requesting: http://10.0.0.161:8082/project/001399bb-b0d4-4d7a-8ab9-0ccd80a41bf0
2026-11-07 13:39:24,593 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/3ef80292-dda0-4968-b1a3-b0b56437761c
2026-11-07 13:39:24,604 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/3ef80292-dda0-4968-b1a3-b0b56437761c
2026-11-07 13:39:24,614 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/1e1bb878-bac5-49bc-88cf-4d728b3290f1
2026-11-07 13:39:24,621 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/1e1bb878-bac5-49bc-88cf-4d728b3290f1
2026-11-07 13:39:24,628 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/b3bc61fd-b4fb-495d-bdb4-66780d9c665d
2026-11-07 13:39:24,633 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-07 13:39:24,633 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/3ef80292-dda0-4968-b1a3-b0b56437761c
2026-11-07 13:39:24,641 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/1e1bb878-bac5-49bc-88cf-4d728b3290f1
2026-11-07 13:39:24,657 - INFO - Verified VN network id 12 for VN 3ef80292-dda0-4968-b1a3-b0b56437761c
2026-11-07 13:39:24,657 - INFO - Verifications in API Server for VN ctest-vn-37369026 passed
2026-11-07 13:39:24,657 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/3ef80292-dda0-4968-b1a3-b0b56437761c
2026-11-07 13:39:24,666 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/1e1bb878-bac5-49bc-88cf-4d728b3290f1
2026-11-07 13:39:24,673 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/1e1bb878-bac5-49bc-88cf-4d728b3290f1
2026-11-07 13:39:24,679 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/b3bc61fd-b4fb-495d-bdb4-66780d9c665d
2026-11-07 13:39:24,691 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52554323:ctest-vn-37369026', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52554323', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4537379454382524776', 'uuid-lslong': '12800268859034007068'}, 'enable': 'true', 'created': '2026-11-07T13:39:22', 'last-modified': '2026-11-07T13:39:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.928540'}
2026-11-07 13:39:24,697 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-07 13:39:24,697 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37369026 passed
2026-11-07 13:39:24,697 - DEBUG - ====Verifying policy data for ctest-vn-37369026 in API_Server ======
2026-11-07 13:39:24,697 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-11-07 13:39:24,702 - DEBUG - Requesting: http://10.0.0.161:8082/domain/492d21e0-9c05-4053-b8b8-150fedf6ba43
2026-11-07 13:39:24,712 - DEBUG - Requesting: http://10.0.0.161:8082/project/001399bb-b0d4-4d7a-8ab9-0ccd80a41bf0
2026-11-07 13:39:24,787 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/3ef80292-dda0-4968-b1a3-b0b56437761c
2026-11-07 13:39:24,795 - DEBUG - ==>Verifying data for policy with id: c9133d6d-5145-4da5-be47-0e9bc8188907, fqn: ['default-domain', 'ctest-TestBasicPolicy-52554323', 'ctest-policy-allow-all-11691729']
2026-11-07 13:39:24,795 - INFO - VN ctest-vn-37369026 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-07 13:39:24,795 - DEBUG - Verifying the vn in opserver
2026-11-07 13:39:24,795 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52554323:ctest-vn-37369026 virtual network link through opserver 10.0.0.161
2026-11-07 13:39:24,795 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-11-07 13:39:25,114 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-11-07 13:39:25,163 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52554323:ctest-vn-37369026', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52554323:ctest-vn-37369026?flat'}
2026-11-07 13:39:25,163 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52554323:ctest-vn-37369026 is found in opserver
2026-11-07 13:39:25,173 - DEBUG - Do not have enough data to verify VN in agent
2026-11-07 13:39:25,178 - DEBUG - VRF ids for VN ctest-vn-37369026: {}
2026-11-07 13:39:25,178 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-11-07 13:39:25,183 - DEBUG - Requesting: http://10.0.0.161:8082/domain/492d21e0-9c05-4053-b8b8-150fedf6ba43
2026-11-07 13:39:25,192 - DEBUG - Requesting: http://10.0.0.161:8082/project/001399bb-b0d4-4d7a-8ab9-0ccd80a41bf0
2026-11-07 13:39:25,259 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/e9a213c6-b1d1-4dac-9a62-3e3fa36e1c6c
2026-11-07 13:39:25,270 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/e9a213c6-b1d1-4dac-9a62-3e3fa36e1c6c
2026-11-07 13:39:25,279 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/19c2610d-b4ad-40f4-bf22-a7ed6d660cfc
2026-11-07 13:39:25,286 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/19c2610d-b4ad-40f4-bf22-a7ed6d660cfc
2026-11-07 13:39:25,292 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/6c72baec-37fd-4950-a882-b854a8b67352
2026-11-07 13:39:25,298 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-07 13:39:25,299 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/e9a213c6-b1d1-4dac-9a62-3e3fa36e1c6c
2026-11-07 13:39:25,308 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/19c2610d-b4ad-40f4-bf22-a7ed6d660cfc
2026-11-07 13:39:25,323 - INFO - Verified VN network id 13 for VN e9a213c6-b1d1-4dac-9a62-3e3fa36e1c6c
2026-11-07 13:39:25,323 - INFO - Verifications in API Server for VN ctest-vn-25470789 passed
2026-11-07 13:39:25,323 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/e9a213c6-b1d1-4dac-9a62-3e3fa36e1c6c
2026-11-07 13:39:25,332 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/19c2610d-b4ad-40f4-bf22-a7ed6d660cfc
2026-11-07 13:39:25,338 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/19c2610d-b4ad-40f4-bf22-a7ed6d660cfc
2026-11-07 13:39:25,344 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/6c72baec-37fd-4950-a882-b854a8b67352
2026-11-07 13:39:25,355 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52554323:ctest-vn-25470789', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52554323', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16835040101172071852', 'uuid-lslong': '11124522472604310636'}, 'enable': 'true', 'created': '2026-11-07T13:39:23', 'last-modified': '2026-11-07T13:39:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.375442'}
2026-11-07 13:39:25,362 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-07 13:39:25,362 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25470789 passed
2026-11-07 13:39:25,362 - DEBUG - ====Verifying policy data for ctest-vn-25470789 in API_Server ======
2026-11-07 13:39:25,362 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-11-07 13:39:25,368 - DEBUG - Requesting: http://10.0.0.161:8082/domain/492d21e0-9c05-4053-b8b8-150fedf6ba43
2026-11-07 13:39:25,378 - DEBUG - Requesting: http://10.0.0.161:8082/project/001399bb-b0d4-4d7a-8ab9-0ccd80a41bf0
2026-11-07 13:39:25,455 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/e9a213c6-b1d1-4dac-9a62-3e3fa36e1c6c
2026-11-07 13:39:25,466 - DEBUG - ==>Verifying data for policy with id: c9133d6d-5145-4da5-be47-0e9bc8188907, fqn: ['default-domain', 'ctest-TestBasicPolicy-52554323', 'ctest-policy-allow-all-11691729']
2026-11-07 13:39:25,466 - INFO - VN ctest-vn-25470789 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-07 13:39:25,466 - DEBUG - Verifying the vn in opserver
2026-11-07 13:39:25,466 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52554323:ctest-vn-25470789 virtual network link through opserver 10.0.0.161
2026-11-07 13:39:25,466 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-11-07 13:39:25,475 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52554323:ctest-vn-25470789', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52554323:ctest-vn-25470789?flat'}
2026-11-07 13:39:25,475 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52554323:ctest-vn-25470789 is found in opserver
2026-11-07 13:39:25,487 - DEBUG - Do not have enough data to verify VN in agent
2026-11-07 13:39:25,492 - DEBUG - VRF ids for VN ctest-vn-25470789: {}
2026-11-07 13:39:25,571 - DEBUG - Services list from nova: [