2026-06-16 15:36:20,614 - INFO - Domain Default found not creating
2026-06-16 15:36:20,778 - INFO - Project ctest-TestBasicPolicy-33069154 not found, creating it
2026-06-16 15:36:21,218 - INFO - Created Project:ctest-TestBasicPolicy-33069154, ID : ee116786-a728-4ff5-9051-f856bf352672
2026-06-16 15:36:22,624 - INFO - ================================================================================
2026-06-16 15:36:22,624 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-16 15:36:22,624 - 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-16 15:36:22,875 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with
2026-06-16 15:36:22,875 - INFO - Initial checks done. Running the testcase now
2026-06-16 15:36:22,876 - INFO -
2026-06-16 15:36:23,402 - DEBUG - Response for create_network : {'network': {'id': '2ba728bc-6d60-463d-b1c3-92dde130903f', 'name': 'ctest-vn-11785133', 'tenant_id': 'ee116786a7284ff59051f856bf352672', 'project_id': 'ee116786a7284ff59051f856bf352672', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33069154', 'ctest-vn-11785133'], 'port_security_enabled': True, 'description': ''}}
2026-06-16 15:36:23,537 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a1824b7e-763a-44e2-b421-d86a7b52cbf5', 'name': '', 'tenant_id': 'ee116786a7284ff59051f856bf352672', 'network_id': '2ba728bc-6d60-463d-b1c3-92dde130903f', 'ip_version': 4, 'cidr': '146.176.247.192/26', 'allocation_pools': [{'start': '146.176.247.194', 'end': '146.176.247.254'}], 'gateway_ip': '146.176.247.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.176.247.194', 'tags': [], 'project_id': 'ee116786a7284ff59051f856bf352672'}}
2026-06-16 15:36:23,550 - INFO - Created VN ctest-vn-11785133
2026-06-16 15:36:23,599 - DEBUG - VN ctest-vn-11785133 UUID is 2ba728bc-6d60-463d-b1c3-92dde130903f
2026-06-16 15:36:23,876 - DEBUG - Response for create_network : {'network': {'id': '4244af86-c405-402f-b728-104e916fbd02', 'name': 'ctest-vn-24660674', 'tenant_id': 'ee116786a7284ff59051f856bf352672', 'project_id': 'ee116786a7284ff59051f856bf352672', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33069154', 'ctest-vn-24660674'], 'port_security_enabled': True, 'description': ''}}
2026-06-16 15:36:24,013 - DEBUG - Response for create_subnet : {'subnet': {'id': '76a98ff3-7de1-41c6-a39e-24d4b371f903', 'name': '', 'tenant_id': 'ee116786a7284ff59051f856bf352672', 'network_id': '4244af86-c405-402f-b728-104e916fbd02', 'ip_version': 4, 'cidr': '175.149.22.192/26', 'allocation_pools': [{'start': '175.149.22.194', 'end': '175.149.22.254'}], 'gateway_ip': '175.149.22.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.149.22.194', 'tags': [], 'project_id': 'ee116786a7284ff59051f856bf352672'}}
2026-06-16 15:36:24,027 - INFO - Created VN ctest-vn-24660674
2026-06-16 15:36:24,079 - DEBUG - VN ctest-vn-24660674 UUID is 4244af86-c405-402f-b728-104e916fbd02
2026-06-16 15:36:24,211 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-33069154:ctest-vn-11785133, 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-33069154:ctest-vn-24660674, 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-16 15:36:24,483 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2ba728bc-6d60-463d-b1c3-92dde130903f', 'name': 'ctest-vn-11785133', 'tenant_id': 'ee116786a7284ff59051f856bf352672', 'project_id': 'ee116786a7284ff59051f856bf352672', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a1824b7e-763a-44e2-b421-d86a7b52cbf5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33069154', 'ctest-vn-11785133'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33069154', 'ctest-policy-allow-all-05631581']], 'subnet_ipam': [{'subnet_cidr': '146.176.247.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-16 15:36:24,704 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4244af86-c405-402f-b728-104e916fbd02', 'name': 'ctest-vn-24660674', 'tenant_id': 'ee116786a7284ff59051f856bf352672', 'project_id': 'ee116786a7284ff59051f856bf352672', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['76a98ff3-7de1-41c6-a39e-24d4b371f903'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33069154', 'ctest-vn-24660674'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33069154', 'ctest-policy-allow-all-05631581']], 'subnet_ipam': [{'subnet_cidr': '175.149.22.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-16 15:36:24,863 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-16 15:36:25,176 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-16 15:36:25,201 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d38d1798-29c0-4f29-92b2-f0c010733fb8
2026-06-16 15:36:25,211 - DEBUG - Requesting: http://10.0.0.50:8082/project/ee116786-a728-4ff5-9051-f856bf352672
2026-06-16 15:36:25,279 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2ba728bc-6d60-463d-b1c3-92dde130903f
2026-06-16 15:36:25,289 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2ba728bc-6d60-463d-b1c3-92dde130903f
2026-06-16 15:36:25,296 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5c9ef2b6-7d8e-4922-af95-ebc482bfbfdd
2026-06-16 15:36:25,302 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5c9ef2b6-7d8e-4922-af95-ebc482bfbfdd
2026-06-16 15:36:25,306 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2e27f219-7352-4f2b-9879-3ee8c7c6d97b
2026-06-16 15:36:25,311 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-16 15:36:25,311 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2ba728bc-6d60-463d-b1c3-92dde130903f
2026-06-16 15:36:25,318 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5c9ef2b6-7d8e-4922-af95-ebc482bfbfdd
2026-06-16 15:36:25,328 - INFO - Verified VN network id 11 for VN 2ba728bc-6d60-463d-b1c3-92dde130903f
2026-06-16 15:36:25,328 - INFO - Verifications in API Server for VN ctest-vn-11785133 passed
2026-06-16 15:36:25,328 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2ba728bc-6d60-463d-b1c3-92dde130903f
2026-06-16 15:36:25,335 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5c9ef2b6-7d8e-4922-af95-ebc482bfbfdd
2026-06-16 15:36:25,341 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5c9ef2b6-7d8e-4922-af95-ebc482bfbfdd
2026-06-16 15:36:25,346 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2e27f219-7352-4f2b-9879-3ee8c7c6d97b
2026-06-16 15:36:25,355 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33069154:ctest-vn-11785133', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33069154', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3145527654495569469', 'uuid-lslong': '12809243246835306559'}, 'enable': 'true', 'created': '2026-06-16T15:36:23', 'last-modified': '2026-06-16T15:36:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.888295'}
2026-06-16 15:36:25,360 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-16 15:36:25,360 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11785133 passed
2026-06-16 15:36:25,360 - DEBUG - ====Verifying policy data for ctest-vn-11785133 in API_Server ======
2026-06-16 15:36:25,360 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-16 15:36:25,365 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d38d1798-29c0-4f29-92b2-f0c010733fb8
2026-06-16 15:36:25,373 - DEBUG - Requesting: http://10.0.0.50:8082/project/ee116786-a728-4ff5-9051-f856bf352672
2026-06-16 15:36:25,439 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2ba728bc-6d60-463d-b1c3-92dde130903f
2026-06-16 15:36:25,446 - DEBUG - ==>Verifying data for policy with id: 4659104d-0cc3-4e4c-bd7b-233953549bd7, fqn: ['default-domain', 'ctest-TestBasicPolicy-33069154', 'ctest-policy-allow-all-05631581']
2026-06-16 15:36:25,446 - INFO - VN ctest-vn-11785133 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-16 15:36:25,446 - DEBUG - Verifying the vn in opserver
2026-06-16 15:36:25,446 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33069154:ctest-vn-11785133 virtual network link through opserver 10.0.0.50
2026-06-16 15:36:25,446 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-16 15:36:25,759 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-16 15:36:25,810 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33069154:ctest-vn-11785133', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33069154:ctest-vn-11785133?flat'}
2026-06-16 15:36:25,810 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33069154:ctest-vn-11785133 is found in opserver
2026-06-16 15:36:25,818 - DEBUG - Do not have enough data to verify VN in agent
2026-06-16 15:36:25,822 - DEBUG - VRF ids for VN ctest-vn-11785133: {}
2026-06-16 15:36:25,822 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-16 15:36:25,826 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d38d1798-29c0-4f29-92b2-f0c010733fb8
2026-06-16 15:36:25,834 - DEBUG - Requesting: http://10.0.0.50:8082/project/ee116786-a728-4ff5-9051-f856bf352672
2026-06-16 15:36:25,898 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4244af86-c405-402f-b728-104e916fbd02
2026-06-16 15:36:25,906 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4244af86-c405-402f-b728-104e916fbd02
2026-06-16 15:36:25,913 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/28f25281-0c1f-4d03-820b-779157c04205
2026-06-16 15:36:25,918 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/28f25281-0c1f-4d03-820b-779157c04205
2026-06-16 15:36:25,923 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/42f149b9-8005-4d0e-80cc-96b31473c680
2026-06-16 15:36:25,927 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-16 15:36:25,927 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4244af86-c405-402f-b728-104e916fbd02
2026-06-16 15:36:25,934 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/28f25281-0c1f-4d03-820b-779157c04205
2026-06-16 15:36:25,944 - INFO - Verified VN network id 12 for VN 4244af86-c405-402f-b728-104e916fbd02
2026-06-16 15:36:25,944 - INFO - Verifications in API Server for VN ctest-vn-24660674 passed
2026-06-16 15:36:25,944 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4244af86-c405-402f-b728-104e916fbd02
2026-06-16 15:36:25,951 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/28f25281-0c1f-4d03-820b-779157c04205
2026-06-16 15:36:25,956 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/28f25281-0c1f-4d03-820b-779157c04205
2026-06-16 15:36:25,961 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/42f149b9-8005-4d0e-80cc-96b31473c680
2026-06-16 15:36:25,969 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33069154:ctest-vn-24660674', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33069154', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4775134498268725295', 'uuid-lslong': '13197816637642751234'}, 'enable': 'true', 'created': '2026-06-16T15:36:23', 'last-modified': '2026-06-16T15:36:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.291213'}
2026-06-16 15:36:25,974 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-16 15:36:25,974 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24660674 passed
2026-06-16 15:36:25,974 - DEBUG - ====Verifying policy data for ctest-vn-24660674 in API_Server ======
2026-06-16 15:36:25,974 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-16 15:36:25,978 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d38d1798-29c0-4f29-92b2-f0c010733fb8
2026-06-16 15:36:25,986 - DEBUG - Requesting: http://10.0.0.50:8082/project/ee116786-a728-4ff5-9051-f856bf352672
2026-06-16 15:36:26,049 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4244af86-c405-402f-b728-104e916fbd02
2026-06-16 15:36:26,056 - DEBUG - ==>Verifying data for policy with id: 4659104d-0cc3-4e4c-bd7b-233953549bd7, fqn: ['default-domain', 'ctest-TestBasicPolicy-33069154', 'ctest-policy-allow-all-05631581']
2026-06-16 15:36:26,056 - INFO - VN ctest-vn-24660674 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-16 15:36:26,056 - DEBUG - Verifying the vn in opserver
2026-06-16 15:36:26,056 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33069154:ctest-vn-24660674 virtual network link through opserver 10.0.0.50
2026-06-16 15:36:26,056 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-16 15:36:26,064 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33069154:ctest-vn-24660674', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33069154:ctest-vn-24660674?flat'}
2026-06-16 15:36:26,064 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33069154:ctest-vn-24660674 is found in opserver
2026-06-16 15:36:26,071 - DEBUG - Do not have enough data to verify VN in agent
2026-06-16 15:36:26,075 - DEBUG - VRF ids for VN ctest-vn-24660674: {}
2026-06-16 15:36:26,121 - DEBUG - Services list from nova: [