2026-01-29 17:46:16,582 - INFO - Domain Default found not creating
2026-01-29 17:46:16,740 - INFO - Project ctest-TestBasicPolicy-39996492 not found, creating it
2026-01-29 17:46:17,195 - INFO - Created Project:ctest-TestBasicPolicy-39996492, ID : 4f73dd96-7263-4ccc-80fd-e5927d3a21f6
2026-01-29 17:46:18,627 - INFO - ================================================================================
2026-01-29 17:46:18,627 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-29 17:46:18,627 - 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-29 17:46:18,887 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2026-01-29 17:46:18,887 - INFO - Initial checks done. Running the testcase now
2026-01-29 17:46:18,887 - INFO -
2026-01-29 17:46:19,446 - DEBUG - Response for create_network : {'network': {'id': '52fb2014-af24-44c9-80c3-3c99fe869acd', 'name': 'ctest-vn-75213660', 'tenant_id': '4f73dd9672634ccc80fde5927d3a21f6', 'project_id': '4f73dd9672634ccc80fde5927d3a21f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39996492', 'ctest-vn-75213660'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 17:46:19,627 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9c411c1-2497-4d42-96fc-f40adcb5dd68', 'name': '', 'tenant_id': '4f73dd9672634ccc80fde5927d3a21f6', 'network_id': '52fb2014-af24-44c9-80c3-3c99fe869acd', 'ip_version': 4, 'cidr': '4.9.182.0/26', 'allocation_pools': [{'start': '4.9.182.2', 'end': '4.9.182.62'}], 'gateway_ip': '4.9.182.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.9.182.2', 'tags': [], 'project_id': '4f73dd9672634ccc80fde5927d3a21f6'}}
2026-01-29 17:46:19,643 - INFO - Created VN ctest-vn-75213660
2026-01-29 17:46:19,693 - DEBUG - VN ctest-vn-75213660 UUID is 52fb2014-af24-44c9-80c3-3c99fe869acd
2026-01-29 17:46:19,978 - DEBUG - Response for create_network : {'network': {'id': '1c2032b1-7a6f-4427-bc01-509d9a1c7fe6', 'name': 'ctest-vn-99500008', 'tenant_id': '4f73dd9672634ccc80fde5927d3a21f6', 'project_id': '4f73dd9672634ccc80fde5927d3a21f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39996492', 'ctest-vn-99500008'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 17:46:20,177 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a801df5-42a5-4016-b0a0-72420c2270ce', 'name': '', 'tenant_id': '4f73dd9672634ccc80fde5927d3a21f6', 'network_id': '1c2032b1-7a6f-4427-bc01-509d9a1c7fe6', 'ip_version': 4, 'cidr': '191.23.135.192/26', 'allocation_pools': [{'start': '191.23.135.194', 'end': '191.23.135.254'}], 'gateway_ip': '191.23.135.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.23.135.194', 'tags': [], 'project_id': '4f73dd9672634ccc80fde5927d3a21f6'}}
2026-01-29 17:46:20,194 - INFO - Created VN ctest-vn-99500008
2026-01-29 17:46:20,249 - DEBUG - VN ctest-vn-99500008 UUID is 1c2032b1-7a6f-4427-bc01-509d9a1c7fe6
2026-01-29 17:46:20,401 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-39996492:ctest-vn-75213660, 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-39996492:ctest-vn-99500008, 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-29 17:46:20,703 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '52fb2014-af24-44c9-80c3-3c99fe869acd', 'name': 'ctest-vn-75213660', 'tenant_id': '4f73dd9672634ccc80fde5927d3a21f6', 'project_id': '4f73dd9672634ccc80fde5927d3a21f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c9c411c1-2497-4d42-96fc-f40adcb5dd68'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39996492', 'ctest-vn-75213660'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39996492', 'ctest-policy-allow-all-62741833']], 'subnet_ipam': [{'subnet_cidr': '4.9.182.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-29 17:46:20,946 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1c2032b1-7a6f-4427-bc01-509d9a1c7fe6', 'name': 'ctest-vn-99500008', 'tenant_id': '4f73dd9672634ccc80fde5927d3a21f6', 'project_id': '4f73dd9672634ccc80fde5927d3a21f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2a801df5-42a5-4016-b0a0-72420c2270ce'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39996492', 'ctest-vn-99500008'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39996492', 'ctest-policy-allow-all-62741833']], 'subnet_ipam': [{'subnet_cidr': '191.23.135.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-29 17:46:21,117 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-29 17:46:21,428 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-29 17:46:21,458 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c899d912-b5db-4d73-8995-a02a71b2b98a
2026-01-29 17:46:21,469 - DEBUG - Requesting: http://10.0.0.22:8082/project/4f73dd96-7263-4ccc-80fd-e5927d3a21f6
2026-01-29 17:46:21,541 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/52fb2014-af24-44c9-80c3-3c99fe869acd
2026-01-29 17:46:21,551 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/52fb2014-af24-44c9-80c3-3c99fe869acd
2026-01-29 17:46:21,558 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/78724cd5-885b-46c2-bee4-f0cb8302362d
2026-01-29 17:46:21,564 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/78724cd5-885b-46c2-bee4-f0cb8302362d
2026-01-29 17:46:21,570 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/481e509d-be50-42af-bd14-81cc99e26383
2026-01-29 17:46:21,575 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 17:46:21,576 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/52fb2014-af24-44c9-80c3-3c99fe869acd
2026-01-29 17:46:21,583 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/78724cd5-885b-46c2-bee4-f0cb8302362d
2026-01-29 17:46:21,595 - INFO - Verified VN network id 11 for VN 52fb2014-af24-44c9-80c3-3c99fe869acd
2026-01-29 17:46:21,595 - INFO - Verifications in API Server for VN ctest-vn-75213660 passed
2026-01-29 17:46:21,595 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/52fb2014-af24-44c9-80c3-3c99fe869acd
2026-01-29 17:46:21,603 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/78724cd5-885b-46c2-bee4-f0cb8302362d
2026-01-29 17:46:21,609 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/78724cd5-885b-46c2-bee4-f0cb8302362d
2026-01-29 17:46:21,614 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/481e509d-be50-42af-bd14-81cc99e26383
2026-01-29 17:46:21,624 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39996492:ctest-vn-75213660', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39996492', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5979408203474289865', 'uuid-lslong': '9278326289411250893'}, 'enable': 'true', 'created': '2026-01-29T17:46:19', 'last-modified': '2026-01-29T17:46:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.940053'}
2026-01-29 17:46:21,629 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 17:46:21,629 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75213660 passed
2026-01-29 17:46:21,629 - DEBUG - ====Verifying policy data for ctest-vn-75213660 in API_Server ======
2026-01-29 17:46:21,629 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-29 17:46:21,634 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c899d912-b5db-4d73-8995-a02a71b2b98a
2026-01-29 17:46:21,644 - DEBUG - Requesting: http://10.0.0.22:8082/project/4f73dd96-7263-4ccc-80fd-e5927d3a21f6
2026-01-29 17:46:21,711 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/52fb2014-af24-44c9-80c3-3c99fe869acd
2026-01-29 17:46:21,719 - DEBUG - ==>Verifying data for policy with id: 7a8acfb8-19b7-450f-ba65-9be6e289175a, fqn: ['default-domain', 'ctest-TestBasicPolicy-39996492', 'ctest-policy-allow-all-62741833']
2026-01-29 17:46:21,719 - INFO - VN ctest-vn-75213660 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 17:46:21,720 - DEBUG - Verifying the vn in opserver
2026-01-29 17:46:21,720 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39996492:ctest-vn-75213660 virtual network link through opserver 10.0.0.22
2026-01-29 17:46:21,720 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-01-29 17:46:22,009 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-01-29 17:46:22,071 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39996492:ctest-vn-75213660', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39996492:ctest-vn-75213660?flat'}
2026-01-29 17:46:22,071 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39996492:ctest-vn-75213660 is found in opserver
2026-01-29 17:46:22,080 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 17:46:22,084 - DEBUG - VRF ids for VN ctest-vn-75213660: {}
2026-01-29 17:46:22,084 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-29 17:46:22,089 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c899d912-b5db-4d73-8995-a02a71b2b98a
2026-01-29 17:46:22,099 - DEBUG - Requesting: http://10.0.0.22:8082/project/4f73dd96-7263-4ccc-80fd-e5927d3a21f6
2026-01-29 17:46:22,171 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1c2032b1-7a6f-4427-bc01-509d9a1c7fe6
2026-01-29 17:46:22,183 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1c2032b1-7a6f-4427-bc01-509d9a1c7fe6
2026-01-29 17:46:22,193 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6d652a5e-cf3a-41b4-8b29-de3fff1f8da6
2026-01-29 17:46:22,201 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6d652a5e-cf3a-41b4-8b29-de3fff1f8da6
2026-01-29 17:46:22,208 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/0f2e3bf4-4e7b-4a2d-9308-e7353262309e
2026-01-29 17:46:22,214 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 17:46:22,214 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1c2032b1-7a6f-4427-bc01-509d9a1c7fe6
2026-01-29 17:46:22,222 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6d652a5e-cf3a-41b4-8b29-de3fff1f8da6
2026-01-29 17:46:22,235 - INFO - Verified VN network id 12 for VN 1c2032b1-7a6f-4427-bc01-509d9a1c7fe6
2026-01-29 17:46:22,235 - INFO - Verifications in API Server for VN ctest-vn-99500008 passed
2026-01-29 17:46:22,236 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1c2032b1-7a6f-4427-bc01-509d9a1c7fe6
2026-01-29 17:46:22,244 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6d652a5e-cf3a-41b4-8b29-de3fff1f8da6
2026-01-29 17:46:22,251 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6d652a5e-cf3a-41b4-8b29-de3fff1f8da6
2026-01-29 17:46:22,259 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/0f2e3bf4-4e7b-4a2d-9308-e7353262309e
2026-01-29 17:46:22,272 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39996492:ctest-vn-99500008', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39996492', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2026675570161435687', 'uuid-lslong': '13547197791932809190'}, 'enable': 'true', 'created': '2026-01-29T17:46:19', 'last-modified': '2026-01-29T17:46:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.358314'}
2026-01-29 17:46:22,279 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 17:46:22,280 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99500008 passed
2026-01-29 17:46:22,280 - DEBUG - ====Verifying policy data for ctest-vn-99500008 in API_Server ======
2026-01-29 17:46:22,280 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-29 17:46:22,286 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c899d912-b5db-4d73-8995-a02a71b2b98a
2026-01-29 17:46:22,298 - DEBUG - Requesting: http://10.0.0.22:8082/project/4f73dd96-7263-4ccc-80fd-e5927d3a21f6
2026-01-29 17:46:22,366 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1c2032b1-7a6f-4427-bc01-509d9a1c7fe6
2026-01-29 17:46:22,377 - DEBUG - ==>Verifying data for policy with id: 7a8acfb8-19b7-450f-ba65-9be6e289175a, fqn: ['default-domain', 'ctest-TestBasicPolicy-39996492', 'ctest-policy-allow-all-62741833']
2026-01-29 17:46:22,377 - INFO - VN ctest-vn-99500008 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 17:46:22,377 - DEBUG - Verifying the vn in opserver
2026-01-29 17:46:22,377 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39996492:ctest-vn-99500008 virtual network link through opserver 10.0.0.22
2026-01-29 17:46:22,377 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-01-29 17:46:22,388 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39996492:ctest-vn-99500008', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39996492:ctest-vn-99500008?flat'}
2026-01-29 17:46:22,388 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39996492:ctest-vn-99500008 is found in opserver
2026-01-29 17:46:22,398 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 17:46:22,403 - DEBUG - VRF ids for VN ctest-vn-99500008: {}
2026-01-29 17:46:22,458 - DEBUG - Services list from nova: [