2026-10-30 02:53:44,723 - INFO - Domain Default found not creating
2026-10-30 02:53:44,849 - INFO - Project ctest-TestBasicPolicy-11277765 not found, creating it
2026-10-30 02:53:45,273 - INFO - Created Project:ctest-TestBasicPolicy-11277765, ID : cd22afec-f77c-4be0-948b-d5fb74ea5f1a
2026-10-30 02:53:46,642 - INFO - ================================================================================
2026-10-30 02:53:46,642 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-30 02:53:46,642 - 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-30 02:53:46,900 - DEBUG - Nothing to compare xmpp stats {'10.0.0.248': {'10.20.0.25': '0'}} with
2026-10-30 02:53:46,900 - INFO - Initial checks done. Running the testcase now
2026-10-30 02:53:46,900 - INFO -
2026-10-30 02:53:47,433 - DEBUG - Response for create_network : {'network': {'id': '8e515b62-3b1e-4f66-81c5-704466d2134c', 'name': 'ctest-vn-81446474', 'tenant_id': 'cd22afecf77c4be0948bd5fb74ea5f1a', 'project_id': 'cd22afecf77c4be0948bd5fb74ea5f1a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11277765', 'ctest-vn-81446474'], 'port_security_enabled': True, 'description': ''}}
2026-10-30 02:53:47,617 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e6926dd5-7268-412f-9f49-808776c17b0e', 'name': '', 'tenant_id': 'cd22afecf77c4be0948bd5fb74ea5f1a', 'network_id': '8e515b62-3b1e-4f66-81c5-704466d2134c', 'ip_version': 4, 'cidr': '201.232.213.0/26', 'allocation_pools': [{'start': '201.232.213.2', 'end': '201.232.213.62'}], 'gateway_ip': '201.232.213.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.232.213.2', 'tags': [], 'project_id': 'cd22afecf77c4be0948bd5fb74ea5f1a'}}
2026-10-30 02:53:47,629 - INFO - Created VN ctest-vn-81446474
2026-10-30 02:53:47,679 - DEBUG - VN ctest-vn-81446474 UUID is 8e515b62-3b1e-4f66-81c5-704466d2134c
2026-10-30 02:53:47,950 - DEBUG - Response for create_network : {'network': {'id': '3a5314e9-9c29-4c07-8af0-5ee675c4b81d', 'name': 'ctest-vn-16073168', 'tenant_id': 'cd22afecf77c4be0948bd5fb74ea5f1a', 'project_id': 'cd22afecf77c4be0948bd5fb74ea5f1a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11277765', 'ctest-vn-16073168'], 'port_security_enabled': True, 'description': ''}}
2026-10-30 02:53:48,132 - DEBUG - Response for create_subnet : {'subnet': {'id': '588f74c7-af94-4b76-9cca-a54bb018054f', 'name': '', 'tenant_id': 'cd22afecf77c4be0948bd5fb74ea5f1a', 'network_id': '3a5314e9-9c29-4c07-8af0-5ee675c4b81d', 'ip_version': 4, 'cidr': '149.192.208.0/26', 'allocation_pools': [{'start': '149.192.208.2', 'end': '149.192.208.62'}], 'gateway_ip': '149.192.208.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.192.208.2', 'tags': [], 'project_id': 'cd22afecf77c4be0948bd5fb74ea5f1a'}}
2026-10-30 02:53:48,143 - INFO - Created VN ctest-vn-16073168
2026-10-30 02:53:48,195 - DEBUG - VN ctest-vn-16073168 UUID is 3a5314e9-9c29-4c07-8af0-5ee675c4b81d
2026-10-30 02:53:48,319 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-11277765:ctest-vn-81446474, 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-11277765:ctest-vn-16073168, 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-30 02:53:48,593 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8e515b62-3b1e-4f66-81c5-704466d2134c', 'name': 'ctest-vn-81446474', 'tenant_id': 'cd22afecf77c4be0948bd5fb74ea5f1a', 'project_id': 'cd22afecf77c4be0948bd5fb74ea5f1a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e6926dd5-7268-412f-9f49-808776c17b0e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11277765', 'ctest-vn-81446474'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11277765', 'ctest-policy-allow-all-39278419']], 'subnet_ipam': [{'subnet_cidr': '201.232.213.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-30 02:53:48,803 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3a5314e9-9c29-4c07-8af0-5ee675c4b81d', 'name': 'ctest-vn-16073168', 'tenant_id': 'cd22afecf77c4be0948bd5fb74ea5f1a', 'project_id': 'cd22afecf77c4be0948bd5fb74ea5f1a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['588f74c7-af94-4b76-9cca-a54bb018054f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11277765', 'ctest-vn-16073168'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11277765', 'ctest-policy-allow-all-39278419']], 'subnet_ipam': [{'subnet_cidr': '149.192.208.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-30 02:53:48,959 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-10-30 02:53:49,271 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-10-30 02:53:49,292 - DEBUG - Requesting: http://10.0.0.248:8082/domain/fd578f58-c644-4f46-ad45-390e615dedb1
2026-10-30 02:53:49,301 - DEBUG - Requesting: http://10.0.0.248:8082/project/cd22afec-f77c-4be0-948b-d5fb74ea5f1a
2026-10-30 02:53:49,370 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/8e515b62-3b1e-4f66-81c5-704466d2134c
2026-10-30 02:53:49,378 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/8e515b62-3b1e-4f66-81c5-704466d2134c
2026-10-30 02:53:49,385 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/37903222-31c5-47e9-8aa7-74c5bccb76a4
2026-10-30 02:53:49,390 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/37903222-31c5-47e9-8aa7-74c5bccb76a4
2026-10-30 02:53:49,395 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/25af2a34-fa69-4a36-bc3d-ce8825163c6b
2026-10-30 02:53:49,399 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-30 02:53:49,399 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/8e515b62-3b1e-4f66-81c5-704466d2134c
2026-10-30 02:53:49,405 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/37903222-31c5-47e9-8aa7-74c5bccb76a4
2026-10-30 02:53:49,415 - INFO - Verified VN network id 12 for VN 8e515b62-3b1e-4f66-81c5-704466d2134c
2026-10-30 02:53:49,415 - INFO - Verifications in API Server for VN ctest-vn-81446474 passed
2026-10-30 02:53:49,415 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/8e515b62-3b1e-4f66-81c5-704466d2134c
2026-10-30 02:53:49,424 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/37903222-31c5-47e9-8aa7-74c5bccb76a4
2026-10-30 02:53:49,428 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/37903222-31c5-47e9-8aa7-74c5bccb76a4
2026-10-30 02:53:49,433 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/25af2a34-fa69-4a36-bc3d-ce8825163c6b
2026-10-30 02:53:49,443 - DEBUG - Control-node 10.0.0.248 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11277765:ctest-vn-81446474', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11277765', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10255078303956094822', 'uuid-lslong': '9351003640389833548'}, 'enable': 'true', 'created': '2026-10-30T02:53:47', 'last-modified': '2026-10-30T02:53:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.865754'}
2026-10-30 02:53:49,450 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-30 02:53:49,450 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81446474 passed
2026-10-30 02:53:49,450 - DEBUG - ====Verifying policy data for ctest-vn-81446474 in API_Server ======
2026-10-30 02:53:49,450 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-10-30 02:53:49,454 - DEBUG - Requesting: http://10.0.0.248:8082/domain/fd578f58-c644-4f46-ad45-390e615dedb1
2026-10-30 02:53:49,463 - DEBUG - Requesting: http://10.0.0.248:8082/project/cd22afec-f77c-4be0-948b-d5fb74ea5f1a
2026-10-30 02:53:49,534 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/8e515b62-3b1e-4f66-81c5-704466d2134c
2026-10-30 02:53:49,541 - DEBUG - ==>Verifying data for policy with id: 12e5ff8e-3aee-4b56-b658-faf18638d901, fqn: ['default-domain', 'ctest-TestBasicPolicy-11277765', 'ctest-policy-allow-all-39278419']
2026-10-30 02:53:49,541 - INFO - VN ctest-vn-81446474 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-30 02:53:49,541 - DEBUG - Verifying the vn in opserver
2026-10-30 02:53:49,541 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11277765:ctest-vn-81446474 virtual network link through opserver 10.0.0.248
2026-10-30 02:53:49,541 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks
2026-10-30 02:53:49,873 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks
2026-10-30 02:53:49,933 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11277765:ctest-vn-81446474', 'href': 'http://10.0.0.248:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11277765:ctest-vn-81446474?flat'}
2026-10-30 02:53:49,933 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11277765:ctest-vn-81446474 is found in opserver
2026-10-30 02:53:49,943 - DEBUG - Do not have enough data to verify VN in agent
2026-10-30 02:53:49,947 - DEBUG - VRF ids for VN ctest-vn-81446474: {}
2026-10-30 02:53:49,947 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-10-30 02:53:49,952 - DEBUG - Requesting: http://10.0.0.248:8082/domain/fd578f58-c644-4f46-ad45-390e615dedb1
2026-10-30 02:53:49,961 - DEBUG - Requesting: http://10.0.0.248:8082/project/cd22afec-f77c-4be0-948b-d5fb74ea5f1a
2026-10-30 02:53:50,027 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/3a5314e9-9c29-4c07-8af0-5ee675c4b81d
2026-10-30 02:53:50,037 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/3a5314e9-9c29-4c07-8af0-5ee675c4b81d
2026-10-30 02:53:50,045 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/485047b8-ac52-4bc1-94ee-71ab69abf407
2026-10-30 02:53:50,051 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/485047b8-ac52-4bc1-94ee-71ab69abf407
2026-10-30 02:53:50,056 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/8e85dde0-3ec6-4b79-a02b-cd2bb94b44ff
2026-10-30 02:53:50,061 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-30 02:53:50,062 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/3a5314e9-9c29-4c07-8af0-5ee675c4b81d
2026-10-30 02:53:50,069 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/485047b8-ac52-4bc1-94ee-71ab69abf407
2026-10-30 02:53:50,081 - INFO - Verified VN network id 13 for VN 3a5314e9-9c29-4c07-8af0-5ee675c4b81d
2026-10-30 02:53:50,081 - INFO - Verifications in API Server for VN ctest-vn-16073168 passed
2026-10-30 02:53:50,081 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/3a5314e9-9c29-4c07-8af0-5ee675c4b81d
2026-10-30 02:53:50,088 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/485047b8-ac52-4bc1-94ee-71ab69abf407
2026-10-30 02:53:50,093 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/485047b8-ac52-4bc1-94ee-71ab69abf407
2026-10-30 02:53:50,098 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/8e85dde0-3ec6-4b79-a02b-cd2bb94b44ff
2026-10-30 02:53:50,108 - DEBUG - Control-node 10.0.0.248 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11277765:ctest-vn-16073168', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11277765', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4202725870846692359', 'uuid-lslong': '10011606315555928093'}, 'enable': 'true', 'created': '2026-10-30T02:53:47', 'last-modified': '2026-10-30T02:53:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.321281'}
2026-10-30 02:53:50,113 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-30 02:53:50,113 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16073168 passed
2026-10-30 02:53:50,113 - DEBUG - ====Verifying policy data for ctest-vn-16073168 in API_Server ======
2026-10-30 02:53:50,113 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-10-30 02:53:50,117 - DEBUG - Requesting: http://10.0.0.248:8082/domain/fd578f58-c644-4f46-ad45-390e615dedb1
2026-10-30 02:53:50,125 - DEBUG - Requesting: http://10.0.0.248:8082/project/cd22afec-f77c-4be0-948b-d5fb74ea5f1a
2026-10-30 02:53:50,195 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/3a5314e9-9c29-4c07-8af0-5ee675c4b81d
2026-10-30 02:53:50,202 - DEBUG - ==>Verifying data for policy with id: 12e5ff8e-3aee-4b56-b658-faf18638d901, fqn: ['default-domain', 'ctest-TestBasicPolicy-11277765', 'ctest-policy-allow-all-39278419']
2026-10-30 02:53:50,202 - INFO - VN ctest-vn-16073168 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-30 02:53:50,203 - DEBUG - Verifying the vn in opserver
2026-10-30 02:53:50,203 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11277765:ctest-vn-16073168 virtual network link through opserver 10.0.0.248
2026-10-30 02:53:50,203 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks
2026-10-30 02:53:50,210 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11277765:ctest-vn-16073168', 'href': 'http://10.0.0.248:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11277765:ctest-vn-16073168?flat'}
2026-10-30 02:53:50,210 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11277765:ctest-vn-16073168 is found in opserver
2026-10-30 02:53:50,218 - DEBUG - Do not have enough data to verify VN in agent
2026-10-30 02:53:50,222 - DEBUG - VRF ids for VN ctest-vn-16073168: {}
2026-10-30 02:53:50,266 - DEBUG - Services list from nova: [