2026-01-02 04:00:19,289 - INFO - Domain Default found not creating
2026-01-02 04:00:19,490 - INFO - Project ctest-TestBasicPolicy-00532654 not found, creating it
2026-01-02 04:00:19,986 - INFO - Created Project:ctest-TestBasicPolicy-00532654, ID : dc1262a7-6546-4be6-94b0-f9d96b1bd1a5
2026-01-02 04:00:21,698 - INFO - ================================================================================
2026-01-02 04:00:21,698 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-02 04:00:21,698 - 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-02 04:00:21,967 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with
2026-01-02 04:00:21,967 - INFO - Initial checks done. Running the testcase now
2026-01-02 04:00:21,967 - INFO -
2026-01-02 04:00:22,587 - DEBUG - Response for create_network : {'network': {'id': '80dc0a07-437e-4a79-914d-5200818ceb1c', 'name': 'ctest-vn-43832462', 'tenant_id': 'dc1262a765464be694b0f9d96b1bd1a5', 'project_id': 'dc1262a765464be694b0f9d96b1bd1a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00532654', 'ctest-vn-43832462'], 'port_security_enabled': True, 'description': ''}}
2026-01-02 04:00:22,754 - DEBUG - Response for create_subnet : {'subnet': {'id': '40a08ab1-93ac-42c6-8e30-5d01660064cf', 'name': '', 'tenant_id': 'dc1262a765464be694b0f9d96b1bd1a5', 'network_id': '80dc0a07-437e-4a79-914d-5200818ceb1c', 'ip_version': 4, 'cidr': '212.200.163.0/26', 'allocation_pools': [{'start': '212.200.163.2', 'end': '212.200.163.62'}], 'gateway_ip': '212.200.163.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.200.163.2', 'tags': [], 'project_id': 'dc1262a765464be694b0f9d96b1bd1a5'}}
2026-01-02 04:00:22,772 - INFO - Created VN ctest-vn-43832462
2026-01-02 04:00:22,828 - DEBUG - VN ctest-vn-43832462 UUID is 80dc0a07-437e-4a79-914d-5200818ceb1c
2026-01-02 04:00:23,133 - DEBUG - Response for create_network : {'network': {'id': 'a2066b59-4802-4122-85e7-6b4888fa0d76', 'name': 'ctest-vn-30982078', 'tenant_id': 'dc1262a765464be694b0f9d96b1bd1a5', 'project_id': 'dc1262a765464be694b0f9d96b1bd1a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00532654', 'ctest-vn-30982078'], 'port_security_enabled': True, 'description': ''}}
2026-01-02 04:00:23,367 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd400c41e-5c2a-4f17-8234-2135cb2e3250', 'name': '', 'tenant_id': 'dc1262a765464be694b0f9d96b1bd1a5', 'network_id': 'a2066b59-4802-4122-85e7-6b4888fa0d76', 'ip_version': 4, 'cidr': '102.37.130.192/26', 'allocation_pools': [{'start': '102.37.130.194', 'end': '102.37.130.254'}], 'gateway_ip': '102.37.130.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.37.130.194', 'tags': [], 'project_id': 'dc1262a765464be694b0f9d96b1bd1a5'}}
2026-01-02 04:00:23,389 - INFO - Created VN ctest-vn-30982078
2026-01-02 04:00:23,443 - DEBUG - VN ctest-vn-30982078 UUID is a2066b59-4802-4122-85e7-6b4888fa0d76
2026-01-02 04:00:23,566 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00532654:ctest-vn-43832462, 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-00532654:ctest-vn-30982078, 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-02 04:00:23,868 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '80dc0a07-437e-4a79-914d-5200818ceb1c', 'name': 'ctest-vn-43832462', 'tenant_id': 'dc1262a765464be694b0f9d96b1bd1a5', 'project_id': 'dc1262a765464be694b0f9d96b1bd1a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['40a08ab1-93ac-42c6-8e30-5d01660064cf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00532654', 'ctest-vn-43832462'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00532654', 'ctest-policy-allow-all-23802494']], 'subnet_ipam': [{'subnet_cidr': '212.200.163.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-02 04:00:24,104 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a2066b59-4802-4122-85e7-6b4888fa0d76', 'name': 'ctest-vn-30982078', 'tenant_id': 'dc1262a765464be694b0f9d96b1bd1a5', 'project_id': 'dc1262a765464be694b0f9d96b1bd1a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d400c41e-5c2a-4f17-8234-2135cb2e3250'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00532654', 'ctest-vn-30982078'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00532654', 'ctest-policy-allow-all-23802494']], 'subnet_ipam': [{'subnet_cidr': '102.37.130.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-02 04:00:24,260 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-01-02 04:00:24,618 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-01-02 04:00:24,662 - DEBUG - Requesting: http://10.0.0.249:8082/domain/9b3dbac2-62e3-4efb-8499-1eec04e16611
2026-01-02 04:00:24,677 - DEBUG - Requesting: http://10.0.0.249:8082/project/dc1262a7-6546-4be6-94b0-f9d96b1bd1a5
2026-01-02 04:00:24,755 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/80dc0a07-437e-4a79-914d-5200818ceb1c
2026-01-02 04:00:24,767 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/80dc0a07-437e-4a79-914d-5200818ceb1c
2026-01-02 04:00:24,778 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3bd0e9cc-d4c3-403e-9ad1-a7354ec8b308
2026-01-02 04:00:24,787 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3bd0e9cc-d4c3-403e-9ad1-a7354ec8b308
2026-01-02 04:00:24,794 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/582ad770-d408-44a4-9446-f4a95a3bc8f4
2026-01-02 04:00:24,801 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-02 04:00:24,801 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/80dc0a07-437e-4a79-914d-5200818ceb1c
2026-01-02 04:00:24,811 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3bd0e9cc-d4c3-403e-9ad1-a7354ec8b308
2026-01-02 04:00:24,826 - INFO - Verified VN network id 12 for VN 80dc0a07-437e-4a79-914d-5200818ceb1c
2026-01-02 04:00:24,826 - INFO - Verifications in API Server for VN ctest-vn-43832462 passed
2026-01-02 04:00:24,826 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/80dc0a07-437e-4a79-914d-5200818ceb1c
2026-01-02 04:00:24,836 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3bd0e9cc-d4c3-403e-9ad1-a7354ec8b308
2026-01-02 04:00:24,846 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3bd0e9cc-d4c3-403e-9ad1-a7354ec8b308
2026-01-02 04:00:24,854 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/582ad770-d408-44a4-9446-f4a95a3bc8f4
2026-01-02 04:00:24,867 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00532654:ctest-vn-43832462', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00532654', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9285307558044519033', 'uuid-lslong': '10470114870833244956'}, 'enable': 'true', 'created': '2026-01-02T04:00:22', 'last-modified': '2026-01-02T04:00:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.021840'}
2026-01-02 04:00:24,873 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-02 04:00:24,873 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43832462 passed
2026-01-02 04:00:24,873 - DEBUG - ====Verifying policy data for ctest-vn-43832462 in API_Server ======
2026-01-02 04:00:24,873 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-01-02 04:00:24,878 - DEBUG - Requesting: http://10.0.0.249:8082/domain/9b3dbac2-62e3-4efb-8499-1eec04e16611
2026-01-02 04:00:24,890 - DEBUG - Requesting: http://10.0.0.249:8082/project/dc1262a7-6546-4be6-94b0-f9d96b1bd1a5
2026-01-02 04:00:24,968 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/80dc0a07-437e-4a79-914d-5200818ceb1c
2026-01-02 04:00:24,978 - DEBUG - ==>Verifying data for policy with id: 3ce1f75d-26ba-4da4-a153-12cc0b409a9a, fqn: ['default-domain', 'ctest-TestBasicPolicy-00532654', 'ctest-policy-allow-all-23802494']
2026-01-02 04:00:24,978 - INFO - VN ctest-vn-43832462 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-02 04:00:24,978 - DEBUG - Verifying the vn in opserver
2026-01-02 04:00:24,978 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00532654:ctest-vn-43832462 virtual network link through opserver 10.0.0.249
2026-01-02 04:00:24,979 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-01-02 04:00:25,335 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-01-02 04:00:25,407 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00532654:ctest-vn-43832462', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00532654:ctest-vn-43832462?flat'}
2026-01-02 04:00:25,407 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00532654:ctest-vn-43832462 is found in opserver
2026-01-02 04:00:25,419 - DEBUG - Do not have enough data to verify VN in agent
2026-01-02 04:00:25,424 - DEBUG - VRF ids for VN ctest-vn-43832462: {}
2026-01-02 04:00:25,424 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-01-02 04:00:25,430 - DEBUG - Requesting: http://10.0.0.249:8082/domain/9b3dbac2-62e3-4efb-8499-1eec04e16611
2026-01-02 04:00:25,441 - DEBUG - Requesting: http://10.0.0.249:8082/project/dc1262a7-6546-4be6-94b0-f9d96b1bd1a5
2026-01-02 04:00:25,517 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a2066b59-4802-4122-85e7-6b4888fa0d76
2026-01-02 04:00:25,530 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a2066b59-4802-4122-85e7-6b4888fa0d76
2026-01-02 04:00:25,541 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1396cf00-1c22-4811-8a4a-0fb659309a75
2026-01-02 04:00:25,548 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1396cf00-1c22-4811-8a4a-0fb659309a75
2026-01-02 04:00:25,555 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/bd2505df-def3-4310-80b5-6a92719a06ff
2026-01-02 04:00:25,563 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-02 04:00:25,563 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a2066b59-4802-4122-85e7-6b4888fa0d76
2026-01-02 04:00:25,572 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1396cf00-1c22-4811-8a4a-0fb659309a75
2026-01-02 04:00:25,588 - INFO - Verified VN network id 13 for VN a2066b59-4802-4122-85e7-6b4888fa0d76
2026-01-02 04:00:25,588 - INFO - Verifications in API Server for VN ctest-vn-30982078 passed
2026-01-02 04:00:25,588 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a2066b59-4802-4122-85e7-6b4888fa0d76
2026-01-02 04:00:25,598 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1396cf00-1c22-4811-8a4a-0fb659309a75
2026-01-02 04:00:25,606 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1396cf00-1c22-4811-8a4a-0fb659309a75
2026-01-02 04:00:25,614 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/bd2505df-def3-4310-80b5-6a92719a06ff
2026-01-02 04:00:25,628 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00532654:ctest-vn-30982078', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00532654', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11675137115208958242', 'uuid-lslong': '9648798685944483190'}, 'enable': 'true', 'created': '2026-01-02T04:00:23', 'last-modified': '2026-01-02T04:00:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.550063'}
2026-01-02 04:00:25,634 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-02 04:00:25,634 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30982078 passed
2026-01-02 04:00:25,634 - DEBUG - ====Verifying policy data for ctest-vn-30982078 in API_Server ======
2026-01-02 04:00:25,635 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-01-02 04:00:25,641 - DEBUG - Requesting: http://10.0.0.249:8082/domain/9b3dbac2-62e3-4efb-8499-1eec04e16611
2026-01-02 04:00:25,651 - DEBUG - Requesting: http://10.0.0.249:8082/project/dc1262a7-6546-4be6-94b0-f9d96b1bd1a5
2026-01-02 04:00:25,737 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a2066b59-4802-4122-85e7-6b4888fa0d76
2026-01-02 04:00:25,748 - DEBUG - ==>Verifying data for policy with id: 3ce1f75d-26ba-4da4-a153-12cc0b409a9a, fqn: ['default-domain', 'ctest-TestBasicPolicy-00532654', 'ctest-policy-allow-all-23802494']
2026-01-02 04:00:25,748 - INFO - VN ctest-vn-30982078 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-02 04:00:25,748 - DEBUG - Verifying the vn in opserver
2026-01-02 04:00:25,748 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00532654:ctest-vn-30982078 virtual network link through opserver 10.0.0.249
2026-01-02 04:00:25,748 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-01-02 04:00:25,759 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00532654:ctest-vn-30982078', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00532654:ctest-vn-30982078?flat'}
2026-01-02 04:00:25,759 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00532654:ctest-vn-30982078 is found in opserver
2026-01-02 04:00:25,770 - DEBUG - Do not have enough data to verify VN in agent
2026-01-02 04:00:25,775 - DEBUG - VRF ids for VN ctest-vn-30982078: {}
2026-01-02 04:00:25,842 - DEBUG - Services list from nova: [