2026-02-10 03:47:43,170 - INFO - Domain Default found not creating
2026-02-10 03:47:43,402 - INFO - Project ctest-TestBasicPolicy-63643510 not found, creating it
2026-02-10 03:47:43,908 - INFO - Created Project:ctest-TestBasicPolicy-63643510, ID : 1077845c-e1af-4233-8a7e-12130b17fd14
2026-02-10 03:47:45,715 - INFO - ================================================================================
2026-02-10 03:47:45,716 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-10 03:47:45,716 - 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-10 03:47:45,992 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with
2026-02-10 03:47:45,992 - INFO - Initial checks done. Running the testcase now
2026-02-10 03:47:45,994 - INFO -
2026-02-10 03:47:46,673 - DEBUG - Response for create_network : {'network': {'id': 'd24e91cb-c34e-4bf4-a424-dd621a8deb13', 'name': 'ctest-vn-47071052', 'tenant_id': '1077845ce1af42338a7e12130b17fd14', 'project_id': '1077845ce1af42338a7e12130b17fd14', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63643510', 'ctest-vn-47071052'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 03:47:46,880 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b366eb5-5225-4399-9fb7-feb80ad9a10f', 'name': '', 'tenant_id': '1077845ce1af42338a7e12130b17fd14', 'network_id': 'd24e91cb-c34e-4bf4-a424-dd621a8deb13', 'ip_version': 4, 'cidr': '45.215.252.0/26', 'allocation_pools': [{'start': '45.215.252.2', 'end': '45.215.252.62'}], 'gateway_ip': '45.215.252.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.215.252.2', 'tags': [], 'project_id': '1077845ce1af42338a7e12130b17fd14'}}
2026-02-10 03:47:46,902 - INFO - Created VN ctest-vn-47071052
2026-02-10 03:47:46,954 - DEBUG - VN ctest-vn-47071052 UUID is d24e91cb-c34e-4bf4-a424-dd621a8deb13
2026-02-10 03:47:47,277 - DEBUG - Response for create_network : {'network': {'id': 'f9fb9ee6-96d2-4bfd-bbf3-2ce836338f7c', 'name': 'ctest-vn-05548027', 'tenant_id': '1077845ce1af42338a7e12130b17fd14', 'project_id': '1077845ce1af42338a7e12130b17fd14', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63643510', 'ctest-vn-05548027'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 03:47:47,435 - DEBUG - Response for create_subnet : {'subnet': {'id': '76427eb6-e479-4bee-bd19-ebe4f9a9e408', 'name': '', 'tenant_id': '1077845ce1af42338a7e12130b17fd14', 'network_id': 'f9fb9ee6-96d2-4bfd-bbf3-2ce836338f7c', 'ip_version': 4, 'cidr': '184.82.30.192/26', 'allocation_pools': [{'start': '184.82.30.194', 'end': '184.82.30.254'}], 'gateway_ip': '184.82.30.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.82.30.194', 'tags': [], 'project_id': '1077845ce1af42338a7e12130b17fd14'}}
2026-02-10 03:47:47,455 - INFO - Created VN ctest-vn-05548027
2026-02-10 03:47:47,510 - DEBUG - VN ctest-vn-05548027 UUID is f9fb9ee6-96d2-4bfd-bbf3-2ce836338f7c
2026-02-10 03:47:47,632 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-63643510:ctest-vn-47071052, 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-63643510:ctest-vn-05548027, 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-10 03:47:47,947 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd24e91cb-c34e-4bf4-a424-dd621a8deb13', 'name': 'ctest-vn-47071052', 'tenant_id': '1077845ce1af42338a7e12130b17fd14', 'project_id': '1077845ce1af42338a7e12130b17fd14', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7b366eb5-5225-4399-9fb7-feb80ad9a10f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63643510', 'ctest-vn-47071052'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63643510', 'ctest-policy-allow-all-16314815']], 'subnet_ipam': [{'subnet_cidr': '45.215.252.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 03:47:48,199 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f9fb9ee6-96d2-4bfd-bbf3-2ce836338f7c', 'name': 'ctest-vn-05548027', 'tenant_id': '1077845ce1af42338a7e12130b17fd14', 'project_id': '1077845ce1af42338a7e12130b17fd14', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['76427eb6-e479-4bee-bd19-ebe4f9a9e408'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63643510', 'ctest-vn-05548027'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63643510', 'ctest-policy-allow-all-16314815']], 'subnet_ipam': [{'subnet_cidr': '184.82.30.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 03:47:48,350 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-10 03:47:48,715 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-10 03:47:48,755 - DEBUG - Requesting: http://10.0.0.19:8082/domain/ff05a495-4b08-489a-a429-67ab9b34a88c
2026-02-10 03:47:48,769 - DEBUG - Requesting: http://10.0.0.19:8082/project/1077845c-e1af-4233-8a7e-12130b17fd14
2026-02-10 03:47:48,845 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d24e91cb-c34e-4bf4-a424-dd621a8deb13
2026-02-10 03:47:48,858 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d24e91cb-c34e-4bf4-a424-dd621a8deb13
2026-02-10 03:47:48,868 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b9529c62-a220-41cc-a654-454cf53a81d6
2026-02-10 03:47:48,875 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b9529c62-a220-41cc-a654-454cf53a81d6
2026-02-10 03:47:48,883 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/28c751c0-5f94-4d0a-8b07-b89de9c58148
2026-02-10 03:47:48,890 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 03:47:48,890 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d24e91cb-c34e-4bf4-a424-dd621a8deb13
2026-02-10 03:47:48,901 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b9529c62-a220-41cc-a654-454cf53a81d6
2026-02-10 03:47:48,916 - INFO - Verified VN network id 12 for VN d24e91cb-c34e-4bf4-a424-dd621a8deb13
2026-02-10 03:47:48,917 - INFO - Verifications in API Server for VN ctest-vn-47071052 passed
2026-02-10 03:47:48,917 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d24e91cb-c34e-4bf4-a424-dd621a8deb13
2026-02-10 03:47:48,927 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b9529c62-a220-41cc-a654-454cf53a81d6
2026-02-10 03:47:48,936 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b9529c62-a220-41cc-a654-454cf53a81d6
2026-02-10 03:47:48,946 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/28c751c0-5f94-4d0a-8b07-b89de9c58148
2026-02-10 03:47:48,960 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63643510:ctest-vn-47071052', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63643510', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15154210100489374708', 'uuid-lslong': '11827821934803806995'}, 'enable': 'true', 'created': '2026-02-10T03:47:46', 'last-modified': '2026-02-10T03:47:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.032180'}
2026-02-10 03:47:48,966 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 03:47:48,967 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47071052 passed
2026-02-10 03:47:48,967 - DEBUG - ====Verifying policy data for ctest-vn-47071052 in API_Server ======
2026-02-10 03:47:48,967 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-10 03:47:48,974 - DEBUG - Requesting: http://10.0.0.19:8082/domain/ff05a495-4b08-489a-a429-67ab9b34a88c
2026-02-10 03:47:48,986 - DEBUG - Requesting: http://10.0.0.19:8082/project/1077845c-e1af-4233-8a7e-12130b17fd14
2026-02-10 03:47:49,062 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d24e91cb-c34e-4bf4-a424-dd621a8deb13
2026-02-10 03:47:49,072 - DEBUG - ==>Verifying data for policy with id: 131c75b1-dab2-4eee-a307-dfd847da40c3, fqn: ['default-domain', 'ctest-TestBasicPolicy-63643510', 'ctest-policy-allow-all-16314815']
2026-02-10 03:47:49,072 - INFO - VN ctest-vn-47071052 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 03:47:49,072 - DEBUG - Verifying the vn in opserver
2026-02-10 03:47:49,072 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63643510:ctest-vn-47071052 virtual network link through opserver 10.0.0.19
2026-02-10 03:47:49,072 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-02-10 03:47:49,420 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-02-10 03:47:49,491 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63643510:ctest-vn-47071052', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63643510:ctest-vn-47071052?flat'}
2026-02-10 03:47:49,491 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63643510:ctest-vn-47071052 is found in opserver
2026-02-10 03:47:49,503 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 03:47:49,508 - DEBUG - VRF ids for VN ctest-vn-47071052: {}
2026-02-10 03:47:49,508 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-10 03:47:49,516 - DEBUG - Requesting: http://10.0.0.19:8082/domain/ff05a495-4b08-489a-a429-67ab9b34a88c
2026-02-10 03:47:49,529 - DEBUG - Requesting: http://10.0.0.19:8082/project/1077845c-e1af-4233-8a7e-12130b17fd14
2026-02-10 03:47:49,606 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/f9fb9ee6-96d2-4bfd-bbf3-2ce836338f7c
2026-02-10 03:47:49,621 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/f9fb9ee6-96d2-4bfd-bbf3-2ce836338f7c
2026-02-10 03:47:49,631 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e2f071c4-3927-4df1-aa9e-f1294ba7f66f
2026-02-10 03:47:49,638 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e2f071c4-3927-4df1-aa9e-f1294ba7f66f
2026-02-10 03:47:49,646 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/76b114cf-3e27-4410-9f45-e90eb03fbb7a
2026-02-10 03:47:49,655 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 03:47:49,655 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/f9fb9ee6-96d2-4bfd-bbf3-2ce836338f7c
2026-02-10 03:47:49,665 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e2f071c4-3927-4df1-aa9e-f1294ba7f66f
2026-02-10 03:47:49,682 - INFO - Verified VN network id 13 for VN f9fb9ee6-96d2-4bfd-bbf3-2ce836338f7c
2026-02-10 03:47:49,682 - INFO - Verifications in API Server for VN ctest-vn-05548027 passed
2026-02-10 03:47:49,682 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/f9fb9ee6-96d2-4bfd-bbf3-2ce836338f7c
2026-02-10 03:47:49,693 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e2f071c4-3927-4df1-aa9e-f1294ba7f66f
2026-02-10 03:47:49,703 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e2f071c4-3927-4df1-aa9e-f1294ba7f66f
2026-02-10 03:47:49,712 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/76b114cf-3e27-4410-9f45-e90eb03fbb7a
2026-02-10 03:47:49,727 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63643510:ctest-vn-05548027', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63643510', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18013165847808461821', 'uuid-lslong': '13543217880286596988'}, 'enable': 'true', 'created': '2026-02-10T03:47:47', 'last-modified': '2026-02-10T03:47:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.547701'}
2026-02-10 03:47:49,734 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 03:47:49,734 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05548027 passed
2026-02-10 03:47:49,734 - DEBUG - ====Verifying policy data for ctest-vn-05548027 in API_Server ======
2026-02-10 03:47:49,735 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-10 03:47:49,741 - DEBUG - Requesting: http://10.0.0.19:8082/domain/ff05a495-4b08-489a-a429-67ab9b34a88c
2026-02-10 03:47:49,754 - DEBUG - Requesting: http://10.0.0.19:8082/project/1077845c-e1af-4233-8a7e-12130b17fd14
2026-02-10 03:47:49,825 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/f9fb9ee6-96d2-4bfd-bbf3-2ce836338f7c
2026-02-10 03:47:49,834 - DEBUG - ==>Verifying data for policy with id: 131c75b1-dab2-4eee-a307-dfd847da40c3, fqn: ['default-domain', 'ctest-TestBasicPolicy-63643510', 'ctest-policy-allow-all-16314815']
2026-02-10 03:47:49,835 - INFO - VN ctest-vn-05548027 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 03:47:49,835 - DEBUG - Verifying the vn in opserver
2026-02-10 03:47:49,835 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63643510:ctest-vn-05548027 virtual network link through opserver 10.0.0.19
2026-02-10 03:47:49,835 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-02-10 03:47:49,845 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63643510:ctest-vn-05548027', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63643510:ctest-vn-05548027?flat'}
2026-02-10 03:47:49,845 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63643510:ctest-vn-05548027 is found in opserver
2026-02-10 03:47:49,855 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 03:47:49,859 - DEBUG - VRF ids for VN ctest-vn-05548027: {}
2026-02-10 03:47:49,931 - DEBUG - Services list from nova: [