2026-08-17 13:37:24,490 - INFO - Domain Default found not creating
2026-08-17 13:37:24,657 - INFO - Project ctest-TestBasicPolicy-45347005 not found, creating it
2026-08-17 13:37:25,152 - INFO - Created Project:ctest-TestBasicPolicy-45347005, ID : 69d46e03-8f3a-43b3-a858-b9b89d033eff
2026-08-17 13:37:26,889 - INFO - ================================================================================
2026-08-17 13:37:26,889 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-17 13:37:26,890 - 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-08-17 13:37:27,160 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with
2026-08-17 13:37:27,160 - INFO - Initial checks done. Running the testcase now
2026-08-17 13:37:27,160 - INFO -
2026-08-17 13:37:27,819 - DEBUG - Response for create_network : {'network': {'id': '5b7654aa-d224-47cb-82c6-10e5c37693af', 'name': 'ctest-vn-32968569', 'tenant_id': '69d46e038f3a43b3a858b9b89d033eff', 'project_id': '69d46e038f3a43b3a858b9b89d033eff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45347005', 'ctest-vn-32968569'], 'port_security_enabled': True, 'description': ''}}
2026-08-17 13:37:28,016 - DEBUG - Response for create_subnet : {'subnet': {'id': '570650a6-579e-4ff1-a7ac-6433565d4ba8', 'name': '', 'tenant_id': '69d46e038f3a43b3a858b9b89d033eff', 'network_id': '5b7654aa-d224-47cb-82c6-10e5c37693af', 'ip_version': 4, 'cidr': '196.250.201.0/26', 'allocation_pools': [{'start': '196.250.201.2', 'end': '196.250.201.62'}], 'gateway_ip': '196.250.201.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.250.201.2', 'tags': [], 'project_id': '69d46e038f3a43b3a858b9b89d033eff'}}
2026-08-17 13:37:28,036 - INFO - Created VN ctest-vn-32968569
2026-08-17 13:37:28,090 - DEBUG - VN ctest-vn-32968569 UUID is 5b7654aa-d224-47cb-82c6-10e5c37693af
2026-08-17 13:37:28,419 - DEBUG - Response for create_network : {'network': {'id': '8b28b7f7-3ff9-4749-ac30-986419943ba9', 'name': 'ctest-vn-68746405', 'tenant_id': '69d46e038f3a43b3a858b9b89d033eff', 'project_id': '69d46e038f3a43b3a858b9b89d033eff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45347005', 'ctest-vn-68746405'], 'port_security_enabled': True, 'description': ''}}
2026-08-17 13:37:28,626 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe112e80-c634-4abc-83d4-47b7689e8b09', 'name': '', 'tenant_id': '69d46e038f3a43b3a858b9b89d033eff', 'network_id': '8b28b7f7-3ff9-4749-ac30-986419943ba9', 'ip_version': 4, 'cidr': '11.173.28.192/26', 'allocation_pools': [{'start': '11.173.28.194', 'end': '11.173.28.254'}], 'gateway_ip': '11.173.28.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.173.28.194', 'tags': [], 'project_id': '69d46e038f3a43b3a858b9b89d033eff'}}
2026-08-17 13:37:28,649 - INFO - Created VN ctest-vn-68746405
2026-08-17 13:37:28,706 - DEBUG - VN ctest-vn-68746405 UUID is 8b28b7f7-3ff9-4749-ac30-986419943ba9
2026-08-17 13:37:28,823 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45347005:ctest-vn-32968569, 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-45347005:ctest-vn-68746405, 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-08-17 13:37:29,155 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5b7654aa-d224-47cb-82c6-10e5c37693af', 'name': 'ctest-vn-32968569', 'tenant_id': '69d46e038f3a43b3a858b9b89d033eff', 'project_id': '69d46e038f3a43b3a858b9b89d033eff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['570650a6-579e-4ff1-a7ac-6433565d4ba8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45347005', 'ctest-vn-32968569'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45347005', 'ctest-policy-allow-all-15746620']], 'subnet_ipam': [{'subnet_cidr': '196.250.201.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-17 13:37:29,423 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8b28b7f7-3ff9-4749-ac30-986419943ba9', 'name': 'ctest-vn-68746405', 'tenant_id': '69d46e038f3a43b3a858b9b89d033eff', 'project_id': '69d46e038f3a43b3a858b9b89d033eff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fe112e80-c634-4abc-83d4-47b7689e8b09'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45347005', 'ctest-vn-68746405'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45347005', 'ctest-policy-allow-all-15746620']], 'subnet_ipam': [{'subnet_cidr': '11.173.28.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-17 13:37:29,586 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-17 13:37:29,957 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-17 13:37:29,985 - DEBUG - Requesting: http://10.0.0.50:8082/domain/55f9187f-9b6f-476a-a9fa-b1c71f09ff9d
2026-08-17 13:37:29,997 - DEBUG - Requesting: http://10.0.0.50:8082/project/69d46e03-8f3a-43b3-a858-b9b89d033eff
2026-08-17 13:37:30,079 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b7654aa-d224-47cb-82c6-10e5c37693af
2026-08-17 13:37:30,092 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b7654aa-d224-47cb-82c6-10e5c37693af
2026-08-17 13:37:30,103 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f7f65e00-7a01-4de7-897a-67bede3bd26e
2026-08-17 13:37:30,113 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f7f65e00-7a01-4de7-897a-67bede3bd26e
2026-08-17 13:37:30,122 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/552882f8-c3e7-43a2-96af-e4262a5b4950
2026-08-17 13:37:30,130 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-17 13:37:30,130 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b7654aa-d224-47cb-82c6-10e5c37693af
2026-08-17 13:37:30,140 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f7f65e00-7a01-4de7-897a-67bede3bd26e
2026-08-17 13:37:30,156 - INFO - Verified VN network id 11 for VN 5b7654aa-d224-47cb-82c6-10e5c37693af
2026-08-17 13:37:30,156 - INFO - Verifications in API Server for VN ctest-vn-32968569 passed
2026-08-17 13:37:30,156 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b7654aa-d224-47cb-82c6-10e5c37693af
2026-08-17 13:37:30,166 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f7f65e00-7a01-4de7-897a-67bede3bd26e
2026-08-17 13:37:30,175 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f7f65e00-7a01-4de7-897a-67bede3bd26e
2026-08-17 13:37:30,183 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/552882f8-c3e7-43a2-96af-e4262a5b4950
2026-08-17 13:37:30,197 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45347005:ctest-vn-32968569', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45347005', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6590548197350066123', 'uuid-lslong': '9423237849332224943'}, 'enable': 'true', 'created': '2026-08-17T13:37:27', 'last-modified': '2026-08-17T13:37:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.087808'}
2026-08-17 13:37:30,205 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-17 13:37:30,205 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32968569 passed
2026-08-17 13:37:30,205 - DEBUG - ====Verifying policy data for ctest-vn-32968569 in API_Server ======
2026-08-17 13:37:30,205 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-17 13:37:30,212 - DEBUG - Requesting: http://10.0.0.50:8082/domain/55f9187f-9b6f-476a-a9fa-b1c71f09ff9d
2026-08-17 13:37:30,223 - DEBUG - Requesting: http://10.0.0.50:8082/project/69d46e03-8f3a-43b3-a858-b9b89d033eff
2026-08-17 13:37:30,307 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b7654aa-d224-47cb-82c6-10e5c37693af
2026-08-17 13:37:30,318 - DEBUG - ==>Verifying data for policy with id: 37652427-7d0c-4348-a3a2-9a0ef8d608a8, fqn: ['default-domain', 'ctest-TestBasicPolicy-45347005', 'ctest-policy-allow-all-15746620']
2026-08-17 13:37:30,318 - INFO - VN ctest-vn-32968569 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-17 13:37:30,318 - DEBUG - Verifying the vn in opserver
2026-08-17 13:37:30,318 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45347005:ctest-vn-32968569 virtual network link through opserver 10.0.0.50
2026-08-17 13:37:30,318 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-08-17 13:37:30,687 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-08-17 13:37:30,752 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45347005:ctest-vn-32968569', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45347005:ctest-vn-32968569?flat'}
2026-08-17 13:37:30,752 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45347005:ctest-vn-32968569 is found in opserver
2026-08-17 13:37:30,762 - DEBUG - Do not have enough data to verify VN in agent
2026-08-17 13:37:30,767 - DEBUG - VRF ids for VN ctest-vn-32968569: {}
2026-08-17 13:37:30,767 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-17 13:37:30,773 - DEBUG - Requesting: http://10.0.0.50:8082/domain/55f9187f-9b6f-476a-a9fa-b1c71f09ff9d
2026-08-17 13:37:30,785 - DEBUG - Requesting: http://10.0.0.50:8082/project/69d46e03-8f3a-43b3-a858-b9b89d033eff
2026-08-17 13:37:30,862 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8b28b7f7-3ff9-4749-ac30-986419943ba9
2026-08-17 13:37:30,874 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8b28b7f7-3ff9-4749-ac30-986419943ba9
2026-08-17 13:37:30,886 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ee29fff7-7d0a-4500-ac81-99a096fa1b18
2026-08-17 13:37:30,895 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ee29fff7-7d0a-4500-ac81-99a096fa1b18
2026-08-17 13:37:30,903 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/eae69008-20ae-4ff8-b6eb-1e163f6a09cb
2026-08-17 13:37:30,911 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-17 13:37:30,911 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8b28b7f7-3ff9-4749-ac30-986419943ba9
2026-08-17 13:37:30,921 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ee29fff7-7d0a-4500-ac81-99a096fa1b18
2026-08-17 13:37:30,939 - INFO - Verified VN network id 12 for VN 8b28b7f7-3ff9-4749-ac30-986419943ba9
2026-08-17 13:37:30,939 - INFO - Verifications in API Server for VN ctest-vn-68746405 passed
2026-08-17 13:37:30,939 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8b28b7f7-3ff9-4749-ac30-986419943ba9
2026-08-17 13:37:30,954 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ee29fff7-7d0a-4500-ac81-99a096fa1b18
2026-08-17 13:37:30,964 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ee29fff7-7d0a-4500-ac81-99a096fa1b18
2026-08-17 13:37:30,972 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/eae69008-20ae-4ff8-b6eb-1e163f6a09cb
2026-08-17 13:37:30,987 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45347005:ctest-vn-68746405', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45347005', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10027466842898515785', 'uuid-lslong': '12407584529099013033'}, 'enable': 'true', 'created': '2026-08-17T13:37:28', 'last-modified': '2026-08-17T13:37:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.601837'}
2026-08-17 13:37:30,995 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-17 13:37:30,995 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68746405 passed
2026-08-17 13:37:30,995 - DEBUG - ====Verifying policy data for ctest-vn-68746405 in API_Server ======
2026-08-17 13:37:30,995 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-17 13:37:31,002 - DEBUG - Requesting: http://10.0.0.50:8082/domain/55f9187f-9b6f-476a-a9fa-b1c71f09ff9d
2026-08-17 13:37:31,014 - DEBUG - Requesting: http://10.0.0.50:8082/project/69d46e03-8f3a-43b3-a858-b9b89d033eff
2026-08-17 13:37:31,099 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8b28b7f7-3ff9-4749-ac30-986419943ba9
2026-08-17 13:37:31,110 - DEBUG - ==>Verifying data for policy with id: 37652427-7d0c-4348-a3a2-9a0ef8d608a8, fqn: ['default-domain', 'ctest-TestBasicPolicy-45347005', 'ctest-policy-allow-all-15746620']
2026-08-17 13:37:31,110 - INFO - VN ctest-vn-68746405 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-17 13:37:31,110 - DEBUG - Verifying the vn in opserver
2026-08-17 13:37:31,110 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45347005:ctest-vn-68746405 virtual network link through opserver 10.0.0.50
2026-08-17 13:37:31,110 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-08-17 13:37:31,121 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45347005:ctest-vn-68746405', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45347005:ctest-vn-68746405?flat'}
2026-08-17 13:37:31,121 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45347005:ctest-vn-68746405 is found in opserver
2026-08-17 13:37:31,132 - DEBUG - Do not have enough data to verify VN in agent
2026-08-17 13:37:31,138 - DEBUG - VRF ids for VN ctest-vn-68746405: {}
2026-08-17 13:37:31,202 - DEBUG - Services list from nova: [