2026-06-15 02:01:31,618 - INFO - Domain Default found not creating
2026-06-15 02:01:31,769 - INFO - Project ctest-TestBasicPolicy-22797592 not found, creating it
2026-06-15 02:01:32,206 - INFO - Created Project:ctest-TestBasicPolicy-22797592, ID : 3e3e4aa3-fdc1-499f-8bb1-41b1d328b16b
2026-06-15 02:01:33,641 - INFO - ================================================================================
2026-06-15 02:01:33,641 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-15 02:01:33,641 - 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 02:01:33,896 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.192': '0'}} with
2026-06-15 02:01:33,896 - INFO - Initial checks done. Running the testcase now
2026-06-15 02:01:33,896 - INFO -
2026-06-15 02:01:34,425 - DEBUG - Response for create_network : {'network': {'id': '1710a847-9a92-4d8b-b0fc-4fce88a03c25', 'name': 'ctest-vn-03720169', 'tenant_id': '3e3e4aa3fdc1499f8bb141b1d328b16b', 'project_id': '3e3e4aa3fdc1499f8bb141b1d328b16b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22797592', 'ctest-vn-03720169'], 'port_security_enabled': True, 'description': ''}}
2026-06-15 02:01:34,588 - DEBUG - Response for create_subnet : {'subnet': {'id': '4786b9d3-e430-41a2-96fc-5d23f3a8d327', 'name': '', 'tenant_id': '3e3e4aa3fdc1499f8bb141b1d328b16b', 'network_id': '1710a847-9a92-4d8b-b0fc-4fce88a03c25', 'ip_version': 4, 'cidr': '164.154.126.128/26', 'allocation_pools': [{'start': '164.154.126.130', 'end': '164.154.126.190'}], 'gateway_ip': '164.154.126.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.154.126.130', 'tags': [], 'project_id': '3e3e4aa3fdc1499f8bb141b1d328b16b'}}
2026-06-15 02:01:34,602 - INFO - Created VN ctest-vn-03720169
2026-06-15 02:01:34,655 - DEBUG - VN ctest-vn-03720169 UUID is 1710a847-9a92-4d8b-b0fc-4fce88a03c25
2026-06-15 02:01:34,957 - DEBUG - Response for create_network : {'network': {'id': '278b7556-3a98-4c62-992b-a5b252bb47ca', 'name': 'ctest-vn-92551421', 'tenant_id': '3e3e4aa3fdc1499f8bb141b1d328b16b', 'project_id': '3e3e4aa3fdc1499f8bb141b1d328b16b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22797592', 'ctest-vn-92551421'], 'port_security_enabled': True, 'description': ''}}
2026-06-15 02:01:35,166 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a8d48c4d-d791-433f-8591-2e3cd2f4fa69', 'name': '', 'tenant_id': '3e3e4aa3fdc1499f8bb141b1d328b16b', 'network_id': '278b7556-3a98-4c62-992b-a5b252bb47ca', 'ip_version': 4, 'cidr': '169.48.219.192/26', 'allocation_pools': [{'start': '169.48.219.194', 'end': '169.48.219.254'}], 'gateway_ip': '169.48.219.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.48.219.194', 'tags': [], 'project_id': '3e3e4aa3fdc1499f8bb141b1d328b16b'}}
2026-06-15 02:01:35,179 - INFO - Created VN ctest-vn-92551421
2026-06-15 02:01:35,227 - DEBUG - VN ctest-vn-92551421 UUID is 278b7556-3a98-4c62-992b-a5b252bb47ca
2026-06-15 02:01:35,367 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-22797592:ctest-vn-03720169, 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-22797592:ctest-vn-92551421, 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 02:01:35,645 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1710a847-9a92-4d8b-b0fc-4fce88a03c25', 'name': 'ctest-vn-03720169', 'tenant_id': '3e3e4aa3fdc1499f8bb141b1d328b16b', 'project_id': '3e3e4aa3fdc1499f8bb141b1d328b16b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4786b9d3-e430-41a2-96fc-5d23f3a8d327'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22797592', 'ctest-vn-03720169'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22797592', 'ctest-policy-allow-all-92088095']], 'subnet_ipam': [{'subnet_cidr': '164.154.126.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-15 02:01:35,863 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '278b7556-3a98-4c62-992b-a5b252bb47ca', 'name': 'ctest-vn-92551421', 'tenant_id': '3e3e4aa3fdc1499f8bb141b1d328b16b', 'project_id': '3e3e4aa3fdc1499f8bb141b1d328b16b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a8d48c4d-d791-433f-8591-2e3cd2f4fa69'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22797592', 'ctest-vn-92551421'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22797592', 'ctest-policy-allow-all-92088095']], 'subnet_ipam': [{'subnet_cidr': '169.48.219.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-15 02:01:36,019 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-06-15 02:01:36,342 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-06-15 02:01:36,367 - DEBUG - Requesting: http://10.0.0.73:8082/domain/9ef4c734-fc46-4dd4-912b-0b27cb45e5b4
2026-06-15 02:01:36,377 - DEBUG - Requesting: http://10.0.0.73:8082/project/3e3e4aa3-fdc1-499f-8bb1-41b1d328b16b
2026-06-15 02:01:36,443 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/1710a847-9a92-4d8b-b0fc-4fce88a03c25
2026-06-15 02:01:36,453 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/1710a847-9a92-4d8b-b0fc-4fce88a03c25
2026-06-15 02:01:36,460 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/117e7581-1982-4ec5-ae16-eee7951bdb6b
2026-06-15 02:01:36,466 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/117e7581-1982-4ec5-ae16-eee7951bdb6b
2026-06-15 02:01:36,471 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/09af8b47-4f3d-4a36-8a88-1e829673c26e
2026-06-15 02:01:36,476 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-15 02:01:36,476 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/1710a847-9a92-4d8b-b0fc-4fce88a03c25
2026-06-15 02:01:36,484 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/117e7581-1982-4ec5-ae16-eee7951bdb6b
2026-06-15 02:01:36,495 - INFO - Verified VN network id 11 for VN 1710a847-9a92-4d8b-b0fc-4fce88a03c25
2026-06-15 02:01:36,495 - INFO - Verifications in API Server for VN ctest-vn-03720169 passed
2026-06-15 02:01:36,495 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/1710a847-9a92-4d8b-b0fc-4fce88a03c25
2026-06-15 02:01:36,503 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/117e7581-1982-4ec5-ae16-eee7951bdb6b
2026-06-15 02:01:36,508 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/117e7581-1982-4ec5-ae16-eee7951bdb6b
2026-06-15 02:01:36,514 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/09af8b47-4f3d-4a36-8a88-1e829673c26e
2026-06-15 02:01:36,523 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22797592:ctest-vn-03720169', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22797592', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1662013287989136779', 'uuid-lslong': '12753155993280461861'}, 'enable': 'true', 'created': '2026-06-15T02:01:34', 'last-modified': '2026-06-15T02:01:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.895448'}
2026-06-15 02:01:36,528 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-15 02:01:36,529 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03720169 passed
2026-06-15 02:01:36,529 - DEBUG - ====Verifying policy data for ctest-vn-03720169 in API_Server ======
2026-06-15 02:01:36,529 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-06-15 02:01:36,533 - DEBUG - Requesting: http://10.0.0.73:8082/domain/9ef4c734-fc46-4dd4-912b-0b27cb45e5b4
2026-06-15 02:01:36,545 - DEBUG - Requesting: http://10.0.0.73:8082/project/3e3e4aa3-fdc1-499f-8bb1-41b1d328b16b
2026-06-15 02:01:36,613 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/1710a847-9a92-4d8b-b0fc-4fce88a03c25
2026-06-15 02:01:36,621 - DEBUG - ==>Verifying data for policy with id: 48ee01ee-3634-46c9-b773-7fd673274dea, fqn: ['default-domain', 'ctest-TestBasicPolicy-22797592', 'ctest-policy-allow-all-92088095']
2026-06-15 02:01:36,621 - INFO - VN ctest-vn-03720169 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-15 02:01:36,621 - DEBUG - Verifying the vn in opserver
2026-06-15 02:01:36,621 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22797592:ctest-vn-03720169 virtual network link through opserver 10.0.0.73
2026-06-15 02:01:36,621 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks
2026-06-15 02:01:36,936 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks
2026-06-15 02:01:36,985 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22797592:ctest-vn-03720169', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22797592:ctest-vn-03720169?flat'}
2026-06-15 02:01:36,985 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22797592:ctest-vn-03720169 is found in opserver
2026-06-15 02:01:36,993 - DEBUG - Do not have enough data to verify VN in agent
2026-06-15 02:01:36,997 - DEBUG - VRF ids for VN ctest-vn-03720169: {}
2026-06-15 02:01:36,997 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-06-15 02:01:37,002 - DEBUG - Requesting: http://10.0.0.73:8082/domain/9ef4c734-fc46-4dd4-912b-0b27cb45e5b4
2026-06-15 02:01:37,011 - DEBUG - Requesting: http://10.0.0.73:8082/project/3e3e4aa3-fdc1-499f-8bb1-41b1d328b16b
2026-06-15 02:01:37,077 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/278b7556-3a98-4c62-992b-a5b252bb47ca
2026-06-15 02:01:37,086 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/278b7556-3a98-4c62-992b-a5b252bb47ca
2026-06-15 02:01:37,094 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/e4b5eeef-e2e3-4029-9c0a-eaaa5f5aa4a6
2026-06-15 02:01:37,100 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/e4b5eeef-e2e3-4029-9c0a-eaaa5f5aa4a6
2026-06-15 02:01:37,107 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/94a3182b-112a-4311-8629-0f02c6a929e1
2026-06-15 02:01:37,112 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-15 02:01:37,112 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/278b7556-3a98-4c62-992b-a5b252bb47ca
2026-06-15 02:01:37,119 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/e4b5eeef-e2e3-4029-9c0a-eaaa5f5aa4a6
2026-06-15 02:01:37,130 - INFO - Verified VN network id 12 for VN 278b7556-3a98-4c62-992b-a5b252bb47ca
2026-06-15 02:01:37,130 - INFO - Verifications in API Server for VN ctest-vn-92551421 passed
2026-06-15 02:01:37,130 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/278b7556-3a98-4c62-992b-a5b252bb47ca
2026-06-15 02:01:37,138 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/e4b5eeef-e2e3-4029-9c0a-eaaa5f5aa4a6
2026-06-15 02:01:37,144 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/e4b5eeef-e2e3-4029-9c0a-eaaa5f5aa4a6
2026-06-15 02:01:37,150 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/94a3182b-112a-4311-8629-0f02c6a929e1
2026-06-15 02:01:37,159 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22797592:ctest-vn-92551421', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22797592', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2849500202452667490', 'uuid-lslong': '11037097497112299466'}, 'enable': 'true', 'created': '2026-06-15T02:01:34', 'last-modified': '2026-06-15T02:01:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.315696'}
2026-06-15 02:01:37,164 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-15 02:01:37,164 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92551421 passed
2026-06-15 02:01:37,164 - DEBUG - ====Verifying policy data for ctest-vn-92551421 in API_Server ======
2026-06-15 02:01:37,164 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-06-15 02:01:37,169 - DEBUG - Requesting: http://10.0.0.73:8082/domain/9ef4c734-fc46-4dd4-912b-0b27cb45e5b4
2026-06-15 02:01:37,180 - DEBUG - Requesting: http://10.0.0.73:8082/project/3e3e4aa3-fdc1-499f-8bb1-41b1d328b16b
2026-06-15 02:01:37,246 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/278b7556-3a98-4c62-992b-a5b252bb47ca
2026-06-15 02:01:37,256 - DEBUG - ==>Verifying data for policy with id: 48ee01ee-3634-46c9-b773-7fd673274dea, fqn: ['default-domain', 'ctest-TestBasicPolicy-22797592', 'ctest-policy-allow-all-92088095']
2026-06-15 02:01:37,256 - INFO - VN ctest-vn-92551421 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-15 02:01:37,256 - DEBUG - Verifying the vn in opserver
2026-06-15 02:01:37,256 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22797592:ctest-vn-92551421 virtual network link through opserver 10.0.0.73
2026-06-15 02:01:37,256 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks
2026-06-15 02:01:37,264 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22797592:ctest-vn-92551421', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22797592:ctest-vn-92551421?flat'}
2026-06-15 02:01:37,264 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22797592:ctest-vn-92551421 is found in opserver
2026-06-15 02:01:37,273 - DEBUG - Do not have enough data to verify VN in agent
2026-06-15 02:01:37,278 - DEBUG - VRF ids for VN ctest-vn-92551421: {}
2026-06-15 02:01:37,337 - DEBUG - Services list from nova: [