2026-02-06 17:19:21,805 - INFO - Domain Default found not creating
2026-02-06 17:19:21,986 - INFO - Project ctest-TestBasicPolicy-86711156 not found, creating it
2026-02-06 17:19:22,420 - INFO - Created Project:ctest-TestBasicPolicy-86711156, ID : 85dc58d2-83a2-46d9-833f-b6dd3ebaa829
2026-02-06 17:19:23,985 - INFO - ================================================================================
2026-02-06 17:19:23,985 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-06 17:19:23,986 - 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-02-06 17:19:24,241 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-02-06 17:19:24,241 - INFO - Initial checks done. Running the testcase now
2026-02-06 17:19:24,241 - INFO -
2026-02-06 17:19:24,851 - DEBUG - Response for create_network : {'network': {'id': '44ff8adf-928a-4fe2-86c5-56743c668877', 'name': 'ctest-vn-33916157', 'tenant_id': '85dc58d283a246d9833fb6dd3ebaa829', 'project_id': '85dc58d283a246d9833fb6dd3ebaa829', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86711156', 'ctest-vn-33916157'], 'port_security_enabled': True, 'description': ''}}
2026-02-06 17:19:25,013 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e50f0023-78a5-428c-952a-34d68d0708ff', 'name': '', 'tenant_id': '85dc58d283a246d9833fb6dd3ebaa829', 'network_id': '44ff8adf-928a-4fe2-86c5-56743c668877', 'ip_version': 4, 'cidr': '148.214.126.0/26', 'allocation_pools': [{'start': '148.214.126.2', 'end': '148.214.126.62'}], 'gateway_ip': '148.214.126.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.214.126.2', 'tags': [], 'project_id': '85dc58d283a246d9833fb6dd3ebaa829'}}
2026-02-06 17:19:25,034 - INFO - Created VN ctest-vn-33916157
2026-02-06 17:19:25,087 - DEBUG - VN ctest-vn-33916157 UUID is 44ff8adf-928a-4fe2-86c5-56743c668877
2026-02-06 17:19:25,431 - DEBUG - Response for create_network : {'network': {'id': '069e6645-733c-4933-80e6-8ca17515f6e9', 'name': 'ctest-vn-71086531', 'tenant_id': '85dc58d283a246d9833fb6dd3ebaa829', 'project_id': '85dc58d283a246d9833fb6dd3ebaa829', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86711156', 'ctest-vn-71086531'], 'port_security_enabled': True, 'description': ''}}
2026-02-06 17:19:25,652 - DEBUG - Response for create_subnet : {'subnet': {'id': '412bc080-8df7-4c8f-8c7d-1e69fb69452d', 'name': '', 'tenant_id': '85dc58d283a246d9833fb6dd3ebaa829', 'network_id': '069e6645-733c-4933-80e6-8ca17515f6e9', 'ip_version': 4, 'cidr': '102.41.120.192/26', 'allocation_pools': [{'start': '102.41.120.194', 'end': '102.41.120.254'}], 'gateway_ip': '102.41.120.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.41.120.194', 'tags': [], 'project_id': '85dc58d283a246d9833fb6dd3ebaa829'}}
2026-02-06 17:19:25,669 - INFO - Created VN ctest-vn-71086531
2026-02-06 17:19:25,723 - DEBUG - VN ctest-vn-71086531 UUID is 069e6645-733c-4933-80e6-8ca17515f6e9
2026-02-06 17:19:25,844 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86711156:ctest-vn-33916157, 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-86711156:ctest-vn-71086531, 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-02-06 17:19:26,142 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '44ff8adf-928a-4fe2-86c5-56743c668877', 'name': 'ctest-vn-33916157', 'tenant_id': '85dc58d283a246d9833fb6dd3ebaa829', 'project_id': '85dc58d283a246d9833fb6dd3ebaa829', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e50f0023-78a5-428c-952a-34d68d0708ff'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86711156', 'ctest-vn-33916157'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86711156', 'ctest-policy-allow-all-83359095']], 'subnet_ipam': [{'subnet_cidr': '148.214.126.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-06 17:19:26,378 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '069e6645-733c-4933-80e6-8ca17515f6e9', 'name': 'ctest-vn-71086531', 'tenant_id': '85dc58d283a246d9833fb6dd3ebaa829', 'project_id': '85dc58d283a246d9833fb6dd3ebaa829', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['412bc080-8df7-4c8f-8c7d-1e69fb69452d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86711156', 'ctest-vn-71086531'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86711156', 'ctest-policy-allow-all-83359095']], 'subnet_ipam': [{'subnet_cidr': '102.41.120.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-06 17:19:26,499 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-06 17:19:27,106 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-06 17:19:27,164 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7bdb2152-9f5f-486a-81a1-7ad4efdb6865
2026-02-06 17:19:27,175 - DEBUG - Requesting: http://10.0.0.50:8082/project/85dc58d2-83a2-46d9-833f-b6dd3ebaa829
2026-02-06 17:19:27,248 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/44ff8adf-928a-4fe2-86c5-56743c668877
2026-02-06 17:19:27,258 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/44ff8adf-928a-4fe2-86c5-56743c668877
2026-02-06 17:19:27,267 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/aa5876c2-1716-453e-bbde-aedc8ec1f087
2026-02-06 17:19:27,274 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/aa5876c2-1716-453e-bbde-aedc8ec1f087
2026-02-06 17:19:27,281 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/87364ad7-16ad-47b3-8450-3a6f7f9d8da3
2026-02-06 17:19:27,287 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-06 17:19:27,287 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/44ff8adf-928a-4fe2-86c5-56743c668877
2026-02-06 17:19:27,297 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/aa5876c2-1716-453e-bbde-aedc8ec1f087
2026-02-06 17:19:27,313 - INFO - Verified VN network id 9 for VN 44ff8adf-928a-4fe2-86c5-56743c668877
2026-02-06 17:19:27,313 - INFO - Verifications in API Server for VN ctest-vn-33916157 passed
2026-02-06 17:19:27,314 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/44ff8adf-928a-4fe2-86c5-56743c668877
2026-02-06 17:19:27,323 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/aa5876c2-1716-453e-bbde-aedc8ec1f087
2026-02-06 17:19:27,331 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/aa5876c2-1716-453e-bbde-aedc8ec1f087
2026-02-06 17:19:27,339 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/87364ad7-16ad-47b3-8450-3a6f7f9d8da3
2026-02-06 17:19:27,351 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86711156:ctest-vn-33916157', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86711156', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4971845206481194978', 'uuid-lslong': '9711263228723890295'}, 'enable': 'true', 'created': '2026-02-06T17:19:24', 'last-modified': '2026-02-06T17:19:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.230968'}
2026-02-06 17:19:27,357 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-06 17:19:27,357 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33916157 passed
2026-02-06 17:19:27,357 - DEBUG - ====Verifying policy data for ctest-vn-33916157 in API_Server ======
2026-02-06 17:19:27,357 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-06 17:19:27,363 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7bdb2152-9f5f-486a-81a1-7ad4efdb6865
2026-02-06 17:19:27,374 - DEBUG - Requesting: http://10.0.0.50:8082/project/85dc58d2-83a2-46d9-833f-b6dd3ebaa829
2026-02-06 17:19:27,446 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/44ff8adf-928a-4fe2-86c5-56743c668877
2026-02-06 17:19:27,455 - DEBUG - ==>Verifying data for policy with id: d940fc6c-d352-4b46-b62d-5efef13e6779, fqn: ['default-domain', 'ctest-TestBasicPolicy-86711156', 'ctest-policy-allow-all-83359095']
2026-02-06 17:19:27,455 - INFO - VN ctest-vn-33916157 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-06 17:19:27,455 - DEBUG - Verifying the vn in opserver
2026-02-06 17:19:27,455 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86711156:ctest-vn-33916157 virtual network link through opserver 10.0.0.50
2026-02-06 17:19:27,455 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-06 17:19:27,753 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-06 17:19:27,815 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86711156:ctest-vn-33916157', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86711156:ctest-vn-33916157?flat'}
2026-02-06 17:19:27,815 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86711156:ctest-vn-33916157 is found in opserver
2026-02-06 17:19:27,824 - DEBUG - Do not have enough data to verify VN in agent
2026-02-06 17:19:27,829 - DEBUG - VRF ids for VN ctest-vn-33916157: {}
2026-02-06 17:19:27,829 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-06 17:19:27,834 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7bdb2152-9f5f-486a-81a1-7ad4efdb6865
2026-02-06 17:19:27,844 - DEBUG - Requesting: http://10.0.0.50:8082/project/85dc58d2-83a2-46d9-833f-b6dd3ebaa829
2026-02-06 17:19:27,913 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/069e6645-733c-4933-80e6-8ca17515f6e9
2026-02-06 17:19:27,924 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/069e6645-733c-4933-80e6-8ca17515f6e9
2026-02-06 17:19:27,933 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fc72838b-3a88-4a11-8707-15becbaf0333
2026-02-06 17:19:27,941 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fc72838b-3a88-4a11-8707-15becbaf0333
2026-02-06 17:19:27,948 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/573e9ad1-3abc-4a6b-9f35-06a6c77a58d7
2026-02-06 17:19:27,954 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-06 17:19:27,954 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/069e6645-733c-4933-80e6-8ca17515f6e9
2026-02-06 17:19:27,963 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fc72838b-3a88-4a11-8707-15becbaf0333
2026-02-06 17:19:27,978 - INFO - Verified VN network id 10 for VN 069e6645-733c-4933-80e6-8ca17515f6e9
2026-02-06 17:19:27,978 - INFO - Verifications in API Server for VN ctest-vn-71086531 passed
2026-02-06 17:19:27,978 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/069e6645-733c-4933-80e6-8ca17515f6e9
2026-02-06 17:19:27,987 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fc72838b-3a88-4a11-8707-15becbaf0333
2026-02-06 17:19:27,993 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fc72838b-3a88-4a11-8707-15becbaf0333
2026-02-06 17:19:28,000 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/573e9ad1-3abc-4a6b-9f35-06a6c77a58d7
2026-02-06 17:19:28,014 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86711156:ctest-vn-71086531', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86711156', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '476931059019958579', 'uuid-lslong': '9288265906580223721'}, 'enable': 'true', 'created': '2026-02-06T17:19:25', 'last-modified': '2026-02-06T17:19:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.656200'}
2026-02-06 17:19:28,021 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-06 17:19:28,021 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71086531 passed
2026-02-06 17:19:28,022 - DEBUG - ====Verifying policy data for ctest-vn-71086531 in API_Server ======
2026-02-06 17:19:28,022 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-06 17:19:28,027 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7bdb2152-9f5f-486a-81a1-7ad4efdb6865
2026-02-06 17:19:28,039 - DEBUG - Requesting: http://10.0.0.50:8082/project/85dc58d2-83a2-46d9-833f-b6dd3ebaa829
2026-02-06 17:19:28,112 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/069e6645-733c-4933-80e6-8ca17515f6e9
2026-02-06 17:19:28,121 - DEBUG - ==>Verifying data for policy with id: d940fc6c-d352-4b46-b62d-5efef13e6779, fqn: ['default-domain', 'ctest-TestBasicPolicy-86711156', 'ctest-policy-allow-all-83359095']
2026-02-06 17:19:28,121 - INFO - VN ctest-vn-71086531 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-06 17:19:28,121 - DEBUG - Verifying the vn in opserver
2026-02-06 17:19:28,121 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86711156:ctest-vn-71086531 virtual network link through opserver 10.0.0.50
2026-02-06 17:19:28,121 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-06 17:19:28,130 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86711156:ctest-vn-71086531', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86711156:ctest-vn-71086531?flat'}
2026-02-06 17:19:28,131 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86711156:ctest-vn-71086531 is found in opserver
2026-02-06 17:19:28,140 - DEBUG - Do not have enough data to verify VN in agent
2026-02-06 17:19:28,145 - DEBUG - VRF ids for VN ctest-vn-71086531: {}
2026-02-06 17:19:28,202 - DEBUG - Services list from nova: [