2026-09-11 07:29:46,900 - INFO - Domain Default found not creating
2026-09-11 07:29:47,097 - INFO - Project ctest-TestBasicPolicy-36080276 not found, creating it
2026-09-11 07:29:47,664 - INFO - Created Project:ctest-TestBasicPolicy-36080276, ID : a25ebffe-67f2-4163-b2a8-8ef39cdfef4f
2026-09-11 07:29:49,532 - INFO - ================================================================================
2026-09-11 07:29:49,532 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-11 07:29:49,532 - 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-09-11 07:29:49,808 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with
2026-09-11 07:29:49,809 - INFO - Initial checks done. Running the testcase now
2026-09-11 07:29:49,809 - INFO -
2026-09-11 07:29:51,257 - DEBUG - Response for create_network : {'network': {'id': '58ee9dd3-3942-44a7-92e4-e95edac73c63', 'name': 'ctest-vn-82160696', 'tenant_id': 'a25ebffe67f24163b2a88ef39cdfef4f', 'project_id': 'a25ebffe67f24163b2a88ef39cdfef4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36080276', 'ctest-vn-82160696'], 'port_security_enabled': True, 'description': ''}}
2026-09-11 07:29:51,474 - DEBUG - Response for create_subnet : {'subnet': {'id': '91249ac0-3a9f-4c38-8eac-7bce07c88932', 'name': '', 'tenant_id': 'a25ebffe67f24163b2a88ef39cdfef4f', 'network_id': '58ee9dd3-3942-44a7-92e4-e95edac73c63', 'ip_version': 4, 'cidr': '19.199.67.192/26', 'allocation_pools': [{'start': '19.199.67.194', 'end': '19.199.67.254'}], 'gateway_ip': '19.199.67.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.199.67.194', 'tags': [], 'project_id': 'a25ebffe67f24163b2a88ef39cdfef4f'}}
2026-09-11 07:29:51,497 - INFO - Created VN ctest-vn-82160696
2026-09-11 07:29:51,554 - DEBUG - VN ctest-vn-82160696 UUID is 58ee9dd3-3942-44a7-92e4-e95edac73c63
2026-09-11 07:29:51,926 - DEBUG - Response for create_network : {'network': {'id': 'de7c29b3-0e89-487f-9d41-7e3f03228524', 'name': 'ctest-vn-20674741', 'tenant_id': 'a25ebffe67f24163b2a88ef39cdfef4f', 'project_id': 'a25ebffe67f24163b2a88ef39cdfef4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36080276', 'ctest-vn-20674741'], 'port_security_enabled': True, 'description': ''}}
2026-09-11 07:29:52,164 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a5ac7e75-c17a-43b3-9598-d8e2571eb39e', 'name': '', 'tenant_id': 'a25ebffe67f24163b2a88ef39cdfef4f', 'network_id': 'de7c29b3-0e89-487f-9d41-7e3f03228524', 'ip_version': 4, 'cidr': '206.93.163.64/26', 'allocation_pools': [{'start': '206.93.163.66', 'end': '206.93.163.126'}], 'gateway_ip': '206.93.163.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.93.163.66', 'tags': [], 'project_id': 'a25ebffe67f24163b2a88ef39cdfef4f'}}
2026-09-11 07:29:52,183 - INFO - Created VN ctest-vn-20674741
2026-09-11 07:29:52,242 - DEBUG - VN ctest-vn-20674741 UUID is de7c29b3-0e89-487f-9d41-7e3f03228524
2026-09-11 07:29:52,371 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-36080276:ctest-vn-82160696, 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-36080276:ctest-vn-20674741, 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-09-11 07:29:52,715 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '58ee9dd3-3942-44a7-92e4-e95edac73c63', 'name': 'ctest-vn-82160696', 'tenant_id': 'a25ebffe67f24163b2a88ef39cdfef4f', 'project_id': 'a25ebffe67f24163b2a88ef39cdfef4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['91249ac0-3a9f-4c38-8eac-7bce07c88932'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36080276', 'ctest-vn-82160696'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36080276', 'ctest-policy-allow-all-37001504']], 'subnet_ipam': [{'subnet_cidr': '19.199.67.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-11 07:29:52,987 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'de7c29b3-0e89-487f-9d41-7e3f03228524', 'name': 'ctest-vn-20674741', 'tenant_id': 'a25ebffe67f24163b2a88ef39cdfef4f', 'project_id': 'a25ebffe67f24163b2a88ef39cdfef4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['a5ac7e75-c17a-43b3-9598-d8e2571eb39e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36080276', 'ctest-vn-20674741'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36080276', 'ctest-policy-allow-all-37001504']], 'subnet_ipam': [{'subnet_cidr': '206.93.163.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-11 07:29:53,158 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-09-11 07:29:53,532 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-09-11 07:29:53,564 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3415585b-ae0c-43ec-821d-5d55059e2417
2026-09-11 07:29:53,579 - DEBUG - Requesting: http://10.0.0.50:8082/project/a25ebffe-67f2-4163-b2a8-8ef39cdfef4f
2026-09-11 07:29:53,665 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/58ee9dd3-3942-44a7-92e4-e95edac73c63
2026-09-11 07:29:53,681 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/58ee9dd3-3942-44a7-92e4-e95edac73c63
2026-09-11 07:29:53,695 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/faccc310-c479-497e-89b8-b6bd8ab686b0
2026-09-11 07:29:53,706 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/faccc310-c479-497e-89b8-b6bd8ab686b0
2026-09-11 07:29:53,715 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/75bc11db-300b-4a11-91f7-da65220a5c4b
2026-09-11 07:29:53,723 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-11 07:29:53,723 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/58ee9dd3-3942-44a7-92e4-e95edac73c63
2026-09-11 07:29:53,735 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/faccc310-c479-497e-89b8-b6bd8ab686b0
2026-09-11 07:29:53,753 - INFO - Verified VN network id 12 for VN 58ee9dd3-3942-44a7-92e4-e95edac73c63
2026-09-11 07:29:53,753 - INFO - Verifications in API Server for VN ctest-vn-82160696 passed
2026-09-11 07:29:53,754 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/58ee9dd3-3942-44a7-92e4-e95edac73c63
2026-09-11 07:29:53,765 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/faccc310-c479-497e-89b8-b6bd8ab686b0
2026-09-11 07:29:53,775 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/faccc310-c479-497e-89b8-b6bd8ab686b0
2026-09-11 07:29:53,785 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/75bc11db-300b-4a11-91f7-da65220a5c4b
2026-09-11 07:29:53,801 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36080276:ctest-vn-82160696', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36080276', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6408232850319099047', 'uuid-lslong': '10584841617834196067'}, 'enable': 'true', 'created': '2026-09-11T07:29:51', 'last-modified': '2026-09-11T07:29:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.111595'}
2026-09-11 07:29:53,811 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-11 07:29:53,811 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82160696 passed
2026-09-11 07:29:53,812 - DEBUG - ====Verifying policy data for ctest-vn-82160696 in API_Server ======
2026-09-11 07:29:53,812 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-09-11 07:29:53,819 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3415585b-ae0c-43ec-821d-5d55059e2417
2026-09-11 07:29:53,834 - DEBUG - Requesting: http://10.0.0.50:8082/project/a25ebffe-67f2-4163-b2a8-8ef39cdfef4f
2026-09-11 07:29:53,919 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/58ee9dd3-3942-44a7-92e4-e95edac73c63
2026-09-11 07:29:53,930 - DEBUG - ==>Verifying data for policy with id: 241251ff-aa12-490d-8f66-0d12befcf3c3, fqn: ['default-domain', 'ctest-TestBasicPolicy-36080276', 'ctest-policy-allow-all-37001504']
2026-09-11 07:29:53,930 - INFO - VN ctest-vn-82160696 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-11 07:29:53,930 - DEBUG - Verifying the vn in opserver
2026-09-11 07:29:53,930 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36080276:ctest-vn-82160696 virtual network link through opserver 10.0.0.50
2026-09-11 07:29:53,930 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-09-11 07:29:54,303 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-09-11 07:29:54,365 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36080276:ctest-vn-82160696', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36080276:ctest-vn-82160696?flat'}
2026-09-11 07:29:54,365 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36080276:ctest-vn-82160696 is found in opserver
2026-09-11 07:29:54,378 - DEBUG - Do not have enough data to verify VN in agent
2026-09-11 07:29:54,385 - DEBUG - VRF ids for VN ctest-vn-82160696: {}
2026-09-11 07:29:54,385 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-09-11 07:29:54,392 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3415585b-ae0c-43ec-821d-5d55059e2417
2026-09-11 07:29:54,405 - DEBUG - Requesting: http://10.0.0.50:8082/project/a25ebffe-67f2-4163-b2a8-8ef39cdfef4f
2026-09-11 07:29:54,486 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/de7c29b3-0e89-487f-9d41-7e3f03228524
2026-09-11 07:29:54,504 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/de7c29b3-0e89-487f-9d41-7e3f03228524
2026-09-11 07:29:54,517 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c4c5ce1d-438b-41d9-ae45-d3431b3185bf
2026-09-11 07:29:54,527 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c4c5ce1d-438b-41d9-ae45-d3431b3185bf
2026-09-11 07:29:54,538 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4d262401-fbc4-473d-908f-688890333caa
2026-09-11 07:29:54,547 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-11 07:29:54,547 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/de7c29b3-0e89-487f-9d41-7e3f03228524
2026-09-11 07:29:54,560 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c4c5ce1d-438b-41d9-ae45-d3431b3185bf
2026-09-11 07:29:54,580 - INFO - Verified VN network id 13 for VN de7c29b3-0e89-487f-9d41-7e3f03228524
2026-09-11 07:29:54,580 - INFO - Verifications in API Server for VN ctest-vn-20674741 passed
2026-09-11 07:29:54,581 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/de7c29b3-0e89-487f-9d41-7e3f03228524
2026-09-11 07:29:54,592 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c4c5ce1d-438b-41d9-ae45-d3431b3185bf
2026-09-11 07:29:54,602 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c4c5ce1d-438b-41d9-ae45-d3431b3185bf
2026-09-11 07:29:54,612 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4d262401-fbc4-473d-908f-688890333caa
2026-09-11 07:29:54,627 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36080276:ctest-vn-20674741', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36080276', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16031734622551885951', 'uuid-lslong': '11331476946541511972'}, 'enable': 'true', 'created': '2026-09-11T07:29:51', 'last-modified': '2026-09-11T07:29:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.677416'}
2026-09-11 07:29:54,636 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-11 07:29:54,636 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20674741 passed
2026-09-11 07:29:54,637 - DEBUG - ====Verifying policy data for ctest-vn-20674741 in API_Server ======
2026-09-11 07:29:54,637 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-09-11 07:29:54,645 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3415585b-ae0c-43ec-821d-5d55059e2417
2026-09-11 07:29:54,660 - DEBUG - Requesting: http://10.0.0.50:8082/project/a25ebffe-67f2-4163-b2a8-8ef39cdfef4f
2026-09-11 07:29:54,740 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/de7c29b3-0e89-487f-9d41-7e3f03228524
2026-09-11 07:29:54,751 - DEBUG - ==>Verifying data for policy with id: 241251ff-aa12-490d-8f66-0d12befcf3c3, fqn: ['default-domain', 'ctest-TestBasicPolicy-36080276', 'ctest-policy-allow-all-37001504']
2026-09-11 07:29:54,751 - INFO - VN ctest-vn-20674741 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-11 07:29:54,751 - DEBUG - Verifying the vn in opserver
2026-09-11 07:29:54,751 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36080276:ctest-vn-20674741 virtual network link through opserver 10.0.0.50
2026-09-11 07:29:54,751 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-09-11 07:29:54,766 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36080276:ctest-vn-20674741', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36080276:ctest-vn-20674741?flat'}
2026-09-11 07:29:54,766 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36080276:ctest-vn-20674741 is found in opserver
2026-09-11 07:29:54,782 - DEBUG - Do not have enough data to verify VN in agent
2026-09-11 07:29:54,790 - DEBUG - VRF ids for VN ctest-vn-20674741: {}
2026-09-11 07:29:54,874 - DEBUG - Services list from nova: [