2026-08-14 08:57:30,688 - INFO - Domain Default found not creating
2026-08-14 08:57:30,911 - INFO - Project ctest-TestBasicPolicy-62186049 not found, creating it
2026-08-14 08:57:31,534 - INFO - Created Project:ctest-TestBasicPolicy-62186049, ID : c3cf9481-88ce-42c8-bdc8-079260c86b10
2026-08-14 08:57:33,025 - INFO - ================================================================================
2026-08-14 08:57:33,025 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-14 08:57:33,025 - 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-08-14 08:57:33,283 - DEBUG - Nothing to compare xmpp stats {'10.0.0.250': {'10.20.0.14': '0'}} with
2026-08-14 08:57:33,283 - INFO - Initial checks done. Running the testcase now
2026-08-14 08:57:33,283 - INFO -
2026-08-14 08:57:33,880 - DEBUG - Response for create_network : {'network': {'id': '9b0242a3-154b-42a3-b57a-1d0f6c56cc57', 'name': 'ctest-vn-66687173', 'tenant_id': 'c3cf948188ce42c8bdc8079260c86b10', 'project_id': 'c3cf948188ce42c8bdc8079260c86b10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62186049', 'ctest-vn-66687173'], 'port_security_enabled': True, 'description': ''}}
2026-08-14 08:57:34,124 - DEBUG - Response for create_subnet : {'subnet': {'id': '560ede69-646c-4c7d-8fc9-d27817425e48', 'name': '', 'tenant_id': 'c3cf948188ce42c8bdc8079260c86b10', 'network_id': '9b0242a3-154b-42a3-b57a-1d0f6c56cc57', 'ip_version': 4, 'cidr': '83.191.99.128/26', 'allocation_pools': [{'start': '83.191.99.130', 'end': '83.191.99.190'}], 'gateway_ip': '83.191.99.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.191.99.130', 'tags': [], 'project_id': 'c3cf948188ce42c8bdc8079260c86b10'}}
2026-08-14 08:57:34,143 - INFO - Created VN ctest-vn-66687173
2026-08-14 08:57:34,198 - DEBUG - VN ctest-vn-66687173 UUID is 9b0242a3-154b-42a3-b57a-1d0f6c56cc57
2026-08-14 08:57:34,566 - DEBUG - Response for create_network : {'network': {'id': '78ea2508-ec3d-4a89-9c2e-7e4a0cd2e117', 'name': 'ctest-vn-26658825', 'tenant_id': 'c3cf948188ce42c8bdc8079260c86b10', 'project_id': 'c3cf948188ce42c8bdc8079260c86b10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62186049', 'ctest-vn-26658825'], 'port_security_enabled': True, 'description': ''}}
2026-08-14 08:57:34,786 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a4d85cb3-cab8-4192-a795-d4dab0169101', 'name': '', 'tenant_id': 'c3cf948188ce42c8bdc8079260c86b10', 'network_id': '78ea2508-ec3d-4a89-9c2e-7e4a0cd2e117', 'ip_version': 4, 'cidr': '5.43.79.0/26', 'allocation_pools': [{'start': '5.43.79.2', 'end': '5.43.79.62'}], 'gateway_ip': '5.43.79.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.43.79.2', 'tags': [], 'project_id': 'c3cf948188ce42c8bdc8079260c86b10'}}
2026-08-14 08:57:34,807 - INFO - Created VN ctest-vn-26658825
2026-08-14 08:57:34,862 - DEBUG - VN ctest-vn-26658825 UUID is 78ea2508-ec3d-4a89-9c2e-7e4a0cd2e117
2026-08-14 08:57:35,010 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-62186049:ctest-vn-66687173, 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-62186049:ctest-vn-26658825, 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-08-14 08:57:35,327 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9b0242a3-154b-42a3-b57a-1d0f6c56cc57', 'name': 'ctest-vn-66687173', 'tenant_id': 'c3cf948188ce42c8bdc8079260c86b10', 'project_id': 'c3cf948188ce42c8bdc8079260c86b10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['560ede69-646c-4c7d-8fc9-d27817425e48'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62186049', 'ctest-vn-66687173'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62186049', 'ctest-policy-allow-all-57286607']], 'subnet_ipam': [{'subnet_cidr': '83.191.99.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-14 08:57:35,580 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '78ea2508-ec3d-4a89-9c2e-7e4a0cd2e117', 'name': 'ctest-vn-26658825', 'tenant_id': 'c3cf948188ce42c8bdc8079260c86b10', 'project_id': 'c3cf948188ce42c8bdc8079260c86b10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a4d85cb3-cab8-4192-a795-d4dab0169101'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62186049', 'ctest-vn-26658825'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62186049', 'ctest-policy-allow-all-57286607']], 'subnet_ipam': [{'subnet_cidr': '5.43.79.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-14 08:57:35,754 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-08-14 08:57:36,087 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-08-14 08:57:36,114 - DEBUG - Requesting: http://10.0.0.250:8082/domain/111bd326-0f01-4c5e-8f8b-08308c02ee67
2026-08-14 08:57:36,125 - DEBUG - Requesting: http://10.0.0.250:8082/project/c3cf9481-88ce-42c8-bdc8-079260c86b10
2026-08-14 08:57:36,210 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/9b0242a3-154b-42a3-b57a-1d0f6c56cc57
2026-08-14 08:57:36,224 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/9b0242a3-154b-42a3-b57a-1d0f6c56cc57
2026-08-14 08:57:36,235 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/d8504a34-2459-4ca4-a682-7b2cd7542770
2026-08-14 08:57:36,242 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/d8504a34-2459-4ca4-a682-7b2cd7542770
2026-08-14 08:57:36,248 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/13af930e-c400-4ce4-b409-a02476b637e5
2026-08-14 08:57:36,255 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-14 08:57:36,255 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/9b0242a3-154b-42a3-b57a-1d0f6c56cc57
2026-08-14 08:57:36,263 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/d8504a34-2459-4ca4-a682-7b2cd7542770
2026-08-14 08:57:36,277 - INFO - Verified VN network id 11 for VN 9b0242a3-154b-42a3-b57a-1d0f6c56cc57
2026-08-14 08:57:36,278 - INFO - Verifications in API Server for VN ctest-vn-66687173 passed
2026-08-14 08:57:36,278 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/9b0242a3-154b-42a3-b57a-1d0f6c56cc57
2026-08-14 08:57:36,288 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/d8504a34-2459-4ca4-a682-7b2cd7542770
2026-08-14 08:57:36,297 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/d8504a34-2459-4ca4-a682-7b2cd7542770
2026-08-14 08:57:36,305 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/13af930e-c400-4ce4-b409-a02476b637e5
2026-08-14 08:57:36,318 - DEBUG - Control-node 10.0.0.250 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62186049:ctest-vn-66687173', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62186049', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11169563294036607651', 'uuid-lslong': '13076796420102999127'}, 'enable': 'true', 'created': '2026-08-14T08:57:33', 'last-modified': '2026-08-14T08:57:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.036439'}
2026-08-14 08:57:36,327 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-14 08:57:36,327 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66687173 passed
2026-08-14 08:57:36,327 - DEBUG - ====Verifying policy data for ctest-vn-66687173 in API_Server ======
2026-08-14 08:57:36,327 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-08-14 08:57:36,333 - DEBUG - Requesting: http://10.0.0.250:8082/domain/111bd326-0f01-4c5e-8f8b-08308c02ee67
2026-08-14 08:57:36,345 - DEBUG - Requesting: http://10.0.0.250:8082/project/c3cf9481-88ce-42c8-bdc8-079260c86b10
2026-08-14 08:57:36,416 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/9b0242a3-154b-42a3-b57a-1d0f6c56cc57
2026-08-14 08:57:36,429 - DEBUG - ==>Verifying data for policy with id: cb2b3a90-cd73-4a4a-9155-8917f424a893, fqn: ['default-domain', 'ctest-TestBasicPolicy-62186049', 'ctest-policy-allow-all-57286607']
2026-08-14 08:57:36,429 - INFO - VN ctest-vn-66687173 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-14 08:57:36,429 - DEBUG - Verifying the vn in opserver
2026-08-14 08:57:36,429 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62186049:ctest-vn-66687173 virtual network link through opserver 10.0.0.250
2026-08-14 08:57:36,429 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks
2026-08-14 08:57:36,771 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks
2026-08-14 08:57:36,842 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62186049:ctest-vn-66687173', 'href': 'http://10.0.0.250:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62186049:ctest-vn-66687173?flat'}
2026-08-14 08:57:36,842 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62186049:ctest-vn-66687173 is found in opserver
2026-08-14 08:57:36,855 - DEBUG - Do not have enough data to verify VN in agent
2026-08-14 08:57:36,860 - DEBUG - VRF ids for VN ctest-vn-66687173: {}
2026-08-14 08:57:36,860 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-08-14 08:57:36,867 - DEBUG - Requesting: http://10.0.0.250:8082/domain/111bd326-0f01-4c5e-8f8b-08308c02ee67
2026-08-14 08:57:36,877 - DEBUG - Requesting: http://10.0.0.250:8082/project/c3cf9481-88ce-42c8-bdc8-079260c86b10
2026-08-14 08:57:36,949 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/78ea2508-ec3d-4a89-9c2e-7e4a0cd2e117
2026-08-14 08:57:36,965 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/78ea2508-ec3d-4a89-9c2e-7e4a0cd2e117
2026-08-14 08:57:36,973 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/b19c56e2-bbd3-43ce-a9cb-afa6401ad068
2026-08-14 08:57:36,980 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/b19c56e2-bbd3-43ce-a9cb-afa6401ad068
2026-08-14 08:57:36,988 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/8d691912-b0f7-40c3-8dc6-66a56cdbd658
2026-08-14 08:57:36,996 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-14 08:57:36,996 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/78ea2508-ec3d-4a89-9c2e-7e4a0cd2e117
2026-08-14 08:57:37,004 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/b19c56e2-bbd3-43ce-a9cb-afa6401ad068
2026-08-14 08:57:37,018 - INFO - Verified VN network id 12 for VN 78ea2508-ec3d-4a89-9c2e-7e4a0cd2e117
2026-08-14 08:57:37,018 - INFO - Verifications in API Server for VN ctest-vn-26658825 passed
2026-08-14 08:57:37,018 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/78ea2508-ec3d-4a89-9c2e-7e4a0cd2e117
2026-08-14 08:57:37,028 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/b19c56e2-bbd3-43ce-a9cb-afa6401ad068
2026-08-14 08:57:37,034 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/b19c56e2-bbd3-43ce-a9cb-afa6401ad068
2026-08-14 08:57:37,040 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/8d691912-b0f7-40c3-8dc6-66a56cdbd658
2026-08-14 08:57:37,055 - DEBUG - Control-node 10.0.0.250 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62186049:ctest-vn-26658825', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62186049', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8712817149355051657', 'uuid-lslong': '11254071375353274647'}, 'enable': 'true', 'created': '2026-08-14T08:57:34', 'last-modified': '2026-08-14T08:57:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.503730'}
2026-08-14 08:57:37,064 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-14 08:57:37,064 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26658825 passed
2026-08-14 08:57:37,064 - DEBUG - ====Verifying policy data for ctest-vn-26658825 in API_Server ======
2026-08-14 08:57:37,064 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-08-14 08:57:37,084 - DEBUG - Requesting: http://10.0.0.250:8082/domain/111bd326-0f01-4c5e-8f8b-08308c02ee67
2026-08-14 08:57:37,094 - DEBUG - Requesting: http://10.0.0.250:8082/project/c3cf9481-88ce-42c8-bdc8-079260c86b10
2026-08-14 08:57:37,166 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/78ea2508-ec3d-4a89-9c2e-7e4a0cd2e117
2026-08-14 08:57:37,177 - DEBUG - ==>Verifying data for policy with id: cb2b3a90-cd73-4a4a-9155-8917f424a893, fqn: ['default-domain', 'ctest-TestBasicPolicy-62186049', 'ctest-policy-allow-all-57286607']
2026-08-14 08:57:37,177 - INFO - VN ctest-vn-26658825 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-14 08:57:37,177 - DEBUG - Verifying the vn in opserver
2026-08-14 08:57:37,178 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62186049:ctest-vn-26658825 virtual network link through opserver 10.0.0.250
2026-08-14 08:57:37,178 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks
2026-08-14 08:57:37,190 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62186049:ctest-vn-26658825', 'href': 'http://10.0.0.250:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62186049:ctest-vn-26658825?flat'}
2026-08-14 08:57:37,190 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62186049:ctest-vn-26658825 is found in opserver
2026-08-14 08:57:37,208 - DEBUG - Do not have enough data to verify VN in agent
2026-08-14 08:57:37,217 - DEBUG - VRF ids for VN ctest-vn-26658825: {}
2026-08-14 08:57:37,291 - DEBUG - Services list from nova: [