2026-10-22 21:00:13,161 - INFO - Domain Default found not creating
2026-10-22 21:00:13,350 - INFO - Project ctest-TestBasicPolicy-16257648 not found, creating it
2026-10-22 21:00:13,836 - INFO - Created Project:ctest-TestBasicPolicy-16257648, ID : 91644a21-26cd-4dd5-80c1-200f5a3554aa
2026-10-22 21:00:15,604 - INFO - ================================================================================
2026-10-22 21:00:15,604 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-22 21:00:15,604 - 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-10-22 21:00:15,869 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.25': '0'}} with
2026-10-22 21:00:15,869 - INFO - Initial checks done. Running the testcase now
2026-10-22 21:00:15,869 - INFO -
2026-10-22 21:00:16,512 - DEBUG - Response for create_network : {'network': {'id': 'c21f7eb0-ce3a-422f-a373-9bd692ccbc99', 'name': 'ctest-vn-17495722', 'tenant_id': '91644a2126cd4dd580c1200f5a3554aa', 'project_id': '91644a2126cd4dd580c1200f5a3554aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16257648', 'ctest-vn-17495722'], 'port_security_enabled': True, 'description': ''}}
2026-10-22 21:00:16,719 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af7e0f2b-86f8-455a-9941-f16a5c073561', 'name': '', 'tenant_id': '91644a2126cd4dd580c1200f5a3554aa', 'network_id': 'c21f7eb0-ce3a-422f-a373-9bd692ccbc99', 'ip_version': 4, 'cidr': '123.15.108.128/26', 'allocation_pools': [{'start': '123.15.108.130', 'end': '123.15.108.190'}], 'gateway_ip': '123.15.108.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.15.108.130', 'tags': [], 'project_id': '91644a2126cd4dd580c1200f5a3554aa'}}
2026-10-22 21:00:16,735 - INFO - Created VN ctest-vn-17495722
2026-10-22 21:00:16,788 - DEBUG - VN ctest-vn-17495722 UUID is c21f7eb0-ce3a-422f-a373-9bd692ccbc99
2026-10-22 21:00:17,095 - DEBUG - Response for create_network : {'network': {'id': 'ba27a18c-1a31-4c6e-b689-5a3236fb7395', 'name': 'ctest-vn-13713379', 'tenant_id': '91644a2126cd4dd580c1200f5a3554aa', 'project_id': '91644a2126cd4dd580c1200f5a3554aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16257648', 'ctest-vn-13713379'], 'port_security_enabled': True, 'description': ''}}
2026-10-22 21:00:17,259 - DEBUG - Response for create_subnet : {'subnet': {'id': '54ce9ea6-b902-4ec6-a970-64c1c614ca8c', 'name': '', 'tenant_id': '91644a2126cd4dd580c1200f5a3554aa', 'network_id': 'ba27a18c-1a31-4c6e-b689-5a3236fb7395', 'ip_version': 4, 'cidr': '197.181.53.128/26', 'allocation_pools': [{'start': '197.181.53.130', 'end': '197.181.53.190'}], 'gateway_ip': '197.181.53.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.181.53.130', 'tags': [], 'project_id': '91644a2126cd4dd580c1200f5a3554aa'}}
2026-10-22 21:00:17,276 - INFO - Created VN ctest-vn-13713379
2026-10-22 21:00:17,328 - DEBUG - VN ctest-vn-13713379 UUID is ba27a18c-1a31-4c6e-b689-5a3236fb7395
2026-10-22 21:00:17,453 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-16257648:ctest-vn-17495722, 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-16257648:ctest-vn-13713379, 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-10-22 21:00:17,761 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c21f7eb0-ce3a-422f-a373-9bd692ccbc99', 'name': 'ctest-vn-17495722', 'tenant_id': '91644a2126cd4dd580c1200f5a3554aa', 'project_id': '91644a2126cd4dd580c1200f5a3554aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['af7e0f2b-86f8-455a-9941-f16a5c073561'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16257648', 'ctest-vn-17495722'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16257648', 'ctest-policy-allow-all-01396983']], 'subnet_ipam': [{'subnet_cidr': '123.15.108.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-22 21:00:17,997 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ba27a18c-1a31-4c6e-b689-5a3236fb7395', 'name': 'ctest-vn-13713379', 'tenant_id': '91644a2126cd4dd580c1200f5a3554aa', 'project_id': '91644a2126cd4dd580c1200f5a3554aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['54ce9ea6-b902-4ec6-a970-64c1c614ca8c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16257648', 'ctest-vn-13713379'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16257648', 'ctest-policy-allow-all-01396983']], 'subnet_ipam': [{'subnet_cidr': '197.181.53.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-22 21:00:18,164 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-10-22 21:00:18,527 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-10-22 21:00:18,555 - DEBUG - Requesting: http://10.0.0.162:8082/domain/440fc601-7c44-4ebb-97d7-c2584dcfa041
2026-10-22 21:00:18,567 - DEBUG - Requesting: http://10.0.0.162:8082/project/91644a21-26cd-4dd5-80c1-200f5a3554aa
2026-10-22 21:00:18,644 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/c21f7eb0-ce3a-422f-a373-9bd692ccbc99
2026-10-22 21:00:18,654 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/c21f7eb0-ce3a-422f-a373-9bd692ccbc99
2026-10-22 21:00:18,663 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/3f3e34a6-4920-406e-b4cf-242b0638ecf7
2026-10-22 21:00:18,670 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/3f3e34a6-4920-406e-b4cf-242b0638ecf7
2026-10-22 21:00:18,676 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/71150ff5-81f4-4f6a-9a72-079dacb58a0e
2026-10-22 21:00:18,682 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-22 21:00:18,682 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/c21f7eb0-ce3a-422f-a373-9bd692ccbc99
2026-10-22 21:00:18,691 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/3f3e34a6-4920-406e-b4cf-242b0638ecf7
2026-10-22 21:00:18,705 - INFO - Verified VN network id 12 for VN c21f7eb0-ce3a-422f-a373-9bd692ccbc99
2026-10-22 21:00:18,705 - INFO - Verifications in API Server for VN ctest-vn-17495722 passed
2026-10-22 21:00:18,705 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/c21f7eb0-ce3a-422f-a373-9bd692ccbc99
2026-10-22 21:00:18,714 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/3f3e34a6-4920-406e-b4cf-242b0638ecf7
2026-10-22 21:00:18,721 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/3f3e34a6-4920-406e-b4cf-242b0638ecf7
2026-10-22 21:00:18,729 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/71150ff5-81f4-4f6a-9a72-079dacb58a0e
2026-10-22 21:00:18,741 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16257648:ctest-vn-17495722', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16257648', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13988038265475318319', 'uuid-lslong': '11777928796392176793'}, 'enable': 'true', 'created': '2026-10-22T21:00:16', 'last-modified': '2026-10-22T21:00:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.008479'}
2026-10-22 21:00:18,748 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-22 21:00:18,748 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17495722 passed
2026-10-22 21:00:18,748 - DEBUG - ====Verifying policy data for ctest-vn-17495722 in API_Server ======
2026-10-22 21:00:18,749 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-10-22 21:00:18,755 - DEBUG - Requesting: http://10.0.0.162:8082/domain/440fc601-7c44-4ebb-97d7-c2584dcfa041
2026-10-22 21:00:18,766 - DEBUG - Requesting: http://10.0.0.162:8082/project/91644a21-26cd-4dd5-80c1-200f5a3554aa
2026-10-22 21:00:18,846 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/c21f7eb0-ce3a-422f-a373-9bd692ccbc99
2026-10-22 21:00:18,855 - DEBUG - ==>Verifying data for policy with id: 9cabb49e-2fd6-4f0d-998e-615841eae1d0, fqn: ['default-domain', 'ctest-TestBasicPolicy-16257648', 'ctest-policy-allow-all-01396983']
2026-10-22 21:00:18,855 - INFO - VN ctest-vn-17495722 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-22 21:00:18,856 - DEBUG - Verifying the vn in opserver
2026-10-22 21:00:18,856 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16257648:ctest-vn-17495722 virtual network link through opserver 10.0.0.162
2026-10-22 21:00:18,856 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks
2026-10-22 21:00:19,225 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks
2026-10-22 21:00:19,279 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16257648:ctest-vn-17495722', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16257648:ctest-vn-17495722?flat'}
2026-10-22 21:00:19,279 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16257648:ctest-vn-17495722 is found in opserver
2026-10-22 21:00:19,290 - DEBUG - Do not have enough data to verify VN in agent
2026-10-22 21:00:19,296 - DEBUG - VRF ids for VN ctest-vn-17495722: {}
2026-10-22 21:00:19,296 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-10-22 21:00:19,302 - DEBUG - Requesting: http://10.0.0.162:8082/domain/440fc601-7c44-4ebb-97d7-c2584dcfa041
2026-10-22 21:00:19,312 - DEBUG - Requesting: http://10.0.0.162:8082/project/91644a21-26cd-4dd5-80c1-200f5a3554aa
2026-10-22 21:00:19,388 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/ba27a18c-1a31-4c6e-b689-5a3236fb7395
2026-10-22 21:00:19,402 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/ba27a18c-1a31-4c6e-b689-5a3236fb7395
2026-10-22 21:00:19,411 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/8679d8cb-9063-4bc8-a3e5-960433fc43dc
2026-10-22 21:00:19,419 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/8679d8cb-9063-4bc8-a3e5-960433fc43dc
2026-10-22 21:00:19,426 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/b9acc045-c047-4f98-9032-71e880a81fd8
2026-10-22 21:00:19,433 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-22 21:00:19,433 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/ba27a18c-1a31-4c6e-b689-5a3236fb7395
2026-10-22 21:00:19,441 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/8679d8cb-9063-4bc8-a3e5-960433fc43dc
2026-10-22 21:00:19,456 - INFO - Verified VN network id 13 for VN ba27a18c-1a31-4c6e-b689-5a3236fb7395
2026-10-22 21:00:19,456 - INFO - Verifications in API Server for VN ctest-vn-13713379 passed
2026-10-22 21:00:19,456 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/ba27a18c-1a31-4c6e-b689-5a3236fb7395
2026-10-22 21:00:19,464 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/8679d8cb-9063-4bc8-a3e5-960433fc43dc
2026-10-22 21:00:19,472 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/8679d8cb-9063-4bc8-a3e5-960433fc43dc
2026-10-22 21:00:19,481 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/b9acc045-c047-4f98-9032-71e880a81fd8
2026-10-22 21:00:19,493 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16257648:ctest-vn-13713379', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16257648', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13413867638253243502', 'uuid-lslong': '13153143358429557653'}, 'enable': 'true', 'created': '2026-10-22T21:00:17', 'last-modified': '2026-10-22T21:00:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.516804'}
2026-10-22 21:00:19,500 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-22 21:00:19,500 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13713379 passed
2026-10-22 21:00:19,500 - DEBUG - ====Verifying policy data for ctest-vn-13713379 in API_Server ======
2026-10-22 21:00:19,500 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-10-22 21:00:19,507 - DEBUG - Requesting: http://10.0.0.162:8082/domain/440fc601-7c44-4ebb-97d7-c2584dcfa041
2026-10-22 21:00:19,522 - DEBUG - Requesting: http://10.0.0.162:8082/project/91644a21-26cd-4dd5-80c1-200f5a3554aa
2026-10-22 21:00:19,600 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/ba27a18c-1a31-4c6e-b689-5a3236fb7395
2026-10-22 21:00:19,618 - DEBUG - ==>Verifying data for policy with id: 9cabb49e-2fd6-4f0d-998e-615841eae1d0, fqn: ['default-domain', 'ctest-TestBasicPolicy-16257648', 'ctest-policy-allow-all-01396983']
2026-10-22 21:00:19,618 - INFO - VN ctest-vn-13713379 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-22 21:00:19,618 - DEBUG - Verifying the vn in opserver
2026-10-22 21:00:19,618 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16257648:ctest-vn-13713379 virtual network link through opserver 10.0.0.162
2026-10-22 21:00:19,618 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks
2026-10-22 21:00:19,632 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16257648:ctest-vn-13713379', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16257648:ctest-vn-13713379?flat'}
2026-10-22 21:00:19,632 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16257648:ctest-vn-13713379 is found in opserver
2026-10-22 21:00:19,644 - DEBUG - Do not have enough data to verify VN in agent
2026-10-22 21:00:19,649 - DEBUG - VRF ids for VN ctest-vn-13713379: {}
2026-10-22 21:00:19,713 - DEBUG - Services list from nova: [