2026-01-30 06:45:47,311 - INFO - Domain Default found not creating
2026-01-30 06:45:47,479 - INFO - Project ctest-TestBasicPolicy-30594380 not found, creating it
2026-01-30 06:45:47,947 - INFO - Created Project:ctest-TestBasicPolicy-30594380, ID : 3c60ca1e-2a2d-485f-92ac-6c3d5a8ed608
2026-01-30 06:45:49,378 - INFO - ================================================================================
2026-01-30 06:45:49,378 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-30 06:45:49,378 - 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-30 06:45:49,630 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2026-01-30 06:45:49,630 - INFO - Initial checks done. Running the testcase now
2026-01-30 06:45:49,630 - INFO -
2026-01-30 06:45:50,180 - DEBUG - Response for create_network : {'network': {'id': '4f49d5ed-e906-4fda-9483-87e26d5b154d', 'name': 'ctest-vn-98467652', 'tenant_id': '3c60ca1e2a2d485f92ac6c3d5a8ed608', 'project_id': '3c60ca1e2a2d485f92ac6c3d5a8ed608', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30594380', 'ctest-vn-98467652'], 'port_security_enabled': True, 'description': ''}}
2026-01-30 06:45:50,403 - DEBUG - Response for create_subnet : {'subnet': {'id': 'de814737-d944-474a-b3cd-dc6dd3fb58c9', 'name': '', 'tenant_id': '3c60ca1e2a2d485f92ac6c3d5a8ed608', 'network_id': '4f49d5ed-e906-4fda-9483-87e26d5b154d', 'ip_version': 4, 'cidr': '81.164.242.128/26', 'allocation_pools': [{'start': '81.164.242.130', 'end': '81.164.242.190'}], 'gateway_ip': '81.164.242.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.164.242.130', 'tags': [], 'project_id': '3c60ca1e2a2d485f92ac6c3d5a8ed608'}}
2026-01-30 06:45:50,424 - INFO - Created VN ctest-vn-98467652
2026-01-30 06:45:50,477 - DEBUG - VN ctest-vn-98467652 UUID is 4f49d5ed-e906-4fda-9483-87e26d5b154d
2026-01-30 06:45:50,763 - DEBUG - Response for create_network : {'network': {'id': '9d38c380-bbcb-4c13-80e7-836daa97512e', 'name': 'ctest-vn-52984273', 'tenant_id': '3c60ca1e2a2d485f92ac6c3d5a8ed608', 'project_id': '3c60ca1e2a2d485f92ac6c3d5a8ed608', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30594380', 'ctest-vn-52984273'], 'port_security_enabled': True, 'description': ''}}
2026-01-30 06:45:50,916 - DEBUG - Response for create_subnet : {'subnet': {'id': '519feed8-afd8-46a7-a032-d2ee357341de', 'name': '', 'tenant_id': '3c60ca1e2a2d485f92ac6c3d5a8ed608', 'network_id': '9d38c380-bbcb-4c13-80e7-836daa97512e', 'ip_version': 4, 'cidr': '56.136.211.64/26', 'allocation_pools': [{'start': '56.136.211.66', 'end': '56.136.211.126'}], 'gateway_ip': '56.136.211.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.136.211.66', 'tags': [], 'project_id': '3c60ca1e2a2d485f92ac6c3d5a8ed608'}}
2026-01-30 06:45:50,937 - INFO - Created VN ctest-vn-52984273
2026-01-30 06:45:50,989 - DEBUG - VN ctest-vn-52984273 UUID is 9d38c380-bbcb-4c13-80e7-836daa97512e
2026-01-30 06:45:51,100 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-30594380:ctest-vn-98467652, 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-30594380:ctest-vn-52984273, 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-30 06:45:51,387 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4f49d5ed-e906-4fda-9483-87e26d5b154d', 'name': 'ctest-vn-98467652', 'tenant_id': '3c60ca1e2a2d485f92ac6c3d5a8ed608', 'project_id': '3c60ca1e2a2d485f92ac6c3d5a8ed608', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['de814737-d944-474a-b3cd-dc6dd3fb58c9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30594380', 'ctest-vn-98467652'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30594380', 'ctest-policy-allow-all-67598738']], 'subnet_ipam': [{'subnet_cidr': '81.164.242.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-30 06:45:51,609 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9d38c380-bbcb-4c13-80e7-836daa97512e', 'name': 'ctest-vn-52984273', 'tenant_id': '3c60ca1e2a2d485f92ac6c3d5a8ed608', 'project_id': '3c60ca1e2a2d485f92ac6c3d5a8ed608', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['519feed8-afd8-46a7-a032-d2ee357341de'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30594380', 'ctest-vn-52984273'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30594380', 'ctest-policy-allow-all-67598738']], 'subnet_ipam': [{'subnet_cidr': '56.136.211.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-30 06:45:51,765 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-30 06:45:52,059 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-30 06:45:52,089 - DEBUG - Requesting: http://10.0.0.22:8082/domain/410b0672-cb5c-48f2-9b4b-2b88d101ef88
2026-01-30 06:45:52,100 - DEBUG - Requesting: http://10.0.0.22:8082/project/3c60ca1e-2a2d-485f-92ac-6c3d5a8ed608
2026-01-30 06:45:52,170 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4f49d5ed-e906-4fda-9483-87e26d5b154d
2026-01-30 06:45:52,179 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4f49d5ed-e906-4fda-9483-87e26d5b154d
2026-01-30 06:45:52,188 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d14d5e56-9199-4834-a8c3-bf311e01ba4c
2026-01-30 06:45:52,194 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d14d5e56-9199-4834-a8c3-bf311e01ba4c
2026-01-30 06:45:52,201 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d74cf31b-72db-4ec5-9178-8e9c08752fff
2026-01-30 06:45:52,208 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-30 06:45:52,208 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4f49d5ed-e906-4fda-9483-87e26d5b154d
2026-01-30 06:45:52,217 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d14d5e56-9199-4834-a8c3-bf311e01ba4c
2026-01-30 06:45:52,233 - INFO - Verified VN network id 12 for VN 4f49d5ed-e906-4fda-9483-87e26d5b154d
2026-01-30 06:45:52,233 - INFO - Verifications in API Server for VN ctest-vn-98467652 passed
2026-01-30 06:45:52,233 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4f49d5ed-e906-4fda-9483-87e26d5b154d
2026-01-30 06:45:52,243 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d14d5e56-9199-4834-a8c3-bf311e01ba4c
2026-01-30 06:45:52,249 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d14d5e56-9199-4834-a8c3-bf311e01ba4c
2026-01-30 06:45:52,255 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d74cf31b-72db-4ec5-9178-8e9c08752fff
2026-01-30 06:45:52,265 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30594380:ctest-vn-98467652', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30594380', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5713332820089655258', 'uuid-lslong': '10701546546129474893'}, 'enable': 'true', 'created': '2026-01-30T06:45:50', 'last-modified': '2026-01-30T06:45:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.898646'}
2026-01-30 06:45:52,275 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-30 06:45:52,275 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-98467652 passed
2026-01-30 06:45:52,275 - DEBUG - ====Verifying policy data for ctest-vn-98467652 in API_Server ======
2026-01-30 06:45:52,275 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-30 06:45:52,280 - DEBUG - Requesting: http://10.0.0.22:8082/domain/410b0672-cb5c-48f2-9b4b-2b88d101ef88
2026-01-30 06:45:52,291 - DEBUG - Requesting: http://10.0.0.22:8082/project/3c60ca1e-2a2d-485f-92ac-6c3d5a8ed608
2026-01-30 06:45:52,358 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4f49d5ed-e906-4fda-9483-87e26d5b154d
2026-01-30 06:45:52,367 - DEBUG - ==>Verifying data for policy with id: 4dd8e4cf-093d-4fb5-9859-17c4cb5cdee6, fqn: ['default-domain', 'ctest-TestBasicPolicy-30594380', 'ctest-policy-allow-all-67598738']
2026-01-30 06:45:52,367 - INFO - VN ctest-vn-98467652 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-30 06:45:52,367 - DEBUG - Verifying the vn in opserver
2026-01-30 06:45:52,367 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30594380:ctest-vn-98467652 virtual network link through opserver 10.0.0.22
2026-01-30 06:45:52,367 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-01-30 06:45:52,663 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-01-30 06:45:52,722 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30594380:ctest-vn-98467652', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30594380:ctest-vn-98467652?flat'}
2026-01-30 06:45:52,723 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30594380:ctest-vn-98467652 is found in opserver
2026-01-30 06:45:52,732 - DEBUG - Do not have enough data to verify VN in agent
2026-01-30 06:45:52,736 - DEBUG - VRF ids for VN ctest-vn-98467652: {}
2026-01-30 06:45:52,736 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-30 06:45:52,741 - DEBUG - Requesting: http://10.0.0.22:8082/domain/410b0672-cb5c-48f2-9b4b-2b88d101ef88
2026-01-30 06:45:52,751 - DEBUG - Requesting: http://10.0.0.22:8082/project/3c60ca1e-2a2d-485f-92ac-6c3d5a8ed608
2026-01-30 06:45:52,823 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9d38c380-bbcb-4c13-80e7-836daa97512e
2026-01-30 06:45:52,834 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9d38c380-bbcb-4c13-80e7-836daa97512e
2026-01-30 06:45:52,841 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d0a17109-00d2-4f19-b711-3aaa70be7f16
2026-01-30 06:45:52,847 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d0a17109-00d2-4f19-b711-3aaa70be7f16
2026-01-30 06:45:52,853 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/80ef9946-e161-494d-83fa-7b92662524d0
2026-01-30 06:45:52,858 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-30 06:45:52,858 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9d38c380-bbcb-4c13-80e7-836daa97512e
2026-01-30 06:45:52,865 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d0a17109-00d2-4f19-b711-3aaa70be7f16
2026-01-30 06:45:52,878 - INFO - Verified VN network id 13 for VN 9d38c380-bbcb-4c13-80e7-836daa97512e
2026-01-30 06:45:52,879 - INFO - Verifications in API Server for VN ctest-vn-52984273 passed
2026-01-30 06:45:52,879 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9d38c380-bbcb-4c13-80e7-836daa97512e
2026-01-30 06:45:52,889 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d0a17109-00d2-4f19-b711-3aaa70be7f16
2026-01-30 06:45:52,901 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d0a17109-00d2-4f19-b711-3aaa70be7f16
2026-01-30 06:45:52,907 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/80ef9946-e161-494d-83fa-7b92662524d0
2026-01-30 06:45:52,918 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30594380:ctest-vn-52984273', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30594380', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11329019820324375571', 'uuid-lslong': '9288537263511654702'}, 'enable': 'true', 'created': '2026-01-30T06:45:50', 'last-modified': '2026-01-30T06:45:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.330238'}
2026-01-30 06:45:52,923 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-30 06:45:52,923 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52984273 passed
2026-01-30 06:45:52,923 - DEBUG - ====Verifying policy data for ctest-vn-52984273 in API_Server ======
2026-01-30 06:45:52,923 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-30 06:45:52,928 - DEBUG - Requesting: http://10.0.0.22:8082/domain/410b0672-cb5c-48f2-9b4b-2b88d101ef88
2026-01-30 06:45:52,937 - DEBUG - Requesting: http://10.0.0.22:8082/project/3c60ca1e-2a2d-485f-92ac-6c3d5a8ed608
2026-01-30 06:45:53,006 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9d38c380-bbcb-4c13-80e7-836daa97512e
2026-01-30 06:45:53,016 - DEBUG - ==>Verifying data for policy with id: 4dd8e4cf-093d-4fb5-9859-17c4cb5cdee6, fqn: ['default-domain', 'ctest-TestBasicPolicy-30594380', 'ctest-policy-allow-all-67598738']
2026-01-30 06:45:53,016 - INFO - VN ctest-vn-52984273 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-30 06:45:53,016 - DEBUG - Verifying the vn in opserver
2026-01-30 06:45:53,016 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30594380:ctest-vn-52984273 virtual network link through opserver 10.0.0.22
2026-01-30 06:45:53,016 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-01-30 06:45:53,025 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30594380:ctest-vn-52984273', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30594380:ctest-vn-52984273?flat'}
2026-01-30 06:45:53,025 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30594380:ctest-vn-52984273 is found in opserver
2026-01-30 06:45:53,035 - DEBUG - Do not have enough data to verify VN in agent
2026-01-30 06:45:53,039 - DEBUG - VRF ids for VN ctest-vn-52984273: {}
2026-01-30 06:45:53,095 - DEBUG - Services list from nova: [