2026-05-26 16:07:16,710 - INFO - Domain Default found not creating
2026-05-26 16:07:16,900 - INFO - Project ctest-TestBasicPolicy-44147301 not found, creating it
2026-05-26 16:07:17,402 - INFO - Created Project:ctest-TestBasicPolicy-44147301, ID : 4e4d671a-66fa-4e9b-bc85-4c07b0798264
2026-05-26 16:07:18,979 - INFO - ================================================================================
2026-05-26 16:07:18,979 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-05-26 16:07:18,979 - 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-05-26 16:07:19,235 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.129': '0'}} with
2026-05-26 16:07:19,235 - INFO - Initial checks done. Running the testcase now
2026-05-26 16:07:19,235 - INFO -
2026-05-26 16:07:19,872 - DEBUG - Response for create_network : {'network': {'id': '91f87df1-c023-4513-a1ba-8a3b807697fc', 'name': 'ctest-vn-07098021', 'tenant_id': '4e4d671a66fa4e9bbc854c07b0798264', 'project_id': '4e4d671a66fa4e9bbc854c07b0798264', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44147301', 'ctest-vn-07098021'], 'port_security_enabled': True, 'description': ''}}
2026-05-26 16:07:20,068 - DEBUG - Response for create_subnet : {'subnet': {'id': '0808340a-d8fb-4f59-8647-0b4dea9334f0', 'name': '', 'tenant_id': '4e4d671a66fa4e9bbc854c07b0798264', 'network_id': '91f87df1-c023-4513-a1ba-8a3b807697fc', 'ip_version': 4, 'cidr': '75.171.125.192/26', 'allocation_pools': [{'start': '75.171.125.194', 'end': '75.171.125.254'}], 'gateway_ip': '75.171.125.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.171.125.194', 'tags': [], 'project_id': '4e4d671a66fa4e9bbc854c07b0798264'}}
2026-05-26 16:07:20,086 - INFO - Created VN ctest-vn-07098021
2026-05-26 16:07:20,140 - DEBUG - VN ctest-vn-07098021 UUID is 91f87df1-c023-4513-a1ba-8a3b807697fc
2026-05-26 16:07:20,450 - DEBUG - Response for create_network : {'network': {'id': '48b4975c-e880-4962-8654-3dc263326398', 'name': 'ctest-vn-92104913', 'tenant_id': '4e4d671a66fa4e9bbc854c07b0798264', 'project_id': '4e4d671a66fa4e9bbc854c07b0798264', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44147301', 'ctest-vn-92104913'], 'port_security_enabled': True, 'description': ''}}
2026-05-26 16:07:20,658 - DEBUG - Response for create_subnet : {'subnet': {'id': '23e5bda0-4ef8-4922-83f1-d751cd979ab8', 'name': '', 'tenant_id': '4e4d671a66fa4e9bbc854c07b0798264', 'network_id': '48b4975c-e880-4962-8654-3dc263326398', 'ip_version': 4, 'cidr': '101.212.230.0/26', 'allocation_pools': [{'start': '101.212.230.2', 'end': '101.212.230.62'}], 'gateway_ip': '101.212.230.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.212.230.2', 'tags': [], 'project_id': '4e4d671a66fa4e9bbc854c07b0798264'}}
2026-05-26 16:07:20,678 - INFO - Created VN ctest-vn-92104913
2026-05-26 16:07:20,732 - DEBUG - VN ctest-vn-92104913 UUID is 48b4975c-e880-4962-8654-3dc263326398
2026-05-26 16:07:20,859 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-44147301:ctest-vn-07098021, 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-44147301:ctest-vn-92104913, 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-05-26 16:07:21,173 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '91f87df1-c023-4513-a1ba-8a3b807697fc', 'name': 'ctest-vn-07098021', 'tenant_id': '4e4d671a66fa4e9bbc854c07b0798264', 'project_id': '4e4d671a66fa4e9bbc854c07b0798264', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0808340a-d8fb-4f59-8647-0b4dea9334f0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44147301', 'ctest-vn-07098021'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44147301', 'ctest-policy-allow-all-80405976']], 'subnet_ipam': [{'subnet_cidr': '75.171.125.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-26 16:07:21,418 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '48b4975c-e880-4962-8654-3dc263326398', 'name': 'ctest-vn-92104913', 'tenant_id': '4e4d671a66fa4e9bbc854c07b0798264', 'project_id': '4e4d671a66fa4e9bbc854c07b0798264', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['23e5bda0-4ef8-4922-83f1-d751cd979ab8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44147301', 'ctest-vn-92104913'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44147301', 'ctest-policy-allow-all-80405976']], 'subnet_ipam': [{'subnet_cidr': '101.212.230.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-26 16:07:21,580 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-05-26 16:07:21,876 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-05-26 16:07:21,910 - DEBUG - Requesting: http://10.0.0.141:8082/domain/bfe61374-1fe4-49de-a89f-a0f0ef2c241b
2026-05-26 16:07:21,923 - DEBUG - Requesting: http://10.0.0.141:8082/project/4e4d671a-66fa-4e9b-bc85-4c07b0798264
2026-05-26 16:07:21,998 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/91f87df1-c023-4513-a1ba-8a3b807697fc
2026-05-26 16:07:22,010 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/91f87df1-c023-4513-a1ba-8a3b807697fc
2026-05-26 16:07:22,020 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1f827c01-3140-46e9-9159-ff5459095a2c
2026-05-26 16:07:22,027 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1f827c01-3140-46e9-9159-ff5459095a2c
2026-05-26 16:07:22,033 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/198dc798-8fd5-47cf-aca2-4c956e2bfe27
2026-05-26 16:07:22,040 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-26 16:07:22,040 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/91f87df1-c023-4513-a1ba-8a3b807697fc
2026-05-26 16:07:22,049 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1f827c01-3140-46e9-9159-ff5459095a2c
2026-05-26 16:07:22,063 - INFO - Verified VN network id 11 for VN 91f87df1-c023-4513-a1ba-8a3b807697fc
2026-05-26 16:07:22,063 - INFO - Verifications in API Server for VN ctest-vn-07098021 passed
2026-05-26 16:07:22,063 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/91f87df1-c023-4513-a1ba-8a3b807697fc
2026-05-26 16:07:22,075 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1f827c01-3140-46e9-9159-ff5459095a2c
2026-05-26 16:07:22,083 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1f827c01-3140-46e9-9159-ff5459095a2c
2026-05-26 16:07:22,090 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/198dc798-8fd5-47cf-aca2-4c956e2bfe27
2026-05-26 16:07:22,102 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44147301:ctest-vn-07098021', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44147301', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10518295406987920659', 'uuid-lslong': '11653778973937539068'}, 'enable': 'true', 'created': '2026-05-26T16:07:19', 'last-modified': '2026-05-26T16:07:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.958527'}
2026-05-26 16:07:22,108 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-26 16:07:22,109 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07098021 passed
2026-05-26 16:07:22,109 - DEBUG - ====Verifying policy data for ctest-vn-07098021 in API_Server ======
2026-05-26 16:07:22,109 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-05-26 16:07:22,115 - DEBUG - Requesting: http://10.0.0.141:8082/domain/bfe61374-1fe4-49de-a89f-a0f0ef2c241b
2026-05-26 16:07:22,125 - DEBUG - Requesting: http://10.0.0.141:8082/project/4e4d671a-66fa-4e9b-bc85-4c07b0798264
2026-05-26 16:07:22,192 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/91f87df1-c023-4513-a1ba-8a3b807697fc
2026-05-26 16:07:22,201 - DEBUG - ==>Verifying data for policy with id: 06a0bdbf-7fd8-47f5-bc7f-8e1b3dcbc030, fqn: ['default-domain', 'ctest-TestBasicPolicy-44147301', 'ctest-policy-allow-all-80405976']
2026-05-26 16:07:22,201 - INFO - VN ctest-vn-07098021 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-26 16:07:22,202 - DEBUG - Verifying the vn in opserver
2026-05-26 16:07:22,202 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44147301:ctest-vn-07098021 virtual network link through opserver 10.0.0.141
2026-05-26 16:07:22,202 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-05-26 16:07:22,496 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-05-26 16:07:22,563 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44147301:ctest-vn-07098021', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44147301:ctest-vn-07098021?flat'}
2026-05-26 16:07:22,563 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44147301:ctest-vn-07098021 is found in opserver
2026-05-26 16:07:22,573 - DEBUG - Do not have enough data to verify VN in agent
2026-05-26 16:07:22,577 - DEBUG - VRF ids for VN ctest-vn-07098021: {}
2026-05-26 16:07:22,577 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-05-26 16:07:22,583 - DEBUG - Requesting: http://10.0.0.141:8082/domain/bfe61374-1fe4-49de-a89f-a0f0ef2c241b
2026-05-26 16:07:22,594 - DEBUG - Requesting: http://10.0.0.141:8082/project/4e4d671a-66fa-4e9b-bc85-4c07b0798264
2026-05-26 16:07:22,670 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/48b4975c-e880-4962-8654-3dc263326398
2026-05-26 16:07:22,681 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/48b4975c-e880-4962-8654-3dc263326398
2026-05-26 16:07:22,690 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/adbc51d3-61ba-48f6-a4ae-390b2aa38c4f
2026-05-26 16:07:22,698 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/adbc51d3-61ba-48f6-a4ae-390b2aa38c4f
2026-05-26 16:07:22,705 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/acacde6e-cf86-4514-9a84-bc4f883e607b
2026-05-26 16:07:22,712 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-26 16:07:22,712 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/48b4975c-e880-4962-8654-3dc263326398
2026-05-26 16:07:22,722 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/adbc51d3-61ba-48f6-a4ae-390b2aa38c4f
2026-05-26 16:07:22,737 - INFO - Verified VN network id 12 for VN 48b4975c-e880-4962-8654-3dc263326398
2026-05-26 16:07:22,737 - INFO - Verifications in API Server for VN ctest-vn-92104913 passed
2026-05-26 16:07:22,737 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/48b4975c-e880-4962-8654-3dc263326398
2026-05-26 16:07:22,748 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/adbc51d3-61ba-48f6-a4ae-390b2aa38c4f
2026-05-26 16:07:22,758 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/adbc51d3-61ba-48f6-a4ae-390b2aa38c4f
2026-05-26 16:07:22,767 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/acacde6e-cf86-4514-9a84-bc4f883e607b
2026-05-26 16:07:22,783 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44147301:ctest-vn-92104913', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44147301', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5238978691832236386', 'uuid-lslong': '9679429404223234968'}, 'enable': 'true', 'created': '2026-05-26T16:07:20', 'last-modified': '2026-05-26T16:07:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.389406'}
2026-05-26 16:07:22,790 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-26 16:07:22,790 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92104913 passed
2026-05-26 16:07:22,790 - DEBUG - ====Verifying policy data for ctest-vn-92104913 in API_Server ======
2026-05-26 16:07:22,790 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-05-26 16:07:22,795 - DEBUG - Requesting: http://10.0.0.141:8082/domain/bfe61374-1fe4-49de-a89f-a0f0ef2c241b
2026-05-26 16:07:22,807 - DEBUG - Requesting: http://10.0.0.141:8082/project/4e4d671a-66fa-4e9b-bc85-4c07b0798264
2026-05-26 16:07:22,881 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/48b4975c-e880-4962-8654-3dc263326398
2026-05-26 16:07:22,892 - DEBUG - ==>Verifying data for policy with id: 06a0bdbf-7fd8-47f5-bc7f-8e1b3dcbc030, fqn: ['default-domain', 'ctest-TestBasicPolicy-44147301', 'ctest-policy-allow-all-80405976']
2026-05-26 16:07:22,893 - INFO - VN ctest-vn-92104913 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-26 16:07:22,893 - DEBUG - Verifying the vn in opserver
2026-05-26 16:07:22,893 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44147301:ctest-vn-92104913 virtual network link through opserver 10.0.0.141
2026-05-26 16:07:22,893 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-05-26 16:07:22,904 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44147301:ctest-vn-92104913', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44147301:ctest-vn-92104913?flat'}
2026-05-26 16:07:22,904 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44147301:ctest-vn-92104913 is found in opserver
2026-05-26 16:07:22,914 - DEBUG - Do not have enough data to verify VN in agent
2026-05-26 16:07:22,918 - DEBUG - VRF ids for VN ctest-vn-92104913: {}
2026-05-26 16:07:22,980 - DEBUG - Services list from nova: [