2026-01-07 14:36:00,496 - INFO - Domain Default found not creating
2026-01-07 14:36:00,650 - INFO - Project ctest-TestBasicPolicy-30622329 not found, creating it
2026-01-07 14:36:01,096 - INFO - Created Project:ctest-TestBasicPolicy-30622329, ID : f84be881-c761-4d8a-bd5d-8f6a450bc59b
2026-01-07 14:36:02,528 - INFO - ================================================================================
2026-01-07 14:36:02,529 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-07 14:36:02,529 - 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-01-07 14:36:02,782 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2026-01-07 14:36:02,782 - INFO - Initial checks done. Running the testcase now
2026-01-07 14:36:02,782 - INFO -
2026-01-07 14:36:03,334 - DEBUG - Response for create_network : {'network': {'id': '1c03a503-b9ab-45e1-8e04-a3ed0c2c2c9a', 'name': 'ctest-vn-27967633', 'tenant_id': 'f84be881c7614d8abd5d8f6a450bc59b', 'project_id': 'f84be881c7614d8abd5d8f6a450bc59b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30622329', 'ctest-vn-27967633'], 'port_security_enabled': True, 'description': ''}}
2026-01-07 14:36:03,529 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb51d4e7-441a-493f-8438-b019fba17efc', 'name': '', 'tenant_id': 'f84be881c7614d8abd5d8f6a450bc59b', 'network_id': '1c03a503-b9ab-45e1-8e04-a3ed0c2c2c9a', 'ip_version': 4, 'cidr': '51.158.165.64/26', 'allocation_pools': [{'start': '51.158.165.66', 'end': '51.158.165.126'}], 'gateway_ip': '51.158.165.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.158.165.66', 'tags': [], 'project_id': 'f84be881c7614d8abd5d8f6a450bc59b'}}
2026-01-07 14:36:03,548 - INFO - Created VN ctest-vn-27967633
2026-01-07 14:36:03,601 - DEBUG - VN ctest-vn-27967633 UUID is 1c03a503-b9ab-45e1-8e04-a3ed0c2c2c9a
2026-01-07 14:36:03,907 - DEBUG - Response for create_network : {'network': {'id': '7174137e-1af3-4200-b880-ffdc774cd0bb', 'name': 'ctest-vn-63063358', 'tenant_id': 'f84be881c7614d8abd5d8f6a450bc59b', 'project_id': 'f84be881c7614d8abd5d8f6a450bc59b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30622329', 'ctest-vn-63063358'], 'port_security_enabled': True, 'description': ''}}
2026-01-07 14:36:04,122 - DEBUG - Response for create_subnet : {'subnet': {'id': '7fd1067b-1b8d-45f0-8c95-2aa49ae71d81', 'name': '', 'tenant_id': 'f84be881c7614d8abd5d8f6a450bc59b', 'network_id': '7174137e-1af3-4200-b880-ffdc774cd0bb', 'ip_version': 4, 'cidr': '84.68.50.0/26', 'allocation_pools': [{'start': '84.68.50.2', 'end': '84.68.50.62'}], 'gateway_ip': '84.68.50.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.68.50.2', 'tags': [], 'project_id': 'f84be881c7614d8abd5d8f6a450bc59b'}}
2026-01-07 14:36:04,139 - INFO - Created VN ctest-vn-63063358
2026-01-07 14:36:04,193 - DEBUG - VN ctest-vn-63063358 UUID is 7174137e-1af3-4200-b880-ffdc774cd0bb
2026-01-07 14:36:04,345 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-30622329:ctest-vn-27967633, 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-30622329:ctest-vn-63063358, 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-01-07 14:36:04,637 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1c03a503-b9ab-45e1-8e04-a3ed0c2c2c9a', 'name': 'ctest-vn-27967633', 'tenant_id': 'f84be881c7614d8abd5d8f6a450bc59b', 'project_id': 'f84be881c7614d8abd5d8f6a450bc59b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bb51d4e7-441a-493f-8438-b019fba17efc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30622329', 'ctest-vn-27967633'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30622329', 'ctest-policy-allow-all-50863526']], 'subnet_ipam': [{'subnet_cidr': '51.158.165.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-07 14:36:04,862 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7174137e-1af3-4200-b880-ffdc774cd0bb', 'name': 'ctest-vn-63063358', 'tenant_id': 'f84be881c7614d8abd5d8f6a450bc59b', 'project_id': 'f84be881c7614d8abd5d8f6a450bc59b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7fd1067b-1b8d-45f0-8c95-2aa49ae71d81'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30622329', 'ctest-vn-63063358'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30622329', 'ctest-policy-allow-all-50863526']], 'subnet_ipam': [{'subnet_cidr': '84.68.50.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-07 14:36:05,021 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-01-07 14:36:05,320 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-01-07 14:36:05,352 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5ff24043-93dc-47e2-a211-f7d7a5ceb3b5
2026-01-07 14:36:05,363 - DEBUG - Requesting: http://10.0.0.33:8082/project/f84be881-c761-4d8a-bd5d-8f6a450bc59b
2026-01-07 14:36:05,448 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1c03a503-b9ab-45e1-8e04-a3ed0c2c2c9a
2026-01-07 14:36:05,461 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1c03a503-b9ab-45e1-8e04-a3ed0c2c2c9a
2026-01-07 14:36:05,473 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7c53d1f2-7bef-4522-89fd-33eda6110729
2026-01-07 14:36:05,481 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7c53d1f2-7bef-4522-89fd-33eda6110729
2026-01-07 14:36:05,488 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/c1c6bf6f-c904-4443-ab46-24513b560a91
2026-01-07 14:36:05,494 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-07 14:36:05,494 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1c03a503-b9ab-45e1-8e04-a3ed0c2c2c9a
2026-01-07 14:36:05,504 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7c53d1f2-7bef-4522-89fd-33eda6110729
2026-01-07 14:36:05,520 - INFO - Verified VN network id 11 for VN 1c03a503-b9ab-45e1-8e04-a3ed0c2c2c9a
2026-01-07 14:36:05,521 - INFO - Verifications in API Server for VN ctest-vn-27967633 passed
2026-01-07 14:36:05,521 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1c03a503-b9ab-45e1-8e04-a3ed0c2c2c9a
2026-01-07 14:36:05,531 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7c53d1f2-7bef-4522-89fd-33eda6110729
2026-01-07 14:36:05,539 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7c53d1f2-7bef-4522-89fd-33eda6110729
2026-01-07 14:36:05,546 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/c1c6bf6f-c904-4443-ab46-24513b560a91
2026-01-07 14:36:05,557 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30622329:ctest-vn-27967633', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30622329', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2018638493410608609', 'uuid-lslong': '10233484491799407770'}, 'enable': 'true', 'created': '2026-01-07T14:36:03', 'last-modified': '2026-01-07T14:36:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.936348'}
2026-01-07 14:36:05,563 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-07 14:36:05,563 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27967633 passed
2026-01-07 14:36:05,563 - DEBUG - ====Verifying policy data for ctest-vn-27967633 in API_Server ======
2026-01-07 14:36:05,564 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-01-07 14:36:05,569 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5ff24043-93dc-47e2-a211-f7d7a5ceb3b5
2026-01-07 14:36:05,580 - DEBUG - Requesting: http://10.0.0.33:8082/project/f84be881-c761-4d8a-bd5d-8f6a450bc59b
2026-01-07 14:36:05,648 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1c03a503-b9ab-45e1-8e04-a3ed0c2c2c9a
2026-01-07 14:36:05,656 - DEBUG - ==>Verifying data for policy with id: d05c72d0-691e-4cc6-8440-960ead6e430d, fqn: ['default-domain', 'ctest-TestBasicPolicy-30622329', 'ctest-policy-allow-all-50863526']
2026-01-07 14:36:05,656 - INFO - VN ctest-vn-27967633 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-07 14:36:05,656 - DEBUG - Verifying the vn in opserver
2026-01-07 14:36:05,656 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30622329:ctest-vn-27967633 virtual network link through opserver 10.0.0.33
2026-01-07 14:36:05,656 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-01-07 14:36:05,946 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-01-07 14:36:06,002 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30622329:ctest-vn-27967633', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30622329:ctest-vn-27967633?flat'}
2026-01-07 14:36:06,002 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30622329:ctest-vn-27967633 is found in opserver
2026-01-07 14:36:06,012 - DEBUG - Do not have enough data to verify VN in agent
2026-01-07 14:36:06,017 - DEBUG - VRF ids for VN ctest-vn-27967633: {}
2026-01-07 14:36:06,017 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-01-07 14:36:06,022 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5ff24043-93dc-47e2-a211-f7d7a5ceb3b5
2026-01-07 14:36:06,034 - DEBUG - Requesting: http://10.0.0.33:8082/project/f84be881-c761-4d8a-bd5d-8f6a450bc59b
2026-01-07 14:36:06,104 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7174137e-1af3-4200-b880-ffdc774cd0bb
2026-01-07 14:36:06,117 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7174137e-1af3-4200-b880-ffdc774cd0bb
2026-01-07 14:36:06,126 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7d575941-5fbd-4e28-9401-9ec2a572ad61
2026-01-07 14:36:06,133 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7d575941-5fbd-4e28-9401-9ec2a572ad61
2026-01-07 14:36:06,140 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/048f2085-bb71-4bb6-af6c-fb3aa0cef34f
2026-01-07 14:36:06,147 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-07 14:36:06,147 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7174137e-1af3-4200-b880-ffdc774cd0bb
2026-01-07 14:36:06,155 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7d575941-5fbd-4e28-9401-9ec2a572ad61
2026-01-07 14:36:06,171 - INFO - Verified VN network id 12 for VN 7174137e-1af3-4200-b880-ffdc774cd0bb
2026-01-07 14:36:06,171 - INFO - Verifications in API Server for VN ctest-vn-63063358 passed
2026-01-07 14:36:06,172 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7174137e-1af3-4200-b880-ffdc774cd0bb
2026-01-07 14:36:06,182 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7d575941-5fbd-4e28-9401-9ec2a572ad61
2026-01-07 14:36:06,189 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7d575941-5fbd-4e28-9401-9ec2a572ad61
2026-01-07 14:36:06,197 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/048f2085-bb71-4bb6-af6c-fb3aa0cef34f
2026-01-07 14:36:06,208 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30622329:ctest-vn-63063358', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30622329', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8175180655923249664', 'uuid-lslong': '13294907422357115067'}, 'enable': 'true', 'created': '2026-01-07T14:36:03', 'last-modified': '2026-01-07T14:36:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.367074'}
2026-01-07 14:36:06,214 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-07 14:36:06,214 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63063358 passed
2026-01-07 14:36:06,214 - DEBUG - ====Verifying policy data for ctest-vn-63063358 in API_Server ======
2026-01-07 14:36:06,214 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-01-07 14:36:06,223 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5ff24043-93dc-47e2-a211-f7d7a5ceb3b5
2026-01-07 14:36:06,234 - DEBUG - Requesting: http://10.0.0.33:8082/project/f84be881-c761-4d8a-bd5d-8f6a450bc59b
2026-01-07 14:36:06,301 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7174137e-1af3-4200-b880-ffdc774cd0bb
2026-01-07 14:36:06,312 - DEBUG - ==>Verifying data for policy with id: d05c72d0-691e-4cc6-8440-960ead6e430d, fqn: ['default-domain', 'ctest-TestBasicPolicy-30622329', 'ctest-policy-allow-all-50863526']
2026-01-07 14:36:06,312 - INFO - VN ctest-vn-63063358 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-07 14:36:06,312 - DEBUG - Verifying the vn in opserver
2026-01-07 14:36:06,312 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30622329:ctest-vn-63063358 virtual network link through opserver 10.0.0.33
2026-01-07 14:36:06,312 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-01-07 14:36:06,321 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30622329:ctest-vn-63063358', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30622329:ctest-vn-63063358?flat'}
2026-01-07 14:36:06,321 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30622329:ctest-vn-63063358 is found in opserver
2026-01-07 14:36:06,332 - DEBUG - Do not have enough data to verify VN in agent
2026-01-07 14:36:06,337 - DEBUG - VRF ids for VN ctest-vn-63063358: {}
2026-01-07 14:36:06,406 - DEBUG - Services list from nova: [