2026-06-15 15:48:53,381 - INFO - Domain Default found not creating
2026-06-15 15:48:53,514 - INFO - Project ctest-TestBasicPolicy-37133457 not found, creating it
2026-06-15 15:48:53,953 - INFO - Created Project:ctest-TestBasicPolicy-37133457, ID : 5902024d-4af1-4c4d-82fc-ca04a777b469
2026-06-15 15:48:55,307 - INFO - ================================================================================
2026-06-15 15:48:55,307 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-15 15:48:55,307 - 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-06-15 15:48:55,572 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-06-15 15:48:55,572 - INFO - Initial checks done. Running the testcase now
2026-06-15 15:48:55,572 - INFO -
2026-06-15 15:48:56,085 - DEBUG - Response for create_network : {'network': {'id': '3bf97323-fe72-4efe-b645-6559f08d48e0', 'name': 'ctest-vn-61632326', 'tenant_id': '5902024d4af14c4d82fcca04a777b469', 'project_id': '5902024d4af14c4d82fcca04a777b469', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37133457', 'ctest-vn-61632326'], 'port_security_enabled': True, 'description': ''}}
2026-06-15 15:48:56,240 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d0cc443-4d94-429c-af30-7b3ae5344db7', 'name': '', 'tenant_id': '5902024d4af14c4d82fcca04a777b469', 'network_id': '3bf97323-fe72-4efe-b645-6559f08d48e0', 'ip_version': 4, 'cidr': '37.239.183.192/26', 'allocation_pools': [{'start': '37.239.183.194', 'end': '37.239.183.254'}], 'gateway_ip': '37.239.183.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.239.183.194', 'tags': [], 'project_id': '5902024d4af14c4d82fcca04a777b469'}}
2026-06-15 15:48:56,251 - INFO - Created VN ctest-vn-61632326
2026-06-15 15:48:56,299 - DEBUG - VN ctest-vn-61632326 UUID is 3bf97323-fe72-4efe-b645-6559f08d48e0
2026-06-15 15:48:56,574 - DEBUG - Response for create_network : {'network': {'id': '80be3f0c-6d9b-4582-b0b2-9affb6c03cf1', 'name': 'ctest-vn-87057704', 'tenant_id': '5902024d4af14c4d82fcca04a777b469', 'project_id': '5902024d4af14c4d82fcca04a777b469', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37133457', 'ctest-vn-87057704'], 'port_security_enabled': True, 'description': ''}}
2026-06-15 15:48:56,779 - DEBUG - Response for create_subnet : {'subnet': {'id': '21d3a462-f40d-443f-8b55-072739379519', 'name': '', 'tenant_id': '5902024d4af14c4d82fcca04a777b469', 'network_id': '80be3f0c-6d9b-4582-b0b2-9affb6c03cf1', 'ip_version': 4, 'cidr': '121.33.253.0/26', 'allocation_pools': [{'start': '121.33.253.2', 'end': '121.33.253.62'}], 'gateway_ip': '121.33.253.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.33.253.2', 'tags': [], 'project_id': '5902024d4af14c4d82fcca04a777b469'}}
2026-06-15 15:48:56,790 - INFO - Created VN ctest-vn-87057704
2026-06-15 15:48:56,839 - DEBUG - VN ctest-vn-87057704 UUID is 80be3f0c-6d9b-4582-b0b2-9affb6c03cf1
2026-06-15 15:48:56,967 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-37133457:ctest-vn-61632326, 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-37133457:ctest-vn-87057704, 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-06-15 15:48:57,251 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3bf97323-fe72-4efe-b645-6559f08d48e0', 'name': 'ctest-vn-61632326', 'tenant_id': '5902024d4af14c4d82fcca04a777b469', 'project_id': '5902024d4af14c4d82fcca04a777b469', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4d0cc443-4d94-429c-af30-7b3ae5344db7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37133457', 'ctest-vn-61632326'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37133457', 'ctest-policy-allow-all-90258911']], 'subnet_ipam': [{'subnet_cidr': '37.239.183.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-15 15:48:57,456 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '80be3f0c-6d9b-4582-b0b2-9affb6c03cf1', 'name': 'ctest-vn-87057704', 'tenant_id': '5902024d4af14c4d82fcca04a777b469', 'project_id': '5902024d4af14c4d82fcca04a777b469', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['21d3a462-f40d-443f-8b55-072739379519'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37133457', 'ctest-vn-87057704'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37133457', 'ctest-policy-allow-all-90258911']], 'subnet_ipam': [{'subnet_cidr': '121.33.253.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-15 15:48:57,607 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-15 15:48:57,919 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-15 15:48:57,941 - DEBUG - Requesting: http://10.0.0.50:8082/domain/523b4a15-bd43-4e34-938c-4416669f21aa
2026-06-15 15:48:57,951 - DEBUG - Requesting: http://10.0.0.50:8082/project/5902024d-4af1-4c4d-82fc-ca04a777b469
2026-06-15 15:48:58,015 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3bf97323-fe72-4efe-b645-6559f08d48e0
2026-06-15 15:48:58,025 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3bf97323-fe72-4efe-b645-6559f08d48e0
2026-06-15 15:48:58,031 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ab482843-76dc-48c8-a76c-f5d7b89e8a1b
2026-06-15 15:48:58,036 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ab482843-76dc-48c8-a76c-f5d7b89e8a1b
2026-06-15 15:48:58,041 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/92c33f9d-d5b7-4def-8139-145f2e837e09
2026-06-15 15:48:58,045 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-15 15:48:58,045 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3bf97323-fe72-4efe-b645-6559f08d48e0
2026-06-15 15:48:58,051 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ab482843-76dc-48c8-a76c-f5d7b89e8a1b
2026-06-15 15:48:58,061 - INFO - Verified VN network id 11 for VN 3bf97323-fe72-4efe-b645-6559f08d48e0
2026-06-15 15:48:58,061 - INFO - Verifications in API Server for VN ctest-vn-61632326 passed
2026-06-15 15:48:58,061 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3bf97323-fe72-4efe-b645-6559f08d48e0
2026-06-15 15:48:58,068 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ab482843-76dc-48c8-a76c-f5d7b89e8a1b
2026-06-15 15:48:58,072 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ab482843-76dc-48c8-a76c-f5d7b89e8a1b
2026-06-15 15:48:58,077 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/92c33f9d-d5b7-4def-8139-145f2e837e09
2026-06-15 15:48:58,085 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37133457:ctest-vn-61632326', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37133457', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4321611915868655358', 'uuid-lslong': '13134015325258205408'}, 'enable': 'true', 'created': '2026-06-15T15:48:56', 'last-modified': '2026-06-15T15:48:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.851265'}
2026-06-15 15:48:58,090 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-15 15:48:58,090 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61632326 passed
2026-06-15 15:48:58,090 - DEBUG - ====Verifying policy data for ctest-vn-61632326 in API_Server ======
2026-06-15 15:48:58,090 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-15 15:48:58,094 - DEBUG - Requesting: http://10.0.0.50:8082/domain/523b4a15-bd43-4e34-938c-4416669f21aa
2026-06-15 15:48:58,101 - DEBUG - Requesting: http://10.0.0.50:8082/project/5902024d-4af1-4c4d-82fc-ca04a777b469
2026-06-15 15:48:58,172 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3bf97323-fe72-4efe-b645-6559f08d48e0
2026-06-15 15:48:58,180 - DEBUG - ==>Verifying data for policy with id: e973f873-7036-404c-979c-84448ddb6fe2, fqn: ['default-domain', 'ctest-TestBasicPolicy-37133457', 'ctest-policy-allow-all-90258911']
2026-06-15 15:48:58,180 - INFO - VN ctest-vn-61632326 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-15 15:48:58,180 - DEBUG - Verifying the vn in opserver
2026-06-15 15:48:58,180 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37133457:ctest-vn-61632326 virtual network link through opserver 10.0.0.50
2026-06-15 15:48:58,180 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-15 15:48:58,497 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-15 15:48:58,546 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37133457:ctest-vn-61632326', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37133457:ctest-vn-61632326?flat'}
2026-06-15 15:48:58,546 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37133457:ctest-vn-61632326 is found in opserver
2026-06-15 15:48:58,554 - DEBUG - Do not have enough data to verify VN in agent
2026-06-15 15:48:58,558 - DEBUG - VRF ids for VN ctest-vn-61632326: {}
2026-06-15 15:48:58,558 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-15 15:48:58,562 - DEBUG - Requesting: http://10.0.0.50:8082/domain/523b4a15-bd43-4e34-938c-4416669f21aa
2026-06-15 15:48:58,570 - DEBUG - Requesting: http://10.0.0.50:8082/project/5902024d-4af1-4c4d-82fc-ca04a777b469
2026-06-15 15:48:58,633 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/80be3f0c-6d9b-4582-b0b2-9affb6c03cf1
2026-06-15 15:48:58,642 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/80be3f0c-6d9b-4582-b0b2-9affb6c03cf1
2026-06-15 15:48:58,648 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/03b4636d-4d03-42d2-8dfb-537a40ded96e
2026-06-15 15:48:58,653 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/03b4636d-4d03-42d2-8dfb-537a40ded96e
2026-06-15 15:48:58,658 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/064b18c6-483c-401a-815a-ccd70487ce44
2026-06-15 15:48:58,662 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-15 15:48:58,663 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/80be3f0c-6d9b-4582-b0b2-9affb6c03cf1
2026-06-15 15:48:58,669 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/03b4636d-4d03-42d2-8dfb-537a40ded96e
2026-06-15 15:48:58,679 - INFO - Verified VN network id 12 for VN 80be3f0c-6d9b-4582-b0b2-9affb6c03cf1
2026-06-15 15:48:58,679 - INFO - Verifications in API Server for VN ctest-vn-87057704 passed
2026-06-15 15:48:58,679 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/80be3f0c-6d9b-4582-b0b2-9affb6c03cf1
2026-06-15 15:48:58,686 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/03b4636d-4d03-42d2-8dfb-537a40ded96e
2026-06-15 15:48:58,691 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/03b4636d-4d03-42d2-8dfb-537a40ded96e
2026-06-15 15:48:58,695 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/064b18c6-483c-401a-815a-ccd70487ce44
2026-06-15 15:48:58,704 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37133457:ctest-vn-87057704', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37133457', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9276921605040850306', 'uuid-lslong': '12732409519603203313'}, 'enable': 'true', 'created': '2026-06-15T15:48:56', 'last-modified': '2026-06-15T15:48:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.264319'}
2026-06-15 15:48:58,708 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-15 15:48:58,708 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87057704 passed
2026-06-15 15:48:58,708 - DEBUG - ====Verifying policy data for ctest-vn-87057704 in API_Server ======
2026-06-15 15:48:58,708 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-15 15:48:58,712 - DEBUG - Requesting: http://10.0.0.50:8082/domain/523b4a15-bd43-4e34-938c-4416669f21aa
2026-06-15 15:48:58,720 - DEBUG - Requesting: http://10.0.0.50:8082/project/5902024d-4af1-4c4d-82fc-ca04a777b469
2026-06-15 15:48:58,786 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/80be3f0c-6d9b-4582-b0b2-9affb6c03cf1
2026-06-15 15:48:58,793 - DEBUG - ==>Verifying data for policy with id: e973f873-7036-404c-979c-84448ddb6fe2, fqn: ['default-domain', 'ctest-TestBasicPolicy-37133457', 'ctest-policy-allow-all-90258911']
2026-06-15 15:48:58,793 - INFO - VN ctest-vn-87057704 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-15 15:48:58,793 - DEBUG - Verifying the vn in opserver
2026-06-15 15:48:58,793 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37133457:ctest-vn-87057704 virtual network link through opserver 10.0.0.50
2026-06-15 15:48:58,793 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-15 15:48:58,800 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37133457:ctest-vn-87057704', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37133457:ctest-vn-87057704?flat'}
2026-06-15 15:48:58,800 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37133457:ctest-vn-87057704 is found in opserver
2026-06-15 15:48:58,807 - DEBUG - Do not have enough data to verify VN in agent
2026-06-15 15:48:58,811 - DEBUG - VRF ids for VN ctest-vn-87057704: {}
2026-06-15 15:48:58,863 - DEBUG - Services list from nova: [