2026-02-05 21:56:24,705 - INFO - Domain Default found not creating
2026-02-05 21:56:24,858 - INFO - Project ctest-TestBasicPolicy-71814366 not found, creating it
2026-02-05 21:56:25,334 - INFO - Created Project:ctest-TestBasicPolicy-71814366, ID : 47971654-c58f-4517-9735-f572fff83268
2026-02-05 21:56:26,761 - INFO - ================================================================================
2026-02-05 21:56:26,761 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-05 21:56:26,761 - 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-05 21:56:27,014 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-02-05 21:56:27,015 - INFO - Initial checks done. Running the testcase now
2026-02-05 21:56:27,015 - INFO -
2026-02-05 21:56:27,539 - DEBUG - Response for create_network : {'network': {'id': 'b493d858-9916-4abd-a890-20fe008c7d44', 'name': 'ctest-vn-58826205', 'tenant_id': '47971654c58f45179735f572fff83268', 'project_id': '47971654c58f45179735f572fff83268', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71814366', 'ctest-vn-58826205'], 'port_security_enabled': True, 'description': ''}}
2026-02-05 21:56:27,702 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef451c69-ee39-44ad-ad58-79b594d8862a', 'name': '', 'tenant_id': '47971654c58f45179735f572fff83268', 'network_id': 'b493d858-9916-4abd-a890-20fe008c7d44', 'ip_version': 4, 'cidr': '13.126.65.0/26', 'allocation_pools': [{'start': '13.126.65.2', 'end': '13.126.65.62'}], 'gateway_ip': '13.126.65.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.126.65.2', 'tags': [], 'project_id': '47971654c58f45179735f572fff83268'}}
2026-02-05 21:56:27,717 - INFO - Created VN ctest-vn-58826205
2026-02-05 21:56:27,765 - DEBUG - VN ctest-vn-58826205 UUID is b493d858-9916-4abd-a890-20fe008c7d44
2026-02-05 21:56:28,056 - DEBUG - Response for create_network : {'network': {'id': '13bf4c3a-5a3c-4f21-9019-28ea0d6b413e', 'name': 'ctest-vn-71589149', 'tenant_id': '47971654c58f45179735f572fff83268', 'project_id': '47971654c58f45179735f572fff83268', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71814366', 'ctest-vn-71589149'], 'port_security_enabled': True, 'description': ''}}
2026-02-05 21:56:28,234 - DEBUG - Response for create_subnet : {'subnet': {'id': '7bf3171f-fcc6-496c-a08c-6d586b9b4f9b', 'name': '', 'tenant_id': '47971654c58f45179735f572fff83268', 'network_id': '13bf4c3a-5a3c-4f21-9019-28ea0d6b413e', 'ip_version': 4, 'cidr': '75.175.83.64/26', 'allocation_pools': [{'start': '75.175.83.66', 'end': '75.175.83.126'}], 'gateway_ip': '75.175.83.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.175.83.66', 'tags': [], 'project_id': '47971654c58f45179735f572fff83268'}}
2026-02-05 21:56:28,249 - INFO - Created VN ctest-vn-71589149
2026-02-05 21:56:28,297 - DEBUG - VN ctest-vn-71589149 UUID is 13bf4c3a-5a3c-4f21-9019-28ea0d6b413e
2026-02-05 21:56:28,437 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71814366:ctest-vn-58826205, 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-71814366:ctest-vn-71589149, 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-05 21:56:28,721 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b493d858-9916-4abd-a890-20fe008c7d44', 'name': 'ctest-vn-58826205', 'tenant_id': '47971654c58f45179735f572fff83268', 'project_id': '47971654c58f45179735f572fff83268', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ef451c69-ee39-44ad-ad58-79b594d8862a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71814366', 'ctest-vn-58826205'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71814366', 'ctest-policy-allow-all-81722997']], 'subnet_ipam': [{'subnet_cidr': '13.126.65.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-05 21:56:28,932 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '13bf4c3a-5a3c-4f21-9019-28ea0d6b413e', 'name': 'ctest-vn-71589149', 'tenant_id': '47971654c58f45179735f572fff83268', 'project_id': '47971654c58f45179735f572fff83268', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7bf3171f-fcc6-496c-a08c-6d586b9b4f9b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71814366', 'ctest-vn-71589149'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71814366', 'ctest-policy-allow-all-81722997']], 'subnet_ipam': [{'subnet_cidr': '75.175.83.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-05 21:56:29,098 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-05 21:56:29,391 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-05 21:56:29,421 - DEBUG - Requesting: http://10.0.0.50:8082/domain/85e41d9e-29a2-4672-99d7-2ac9a5e8cf75
2026-02-05 21:56:29,435 - DEBUG - Requesting: http://10.0.0.50:8082/project/47971654-c58f-4517-9735-f572fff83268
2026-02-05 21:56:29,510 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b493d858-9916-4abd-a890-20fe008c7d44
2026-02-05 21:56:29,521 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b493d858-9916-4abd-a890-20fe008c7d44
2026-02-05 21:56:29,530 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9b77501b-6453-46fa-ae59-20ef31b2904c
2026-02-05 21:56:29,537 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9b77501b-6453-46fa-ae59-20ef31b2904c
2026-02-05 21:56:29,544 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3363c394-9c85-4601-952f-0bfda373553f
2026-02-05 21:56:29,553 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-05 21:56:29,553 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b493d858-9916-4abd-a890-20fe008c7d44
2026-02-05 21:56:29,567 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9b77501b-6453-46fa-ae59-20ef31b2904c
2026-02-05 21:56:29,581 - INFO - Verified VN network id 11 for VN b493d858-9916-4abd-a890-20fe008c7d44
2026-02-05 21:56:29,581 - INFO - Verifications in API Server for VN ctest-vn-58826205 passed
2026-02-05 21:56:29,581 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b493d858-9916-4abd-a890-20fe008c7d44
2026-02-05 21:56:29,589 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9b77501b-6453-46fa-ae59-20ef31b2904c
2026-02-05 21:56:29,595 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9b77501b-6453-46fa-ae59-20ef31b2904c
2026-02-05 21:56:29,601 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3363c394-9c85-4601-952f-0bfda373553f
2026-02-05 21:56:29,612 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71814366:ctest-vn-58826205', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71814366', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13011981623440591549', 'uuid-lslong': '12146244470321216836'}, 'enable': 'true', 'created': '2026-02-05T21:56:27', 'last-modified': '2026-02-05T21:56:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.914617'}
2026-02-05 21:56:29,624 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-05 21:56:29,624 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58826205 passed
2026-02-05 21:56:29,625 - DEBUG - ====Verifying policy data for ctest-vn-58826205 in API_Server ======
2026-02-05 21:56:29,625 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-05 21:56:29,630 - DEBUG - Requesting: http://10.0.0.50:8082/domain/85e41d9e-29a2-4672-99d7-2ac9a5e8cf75
2026-02-05 21:56:29,640 - DEBUG - Requesting: http://10.0.0.50:8082/project/47971654-c58f-4517-9735-f572fff83268
2026-02-05 21:56:29,710 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b493d858-9916-4abd-a890-20fe008c7d44
2026-02-05 21:56:29,718 - DEBUG - ==>Verifying data for policy with id: 68d06e0c-9e36-4c34-84e7-2a2f178e063c, fqn: ['default-domain', 'ctest-TestBasicPolicy-71814366', 'ctest-policy-allow-all-81722997']
2026-02-05 21:56:29,718 - INFO - VN ctest-vn-58826205 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-05 21:56:29,718 - DEBUG - Verifying the vn in opserver
2026-02-05 21:56:29,718 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71814366:ctest-vn-58826205 virtual network link through opserver 10.0.0.50
2026-02-05 21:56:29,718 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-05 21:56:30,008 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-05 21:56:30,062 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71814366:ctest-vn-58826205', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71814366:ctest-vn-58826205?flat'}
2026-02-05 21:56:30,062 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71814366:ctest-vn-58826205 is found in opserver
2026-02-05 21:56:30,071 - DEBUG - Do not have enough data to verify VN in agent
2026-02-05 21:56:30,075 - DEBUG - VRF ids for VN ctest-vn-58826205: {}
2026-02-05 21:56:30,075 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-05 21:56:30,079 - DEBUG - Requesting: http://10.0.0.50:8082/domain/85e41d9e-29a2-4672-99d7-2ac9a5e8cf75
2026-02-05 21:56:30,088 - DEBUG - Requesting: http://10.0.0.50:8082/project/47971654-c58f-4517-9735-f572fff83268
2026-02-05 21:56:30,156 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/13bf4c3a-5a3c-4f21-9019-28ea0d6b413e
2026-02-05 21:56:30,166 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/13bf4c3a-5a3c-4f21-9019-28ea0d6b413e
2026-02-05 21:56:30,174 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b7501e54-9ddf-4189-8fc6-93df3164ae62
2026-02-05 21:56:30,180 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b7501e54-9ddf-4189-8fc6-93df3164ae62
2026-02-05 21:56:30,186 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2a4f3ea9-ed93-4940-9e4f-8f4be1523c7a
2026-02-05 21:56:30,192 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-05 21:56:30,192 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/13bf4c3a-5a3c-4f21-9019-28ea0d6b413e
2026-02-05 21:56:30,201 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b7501e54-9ddf-4189-8fc6-93df3164ae62
2026-02-05 21:56:30,213 - INFO - Verified VN network id 12 for VN 13bf4c3a-5a3c-4f21-9019-28ea0d6b413e
2026-02-05 21:56:30,213 - INFO - Verifications in API Server for VN ctest-vn-71589149 passed
2026-02-05 21:56:30,213 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/13bf4c3a-5a3c-4f21-9019-28ea0d6b413e
2026-02-05 21:56:30,221 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b7501e54-9ddf-4189-8fc6-93df3164ae62
2026-02-05 21:56:30,227 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b7501e54-9ddf-4189-8fc6-93df3164ae62
2026-02-05 21:56:30,233 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2a4f3ea9-ed93-4940-9e4f-8f4be1523c7a
2026-02-05 21:56:30,243 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71814366:ctest-vn-71589149', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71814366', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1422939820778082081', 'uuid-lslong': '10383375401591980350'}, 'enable': 'true', 'created': '2026-02-05T21:56:28', 'last-modified': '2026-02-05T21:56:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.333779'}
2026-02-05 21:56:30,249 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-05 21:56:30,249 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71589149 passed
2026-02-05 21:56:30,249 - DEBUG - ====Verifying policy data for ctest-vn-71589149 in API_Server ======
2026-02-05 21:56:30,249 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-05 21:56:30,255 - DEBUG - Requesting: http://10.0.0.50:8082/domain/85e41d9e-29a2-4672-99d7-2ac9a5e8cf75
2026-02-05 21:56:30,263 - DEBUG - Requesting: http://10.0.0.50:8082/project/47971654-c58f-4517-9735-f572fff83268
2026-02-05 21:56:30,330 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/13bf4c3a-5a3c-4f21-9019-28ea0d6b413e
2026-02-05 21:56:30,337 - DEBUG - ==>Verifying data for policy with id: 68d06e0c-9e36-4c34-84e7-2a2f178e063c, fqn: ['default-domain', 'ctest-TestBasicPolicy-71814366', 'ctest-policy-allow-all-81722997']
2026-02-05 21:56:30,338 - INFO - VN ctest-vn-71589149 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-05 21:56:30,338 - DEBUG - Verifying the vn in opserver
2026-02-05 21:56:30,338 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71814366:ctest-vn-71589149 virtual network link through opserver 10.0.0.50
2026-02-05 21:56:30,338 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-05 21:56:30,346 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71814366:ctest-vn-71589149', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71814366:ctest-vn-71589149?flat'}
2026-02-05 21:56:30,346 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71814366:ctest-vn-71589149 is found in opserver
2026-02-05 21:56:30,354 - DEBUG - Do not have enough data to verify VN in agent
2026-02-05 21:56:30,358 - DEBUG - VRF ids for VN ctest-vn-71589149: {}
2026-02-05 21:56:30,412 - DEBUG - Services list from nova: [