2026-01-19 02:26:26,347 - INFO - Domain Default found not creating
2026-01-19 02:26:26,513 - INFO - Project ctest-TestBasicPolicy-94388779 not found, creating it
2026-01-19 02:26:26,994 - INFO - Created Project:ctest-TestBasicPolicy-94388779, ID : 8d368890-e9e0-4a64-99cd-fa761820b646
2026-01-19 02:26:28,582 - INFO - ================================================================================
2026-01-19 02:26:28,582 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-19 02:26:28,582 - 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-01-19 02:26:28,838 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.129': '0'}} with
2026-01-19 02:26:28,838 - INFO - Initial checks done. Running the testcase now
2026-01-19 02:26:28,838 - INFO -
2026-01-19 02:26:29,400 - DEBUG - Response for create_network : {'network': {'id': '108fe63a-8e1f-4892-a58e-ac03f4421fd8', 'name': 'ctest-vn-86826784', 'tenant_id': '8d368890e9e04a6499cdfa761820b646', 'project_id': '8d368890e9e04a6499cdfa761820b646', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94388779', 'ctest-vn-86826784'], 'port_security_enabled': True, 'description': ''}}
2026-01-19 02:26:29,599 - DEBUG - Response for create_subnet : {'subnet': {'id': '7eab38de-1e62-4a7f-8581-08d21179d610', 'name': '', 'tenant_id': '8d368890e9e04a6499cdfa761820b646', 'network_id': '108fe63a-8e1f-4892-a58e-ac03f4421fd8', 'ip_version': 4, 'cidr': '134.87.26.192/26', 'allocation_pools': [{'start': '134.87.26.194', 'end': '134.87.26.254'}], 'gateway_ip': '134.87.26.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.87.26.194', 'tags': [], 'project_id': '8d368890e9e04a6499cdfa761820b646'}}
2026-01-19 02:26:29,617 - INFO - Created VN ctest-vn-86826784
2026-01-19 02:26:29,668 - DEBUG - VN ctest-vn-86826784 UUID is 108fe63a-8e1f-4892-a58e-ac03f4421fd8
2026-01-19 02:26:29,950 - DEBUG - Response for create_network : {'network': {'id': 'bf493f17-6fe3-464d-90e1-72e51f8f722c', 'name': 'ctest-vn-80699212', 'tenant_id': '8d368890e9e04a6499cdfa761820b646', 'project_id': '8d368890e9e04a6499cdfa761820b646', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94388779', 'ctest-vn-80699212'], 'port_security_enabled': True, 'description': ''}}
2026-01-19 02:26:30,160 - DEBUG - Response for create_subnet : {'subnet': {'id': '720009ce-d7b7-4964-8fc8-4804230db1de', 'name': '', 'tenant_id': '8d368890e9e04a6499cdfa761820b646', 'network_id': 'bf493f17-6fe3-464d-90e1-72e51f8f722c', 'ip_version': 4, 'cidr': '179.30.189.128/26', 'allocation_pools': [{'start': '179.30.189.130', 'end': '179.30.189.190'}], 'gateway_ip': '179.30.189.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.30.189.130', 'tags': [], 'project_id': '8d368890e9e04a6499cdfa761820b646'}}
2026-01-19 02:26:30,180 - INFO - Created VN ctest-vn-80699212
2026-01-19 02:26:30,232 - DEBUG - VN ctest-vn-80699212 UUID is bf493f17-6fe3-464d-90e1-72e51f8f722c
2026-01-19 02:26:30,354 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-94388779:ctest-vn-86826784, 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-94388779:ctest-vn-80699212, 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-01-19 02:26:30,684 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '108fe63a-8e1f-4892-a58e-ac03f4421fd8', 'name': 'ctest-vn-86826784', 'tenant_id': '8d368890e9e04a6499cdfa761820b646', 'project_id': '8d368890e9e04a6499cdfa761820b646', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7eab38de-1e62-4a7f-8581-08d21179d610'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94388779', 'ctest-vn-86826784'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94388779', 'ctest-policy-allow-all-56415047']], 'subnet_ipam': [{'subnet_cidr': '134.87.26.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-19 02:26:30,914 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bf493f17-6fe3-464d-90e1-72e51f8f722c', 'name': 'ctest-vn-80699212', 'tenant_id': '8d368890e9e04a6499cdfa761820b646', 'project_id': '8d368890e9e04a6499cdfa761820b646', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['720009ce-d7b7-4964-8fc8-4804230db1de'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94388779', 'ctest-vn-80699212'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94388779', 'ctest-policy-allow-all-56415047']], 'subnet_ipam': [{'subnet_cidr': '179.30.189.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-19 02:26:31,100 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-19 02:26:31,399 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-19 02:26:31,434 - DEBUG - Requesting: http://10.0.0.22:8082/domain/76718538-3a2d-4dc3-87c2-1b0a55c17d64
2026-01-19 02:26:31,449 - DEBUG - Requesting: http://10.0.0.22:8082/project/8d368890-e9e0-4a64-99cd-fa761820b646
2026-01-19 02:26:31,520 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/108fe63a-8e1f-4892-a58e-ac03f4421fd8
2026-01-19 02:26:31,532 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/108fe63a-8e1f-4892-a58e-ac03f4421fd8
2026-01-19 02:26:31,542 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1f90ee88-1769-48dc-8702-fe707e62896d
2026-01-19 02:26:31,549 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1f90ee88-1769-48dc-8702-fe707e62896d
2026-01-19 02:26:31,556 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/3c491e91-ac99-423f-ba3b-85dd32c31c71
2026-01-19 02:26:31,564 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-19 02:26:31,564 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/108fe63a-8e1f-4892-a58e-ac03f4421fd8
2026-01-19 02:26:31,575 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1f90ee88-1769-48dc-8702-fe707e62896d
2026-01-19 02:26:31,591 - INFO - Verified VN network id 11 for VN 108fe63a-8e1f-4892-a58e-ac03f4421fd8
2026-01-19 02:26:31,592 - INFO - Verifications in API Server for VN ctest-vn-86826784 passed
2026-01-19 02:26:31,592 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/108fe63a-8e1f-4892-a58e-ac03f4421fd8
2026-01-19 02:26:31,602 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1f90ee88-1769-48dc-8702-fe707e62896d
2026-01-19 02:26:31,610 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1f90ee88-1769-48dc-8702-fe707e62896d
2026-01-19 02:26:31,619 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/3c491e91-ac99-423f-ba3b-85dd32c31c71
2026-01-19 02:26:31,634 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94388779:ctest-vn-86826784', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94388779', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1193425565443377298', 'uuid-lslong': '11929661595933876184'}, 'enable': 'true', 'created': '2026-01-19T02:26:29', 'last-modified': '2026-01-19T02:26:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.986795'}
2026-01-19 02:26:31,641 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-19 02:26:31,641 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86826784 passed
2026-01-19 02:26:31,641 - DEBUG - ====Verifying policy data for ctest-vn-86826784 in API_Server ======
2026-01-19 02:26:31,641 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-19 02:26:31,646 - DEBUG - Requesting: http://10.0.0.22:8082/domain/76718538-3a2d-4dc3-87c2-1b0a55c17d64
2026-01-19 02:26:31,657 - DEBUG - Requesting: http://10.0.0.22:8082/project/8d368890-e9e0-4a64-99cd-fa761820b646
2026-01-19 02:26:31,727 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/108fe63a-8e1f-4892-a58e-ac03f4421fd8
2026-01-19 02:26:31,738 - DEBUG - ==>Verifying data for policy with id: 1cad06a0-0509-4d70-9e81-b9085c82da02, fqn: ['default-domain', 'ctest-TestBasicPolicy-94388779', 'ctest-policy-allow-all-56415047']
2026-01-19 02:26:31,738 - INFO - VN ctest-vn-86826784 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-19 02:26:31,738 - DEBUG - Verifying the vn in opserver
2026-01-19 02:26:31,738 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94388779:ctest-vn-86826784 virtual network link through opserver 10.0.0.22
2026-01-19 02:26:31,738 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-01-19 02:26:32,033 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-01-19 02:26:32,105 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94388779:ctest-vn-86826784', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94388779:ctest-vn-86826784?flat'}
2026-01-19 02:26:32,105 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94388779:ctest-vn-86826784 is found in opserver
2026-01-19 02:26:32,115 - DEBUG - Do not have enough data to verify VN in agent
2026-01-19 02:26:32,119 - DEBUG - VRF ids for VN ctest-vn-86826784: {}
2026-01-19 02:26:32,120 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-19 02:26:32,125 - DEBUG - Requesting: http://10.0.0.22:8082/domain/76718538-3a2d-4dc3-87c2-1b0a55c17d64
2026-01-19 02:26:32,136 - DEBUG - Requesting: http://10.0.0.22:8082/project/8d368890-e9e0-4a64-99cd-fa761820b646
2026-01-19 02:26:32,210 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/bf493f17-6fe3-464d-90e1-72e51f8f722c
2026-01-19 02:26:32,222 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/bf493f17-6fe3-464d-90e1-72e51f8f722c
2026-01-19 02:26:32,230 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c108063a-1402-4121-b43e-57b93ce16d78
2026-01-19 02:26:32,238 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c108063a-1402-4121-b43e-57b93ce16d78
2026-01-19 02:26:32,244 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/34759014-60f0-4e1a-a5f2-e117b7c68e49
2026-01-19 02:26:32,252 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-19 02:26:32,252 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/bf493f17-6fe3-464d-90e1-72e51f8f722c
2026-01-19 02:26:32,261 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c108063a-1402-4121-b43e-57b93ce16d78
2026-01-19 02:26:32,274 - INFO - Verified VN network id 12 for VN bf493f17-6fe3-464d-90e1-72e51f8f722c
2026-01-19 02:26:32,275 - INFO - Verifications in API Server for VN ctest-vn-80699212 passed
2026-01-19 02:26:32,275 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/bf493f17-6fe3-464d-90e1-72e51f8f722c
2026-01-19 02:26:32,283 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c108063a-1402-4121-b43e-57b93ce16d78
2026-01-19 02:26:32,289 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c108063a-1402-4121-b43e-57b93ce16d78
2026-01-19 02:26:32,297 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/34759014-60f0-4e1a-a5f2-e117b7c68e49
2026-01-19 02:26:32,309 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94388779:ctest-vn-80699212', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94388779', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13783617504438077005', 'uuid-lslong': '10439751739624092204'}, 'enable': 'true', 'created': '2026-01-19T02:26:29', 'last-modified': '2026-01-19T02:26:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.417876'}
2026-01-19 02:26:32,314 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-19 02:26:32,315 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80699212 passed
2026-01-19 02:26:32,315 - DEBUG - ====Verifying policy data for ctest-vn-80699212 in API_Server ======
2026-01-19 02:26:32,315 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-19 02:26:32,320 - DEBUG - Requesting: http://10.0.0.22:8082/domain/76718538-3a2d-4dc3-87c2-1b0a55c17d64
2026-01-19 02:26:32,331 - DEBUG - Requesting: http://10.0.0.22:8082/project/8d368890-e9e0-4a64-99cd-fa761820b646
2026-01-19 02:26:32,408 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/bf493f17-6fe3-464d-90e1-72e51f8f722c
2026-01-19 02:26:32,417 - DEBUG - ==>Verifying data for policy with id: 1cad06a0-0509-4d70-9e81-b9085c82da02, fqn: ['default-domain', 'ctest-TestBasicPolicy-94388779', 'ctest-policy-allow-all-56415047']
2026-01-19 02:26:32,417 - INFO - VN ctest-vn-80699212 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-19 02:26:32,417 - DEBUG - Verifying the vn in opserver
2026-01-19 02:26:32,417 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94388779:ctest-vn-80699212 virtual network link through opserver 10.0.0.22
2026-01-19 02:26:32,417 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-01-19 02:26:32,429 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94388779:ctest-vn-80699212', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94388779:ctest-vn-80699212?flat'}
2026-01-19 02:26:32,429 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94388779:ctest-vn-80699212 is found in opserver
2026-01-19 02:26:32,439 - DEBUG - Do not have enough data to verify VN in agent
2026-01-19 02:26:32,444 - DEBUG - VRF ids for VN ctest-vn-80699212: {}
2026-01-19 02:26:32,512 - DEBUG - Services list from nova: [