2026-02-23 22:13:20,128 - INFO - Domain Default found not creating
2026-02-23 22:13:20,274 - INFO - Project ctest-TestBasicPolicy-08312447 not found, creating it
2026-02-23 22:13:20,697 - INFO - Created Project:ctest-TestBasicPolicy-08312447, ID : 36a1d032-1ac1-4c3e-af1f-768d372f170b
2026-02-23 22:13:22,068 - INFO - ================================================================================
2026-02-23 22:13:22,068 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-23 22:13:22,068 - 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-02-23 22:13:22,333 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-02-23 22:13:22,333 - INFO - Initial checks done. Running the testcase now
2026-02-23 22:13:22,333 - INFO -
2026-02-23 22:13:22,841 - DEBUG - Response for create_network : {'network': {'id': 'e81d7ce8-b423-4a82-8870-20badacbba73', 'name': 'ctest-vn-70136900', 'tenant_id': '36a1d0321ac14c3eaf1f768d372f170b', 'project_id': '36a1d0321ac14c3eaf1f768d372f170b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08312447', 'ctest-vn-70136900'], 'port_security_enabled': True, 'description': ''}}
2026-02-23 22:13:22,979 - DEBUG - Response for create_subnet : {'subnet': {'id': '09d9b81d-9b5b-4a8b-9565-a8c8b4265c3f', 'name': '', 'tenant_id': '36a1d0321ac14c3eaf1f768d372f170b', 'network_id': 'e81d7ce8-b423-4a82-8870-20badacbba73', 'ip_version': 4, 'cidr': '9.121.156.64/26', 'allocation_pools': [{'start': '9.121.156.66', 'end': '9.121.156.126'}], 'gateway_ip': '9.121.156.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.121.156.66', 'tags': [], 'project_id': '36a1d0321ac14c3eaf1f768d372f170b'}}
2026-02-23 22:13:22,994 - INFO - Created VN ctest-vn-70136900
2026-02-23 22:13:23,044 - DEBUG - VN ctest-vn-70136900 UUID is e81d7ce8-b423-4a82-8870-20badacbba73
2026-02-23 22:13:23,337 - DEBUG - Response for create_network : {'network': {'id': '3c3f1370-16c9-46a8-aece-ae93c7be0ca9', 'name': 'ctest-vn-27008308', 'tenant_id': '36a1d0321ac14c3eaf1f768d372f170b', 'project_id': '36a1d0321ac14c3eaf1f768d372f170b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08312447', 'ctest-vn-27008308'], 'port_security_enabled': True, 'description': ''}}
2026-02-23 22:13:23,503 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c43d9b08-a39a-4d29-893a-7c9dc83f4a08', 'name': '', 'tenant_id': '36a1d0321ac14c3eaf1f768d372f170b', 'network_id': '3c3f1370-16c9-46a8-aece-ae93c7be0ca9', 'ip_version': 4, 'cidr': '133.247.203.128/26', 'allocation_pools': [{'start': '133.247.203.130', 'end': '133.247.203.190'}], 'gateway_ip': '133.247.203.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.247.203.130', 'tags': [], 'project_id': '36a1d0321ac14c3eaf1f768d372f170b'}}
2026-02-23 22:13:23,517 - INFO - Created VN ctest-vn-27008308
2026-02-23 22:13:23,568 - DEBUG - VN ctest-vn-27008308 UUID is 3c3f1370-16c9-46a8-aece-ae93c7be0ca9
2026-02-23 22:13:23,708 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-08312447:ctest-vn-70136900, 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-08312447:ctest-vn-27008308, 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-02-23 22:13:23,990 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e81d7ce8-b423-4a82-8870-20badacbba73', 'name': 'ctest-vn-70136900', 'tenant_id': '36a1d0321ac14c3eaf1f768d372f170b', 'project_id': '36a1d0321ac14c3eaf1f768d372f170b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['09d9b81d-9b5b-4a8b-9565-a8c8b4265c3f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08312447', 'ctest-vn-70136900'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08312447', 'ctest-policy-allow-all-00654049']], 'subnet_ipam': [{'subnet_cidr': '9.121.156.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-23 22:13:24,209 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3c3f1370-16c9-46a8-aece-ae93c7be0ca9', 'name': 'ctest-vn-27008308', 'tenant_id': '36a1d0321ac14c3eaf1f768d372f170b', 'project_id': '36a1d0321ac14c3eaf1f768d372f170b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c43d9b08-a39a-4d29-893a-7c9dc83f4a08'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08312447', 'ctest-vn-27008308'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08312447', 'ctest-policy-allow-all-00654049']], 'subnet_ipam': [{'subnet_cidr': '133.247.203.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-23 22:13:24,364 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-23 22:13:24,658 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-23 22:13:24,690 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c3b93268-7925-4975-ab9e-09c2bc68e972
2026-02-23 22:13:24,702 - DEBUG - Requesting: http://10.0.0.50:8082/project/36a1d032-1ac1-4c3e-af1f-768d372f170b
2026-02-23 22:13:24,771 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e81d7ce8-b423-4a82-8870-20badacbba73
2026-02-23 22:13:24,780 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e81d7ce8-b423-4a82-8870-20badacbba73
2026-02-23 22:13:24,788 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9cd8e86b-a992-425e-9d10-6394a04b3c1e
2026-02-23 22:13:24,794 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9cd8e86b-a992-425e-9d10-6394a04b3c1e
2026-02-23 22:13:24,800 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4aa252ad-17f7-4f6d-8822-91d532781620
2026-02-23 22:13:24,806 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-23 22:13:24,806 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e81d7ce8-b423-4a82-8870-20badacbba73
2026-02-23 22:13:24,814 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9cd8e86b-a992-425e-9d10-6394a04b3c1e
2026-02-23 22:13:24,828 - INFO - Verified VN network id 11 for VN e81d7ce8-b423-4a82-8870-20badacbba73
2026-02-23 22:13:24,828 - INFO - Verifications in API Server for VN ctest-vn-70136900 passed
2026-02-23 22:13:24,828 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e81d7ce8-b423-4a82-8870-20badacbba73
2026-02-23 22:13:24,836 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9cd8e86b-a992-425e-9d10-6394a04b3c1e
2026-02-23 22:13:24,842 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9cd8e86b-a992-425e-9d10-6394a04b3c1e
2026-02-23 22:13:24,848 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4aa252ad-17f7-4f6d-8822-91d532781620
2026-02-23 22:13:24,859 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08312447:ctest-vn-70136900', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08312447', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16725661930020358786', 'uuid-lslong': '9831393973456583283'}, 'enable': 'true', 'created': '2026-02-23T22:13:22', 'last-modified': '2026-02-23T22:13:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.888986'}
2026-02-23 22:13:24,864 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-23 22:13:24,864 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70136900 passed
2026-02-23 22:13:24,865 - DEBUG - ====Verifying policy data for ctest-vn-70136900 in API_Server ======
2026-02-23 22:13:24,865 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-23 22:13:24,869 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c3b93268-7925-4975-ab9e-09c2bc68e972
2026-02-23 22:13:24,879 - DEBUG - Requesting: http://10.0.0.50:8082/project/36a1d032-1ac1-4c3e-af1f-768d372f170b
2026-02-23 22:13:24,948 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e81d7ce8-b423-4a82-8870-20badacbba73
2026-02-23 22:13:24,958 - DEBUG - ==>Verifying data for policy with id: 478189e8-c4f9-44b9-8db3-58c17a11dc1f, fqn: ['default-domain', 'ctest-TestBasicPolicy-08312447', 'ctest-policy-allow-all-00654049']
2026-02-23 22:13:24,958 - INFO - VN ctest-vn-70136900 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-23 22:13:24,959 - DEBUG - Verifying the vn in opserver
2026-02-23 22:13:24,959 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08312447:ctest-vn-70136900 virtual network link through opserver 10.0.0.50
2026-02-23 22:13:24,959 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-23 22:13:25,256 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-23 22:13:25,317 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08312447:ctest-vn-70136900', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08312447:ctest-vn-70136900?flat'}
2026-02-23 22:13:25,317 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08312447:ctest-vn-70136900 is found in opserver
2026-02-23 22:13:25,326 - DEBUG - Do not have enough data to verify VN in agent
2026-02-23 22:13:25,330 - DEBUG - VRF ids for VN ctest-vn-70136900: {}
2026-02-23 22:13:25,330 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-23 22:13:25,336 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c3b93268-7925-4975-ab9e-09c2bc68e972
2026-02-23 22:13:25,348 - DEBUG - Requesting: http://10.0.0.50:8082/project/36a1d032-1ac1-4c3e-af1f-768d372f170b
2026-02-23 22:13:25,419 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3c3f1370-16c9-46a8-aece-ae93c7be0ca9
2026-02-23 22:13:25,429 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3c3f1370-16c9-46a8-aece-ae93c7be0ca9
2026-02-23 22:13:25,437 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2abfed75-7143-4546-9e26-af0f0227961f
2026-02-23 22:13:25,444 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2abfed75-7143-4546-9e26-af0f0227961f
2026-02-23 22:13:25,450 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/27d50931-9ec2-4cc3-aaed-5588fcaca9ce
2026-02-23 22:13:25,455 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-23 22:13:25,455 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3c3f1370-16c9-46a8-aece-ae93c7be0ca9
2026-02-23 22:13:25,463 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2abfed75-7143-4546-9e26-af0f0227961f
2026-02-23 22:13:25,475 - INFO - Verified VN network id 12 for VN 3c3f1370-16c9-46a8-aece-ae93c7be0ca9
2026-02-23 22:13:25,475 - INFO - Verifications in API Server for VN ctest-vn-27008308 passed
2026-02-23 22:13:25,475 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3c3f1370-16c9-46a8-aece-ae93c7be0ca9
2026-02-23 22:13:25,484 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2abfed75-7143-4546-9e26-af0f0227961f
2026-02-23 22:13:25,490 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2abfed75-7143-4546-9e26-af0f0227961f
2026-02-23 22:13:25,495 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/27d50931-9ec2-4cc3-aaed-5588fcaca9ce
2026-02-23 22:13:25,503 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08312447:ctest-vn-27008308', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08312447', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4341209937948001960', 'uuid-lslong': '12596197157536402601'}, 'enable': 'true', 'created': '2026-02-23T22:13:23', 'last-modified': '2026-02-23T22:13:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.319085'}
2026-02-23 22:13:25,508 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-23 22:13:25,508 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27008308 passed
2026-02-23 22:13:25,508 - DEBUG - ====Verifying policy data for ctest-vn-27008308 in API_Server ======
2026-02-23 22:13:25,508 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-23 22:13:25,512 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c3b93268-7925-4975-ab9e-09c2bc68e972
2026-02-23 22:13:25,520 - DEBUG - Requesting: http://10.0.0.50:8082/project/36a1d032-1ac1-4c3e-af1f-768d372f170b
2026-02-23 22:13:25,585 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3c3f1370-16c9-46a8-aece-ae93c7be0ca9
2026-02-23 22:13:25,593 - DEBUG - ==>Verifying data for policy with id: 478189e8-c4f9-44b9-8db3-58c17a11dc1f, fqn: ['default-domain', 'ctest-TestBasicPolicy-08312447', 'ctest-policy-allow-all-00654049']
2026-02-23 22:13:25,593 - INFO - VN ctest-vn-27008308 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-23 22:13:25,593 - DEBUG - Verifying the vn in opserver
2026-02-23 22:13:25,593 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08312447:ctest-vn-27008308 virtual network link through opserver 10.0.0.50
2026-02-23 22:13:25,593 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-23 22:13:25,600 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08312447:ctest-vn-27008308', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08312447:ctest-vn-27008308?flat'}
2026-02-23 22:13:25,600 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08312447:ctest-vn-27008308 is found in opserver
2026-02-23 22:13:25,608 - DEBUG - Do not have enough data to verify VN in agent
2026-02-23 22:13:25,611 - DEBUG - VRF ids for VN ctest-vn-27008308: {}
2026-02-23 22:13:25,657 - DEBUG - Services list from nova: [