2026-01-30 15:05:50,227 - INFO - Domain Default found not creating
2026-01-30 15:05:50,404 - INFO - Project ctest-TestBasicPolicy-28903183 not found, creating it
2026-01-30 15:05:50,867 - INFO - Created Project:ctest-TestBasicPolicy-28903183, ID : 630ac557-c31b-42bc-883d-caa242b6e55e
2026-01-30 15:05:52,384 - INFO - ================================================================================
2026-01-30 15:05:52,384 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-30 15:05:52,385 - 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-01-30 15:05:52,639 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with
2026-01-30 15:05:52,639 - INFO - Initial checks done. Running the testcase now
2026-01-30 15:05:52,640 - INFO -
2026-01-30 15:05:53,200 - DEBUG - Response for create_network : {'network': {'id': '7d834953-e088-4807-94f0-239f6473aedf', 'name': 'ctest-vn-59975625', 'tenant_id': '630ac557c31b42bc883dcaa242b6e55e', 'project_id': '630ac557c31b42bc883dcaa242b6e55e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28903183', 'ctest-vn-59975625'], 'port_security_enabled': True, 'description': ''}}
2026-01-30 15:05:53,339 - DEBUG - Response for create_subnet : {'subnet': {'id': '9fec71ca-7762-4bb4-ab32-19005050697e', 'name': '', 'tenant_id': '630ac557c31b42bc883dcaa242b6e55e', 'network_id': '7d834953-e088-4807-94f0-239f6473aedf', 'ip_version': 4, 'cidr': '58.157.115.128/26', 'allocation_pools': [{'start': '58.157.115.130', 'end': '58.157.115.190'}], 'gateway_ip': '58.157.115.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.157.115.130', 'tags': [], 'project_id': '630ac557c31b42bc883dcaa242b6e55e'}}
2026-01-30 15:05:53,360 - INFO - Created VN ctest-vn-59975625
2026-01-30 15:05:53,414 - DEBUG - VN ctest-vn-59975625 UUID is 7d834953-e088-4807-94f0-239f6473aedf
2026-01-30 15:05:53,731 - DEBUG - Response for create_network : {'network': {'id': '3cbc220f-6e7d-453b-b556-21dce96df318', 'name': 'ctest-vn-55349559', 'tenant_id': '630ac557c31b42bc883dcaa242b6e55e', 'project_id': '630ac557c31b42bc883dcaa242b6e55e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28903183', 'ctest-vn-55349559'], 'port_security_enabled': True, 'description': ''}}
2026-01-30 15:05:53,873 - DEBUG - Response for create_subnet : {'subnet': {'id': '40f80a4a-5bb0-473b-aace-758062cf56dd', 'name': '', 'tenant_id': '630ac557c31b42bc883dcaa242b6e55e', 'network_id': '3cbc220f-6e7d-453b-b556-21dce96df318', 'ip_version': 4, 'cidr': '92.208.29.0/26', 'allocation_pools': [{'start': '92.208.29.2', 'end': '92.208.29.62'}], 'gateway_ip': '92.208.29.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.208.29.2', 'tags': [], 'project_id': '630ac557c31b42bc883dcaa242b6e55e'}}
2026-01-30 15:05:53,890 - INFO - Created VN ctest-vn-55349559
2026-01-30 15:05:53,942 - DEBUG - VN ctest-vn-55349559 UUID is 3cbc220f-6e7d-453b-b556-21dce96df318
2026-01-30 15:05:54,094 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28903183:ctest-vn-59975625, 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-28903183:ctest-vn-55349559, 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-01-30 15:05:54,385 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7d834953-e088-4807-94f0-239f6473aedf', 'name': 'ctest-vn-59975625', 'tenant_id': '630ac557c31b42bc883dcaa242b6e55e', 'project_id': '630ac557c31b42bc883dcaa242b6e55e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9fec71ca-7762-4bb4-ab32-19005050697e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28903183', 'ctest-vn-59975625'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28903183', 'ctest-policy-allow-all-09629417']], 'subnet_ipam': [{'subnet_cidr': '58.157.115.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-30 15:05:54,601 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3cbc220f-6e7d-453b-b556-21dce96df318', 'name': 'ctest-vn-55349559', 'tenant_id': '630ac557c31b42bc883dcaa242b6e55e', 'project_id': '630ac557c31b42bc883dcaa242b6e55e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['40f80a4a-5bb0-473b-aace-758062cf56dd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28903183', 'ctest-vn-55349559'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28903183', 'ctest-policy-allow-all-09629417']], 'subnet_ipam': [{'subnet_cidr': '92.208.29.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-30 15:05:54,770 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-01-30 15:05:55,066 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-01-30 15:05:55,096 - DEBUG - Requesting: http://10.0.0.41:8082/domain/bbc504d4-203c-4b91-a245-a0c50a55b2e5
2026-01-30 15:05:55,107 - DEBUG - Requesting: http://10.0.0.41:8082/project/630ac557-c31b-42bc-883d-caa242b6e55e
2026-01-30 15:05:55,182 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/7d834953-e088-4807-94f0-239f6473aedf
2026-01-30 15:05:55,192 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/7d834953-e088-4807-94f0-239f6473aedf
2026-01-30 15:05:55,201 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/e313c879-b745-42e5-a55e-79a1bbf40f80
2026-01-30 15:05:55,207 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/e313c879-b745-42e5-a55e-79a1bbf40f80
2026-01-30 15:05:55,213 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/27a5e036-d689-441b-82ad-9c1f3c6991cc
2026-01-30 15:05:55,219 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-30 15:05:55,219 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/7d834953-e088-4807-94f0-239f6473aedf
2026-01-30 15:05:55,227 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/e313c879-b745-42e5-a55e-79a1bbf40f80
2026-01-30 15:05:55,241 - INFO - Verified VN network id 12 for VN 7d834953-e088-4807-94f0-239f6473aedf
2026-01-30 15:05:55,241 - INFO - Verifications in API Server for VN ctest-vn-59975625 passed
2026-01-30 15:05:55,241 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/7d834953-e088-4807-94f0-239f6473aedf
2026-01-30 15:05:55,249 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/e313c879-b745-42e5-a55e-79a1bbf40f80
2026-01-30 15:05:55,256 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/e313c879-b745-42e5-a55e-79a1bbf40f80
2026-01-30 15:05:55,262 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/27a5e036-d689-441b-82ad-9c1f3c6991cc
2026-01-30 15:05:55,272 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28903183:ctest-vn-59975625', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28903183', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9044153101288228871', 'uuid-lslong': '10732117079515967199'}, 'enable': 'true', 'created': '2026-01-30T15:05:53', 'last-modified': '2026-01-30T15:05:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.910963'}
2026-01-30 15:05:55,277 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-30 15:05:55,277 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59975625 passed
2026-01-30 15:05:55,277 - DEBUG - ====Verifying policy data for ctest-vn-59975625 in API_Server ======
2026-01-30 15:05:55,279 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-01-30 15:05:55,284 - DEBUG - Requesting: http://10.0.0.41:8082/domain/bbc504d4-203c-4b91-a245-a0c50a55b2e5
2026-01-30 15:05:55,296 - DEBUG - Requesting: http://10.0.0.41:8082/project/630ac557-c31b-42bc-883d-caa242b6e55e
2026-01-30 15:05:55,362 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/7d834953-e088-4807-94f0-239f6473aedf
2026-01-30 15:05:55,370 - DEBUG - ==>Verifying data for policy with id: 01ee99bf-47b9-4c9b-b427-6d0ebe2e0385, fqn: ['default-domain', 'ctest-TestBasicPolicy-28903183', 'ctest-policy-allow-all-09629417']
2026-01-30 15:05:55,370 - INFO - VN ctest-vn-59975625 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-30 15:05:55,370 - DEBUG - Verifying the vn in opserver
2026-01-30 15:05:55,370 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28903183:ctest-vn-59975625 virtual network link through opserver 10.0.0.41
2026-01-30 15:05:55,370 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2026-01-30 15:05:55,665 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2026-01-30 15:05:55,729 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28903183:ctest-vn-59975625', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28903183:ctest-vn-59975625?flat'}
2026-01-30 15:05:55,729 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28903183:ctest-vn-59975625 is found in opserver
2026-01-30 15:05:55,741 - DEBUG - Do not have enough data to verify VN in agent
2026-01-30 15:05:55,747 - DEBUG - VRF ids for VN ctest-vn-59975625: {}
2026-01-30 15:05:55,747 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-01-30 15:05:55,753 - DEBUG - Requesting: http://10.0.0.41:8082/domain/bbc504d4-203c-4b91-a245-a0c50a55b2e5
2026-01-30 15:05:55,767 - DEBUG - Requesting: http://10.0.0.41:8082/project/630ac557-c31b-42bc-883d-caa242b6e55e
2026-01-30 15:05:55,837 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/3cbc220f-6e7d-453b-b556-21dce96df318
2026-01-30 15:05:55,848 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/3cbc220f-6e7d-453b-b556-21dce96df318
2026-01-30 15:05:55,858 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/728b278a-8d62-451a-ac67-ca51125395c1
2026-01-30 15:05:55,865 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/728b278a-8d62-451a-ac67-ca51125395c1
2026-01-30 15:05:55,871 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/b16289a1-d125-4974-9cf3-a1804ab855a1
2026-01-30 15:05:55,878 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-30 15:05:55,878 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/3cbc220f-6e7d-453b-b556-21dce96df318
2026-01-30 15:05:55,886 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/728b278a-8d62-451a-ac67-ca51125395c1
2026-01-30 15:05:55,900 - INFO - Verified VN network id 13 for VN 3cbc220f-6e7d-453b-b556-21dce96df318
2026-01-30 15:05:55,900 - INFO - Verifications in API Server for VN ctest-vn-55349559 passed
2026-01-30 15:05:55,900 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/3cbc220f-6e7d-453b-b556-21dce96df318
2026-01-30 15:05:55,909 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/728b278a-8d62-451a-ac67-ca51125395c1
2026-01-30 15:05:55,915 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/728b278a-8d62-451a-ac67-ca51125395c1
2026-01-30 15:05:55,922 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/b16289a1-d125-4974-9cf3-a1804ab855a1
2026-01-30 15:05:55,934 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28903183:ctest-vn-55349559', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28903183', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4376410387570836795', 'uuid-lslong': '13066668601554891544'}, 'enable': 'true', 'created': '2026-01-30T15:05:53', 'last-modified': '2026-01-30T15:05:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.353800'}
2026-01-30 15:05:55,939 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-30 15:05:55,939 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55349559 passed
2026-01-30 15:05:55,939 - DEBUG - ====Verifying policy data for ctest-vn-55349559 in API_Server ======
2026-01-30 15:05:55,939 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-01-30 15:05:55,945 - DEBUG - Requesting: http://10.0.0.41:8082/domain/bbc504d4-203c-4b91-a245-a0c50a55b2e5
2026-01-30 15:05:55,956 - DEBUG - Requesting: http://10.0.0.41:8082/project/630ac557-c31b-42bc-883d-caa242b6e55e
2026-01-30 15:05:56,022 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/3cbc220f-6e7d-453b-b556-21dce96df318
2026-01-30 15:05:56,031 - DEBUG - ==>Verifying data for policy with id: 01ee99bf-47b9-4c9b-b427-6d0ebe2e0385, fqn: ['default-domain', 'ctest-TestBasicPolicy-28903183', 'ctest-policy-allow-all-09629417']
2026-01-30 15:05:56,031 - INFO - VN ctest-vn-55349559 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-30 15:05:56,031 - DEBUG - Verifying the vn in opserver
2026-01-30 15:05:56,031 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28903183:ctest-vn-55349559 virtual network link through opserver 10.0.0.41
2026-01-30 15:05:56,032 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2026-01-30 15:05:56,041 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28903183:ctest-vn-55349559', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28903183:ctest-vn-55349559?flat'}
2026-01-30 15:05:56,041 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28903183:ctest-vn-55349559 is found in opserver
2026-01-30 15:05:56,051 - DEBUG - Do not have enough data to verify VN in agent
2026-01-30 15:05:56,055 - DEBUG - VRF ids for VN ctest-vn-55349559: {}
2026-01-30 15:05:56,114 - DEBUG - Services list from nova: [