2026-02-10 11:33:07,903 - INFO - Domain Default found not creating
2026-02-10 11:33:08,231 - INFO - Project ctest-TestBasicPolicy-38186738 not found, creating it
2026-02-10 11:33:08,887 - INFO - Created Project:ctest-TestBasicPolicy-38186738, ID : 7b8aa896-79ee-4add-841c-6d80d68a965b
2026-02-10 11:33:11,074 - INFO - ================================================================================
2026-02-10 11:33:11,074 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-10 11:33:11,074 - 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-10 11:33:11,361 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-02-10 11:33:11,361 - INFO - Initial checks done. Running the testcase now
2026-02-10 11:33:11,361 - INFO -
2026-02-10 11:33:12,114 - DEBUG - Response for create_network : {'network': {'id': 'f9f623b9-f4a4-4f17-9622-54ded61c7747', 'name': 'ctest-vn-87449284', 'tenant_id': '7b8aa89679ee4add841c6d80d68a965b', 'project_id': '7b8aa89679ee4add841c6d80d68a965b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38186738', 'ctest-vn-87449284'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 11:33:12,399 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd04dea5e-cac7-477a-b9da-09b1228c6d9d', 'name': '', 'tenant_id': '7b8aa89679ee4add841c6d80d68a965b', 'network_id': 'f9f623b9-f4a4-4f17-9622-54ded61c7747', 'ip_version': 4, 'cidr': '194.166.95.192/26', 'allocation_pools': [{'start': '194.166.95.194', 'end': '194.166.95.254'}], 'gateway_ip': '194.166.95.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.166.95.194', 'tags': [], 'project_id': '7b8aa89679ee4add841c6d80d68a965b'}}
2026-02-10 11:33:12,418 - INFO - Created VN ctest-vn-87449284
2026-02-10 11:33:12,475 - DEBUG - VN ctest-vn-87449284 UUID is f9f623b9-f4a4-4f17-9622-54ded61c7747
2026-02-10 11:33:12,829 - DEBUG - Response for create_network : {'network': {'id': '1bfba1f8-9105-4cca-bb86-055922491c49', 'name': 'ctest-vn-47701181', 'tenant_id': '7b8aa89679ee4add841c6d80d68a965b', 'project_id': '7b8aa89679ee4add841c6d80d68a965b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38186738', 'ctest-vn-47701181'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 11:33:12,990 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cd0796fa-62ce-4f02-9a6d-78b7f7cae835', 'name': '', 'tenant_id': '7b8aa89679ee4add841c6d80d68a965b', 'network_id': '1bfba1f8-9105-4cca-bb86-055922491c49', 'ip_version': 4, 'cidr': '137.160.107.64/26', 'allocation_pools': [{'start': '137.160.107.66', 'end': '137.160.107.126'}], 'gateway_ip': '137.160.107.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.160.107.66', 'tags': [], 'project_id': '7b8aa89679ee4add841c6d80d68a965b'}}
2026-02-10 11:33:13,011 - INFO - Created VN ctest-vn-47701181
2026-02-10 11:33:13,063 - DEBUG - VN ctest-vn-47701181 UUID is 1bfba1f8-9105-4cca-bb86-055922491c49
2026-02-10 11:33:13,211 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-38186738:ctest-vn-87449284, 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-38186738:ctest-vn-47701181, 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-10 11:33:13,567 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f9f623b9-f4a4-4f17-9622-54ded61c7747', 'name': 'ctest-vn-87449284', 'tenant_id': '7b8aa89679ee4add841c6d80d68a965b', 'project_id': '7b8aa89679ee4add841c6d80d68a965b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d04dea5e-cac7-477a-b9da-09b1228c6d9d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38186738', 'ctest-vn-87449284'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38186738', 'ctest-policy-allow-all-87923206']], 'subnet_ipam': [{'subnet_cidr': '194.166.95.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 11:33:13,911 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1bfba1f8-9105-4cca-bb86-055922491c49', 'name': 'ctest-vn-47701181', 'tenant_id': '7b8aa89679ee4add841c6d80d68a965b', 'project_id': '7b8aa89679ee4add841c6d80d68a965b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cd0796fa-62ce-4f02-9a6d-78b7f7cae835'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38186738', 'ctest-vn-47701181'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38186738', 'ctest-policy-allow-all-87923206']], 'subnet_ipam': [{'subnet_cidr': '137.160.107.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 11:33:14,067 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-10 11:33:14,375 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-10 11:33:14,431 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7492b9ef-d4fe-4fce-a4a2-a8bbe9c3adac
2026-02-10 11:33:14,456 - DEBUG - Requesting: http://10.0.0.50:8082/project/7b8aa896-79ee-4add-841c-6d80d68a965b
2026-02-10 11:33:14,551 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f9f623b9-f4a4-4f17-9622-54ded61c7747
2026-02-10 11:33:14,569 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f9f623b9-f4a4-4f17-9622-54ded61c7747
2026-02-10 11:33:14,581 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e826911e-87ed-489e-94fe-7fb53425618b
2026-02-10 11:33:14,590 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e826911e-87ed-489e-94fe-7fb53425618b
2026-02-10 11:33:14,600 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/45ab5d16-417d-4263-95be-0b5686e19402
2026-02-10 11:33:14,608 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 11:33:14,608 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f9f623b9-f4a4-4f17-9622-54ded61c7747
2026-02-10 11:33:14,621 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e826911e-87ed-489e-94fe-7fb53425618b
2026-02-10 11:33:14,646 - INFO - Verified VN network id 10 for VN f9f623b9-f4a4-4f17-9622-54ded61c7747
2026-02-10 11:33:14,646 - INFO - Verifications in API Server for VN ctest-vn-87449284 passed
2026-02-10 11:33:14,646 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f9f623b9-f4a4-4f17-9622-54ded61c7747
2026-02-10 11:33:14,659 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e826911e-87ed-489e-94fe-7fb53425618b
2026-02-10 11:33:14,669 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e826911e-87ed-489e-94fe-7fb53425618b
2026-02-10 11:33:14,679 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/45ab5d16-417d-4263-95be-0b5686e19402
2026-02-10 11:33:14,693 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38186738:ctest-vn-87449284', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38186738', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18011623041295208215', 'uuid-lslong': '10818302570949015367'}, 'enable': 'true', 'created': '2026-02-10T11:33:12', 'last-modified': '2026-02-10T11:33:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.163072'}
2026-02-10 11:33:14,700 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 11:33:14,700 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87449284 passed
2026-02-10 11:33:14,700 - DEBUG - ====Verifying policy data for ctest-vn-87449284 in API_Server ======
2026-02-10 11:33:14,700 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-10 11:33:14,705 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7492b9ef-d4fe-4fce-a4a2-a8bbe9c3adac
2026-02-10 11:33:14,720 - DEBUG - Requesting: http://10.0.0.50:8082/project/7b8aa896-79ee-4add-841c-6d80d68a965b
2026-02-10 11:33:14,800 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f9f623b9-f4a4-4f17-9622-54ded61c7747
2026-02-10 11:33:14,815 - DEBUG - ==>Verifying data for policy with id: 573ccd05-7397-443a-b886-5c48673f30d9, fqn: ['default-domain', 'ctest-TestBasicPolicy-38186738', 'ctest-policy-allow-all-87923206']
2026-02-10 11:33:14,815 - INFO - VN ctest-vn-87449284 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 11:33:14,815 - DEBUG - Verifying the vn in opserver
2026-02-10 11:33:14,815 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38186738:ctest-vn-87449284 virtual network link through opserver 10.0.0.50
2026-02-10 11:33:14,816 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-10 11:33:15,129 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-10 11:33:15,206 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38186738:ctest-vn-87449284', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38186738:ctest-vn-87449284?flat'}
2026-02-10 11:33:15,206 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38186738:ctest-vn-87449284 is found in opserver
2026-02-10 11:33:15,218 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 11:33:15,224 - DEBUG - VRF ids for VN ctest-vn-87449284: {}
2026-02-10 11:33:15,225 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-10 11:33:15,232 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7492b9ef-d4fe-4fce-a4a2-a8bbe9c3adac
2026-02-10 11:33:15,250 - DEBUG - Requesting: http://10.0.0.50:8082/project/7b8aa896-79ee-4add-841c-6d80d68a965b
2026-02-10 11:33:15,328 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1bfba1f8-9105-4cca-bb86-055922491c49
2026-02-10 11:33:15,346 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1bfba1f8-9105-4cca-bb86-055922491c49
2026-02-10 11:33:15,357 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/021a2392-170d-41fb-8f02-715bdb4cdce1
2026-02-10 11:33:15,367 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/021a2392-170d-41fb-8f02-715bdb4cdce1
2026-02-10 11:33:15,375 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/49d565e9-30b0-4553-931d-e8775e9498dd
2026-02-10 11:33:15,384 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 11:33:15,384 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1bfba1f8-9105-4cca-bb86-055922491c49
2026-02-10 11:33:15,397 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/021a2392-170d-41fb-8f02-715bdb4cdce1
2026-02-10 11:33:15,416 - INFO - Verified VN network id 11 for VN 1bfba1f8-9105-4cca-bb86-055922491c49
2026-02-10 11:33:15,416 - INFO - Verifications in API Server for VN ctest-vn-47701181 passed
2026-02-10 11:33:15,416 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1bfba1f8-9105-4cca-bb86-055922491c49
2026-02-10 11:33:15,429 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/021a2392-170d-41fb-8f02-715bdb4cdce1
2026-02-10 11:33:15,440 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/021a2392-170d-41fb-8f02-715bdb4cdce1
2026-02-10 11:33:15,449 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/49d565e9-30b0-4553-931d-e8775e9498dd
2026-02-10 11:33:15,465 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38186738:ctest-vn-47701181', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38186738', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2016383347135433930', 'uuid-lslong': '13512493612357196873'}, 'enable': 'true', 'created': '2026-02-10T11:33:12', 'last-modified': '2026-02-10T11:33:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.642883'}
2026-02-10 11:33:15,474 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 11:33:15,474 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47701181 passed
2026-02-10 11:33:15,474 - DEBUG - ====Verifying policy data for ctest-vn-47701181 in API_Server ======
2026-02-10 11:33:15,474 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-10 11:33:15,481 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7492b9ef-d4fe-4fce-a4a2-a8bbe9c3adac
2026-02-10 11:33:15,494 - DEBUG - Requesting: http://10.0.0.50:8082/project/7b8aa896-79ee-4add-841c-6d80d68a965b
2026-02-10 11:33:15,581 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1bfba1f8-9105-4cca-bb86-055922491c49
2026-02-10 11:33:15,596 - DEBUG - ==>Verifying data for policy with id: 573ccd05-7397-443a-b886-5c48673f30d9, fqn: ['default-domain', 'ctest-TestBasicPolicy-38186738', 'ctest-policy-allow-all-87923206']
2026-02-10 11:33:15,596 - INFO - VN ctest-vn-47701181 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 11:33:15,596 - DEBUG - Verifying the vn in opserver
2026-02-10 11:33:15,596 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38186738:ctest-vn-47701181 virtual network link through opserver 10.0.0.50
2026-02-10 11:33:15,596 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-10 11:33:15,610 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38186738:ctest-vn-47701181', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38186738:ctest-vn-47701181?flat'}
2026-02-10 11:33:15,610 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38186738:ctest-vn-47701181 is found in opserver
2026-02-10 11:33:15,621 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 11:33:15,627 - DEBUG - VRF ids for VN ctest-vn-47701181: {}
2026-02-10 11:33:15,692 - DEBUG - Services list from nova: [