2026-06-01 18:30:57,740 - INFO - Domain Default found not creating
2026-06-01 18:30:57,924 - INFO - Project ctest-TestBasicPolicy-52947220 not found, creating it
2026-06-01 18:30:58,415 - INFO - Created Project:ctest-TestBasicPolicy-52947220, ID : 1de22018-0f64-4d7a-ac6c-c7924cedcc86
2026-06-01 18:30:59,916 - INFO - ================================================================================
2026-06-01 18:30:59,916 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-01 18:30:59,916 - 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-01 18:31:00,179 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.129': '0'}} with
2026-06-01 18:31:00,180 - INFO - Initial checks done. Running the testcase now
2026-06-01 18:31:00,180 - INFO -
2026-06-01 18:31:00,750 - DEBUG - Response for create_network : {'network': {'id': '2f10ff2c-6103-4c33-b41b-3ef95d90bd75', 'name': 'ctest-vn-19551179', 'tenant_id': '1de220180f644d7aac6cc7924cedcc86', 'project_id': '1de220180f644d7aac6cc7924cedcc86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52947220', 'ctest-vn-19551179'], 'port_security_enabled': True, 'description': ''}}
2026-06-01 18:31:00,917 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af50043e-26d4-4558-a60c-e87b96e38273', 'name': '', 'tenant_id': '1de220180f644d7aac6cc7924cedcc86', 'network_id': '2f10ff2c-6103-4c33-b41b-3ef95d90bd75', 'ip_version': 4, 'cidr': '138.235.104.64/26', 'allocation_pools': [{'start': '138.235.104.66', 'end': '138.235.104.126'}], 'gateway_ip': '138.235.104.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.235.104.66', 'tags': [], 'project_id': '1de220180f644d7aac6cc7924cedcc86'}}
2026-06-01 18:31:00,939 - INFO - Created VN ctest-vn-19551179
2026-06-01 18:31:00,996 - DEBUG - VN ctest-vn-19551179 UUID is 2f10ff2c-6103-4c33-b41b-3ef95d90bd75
2026-06-01 18:31:01,299 - DEBUG - Response for create_network : {'network': {'id': 'a79d057c-32e3-4c64-aa47-a1a7c3f4ad3a', 'name': 'ctest-vn-09006540', 'tenant_id': '1de220180f644d7aac6cc7924cedcc86', 'project_id': '1de220180f644d7aac6cc7924cedcc86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52947220', 'ctest-vn-09006540'], 'port_security_enabled': True, 'description': ''}}
2026-06-01 18:31:01,513 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e097944e-7ae5-4b55-8765-57a9d602f3c7', 'name': '', 'tenant_id': '1de220180f644d7aac6cc7924cedcc86', 'network_id': 'a79d057c-32e3-4c64-aa47-a1a7c3f4ad3a', 'ip_version': 4, 'cidr': '134.183.65.128/26', 'allocation_pools': [{'start': '134.183.65.130', 'end': '134.183.65.190'}], 'gateway_ip': '134.183.65.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.183.65.130', 'tags': [], 'project_id': '1de220180f644d7aac6cc7924cedcc86'}}
2026-06-01 18:31:01,536 - INFO - Created VN ctest-vn-09006540
2026-06-01 18:31:01,588 - DEBUG - VN ctest-vn-09006540 UUID is a79d057c-32e3-4c64-aa47-a1a7c3f4ad3a
2026-06-01 18:31:01,710 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-52947220:ctest-vn-19551179, 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-52947220:ctest-vn-09006540, 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-01 18:31:02,001 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2f10ff2c-6103-4c33-b41b-3ef95d90bd75', 'name': 'ctest-vn-19551179', 'tenant_id': '1de220180f644d7aac6cc7924cedcc86', 'project_id': '1de220180f644d7aac6cc7924cedcc86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['af50043e-26d4-4558-a60c-e87b96e38273'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52947220', 'ctest-vn-19551179'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52947220', 'ctest-policy-allow-all-49707258']], 'subnet_ipam': [{'subnet_cidr': '138.235.104.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-01 18:31:02,244 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a79d057c-32e3-4c64-aa47-a1a7c3f4ad3a', 'name': 'ctest-vn-09006540', 'tenant_id': '1de220180f644d7aac6cc7924cedcc86', 'project_id': '1de220180f644d7aac6cc7924cedcc86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e097944e-7ae5-4b55-8765-57a9d602f3c7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52947220', 'ctest-vn-09006540'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52947220', 'ctest-policy-allow-all-49707258']], 'subnet_ipam': [{'subnet_cidr': '134.183.65.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-01 18:31:02,412 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-01 18:31:02,712 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-01 18:31:02,744 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7ba7df23-fae8-4bab-923d-f6ff17267c16
2026-06-01 18:31:02,758 - DEBUG - Requesting: http://10.0.0.38:8082/project/1de22018-0f64-4d7a-ac6c-c7924cedcc86
2026-06-01 18:31:02,837 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2f10ff2c-6103-4c33-b41b-3ef95d90bd75
2026-06-01 18:31:02,848 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2f10ff2c-6103-4c33-b41b-3ef95d90bd75
2026-06-01 18:31:02,859 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f420be95-724a-4a7a-9090-9c7b20661287
2026-06-01 18:31:02,869 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f420be95-724a-4a7a-9090-9c7b20661287
2026-06-01 18:31:02,877 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f06f3a96-ddd3-4720-acc0-6884b1cc3c67
2026-06-01 18:31:02,884 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-01 18:31:02,884 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2f10ff2c-6103-4c33-b41b-3ef95d90bd75
2026-06-01 18:31:02,893 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f420be95-724a-4a7a-9090-9c7b20661287
2026-06-01 18:31:02,909 - INFO - Verified VN network id 11 for VN 2f10ff2c-6103-4c33-b41b-3ef95d90bd75
2026-06-01 18:31:02,909 - INFO - Verifications in API Server for VN ctest-vn-19551179 passed
2026-06-01 18:31:02,909 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2f10ff2c-6103-4c33-b41b-3ef95d90bd75
2026-06-01 18:31:02,918 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f420be95-724a-4a7a-9090-9c7b20661287
2026-06-01 18:31:02,926 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f420be95-724a-4a7a-9090-9c7b20661287
2026-06-01 18:31:02,936 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f06f3a96-ddd3-4720-acc0-6884b1cc3c67
2026-06-01 18:31:02,948 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52947220:ctest-vn-19551179', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52947220', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3391491085481233459', 'uuid-lslong': '12978035991935761781'}, 'enable': 'true', 'created': '2026-06-01T18:31:00', 'last-modified': '2026-06-01T18:31:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.970190'}
2026-06-01 18:31:02,953 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-01 18:31:02,953 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19551179 passed
2026-06-01 18:31:02,954 - DEBUG - ====Verifying policy data for ctest-vn-19551179 in API_Server ======
2026-06-01 18:31:02,954 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-01 18:31:02,959 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7ba7df23-fae8-4bab-923d-f6ff17267c16
2026-06-01 18:31:02,970 - DEBUG - Requesting: http://10.0.0.38:8082/project/1de22018-0f64-4d7a-ac6c-c7924cedcc86
2026-06-01 18:31:03,045 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2f10ff2c-6103-4c33-b41b-3ef95d90bd75
2026-06-01 18:31:03,054 - DEBUG - ==>Verifying data for policy with id: d1c9cb0b-11d9-4d60-ad3d-5c6ed83f3b83, fqn: ['default-domain', 'ctest-TestBasicPolicy-52947220', 'ctest-policy-allow-all-49707258']
2026-06-01 18:31:03,055 - INFO - VN ctest-vn-19551179 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-01 18:31:03,055 - DEBUG - Verifying the vn in opserver
2026-06-01 18:31:03,055 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52947220:ctest-vn-19551179 virtual network link through opserver 10.0.0.38
2026-06-01 18:31:03,055 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-01 18:31:03,350 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-01 18:31:03,416 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52947220:ctest-vn-19551179', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52947220:ctest-vn-19551179?flat'}
2026-06-01 18:31:03,416 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52947220:ctest-vn-19551179 is found in opserver
2026-06-01 18:31:03,426 - DEBUG - Do not have enough data to verify VN in agent
2026-06-01 18:31:03,431 - DEBUG - VRF ids for VN ctest-vn-19551179: {}
2026-06-01 18:31:03,431 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-01 18:31:03,437 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7ba7df23-fae8-4bab-923d-f6ff17267c16
2026-06-01 18:31:03,450 - DEBUG - Requesting: http://10.0.0.38:8082/project/1de22018-0f64-4d7a-ac6c-c7924cedcc86
2026-06-01 18:31:03,524 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a79d057c-32e3-4c64-aa47-a1a7c3f4ad3a
2026-06-01 18:31:03,536 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a79d057c-32e3-4c64-aa47-a1a7c3f4ad3a
2026-06-01 18:31:03,545 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f9e8ce18-67cd-4dda-9d56-936e39a076dc
2026-06-01 18:31:03,553 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f9e8ce18-67cd-4dda-9d56-936e39a076dc
2026-06-01 18:31:03,560 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/227ff405-5339-4272-b141-e65108b770c4
2026-06-01 18:31:03,567 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-01 18:31:03,567 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a79d057c-32e3-4c64-aa47-a1a7c3f4ad3a
2026-06-01 18:31:03,577 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f9e8ce18-67cd-4dda-9d56-936e39a076dc
2026-06-01 18:31:03,591 - INFO - Verified VN network id 12 for VN a79d057c-32e3-4c64-aa47-a1a7c3f4ad3a
2026-06-01 18:31:03,591 - INFO - Verifications in API Server for VN ctest-vn-09006540 passed
2026-06-01 18:31:03,591 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a79d057c-32e3-4c64-aa47-a1a7c3f4ad3a
2026-06-01 18:31:03,601 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f9e8ce18-67cd-4dda-9d56-936e39a076dc
2026-06-01 18:31:03,609 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f9e8ce18-67cd-4dda-9d56-936e39a076dc
2026-06-01 18:31:03,616 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/227ff405-5339-4272-b141-e65108b770c4
2026-06-01 18:31:03,631 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52947220:ctest-vn-09006540', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52947220', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12077815806665378916', 'uuid-lslong': '12269953451713408314'}, 'enable': 'true', 'created': '2026-06-01T18:31:01', 'last-modified': '2026-06-01T18:31:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.408031'}
2026-06-01 18:31:03,638 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-01 18:31:03,638 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09006540 passed
2026-06-01 18:31:03,638 - DEBUG - ====Verifying policy data for ctest-vn-09006540 in API_Server ======
2026-06-01 18:31:03,638 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-01 18:31:03,644 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7ba7df23-fae8-4bab-923d-f6ff17267c16
2026-06-01 18:31:03,656 - DEBUG - Requesting: http://10.0.0.38:8082/project/1de22018-0f64-4d7a-ac6c-c7924cedcc86
2026-06-01 18:31:03,727 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a79d057c-32e3-4c64-aa47-a1a7c3f4ad3a
2026-06-01 18:31:03,737 - DEBUG - ==>Verifying data for policy with id: d1c9cb0b-11d9-4d60-ad3d-5c6ed83f3b83, fqn: ['default-domain', 'ctest-TestBasicPolicy-52947220', 'ctest-policy-allow-all-49707258']
2026-06-01 18:31:03,737 - INFO - VN ctest-vn-09006540 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-01 18:31:03,737 - DEBUG - Verifying the vn in opserver
2026-06-01 18:31:03,737 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52947220:ctest-vn-09006540 virtual network link through opserver 10.0.0.38
2026-06-01 18:31:03,737 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-01 18:31:03,747 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52947220:ctest-vn-09006540', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52947220:ctest-vn-09006540?flat'}
2026-06-01 18:31:03,748 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52947220:ctest-vn-09006540 is found in opserver
2026-06-01 18:31:03,759 - DEBUG - Do not have enough data to verify VN in agent
2026-06-01 18:31:03,765 - DEBUG - VRF ids for VN ctest-vn-09006540: {}
2026-06-01 18:31:03,830 - DEBUG - Services list from nova: [