2026-06-18 16:44:50,416 - INFO - Domain Default found not creating
2026-06-18 16:44:50,543 - INFO - Project ctest-TestBasicPolicy-83167819 not found, creating it
2026-06-18 16:44:51,004 - INFO - Created Project:ctest-TestBasicPolicy-83167819, ID : 30c50dab-4dbe-4773-a322-40c8c52aed2b
2026-06-18 16:44:52,376 - INFO - ================================================================================
2026-06-18 16:44:52,376 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-18 16:44:52,376 - 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-06-18 16:44:52,634 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.192': '0'}} with
2026-06-18 16:44:52,634 - INFO - Initial checks done. Running the testcase now
2026-06-18 16:44:52,634 - INFO -
2026-06-18 16:44:53,156 - DEBUG - Response for create_network : {'network': {'id': '59c00163-9f7f-4fd2-be5e-dfda4ea4fa0d', 'name': 'ctest-vn-06793626', 'tenant_id': '30c50dab4dbe4773a32240c8c52aed2b', 'project_id': '30c50dab4dbe4773a32240c8c52aed2b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83167819', 'ctest-vn-06793626'], 'port_security_enabled': True, 'description': ''}}
2026-06-18 16:44:53,292 - DEBUG - Response for create_subnet : {'subnet': {'id': '36752d27-05a0-47b6-8639-735cc4b284e1', 'name': '', 'tenant_id': '30c50dab4dbe4773a32240c8c52aed2b', 'network_id': '59c00163-9f7f-4fd2-be5e-dfda4ea4fa0d', 'ip_version': 4, 'cidr': '138.194.168.192/26', 'allocation_pools': [{'start': '138.194.168.194', 'end': '138.194.168.254'}], 'gateway_ip': '138.194.168.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.194.168.194', 'tags': [], 'project_id': '30c50dab4dbe4773a32240c8c52aed2b'}}
2026-06-18 16:44:53,304 - INFO - Created VN ctest-vn-06793626
2026-06-18 16:44:53,353 - DEBUG - VN ctest-vn-06793626 UUID is 59c00163-9f7f-4fd2-be5e-dfda4ea4fa0d
2026-06-18 16:44:53,638 - DEBUG - Response for create_network : {'network': {'id': '7d7cc9f3-f851-4ac8-abfa-066371682b5e', 'name': 'ctest-vn-44928502', 'tenant_id': '30c50dab4dbe4773a32240c8c52aed2b', 'project_id': '30c50dab4dbe4773a32240c8c52aed2b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83167819', 'ctest-vn-44928502'], 'port_security_enabled': True, 'description': ''}}
2026-06-18 16:44:53,849 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5203dae-b293-40ad-a523-d2f320aa04b8', 'name': '', 'tenant_id': '30c50dab4dbe4773a32240c8c52aed2b', 'network_id': '7d7cc9f3-f851-4ac8-abfa-066371682b5e', 'ip_version': 4, 'cidr': '90.127.116.64/26', 'allocation_pools': [{'start': '90.127.116.66', 'end': '90.127.116.126'}], 'gateway_ip': '90.127.116.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.127.116.66', 'tags': [], 'project_id': '30c50dab4dbe4773a32240c8c52aed2b'}}
2026-06-18 16:44:53,862 - INFO - Created VN ctest-vn-44928502
2026-06-18 16:44:53,917 - DEBUG - VN ctest-vn-44928502 UUID is 7d7cc9f3-f851-4ac8-abfa-066371682b5e
2026-06-18 16:44:54,053 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-83167819:ctest-vn-06793626, 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-83167819:ctest-vn-44928502, 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-06-18 16:44:54,322 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '59c00163-9f7f-4fd2-be5e-dfda4ea4fa0d', 'name': 'ctest-vn-06793626', 'tenant_id': '30c50dab4dbe4773a32240c8c52aed2b', 'project_id': '30c50dab4dbe4773a32240c8c52aed2b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['36752d27-05a0-47b6-8639-735cc4b284e1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83167819', 'ctest-vn-06793626'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83167819', 'ctest-policy-allow-all-55899233']], 'subnet_ipam': [{'subnet_cidr': '138.194.168.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-18 16:44:54,531 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7d7cc9f3-f851-4ac8-abfa-066371682b5e', 'name': 'ctest-vn-44928502', 'tenant_id': '30c50dab4dbe4773a32240c8c52aed2b', 'project_id': '30c50dab4dbe4773a32240c8c52aed2b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c5203dae-b293-40ad-a523-d2f320aa04b8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83167819', 'ctest-vn-44928502'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83167819', 'ctest-policy-allow-all-55899233']], 'subnet_ipam': [{'subnet_cidr': '90.127.116.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-18 16:44:54,689 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-06-18 16:44:55,002 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-06-18 16:44:55,023 - DEBUG - Requesting: http://10.0.0.242:8082/domain/6a77f5cb-1ccc-47c4-a451-b5fc06178afe
2026-06-18 16:44:55,033 - DEBUG - Requesting: http://10.0.0.242:8082/project/30c50dab-4dbe-4773-a322-40c8c52aed2b
2026-06-18 16:44:55,106 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/59c00163-9f7f-4fd2-be5e-dfda4ea4fa0d
2026-06-18 16:44:55,116 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/59c00163-9f7f-4fd2-be5e-dfda4ea4fa0d
2026-06-18 16:44:55,123 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/eb32e24c-16ad-4824-a489-1c9e79d03574
2026-06-18 16:44:55,128 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/eb32e24c-16ad-4824-a489-1c9e79d03574
2026-06-18 16:44:55,133 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/53fa3b71-ad1e-460c-ac3a-58ce31bca946
2026-06-18 16:44:55,138 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-18 16:44:55,138 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/59c00163-9f7f-4fd2-be5e-dfda4ea4fa0d
2026-06-18 16:44:55,144 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/eb32e24c-16ad-4824-a489-1c9e79d03574
2026-06-18 16:44:55,154 - INFO - Verified VN network id 11 for VN 59c00163-9f7f-4fd2-be5e-dfda4ea4fa0d
2026-06-18 16:44:55,154 - INFO - Verifications in API Server for VN ctest-vn-06793626 passed
2026-06-18 16:44:55,154 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/59c00163-9f7f-4fd2-be5e-dfda4ea4fa0d
2026-06-18 16:44:55,161 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/eb32e24c-16ad-4824-a489-1c9e79d03574
2026-06-18 16:44:55,166 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/eb32e24c-16ad-4824-a489-1c9e79d03574
2026-06-18 16:44:55,170 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/53fa3b71-ad1e-460c-ac3a-58ce31bca946
2026-06-18 16:44:55,179 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83167819:ctest-vn-06793626', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83167819', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6467170592293343186', 'uuid-lslong': '13717647643732408845'}, 'enable': 'true', 'created': '2026-06-18T16:44:53', 'last-modified': '2026-06-18T16:44:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.874947'}
2026-06-18 16:44:55,184 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-18 16:44:55,184 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06793626 passed
2026-06-18 16:44:55,184 - DEBUG - ====Verifying policy data for ctest-vn-06793626 in API_Server ======
2026-06-18 16:44:55,184 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-06-18 16:44:55,188 - DEBUG - Requesting: http://10.0.0.242:8082/domain/6a77f5cb-1ccc-47c4-a451-b5fc06178afe
2026-06-18 16:44:55,196 - DEBUG - Requesting: http://10.0.0.242:8082/project/30c50dab-4dbe-4773-a322-40c8c52aed2b
2026-06-18 16:44:55,260 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/59c00163-9f7f-4fd2-be5e-dfda4ea4fa0d
2026-06-18 16:44:55,267 - DEBUG - ==>Verifying data for policy with id: 44e51583-12df-4a09-a67a-f5a3977b415a, fqn: ['default-domain', 'ctest-TestBasicPolicy-83167819', 'ctest-policy-allow-all-55899233']
2026-06-18 16:44:55,267 - INFO - VN ctest-vn-06793626 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-18 16:44:55,267 - DEBUG - Verifying the vn in opserver
2026-06-18 16:44:55,267 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83167819:ctest-vn-06793626 virtual network link through opserver 10.0.0.242
2026-06-18 16:44:55,267 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-06-18 16:44:55,579 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-06-18 16:44:55,627 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83167819:ctest-vn-06793626', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83167819:ctest-vn-06793626?flat'}
2026-06-18 16:44:55,627 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83167819:ctest-vn-06793626 is found in opserver
2026-06-18 16:44:55,635 - DEBUG - Do not have enough data to verify VN in agent
2026-06-18 16:44:55,639 - DEBUG - VRF ids for VN ctest-vn-06793626: {}
2026-06-18 16:44:55,639 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-06-18 16:44:55,643 - DEBUG - Requesting: http://10.0.0.242:8082/domain/6a77f5cb-1ccc-47c4-a451-b5fc06178afe
2026-06-18 16:44:55,651 - DEBUG - Requesting: http://10.0.0.242:8082/project/30c50dab-4dbe-4773-a322-40c8c52aed2b
2026-06-18 16:44:55,716 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/7d7cc9f3-f851-4ac8-abfa-066371682b5e
2026-06-18 16:44:55,725 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/7d7cc9f3-f851-4ac8-abfa-066371682b5e
2026-06-18 16:44:55,732 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7b7f7ddd-ffcb-4ab2-97ef-3831c9131ff7
2026-06-18 16:44:55,737 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7b7f7ddd-ffcb-4ab2-97ef-3831c9131ff7
2026-06-18 16:44:55,742 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/3ee8b319-513d-4527-8c5e-0f393dd69359
2026-06-18 16:44:55,746 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-18 16:44:55,746 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/7d7cc9f3-f851-4ac8-abfa-066371682b5e
2026-06-18 16:44:55,753 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7b7f7ddd-ffcb-4ab2-97ef-3831c9131ff7
2026-06-18 16:44:55,764 - INFO - Verified VN network id 12 for VN 7d7cc9f3-f851-4ac8-abfa-066371682b5e
2026-06-18 16:44:55,764 - INFO - Verifications in API Server for VN ctest-vn-44928502 passed
2026-06-18 16:44:55,764 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/7d7cc9f3-f851-4ac8-abfa-066371682b5e
2026-06-18 16:44:55,771 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7b7f7ddd-ffcb-4ab2-97ef-3831c9131ff7
2026-06-18 16:44:55,776 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7b7f7ddd-ffcb-4ab2-97ef-3831c9131ff7
2026-06-18 16:44:55,781 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/3ee8b319-513d-4527-8c5e-0f393dd69359
2026-06-18 16:44:55,790 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83167819:ctest-vn-44928502', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83167819', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9042324201533426376', 'uuid-lslong': '12392224348837522270'}, 'enable': 'true', 'created': '2026-06-18T16:44:53', 'last-modified': '2026-06-18T16:44:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.275172'}
2026-06-18 16:44:55,795 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-18 16:44:55,795 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44928502 passed
2026-06-18 16:44:55,795 - DEBUG - ====Verifying policy data for ctest-vn-44928502 in API_Server ======
2026-06-18 16:44:55,795 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-06-18 16:44:55,800 - DEBUG - Requesting: http://10.0.0.242:8082/domain/6a77f5cb-1ccc-47c4-a451-b5fc06178afe
2026-06-18 16:44:55,809 - DEBUG - Requesting: http://10.0.0.242:8082/project/30c50dab-4dbe-4773-a322-40c8c52aed2b
2026-06-18 16:44:55,877 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/7d7cc9f3-f851-4ac8-abfa-066371682b5e
2026-06-18 16:44:55,890 - DEBUG - ==>Verifying data for policy with id: 44e51583-12df-4a09-a67a-f5a3977b415a, fqn: ['default-domain', 'ctest-TestBasicPolicy-83167819', 'ctest-policy-allow-all-55899233']
2026-06-18 16:44:55,890 - INFO - VN ctest-vn-44928502 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-18 16:44:55,890 - DEBUG - Verifying the vn in opserver
2026-06-18 16:44:55,890 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83167819:ctest-vn-44928502 virtual network link through opserver 10.0.0.242
2026-06-18 16:44:55,890 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-06-18 16:44:55,897 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83167819:ctest-vn-44928502', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83167819:ctest-vn-44928502?flat'}
2026-06-18 16:44:55,897 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83167819:ctest-vn-44928502 is found in opserver
2026-06-18 16:44:55,905 - DEBUG - Do not have enough data to verify VN in agent
2026-06-18 16:44:55,909 - DEBUG - VRF ids for VN ctest-vn-44928502: {}
2026-06-18 16:44:55,954 - DEBUG - Services list from nova: [