2026-10-02 02:36:15,534 - INFO - Domain Default found not creating
2026-10-02 02:36:15,703 - INFO - Project ctest-TestBasicPolicy-63209371 not found, creating it
2026-10-02 02:36:16,216 - INFO - Created Project:ctest-TestBasicPolicy-63209371, ID : 23e771a5-aca4-4a4b-9554-43df49c7a2d7
2026-10-02 02:36:17,910 - INFO - ================================================================================
2026-10-02 02:36:17,910 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-02 02:36:17,910 - 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-10-02 02:36:18,171 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.17': '0'}} with
2026-10-02 02:36:18,171 - INFO - Initial checks done. Running the testcase now
2026-10-02 02:36:18,171 - INFO -
2026-10-02 02:36:18,804 - DEBUG - Response for create_network : {'network': {'id': '0ff08ace-7744-4357-baba-ab7d1ae95290', 'name': 'ctest-vn-33209854', 'tenant_id': '23e771a5aca44a4b955443df49c7a2d7', 'project_id': '23e771a5aca44a4b955443df49c7a2d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63209371', 'ctest-vn-33209854'], 'port_security_enabled': True, 'description': ''}}
2026-10-02 02:36:19,019 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d996f7e-c598-462f-b8f4-e162caf250e6', 'name': '', 'tenant_id': '23e771a5aca44a4b955443df49c7a2d7', 'network_id': '0ff08ace-7744-4357-baba-ab7d1ae95290', 'ip_version': 4, 'cidr': '97.89.121.192/26', 'allocation_pools': [{'start': '97.89.121.194', 'end': '97.89.121.254'}], 'gateway_ip': '97.89.121.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.89.121.194', 'tags': [], 'project_id': '23e771a5aca44a4b955443df49c7a2d7'}}
2026-10-02 02:36:19,039 - INFO - Created VN ctest-vn-33209854
2026-10-02 02:36:19,096 - DEBUG - VN ctest-vn-33209854 UUID is 0ff08ace-7744-4357-baba-ab7d1ae95290
2026-10-02 02:36:19,443 - DEBUG - Response for create_network : {'network': {'id': '4280e7c8-f288-471b-86d9-4e52e7c4f5ae', 'name': 'ctest-vn-81702629', 'tenant_id': '23e771a5aca44a4b955443df49c7a2d7', 'project_id': '23e771a5aca44a4b955443df49c7a2d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63209371', 'ctest-vn-81702629'], 'port_security_enabled': True, 'description': ''}}
2026-10-02 02:36:19,619 - DEBUG - Response for create_subnet : {'subnet': {'id': '34c57c04-8899-4ea0-a16c-50dcb35598ca', 'name': '', 'tenant_id': '23e771a5aca44a4b955443df49c7a2d7', 'network_id': '4280e7c8-f288-471b-86d9-4e52e7c4f5ae', 'ip_version': 4, 'cidr': '144.169.110.0/26', 'allocation_pools': [{'start': '144.169.110.2', 'end': '144.169.110.62'}], 'gateway_ip': '144.169.110.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.169.110.2', 'tags': [], 'project_id': '23e771a5aca44a4b955443df49c7a2d7'}}
2026-10-02 02:36:19,638 - INFO - Created VN ctest-vn-81702629
2026-10-02 02:36:19,692 - DEBUG - VN ctest-vn-81702629 UUID is 4280e7c8-f288-471b-86d9-4e52e7c4f5ae
2026-10-02 02:36:19,815 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-63209371:ctest-vn-33209854, 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-63209371:ctest-vn-81702629, 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-10-02 02:36:20,138 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0ff08ace-7744-4357-baba-ab7d1ae95290', 'name': 'ctest-vn-33209854', 'tenant_id': '23e771a5aca44a4b955443df49c7a2d7', 'project_id': '23e771a5aca44a4b955443df49c7a2d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['7d996f7e-c598-462f-b8f4-e162caf250e6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63209371', 'ctest-vn-33209854'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63209371', 'ctest-policy-allow-all-72225637']], 'subnet_ipam': [{'subnet_cidr': '97.89.121.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-02 02:36:20,393 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4280e7c8-f288-471b-86d9-4e52e7c4f5ae', 'name': 'ctest-vn-81702629', 'tenant_id': '23e771a5aca44a4b955443df49c7a2d7', 'project_id': '23e771a5aca44a4b955443df49c7a2d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['34c57c04-8899-4ea0-a16c-50dcb35598ca'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63209371', 'ctest-vn-81702629'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63209371', 'ctest-policy-allow-all-72225637']], 'subnet_ipam': [{'subnet_cidr': '144.169.110.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-02 02:36:20,557 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-10-02 02:36:20,891 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-10-02 02:36:20,926 - DEBUG - Requesting: http://10.0.0.177:8082/domain/09c71005-d826-46b8-8d64-a282424254b9
2026-10-02 02:36:20,942 - DEBUG - Requesting: http://10.0.0.177:8082/project/23e771a5-aca4-4a4b-9554-43df49c7a2d7
2026-10-02 02:36:21,029 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/0ff08ace-7744-4357-baba-ab7d1ae95290
2026-10-02 02:36:21,044 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/0ff08ace-7744-4357-baba-ab7d1ae95290
2026-10-02 02:36:21,055 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/77c6d822-2635-4e46-9df6-987987dbce1d
2026-10-02 02:36:21,064 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/77c6d822-2635-4e46-9df6-987987dbce1d
2026-10-02 02:36:21,073 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/5eed5d62-4873-492f-a942-2c23c316c40c
2026-10-02 02:36:21,081 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-02 02:36:21,081 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/0ff08ace-7744-4357-baba-ab7d1ae95290
2026-10-02 02:36:21,093 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/77c6d822-2635-4e46-9df6-987987dbce1d
2026-10-02 02:36:21,112 - INFO - Verified VN network id 12 for VN 0ff08ace-7744-4357-baba-ab7d1ae95290
2026-10-02 02:36:21,112 - INFO - Verifications in API Server for VN ctest-vn-33209854 passed
2026-10-02 02:36:21,112 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/0ff08ace-7744-4357-baba-ab7d1ae95290
2026-10-02 02:36:21,122 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/77c6d822-2635-4e46-9df6-987987dbce1d
2026-10-02 02:36:21,131 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/77c6d822-2635-4e46-9df6-987987dbce1d
2026-10-02 02:36:21,139 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/5eed5d62-4873-492f-a942-2c23c316c40c
2026-10-02 02:36:21,154 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63209371:ctest-vn-33209854', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63209371', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1148570524348334935', 'uuid-lslong': '13455255390533538448'}, 'enable': 'true', 'created': '2026-10-02T02:36:18', 'last-modified': '2026-10-02T02:36:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.037789'}
2026-10-02 02:36:21,162 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-02 02:36:21,162 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33209854 passed
2026-10-02 02:36:21,163 - DEBUG - ====Verifying policy data for ctest-vn-33209854 in API_Server ======
2026-10-02 02:36:21,163 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-10-02 02:36:21,171 - DEBUG - Requesting: http://10.0.0.177:8082/domain/09c71005-d826-46b8-8d64-a282424254b9
2026-10-02 02:36:21,184 - DEBUG - Requesting: http://10.0.0.177:8082/project/23e771a5-aca4-4a4b-9554-43df49c7a2d7
2026-10-02 02:36:21,263 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/0ff08ace-7744-4357-baba-ab7d1ae95290
2026-10-02 02:36:21,275 - DEBUG - ==>Verifying data for policy with id: 12e33aeb-ca2b-4bd3-b1fd-5d2d270cab06, fqn: ['default-domain', 'ctest-TestBasicPolicy-63209371', 'ctest-policy-allow-all-72225637']
2026-10-02 02:36:21,275 - INFO - VN ctest-vn-33209854 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-02 02:36:21,275 - DEBUG - Verifying the vn in opserver
2026-10-02 02:36:21,275 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63209371:ctest-vn-33209854 virtual network link through opserver 10.0.0.177
2026-10-02 02:36:21,275 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-10-02 02:36:21,605 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-10-02 02:36:21,667 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63209371:ctest-vn-33209854', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63209371:ctest-vn-33209854?flat'}
2026-10-02 02:36:21,667 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63209371:ctest-vn-33209854 is found in opserver
2026-10-02 02:36:21,679 - DEBUG - Do not have enough data to verify VN in agent
2026-10-02 02:36:21,685 - DEBUG - VRF ids for VN ctest-vn-33209854: {}
2026-10-02 02:36:21,685 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-10-02 02:36:21,692 - DEBUG - Requesting: http://10.0.0.177:8082/domain/09c71005-d826-46b8-8d64-a282424254b9
2026-10-02 02:36:21,705 - DEBUG - Requesting: http://10.0.0.177:8082/project/23e771a5-aca4-4a4b-9554-43df49c7a2d7
2026-10-02 02:36:21,784 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/4280e7c8-f288-471b-86d9-4e52e7c4f5ae
2026-10-02 02:36:21,798 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/4280e7c8-f288-471b-86d9-4e52e7c4f5ae
2026-10-02 02:36:21,809 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/38c27229-ef35-4a45-ab53-8ac23eb54918
2026-10-02 02:36:21,818 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/38c27229-ef35-4a45-ab53-8ac23eb54918
2026-10-02 02:36:21,826 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/46066ffa-c17d-4dfb-8a85-dee4a5028341
2026-10-02 02:36:21,835 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-02 02:36:21,835 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/4280e7c8-f288-471b-86d9-4e52e7c4f5ae
2026-10-02 02:36:21,845 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/38c27229-ef35-4a45-ab53-8ac23eb54918
2026-10-02 02:36:21,862 - INFO - Verified VN network id 13 for VN 4280e7c8-f288-471b-86d9-4e52e7c4f5ae
2026-10-02 02:36:21,863 - INFO - Verifications in API Server for VN ctest-vn-81702629 passed
2026-10-02 02:36:21,863 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/4280e7c8-f288-471b-86d9-4e52e7c4f5ae
2026-10-02 02:36:21,875 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/38c27229-ef35-4a45-ab53-8ac23eb54918
2026-10-02 02:36:21,883 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/38c27229-ef35-4a45-ab53-8ac23eb54918
2026-10-02 02:36:21,891 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/46066ffa-c17d-4dfb-8a85-dee4a5028341
2026-10-02 02:36:21,905 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63209371:ctest-vn-81702629', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63209371', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4792084853770700571', 'uuid-lslong': '9716883789011285422'}, 'enable': 'true', 'created': '2026-10-02T02:36:19', 'last-modified': '2026-10-02T02:36:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.539455'}
2026-10-02 02:36:21,911 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-02 02:36:21,911 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81702629 passed
2026-10-02 02:36:21,912 - DEBUG - ====Verifying policy data for ctest-vn-81702629 in API_Server ======
2026-10-02 02:36:21,912 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-10-02 02:36:21,918 - DEBUG - Requesting: http://10.0.0.177:8082/domain/09c71005-d826-46b8-8d64-a282424254b9
2026-10-02 02:36:21,931 - DEBUG - Requesting: http://10.0.0.177:8082/project/23e771a5-aca4-4a4b-9554-43df49c7a2d7
2026-10-02 02:36:22,017 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/4280e7c8-f288-471b-86d9-4e52e7c4f5ae
2026-10-02 02:36:22,029 - DEBUG - ==>Verifying data for policy with id: 12e33aeb-ca2b-4bd3-b1fd-5d2d270cab06, fqn: ['default-domain', 'ctest-TestBasicPolicy-63209371', 'ctest-policy-allow-all-72225637']
2026-10-02 02:36:22,029 - INFO - VN ctest-vn-81702629 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-02 02:36:22,029 - DEBUG - Verifying the vn in opserver
2026-10-02 02:36:22,029 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63209371:ctest-vn-81702629 virtual network link through opserver 10.0.0.177
2026-10-02 02:36:22,029 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-10-02 02:36:22,042 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63209371:ctest-vn-81702629', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63209371:ctest-vn-81702629?flat'}
2026-10-02 02:36:22,042 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63209371:ctest-vn-81702629 is found in opserver
2026-10-02 02:36:22,056 - DEBUG - Do not have enough data to verify VN in agent
2026-10-02 02:36:22,063 - DEBUG - VRF ids for VN ctest-vn-81702629: {}
2026-10-02 02:36:22,128 - DEBUG - Services list from nova: [