2026-02-11 13:12:29,906 - INFO - Domain Default found not creating
2026-02-11 13:12:30,077 - INFO - Project ctest-TestBasicPolicy-08748896 not found, creating it
2026-02-11 13:12:30,530 - INFO - Created Project:ctest-TestBasicPolicy-08748896, ID : 1058987b-40f7-4d52-af86-3806527fdc97
2026-02-11 13:12:32,027 - INFO - ================================================================================
2026-02-11 13:12:32,027 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-11 13:12:32,027 - 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-11 13:12:32,287 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2026-02-11 13:12:32,287 - INFO - Initial checks done. Running the testcase now
2026-02-11 13:12:32,287 - INFO -
2026-02-11 13:12:32,845 - DEBUG - Response for create_network : {'network': {'id': 'f3aeda05-0b3e-4f8e-b2f4-c1d7fd6fe71d', 'name': 'ctest-vn-93010321', 'tenant_id': '1058987b40f74d52af863806527fdc97', 'project_id': '1058987b40f74d52af863806527fdc97', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08748896', 'ctest-vn-93010321'], 'port_security_enabled': True, 'description': ''}}
2026-02-11 13:12:32,995 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b691d688-5400-4042-b9a6-6d8efe83ebfb', 'name': '', 'tenant_id': '1058987b40f74d52af863806527fdc97', 'network_id': 'f3aeda05-0b3e-4f8e-b2f4-c1d7fd6fe71d', 'ip_version': 4, 'cidr': '70.242.55.64/26', 'allocation_pools': [{'start': '70.242.55.66', 'end': '70.242.55.126'}], 'gateway_ip': '70.242.55.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.242.55.66', 'tags': [], 'project_id': '1058987b40f74d52af863806527fdc97'}}
2026-02-11 13:12:33,012 - INFO - Created VN ctest-vn-93010321
2026-02-11 13:12:33,064 - DEBUG - VN ctest-vn-93010321 UUID is f3aeda05-0b3e-4f8e-b2f4-c1d7fd6fe71d
2026-02-11 13:12:33,349 - DEBUG - Response for create_network : {'network': {'id': '79f88d16-fc3e-4050-a7be-67be54009c9f', 'name': 'ctest-vn-06898818', 'tenant_id': '1058987b40f74d52af863806527fdc97', 'project_id': '1058987b40f74d52af863806527fdc97', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08748896', 'ctest-vn-06898818'], 'port_security_enabled': True, 'description': ''}}
2026-02-11 13:12:33,576 - DEBUG - Response for create_subnet : {'subnet': {'id': '4bced83f-d29a-48eb-98f6-6d7f490c233e', 'name': '', 'tenant_id': '1058987b40f74d52af863806527fdc97', 'network_id': '79f88d16-fc3e-4050-a7be-67be54009c9f', 'ip_version': 4, 'cidr': '22.45.101.192/26', 'allocation_pools': [{'start': '22.45.101.194', 'end': '22.45.101.254'}], 'gateway_ip': '22.45.101.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.45.101.194', 'tags': [], 'project_id': '1058987b40f74d52af863806527fdc97'}}
2026-02-11 13:12:33,595 - INFO - Created VN ctest-vn-06898818
2026-02-11 13:12:33,648 - DEBUG - VN ctest-vn-06898818 UUID is 79f88d16-fc3e-4050-a7be-67be54009c9f
2026-02-11 13:12:33,764 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-08748896:ctest-vn-93010321, 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-08748896:ctest-vn-06898818, 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-11 13:12:34,067 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f3aeda05-0b3e-4f8e-b2f4-c1d7fd6fe71d', 'name': 'ctest-vn-93010321', 'tenant_id': '1058987b40f74d52af863806527fdc97', 'project_id': '1058987b40f74d52af863806527fdc97', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b691d688-5400-4042-b9a6-6d8efe83ebfb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08748896', 'ctest-vn-93010321'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08748896', 'ctest-policy-allow-all-37861065']], 'subnet_ipam': [{'subnet_cidr': '70.242.55.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-11 13:12:34,342 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '79f88d16-fc3e-4050-a7be-67be54009c9f', 'name': 'ctest-vn-06898818', 'tenant_id': '1058987b40f74d52af863806527fdc97', 'project_id': '1058987b40f74d52af863806527fdc97', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4bced83f-d29a-48eb-98f6-6d7f490c233e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08748896', 'ctest-vn-06898818'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08748896', 'ctest-policy-allow-all-37861065']], 'subnet_ipam': [{'subnet_cidr': '22.45.101.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-11 13:12:34,484 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-11 13:12:34,783 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-11 13:12:34,815 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c6f002bc-e886-43c9-8408-65bd4e11156f
2026-02-11 13:12:34,826 - DEBUG - Requesting: http://10.0.0.50:8082/project/1058987b-40f7-4d52-af86-3806527fdc97
2026-02-11 13:12:34,904 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f3aeda05-0b3e-4f8e-b2f4-c1d7fd6fe71d
2026-02-11 13:12:34,917 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f3aeda05-0b3e-4f8e-b2f4-c1d7fd6fe71d
2026-02-11 13:12:34,928 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f9ad4a28-99ca-422a-92b6-569fda2240b5
2026-02-11 13:12:34,937 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f9ad4a28-99ca-422a-92b6-569fda2240b5
2026-02-11 13:12:34,944 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a9eda438-ebc6-4940-898a-30f5bcd67627
2026-02-11 13:12:34,950 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-11 13:12:34,950 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f3aeda05-0b3e-4f8e-b2f4-c1d7fd6fe71d
2026-02-11 13:12:34,959 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f9ad4a28-99ca-422a-92b6-569fda2240b5
2026-02-11 13:12:34,973 - INFO - Verified VN network id 11 for VN f3aeda05-0b3e-4f8e-b2f4-c1d7fd6fe71d
2026-02-11 13:12:34,974 - INFO - Verifications in API Server for VN ctest-vn-93010321 passed
2026-02-11 13:12:34,974 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f3aeda05-0b3e-4f8e-b2f4-c1d7fd6fe71d
2026-02-11 13:12:34,983 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f9ad4a28-99ca-422a-92b6-569fda2240b5
2026-02-11 13:12:34,990 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f9ad4a28-99ca-422a-92b6-569fda2240b5
2026-02-11 13:12:34,997 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a9eda438-ebc6-4940-898a-30f5bcd67627
2026-02-11 13:12:35,009 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08748896:ctest-vn-93010321', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08748896', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17559211712362467214', 'uuid-lslong': '12895144766482671389'}, 'enable': 'true', 'created': '2026-02-11T13:12:32', 'last-modified': '2026-02-11T13:12:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.956803'}
2026-02-11 13:12:35,016 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-11 13:12:35,016 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93010321 passed
2026-02-11 13:12:35,016 - DEBUG - ====Verifying policy data for ctest-vn-93010321 in API_Server ======
2026-02-11 13:12:35,016 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-11 13:12:35,022 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c6f002bc-e886-43c9-8408-65bd4e11156f
2026-02-11 13:12:35,033 - DEBUG - Requesting: http://10.0.0.50:8082/project/1058987b-40f7-4d52-af86-3806527fdc97
2026-02-11 13:12:35,101 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f3aeda05-0b3e-4f8e-b2f4-c1d7fd6fe71d
2026-02-11 13:12:35,113 - DEBUG - ==>Verifying data for policy with id: cd84eb0c-a94a-446a-b885-f6e82fe9f014, fqn: ['default-domain', 'ctest-TestBasicPolicy-08748896', 'ctest-policy-allow-all-37861065']
2026-02-11 13:12:35,113 - INFO - VN ctest-vn-93010321 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-11 13:12:35,113 - DEBUG - Verifying the vn in opserver
2026-02-11 13:12:35,113 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08748896:ctest-vn-93010321 virtual network link through opserver 10.0.0.50
2026-02-11 13:12:35,113 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-11 13:12:35,406 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-11 13:12:35,469 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08748896:ctest-vn-93010321', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08748896:ctest-vn-93010321?flat'}
2026-02-11 13:12:35,469 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08748896:ctest-vn-93010321 is found in opserver
2026-02-11 13:12:35,479 - DEBUG - Do not have enough data to verify VN in agent
2026-02-11 13:12:35,484 - DEBUG - VRF ids for VN ctest-vn-93010321: {}
2026-02-11 13:12:35,484 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-11 13:12:35,489 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c6f002bc-e886-43c9-8408-65bd4e11156f
2026-02-11 13:12:35,500 - DEBUG - Requesting: http://10.0.0.50:8082/project/1058987b-40f7-4d52-af86-3806527fdc97
2026-02-11 13:12:35,568 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/79f88d16-fc3e-4050-a7be-67be54009c9f
2026-02-11 13:12:35,578 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/79f88d16-fc3e-4050-a7be-67be54009c9f
2026-02-11 13:12:35,587 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5250e40b-1ceb-42d5-9724-f96c231d9a7b
2026-02-11 13:12:35,594 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5250e40b-1ceb-42d5-9724-f96c231d9a7b
2026-02-11 13:12:35,601 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2ea5539d-14fc-44ed-9dca-d69d1e3d76fc
2026-02-11 13:12:35,608 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-11 13:12:35,608 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/79f88d16-fc3e-4050-a7be-67be54009c9f
2026-02-11 13:12:35,617 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5250e40b-1ceb-42d5-9724-f96c231d9a7b
2026-02-11 13:12:35,631 - INFO - Verified VN network id 12 for VN 79f88d16-fc3e-4050-a7be-67be54009c9f
2026-02-11 13:12:35,631 - INFO - Verifications in API Server for VN ctest-vn-06898818 passed
2026-02-11 13:12:35,631 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/79f88d16-fc3e-4050-a7be-67be54009c9f
2026-02-11 13:12:35,640 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5250e40b-1ceb-42d5-9724-f96c231d9a7b
2026-02-11 13:12:35,647 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5250e40b-1ceb-42d5-9724-f96c231d9a7b
2026-02-11 13:12:35,654 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2ea5539d-14fc-44ed-9dca-d69d1e3d76fc
2026-02-11 13:12:35,669 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08748896:ctest-vn-06898818', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08748896', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8788929802674258000', 'uuid-lslong': '12087212517059763359'}, 'enable': 'true', 'created': '2026-02-11T13:12:33', 'last-modified': '2026-02-11T13:12:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.398659'}
2026-02-11 13:12:35,676 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-11 13:12:35,676 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06898818 passed
2026-02-11 13:12:35,676 - DEBUG - ====Verifying policy data for ctest-vn-06898818 in API_Server ======
2026-02-11 13:12:35,676 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-11 13:12:35,682 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c6f002bc-e886-43c9-8408-65bd4e11156f
2026-02-11 13:12:35,693 - DEBUG - Requesting: http://10.0.0.50:8082/project/1058987b-40f7-4d52-af86-3806527fdc97
2026-02-11 13:12:35,762 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/79f88d16-fc3e-4050-a7be-67be54009c9f
2026-02-11 13:12:35,773 - DEBUG - ==>Verifying data for policy with id: cd84eb0c-a94a-446a-b885-f6e82fe9f014, fqn: ['default-domain', 'ctest-TestBasicPolicy-08748896', 'ctest-policy-allow-all-37861065']
2026-02-11 13:12:35,773 - INFO - VN ctest-vn-06898818 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-11 13:12:35,773 - DEBUG - Verifying the vn in opserver
2026-02-11 13:12:35,773 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08748896:ctest-vn-06898818 virtual network link through opserver 10.0.0.50
2026-02-11 13:12:35,773 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-11 13:12:35,783 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08748896:ctest-vn-06898818', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08748896:ctest-vn-06898818?flat'}
2026-02-11 13:12:35,783 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08748896:ctest-vn-06898818 is found in opserver
2026-02-11 13:12:35,793 - DEBUG - Do not have enough data to verify VN in agent
2026-02-11 13:12:35,799 - DEBUG - VRF ids for VN ctest-vn-06898818: {}
2026-02-11 13:12:35,861 - DEBUG - Services list from nova: [