2026-08-04 06:17:42,077 - INFO - Domain Default found not creating
2026-08-04 06:17:42,257 - INFO - Project ctest-TestBasicPolicy-12575409 not found, creating it
2026-08-04 06:17:42,789 - INFO - Created Project:ctest-TestBasicPolicy-12575409, ID : a7b13845-5d41-4d06-a625-d998aeeb3114
2026-08-04 06:17:44,625 - INFO - ================================================================================
2026-08-04 06:17:44,625 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-04 06:17:44,626 - 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-08-04 06:17:44,900 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with
2026-08-04 06:17:44,900 - INFO - Initial checks done. Running the testcase now
2026-08-04 06:17:44,900 - INFO -
2026-08-04 06:17:45,603 - DEBUG - Response for create_network : {'network': {'id': '61099b66-1e9a-4dac-8e3c-3331fd651441', 'name': 'ctest-vn-80363953', 'tenant_id': 'a7b138455d414d06a625d998aeeb3114', 'project_id': 'a7b138455d414d06a625d998aeeb3114', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12575409', 'ctest-vn-80363953'], 'port_security_enabled': True, 'description': ''}}
2026-08-04 06:17:45,813 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a25ed3c3-deb4-491a-bcd3-e87fe6e972e8', 'name': '', 'tenant_id': 'a7b138455d414d06a625d998aeeb3114', 'network_id': '61099b66-1e9a-4dac-8e3c-3331fd651441', 'ip_version': 4, 'cidr': '68.78.255.64/26', 'allocation_pools': [{'start': '68.78.255.66', 'end': '68.78.255.126'}], 'gateway_ip': '68.78.255.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.78.255.66', 'tags': [], 'project_id': 'a7b138455d414d06a625d998aeeb3114'}}
2026-08-04 06:17:45,833 - INFO - Created VN ctest-vn-80363953
2026-08-04 06:17:45,890 - DEBUG - VN ctest-vn-80363953 UUID is 61099b66-1e9a-4dac-8e3c-3331fd651441
2026-08-04 06:17:46,212 - DEBUG - Response for create_network : {'network': {'id': 'a6365599-19dd-402c-9a82-4d8d7ea9f8d6', 'name': 'ctest-vn-57487524', 'tenant_id': 'a7b138455d414d06a625d998aeeb3114', 'project_id': 'a7b138455d414d06a625d998aeeb3114', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12575409', 'ctest-vn-57487524'], 'port_security_enabled': True, 'description': ''}}
2026-08-04 06:17:46,416 - DEBUG - Response for create_subnet : {'subnet': {'id': '522b38d7-95de-4eed-a36b-b1f39470d69f', 'name': '', 'tenant_id': 'a7b138455d414d06a625d998aeeb3114', 'network_id': 'a6365599-19dd-402c-9a82-4d8d7ea9f8d6', 'ip_version': 4, 'cidr': '169.213.127.192/26', 'allocation_pools': [{'start': '169.213.127.194', 'end': '169.213.127.254'}], 'gateway_ip': '169.213.127.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.213.127.194', 'tags': [], 'project_id': 'a7b138455d414d06a625d998aeeb3114'}}
2026-08-04 06:17:46,439 - INFO - Created VN ctest-vn-57487524
2026-08-04 06:17:46,493 - DEBUG - VN ctest-vn-57487524 UUID is a6365599-19dd-402c-9a82-4d8d7ea9f8d6
2026-08-04 06:17:46,615 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-12575409:ctest-vn-80363953, 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-12575409:ctest-vn-57487524, 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-08-04 06:17:46,950 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '61099b66-1e9a-4dac-8e3c-3331fd651441', 'name': 'ctest-vn-80363953', 'tenant_id': 'a7b138455d414d06a625d998aeeb3114', 'project_id': 'a7b138455d414d06a625d998aeeb3114', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a25ed3c3-deb4-491a-bcd3-e87fe6e972e8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12575409', 'ctest-vn-80363953'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12575409', 'ctest-policy-allow-all-46450495']], 'subnet_ipam': [{'subnet_cidr': '68.78.255.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-04 06:17:47,211 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a6365599-19dd-402c-9a82-4d8d7ea9f8d6', 'name': 'ctest-vn-57487524', 'tenant_id': 'a7b138455d414d06a625d998aeeb3114', 'project_id': 'a7b138455d414d06a625d998aeeb3114', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['522b38d7-95de-4eed-a36b-b1f39470d69f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12575409', 'ctest-vn-57487524'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12575409', 'ctest-policy-allow-all-46450495']], 'subnet_ipam': [{'subnet_cidr': '169.213.127.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-04 06:17:47,385 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-04 06:17:47,762 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-04 06:17:47,796 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9c93f504-bac6-4fd6-9e84-cb4b34ac1e18
2026-08-04 06:17:47,810 - DEBUG - Requesting: http://10.0.0.50:8082/project/a7b13845-5d41-4d06-a625-d998aeeb3114
2026-08-04 06:17:47,889 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/61099b66-1e9a-4dac-8e3c-3331fd651441
2026-08-04 06:17:47,903 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/61099b66-1e9a-4dac-8e3c-3331fd651441
2026-08-04 06:17:47,915 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/25aa692a-67de-49be-b1d4-3a463ad67121
2026-08-04 06:17:47,926 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/25aa692a-67de-49be-b1d4-3a463ad67121
2026-08-04 06:17:47,936 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/54a2ab55-b3c3-4da2-a548-8fd125badb00
2026-08-04 06:17:47,944 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-04 06:17:47,944 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/61099b66-1e9a-4dac-8e3c-3331fd651441
2026-08-04 06:17:47,955 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/25aa692a-67de-49be-b1d4-3a463ad67121
2026-08-04 06:17:47,973 - INFO - Verified VN network id 10 for VN 61099b66-1e9a-4dac-8e3c-3331fd651441
2026-08-04 06:17:47,974 - INFO - Verifications in API Server for VN ctest-vn-80363953 passed
2026-08-04 06:17:47,974 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/61099b66-1e9a-4dac-8e3c-3331fd651441
2026-08-04 06:17:47,986 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/25aa692a-67de-49be-b1d4-3a463ad67121
2026-08-04 06:17:47,995 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/25aa692a-67de-49be-b1d4-3a463ad67121
2026-08-04 06:17:48,004 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/54a2ab55-b3c3-4da2-a548-8fd125badb00
2026-08-04 06:17:48,021 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12575409:ctest-vn-80363953', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12575409', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6992290759371804076', 'uuid-lslong': '10249123141786080321'}, 'enable': 'true', 'created': '2026-08-04T06:17:45', 'last-modified': '2026-08-04T06:17:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.096881'}
2026-08-04 06:17:48,029 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-04 06:17:48,029 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80363953 passed
2026-08-04 06:17:48,030 - DEBUG - ====Verifying policy data for ctest-vn-80363953 in API_Server ======
2026-08-04 06:17:48,030 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-04 06:17:48,037 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9c93f504-bac6-4fd6-9e84-cb4b34ac1e18
2026-08-04 06:17:48,051 - DEBUG - Requesting: http://10.0.0.50:8082/project/a7b13845-5d41-4d06-a625-d998aeeb3114
2026-08-04 06:17:48,135 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/61099b66-1e9a-4dac-8e3c-3331fd651441
2026-08-04 06:17:48,146 - DEBUG - ==>Verifying data for policy with id: f95d25d7-4d32-4260-9322-e990474355e4, fqn: ['default-domain', 'ctest-TestBasicPolicy-12575409', 'ctest-policy-allow-all-46450495']
2026-08-04 06:17:48,146 - INFO - VN ctest-vn-80363953 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-04 06:17:48,146 - DEBUG - Verifying the vn in opserver
2026-08-04 06:17:48,146 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12575409:ctest-vn-80363953 virtual network link through opserver 10.0.0.50
2026-08-04 06:17:48,146 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-08-04 06:17:48,522 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-08-04 06:17:48,587 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12575409:ctest-vn-80363953', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12575409:ctest-vn-80363953?flat'}
2026-08-04 06:17:48,588 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12575409:ctest-vn-80363953 is found in opserver
2026-08-04 06:17:48,599 - DEBUG - Do not have enough data to verify VN in agent
2026-08-04 06:17:48,606 - DEBUG - VRF ids for VN ctest-vn-80363953: {}
2026-08-04 06:17:48,606 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-04 06:17:48,613 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9c93f504-bac6-4fd6-9e84-cb4b34ac1e18
2026-08-04 06:17:48,628 - DEBUG - Requesting: http://10.0.0.50:8082/project/a7b13845-5d41-4d06-a625-d998aeeb3114
2026-08-04 06:17:48,713 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a6365599-19dd-402c-9a82-4d8d7ea9f8d6
2026-08-04 06:17:48,729 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a6365599-19dd-402c-9a82-4d8d7ea9f8d6
2026-08-04 06:17:48,742 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e69167d2-512e-4c8b-b712-53e2f71b55f1
2026-08-04 06:17:48,753 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e69167d2-512e-4c8b-b712-53e2f71b55f1
2026-08-04 06:17:48,761 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/fd7369bf-0a2a-420d-8ef6-1fc24c798fb4
2026-08-04 06:17:48,769 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-04 06:17:48,769 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a6365599-19dd-402c-9a82-4d8d7ea9f8d6
2026-08-04 06:17:48,780 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e69167d2-512e-4c8b-b712-53e2f71b55f1
2026-08-04 06:17:48,798 - INFO - Verified VN network id 11 for VN a6365599-19dd-402c-9a82-4d8d7ea9f8d6
2026-08-04 06:17:48,798 - INFO - Verifications in API Server for VN ctest-vn-57487524 passed
2026-08-04 06:17:48,798 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a6365599-19dd-402c-9a82-4d8d7ea9f8d6
2026-08-04 06:17:48,813 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e69167d2-512e-4c8b-b712-53e2f71b55f1
2026-08-04 06:17:48,821 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e69167d2-512e-4c8b-b712-53e2f71b55f1
2026-08-04 06:17:48,830 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/fd7369bf-0a2a-420d-8ef6-1fc24c798fb4
2026-08-04 06:17:48,846 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12575409:ctest-vn-57487524', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12575409', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11976854375090700332', 'uuid-lslong': '11133546498924083414'}, 'enable': 'true', 'created': '2026-08-04T06:17:46', 'last-modified': '2026-08-04T06:17:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.666544'}
2026-08-04 06:17:48,854 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-04 06:17:48,855 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57487524 passed
2026-08-04 06:17:48,855 - DEBUG - ====Verifying policy data for ctest-vn-57487524 in API_Server ======
2026-08-04 06:17:48,855 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-04 06:17:48,862 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9c93f504-bac6-4fd6-9e84-cb4b34ac1e18
2026-08-04 06:17:48,878 - DEBUG - Requesting: http://10.0.0.50:8082/project/a7b13845-5d41-4d06-a625-d998aeeb3114
2026-08-04 06:17:48,961 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a6365599-19dd-402c-9a82-4d8d7ea9f8d6
2026-08-04 06:17:48,972 - DEBUG - ==>Verifying data for policy with id: f95d25d7-4d32-4260-9322-e990474355e4, fqn: ['default-domain', 'ctest-TestBasicPolicy-12575409', 'ctest-policy-allow-all-46450495']
2026-08-04 06:17:48,972 - INFO - VN ctest-vn-57487524 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-04 06:17:48,972 - DEBUG - Verifying the vn in opserver
2026-08-04 06:17:48,972 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12575409:ctest-vn-57487524 virtual network link through opserver 10.0.0.50
2026-08-04 06:17:48,972 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-08-04 06:17:48,984 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12575409:ctest-vn-57487524', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12575409:ctest-vn-57487524?flat'}
2026-08-04 06:17:48,984 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12575409:ctest-vn-57487524 is found in opserver
2026-08-04 06:17:48,999 - DEBUG - Do not have enough data to verify VN in agent
2026-08-04 06:17:49,005 - DEBUG - VRF ids for VN ctest-vn-57487524: {}
2026-08-04 06:17:49,074 - DEBUG - Services list from nova: [