2026-09-16 04:27:15,518 - INFO - Domain Default found not creating
2026-09-16 04:27:15,707 - INFO - Project ctest-TestBasicPolicy-66246629 not found, creating it
2026-09-16 04:27:16,201 - INFO - Created Project:ctest-TestBasicPolicy-66246629, ID : 75eb14c9-8de9-4281-ba28-7edae7baac62
2026-09-16 04:27:17,790 - INFO - ================================================================================
2026-09-16 04:27:17,790 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-16 04:27:17,790 - 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-16 04:27:18,050 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.25': '0'}} with
2026-09-16 04:27:18,050 - INFO - Initial checks done. Running the testcase now
2026-09-16 04:27:18,050 - INFO -
2026-09-16 04:27:18,660 - DEBUG - Response for create_network : {'network': {'id': '1d6eef6b-8e2b-4035-b333-5f90d07b9588', 'name': 'ctest-vn-80225064', 'tenant_id': '75eb14c98de94281ba287edae7baac62', 'project_id': '75eb14c98de94281ba287edae7baac62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66246629', 'ctest-vn-80225064'], 'port_security_enabled': True, 'description': ''}}
2026-09-16 04:27:18,872 - DEBUG - Response for create_subnet : {'subnet': {'id': '81edb383-9c45-4b43-9c8d-d63e9609a9cf', 'name': '', 'tenant_id': '75eb14c98de94281ba287edae7baac62', 'network_id': '1d6eef6b-8e2b-4035-b333-5f90d07b9588', 'ip_version': 4, 'cidr': '85.70.226.0/26', 'allocation_pools': [{'start': '85.70.226.2', 'end': '85.70.226.62'}], 'gateway_ip': '85.70.226.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.70.226.2', 'tags': [], 'project_id': '75eb14c98de94281ba287edae7baac62'}}
2026-09-16 04:27:18,889 - INFO - Created VN ctest-vn-80225064
2026-09-16 04:27:18,942 - DEBUG - VN ctest-vn-80225064 UUID is 1d6eef6b-8e2b-4035-b333-5f90d07b9588
2026-09-16 04:27:19,268 - DEBUG - Response for create_network : {'network': {'id': '473d7b6d-f959-499d-bec0-f7bb17d08c0b', 'name': 'ctest-vn-45890913', 'tenant_id': '75eb14c98de94281ba287edae7baac62', 'project_id': '75eb14c98de94281ba287edae7baac62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66246629', 'ctest-vn-45890913'], 'port_security_enabled': True, 'description': ''}}
2026-09-16 04:27:19,447 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ceb35581-0846-4fd0-a5d8-e1b1965323af', 'name': '', 'tenant_id': '75eb14c98de94281ba287edae7baac62', 'network_id': '473d7b6d-f959-499d-bec0-f7bb17d08c0b', 'ip_version': 4, 'cidr': '11.192.216.0/26', 'allocation_pools': [{'start': '11.192.216.2', 'end': '11.192.216.62'}], 'gateway_ip': '11.192.216.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.192.216.2', 'tags': [], 'project_id': '75eb14c98de94281ba287edae7baac62'}}
2026-09-16 04:27:19,464 - INFO - Created VN ctest-vn-45890913
2026-09-16 04:27:19,518 - DEBUG - VN ctest-vn-45890913 UUID is 473d7b6d-f959-499d-bec0-f7bb17d08c0b
2026-09-16 04:27:19,639 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66246629:ctest-vn-80225064, 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-66246629:ctest-vn-45890913, 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-16 04:27:19,944 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1d6eef6b-8e2b-4035-b333-5f90d07b9588', 'name': 'ctest-vn-80225064', 'tenant_id': '75eb14c98de94281ba287edae7baac62', 'project_id': '75eb14c98de94281ba287edae7baac62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['81edb383-9c45-4b43-9c8d-d63e9609a9cf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66246629', 'ctest-vn-80225064'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66246629', 'ctest-policy-allow-all-75985403']], 'subnet_ipam': [{'subnet_cidr': '85.70.226.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-16 04:27:20,193 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '473d7b6d-f959-499d-bec0-f7bb17d08c0b', 'name': 'ctest-vn-45890913', 'tenant_id': '75eb14c98de94281ba287edae7baac62', 'project_id': '75eb14c98de94281ba287edae7baac62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['ceb35581-0846-4fd0-a5d8-e1b1965323af'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66246629', 'ctest-vn-45890913'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66246629', 'ctest-policy-allow-all-75985403']], 'subnet_ipam': [{'subnet_cidr': '11.192.216.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-16 04:27:20,362 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-09-16 04:27:20,694 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-09-16 04:27:20,727 - DEBUG - Requesting: http://10.0.0.161:8082/domain/a445d53b-493d-4c27-9120-b6f8684ea79d
2026-09-16 04:27:20,741 - DEBUG - Requesting: http://10.0.0.161:8082/project/75eb14c9-8de9-4281-ba28-7edae7baac62
2026-09-16 04:27:20,820 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/1d6eef6b-8e2b-4035-b333-5f90d07b9588
2026-09-16 04:27:20,834 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/1d6eef6b-8e2b-4035-b333-5f90d07b9588
2026-09-16 04:27:20,844 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/b5f5bab0-2b8e-4f97-b6b1-cee1e9fad712
2026-09-16 04:27:20,853 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/b5f5bab0-2b8e-4f97-b6b1-cee1e9fad712
2026-09-16 04:27:20,860 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/ca245251-d019-41e6-8475-85b4ec9a82bd
2026-09-16 04:27:20,867 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-16 04:27:20,867 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/1d6eef6b-8e2b-4035-b333-5f90d07b9588
2026-09-16 04:27:20,876 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/b5f5bab0-2b8e-4f97-b6b1-cee1e9fad712
2026-09-16 04:27:20,893 - INFO - Verified VN network id 12 for VN 1d6eef6b-8e2b-4035-b333-5f90d07b9588
2026-09-16 04:27:20,893 - INFO - Verifications in API Server for VN ctest-vn-80225064 passed
2026-09-16 04:27:20,893 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/1d6eef6b-8e2b-4035-b333-5f90d07b9588
2026-09-16 04:27:20,903 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/b5f5bab0-2b8e-4f97-b6b1-cee1e9fad712
2026-09-16 04:27:20,911 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/b5f5bab0-2b8e-4f97-b6b1-cee1e9fad712
2026-09-16 04:27:20,919 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/ca245251-d019-41e6-8475-85b4ec9a82bd
2026-09-16 04:27:20,933 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66246629:ctest-vn-80225064', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66246629', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2120895719763820597', 'uuid-lslong': '12912769632179033480'}, 'enable': 'true', 'created': '2026-09-16T04:27:18', 'last-modified': '2026-09-16T04:27:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.016076'}
2026-09-16 04:27:20,941 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-16 04:27:20,941 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80225064 passed
2026-09-16 04:27:20,941 - DEBUG - ====Verifying policy data for ctest-vn-80225064 in API_Server ======
2026-09-16 04:27:20,941 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-09-16 04:27:20,947 - DEBUG - Requesting: http://10.0.0.161:8082/domain/a445d53b-493d-4c27-9120-b6f8684ea79d
2026-09-16 04:27:20,958 - DEBUG - Requesting: http://10.0.0.161:8082/project/75eb14c9-8de9-4281-ba28-7edae7baac62
2026-09-16 04:27:21,035 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/1d6eef6b-8e2b-4035-b333-5f90d07b9588
2026-09-16 04:27:21,046 - DEBUG - ==>Verifying data for policy with id: 7e07cdff-6226-4a7c-b17a-d0dc9433fcfb, fqn: ['default-domain', 'ctest-TestBasicPolicy-66246629', 'ctest-policy-allow-all-75985403']
2026-09-16 04:27:21,046 - INFO - VN ctest-vn-80225064 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-16 04:27:21,046 - DEBUG - Verifying the vn in opserver
2026-09-16 04:27:21,046 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66246629:ctest-vn-80225064 virtual network link through opserver 10.0.0.161
2026-09-16 04:27:21,047 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-09-16 04:27:21,374 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-09-16 04:27:21,432 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66246629:ctest-vn-80225064', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66246629:ctest-vn-80225064?flat'}
2026-09-16 04:27:21,433 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66246629:ctest-vn-80225064 is found in opserver
2026-09-16 04:27:21,444 - DEBUG - Do not have enough data to verify VN in agent
2026-09-16 04:27:21,450 - DEBUG - VRF ids for VN ctest-vn-80225064: {}
2026-09-16 04:27:21,450 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-09-16 04:27:21,456 - DEBUG - Requesting: http://10.0.0.161:8082/domain/a445d53b-493d-4c27-9120-b6f8684ea79d
2026-09-16 04:27:21,468 - DEBUG - Requesting: http://10.0.0.161:8082/project/75eb14c9-8de9-4281-ba28-7edae7baac62
2026-09-16 04:27:21,547 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/473d7b6d-f959-499d-bec0-f7bb17d08c0b
2026-09-16 04:27:21,559 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/473d7b6d-f959-499d-bec0-f7bb17d08c0b
2026-09-16 04:27:21,570 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/397986a7-2607-4c12-9229-2a67e1e460dc
2026-09-16 04:27:21,578 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/397986a7-2607-4c12-9229-2a67e1e460dc
2026-09-16 04:27:21,588 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/d2874005-7a13-4623-af1b-db147c104a3e
2026-09-16 04:27:21,597 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-16 04:27:21,598 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/473d7b6d-f959-499d-bec0-f7bb17d08c0b
2026-09-16 04:27:21,612 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/397986a7-2607-4c12-9229-2a67e1e460dc
2026-09-16 04:27:21,628 - INFO - Verified VN network id 13 for VN 473d7b6d-f959-499d-bec0-f7bb17d08c0b
2026-09-16 04:27:21,628 - INFO - Verifications in API Server for VN ctest-vn-45890913 passed
2026-09-16 04:27:21,628 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/473d7b6d-f959-499d-bec0-f7bb17d08c0b
2026-09-16 04:27:21,641 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/397986a7-2607-4c12-9229-2a67e1e460dc
2026-09-16 04:27:21,649 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/397986a7-2607-4c12-9229-2a67e1e460dc
2026-09-16 04:27:21,657 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/d2874005-7a13-4623-af1b-db147c104a3e
2026-09-16 04:27:21,670 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66246629:ctest-vn-45890913', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66246629', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5133394862537263517', 'uuid-lslong': '13745258445665242123'}, 'enable': 'true', 'created': '2026-09-16T04:27:19', 'last-modified': '2026-09-16T04:27:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.503324'}
2026-09-16 04:27:21,677 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-16 04:27:21,677 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45890913 passed
2026-09-16 04:27:21,677 - DEBUG - ====Verifying policy data for ctest-vn-45890913 in API_Server ======
2026-09-16 04:27:21,677 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-09-16 04:27:21,683 - DEBUG - Requesting: http://10.0.0.161:8082/domain/a445d53b-493d-4c27-9120-b6f8684ea79d
2026-09-16 04:27:21,694 - DEBUG - Requesting: http://10.0.0.161:8082/project/75eb14c9-8de9-4281-ba28-7edae7baac62
2026-09-16 04:27:21,770 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/473d7b6d-f959-499d-bec0-f7bb17d08c0b
2026-09-16 04:27:21,781 - DEBUG - ==>Verifying data for policy with id: 7e07cdff-6226-4a7c-b17a-d0dc9433fcfb, fqn: ['default-domain', 'ctest-TestBasicPolicy-66246629', 'ctest-policy-allow-all-75985403']
2026-09-16 04:27:21,781 - INFO - VN ctest-vn-45890913 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-16 04:27:21,781 - DEBUG - Verifying the vn in opserver
2026-09-16 04:27:21,781 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66246629:ctest-vn-45890913 virtual network link through opserver 10.0.0.161
2026-09-16 04:27:21,781 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-09-16 04:27:21,791 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66246629:ctest-vn-45890913', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66246629:ctest-vn-45890913?flat'}
2026-09-16 04:27:21,791 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66246629:ctest-vn-45890913 is found in opserver
2026-09-16 04:27:21,801 - DEBUG - Do not have enough data to verify VN in agent
2026-09-16 04:27:21,806 - DEBUG - VRF ids for VN ctest-vn-45890913: {}
2026-09-16 04:27:21,871 - DEBUG - Services list from nova: [