2026-09-09 18:25:13,307 - INFO - Domain Default found not creating
2026-09-09 18:25:13,518 - INFO - Project ctest-TestBasicPolicy-59847438 not found, creating it
2026-09-09 18:25:14,052 - INFO - Created Project:ctest-TestBasicPolicy-59847438, ID : 54886957-a67a-4815-b6b6-c52970c6a495
2026-09-09 18:25:15,867 - INFO - ================================================================================
2026-09-09 18:25:15,867 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-09 18:25:15,867 - 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-09-09 18:25:16,142 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-09-09 18:25:16,142 - INFO - Initial checks done. Running the testcase now
2026-09-09 18:25:16,142 - INFO -
2026-09-09 18:25:16,807 - DEBUG - Response for create_network : {'network': {'id': '34942bfc-45cd-4512-89a1-72d0a2b0ba4e', 'name': 'ctest-vn-59609056', 'tenant_id': '54886957a67a4815b6b6c52970c6a495', 'project_id': '54886957a67a4815b6b6c52970c6a495', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59847438', 'ctest-vn-59609056'], 'port_security_enabled': True, 'description': ''}}
2026-09-09 18:25:17,012 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db546b04-77c0-4cfb-afb5-4cda3f6e4bc6', 'name': '', 'tenant_id': '54886957a67a4815b6b6c52970c6a495', 'network_id': '34942bfc-45cd-4512-89a1-72d0a2b0ba4e', 'ip_version': 4, 'cidr': '163.144.225.0/26', 'allocation_pools': [{'start': '163.144.225.2', 'end': '163.144.225.62'}], 'gateway_ip': '163.144.225.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.144.225.2', 'tags': [], 'project_id': '54886957a67a4815b6b6c52970c6a495'}}
2026-09-09 18:25:17,031 - INFO - Created VN ctest-vn-59609056
2026-09-09 18:25:17,084 - DEBUG - VN ctest-vn-59609056 UUID is 34942bfc-45cd-4512-89a1-72d0a2b0ba4e
2026-09-09 18:25:17,421 - DEBUG - Response for create_network : {'network': {'id': 'a3eddc5c-df57-4f95-97d5-dad49c813387', 'name': 'ctest-vn-02233817', 'tenant_id': '54886957a67a4815b6b6c52970c6a495', 'project_id': '54886957a67a4815b6b6c52970c6a495', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59847438', 'ctest-vn-02233817'], 'port_security_enabled': True, 'description': ''}}
2026-09-09 18:25:17,637 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fb7c022a-ba23-477a-9c49-835df2ccccd0', 'name': '', 'tenant_id': '54886957a67a4815b6b6c52970c6a495', 'network_id': 'a3eddc5c-df57-4f95-97d5-dad49c813387', 'ip_version': 4, 'cidr': '80.230.113.128/26', 'allocation_pools': [{'start': '80.230.113.130', 'end': '80.230.113.190'}], 'gateway_ip': '80.230.113.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.230.113.130', 'tags': [], 'project_id': '54886957a67a4815b6b6c52970c6a495'}}
2026-09-09 18:25:17,658 - INFO - Created VN ctest-vn-02233817
2026-09-09 18:25:17,712 - DEBUG - VN ctest-vn-02233817 UUID is a3eddc5c-df57-4f95-97d5-dad49c813387
2026-09-09 18:25:17,832 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-59847438:ctest-vn-59609056, 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-59847438:ctest-vn-02233817, 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-09-09 18:25:18,157 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '34942bfc-45cd-4512-89a1-72d0a2b0ba4e', 'name': 'ctest-vn-59609056', 'tenant_id': '54886957a67a4815b6b6c52970c6a495', 'project_id': '54886957a67a4815b6b6c52970c6a495', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['db546b04-77c0-4cfb-afb5-4cda3f6e4bc6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59847438', 'ctest-vn-59609056'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59847438', 'ctest-policy-allow-all-64863298']], 'subnet_ipam': [{'subnet_cidr': '163.144.225.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-09 18:25:18,404 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a3eddc5c-df57-4f95-97d5-dad49c813387', 'name': 'ctest-vn-02233817', 'tenant_id': '54886957a67a4815b6b6c52970c6a495', 'project_id': '54886957a67a4815b6b6c52970c6a495', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['fb7c022a-ba23-477a-9c49-835df2ccccd0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59847438', 'ctest-vn-02233817'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59847438', 'ctest-policy-allow-all-64863298']], 'subnet_ipam': [{'subnet_cidr': '80.230.113.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-09 18:25:18,592 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-09 18:25:18,976 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-09 18:25:19,010 - DEBUG - Requesting: http://10.0.0.38:8082/domain/67483de1-1484-49dc-98c4-a0fc21ca031a
2026-09-09 18:25:19,023 - DEBUG - Requesting: http://10.0.0.38:8082/project/54886957-a67a-4815-b6b6-c52970c6a495
2026-09-09 18:25:19,101 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/34942bfc-45cd-4512-89a1-72d0a2b0ba4e
2026-09-09 18:25:19,114 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/34942bfc-45cd-4512-89a1-72d0a2b0ba4e
2026-09-09 18:25:19,127 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c2341813-913e-4188-8c0a-301d3473df01
2026-09-09 18:25:19,136 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c2341813-913e-4188-8c0a-301d3473df01
2026-09-09 18:25:19,145 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c8b42e24-df66-4ba9-821e-2f062d9f245a
2026-09-09 18:25:19,153 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-09 18:25:19,153 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/34942bfc-45cd-4512-89a1-72d0a2b0ba4e
2026-09-09 18:25:19,164 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c2341813-913e-4188-8c0a-301d3473df01
2026-09-09 18:25:19,184 - INFO - Verified VN network id 11 for VN 34942bfc-45cd-4512-89a1-72d0a2b0ba4e
2026-09-09 18:25:19,184 - INFO - Verifications in API Server for VN ctest-vn-59609056 passed
2026-09-09 18:25:19,184 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/34942bfc-45cd-4512-89a1-72d0a2b0ba4e
2026-09-09 18:25:19,195 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c2341813-913e-4188-8c0a-301d3473df01
2026-09-09 18:25:19,204 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c2341813-913e-4188-8c0a-301d3473df01
2026-09-09 18:25:19,213 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c8b42e24-df66-4ba9-821e-2f062d9f245a
2026-09-09 18:25:19,231 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59847438:ctest-vn-59609056', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59847438', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3788701549028263186', 'uuid-lslong': '9917334094854797902'}, 'enable': 'true', 'created': '2026-09-09T18:25:16', 'last-modified': '2026-09-09T18:25:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.095237'}
2026-09-09 18:25:19,241 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-09 18:25:19,241 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59609056 passed
2026-09-09 18:25:19,241 - DEBUG - ====Verifying policy data for ctest-vn-59609056 in API_Server ======
2026-09-09 18:25:19,241 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-09 18:25:19,248 - DEBUG - Requesting: http://10.0.0.38:8082/domain/67483de1-1484-49dc-98c4-a0fc21ca031a
2026-09-09 18:25:19,262 - DEBUG - Requesting: http://10.0.0.38:8082/project/54886957-a67a-4815-b6b6-c52970c6a495
2026-09-09 18:25:19,346 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/34942bfc-45cd-4512-89a1-72d0a2b0ba4e
2026-09-09 18:25:19,357 - DEBUG - ==>Verifying data for policy with id: bf78447e-6c81-492a-bfdb-2b4cb3a420b1, fqn: ['default-domain', 'ctest-TestBasicPolicy-59847438', 'ctest-policy-allow-all-64863298']
2026-09-09 18:25:19,358 - INFO - VN ctest-vn-59609056 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-09 18:25:19,358 - DEBUG - Verifying the vn in opserver
2026-09-09 18:25:19,358 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59847438:ctest-vn-59609056 virtual network link through opserver 10.0.0.38
2026-09-09 18:25:19,358 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-09-09 18:25:19,739 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-09-09 18:25:19,808 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59847438:ctest-vn-59609056', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59847438:ctest-vn-59609056?flat'}
2026-09-09 18:25:19,808 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59847438:ctest-vn-59609056 is found in opserver
2026-09-09 18:25:19,825 - DEBUG - Do not have enough data to verify VN in agent
2026-09-09 18:25:19,832 - DEBUG - VRF ids for VN ctest-vn-59609056: {}
2026-09-09 18:25:19,832 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-09 18:25:19,839 - DEBUG - Requesting: http://10.0.0.38:8082/domain/67483de1-1484-49dc-98c4-a0fc21ca031a
2026-09-09 18:25:19,853 - DEBUG - Requesting: http://10.0.0.38:8082/project/54886957-a67a-4815-b6b6-c52970c6a495
2026-09-09 18:25:19,935 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a3eddc5c-df57-4f95-97d5-dad49c813387
2026-09-09 18:25:19,951 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a3eddc5c-df57-4f95-97d5-dad49c813387
2026-09-09 18:25:19,963 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ce3c1993-ab79-4d1f-ac20-747e5442748a
2026-09-09 18:25:19,972 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ce3c1993-ab79-4d1f-ac20-747e5442748a
2026-09-09 18:25:19,983 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/db262260-3a75-4b0e-98d1-ca2ce7f746b3
2026-09-09 18:25:19,992 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-09 18:25:19,992 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a3eddc5c-df57-4f95-97d5-dad49c813387
2026-09-09 18:25:20,004 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ce3c1993-ab79-4d1f-ac20-747e5442748a
2026-09-09 18:25:20,023 - INFO - Verified VN network id 12 for VN a3eddc5c-df57-4f95-97d5-dad49c813387
2026-09-09 18:25:20,023 - INFO - Verifications in API Server for VN ctest-vn-02233817 passed
2026-09-09 18:25:20,023 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a3eddc5c-df57-4f95-97d5-dad49c813387
2026-09-09 18:25:20,038 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ce3c1993-ab79-4d1f-ac20-747e5442748a
2026-09-09 18:25:20,046 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ce3c1993-ab79-4d1f-ac20-747e5442748a
2026-09-09 18:25:20,055 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/db262260-3a75-4b0e-98d1-ca2ce7f746b3
2026-09-09 18:25:20,070 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59847438:ctest-vn-02233817', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59847438', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11812339689104822165', 'uuid-lslong': '10940891476460123015'}, 'enable': 'true', 'created': '2026-09-09T18:25:17', 'last-modified': '2026-09-09T18:25:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.690240'}
2026-09-09 18:25:20,077 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-09 18:25:20,078 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02233817 passed
2026-09-09 18:25:20,078 - DEBUG - ====Verifying policy data for ctest-vn-02233817 in API_Server ======
2026-09-09 18:25:20,078 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-09 18:25:20,084 - DEBUG - Requesting: http://10.0.0.38:8082/domain/67483de1-1484-49dc-98c4-a0fc21ca031a
2026-09-09 18:25:20,098 - DEBUG - Requesting: http://10.0.0.38:8082/project/54886957-a67a-4815-b6b6-c52970c6a495
2026-09-09 18:25:20,178 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a3eddc5c-df57-4f95-97d5-dad49c813387
2026-09-09 18:25:20,192 - DEBUG - ==>Verifying data for policy with id: bf78447e-6c81-492a-bfdb-2b4cb3a420b1, fqn: ['default-domain', 'ctest-TestBasicPolicy-59847438', 'ctest-policy-allow-all-64863298']
2026-09-09 18:25:20,192 - INFO - VN ctest-vn-02233817 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-09 18:25:20,193 - DEBUG - Verifying the vn in opserver
2026-09-09 18:25:20,193 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59847438:ctest-vn-02233817 virtual network link through opserver 10.0.0.38
2026-09-09 18:25:20,193 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-09-09 18:25:20,207 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59847438:ctest-vn-02233817', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59847438:ctest-vn-02233817?flat'}
2026-09-09 18:25:20,207 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59847438:ctest-vn-02233817 is found in opserver
2026-09-09 18:25:20,219 - DEBUG - Do not have enough data to verify VN in agent
2026-09-09 18:25:20,225 - DEBUG - VRF ids for VN ctest-vn-02233817: {}
2026-09-09 18:25:20,296 - DEBUG - Services list from nova: [