2026-02-02 11:05:10,324 - INFO - Domain Default found not creating
2026-02-02 11:05:10,522 - INFO - Project ctest-TestBasicPolicy-83682059 not found, creating it
2026-02-02 11:05:11,005 - INFO - Created Project:ctest-TestBasicPolicy-83682059, ID : e1ee2a84-2361-4c9a-9d2d-0c808788ee78
2026-02-02 11:05:12,484 - INFO - ================================================================================
2026-02-02 11:05:12,484 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-02 11:05:12,484 - 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-02-02 11:05:12,741 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-02-02 11:05:12,742 - INFO - Initial checks done. Running the testcase now
2026-02-02 11:05:12,742 - INFO -
2026-02-02 11:05:13,299 - DEBUG - Response for create_network : {'network': {'id': '4a9ea03a-5cbf-4d10-a4bd-c5aae169d3fa', 'name': 'ctest-vn-54703836', 'tenant_id': 'e1ee2a8423614c9a9d2d0c808788ee78', 'project_id': 'e1ee2a8423614c9a9d2d0c808788ee78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83682059', 'ctest-vn-54703836'], 'port_security_enabled': True, 'description': ''}}
2026-02-02 11:05:13,446 - DEBUG - Response for create_subnet : {'subnet': {'id': '44e01d08-8155-4069-ba42-b4cf797c4faf', 'name': '', 'tenant_id': 'e1ee2a8423614c9a9d2d0c808788ee78', 'network_id': '4a9ea03a-5cbf-4d10-a4bd-c5aae169d3fa', 'ip_version': 4, 'cidr': '76.78.41.128/26', 'allocation_pools': [{'start': '76.78.41.130', 'end': '76.78.41.190'}], 'gateway_ip': '76.78.41.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.78.41.130', 'tags': [], 'project_id': 'e1ee2a8423614c9a9d2d0c808788ee78'}}
2026-02-02 11:05:13,462 - INFO - Created VN ctest-vn-54703836
2026-02-02 11:05:13,511 - DEBUG - VN ctest-vn-54703836 UUID is 4a9ea03a-5cbf-4d10-a4bd-c5aae169d3fa
2026-02-02 11:05:13,830 - DEBUG - Response for create_network : {'network': {'id': '54f48c50-35d9-4a21-b964-6a302009c16f', 'name': 'ctest-vn-72691014', 'tenant_id': 'e1ee2a8423614c9a9d2d0c808788ee78', 'project_id': 'e1ee2a8423614c9a9d2d0c808788ee78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83682059', 'ctest-vn-72691014'], 'port_security_enabled': True, 'description': ''}}
2026-02-02 11:05:13,970 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e41fedc5-a2c4-493c-8dc0-e15d50aacfeb', 'name': '', 'tenant_id': 'e1ee2a8423614c9a9d2d0c808788ee78', 'network_id': '54f48c50-35d9-4a21-b964-6a302009c16f', 'ip_version': 4, 'cidr': '213.158.58.0/26', 'allocation_pools': [{'start': '213.158.58.2', 'end': '213.158.58.62'}], 'gateway_ip': '213.158.58.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.158.58.2', 'tags': [], 'project_id': 'e1ee2a8423614c9a9d2d0c808788ee78'}}
2026-02-02 11:05:13,987 - INFO - Created VN ctest-vn-72691014
2026-02-02 11:05:14,039 - DEBUG - VN ctest-vn-72691014 UUID is 54f48c50-35d9-4a21-b964-6a302009c16f
2026-02-02 11:05:14,151 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-83682059:ctest-vn-54703836, 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-83682059:ctest-vn-72691014, 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-02-02 11:05:14,431 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4a9ea03a-5cbf-4d10-a4bd-c5aae169d3fa', 'name': 'ctest-vn-54703836', 'tenant_id': 'e1ee2a8423614c9a9d2d0c808788ee78', 'project_id': 'e1ee2a8423614c9a9d2d0c808788ee78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['44e01d08-8155-4069-ba42-b4cf797c4faf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83682059', 'ctest-vn-54703836'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83682059', 'ctest-policy-allow-all-81495288']], 'subnet_ipam': [{'subnet_cidr': '76.78.41.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-02 11:05:14,656 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '54f48c50-35d9-4a21-b964-6a302009c16f', 'name': 'ctest-vn-72691014', 'tenant_id': 'e1ee2a8423614c9a9d2d0c808788ee78', 'project_id': 'e1ee2a8423614c9a9d2d0c808788ee78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e41fedc5-a2c4-493c-8dc0-e15d50aacfeb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83682059', 'ctest-vn-72691014'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83682059', 'ctest-policy-allow-all-81495288']], 'subnet_ipam': [{'subnet_cidr': '213.158.58.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-02 11:05:14,803 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-02 11:05:15,098 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-02 11:05:15,131 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c1a77e27-717f-41f0-ba91-a071550ff6bd
2026-02-02 11:05:15,143 - DEBUG - Requesting: http://10.0.0.50:8082/project/e1ee2a84-2361-4c9a-9d2d-0c808788ee78
2026-02-02 11:05:15,213 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4a9ea03a-5cbf-4d10-a4bd-c5aae169d3fa
2026-02-02 11:05:15,224 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4a9ea03a-5cbf-4d10-a4bd-c5aae169d3fa
2026-02-02 11:05:15,234 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/51a3cfd5-1888-4fe9-87bf-36bc8a8fe98c
2026-02-02 11:05:15,241 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/51a3cfd5-1888-4fe9-87bf-36bc8a8fe98c
2026-02-02 11:05:15,247 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8ec26bc2-e70b-43ee-9f83-61162d449348
2026-02-02 11:05:15,254 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-02 11:05:15,254 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4a9ea03a-5cbf-4d10-a4bd-c5aae169d3fa
2026-02-02 11:05:15,265 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/51a3cfd5-1888-4fe9-87bf-36bc8a8fe98c
2026-02-02 11:05:15,280 - INFO - Verified VN network id 12 for VN 4a9ea03a-5cbf-4d10-a4bd-c5aae169d3fa
2026-02-02 11:05:15,280 - INFO - Verifications in API Server for VN ctest-vn-54703836 passed
2026-02-02 11:05:15,280 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4a9ea03a-5cbf-4d10-a4bd-c5aae169d3fa
2026-02-02 11:05:15,289 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/51a3cfd5-1888-4fe9-87bf-36bc8a8fe98c
2026-02-02 11:05:15,295 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/51a3cfd5-1888-4fe9-87bf-36bc8a8fe98c
2026-02-02 11:05:15,302 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8ec26bc2-e70b-43ee-9f83-61162d449348
2026-02-02 11:05:15,315 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83682059:ctest-vn-54703836', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83682059', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5376911177651539216', 'uuid-lslong': '11870861530535416826'}, 'enable': 'true', 'created': '2026-02-02T11:05:13', 'last-modified': '2026-02-02T11:05:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.900441'}
2026-02-02 11:05:15,322 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-02 11:05:15,322 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54703836 passed
2026-02-02 11:05:15,323 - DEBUG - ====Verifying policy data for ctest-vn-54703836 in API_Server ======
2026-02-02 11:05:15,323 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-02 11:05:15,329 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c1a77e27-717f-41f0-ba91-a071550ff6bd
2026-02-02 11:05:15,341 - DEBUG - Requesting: http://10.0.0.50:8082/project/e1ee2a84-2361-4c9a-9d2d-0c808788ee78
2026-02-02 11:05:15,410 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4a9ea03a-5cbf-4d10-a4bd-c5aae169d3fa
2026-02-02 11:05:15,418 - DEBUG - ==>Verifying data for policy with id: eb4ef562-d017-4a15-9e8d-eae9fa19e6a9, fqn: ['default-domain', 'ctest-TestBasicPolicy-83682059', 'ctest-policy-allow-all-81495288']
2026-02-02 11:05:15,418 - INFO - VN ctest-vn-54703836 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-02 11:05:15,418 - DEBUG - Verifying the vn in opserver
2026-02-02 11:05:15,418 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83682059:ctest-vn-54703836 virtual network link through opserver 10.0.0.50
2026-02-02 11:05:15,418 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-02 11:05:15,722 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-02 11:05:15,780 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83682059:ctest-vn-54703836', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83682059:ctest-vn-54703836?flat'}
2026-02-02 11:05:15,780 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83682059:ctest-vn-54703836 is found in opserver
2026-02-02 11:05:15,789 - DEBUG - Do not have enough data to verify VN in agent
2026-02-02 11:05:15,793 - DEBUG - VRF ids for VN ctest-vn-54703836: {}
2026-02-02 11:05:15,793 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-02 11:05:15,798 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c1a77e27-717f-41f0-ba91-a071550ff6bd
2026-02-02 11:05:15,808 - DEBUG - Requesting: http://10.0.0.50:8082/project/e1ee2a84-2361-4c9a-9d2d-0c808788ee78
2026-02-02 11:05:15,875 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/54f48c50-35d9-4a21-b964-6a302009c16f
2026-02-02 11:05:15,886 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/54f48c50-35d9-4a21-b964-6a302009c16f
2026-02-02 11:05:15,894 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1b689a85-3eb7-40b9-a3f4-36efc0a72c9e
2026-02-02 11:05:15,900 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1b689a85-3eb7-40b9-a3f4-36efc0a72c9e
2026-02-02 11:05:15,906 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/6004cc88-9c2b-4884-9c21-dff9edc3ea13
2026-02-02 11:05:15,912 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-02 11:05:15,912 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/54f48c50-35d9-4a21-b964-6a302009c16f
2026-02-02 11:05:15,921 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1b689a85-3eb7-40b9-a3f4-36efc0a72c9e
2026-02-02 11:05:15,933 - INFO - Verified VN network id 13 for VN 54f48c50-35d9-4a21-b964-6a302009c16f
2026-02-02 11:05:15,934 - INFO - Verifications in API Server for VN ctest-vn-72691014 passed
2026-02-02 11:05:15,934 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/54f48c50-35d9-4a21-b964-6a302009c16f
2026-02-02 11:05:15,942 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1b689a85-3eb7-40b9-a3f4-36efc0a72c9e
2026-02-02 11:05:15,948 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1b689a85-3eb7-40b9-a3f4-36efc0a72c9e
2026-02-02 11:05:15,955 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/6004cc88-9c2b-4884-9c21-dff9edc3ea13
2026-02-02 11:05:15,965 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83682059:ctest-vn-72691014', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83682059', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6121672069632051745', 'uuid-lslong': '13358919149616218479'}, 'enable': 'true', 'created': '2026-02-02T11:05:13', 'last-modified': '2026-02-02T11:05:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.329111'}
2026-02-02 11:05:15,970 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-02 11:05:15,970 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72691014 passed
2026-02-02 11:05:15,970 - DEBUG - ====Verifying policy data for ctest-vn-72691014 in API_Server ======
2026-02-02 11:05:15,970 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-02 11:05:15,976 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c1a77e27-717f-41f0-ba91-a071550ff6bd
2026-02-02 11:05:15,986 - DEBUG - Requesting: http://10.0.0.50:8082/project/e1ee2a84-2361-4c9a-9d2d-0c808788ee78
2026-02-02 11:05:16,053 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/54f48c50-35d9-4a21-b964-6a302009c16f
2026-02-02 11:05:16,061 - DEBUG - ==>Verifying data for policy with id: eb4ef562-d017-4a15-9e8d-eae9fa19e6a9, fqn: ['default-domain', 'ctest-TestBasicPolicy-83682059', 'ctest-policy-allow-all-81495288']
2026-02-02 11:05:16,061 - INFO - VN ctest-vn-72691014 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-02 11:05:16,061 - DEBUG - Verifying the vn in opserver
2026-02-02 11:05:16,061 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83682059:ctest-vn-72691014 virtual network link through opserver 10.0.0.50
2026-02-02 11:05:16,061 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-02 11:05:16,070 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83682059:ctest-vn-72691014', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83682059:ctest-vn-72691014?flat'}
2026-02-02 11:05:16,070 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83682059:ctest-vn-72691014 is found in opserver
2026-02-02 11:05:16,081 - DEBUG - Do not have enough data to verify VN in agent
2026-02-02 11:05:16,087 - DEBUG - VRF ids for VN ctest-vn-72691014: {}
2026-02-02 11:05:16,149 - DEBUG - Services list from nova: [