2026-06-05 16:24:46,898 - INFO - Domain Default found not creating
2026-06-05 16:24:47,090 - INFO - Project ctest-TestBasicPolicy-86356632 not found, creating it
2026-06-05 16:24:47,587 - INFO - Created Project:ctest-TestBasicPolicy-86356632, ID : 3ac187d0-6255-4eff-93d7-ce1badd1af2e
2026-06-05 16:24:49,203 - INFO - ================================================================================
2026-06-05 16:24:49,203 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-05 16:24:49,203 - 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-05 16:24:49,458 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with
2026-06-05 16:24:49,458 - INFO - Initial checks done. Running the testcase now
2026-06-05 16:24:49,463 - INFO -
2026-06-05 16:24:50,044 - DEBUG - Response for create_network : {'network': {'id': '5ea7c893-1315-460f-9e8e-acaeec5c6bd1', 'name': 'ctest-vn-42111537', 'tenant_id': '3ac187d062554eff93d7ce1badd1af2e', 'project_id': '3ac187d062554eff93d7ce1badd1af2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86356632', 'ctest-vn-42111537'], 'port_security_enabled': True, 'description': ''}}
2026-06-05 16:24:50,239 - DEBUG - Response for create_subnet : {'subnet': {'id': '07439072-038b-4b69-abcf-e2a08d9e7aea', 'name': '', 'tenant_id': '3ac187d062554eff93d7ce1badd1af2e', 'network_id': '5ea7c893-1315-460f-9e8e-acaeec5c6bd1', 'ip_version': 4, 'cidr': '177.29.156.192/26', 'allocation_pools': [{'start': '177.29.156.194', 'end': '177.29.156.254'}], 'gateway_ip': '177.29.156.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.29.156.194', 'tags': [], 'project_id': '3ac187d062554eff93d7ce1badd1af2e'}}
2026-06-05 16:24:50,258 - INFO - Created VN ctest-vn-42111537
2026-06-05 16:24:50,313 - DEBUG - VN ctest-vn-42111537 UUID is 5ea7c893-1315-460f-9e8e-acaeec5c6bd1
2026-06-05 16:24:50,619 - DEBUG - Response for create_network : {'network': {'id': '6ae456fd-6683-4b0a-9e35-d80b7cb9bc73', 'name': 'ctest-vn-20165884', 'tenant_id': '3ac187d062554eff93d7ce1badd1af2e', 'project_id': '3ac187d062554eff93d7ce1badd1af2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86356632', 'ctest-vn-20165884'], 'port_security_enabled': True, 'description': ''}}
2026-06-05 16:24:50,839 - DEBUG - Response for create_subnet : {'subnet': {'id': '900144bd-505c-4b5d-b94d-200274d256a4', 'name': '', 'tenant_id': '3ac187d062554eff93d7ce1badd1af2e', 'network_id': '6ae456fd-6683-4b0a-9e35-d80b7cb9bc73', 'ip_version': 4, 'cidr': '141.160.17.0/26', 'allocation_pools': [{'start': '141.160.17.2', 'end': '141.160.17.62'}], 'gateway_ip': '141.160.17.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.160.17.2', 'tags': [], 'project_id': '3ac187d062554eff93d7ce1badd1af2e'}}
2026-06-05 16:24:50,857 - INFO - Created VN ctest-vn-20165884
2026-06-05 16:24:50,909 - DEBUG - VN ctest-vn-20165884 UUID is 6ae456fd-6683-4b0a-9e35-d80b7cb9bc73
2026-06-05 16:24:51,030 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86356632:ctest-vn-42111537, 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-86356632:ctest-vn-20165884, 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-05 16:24:51,329 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5ea7c893-1315-460f-9e8e-acaeec5c6bd1', 'name': 'ctest-vn-42111537', 'tenant_id': '3ac187d062554eff93d7ce1badd1af2e', 'project_id': '3ac187d062554eff93d7ce1badd1af2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['07439072-038b-4b69-abcf-e2a08d9e7aea'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86356632', 'ctest-vn-42111537'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86356632', 'ctest-policy-allow-all-88654939']], 'subnet_ipam': [{'subnet_cidr': '177.29.156.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-05 16:24:51,573 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6ae456fd-6683-4b0a-9e35-d80b7cb9bc73', 'name': 'ctest-vn-20165884', 'tenant_id': '3ac187d062554eff93d7ce1badd1af2e', 'project_id': '3ac187d062554eff93d7ce1badd1af2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['900144bd-505c-4b5d-b94d-200274d256a4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86356632', 'ctest-vn-20165884'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86356632', 'ctest-policy-allow-all-88654939']], 'subnet_ipam': [{'subnet_cidr': '141.160.17.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-05 16:24:51,741 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-06-05 16:24:52,043 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-06-05 16:24:52,080 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5f60cd65-8df6-4136-846d-53675938c3e1
2026-06-05 16:24:52,093 - DEBUG - Requesting: http://10.0.0.249:8082/project/3ac187d0-6255-4eff-93d7-ce1badd1af2e
2026-06-05 16:24:52,169 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5ea7c893-1315-460f-9e8e-acaeec5c6bd1
2026-06-05 16:24:52,180 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5ea7c893-1315-460f-9e8e-acaeec5c6bd1
2026-06-05 16:24:52,191 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1e4f4f47-d827-4824-a896-c1a65c06fc3f
2026-06-05 16:24:52,200 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1e4f4f47-d827-4824-a896-c1a65c06fc3f
2026-06-05 16:24:52,209 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/fc31b42a-e3bc-4d83-a8a9-425a4447ca2a
2026-06-05 16:24:52,218 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-05 16:24:52,218 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5ea7c893-1315-460f-9e8e-acaeec5c6bd1
2026-06-05 16:24:52,231 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1e4f4f47-d827-4824-a896-c1a65c06fc3f
2026-06-05 16:24:52,249 - INFO - Verified VN network id 11 for VN 5ea7c893-1315-460f-9e8e-acaeec5c6bd1
2026-06-05 16:24:52,249 - INFO - Verifications in API Server for VN ctest-vn-42111537 passed
2026-06-05 16:24:52,249 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5ea7c893-1315-460f-9e8e-acaeec5c6bd1
2026-06-05 16:24:52,260 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1e4f4f47-d827-4824-a896-c1a65c06fc3f
2026-06-05 16:24:52,270 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1e4f4f47-d827-4824-a896-c1a65c06fc3f
2026-06-05 16:24:52,277 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/fc31b42a-e3bc-4d83-a8a9-425a4447ca2a
2026-06-05 16:24:52,290 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86356632:ctest-vn-42111537', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86356632', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6820640694681814543', 'uuid-lslong': '11425259171975293905'}, 'enable': 'true', 'created': '2026-06-05T16:24:50', 'last-modified': '2026-06-05T16:24:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.985029'}
2026-06-05 16:24:52,297 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-05 16:24:52,297 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42111537 passed
2026-06-05 16:24:52,298 - DEBUG - ====Verifying policy data for ctest-vn-42111537 in API_Server ======
2026-06-05 16:24:52,298 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-06-05 16:24:52,304 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5f60cd65-8df6-4136-846d-53675938c3e1
2026-06-05 16:24:52,319 - DEBUG - Requesting: http://10.0.0.249:8082/project/3ac187d0-6255-4eff-93d7-ce1badd1af2e
2026-06-05 16:24:52,389 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5ea7c893-1315-460f-9e8e-acaeec5c6bd1
2026-06-05 16:24:52,398 - DEBUG - ==>Verifying data for policy with id: 6a34728e-37d0-4a4b-a975-8cb69975bd39, fqn: ['default-domain', 'ctest-TestBasicPolicy-86356632', 'ctest-policy-allow-all-88654939']
2026-06-05 16:24:52,398 - INFO - VN ctest-vn-42111537 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-05 16:24:52,398 - DEBUG - Verifying the vn in opserver
2026-06-05 16:24:52,398 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86356632:ctest-vn-42111537 virtual network link through opserver 10.0.0.249
2026-06-05 16:24:52,398 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-06-05 16:24:52,690 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-06-05 16:24:52,752 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86356632:ctest-vn-42111537', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86356632:ctest-vn-42111537?flat'}
2026-06-05 16:24:52,752 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86356632:ctest-vn-42111537 is found in opserver
2026-06-05 16:24:52,762 - DEBUG - Do not have enough data to verify VN in agent
2026-06-05 16:24:52,766 - DEBUG - VRF ids for VN ctest-vn-42111537: {}
2026-06-05 16:24:52,766 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-06-05 16:24:52,771 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5f60cd65-8df6-4136-846d-53675938c3e1
2026-06-05 16:24:52,782 - DEBUG - Requesting: http://10.0.0.249:8082/project/3ac187d0-6255-4eff-93d7-ce1badd1af2e
2026-06-05 16:24:52,851 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6ae456fd-6683-4b0a-9e35-d80b7cb9bc73
2026-06-05 16:24:52,862 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6ae456fd-6683-4b0a-9e35-d80b7cb9bc73
2026-06-05 16:24:52,871 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/6e1ba6e1-ea7a-413d-b626-466a577dc5f3
2026-06-05 16:24:52,878 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/6e1ba6e1-ea7a-413d-b626-466a577dc5f3
2026-06-05 16:24:52,886 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/4b88ec64-bd5b-4f91-8646-c927ef6fd011
2026-06-05 16:24:52,893 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-05 16:24:52,893 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6ae456fd-6683-4b0a-9e35-d80b7cb9bc73
2026-06-05 16:24:52,903 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/6e1ba6e1-ea7a-413d-b626-466a577dc5f3
2026-06-05 16:24:52,919 - INFO - Verified VN network id 12 for VN 6ae456fd-6683-4b0a-9e35-d80b7cb9bc73
2026-06-05 16:24:52,919 - INFO - Verifications in API Server for VN ctest-vn-20165884 passed
2026-06-05 16:24:52,919 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6ae456fd-6683-4b0a-9e35-d80b7cb9bc73
2026-06-05 16:24:52,928 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/6e1ba6e1-ea7a-413d-b626-466a577dc5f3
2026-06-05 16:24:52,935 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/6e1ba6e1-ea7a-413d-b626-466a577dc5f3
2026-06-05 16:24:52,942 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/4b88ec64-bd5b-4f91-8646-c927ef6fd011
2026-06-05 16:24:52,957 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86356632:ctest-vn-20165884', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86356632', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7702376909056985866', 'uuid-lslong': '11400255575607065715'}, 'enable': 'true', 'created': '2026-06-05T16:24:50', 'last-modified': '2026-06-05T16:24:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.408027'}
2026-06-05 16:24:52,963 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-05 16:24:52,963 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20165884 passed
2026-06-05 16:24:52,964 - DEBUG - ====Verifying policy data for ctest-vn-20165884 in API_Server ======
2026-06-05 16:24:52,964 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-06-05 16:24:52,968 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5f60cd65-8df6-4136-846d-53675938c3e1
2026-06-05 16:24:52,980 - DEBUG - Requesting: http://10.0.0.249:8082/project/3ac187d0-6255-4eff-93d7-ce1badd1af2e
2026-06-05 16:24:53,051 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6ae456fd-6683-4b0a-9e35-d80b7cb9bc73
2026-06-05 16:24:53,060 - DEBUG - ==>Verifying data for policy with id: 6a34728e-37d0-4a4b-a975-8cb69975bd39, fqn: ['default-domain', 'ctest-TestBasicPolicy-86356632', 'ctest-policy-allow-all-88654939']
2026-06-05 16:24:53,060 - INFO - VN ctest-vn-20165884 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-05 16:24:53,060 - DEBUG - Verifying the vn in opserver
2026-06-05 16:24:53,060 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86356632:ctest-vn-20165884 virtual network link through opserver 10.0.0.249
2026-06-05 16:24:53,060 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-06-05 16:24:53,070 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86356632:ctest-vn-20165884', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86356632:ctest-vn-20165884?flat'}
2026-06-05 16:24:53,070 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86356632:ctest-vn-20165884 is found in opserver
2026-06-05 16:24:53,079 - DEBUG - Do not have enough data to verify VN in agent
2026-06-05 16:24:53,083 - DEBUG - VRF ids for VN ctest-vn-20165884: {}
2026-06-05 16:24:53,139 - DEBUG - Services list from nova: [