2026-11-30 10:06:14,594 - INFO - Domain Default found not creating
2026-11-30 10:06:14,762 - INFO - Project ctest-TestBasicPolicy-91268752 not found, creating it
2026-11-30 10:06:15,226 - INFO - Created Project:ctest-TestBasicPolicy-91268752, ID : e0daba0d-d3de-4841-8aee-4ac7a4416226
2026-11-30 10:06:16,909 - INFO - ================================================================================
2026-11-30 10:06:16,909 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-30 10:06:16,909 - 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-30 10:06:17,170 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.25': '0'}} with
2026-11-30 10:06:17,170 - INFO - Initial checks done. Running the testcase now
2026-11-30 10:06:17,170 - INFO -
2026-11-30 10:06:17,795 - DEBUG - Response for create_network : {'network': {'id': 'f45a4d42-20f2-4b46-9a9e-b964a924b396', 'name': 'ctest-vn-14950994', 'tenant_id': 'e0daba0dd3de48418aee4ac7a4416226', 'project_id': 'e0daba0dd3de48418aee4ac7a4416226', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91268752', 'ctest-vn-14950994'], 'port_security_enabled': True, 'description': ''}}
2026-11-30 10:06:17,967 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a58df1de-cb65-4b70-9de8-47a2562c3bf9', 'name': '', 'tenant_id': 'e0daba0dd3de48418aee4ac7a4416226', 'network_id': 'f45a4d42-20f2-4b46-9a9e-b964a924b396', 'ip_version': 4, 'cidr': '55.239.96.64/26', 'allocation_pools': [{'start': '55.239.96.66', 'end': '55.239.96.126'}], 'gateway_ip': '55.239.96.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.239.96.66', 'tags': [], 'project_id': 'e0daba0dd3de48418aee4ac7a4416226'}}
2026-11-30 10:06:17,985 - INFO - Created VN ctest-vn-14950994
2026-11-30 10:06:18,035 - DEBUG - VN ctest-vn-14950994 UUID is f45a4d42-20f2-4b46-9a9e-b964a924b396
2026-11-30 10:06:18,367 - DEBUG - Response for create_network : {'network': {'id': 'a8b273f9-feed-4861-8eb2-09773fe83e9c', 'name': 'ctest-vn-69614832', 'tenant_id': 'e0daba0dd3de48418aee4ac7a4416226', 'project_id': 'e0daba0dd3de48418aee4ac7a4416226', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91268752', 'ctest-vn-69614832'], 'port_security_enabled': True, 'description': ''}}
2026-11-30 10:06:18,578 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b154a2f7-68eb-4ab1-a618-9c683c041b4f', 'name': '', 'tenant_id': 'e0daba0dd3de48418aee4ac7a4416226', 'network_id': 'a8b273f9-feed-4861-8eb2-09773fe83e9c', 'ip_version': 4, 'cidr': '6.106.197.64/26', 'allocation_pools': [{'start': '6.106.197.66', 'end': '6.106.197.126'}], 'gateway_ip': '6.106.197.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.106.197.66', 'tags': [], 'project_id': 'e0daba0dd3de48418aee4ac7a4416226'}}
2026-11-30 10:06:18,596 - INFO - Created VN ctest-vn-69614832
2026-11-30 10:06:18,655 - DEBUG - VN ctest-vn-69614832 UUID is a8b273f9-feed-4861-8eb2-09773fe83e9c
2026-11-30 10:06:18,811 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-91268752:ctest-vn-14950994, 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-91268752:ctest-vn-69614832, 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-30 10:06:19,109 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f45a4d42-20f2-4b46-9a9e-b964a924b396', 'name': 'ctest-vn-14950994', 'tenant_id': 'e0daba0dd3de48418aee4ac7a4416226', 'project_id': 'e0daba0dd3de48418aee4ac7a4416226', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['a58df1de-cb65-4b70-9de8-47a2562c3bf9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91268752', 'ctest-vn-14950994'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91268752', 'ctest-policy-allow-all-15648924']], 'subnet_ipam': [{'subnet_cidr': '55.239.96.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-30 10:06:19,355 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a8b273f9-feed-4861-8eb2-09773fe83e9c', 'name': 'ctest-vn-69614832', 'tenant_id': 'e0daba0dd3de48418aee4ac7a4416226', 'project_id': 'e0daba0dd3de48418aee4ac7a4416226', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['b154a2f7-68eb-4ab1-a618-9c683c041b4f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91268752', 'ctest-vn-69614832'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91268752', 'ctest-policy-allow-all-15648924']], 'subnet_ipam': [{'subnet_cidr': '6.106.197.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-30 10:06:19,527 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-11-30 10:06:19,896 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-11-30 10:06:19,923 - DEBUG - Requesting: http://10.0.0.177:8082/domain/e57af8ce-9534-4b77-8b29-8894f5f9bba0
2026-11-30 10:06:19,935 - DEBUG - Requesting: http://10.0.0.177:8082/project/e0daba0d-d3de-4841-8aee-4ac7a4416226
2026-11-30 10:06:20,014 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/f45a4d42-20f2-4b46-9a9e-b964a924b396
2026-11-30 10:06:20,026 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/f45a4d42-20f2-4b46-9a9e-b964a924b396
2026-11-30 10:06:20,037 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b0727e70-5ec4-44ee-b0e4-2b7a01a4bd7b
2026-11-30 10:06:20,045 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b0727e70-5ec4-44ee-b0e4-2b7a01a4bd7b
2026-11-30 10:06:20,052 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/766e9beb-8201-4637-bf6d-d65bc170e66a
2026-11-30 10:06:20,057 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-30 10:06:20,057 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/f45a4d42-20f2-4b46-9a9e-b964a924b396
2026-11-30 10:06:20,065 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b0727e70-5ec4-44ee-b0e4-2b7a01a4bd7b
2026-11-30 10:06:20,080 - INFO - Verified VN network id 12 for VN f45a4d42-20f2-4b46-9a9e-b964a924b396
2026-11-30 10:06:20,080 - INFO - Verifications in API Server for VN ctest-vn-14950994 passed
2026-11-30 10:06:20,080 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/f45a4d42-20f2-4b46-9a9e-b964a924b396
2026-11-30 10:06:20,089 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b0727e70-5ec4-44ee-b0e4-2b7a01a4bd7b
2026-11-30 10:06:20,095 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b0727e70-5ec4-44ee-b0e4-2b7a01a4bd7b
2026-11-30 10:06:20,100 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/766e9beb-8201-4637-bf6d-d65bc170e66a
2026-11-30 10:06:20,112 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91268752:ctest-vn-14950994', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91268752', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17607470639574305606', 'uuid-lslong': '11141546370146808726'}, 'enable': 'true', 'created': '2026-11-30T10:06:17', 'last-modified': '2026-11-30T10:06:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.022278'}
2026-11-30 10:06:20,118 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-30 10:06:20,118 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14950994 passed
2026-11-30 10:06:20,119 - DEBUG - ====Verifying policy data for ctest-vn-14950994 in API_Server ======
2026-11-30 10:06:20,119 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-11-30 10:06:20,124 - DEBUG - Requesting: http://10.0.0.177:8082/domain/e57af8ce-9534-4b77-8b29-8894f5f9bba0
2026-11-30 10:06:20,138 - DEBUG - Requesting: http://10.0.0.177:8082/project/e0daba0d-d3de-4841-8aee-4ac7a4416226
2026-11-30 10:06:20,214 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/f45a4d42-20f2-4b46-9a9e-b964a924b396
2026-11-30 10:06:20,231 - DEBUG - ==>Verifying data for policy with id: 774dee88-1b52-417c-8ac5-d4247301e1f9, fqn: ['default-domain', 'ctest-TestBasicPolicy-91268752', 'ctest-policy-allow-all-15648924']
2026-11-30 10:06:20,231 - INFO - VN ctest-vn-14950994 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-30 10:06:20,231 - DEBUG - Verifying the vn in opserver
2026-11-30 10:06:20,231 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91268752:ctest-vn-14950994 virtual network link through opserver 10.0.0.177
2026-11-30 10:06:20,232 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-11-30 10:06:20,633 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-11-30 10:06:20,685 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91268752:ctest-vn-14950994', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91268752:ctest-vn-14950994?flat'}
2026-11-30 10:06:20,685 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91268752:ctest-vn-14950994 is found in opserver
2026-11-30 10:06:20,695 - DEBUG - Do not have enough data to verify VN in agent
2026-11-30 10:06:20,699 - DEBUG - VRF ids for VN ctest-vn-14950994: {}
2026-11-30 10:06:20,699 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-11-30 10:06:20,704 - DEBUG - Requesting: http://10.0.0.177:8082/domain/e57af8ce-9534-4b77-8b29-8894f5f9bba0
2026-11-30 10:06:20,715 - DEBUG - Requesting: http://10.0.0.177:8082/project/e0daba0d-d3de-4841-8aee-4ac7a4416226
2026-11-30 10:06:20,787 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/a8b273f9-feed-4861-8eb2-09773fe83e9c
2026-11-30 10:06:20,799 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/a8b273f9-feed-4861-8eb2-09773fe83e9c
2026-11-30 10:06:20,809 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/718c7ee5-571f-41d9-8c30-daaf6db8461f
2026-11-30 10:06:20,816 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/718c7ee5-571f-41d9-8c30-daaf6db8461f
2026-11-30 10:06:20,825 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/2b16df98-0b48-44e2-8eae-aff37f8931fa
2026-11-30 10:06:20,833 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-30 10:06:20,833 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/a8b273f9-feed-4861-8eb2-09773fe83e9c
2026-11-30 10:06:20,844 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/718c7ee5-571f-41d9-8c30-daaf6db8461f
2026-11-30 10:06:20,861 - INFO - Verified VN network id 13 for VN a8b273f9-feed-4861-8eb2-09773fe83e9c
2026-11-30 10:06:20,861 - INFO - Verifications in API Server for VN ctest-vn-69614832 passed
2026-11-30 10:06:20,861 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/a8b273f9-feed-4861-8eb2-09773fe83e9c
2026-11-30 10:06:20,874 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/718c7ee5-571f-41d9-8c30-daaf6db8461f
2026-11-30 10:06:20,882 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/718c7ee5-571f-41d9-8c30-daaf6db8461f
2026-11-30 10:06:20,891 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/2b16df98-0b48-44e2-8eae-aff37f8931fa
2026-11-30 10:06:20,906 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91268752:ctest-vn-69614832', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91268752', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12155905861787404385', 'uuid-lslong': '10282291307018206876'}, 'enable': 'true', 'created': '2026-11-30T10:06:18', 'last-modified': '2026-11-30T10:06:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.576700'}
2026-11-30 10:06:20,914 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-30 10:06:20,914 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69614832 passed
2026-11-30 10:06:20,914 - DEBUG - ====Verifying policy data for ctest-vn-69614832 in API_Server ======
2026-11-30 10:06:20,914 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-11-30 10:06:20,920 - DEBUG - Requesting: http://10.0.0.177:8082/domain/e57af8ce-9534-4b77-8b29-8894f5f9bba0
2026-11-30 10:06:20,932 - DEBUG - Requesting: http://10.0.0.177:8082/project/e0daba0d-d3de-4841-8aee-4ac7a4416226
2026-11-30 10:06:21,007 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/a8b273f9-feed-4861-8eb2-09773fe83e9c
2026-11-30 10:06:21,016 - DEBUG - ==>Verifying data for policy with id: 774dee88-1b52-417c-8ac5-d4247301e1f9, fqn: ['default-domain', 'ctest-TestBasicPolicy-91268752', 'ctest-policy-allow-all-15648924']
2026-11-30 10:06:21,016 - INFO - VN ctest-vn-69614832 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-30 10:06:21,016 - DEBUG - Verifying the vn in opserver
2026-11-30 10:06:21,016 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91268752:ctest-vn-69614832 virtual network link through opserver 10.0.0.177
2026-11-30 10:06:21,016 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-11-30 10:06:21,026 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91268752:ctest-vn-69614832', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91268752:ctest-vn-69614832?flat'}
2026-11-30 10:06:21,026 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91268752:ctest-vn-69614832 is found in opserver
2026-11-30 10:06:21,036 - DEBUG - Do not have enough data to verify VN in agent
2026-11-30 10:06:21,041 - DEBUG - VRF ids for VN ctest-vn-69614832: {}
2026-11-30 10:06:21,097 - DEBUG - Services list from nova: [