2026-02-19 02:14:14,318 - INFO - Domain Default found not creating
2026-02-19 02:14:14,477 - INFO - Project ctest-TestBasicPolicy-02037332 not found, creating it
2026-02-19 02:14:14,918 - INFO - Created Project:ctest-TestBasicPolicy-02037332, ID : c9d3f61b-c614-47ed-899f-e2ed25b9b042
2026-02-19 02:14:16,332 - INFO - ================================================================================
2026-02-19 02:14:16,332 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-19 02:14:16,332 - 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-02-19 02:14:16,587 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.129': '0'}} with
2026-02-19 02:14:16,587 - INFO - Initial checks done. Running the testcase now
2026-02-19 02:14:16,587 - INFO -
2026-02-19 02:14:17,122 - DEBUG - Response for create_network : {'network': {'id': 'd34999e3-e0dc-45c5-9074-e6ebae9f4d95', 'name': 'ctest-vn-82165628', 'tenant_id': 'c9d3f61bc61447ed899fe2ed25b9b042', 'project_id': 'c9d3f61bc61447ed899fe2ed25b9b042', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02037332', 'ctest-vn-82165628'], 'port_security_enabled': True, 'description': ''}}
2026-02-19 02:14:17,261 - DEBUG - Response for create_subnet : {'subnet': {'id': '00d190c2-fe99-492c-af82-65a745ca9a64', 'name': '', 'tenant_id': 'c9d3f61bc61447ed899fe2ed25b9b042', 'network_id': 'd34999e3-e0dc-45c5-9074-e6ebae9f4d95', 'ip_version': 4, 'cidr': '73.87.54.128/26', 'allocation_pools': [{'start': '73.87.54.130', 'end': '73.87.54.190'}], 'gateway_ip': '73.87.54.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.87.54.130', 'tags': [], 'project_id': 'c9d3f61bc61447ed899fe2ed25b9b042'}}
2026-02-19 02:14:17,278 - INFO - Created VN ctest-vn-82165628
2026-02-19 02:14:17,330 - DEBUG - VN ctest-vn-82165628 UUID is d34999e3-e0dc-45c5-9074-e6ebae9f4d95
2026-02-19 02:14:17,636 - DEBUG - Response for create_network : {'network': {'id': 'a85535a7-dca5-4c7a-9c48-a11f9f8c6343', 'name': 'ctest-vn-94457596', 'tenant_id': 'c9d3f61bc61447ed899fe2ed25b9b042', 'project_id': 'c9d3f61bc61447ed899fe2ed25b9b042', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02037332', 'ctest-vn-94457596'], 'port_security_enabled': True, 'description': ''}}
2026-02-19 02:14:17,836 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d94e359-2db6-4fd4-8ed7-8ae755c6e371', 'name': '', 'tenant_id': 'c9d3f61bc61447ed899fe2ed25b9b042', 'network_id': 'a85535a7-dca5-4c7a-9c48-a11f9f8c6343', 'ip_version': 4, 'cidr': '219.158.121.0/26', 'allocation_pools': [{'start': '219.158.121.2', 'end': '219.158.121.62'}], 'gateway_ip': '219.158.121.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.158.121.2', 'tags': [], 'project_id': 'c9d3f61bc61447ed899fe2ed25b9b042'}}
2026-02-19 02:14:17,853 - INFO - Created VN ctest-vn-94457596
2026-02-19 02:14:17,902 - DEBUG - VN ctest-vn-94457596 UUID is a85535a7-dca5-4c7a-9c48-a11f9f8c6343
2026-02-19 02:14:18,050 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-02037332:ctest-vn-82165628, 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-02037332:ctest-vn-94457596, 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-02-19 02:14:18,326 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd34999e3-e0dc-45c5-9074-e6ebae9f4d95', 'name': 'ctest-vn-82165628', 'tenant_id': 'c9d3f61bc61447ed899fe2ed25b9b042', 'project_id': 'c9d3f61bc61447ed899fe2ed25b9b042', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['00d190c2-fe99-492c-af82-65a745ca9a64'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02037332', 'ctest-vn-82165628'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02037332', 'ctest-policy-allow-all-50925190']], 'subnet_ipam': [{'subnet_cidr': '73.87.54.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-19 02:14:18,540 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a85535a7-dca5-4c7a-9c48-a11f9f8c6343', 'name': 'ctest-vn-94457596', 'tenant_id': 'c9d3f61bc61447ed899fe2ed25b9b042', 'project_id': 'c9d3f61bc61447ed899fe2ed25b9b042', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2d94e359-2db6-4fd4-8ed7-8ae755c6e371'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02037332', 'ctest-vn-94457596'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02037332', 'ctest-policy-allow-all-50925190']], 'subnet_ipam': [{'subnet_cidr': '219.158.121.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-19 02:14:18,690 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2026-02-19 02:14:18,985 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2026-02-19 02:14:19,014 - DEBUG - Requesting: http://10.0.0.23:8082/domain/2d5d818a-a03e-492f-8464-ff794ba593de
2026-02-19 02:14:19,025 - DEBUG - Requesting: http://10.0.0.23:8082/project/c9d3f61b-c614-47ed-899f-e2ed25b9b042
2026-02-19 02:14:19,098 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/d34999e3-e0dc-45c5-9074-e6ebae9f4d95
2026-02-19 02:14:19,106 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/d34999e3-e0dc-45c5-9074-e6ebae9f4d95
2026-02-19 02:14:19,115 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/1aa8e0f1-e736-4d72-8675-51f47afc19d6
2026-02-19 02:14:19,122 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/1aa8e0f1-e736-4d72-8675-51f47afc19d6
2026-02-19 02:14:19,129 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/85e0423a-260e-4c4a-8502-f0b22768ecb3
2026-02-19 02:14:19,134 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-19 02:14:19,134 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/d34999e3-e0dc-45c5-9074-e6ebae9f4d95
2026-02-19 02:14:19,142 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/1aa8e0f1-e736-4d72-8675-51f47afc19d6
2026-02-19 02:14:19,154 - INFO - Verified VN network id 11 for VN d34999e3-e0dc-45c5-9074-e6ebae9f4d95
2026-02-19 02:14:19,154 - INFO - Verifications in API Server for VN ctest-vn-82165628 passed
2026-02-19 02:14:19,154 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/d34999e3-e0dc-45c5-9074-e6ebae9f4d95
2026-02-19 02:14:19,162 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/1aa8e0f1-e736-4d72-8675-51f47afc19d6
2026-02-19 02:14:19,168 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/1aa8e0f1-e736-4d72-8675-51f47afc19d6
2026-02-19 02:14:19,173 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/85e0423a-260e-4c4a-8502-f0b22768ecb3
2026-02-19 02:14:19,183 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02037332:ctest-vn-82165628', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02037332', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15224869219311830469', 'uuid-lslong': '10409198538681437589'}, 'enable': 'true', 'created': '2026-02-19T02:14:17', 'last-modified': '2026-02-19T02:14:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.873117'}
2026-02-19 02:14:19,188 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-19 02:14:19,188 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82165628 passed
2026-02-19 02:14:19,188 - DEBUG - ====Verifying policy data for ctest-vn-82165628 in API_Server ======
2026-02-19 02:14:19,188 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2026-02-19 02:14:19,192 - DEBUG - Requesting: http://10.0.0.23:8082/domain/2d5d818a-a03e-492f-8464-ff794ba593de
2026-02-19 02:14:19,202 - DEBUG - Requesting: http://10.0.0.23:8082/project/c9d3f61b-c614-47ed-899f-e2ed25b9b042
2026-02-19 02:14:19,271 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/d34999e3-e0dc-45c5-9074-e6ebae9f4d95
2026-02-19 02:14:19,280 - DEBUG - ==>Verifying data for policy with id: 36c37109-120e-48ea-a14e-dbe904afad63, fqn: ['default-domain', 'ctest-TestBasicPolicy-02037332', 'ctest-policy-allow-all-50925190']
2026-02-19 02:14:19,280 - INFO - VN ctest-vn-82165628 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-19 02:14:19,280 - DEBUG - Verifying the vn in opserver
2026-02-19 02:14:19,280 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02037332:ctest-vn-82165628 virtual network link through opserver 10.0.0.23
2026-02-19 02:14:19,281 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks
2026-02-19 02:14:19,571 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks
2026-02-19 02:14:19,629 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02037332:ctest-vn-82165628', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02037332:ctest-vn-82165628?flat'}
2026-02-19 02:14:19,629 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02037332:ctest-vn-82165628 is found in opserver
2026-02-19 02:14:19,637 - DEBUG - Do not have enough data to verify VN in agent
2026-02-19 02:14:19,641 - DEBUG - VRF ids for VN ctest-vn-82165628: {}
2026-02-19 02:14:19,641 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2026-02-19 02:14:19,646 - DEBUG - Requesting: http://10.0.0.23:8082/domain/2d5d818a-a03e-492f-8464-ff794ba593de
2026-02-19 02:14:19,659 - DEBUG - Requesting: http://10.0.0.23:8082/project/c9d3f61b-c614-47ed-899f-e2ed25b9b042
2026-02-19 02:14:19,728 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/a85535a7-dca5-4c7a-9c48-a11f9f8c6343
2026-02-19 02:14:19,739 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/a85535a7-dca5-4c7a-9c48-a11f9f8c6343
2026-02-19 02:14:19,748 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/83690120-d896-41b9-8e27-641a26e3e14f
2026-02-19 02:14:19,754 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/83690120-d896-41b9-8e27-641a26e3e14f
2026-02-19 02:14:19,760 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/d39d2e1e-0c39-4ba1-9198-54d0fd564a29
2026-02-19 02:14:19,766 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-19 02:14:19,766 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/a85535a7-dca5-4c7a-9c48-a11f9f8c6343
2026-02-19 02:14:19,774 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/83690120-d896-41b9-8e27-641a26e3e14f
2026-02-19 02:14:19,786 - INFO - Verified VN network id 12 for VN a85535a7-dca5-4c7a-9c48-a11f9f8c6343
2026-02-19 02:14:19,786 - INFO - Verifications in API Server for VN ctest-vn-94457596 passed
2026-02-19 02:14:19,786 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/a85535a7-dca5-4c7a-9c48-a11f9f8c6343
2026-02-19 02:14:19,795 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/83690120-d896-41b9-8e27-641a26e3e14f
2026-02-19 02:14:19,803 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/83690120-d896-41b9-8e27-641a26e3e14f
2026-02-19 02:14:19,808 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/d39d2e1e-0c39-4ba1-9198-54d0fd564a29
2026-02-19 02:14:19,818 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02037332:ctest-vn-94457596', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02037332', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12129660166469930106', 'uuid-lslong': '11261428025432761155'}, 'enable': 'true', 'created': '2026-02-19T02:14:17', 'last-modified': '2026-02-19T02:14:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.297262'}
2026-02-19 02:14:19,822 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-19 02:14:19,822 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94457596 passed
2026-02-19 02:14:19,823 - DEBUG - ====Verifying policy data for ctest-vn-94457596 in API_Server ======
2026-02-19 02:14:19,823 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2026-02-19 02:14:19,827 - DEBUG - Requesting: http://10.0.0.23:8082/domain/2d5d818a-a03e-492f-8464-ff794ba593de
2026-02-19 02:14:19,837 - DEBUG - Requesting: http://10.0.0.23:8082/project/c9d3f61b-c614-47ed-899f-e2ed25b9b042
2026-02-19 02:14:19,902 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/a85535a7-dca5-4c7a-9c48-a11f9f8c6343
2026-02-19 02:14:19,911 - DEBUG - ==>Verifying data for policy with id: 36c37109-120e-48ea-a14e-dbe904afad63, fqn: ['default-domain', 'ctest-TestBasicPolicy-02037332', 'ctest-policy-allow-all-50925190']
2026-02-19 02:14:19,911 - INFO - VN ctest-vn-94457596 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-19 02:14:19,911 - DEBUG - Verifying the vn in opserver
2026-02-19 02:14:19,911 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02037332:ctest-vn-94457596 virtual network link through opserver 10.0.0.23
2026-02-19 02:14:19,911 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks
2026-02-19 02:14:19,921 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02037332:ctest-vn-94457596', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02037332:ctest-vn-94457596?flat'}
2026-02-19 02:14:19,921 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02037332:ctest-vn-94457596 is found in opserver
2026-02-19 02:14:19,929 - DEBUG - Do not have enough data to verify VN in agent
2026-02-19 02:14:19,933 - DEBUG - VRF ids for VN ctest-vn-94457596: {}
2026-02-19 02:14:19,987 - DEBUG - Services list from nova: [