2026-06-22 02:05:28,369 - INFO - Domain Default found not creating
2026-06-22 02:05:28,548 - INFO - Project ctest-TestBasicPolicy-65752082 not found, creating it
2026-06-22 02:05:29,001 - INFO - Created Project:ctest-TestBasicPolicy-65752082, ID : bb699919-c273-47ce-9250-7a7d79c16be1
2026-06-22 02:05:30,623 - INFO - ================================================================================
2026-06-22 02:05:30,623 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-22 02:05:30,623 - 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-22 02:05:30,878 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2026-06-22 02:05:30,878 - INFO - Initial checks done. Running the testcase now
2026-06-22 02:05:30,878 - INFO -
2026-06-22 02:05:31,484 - DEBUG - Response for create_network : {'network': {'id': '6e005720-fa95-460e-bd8c-322e69e84b35', 'name': 'ctest-vn-34685235', 'tenant_id': 'bb699919c27347ce92507a7d79c16be1', 'project_id': 'bb699919c27347ce92507a7d79c16be1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65752082', 'ctest-vn-34685235'], 'port_security_enabled': True, 'description': ''}}
2026-06-22 02:05:31,693 - DEBUG - Response for create_subnet : {'subnet': {'id': '2ad5586b-0b12-483c-a578-3c17318ed671', 'name': '', 'tenant_id': 'bb699919c27347ce92507a7d79c16be1', 'network_id': '6e005720-fa95-460e-bd8c-322e69e84b35', 'ip_version': 4, 'cidr': '69.252.28.128/26', 'allocation_pools': [{'start': '69.252.28.130', 'end': '69.252.28.190'}], 'gateway_ip': '69.252.28.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.252.28.130', 'tags': [], 'project_id': 'bb699919c27347ce92507a7d79c16be1'}}
2026-06-22 02:05:31,708 - INFO - Created VN ctest-vn-34685235
2026-06-22 02:05:31,765 - DEBUG - VN ctest-vn-34685235 UUID is 6e005720-fa95-460e-bd8c-322e69e84b35
2026-06-22 02:05:32,059 - DEBUG - Response for create_network : {'network': {'id': 'e6f345f5-7292-426f-be90-bf34f9b95215', 'name': 'ctest-vn-15317152', 'tenant_id': 'bb699919c27347ce92507a7d79c16be1', 'project_id': 'bb699919c27347ce92507a7d79c16be1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65752082', 'ctest-vn-15317152'], 'port_security_enabled': True, 'description': ''}}
2026-06-22 02:05:32,283 - DEBUG - Response for create_subnet : {'subnet': {'id': '625fea04-594d-479d-b83b-e3b3b80b76c7', 'name': '', 'tenant_id': 'bb699919c27347ce92507a7d79c16be1', 'network_id': 'e6f345f5-7292-426f-be90-bf34f9b95215', 'ip_version': 4, 'cidr': '160.250.59.128/26', 'allocation_pools': [{'start': '160.250.59.130', 'end': '160.250.59.190'}], 'gateway_ip': '160.250.59.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.250.59.130', 'tags': [], 'project_id': 'bb699919c27347ce92507a7d79c16be1'}}
2026-06-22 02:05:32,297 - INFO - Created VN ctest-vn-15317152
2026-06-22 02:05:32,349 - DEBUG - VN ctest-vn-15317152 UUID is e6f345f5-7292-426f-be90-bf34f9b95215
2026-06-22 02:05:32,489 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65752082:ctest-vn-34685235, 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-65752082:ctest-vn-15317152, 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-22 02:05:32,787 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6e005720-fa95-460e-bd8c-322e69e84b35', 'name': 'ctest-vn-34685235', 'tenant_id': 'bb699919c27347ce92507a7d79c16be1', 'project_id': 'bb699919c27347ce92507a7d79c16be1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2ad5586b-0b12-483c-a578-3c17318ed671'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65752082', 'ctest-vn-34685235'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65752082', 'ctest-policy-allow-all-68516379']], 'subnet_ipam': [{'subnet_cidr': '69.252.28.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-22 02:05:33,016 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e6f345f5-7292-426f-be90-bf34f9b95215', 'name': 'ctest-vn-15317152', 'tenant_id': 'bb699919c27347ce92507a7d79c16be1', 'project_id': 'bb699919c27347ce92507a7d79c16be1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['625fea04-594d-479d-b83b-e3b3b80b76c7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65752082', 'ctest-vn-15317152'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65752082', 'ctest-policy-allow-all-68516379']], 'subnet_ipam': [{'subnet_cidr': '160.250.59.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-22 02:05:33,173 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-22 02:05:33,552 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-22 02:05:33,579 - DEBUG - Requesting: http://10.0.0.33:8082/domain/09aea800-b3dc-4891-8c39-3cc96fd0cd6d
2026-06-22 02:05:33,590 - DEBUG - Requesting: http://10.0.0.33:8082/project/bb699919-c273-47ce-9250-7a7d79c16be1
2026-06-22 02:05:33,671 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6e005720-fa95-460e-bd8c-322e69e84b35
2026-06-22 02:05:33,682 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6e005720-fa95-460e-bd8c-322e69e84b35
2026-06-22 02:05:33,690 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3af28c29-6d8d-4b08-8253-abbdc38c1108
2026-06-22 02:05:33,697 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3af28c29-6d8d-4b08-8253-abbdc38c1108
2026-06-22 02:05:33,703 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/209bbc3e-8d12-456d-a5d9-58e51378d1a2
2026-06-22 02:05:33,710 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-22 02:05:33,711 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6e005720-fa95-460e-bd8c-322e69e84b35
2026-06-22 02:05:33,720 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3af28c29-6d8d-4b08-8253-abbdc38c1108
2026-06-22 02:05:33,736 - INFO - Verified VN network id 12 for VN 6e005720-fa95-460e-bd8c-322e69e84b35
2026-06-22 02:05:33,737 - INFO - Verifications in API Server for VN ctest-vn-34685235 passed
2026-06-22 02:05:33,737 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6e005720-fa95-460e-bd8c-322e69e84b35
2026-06-22 02:05:33,745 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3af28c29-6d8d-4b08-8253-abbdc38c1108
2026-06-22 02:05:33,751 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3af28c29-6d8d-4b08-8253-abbdc38c1108
2026-06-22 02:05:33,758 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/209bbc3e-8d12-456d-a5d9-58e51378d1a2
2026-06-22 02:05:33,770 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65752082:ctest-vn-34685235', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65752082', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7926431143326729742', 'uuid-lslong': '13658346944834587445'}, 'enable': 'true', 'created': '2026-06-22T02:05:31', 'last-modified': '2026-06-22T02:05:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.995266'}
2026-06-22 02:05:33,776 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-22 02:05:33,776 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34685235 passed
2026-06-22 02:05:33,776 - DEBUG - ====Verifying policy data for ctest-vn-34685235 in API_Server ======
2026-06-22 02:05:33,776 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-22 02:05:33,782 - DEBUG - Requesting: http://10.0.0.33:8082/domain/09aea800-b3dc-4891-8c39-3cc96fd0cd6d
2026-06-22 02:05:33,791 - DEBUG - Requesting: http://10.0.0.33:8082/project/bb699919-c273-47ce-9250-7a7d79c16be1
2026-06-22 02:05:33,860 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6e005720-fa95-460e-bd8c-322e69e84b35
2026-06-22 02:05:33,869 - DEBUG - ==>Verifying data for policy with id: 3ade915f-6f1a-4184-b01c-861cf0a4ee90, fqn: ['default-domain', 'ctest-TestBasicPolicy-65752082', 'ctest-policy-allow-all-68516379']
2026-06-22 02:05:33,869 - INFO - VN ctest-vn-34685235 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-22 02:05:33,869 - DEBUG - Verifying the vn in opserver
2026-06-22 02:05:33,869 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65752082:ctest-vn-34685235 virtual network link through opserver 10.0.0.33
2026-06-22 02:05:33,869 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-06-22 02:05:34,233 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-06-22 02:05:34,279 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65752082:ctest-vn-34685235', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65752082:ctest-vn-34685235?flat'}
2026-06-22 02:05:34,279 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65752082:ctest-vn-34685235 is found in opserver
2026-06-22 02:05:34,288 - DEBUG - Do not have enough data to verify VN in agent
2026-06-22 02:05:34,292 - DEBUG - VRF ids for VN ctest-vn-34685235: {}
2026-06-22 02:05:34,293 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-22 02:05:34,297 - DEBUG - Requesting: http://10.0.0.33:8082/domain/09aea800-b3dc-4891-8c39-3cc96fd0cd6d
2026-06-22 02:05:34,307 - DEBUG - Requesting: http://10.0.0.33:8082/project/bb699919-c273-47ce-9250-7a7d79c16be1
2026-06-22 02:05:34,375 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e6f345f5-7292-426f-be90-bf34f9b95215
2026-06-22 02:05:34,387 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e6f345f5-7292-426f-be90-bf34f9b95215
2026-06-22 02:05:34,395 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f3533659-d253-4a3b-ae06-7af52a13f8ca
2026-06-22 02:05:34,402 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f3533659-d253-4a3b-ae06-7af52a13f8ca
2026-06-22 02:05:34,409 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0e26b0c3-8912-4e21-8de1-de4b3c45d9e6
2026-06-22 02:05:34,414 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-22 02:05:34,414 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e6f345f5-7292-426f-be90-bf34f9b95215
2026-06-22 02:05:34,422 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f3533659-d253-4a3b-ae06-7af52a13f8ca
2026-06-22 02:05:34,436 - INFO - Verified VN network id 13 for VN e6f345f5-7292-426f-be90-bf34f9b95215
2026-06-22 02:05:34,436 - INFO - Verifications in API Server for VN ctest-vn-15317152 passed
2026-06-22 02:05:34,437 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e6f345f5-7292-426f-be90-bf34f9b95215
2026-06-22 02:05:34,446 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f3533659-d253-4a3b-ae06-7af52a13f8ca
2026-06-22 02:05:34,454 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f3533659-d253-4a3b-ae06-7af52a13f8ca
2026-06-22 02:05:34,461 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0e26b0c3-8912-4e21-8de1-de4b3c45d9e6
2026-06-22 02:05:34,473 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65752082:ctest-vn-15317152', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65752082', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16641721968555606639', 'uuid-lslong': '13731685498101518869'}, 'enable': 'true', 'created': '2026-06-22T02:05:32', 'last-modified': '2026-06-22T02:05:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.480855'}
2026-06-22 02:05:34,479 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-22 02:05:34,479 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15317152 passed
2026-06-22 02:05:34,479 - DEBUG - ====Verifying policy data for ctest-vn-15317152 in API_Server ======
2026-06-22 02:05:34,479 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-22 02:05:34,484 - DEBUG - Requesting: http://10.0.0.33:8082/domain/09aea800-b3dc-4891-8c39-3cc96fd0cd6d
2026-06-22 02:05:34,494 - DEBUG - Requesting: http://10.0.0.33:8082/project/bb699919-c273-47ce-9250-7a7d79c16be1
2026-06-22 02:05:34,566 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e6f345f5-7292-426f-be90-bf34f9b95215
2026-06-22 02:05:34,575 - DEBUG - ==>Verifying data for policy with id: 3ade915f-6f1a-4184-b01c-861cf0a4ee90, fqn: ['default-domain', 'ctest-TestBasicPolicy-65752082', 'ctest-policy-allow-all-68516379']
2026-06-22 02:05:34,575 - INFO - VN ctest-vn-15317152 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-22 02:05:34,575 - DEBUG - Verifying the vn in opserver
2026-06-22 02:05:34,575 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65752082:ctest-vn-15317152 virtual network link through opserver 10.0.0.33
2026-06-22 02:05:34,575 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-06-22 02:05:34,584 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65752082:ctest-vn-15317152', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65752082:ctest-vn-15317152?flat'}
2026-06-22 02:05:34,584 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65752082:ctest-vn-15317152 is found in opserver
2026-06-22 02:05:34,593 - DEBUG - Do not have enough data to verify VN in agent
2026-06-22 02:05:34,597 - DEBUG - VRF ids for VN ctest-vn-15317152: {}
2026-06-22 02:05:34,657 - DEBUG - Services list from nova: [