2026-03-24 09:40:10,123 - INFO - Domain Default found not creating
2026-03-24 09:40:10,299 - INFO - Project ctest-TestBasicPolicy-19526105 not found, creating it
2026-03-24 09:40:10,787 - INFO - Created Project:ctest-TestBasicPolicy-19526105, ID : 71ba5fb9-9b88-43ed-aa86-9519860f3f8f
2026-03-24 09:40:12,247 - INFO - ================================================================================
2026-03-24 09:40:12,247 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-24 09:40:12,247 - 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-03-24 09:40:12,507 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-03-24 09:40:12,507 - INFO - Initial checks done. Running the testcase now
2026-03-24 09:40:12,507 - INFO -
2026-03-24 09:40:13,064 - DEBUG - Response for create_network : {'network': {'id': '23f35e42-4eae-45cb-8955-7b97e8f86b53', 'name': 'ctest-vn-94992023', 'tenant_id': '71ba5fb99b8843edaa869519860f3f8f', 'project_id': '71ba5fb99b8843edaa869519860f3f8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19526105', 'ctest-vn-94992023'], 'port_security_enabled': True, 'description': ''}}
2026-03-24 09:40:13,257 - DEBUG - Response for create_subnet : {'subnet': {'id': '1be13935-945d-480e-b817-b5f774f86375', 'name': '', 'tenant_id': '71ba5fb99b8843edaa869519860f3f8f', 'network_id': '23f35e42-4eae-45cb-8955-7b97e8f86b53', 'ip_version': 4, 'cidr': '45.214.86.64/26', 'allocation_pools': [{'start': '45.214.86.66', 'end': '45.214.86.126'}], 'gateway_ip': '45.214.86.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.214.86.66', 'tags': [], 'project_id': '71ba5fb99b8843edaa869519860f3f8f'}}
2026-03-24 09:40:13,275 - INFO - Created VN ctest-vn-94992023
2026-03-24 09:40:13,325 - DEBUG - VN ctest-vn-94992023 UUID is 23f35e42-4eae-45cb-8955-7b97e8f86b53
2026-03-24 09:40:13,635 - DEBUG - Response for create_network : {'network': {'id': '55c9fbcb-c286-4813-aaf7-60e4e5d9225d', 'name': 'ctest-vn-20378580', 'tenant_id': '71ba5fb99b8843edaa869519860f3f8f', 'project_id': '71ba5fb99b8843edaa869519860f3f8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19526105', 'ctest-vn-20378580'], 'port_security_enabled': True, 'description': ''}}
2026-03-24 09:40:13,811 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c5742e3-d5a3-48c0-9d29-2c6fc550f463', 'name': '', 'tenant_id': '71ba5fb99b8843edaa869519860f3f8f', 'network_id': '55c9fbcb-c286-4813-aaf7-60e4e5d9225d', 'ip_version': 4, 'cidr': '205.110.11.0/26', 'allocation_pools': [{'start': '205.110.11.2', 'end': '205.110.11.62'}], 'gateway_ip': '205.110.11.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.110.11.2', 'tags': [], 'project_id': '71ba5fb99b8843edaa869519860f3f8f'}}
2026-03-24 09:40:13,831 - INFO - Created VN ctest-vn-20378580
2026-03-24 09:40:13,881 - DEBUG - VN ctest-vn-20378580 UUID is 55c9fbcb-c286-4813-aaf7-60e4e5d9225d
2026-03-24 09:40:14,033 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-19526105:ctest-vn-94992023, 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-19526105:ctest-vn-20378580, 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-03-24 09:40:14,336 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '23f35e42-4eae-45cb-8955-7b97e8f86b53', 'name': 'ctest-vn-94992023', 'tenant_id': '71ba5fb99b8843edaa869519860f3f8f', 'project_id': '71ba5fb99b8843edaa869519860f3f8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1be13935-945d-480e-b817-b5f774f86375'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19526105', 'ctest-vn-94992023'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19526105', 'ctest-policy-allow-all-23976550']], 'subnet_ipam': [{'subnet_cidr': '45.214.86.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-24 09:40:14,548 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '55c9fbcb-c286-4813-aaf7-60e4e5d9225d', 'name': 'ctest-vn-20378580', 'tenant_id': '71ba5fb99b8843edaa869519860f3f8f', 'project_id': '71ba5fb99b8843edaa869519860f3f8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9c5742e3-d5a3-48c0-9d29-2c6fc550f463'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19526105', 'ctest-vn-20378580'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19526105', 'ctest-policy-allow-all-23976550']], 'subnet_ipam': [{'subnet_cidr': '205.110.11.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-24 09:40:14,713 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-03-24 09:40:15,023 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-03-24 09:40:15,055 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e1db4448-730b-4ecb-9ccd-47a043b0f302
2026-03-24 09:40:15,068 - DEBUG - Requesting: http://10.0.0.50:8082/project/71ba5fb9-9b88-43ed-aa86-9519860f3f8f
2026-03-24 09:40:15,143 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/23f35e42-4eae-45cb-8955-7b97e8f86b53
2026-03-24 09:40:15,154 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/23f35e42-4eae-45cb-8955-7b97e8f86b53
2026-03-24 09:40:15,163 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d5ed1ade-d7ac-4389-b5cc-b77ae6bd722f
2026-03-24 09:40:15,170 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d5ed1ade-d7ac-4389-b5cc-b77ae6bd722f
2026-03-24 09:40:15,177 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c292c374-9f8d-4af8-8e88-09d1953ac954
2026-03-24 09:40:15,186 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-24 09:40:15,186 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/23f35e42-4eae-45cb-8955-7b97e8f86b53
2026-03-24 09:40:15,195 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d5ed1ade-d7ac-4389-b5cc-b77ae6bd722f
2026-03-24 09:40:15,210 - INFO - Verified VN network id 11 for VN 23f35e42-4eae-45cb-8955-7b97e8f86b53
2026-03-24 09:40:15,210 - INFO - Verifications in API Server for VN ctest-vn-94992023 passed
2026-03-24 09:40:15,210 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/23f35e42-4eae-45cb-8955-7b97e8f86b53
2026-03-24 09:40:15,220 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d5ed1ade-d7ac-4389-b5cc-b77ae6bd722f
2026-03-24 09:40:15,228 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d5ed1ade-d7ac-4389-b5cc-b77ae6bd722f
2026-03-24 09:40:15,235 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c292c374-9f8d-4af8-8e88-09d1953ac954
2026-03-24 09:40:15,246 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19526105:ctest-vn-94992023', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19526105', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2590517849549063627', 'uuid-lslong': '9895951648595405651'}, 'enable': 'true', 'created': '2026-03-24T09:40:13', 'last-modified': '2026-03-24T09:40:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.945504'}
2026-03-24 09:40:15,252 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-24 09:40:15,253 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94992023 passed
2026-03-24 09:40:15,253 - DEBUG - ====Verifying policy data for ctest-vn-94992023 in API_Server ======
2026-03-24 09:40:15,253 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-03-24 09:40:15,258 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e1db4448-730b-4ecb-9ccd-47a043b0f302
2026-03-24 09:40:15,270 - DEBUG - Requesting: http://10.0.0.50:8082/project/71ba5fb9-9b88-43ed-aa86-9519860f3f8f
2026-03-24 09:40:15,340 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/23f35e42-4eae-45cb-8955-7b97e8f86b53
2026-03-24 09:40:15,348 - DEBUG - ==>Verifying data for policy with id: 520ab027-e89d-4f2d-b6ed-42e82c860367, fqn: ['default-domain', 'ctest-TestBasicPolicy-19526105', 'ctest-policy-allow-all-23976550']
2026-03-24 09:40:15,348 - INFO - VN ctest-vn-94992023 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-24 09:40:15,348 - DEBUG - Verifying the vn in opserver
2026-03-24 09:40:15,348 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19526105:ctest-vn-94992023 virtual network link through opserver 10.0.0.50
2026-03-24 09:40:15,349 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-03-24 09:40:15,642 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-03-24 09:40:15,713 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19526105:ctest-vn-94992023', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19526105:ctest-vn-94992023?flat'}
2026-03-24 09:40:15,713 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19526105:ctest-vn-94992023 is found in opserver
2026-03-24 09:40:15,725 - DEBUG - Do not have enough data to verify VN in agent
2026-03-24 09:40:15,730 - DEBUG - VRF ids for VN ctest-vn-94992023: {}
2026-03-24 09:40:15,730 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-03-24 09:40:15,736 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e1db4448-730b-4ecb-9ccd-47a043b0f302
2026-03-24 09:40:15,746 - DEBUG - Requesting: http://10.0.0.50:8082/project/71ba5fb9-9b88-43ed-aa86-9519860f3f8f
2026-03-24 09:40:15,819 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/55c9fbcb-c286-4813-aaf7-60e4e5d9225d
2026-03-24 09:40:15,830 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/55c9fbcb-c286-4813-aaf7-60e4e5d9225d
2026-03-24 09:40:15,839 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b48fcc23-ffcd-4cbd-8a04-cb9e4c0c0e47
2026-03-24 09:40:15,848 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b48fcc23-ffcd-4cbd-8a04-cb9e4c0c0e47
2026-03-24 09:40:15,856 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c0f0cdd3-ae8b-4938-8220-40da969d0310
2026-03-24 09:40:15,864 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-24 09:40:15,864 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/55c9fbcb-c286-4813-aaf7-60e4e5d9225d
2026-03-24 09:40:15,874 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b48fcc23-ffcd-4cbd-8a04-cb9e4c0c0e47
2026-03-24 09:40:15,889 - INFO - Verified VN network id 12 for VN 55c9fbcb-c286-4813-aaf7-60e4e5d9225d
2026-03-24 09:40:15,889 - INFO - Verifications in API Server for VN ctest-vn-20378580 passed
2026-03-24 09:40:15,889 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/55c9fbcb-c286-4813-aaf7-60e4e5d9225d
2026-03-24 09:40:15,898 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b48fcc23-ffcd-4cbd-8a04-cb9e4c0c0e47
2026-03-24 09:40:15,906 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b48fcc23-ffcd-4cbd-8a04-cb9e4c0c0e47
2026-03-24 09:40:15,916 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c0f0cdd3-ae8b-4938-8220-40da969d0310
2026-03-24 09:40:15,928 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19526105:ctest-vn-20378580', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19526105', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6181748816103229459', 'uuid-lslong': '12319421841920303709'}, 'enable': 'true', 'created': '2026-03-24T09:40:13', 'last-modified': '2026-03-24T09:40:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.397265'}
2026-03-24 09:40:15,934 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-24 09:40:15,934 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20378580 passed
2026-03-24 09:40:15,934 - DEBUG - ====Verifying policy data for ctest-vn-20378580 in API_Server ======
2026-03-24 09:40:15,934 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-03-24 09:40:15,941 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e1db4448-730b-4ecb-9ccd-47a043b0f302
2026-03-24 09:40:15,952 - DEBUG - Requesting: http://10.0.0.50:8082/project/71ba5fb9-9b88-43ed-aa86-9519860f3f8f
2026-03-24 09:40:16,023 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/55c9fbcb-c286-4813-aaf7-60e4e5d9225d
2026-03-24 09:40:16,032 - DEBUG - ==>Verifying data for policy with id: 520ab027-e89d-4f2d-b6ed-42e82c860367, fqn: ['default-domain', 'ctest-TestBasicPolicy-19526105', 'ctest-policy-allow-all-23976550']
2026-03-24 09:40:16,032 - INFO - VN ctest-vn-20378580 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-24 09:40:16,032 - DEBUG - Verifying the vn in opserver
2026-03-24 09:40:16,032 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19526105:ctest-vn-20378580 virtual network link through opserver 10.0.0.50
2026-03-24 09:40:16,032 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-03-24 09:40:16,042 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19526105:ctest-vn-20378580', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19526105:ctest-vn-20378580?flat'}
2026-03-24 09:40:16,042 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19526105:ctest-vn-20378580 is found in opserver
2026-03-24 09:40:16,052 - DEBUG - Do not have enough data to verify VN in agent
2026-03-24 09:40:16,057 - DEBUG - VRF ids for VN ctest-vn-20378580: {}
2026-03-24 09:40:16,126 - DEBUG - Services list from nova: [