2026-10-26 10:45:39,586 - INFO - Domain Default found not creating
2026-10-26 10:45:39,891 - INFO - Project ctest-TestBasicPolicy-25706450 not found, creating it
2026-10-26 10:45:40,518 - INFO - Created Project:ctest-TestBasicPolicy-25706450, ID : d88e4cda-0e8a-4740-8ae4-c5dd8820ce90
2026-10-26 10:45:42,832 - INFO - ================================================================================
2026-10-26 10:45:42,832 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-26 10:45:42,832 - 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-10-26 10:45:43,119 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with
2026-10-26 10:45:43,119 - INFO - Initial checks done. Running the testcase now
2026-10-26 10:45:43,119 - INFO -
2026-10-26 10:45:43,952 - DEBUG - Response for create_network : {'network': {'id': 'ab87a445-a9f5-4449-8417-3e11401969f5', 'name': 'ctest-vn-60247879', 'tenant_id': 'd88e4cda0e8a47408ae4c5dd8820ce90', 'project_id': 'd88e4cda0e8a47408ae4c5dd8820ce90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25706450', 'ctest-vn-60247879'], 'port_security_enabled': True, 'description': ''}}
2026-10-26 10:45:44,210 - DEBUG - Response for create_subnet : {'subnet': {'id': '45206da0-9856-4578-ac39-eda39b3a141a', 'name': '', 'tenant_id': 'd88e4cda0e8a47408ae4c5dd8820ce90', 'network_id': 'ab87a445-a9f5-4449-8417-3e11401969f5', 'ip_version': 4, 'cidr': '142.251.206.64/26', 'allocation_pools': [{'start': '142.251.206.66', 'end': '142.251.206.126'}], 'gateway_ip': '142.251.206.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.251.206.66', 'tags': [], 'project_id': 'd88e4cda0e8a47408ae4c5dd8820ce90'}}
2026-10-26 10:45:44,232 - INFO - Created VN ctest-vn-60247879
2026-10-26 10:45:44,290 - DEBUG - VN ctest-vn-60247879 UUID is ab87a445-a9f5-4449-8417-3e11401969f5
2026-10-26 10:45:44,730 - DEBUG - Response for create_network : {'network': {'id': 'c3bb8a42-91c5-402b-a10c-c79f01520399', 'name': 'ctest-vn-02443253', 'tenant_id': 'd88e4cda0e8a47408ae4c5dd8820ce90', 'project_id': 'd88e4cda0e8a47408ae4c5dd8820ce90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25706450', 'ctest-vn-02443253'], 'port_security_enabled': True, 'description': ''}}
2026-10-26 10:45:44,950 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b08882d5-4ae8-41f8-be72-ccd1d9524568', 'name': '', 'tenant_id': 'd88e4cda0e8a47408ae4c5dd8820ce90', 'network_id': 'c3bb8a42-91c5-402b-a10c-c79f01520399', 'ip_version': 4, 'cidr': '192.178.153.64/26', 'allocation_pools': [{'start': '192.178.153.66', 'end': '192.178.153.126'}], 'gateway_ip': '192.178.153.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.178.153.66', 'tags': [], 'project_id': 'd88e4cda0e8a47408ae4c5dd8820ce90'}}
2026-10-26 10:45:44,973 - INFO - Created VN ctest-vn-02443253
2026-10-26 10:45:45,031 - DEBUG - VN ctest-vn-02443253 UUID is c3bb8a42-91c5-402b-a10c-c79f01520399
2026-10-26 10:45:45,181 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-25706450:ctest-vn-60247879, 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-25706450:ctest-vn-02443253, 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-10-26 10:45:45,561 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ab87a445-a9f5-4449-8417-3e11401969f5', 'name': 'ctest-vn-60247879', 'tenant_id': 'd88e4cda0e8a47408ae4c5dd8820ce90', 'project_id': 'd88e4cda0e8a47408ae4c5dd8820ce90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['45206da0-9856-4578-ac39-eda39b3a141a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25706450', 'ctest-vn-60247879'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25706450', 'ctest-policy-allow-all-67223169']], 'subnet_ipam': [{'subnet_cidr': '142.251.206.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-26 10:45:45,812 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c3bb8a42-91c5-402b-a10c-c79f01520399', 'name': 'ctest-vn-02443253', 'tenant_id': 'd88e4cda0e8a47408ae4c5dd8820ce90', 'project_id': 'd88e4cda0e8a47408ae4c5dd8820ce90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['b08882d5-4ae8-41f8-be72-ccd1d9524568'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25706450', 'ctest-vn-02443253'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25706450', 'ctest-policy-allow-all-67223169']], 'subnet_ipam': [{'subnet_cidr': '192.178.153.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-26 10:45:45,958 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-10-26 10:45:46,372 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-10-26 10:45:46,414 - DEBUG - Requesting: http://10.0.0.161:8082/domain/58cf02e8-7552-43ca-8547-1a94fc39ebc4
2026-10-26 10:45:46,432 - DEBUG - Requesting: http://10.0.0.161:8082/project/d88e4cda-0e8a-4740-8ae4-c5dd8820ce90
2026-10-26 10:45:46,521 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/ab87a445-a9f5-4449-8417-3e11401969f5
2026-10-26 10:45:46,540 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/ab87a445-a9f5-4449-8417-3e11401969f5
2026-10-26 10:45:46,553 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/fb5afab6-ffab-4b7a-8e28-44b23a56639d
2026-10-26 10:45:46,564 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/fb5afab6-ffab-4b7a-8e28-44b23a56639d
2026-10-26 10:45:46,575 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/d64ab645-88cf-4392-a4c1-5ddcb8d986db
2026-10-26 10:45:46,586 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-26 10:45:46,586 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/ab87a445-a9f5-4449-8417-3e11401969f5
2026-10-26 10:45:46,599 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/fb5afab6-ffab-4b7a-8e28-44b23a56639d
2026-10-26 10:45:46,621 - INFO - Verified VN network id 12 for VN ab87a445-a9f5-4449-8417-3e11401969f5
2026-10-26 10:45:46,621 - INFO - Verifications in API Server for VN ctest-vn-60247879 passed
2026-10-26 10:45:46,621 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/ab87a445-a9f5-4449-8417-3e11401969f5
2026-10-26 10:45:46,634 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/fb5afab6-ffab-4b7a-8e28-44b23a56639d
2026-10-26 10:45:46,646 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/fb5afab6-ffab-4b7a-8e28-44b23a56639d
2026-10-26 10:45:46,658 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/d64ab645-88cf-4392-a4c1-5ddcb8d986db
2026-10-26 10:45:46,679 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25706450:ctest-vn-60247879', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25706450', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12360028321452737609', 'uuid-lslong': '9518144581281606133'}, 'enable': 'true', 'created': '2026-10-26T10:45:43', 'last-modified': '2026-10-26T10:45:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.159088'}
2026-10-26 10:45:46,690 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-26 10:45:46,690 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60247879 passed
2026-10-26 10:45:46,690 - DEBUG - ====Verifying policy data for ctest-vn-60247879 in API_Server ======
2026-10-26 10:45:46,691 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-10-26 10:45:46,698 - DEBUG - Requesting: http://10.0.0.161:8082/domain/58cf02e8-7552-43ca-8547-1a94fc39ebc4
2026-10-26 10:45:46,714 - DEBUG - Requesting: http://10.0.0.161:8082/project/d88e4cda-0e8a-4740-8ae4-c5dd8820ce90
2026-10-26 10:45:46,809 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/ab87a445-a9f5-4449-8417-3e11401969f5
2026-10-26 10:45:46,824 - DEBUG - ==>Verifying data for policy with id: f0549e51-0804-4157-92ce-0062880c0140, fqn: ['default-domain', 'ctest-TestBasicPolicy-25706450', 'ctest-policy-allow-all-67223169']
2026-10-26 10:45:46,824 - INFO - VN ctest-vn-60247879 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-26 10:45:46,824 - DEBUG - Verifying the vn in opserver
2026-10-26 10:45:46,824 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25706450:ctest-vn-60247879 virtual network link through opserver 10.0.0.161
2026-10-26 10:45:46,824 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-10-26 10:45:47,239 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-10-26 10:45:47,329 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25706450:ctest-vn-60247879', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25706450:ctest-vn-60247879?flat'}
2026-10-26 10:45:47,329 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25706450:ctest-vn-60247879 is found in opserver
2026-10-26 10:45:47,349 - DEBUG - Do not have enough data to verify VN in agent
2026-10-26 10:45:47,357 - DEBUG - VRF ids for VN ctest-vn-60247879: {}
2026-10-26 10:45:47,358 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-10-26 10:45:47,367 - DEBUG - Requesting: http://10.0.0.161:8082/domain/58cf02e8-7552-43ca-8547-1a94fc39ebc4
2026-10-26 10:45:47,387 - DEBUG - Requesting: http://10.0.0.161:8082/project/d88e4cda-0e8a-4740-8ae4-c5dd8820ce90
2026-10-26 10:45:47,487 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/c3bb8a42-91c5-402b-a10c-c79f01520399
2026-10-26 10:45:47,513 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/c3bb8a42-91c5-402b-a10c-c79f01520399
2026-10-26 10:45:47,531 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/2783f671-5cf2-4c06-b258-917026ae641f
2026-10-26 10:45:47,546 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/2783f671-5cf2-4c06-b258-917026ae641f
2026-10-26 10:45:47,559 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/323de7ec-e1e0-4526-8462-1f5bd53741a0
2026-10-26 10:45:47,572 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-26 10:45:47,572 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/c3bb8a42-91c5-402b-a10c-c79f01520399
2026-10-26 10:45:47,591 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/2783f671-5cf2-4c06-b258-917026ae641f
2026-10-26 10:45:47,618 - INFO - Verified VN network id 13 for VN c3bb8a42-91c5-402b-a10c-c79f01520399
2026-10-26 10:45:47,619 - INFO - Verifications in API Server for VN ctest-vn-02443253 passed
2026-10-26 10:45:47,619 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/c3bb8a42-91c5-402b-a10c-c79f01520399
2026-10-26 10:45:47,638 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/2783f671-5cf2-4c06-b258-917026ae641f
2026-10-26 10:45:47,651 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/2783f671-5cf2-4c06-b258-917026ae641f
2026-10-26 10:45:47,666 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/323de7ec-e1e0-4526-8462-1f5bd53741a0
2026-10-26 10:45:47,688 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25706450:ctest-vn-02443253', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25706450', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14104018676558938155', 'uuid-lslong': '11604869825562805145'}, 'enable': 'true', 'created': '2026-10-26T10:45:44', 'last-modified': '2026-10-26T10:45:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.915417'}
2026-10-26 10:45:47,699 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-26 10:45:47,699 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02443253 passed
2026-10-26 10:45:47,699 - DEBUG - ====Verifying policy data for ctest-vn-02443253 in API_Server ======
2026-10-26 10:45:47,699 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-10-26 10:45:47,710 - DEBUG - Requesting: http://10.0.0.161:8082/domain/58cf02e8-7552-43ca-8547-1a94fc39ebc4
2026-10-26 10:45:47,729 - DEBUG - Requesting: http://10.0.0.161:8082/project/d88e4cda-0e8a-4740-8ae4-c5dd8820ce90
2026-10-26 10:45:47,825 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/c3bb8a42-91c5-402b-a10c-c79f01520399
2026-10-26 10:45:47,843 - DEBUG - ==>Verifying data for policy with id: f0549e51-0804-4157-92ce-0062880c0140, fqn: ['default-domain', 'ctest-TestBasicPolicy-25706450', 'ctest-policy-allow-all-67223169']
2026-10-26 10:45:47,843 - INFO - VN ctest-vn-02443253 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-26 10:45:47,843 - DEBUG - Verifying the vn in opserver
2026-10-26 10:45:47,843 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25706450:ctest-vn-02443253 virtual network link through opserver 10.0.0.161
2026-10-26 10:45:47,843 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-10-26 10:45:47,861 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25706450:ctest-vn-02443253', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25706450:ctest-vn-02443253?flat'}
2026-10-26 10:45:47,861 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25706450:ctest-vn-02443253 is found in opserver
2026-10-26 10:45:47,880 - DEBUG - Do not have enough data to verify VN in agent
2026-10-26 10:45:47,888 - DEBUG - VRF ids for VN ctest-vn-02443253: {}
2026-10-26 10:45:47,991 - DEBUG - Services list from nova: [