2026-04-27 17:44:41,701 - INFO - Domain Default found not creating
2026-04-27 17:44:41,929 - INFO - Project ctest-TestBasicPolicy-84655925 not found, creating it
2026-04-27 17:44:42,430 - INFO - Created Project:ctest-TestBasicPolicy-84655925, ID : 7de2e0ae-2e3e-4066-8cca-a8ac17a2edf1
2026-04-27 17:44:44,146 - INFO - ================================================================================
2026-04-27 17:44:44,146 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-04-27 17:44:44,146 - 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-04-27 17:44:44,419 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2026-04-27 17:44:44,419 - INFO - Initial checks done. Running the testcase now
2026-04-27 17:44:44,419 - INFO -
2026-04-27 17:44:45,055 - DEBUG - Response for create_network : {'network': {'id': 'abd4d1f1-a205-4b30-837a-932fc1164c69', 'name': 'ctest-vn-01071939', 'tenant_id': '7de2e0ae2e3e40668ccaa8ac17a2edf1', 'project_id': '7de2e0ae2e3e40668ccaa8ac17a2edf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84655925', 'ctest-vn-01071939'], 'port_security_enabled': True, 'description': ''}}
2026-04-27 17:44:45,257 - DEBUG - Response for create_subnet : {'subnet': {'id': '867a10c1-1161-4837-a890-c6e69b60363b', 'name': '', 'tenant_id': '7de2e0ae2e3e40668ccaa8ac17a2edf1', 'network_id': 'abd4d1f1-a205-4b30-837a-932fc1164c69', 'ip_version': 4, 'cidr': '164.13.212.128/26', 'allocation_pools': [{'start': '164.13.212.130', 'end': '164.13.212.190'}], 'gateway_ip': '164.13.212.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.13.212.130', 'tags': [], 'project_id': '7de2e0ae2e3e40668ccaa8ac17a2edf1'}}
2026-04-27 17:44:45,277 - INFO - Created VN ctest-vn-01071939
2026-04-27 17:44:45,331 - DEBUG - VN ctest-vn-01071939 UUID is abd4d1f1-a205-4b30-837a-932fc1164c69
2026-04-27 17:44:45,674 - DEBUG - Response for create_network : {'network': {'id': 'ab8f7243-3a26-41fe-a693-06e2015329ee', 'name': 'ctest-vn-94753258', 'tenant_id': '7de2e0ae2e3e40668ccaa8ac17a2edf1', 'project_id': '7de2e0ae2e3e40668ccaa8ac17a2edf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84655925', 'ctest-vn-94753258'], 'port_security_enabled': True, 'description': ''}}
2026-04-27 17:44:45,902 - DEBUG - Response for create_subnet : {'subnet': {'id': '51b0651e-0787-44e6-9759-e8c8d7371a1c', 'name': '', 'tenant_id': '7de2e0ae2e3e40668ccaa8ac17a2edf1', 'network_id': 'ab8f7243-3a26-41fe-a693-06e2015329ee', 'ip_version': 4, 'cidr': '171.26.53.192/26', 'allocation_pools': [{'start': '171.26.53.194', 'end': '171.26.53.254'}], 'gateway_ip': '171.26.53.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.26.53.194', 'tags': [], 'project_id': '7de2e0ae2e3e40668ccaa8ac17a2edf1'}}
2026-04-27 17:44:45,928 - INFO - Created VN ctest-vn-94753258
2026-04-27 17:44:45,983 - DEBUG - VN ctest-vn-94753258 UUID is ab8f7243-3a26-41fe-a693-06e2015329ee
2026-04-27 17:44:46,121 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-84655925:ctest-vn-01071939, 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-84655925:ctest-vn-94753258, 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-04-27 17:44:46,497 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'abd4d1f1-a205-4b30-837a-932fc1164c69', 'name': 'ctest-vn-01071939', 'tenant_id': '7de2e0ae2e3e40668ccaa8ac17a2edf1', 'project_id': '7de2e0ae2e3e40668ccaa8ac17a2edf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['867a10c1-1161-4837-a890-c6e69b60363b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84655925', 'ctest-vn-01071939'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84655925', 'ctest-policy-allow-all-20080316']], 'subnet_ipam': [{'subnet_cidr': '164.13.212.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-04-27 17:44:46,771 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ab8f7243-3a26-41fe-a693-06e2015329ee', 'name': 'ctest-vn-94753258', 'tenant_id': '7de2e0ae2e3e40668ccaa8ac17a2edf1', 'project_id': '7de2e0ae2e3e40668ccaa8ac17a2edf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['51b0651e-0787-44e6-9759-e8c8d7371a1c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84655925', 'ctest-vn-94753258'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84655925', 'ctest-policy-allow-all-20080316']], 'subnet_ipam': [{'subnet_cidr': '171.26.53.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-04-27 17:44:46,947 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-04-27 17:44:47,256 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-04-27 17:44:47,301 - DEBUG - Requesting: http://10.0.0.33:8082/domain/887b5ccc-0b81-4877-8df6-e2f3e42897ca
2026-04-27 17:44:47,318 - DEBUG - Requesting: http://10.0.0.33:8082/project/7de2e0ae-2e3e-4066-8cca-a8ac17a2edf1
2026-04-27 17:44:47,396 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/abd4d1f1-a205-4b30-837a-932fc1164c69
2026-04-27 17:44:47,412 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/abd4d1f1-a205-4b30-837a-932fc1164c69
2026-04-27 17:44:47,426 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6e76cbcc-cf80-42e0-9722-4662fc940ed1
2026-04-27 17:44:47,438 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6e76cbcc-cf80-42e0-9722-4662fc940ed1
2026-04-27 17:44:47,451 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/cfab61e4-aab7-4654-b276-857c8f0c5973
2026-04-27 17:44:47,464 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-27 17:44:47,464 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/abd4d1f1-a205-4b30-837a-932fc1164c69
2026-04-27 17:44:47,478 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6e76cbcc-cf80-42e0-9722-4662fc940ed1
2026-04-27 17:44:47,502 - INFO - Verified VN network id 11 for VN abd4d1f1-a205-4b30-837a-932fc1164c69
2026-04-27 17:44:47,502 - INFO - Verifications in API Server for VN ctest-vn-01071939 passed
2026-04-27 17:44:47,502 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/abd4d1f1-a205-4b30-837a-932fc1164c69
2026-04-27 17:44:47,519 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6e76cbcc-cf80-42e0-9722-4662fc940ed1
2026-04-27 17:44:47,532 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6e76cbcc-cf80-42e0-9722-4662fc940ed1
2026-04-27 17:44:47,544 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/cfab61e4-aab7-4654-b276-857c8f0c5973
2026-04-27 17:44:47,562 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84655925:ctest-vn-01071939', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84655925', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12381752111283915568', 'uuid-lslong': '9474046599439469673'}, 'enable': 'true', 'created': '2026-04-27T17:44:45', 'last-modified': '2026-04-27T17:44:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.102902'}
2026-04-27 17:44:47,571 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-27 17:44:47,571 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01071939 passed
2026-04-27 17:44:47,572 - DEBUG - ====Verifying policy data for ctest-vn-01071939 in API_Server ======
2026-04-27 17:44:47,572 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-04-27 17:44:47,579 - DEBUG - Requesting: http://10.0.0.33:8082/domain/887b5ccc-0b81-4877-8df6-e2f3e42897ca
2026-04-27 17:44:47,596 - DEBUG - Requesting: http://10.0.0.33:8082/project/7de2e0ae-2e3e-4066-8cca-a8ac17a2edf1
2026-04-27 17:44:47,682 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/abd4d1f1-a205-4b30-837a-932fc1164c69
2026-04-27 17:44:47,696 - DEBUG - ==>Verifying data for policy with id: 57a554a6-7498-4aad-8997-69b81d6b1484, fqn: ['default-domain', 'ctest-TestBasicPolicy-84655925', 'ctest-policy-allow-all-20080316']
2026-04-27 17:44:47,696 - INFO - VN ctest-vn-01071939 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-27 17:44:47,696 - DEBUG - Verifying the vn in opserver
2026-04-27 17:44:47,696 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84655925:ctest-vn-01071939 virtual network link through opserver 10.0.0.33
2026-04-27 17:44:47,696 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-04-27 17:44:48,013 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-04-27 17:44:48,107 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84655925:ctest-vn-01071939', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84655925:ctest-vn-01071939?flat'}
2026-04-27 17:44:48,107 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84655925:ctest-vn-01071939 is found in opserver
2026-04-27 17:44:48,123 - DEBUG - Do not have enough data to verify VN in agent
2026-04-27 17:44:48,131 - DEBUG - VRF ids for VN ctest-vn-01071939: {}
2026-04-27 17:44:48,131 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-04-27 17:44:48,139 - DEBUG - Requesting: http://10.0.0.33:8082/domain/887b5ccc-0b81-4877-8df6-e2f3e42897ca
2026-04-27 17:44:48,155 - DEBUG - Requesting: http://10.0.0.33:8082/project/7de2e0ae-2e3e-4066-8cca-a8ac17a2edf1
2026-04-27 17:44:48,251 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ab8f7243-3a26-41fe-a693-06e2015329ee
2026-04-27 17:44:48,272 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ab8f7243-3a26-41fe-a693-06e2015329ee
2026-04-27 17:44:48,286 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/fd8217ed-ae9a-4196-bf68-720e3fd2f965
2026-04-27 17:44:48,295 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/fd8217ed-ae9a-4196-bf68-720e3fd2f965
2026-04-27 17:44:48,306 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2ffba89f-50e3-40b7-9fc0-9c4fa26410a6
2026-04-27 17:44:48,317 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-27 17:44:48,318 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ab8f7243-3a26-41fe-a693-06e2015329ee
2026-04-27 17:44:48,332 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/fd8217ed-ae9a-4196-bf68-720e3fd2f965
2026-04-27 17:44:48,358 - INFO - Verified VN network id 12 for VN ab8f7243-3a26-41fe-a693-06e2015329ee
2026-04-27 17:44:48,358 - INFO - Verifications in API Server for VN ctest-vn-94753258 passed
2026-04-27 17:44:48,358 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ab8f7243-3a26-41fe-a693-06e2015329ee
2026-04-27 17:44:48,371 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/fd8217ed-ae9a-4196-bf68-720e3fd2f965
2026-04-27 17:44:48,379 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/fd8217ed-ae9a-4196-bf68-720e3fd2f965
2026-04-27 17:44:48,387 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2ffba89f-50e3-40b7-9fc0-9c4fa26410a6
2026-04-27 17:44:48,403 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84655925:ctest-vn-94753258', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84655925', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12362225135219261950', 'uuid-lslong': '12002944999627106798'}, 'enable': 'true', 'created': '2026-04-27T17:44:45', 'last-modified': '2026-04-27T17:44:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.660634'}
2026-04-27 17:44:48,412 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-27 17:44:48,412 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94753258 passed
2026-04-27 17:44:48,413 - DEBUG - ====Verifying policy data for ctest-vn-94753258 in API_Server ======
2026-04-27 17:44:48,413 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-04-27 17:44:48,421 - DEBUG - Requesting: http://10.0.0.33:8082/domain/887b5ccc-0b81-4877-8df6-e2f3e42897ca
2026-04-27 17:44:48,437 - DEBUG - Requesting: http://10.0.0.33:8082/project/7de2e0ae-2e3e-4066-8cca-a8ac17a2edf1
2026-04-27 17:44:48,532 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ab8f7243-3a26-41fe-a693-06e2015329ee
2026-04-27 17:44:48,547 - DEBUG - ==>Verifying data for policy with id: 57a554a6-7498-4aad-8997-69b81d6b1484, fqn: ['default-domain', 'ctest-TestBasicPolicy-84655925', 'ctest-policy-allow-all-20080316']
2026-04-27 17:44:48,548 - INFO - VN ctest-vn-94753258 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-27 17:44:48,548 - DEBUG - Verifying the vn in opserver
2026-04-27 17:44:48,548 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84655925:ctest-vn-94753258 virtual network link through opserver 10.0.0.33
2026-04-27 17:44:48,548 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-04-27 17:44:48,562 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84655925:ctest-vn-94753258', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84655925:ctest-vn-94753258?flat'}
2026-04-27 17:44:48,562 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84655925:ctest-vn-94753258 is found in opserver
2026-04-27 17:44:48,576 - DEBUG - Do not have enough data to verify VN in agent
2026-04-27 17:44:48,583 - DEBUG - VRF ids for VN ctest-vn-94753258: {}
2026-04-27 17:44:48,674 - DEBUG - Services list from nova: [