2026-09-07 20:02:03,207 - INFO - Domain Default found not creating
2026-09-07 20:02:03,361 - INFO - Project ctest-TestBasicPolicy-60139333 not found, creating it
2026-09-07 20:02:03,845 - INFO - Created Project:ctest-TestBasicPolicy-60139333, ID : f793bf1f-2183-4656-8d0a-0266b89827a4
2026-09-07 20:02:05,383 - INFO - ================================================================================
2026-09-07 20:02:05,383 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-07 20:02:05,383 - 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-07 20:02:05,642 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.25': '0'}} with
2026-09-07 20:02:05,642 - INFO - Initial checks done. Running the testcase now
2026-09-07 20:02:05,642 - INFO -
2026-09-07 20:02:06,216 - DEBUG - Response for create_network : {'network': {'id': 'afb3ed66-955e-40a2-9376-ac2829a8fa43', 'name': 'ctest-vn-34861637', 'tenant_id': 'f793bf1f218346568d0a0266b89827a4', 'project_id': 'f793bf1f218346568d0a0266b89827a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60139333', 'ctest-vn-34861637'], 'port_security_enabled': True, 'description': ''}}
2026-09-07 20:02:06,402 - DEBUG - Response for create_subnet : {'subnet': {'id': '406ff0a5-d096-4273-a18d-3e316027f17d', 'name': '', 'tenant_id': 'f793bf1f218346568d0a0266b89827a4', 'network_id': 'afb3ed66-955e-40a2-9376-ac2829a8fa43', 'ip_version': 4, 'cidr': '184.46.6.0/26', 'allocation_pools': [{'start': '184.46.6.2', 'end': '184.46.6.62'}], 'gateway_ip': '184.46.6.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.46.6.2', 'tags': [], 'project_id': 'f793bf1f218346568d0a0266b89827a4'}}
2026-09-07 20:02:06,419 - INFO - Created VN ctest-vn-34861637
2026-09-07 20:02:06,471 - DEBUG - VN ctest-vn-34861637 UUID is afb3ed66-955e-40a2-9376-ac2829a8fa43
2026-09-07 20:02:06,797 - DEBUG - Response for create_network : {'network': {'id': '0ff12611-228d-41df-8d6b-d15087ceac96', 'name': 'ctest-vn-37162941', 'tenant_id': 'f793bf1f218346568d0a0266b89827a4', 'project_id': 'f793bf1f218346568d0a0266b89827a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60139333', 'ctest-vn-37162941'], 'port_security_enabled': True, 'description': ''}}
2026-09-07 20:02:06,942 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba77d12c-8cf5-4145-afbd-701a967a667e', 'name': '', 'tenant_id': 'f793bf1f218346568d0a0266b89827a4', 'network_id': '0ff12611-228d-41df-8d6b-d15087ceac96', 'ip_version': 4, 'cidr': '12.85.245.192/26', 'allocation_pools': [{'start': '12.85.245.194', 'end': '12.85.245.254'}], 'gateway_ip': '12.85.245.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.85.245.194', 'tags': [], 'project_id': 'f793bf1f218346568d0a0266b89827a4'}}
2026-09-07 20:02:06,958 - INFO - Created VN ctest-vn-37162941
2026-09-07 20:02:07,011 - DEBUG - VN ctest-vn-37162941 UUID is 0ff12611-228d-41df-8d6b-d15087ceac96
2026-09-07 20:02:07,126 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-60139333:ctest-vn-34861637, 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-60139333:ctest-vn-37162941, 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-07 20:02:07,472 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'afb3ed66-955e-40a2-9376-ac2829a8fa43', 'name': 'ctest-vn-34861637', 'tenant_id': 'f793bf1f218346568d0a0266b89827a4', 'project_id': 'f793bf1f218346568d0a0266b89827a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['406ff0a5-d096-4273-a18d-3e316027f17d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60139333', 'ctest-vn-34861637'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60139333', 'ctest-policy-allow-all-11213329']], 'subnet_ipam': [{'subnet_cidr': '184.46.6.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-07 20:02:07,724 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0ff12611-228d-41df-8d6b-d15087ceac96', 'name': 'ctest-vn-37162941', 'tenant_id': 'f793bf1f218346568d0a0266b89827a4', 'project_id': 'f793bf1f218346568d0a0266b89827a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['ba77d12c-8cf5-4145-afbd-701a967a667e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60139333', 'ctest-vn-37162941'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60139333', 'ctest-policy-allow-all-11213329']], 'subnet_ipam': [{'subnet_cidr': '12.85.245.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-07 20:02:07,900 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-09-07 20:02:08,217 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-09-07 20:02:08,256 - DEBUG - Requesting: http://10.0.0.177:8082/domain/13de35a6-0508-41d8-beea-baefa9db23f0
2026-09-07 20:02:08,270 - DEBUG - Requesting: http://10.0.0.177:8082/project/f793bf1f-2183-4656-8d0a-0266b89827a4
2026-09-07 20:02:08,350 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/afb3ed66-955e-40a2-9376-ac2829a8fa43
2026-09-07 20:02:08,361 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/afb3ed66-955e-40a2-9376-ac2829a8fa43
2026-09-07 20:02:08,370 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/32b4efd0-4f91-47df-a239-6a56514d3b9c
2026-09-07 20:02:08,378 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/32b4efd0-4f91-47df-a239-6a56514d3b9c
2026-09-07 20:02:08,387 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/b2ea48f3-d1c3-4133-ab1d-ee621009cf32
2026-09-07 20:02:08,394 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-07 20:02:08,394 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/afb3ed66-955e-40a2-9376-ac2829a8fa43
2026-09-07 20:02:08,405 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/32b4efd0-4f91-47df-a239-6a56514d3b9c
2026-09-07 20:02:08,420 - INFO - Verified VN network id 11 for VN afb3ed66-955e-40a2-9376-ac2829a8fa43
2026-09-07 20:02:08,421 - INFO - Verifications in API Server for VN ctest-vn-34861637 passed
2026-09-07 20:02:08,421 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/afb3ed66-955e-40a2-9376-ac2829a8fa43
2026-09-07 20:02:08,430 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/32b4efd0-4f91-47df-a239-6a56514d3b9c
2026-09-07 20:02:08,439 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/32b4efd0-4f91-47df-a239-6a56514d3b9c
2026-09-07 20:02:08,447 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/b2ea48f3-d1c3-4133-ab1d-ee621009cf32
2026-09-07 20:02:08,462 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60139333:ctest-vn-34861637', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60139333', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12660724002317025442', 'uuid-lslong': '10625869659324873283'}, 'enable': 'true', 'created': '2026-09-07T20:02:06', 'last-modified': '2026-09-07T20:02:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.023488'}
2026-09-07 20:02:08,469 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-07 20:02:08,469 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34861637 passed
2026-09-07 20:02:08,469 - DEBUG - ====Verifying policy data for ctest-vn-34861637 in API_Server ======
2026-09-07 20:02:08,470 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-09-07 20:02:08,475 - DEBUG - Requesting: http://10.0.0.177:8082/domain/13de35a6-0508-41d8-beea-baefa9db23f0
2026-09-07 20:02:08,486 - DEBUG - Requesting: http://10.0.0.177:8082/project/f793bf1f-2183-4656-8d0a-0266b89827a4
2026-09-07 20:02:08,563 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/afb3ed66-955e-40a2-9376-ac2829a8fa43
2026-09-07 20:02:08,573 - DEBUG - ==>Verifying data for policy with id: d1899659-3154-4096-8db9-e1494384b534, fqn: ['default-domain', 'ctest-TestBasicPolicy-60139333', 'ctest-policy-allow-all-11213329']
2026-09-07 20:02:08,573 - INFO - VN ctest-vn-34861637 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-07 20:02:08,573 - DEBUG - Verifying the vn in opserver
2026-09-07 20:02:08,573 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60139333:ctest-vn-34861637 virtual network link through opserver 10.0.0.177
2026-09-07 20:02:08,573 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-09-07 20:02:08,897 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-09-07 20:02:08,950 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60139333:ctest-vn-34861637', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60139333:ctest-vn-34861637?flat'}
2026-09-07 20:02:08,950 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60139333:ctest-vn-34861637 is found in opserver
2026-09-07 20:02:08,960 - DEBUG - Do not have enough data to verify VN in agent
2026-09-07 20:02:08,965 - DEBUG - VRF ids for VN ctest-vn-34861637: {}
2026-09-07 20:02:08,965 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-09-07 20:02:08,971 - DEBUG - Requesting: http://10.0.0.177:8082/domain/13de35a6-0508-41d8-beea-baefa9db23f0
2026-09-07 20:02:08,983 - DEBUG - Requesting: http://10.0.0.177:8082/project/f793bf1f-2183-4656-8d0a-0266b89827a4
2026-09-07 20:02:09,060 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/0ff12611-228d-41df-8d6b-d15087ceac96
2026-09-07 20:02:09,078 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/0ff12611-228d-41df-8d6b-d15087ceac96
2026-09-07 20:02:09,088 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/3bd75eba-d153-49fb-a627-326ce76998e8
2026-09-07 20:02:09,096 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/3bd75eba-d153-49fb-a627-326ce76998e8
2026-09-07 20:02:09,105 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/68fe23b6-c65b-4902-bed4-c92d2a294925
2026-09-07 20:02:09,112 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-07 20:02:09,112 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/0ff12611-228d-41df-8d6b-d15087ceac96
2026-09-07 20:02:09,122 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/3bd75eba-d153-49fb-a627-326ce76998e8
2026-09-07 20:02:09,138 - INFO - Verified VN network id 12 for VN 0ff12611-228d-41df-8d6b-d15087ceac96
2026-09-07 20:02:09,138 - INFO - Verifications in API Server for VN ctest-vn-37162941 passed
2026-09-07 20:02:09,138 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/0ff12611-228d-41df-8d6b-d15087ceac96
2026-09-07 20:02:09,149 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/3bd75eba-d153-49fb-a627-326ce76998e8
2026-09-07 20:02:09,157 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/3bd75eba-d153-49fb-a627-326ce76998e8
2026-09-07 20:02:09,165 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/68fe23b6-c65b-4902-bed4-c92d2a294925
2026-09-07 20:02:09,178 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60139333:ctest-vn-37162941', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60139333', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1148741234992169439', 'uuid-lslong': '10190468725661936790'}, 'enable': 'true', 'created': '2026-09-07T20:02:06', 'last-modified': '2026-09-07T20:02:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.483850'}
2026-09-07 20:02:09,184 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-07 20:02:09,184 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37162941 passed
2026-09-07 20:02:09,184 - DEBUG - ====Verifying policy data for ctest-vn-37162941 in API_Server ======
2026-09-07 20:02:09,184 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-09-07 20:02:09,190 - DEBUG - Requesting: http://10.0.0.177:8082/domain/13de35a6-0508-41d8-beea-baefa9db23f0
2026-09-07 20:02:09,204 - DEBUG - Requesting: http://10.0.0.177:8082/project/f793bf1f-2183-4656-8d0a-0266b89827a4
2026-09-07 20:02:09,276 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/0ff12611-228d-41df-8d6b-d15087ceac96
2026-09-07 20:02:09,286 - DEBUG - ==>Verifying data for policy with id: d1899659-3154-4096-8db9-e1494384b534, fqn: ['default-domain', 'ctest-TestBasicPolicy-60139333', 'ctest-policy-allow-all-11213329']
2026-09-07 20:02:09,286 - INFO - VN ctest-vn-37162941 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-07 20:02:09,286 - DEBUG - Verifying the vn in opserver
2026-09-07 20:02:09,286 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60139333:ctest-vn-37162941 virtual network link through opserver 10.0.0.177
2026-09-07 20:02:09,287 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-09-07 20:02:09,300 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60139333:ctest-vn-37162941', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60139333:ctest-vn-37162941?flat'}
2026-09-07 20:02:09,300 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60139333:ctest-vn-37162941 is found in opserver
2026-09-07 20:02:09,311 - DEBUG - Do not have enough data to verify VN in agent
2026-09-07 20:02:09,315 - DEBUG - VRF ids for VN ctest-vn-37162941: {}
2026-09-07 20:02:09,374 - DEBUG - Services list from nova: [