2026-07-10 20:12:18,311 - INFO - Domain Default found not creating
2026-07-10 20:12:18,455 - INFO - Project ctest-TestBasicPolicy-11299955 not found, creating it
2026-07-10 20:12:18,927 - INFO - Created Project:ctest-TestBasicPolicy-11299955, ID : 74675401-fec5-4ed1-b2f8-93dfe0a5c34a
2026-07-10 20:12:20,372 - INFO - ================================================================================
2026-07-10 20:12:20,372 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-07-10 20:12:20,372 - 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-07-10 20:12:20,636 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-07-10 20:12:20,636 - INFO - Initial checks done. Running the testcase now
2026-07-10 20:12:20,636 - INFO -
2026-07-10 20:12:21,191 - DEBUG - Response for create_network : {'network': {'id': '079d2a41-175a-457b-8dbe-0c3285b9d797', 'name': 'ctest-vn-70773474', 'tenant_id': '74675401fec54ed1b2f893dfe0a5c34a', 'project_id': '74675401fec54ed1b2f893dfe0a5c34a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11299955', 'ctest-vn-70773474'], 'port_security_enabled': True, 'description': ''}}
2026-07-10 20:12:21,383 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd927842a-71de-45bc-83de-f3c4db7e9511', 'name': '', 'tenant_id': '74675401fec54ed1b2f893dfe0a5c34a', 'network_id': '079d2a41-175a-457b-8dbe-0c3285b9d797', 'ip_version': 4, 'cidr': '144.161.207.192/26', 'allocation_pools': [{'start': '144.161.207.194', 'end': '144.161.207.254'}], 'gateway_ip': '144.161.207.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.161.207.194', 'tags': [], 'project_id': '74675401fec54ed1b2f893dfe0a5c34a'}}
2026-07-10 20:12:21,398 - INFO - Created VN ctest-vn-70773474
2026-07-10 20:12:21,451 - DEBUG - VN ctest-vn-70773474 UUID is 079d2a41-175a-457b-8dbe-0c3285b9d797
2026-07-10 20:12:21,751 - DEBUG - Response for create_network : {'network': {'id': 'bb2d3d72-900d-4460-9f60-5eade88bb01a', 'name': 'ctest-vn-99774421', 'tenant_id': '74675401fec54ed1b2f893dfe0a5c34a', 'project_id': '74675401fec54ed1b2f893dfe0a5c34a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11299955', 'ctest-vn-99774421'], 'port_security_enabled': True, 'description': ''}}
2026-07-10 20:12:21,910 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e12357a8-a106-4030-a722-903b610c383b', 'name': '', 'tenant_id': '74675401fec54ed1b2f893dfe0a5c34a', 'network_id': 'bb2d3d72-900d-4460-9f60-5eade88bb01a', 'ip_version': 4, 'cidr': '192.150.11.128/26', 'allocation_pools': [{'start': '192.150.11.130', 'end': '192.150.11.190'}], 'gateway_ip': '192.150.11.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.150.11.130', 'tags': [], 'project_id': '74675401fec54ed1b2f893dfe0a5c34a'}}
2026-07-10 20:12:21,924 - INFO - Created VN ctest-vn-99774421
2026-07-10 20:12:21,975 - DEBUG - VN ctest-vn-99774421 UUID is bb2d3d72-900d-4460-9f60-5eade88bb01a
2026-07-10 20:12:22,115 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-11299955:ctest-vn-70773474, 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-11299955:ctest-vn-99774421, 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-07-10 20:12:22,406 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '079d2a41-175a-457b-8dbe-0c3285b9d797', 'name': 'ctest-vn-70773474', 'tenant_id': '74675401fec54ed1b2f893dfe0a5c34a', 'project_id': '74675401fec54ed1b2f893dfe0a5c34a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d927842a-71de-45bc-83de-f3c4db7e9511'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11299955', 'ctest-vn-70773474'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11299955', 'ctest-policy-allow-all-22051743']], 'subnet_ipam': [{'subnet_cidr': '144.161.207.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-07-10 20:12:22,633 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bb2d3d72-900d-4460-9f60-5eade88bb01a', 'name': 'ctest-vn-99774421', 'tenant_id': '74675401fec54ed1b2f893dfe0a5c34a', 'project_id': '74675401fec54ed1b2f893dfe0a5c34a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e12357a8-a106-4030-a722-903b610c383b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11299955', 'ctest-vn-99774421'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11299955', 'ctest-policy-allow-all-22051743']], 'subnet_ipam': [{'subnet_cidr': '192.150.11.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-07-10 20:12:22,795 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-07-10 20:12:23,109 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-07-10 20:12:23,132 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cbcc3819-5c2c-4619-9f80-a35999f62fb1
2026-07-10 20:12:23,143 - DEBUG - Requesting: http://10.0.0.38:8082/project/74675401-fec5-4ed1-b2f8-93dfe0a5c34a
2026-07-10 20:12:23,214 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/079d2a41-175a-457b-8dbe-0c3285b9d797
2026-07-10 20:12:23,224 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/079d2a41-175a-457b-8dbe-0c3285b9d797
2026-07-10 20:12:23,232 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/775e5fde-e5ba-49eb-9cc9-f5141c4db751
2026-07-10 20:12:23,238 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/775e5fde-e5ba-49eb-9cc9-f5141c4db751
2026-07-10 20:12:23,244 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/95f84d60-9202-4bdb-83c2-db3ce55862dd
2026-07-10 20:12:23,249 - DEBUG - Route Targets: ['target:64512:8000004']
2026-07-10 20:12:23,249 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/079d2a41-175a-457b-8dbe-0c3285b9d797
2026-07-10 20:12:23,257 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/775e5fde-e5ba-49eb-9cc9-f5141c4db751
2026-07-10 20:12:23,269 - INFO - Verified VN network id 11 for VN 079d2a41-175a-457b-8dbe-0c3285b9d797
2026-07-10 20:12:23,269 - INFO - Verifications in API Server for VN ctest-vn-70773474 passed
2026-07-10 20:12:23,269 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/079d2a41-175a-457b-8dbe-0c3285b9d797
2026-07-10 20:12:23,277 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/775e5fde-e5ba-49eb-9cc9-f5141c4db751
2026-07-10 20:12:23,283 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/775e5fde-e5ba-49eb-9cc9-f5141c4db751
2026-07-10 20:12:23,288 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/95f84d60-9202-4bdb-83c2-db3ce55862dd
2026-07-10 20:12:23,300 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11299955:ctest-vn-70773474', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11299955', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '548641188662101371', 'uuid-lslong': '10213614416054310807'}, 'enable': 'true', 'created': '2026-07-10T20:12:21', 'last-modified': '2026-07-10T20:12:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.914465'}
2026-07-10 20:12:23,306 - DEBUG - Route Targets: ['target:64512:8000004']
2026-07-10 20:12:23,306 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70773474 passed
2026-07-10 20:12:23,307 - DEBUG - ====Verifying policy data for ctest-vn-70773474 in API_Server ======
2026-07-10 20:12:23,307 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-07-10 20:12:23,313 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cbcc3819-5c2c-4619-9f80-a35999f62fb1
2026-07-10 20:12:23,327 - DEBUG - Requesting: http://10.0.0.38:8082/project/74675401-fec5-4ed1-b2f8-93dfe0a5c34a
2026-07-10 20:12:23,400 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/079d2a41-175a-457b-8dbe-0c3285b9d797
2026-07-10 20:12:23,408 - DEBUG - ==>Verifying data for policy with id: 48fc45d6-b3f6-4d8f-8683-ff8b1a31aaee, fqn: ['default-domain', 'ctest-TestBasicPolicy-11299955', 'ctest-policy-allow-all-22051743']
2026-07-10 20:12:23,408 - INFO - VN ctest-vn-70773474 Policy verification: verify_vn_policy_in_api_server, status: True
2026-07-10 20:12:23,408 - DEBUG - Verifying the vn in opserver
2026-07-10 20:12:23,408 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11299955:ctest-vn-70773474 virtual network link through opserver 10.0.0.38
2026-07-10 20:12:23,409 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-07-10 20:12:23,743 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-07-10 20:12:23,789 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11299955:ctest-vn-70773474', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11299955:ctest-vn-70773474?flat'}
2026-07-10 20:12:23,789 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11299955:ctest-vn-70773474 is found in opserver
2026-07-10 20:12:23,800 - DEBUG - Do not have enough data to verify VN in agent
2026-07-10 20:12:23,804 - DEBUG - VRF ids for VN ctest-vn-70773474: {}
2026-07-10 20:12:23,804 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-07-10 20:12:23,809 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cbcc3819-5c2c-4619-9f80-a35999f62fb1
2026-07-10 20:12:23,818 - DEBUG - Requesting: http://10.0.0.38:8082/project/74675401-fec5-4ed1-b2f8-93dfe0a5c34a
2026-07-10 20:12:23,893 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bb2d3d72-900d-4460-9f60-5eade88bb01a
2026-07-10 20:12:23,902 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bb2d3d72-900d-4460-9f60-5eade88bb01a
2026-07-10 20:12:23,910 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df8aac72-c7af-4da2-b79a-577682ba9940
2026-07-10 20:12:23,916 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df8aac72-c7af-4da2-b79a-577682ba9940
2026-07-10 20:12:23,921 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/119317b4-68c8-431e-a58f-5a8f7e6418b9
2026-07-10 20:12:23,926 - DEBUG - Route Targets: ['target:64512:8000005']
2026-07-10 20:12:23,926 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bb2d3d72-900d-4460-9f60-5eade88bb01a
2026-07-10 20:12:23,933 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df8aac72-c7af-4da2-b79a-577682ba9940
2026-07-10 20:12:23,946 - INFO - Verified VN network id 12 for VN bb2d3d72-900d-4460-9f60-5eade88bb01a
2026-07-10 20:12:23,946 - INFO - Verifications in API Server for VN ctest-vn-99774421 passed
2026-07-10 20:12:23,947 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bb2d3d72-900d-4460-9f60-5eade88bb01a
2026-07-10 20:12:23,954 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df8aac72-c7af-4da2-b79a-577682ba9940
2026-07-10 20:12:23,960 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df8aac72-c7af-4da2-b79a-577682ba9940
2026-07-10 20:12:23,965 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/119317b4-68c8-431e-a58f-5a8f7e6418b9
2026-07-10 20:12:23,975 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11299955:ctest-vn-99774421', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11299955', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13487504021296858208', 'uuid-lslong': '11484283150818586650'}, 'enable': 'true', 'created': '2026-07-10T20:12:21', 'last-modified': '2026-07-10T20:12:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.364457'}
2026-07-10 20:12:23,982 - DEBUG - Route Targets: ['target:64512:8000005']
2026-07-10 20:12:23,982 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99774421 passed
2026-07-10 20:12:23,982 - DEBUG - ====Verifying policy data for ctest-vn-99774421 in API_Server ======
2026-07-10 20:12:23,982 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-07-10 20:12:23,986 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cbcc3819-5c2c-4619-9f80-a35999f62fb1
2026-07-10 20:12:23,995 - DEBUG - Requesting: http://10.0.0.38:8082/project/74675401-fec5-4ed1-b2f8-93dfe0a5c34a
2026-07-10 20:12:24,064 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bb2d3d72-900d-4460-9f60-5eade88bb01a
2026-07-10 20:12:24,071 - DEBUG - ==>Verifying data for policy with id: 48fc45d6-b3f6-4d8f-8683-ff8b1a31aaee, fqn: ['default-domain', 'ctest-TestBasicPolicy-11299955', 'ctest-policy-allow-all-22051743']
2026-07-10 20:12:24,071 - INFO - VN ctest-vn-99774421 Policy verification: verify_vn_policy_in_api_server, status: True
2026-07-10 20:12:24,071 - DEBUG - Verifying the vn in opserver
2026-07-10 20:12:24,072 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11299955:ctest-vn-99774421 virtual network link through opserver 10.0.0.38
2026-07-10 20:12:24,072 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-07-10 20:12:24,080 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11299955:ctest-vn-99774421', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11299955:ctest-vn-99774421?flat'}
2026-07-10 20:12:24,080 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11299955:ctest-vn-99774421 is found in opserver
2026-07-10 20:12:24,089 - DEBUG - Do not have enough data to verify VN in agent
2026-07-10 20:12:24,093 - DEBUG - VRF ids for VN ctest-vn-99774421: {}
2026-07-10 20:12:24,142 - DEBUG - Services list from nova: [