2026-03-19 13:19:32,269 - INFO - Domain Default found not creating
2026-03-19 13:19:32,466 - INFO - Project ctest-TestBasicPolicy-48346840 not found, creating it
2026-03-19 13:19:32,939 - INFO - Created Project:ctest-TestBasicPolicy-48346840, ID : e34218fe-33b6-4840-831a-ca5902896251
2026-03-19 13:19:34,836 - INFO - ================================================================================
2026-03-19 13:19:34,836 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-19 13:19:34,836 - 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-03-19 13:19:35,109 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with
2026-03-19 13:19:35,109 - INFO - Initial checks done. Running the testcase now
2026-03-19 13:19:35,109 - INFO -
2026-03-19 13:19:35,760 - DEBUG - Response for create_network : {'network': {'id': '686af37c-a52b-474a-a774-6d63b3855573', 'name': 'ctest-vn-85895191', 'tenant_id': 'e34218fe33b64840831aca5902896251', 'project_id': 'e34218fe33b64840831aca5902896251', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48346840', 'ctest-vn-85895191'], 'port_security_enabled': True, 'description': ''}}
2026-03-19 13:19:35,985 - DEBUG - Response for create_subnet : {'subnet': {'id': '2bd518da-c9cc-48d8-9e9a-1357a6f7c9d1', 'name': '', 'tenant_id': 'e34218fe33b64840831aca5902896251', 'network_id': '686af37c-a52b-474a-a774-6d63b3855573', 'ip_version': 4, 'cidr': '87.136.213.192/26', 'allocation_pools': [{'start': '87.136.213.194', 'end': '87.136.213.254'}], 'gateway_ip': '87.136.213.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.136.213.194', 'tags': [], 'project_id': 'e34218fe33b64840831aca5902896251'}}
2026-03-19 13:19:36,005 - INFO - Created VN ctest-vn-85895191
2026-03-19 13:19:36,060 - DEBUG - VN ctest-vn-85895191 UUID is 686af37c-a52b-474a-a774-6d63b3855573
2026-03-19 13:19:36,383 - DEBUG - Response for create_network : {'network': {'id': 'c111b64b-7d7b-4fe8-8e59-b09fdbd0bd12', 'name': 'ctest-vn-42924833', 'tenant_id': 'e34218fe33b64840831aca5902896251', 'project_id': 'e34218fe33b64840831aca5902896251', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48346840', 'ctest-vn-42924833'], 'port_security_enabled': True, 'description': ''}}
2026-03-19 13:19:36,602 - DEBUG - Response for create_subnet : {'subnet': {'id': '3adad11b-3c11-4719-8db0-a79d21f4c9e8', 'name': '', 'tenant_id': 'e34218fe33b64840831aca5902896251', 'network_id': 'c111b64b-7d7b-4fe8-8e59-b09fdbd0bd12', 'ip_version': 4, 'cidr': '193.135.198.192/26', 'allocation_pools': [{'start': '193.135.198.194', 'end': '193.135.198.254'}], 'gateway_ip': '193.135.198.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.135.198.194', 'tags': [], 'project_id': 'e34218fe33b64840831aca5902896251'}}
2026-03-19 13:19:36,627 - INFO - Created VN ctest-vn-42924833
2026-03-19 13:19:36,680 - DEBUG - VN ctest-vn-42924833 UUID is c111b64b-7d7b-4fe8-8e59-b09fdbd0bd12
2026-03-19 13:19:36,800 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48346840:ctest-vn-85895191, 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-48346840:ctest-vn-42924833, 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-03-19 13:19:37,122 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '686af37c-a52b-474a-a774-6d63b3855573', 'name': 'ctest-vn-85895191', 'tenant_id': 'e34218fe33b64840831aca5902896251', 'project_id': 'e34218fe33b64840831aca5902896251', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2bd518da-c9cc-48d8-9e9a-1357a6f7c9d1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48346840', 'ctest-vn-85895191'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48346840', 'ctest-policy-allow-all-88386524']], 'subnet_ipam': [{'subnet_cidr': '87.136.213.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-19 13:19:37,371 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c111b64b-7d7b-4fe8-8e59-b09fdbd0bd12', 'name': 'ctest-vn-42924833', 'tenant_id': 'e34218fe33b64840831aca5902896251', 'project_id': 'e34218fe33b64840831aca5902896251', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3adad11b-3c11-4719-8db0-a79d21f4c9e8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48346840', 'ctest-vn-42924833'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48346840', 'ctest-policy-allow-all-88386524']], 'subnet_ipam': [{'subnet_cidr': '193.135.198.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-19 13:19:37,540 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-03-19 13:19:37,845 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-03-19 13:19:37,886 - DEBUG - Requesting: http://10.0.0.41:8082/domain/e357beac-7e61-4835-a0e5-673c15d2b5a4
2026-03-19 13:19:37,901 - DEBUG - Requesting: http://10.0.0.41:8082/project/e34218fe-33b6-4840-831a-ca5902896251
2026-03-19 13:19:37,979 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/686af37c-a52b-474a-a774-6d63b3855573
2026-03-19 13:19:37,990 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/686af37c-a52b-474a-a774-6d63b3855573
2026-03-19 13:19:38,001 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f00abf2c-d9be-4cb6-b4d9-005cc3d5b34c
2026-03-19 13:19:38,010 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f00abf2c-d9be-4cb6-b4d9-005cc3d5b34c
2026-03-19 13:19:38,018 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/50b6a4b2-b809-42df-98d9-8144a77c77e2
2026-03-19 13:19:38,026 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-19 13:19:38,026 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/686af37c-a52b-474a-a774-6d63b3855573
2026-03-19 13:19:38,037 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f00abf2c-d9be-4cb6-b4d9-005cc3d5b34c
2026-03-19 13:19:38,056 - INFO - Verified VN network id 12 for VN 686af37c-a52b-474a-a774-6d63b3855573
2026-03-19 13:19:38,056 - INFO - Verifications in API Server for VN ctest-vn-85895191 passed
2026-03-19 13:19:38,057 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/686af37c-a52b-474a-a774-6d63b3855573
2026-03-19 13:19:38,066 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f00abf2c-d9be-4cb6-b4d9-005cc3d5b34c
2026-03-19 13:19:38,074 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f00abf2c-d9be-4cb6-b4d9-005cc3d5b34c
2026-03-19 13:19:38,081 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/50b6a4b2-b809-42df-98d9-8144a77c77e2
2026-03-19 13:19:38,095 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48346840:ctest-vn-85895191', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48346840', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7524093844148406090', 'uuid-lslong': '12066389576613451123'}, 'enable': 'true', 'created': '2026-03-19T13:19:35', 'last-modified': '2026-03-19T13:19:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.010052'}
2026-03-19 13:19:38,101 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-19 13:19:38,101 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85895191 passed
2026-03-19 13:19:38,101 - DEBUG - ====Verifying policy data for ctest-vn-85895191 in API_Server ======
2026-03-19 13:19:38,101 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-03-19 13:19:38,107 - DEBUG - Requesting: http://10.0.0.41:8082/domain/e357beac-7e61-4835-a0e5-673c15d2b5a4
2026-03-19 13:19:38,120 - DEBUG - Requesting: http://10.0.0.41:8082/project/e34218fe-33b6-4840-831a-ca5902896251
2026-03-19 13:19:38,188 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/686af37c-a52b-474a-a774-6d63b3855573
2026-03-19 13:19:38,198 - DEBUG - ==>Verifying data for policy with id: c9e37a91-6759-4325-907f-97735d8d1e31, fqn: ['default-domain', 'ctest-TestBasicPolicy-48346840', 'ctest-policy-allow-all-88386524']
2026-03-19 13:19:38,199 - INFO - VN ctest-vn-85895191 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-19 13:19:38,199 - DEBUG - Verifying the vn in opserver
2026-03-19 13:19:38,199 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48346840:ctest-vn-85895191 virtual network link through opserver 10.0.0.41
2026-03-19 13:19:38,199 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2026-03-19 13:19:38,499 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2026-03-19 13:19:38,570 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48346840:ctest-vn-85895191', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48346840:ctest-vn-85895191?flat'}
2026-03-19 13:19:38,570 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48346840:ctest-vn-85895191 is found in opserver
2026-03-19 13:19:38,580 - DEBUG - Do not have enough data to verify VN in agent
2026-03-19 13:19:38,586 - DEBUG - VRF ids for VN ctest-vn-85895191: {}
2026-03-19 13:19:38,586 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-03-19 13:19:38,593 - DEBUG - Requesting: http://10.0.0.41:8082/domain/e357beac-7e61-4835-a0e5-673c15d2b5a4
2026-03-19 13:19:38,604 - DEBUG - Requesting: http://10.0.0.41:8082/project/e34218fe-33b6-4840-831a-ca5902896251
2026-03-19 13:19:38,680 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/c111b64b-7d7b-4fe8-8e59-b09fdbd0bd12
2026-03-19 13:19:38,691 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/c111b64b-7d7b-4fe8-8e59-b09fdbd0bd12
2026-03-19 13:19:38,701 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/9c544426-147a-4099-9349-66377fedd87e
2026-03-19 13:19:38,709 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/9c544426-147a-4099-9349-66377fedd87e
2026-03-19 13:19:38,717 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/e29e63a9-93e4-4165-9210-3099732217a4
2026-03-19 13:19:38,724 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-19 13:19:38,724 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/c111b64b-7d7b-4fe8-8e59-b09fdbd0bd12
2026-03-19 13:19:38,734 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/9c544426-147a-4099-9349-66377fedd87e
2026-03-19 13:19:38,750 - INFO - Verified VN network id 13 for VN c111b64b-7d7b-4fe8-8e59-b09fdbd0bd12
2026-03-19 13:19:38,750 - INFO - Verifications in API Server for VN ctest-vn-42924833 passed
2026-03-19 13:19:38,751 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/c111b64b-7d7b-4fe8-8e59-b09fdbd0bd12
2026-03-19 13:19:38,760 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/9c544426-147a-4099-9349-66377fedd87e
2026-03-19 13:19:38,768 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/9c544426-147a-4099-9349-66377fedd87e
2026-03-19 13:19:38,775 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/e29e63a9-93e4-4165-9210-3099732217a4
2026-03-19 13:19:38,788 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48346840:ctest-vn-42924833', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48346840', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13912101159268208616', 'uuid-lslong': '10257423826947194130'}, 'enable': 'true', 'created': '2026-03-19T13:19:36', 'last-modified': '2026-03-19T13:19:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.433392'}
2026-03-19 13:19:38,794 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-19 13:19:38,794 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42924833 passed
2026-03-19 13:19:38,794 - DEBUG - ====Verifying policy data for ctest-vn-42924833 in API_Server ======
2026-03-19 13:19:38,794 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-03-19 13:19:38,800 - DEBUG - Requesting: http://10.0.0.41:8082/domain/e357beac-7e61-4835-a0e5-673c15d2b5a4
2026-03-19 13:19:38,811 - DEBUG - Requesting: http://10.0.0.41:8082/project/e34218fe-33b6-4840-831a-ca5902896251
2026-03-19 13:19:38,887 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/c111b64b-7d7b-4fe8-8e59-b09fdbd0bd12
2026-03-19 13:19:38,897 - DEBUG - ==>Verifying data for policy with id: c9e37a91-6759-4325-907f-97735d8d1e31, fqn: ['default-domain', 'ctest-TestBasicPolicy-48346840', 'ctest-policy-allow-all-88386524']
2026-03-19 13:19:38,897 - INFO - VN ctest-vn-42924833 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-19 13:19:38,897 - DEBUG - Verifying the vn in opserver
2026-03-19 13:19:38,897 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48346840:ctest-vn-42924833 virtual network link through opserver 10.0.0.41
2026-03-19 13:19:38,897 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2026-03-19 13:19:38,907 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48346840:ctest-vn-42924833', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48346840:ctest-vn-42924833?flat'}
2026-03-19 13:19:38,907 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48346840:ctest-vn-42924833 is found in opserver
2026-03-19 13:19:38,917 - DEBUG - Do not have enough data to verify VN in agent
2026-03-19 13:19:38,923 - DEBUG - VRF ids for VN ctest-vn-42924833: {}
2026-03-19 13:19:38,994 - DEBUG - Services list from nova: [