2026-02-11 17:58:41,728 - INFO - Domain Default found not creating
2026-02-11 17:58:41,889 - INFO - Project ctest-TestBasicPolicy-07965776 not found, creating it
2026-02-11 17:58:42,348 - INFO - Created Project:ctest-TestBasicPolicy-07965776, ID : dc9d5f04-d8dd-462f-a0bf-2a5d363a2ff4
2026-02-11 17:58:43,803 - INFO - ================================================================================
2026-02-11 17:58:43,803 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-11 17:58:43,803 - 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-02-11 17:58:44,059 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with
2026-02-11 17:58:44,059 - INFO - Initial checks done. Running the testcase now
2026-02-11 17:58:44,059 - INFO -
2026-02-11 17:58:44,609 - DEBUG - Response for create_network : {'network': {'id': 'fc6b9a35-52fe-45cc-93a9-c543cde9e5db', 'name': 'ctest-vn-87190209', 'tenant_id': 'dc9d5f04d8dd462fa0bf2a5d363a2ff4', 'project_id': 'dc9d5f04d8dd462fa0bf2a5d363a2ff4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07965776', 'ctest-vn-87190209'], 'port_security_enabled': True, 'description': ''}}
2026-02-11 17:58:44,764 - DEBUG - Response for create_subnet : {'subnet': {'id': '64768f4e-8162-47d8-98ab-e3a183a38809', 'name': '', 'tenant_id': 'dc9d5f04d8dd462fa0bf2a5d363a2ff4', 'network_id': 'fc6b9a35-52fe-45cc-93a9-c543cde9e5db', 'ip_version': 4, 'cidr': '154.111.76.128/26', 'allocation_pools': [{'start': '154.111.76.130', 'end': '154.111.76.190'}], 'gateway_ip': '154.111.76.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.111.76.130', 'tags': [], 'project_id': 'dc9d5f04d8dd462fa0bf2a5d363a2ff4'}}
2026-02-11 17:58:44,781 - INFO - Created VN ctest-vn-87190209
2026-02-11 17:58:44,834 - DEBUG - VN ctest-vn-87190209 UUID is fc6b9a35-52fe-45cc-93a9-c543cde9e5db
2026-02-11 17:58:45,147 - DEBUG - Response for create_network : {'network': {'id': '13269e1a-e5e5-4a41-803e-bcfe3fb9f1d7', 'name': 'ctest-vn-43139936', 'tenant_id': 'dc9d5f04d8dd462fa0bf2a5d363a2ff4', 'project_id': 'dc9d5f04d8dd462fa0bf2a5d363a2ff4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07965776', 'ctest-vn-43139936'], 'port_security_enabled': True, 'description': ''}}
2026-02-11 17:58:45,360 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd8174233-264a-452d-8c38-cc1c41a53989', 'name': '', 'tenant_id': 'dc9d5f04d8dd462fa0bf2a5d363a2ff4', 'network_id': '13269e1a-e5e5-4a41-803e-bcfe3fb9f1d7', 'ip_version': 4, 'cidr': '153.147.220.128/26', 'allocation_pools': [{'start': '153.147.220.130', 'end': '153.147.220.190'}], 'gateway_ip': '153.147.220.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.147.220.130', 'tags': [], 'project_id': 'dc9d5f04d8dd462fa0bf2a5d363a2ff4'}}
2026-02-11 17:58:45,376 - INFO - Created VN ctest-vn-43139936
2026-02-11 17:58:45,426 - DEBUG - VN ctest-vn-43139936 UUID is 13269e1a-e5e5-4a41-803e-bcfe3fb9f1d7
2026-02-11 17:58:45,570 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-07965776:ctest-vn-87190209, 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-07965776:ctest-vn-43139936, 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-02-11 17:58:45,856 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fc6b9a35-52fe-45cc-93a9-c543cde9e5db', 'name': 'ctest-vn-87190209', 'tenant_id': 'dc9d5f04d8dd462fa0bf2a5d363a2ff4', 'project_id': 'dc9d5f04d8dd462fa0bf2a5d363a2ff4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['64768f4e-8162-47d8-98ab-e3a183a38809'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07965776', 'ctest-vn-87190209'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07965776', 'ctest-policy-allow-all-41800814']], 'subnet_ipam': [{'subnet_cidr': '154.111.76.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-11 17:58:46,077 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '13269e1a-e5e5-4a41-803e-bcfe3fb9f1d7', 'name': 'ctest-vn-43139936', 'tenant_id': 'dc9d5f04d8dd462fa0bf2a5d363a2ff4', 'project_id': 'dc9d5f04d8dd462fa0bf2a5d363a2ff4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d8174233-264a-452d-8c38-cc1c41a53989'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07965776', 'ctest-vn-43139936'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07965776', 'ctest-policy-allow-all-41800814']], 'subnet_ipam': [{'subnet_cidr': '153.147.220.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-11 17:58:46,237 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-11 17:58:46,566 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-11 17:58:46,603 - DEBUG - Requesting: http://10.0.0.141:8082/domain/7f06294f-678d-439f-a02e-752dc0e08a6c
2026-02-11 17:58:46,617 - DEBUG - Requesting: http://10.0.0.141:8082/project/dc9d5f04-d8dd-462f-a0bf-2a5d363a2ff4
2026-02-11 17:58:46,687 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fc6b9a35-52fe-45cc-93a9-c543cde9e5db
2026-02-11 17:58:46,698 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fc6b9a35-52fe-45cc-93a9-c543cde9e5db
2026-02-11 17:58:46,706 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d89b7e16-f207-4a67-9d02-e66d49458066
2026-02-11 17:58:46,714 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d89b7e16-f207-4a67-9d02-e66d49458066
2026-02-11 17:58:46,720 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/fe945046-3a43-48e7-b6cd-d0dcbbc9ea66
2026-02-11 17:58:46,726 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-11 17:58:46,726 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fc6b9a35-52fe-45cc-93a9-c543cde9e5db
2026-02-11 17:58:46,735 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d89b7e16-f207-4a67-9d02-e66d49458066
2026-02-11 17:58:46,748 - INFO - Verified VN network id 12 for VN fc6b9a35-52fe-45cc-93a9-c543cde9e5db
2026-02-11 17:58:46,748 - INFO - Verifications in API Server for VN ctest-vn-87190209 passed
2026-02-11 17:58:46,748 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fc6b9a35-52fe-45cc-93a9-c543cde9e5db
2026-02-11 17:58:46,757 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d89b7e16-f207-4a67-9d02-e66d49458066
2026-02-11 17:58:46,764 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d89b7e16-f207-4a67-9d02-e66d49458066
2026-02-11 17:58:46,770 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/fe945046-3a43-48e7-b6cd-d0dcbbc9ea66
2026-02-11 17:58:46,780 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07965776:ctest-vn-87190209', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07965776', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18188801073882219980', 'uuid-lslong': '10640252489647646171'}, 'enable': 'true', 'created': '2026-02-11T17:58:44', 'last-modified': '2026-02-11T17:58:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.946360'}
2026-02-11 17:58:46,789 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-11 17:58:46,789 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87190209 passed
2026-02-11 17:58:46,789 - DEBUG - ====Verifying policy data for ctest-vn-87190209 in API_Server ======
2026-02-11 17:58:46,789 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-11 17:58:46,794 - DEBUG - Requesting: http://10.0.0.141:8082/domain/7f06294f-678d-439f-a02e-752dc0e08a6c
2026-02-11 17:58:46,804 - DEBUG - Requesting: http://10.0.0.141:8082/project/dc9d5f04-d8dd-462f-a0bf-2a5d363a2ff4
2026-02-11 17:58:46,879 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fc6b9a35-52fe-45cc-93a9-c543cde9e5db
2026-02-11 17:58:46,887 - DEBUG - ==>Verifying data for policy with id: 91aa6d96-dabe-49a7-afd1-2760e21885d2, fqn: ['default-domain', 'ctest-TestBasicPolicy-07965776', 'ctest-policy-allow-all-41800814']
2026-02-11 17:58:46,887 - INFO - VN ctest-vn-87190209 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-11 17:58:46,887 - DEBUG - Verifying the vn in opserver
2026-02-11 17:58:46,888 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07965776:ctest-vn-87190209 virtual network link through opserver 10.0.0.141
2026-02-11 17:58:46,888 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-02-11 17:58:47,178 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-02-11 17:58:47,233 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07965776:ctest-vn-87190209', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07965776:ctest-vn-87190209?flat'}
2026-02-11 17:58:47,233 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07965776:ctest-vn-87190209 is found in opserver
2026-02-11 17:58:47,244 - DEBUG - Do not have enough data to verify VN in agent
2026-02-11 17:58:47,249 - DEBUG - VRF ids for VN ctest-vn-87190209: {}
2026-02-11 17:58:47,249 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-11 17:58:47,254 - DEBUG - Requesting: http://10.0.0.141:8082/domain/7f06294f-678d-439f-a02e-752dc0e08a6c
2026-02-11 17:58:47,265 - DEBUG - Requesting: http://10.0.0.141:8082/project/dc9d5f04-d8dd-462f-a0bf-2a5d363a2ff4
2026-02-11 17:58:47,337 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/13269e1a-e5e5-4a41-803e-bcfe3fb9f1d7
2026-02-11 17:58:47,348 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/13269e1a-e5e5-4a41-803e-bcfe3fb9f1d7
2026-02-11 17:58:47,356 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/bfc4db17-9257-4e98-89cb-6c666c502f38
2026-02-11 17:58:47,363 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/bfc4db17-9257-4e98-89cb-6c666c502f38
2026-02-11 17:58:47,369 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/158233cd-e6a7-4f98-b048-c99957a36144
2026-02-11 17:58:47,374 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-11 17:58:47,374 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/13269e1a-e5e5-4a41-803e-bcfe3fb9f1d7
2026-02-11 17:58:47,383 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/bfc4db17-9257-4e98-89cb-6c666c502f38
2026-02-11 17:58:47,396 - INFO - Verified VN network id 13 for VN 13269e1a-e5e5-4a41-803e-bcfe3fb9f1d7
2026-02-11 17:58:47,396 - INFO - Verifications in API Server for VN ctest-vn-43139936 passed
2026-02-11 17:58:47,396 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/13269e1a-e5e5-4a41-803e-bcfe3fb9f1d7
2026-02-11 17:58:47,407 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/bfc4db17-9257-4e98-89cb-6c666c502f38
2026-02-11 17:58:47,415 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/bfc4db17-9257-4e98-89cb-6c666c502f38
2026-02-11 17:58:47,422 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/158233cd-e6a7-4f98-b048-c99957a36144
2026-02-11 17:58:47,432 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07965776:ctest-vn-43139936', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07965776', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1379964174198983233', 'uuid-lslong': '9241031285587702231'}, 'enable': 'true', 'created': '2026-02-11T17:58:45', 'last-modified': '2026-02-11T17:58:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.375291'}
2026-02-11 17:58:47,438 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-11 17:58:47,438 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43139936 passed
2026-02-11 17:58:47,438 - DEBUG - ====Verifying policy data for ctest-vn-43139936 in API_Server ======
2026-02-11 17:58:47,439 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-11 17:58:47,444 - DEBUG - Requesting: http://10.0.0.141:8082/domain/7f06294f-678d-439f-a02e-752dc0e08a6c
2026-02-11 17:58:47,455 - DEBUG - Requesting: http://10.0.0.141:8082/project/dc9d5f04-d8dd-462f-a0bf-2a5d363a2ff4
2026-02-11 17:58:47,522 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/13269e1a-e5e5-4a41-803e-bcfe3fb9f1d7
2026-02-11 17:58:47,530 - DEBUG - ==>Verifying data for policy with id: 91aa6d96-dabe-49a7-afd1-2760e21885d2, fqn: ['default-domain', 'ctest-TestBasicPolicy-07965776', 'ctest-policy-allow-all-41800814']
2026-02-11 17:58:47,530 - INFO - VN ctest-vn-43139936 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-11 17:58:47,530 - DEBUG - Verifying the vn in opserver
2026-02-11 17:58:47,530 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07965776:ctest-vn-43139936 virtual network link through opserver 10.0.0.141
2026-02-11 17:58:47,530 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-02-11 17:58:47,538 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07965776:ctest-vn-43139936', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07965776:ctest-vn-43139936?flat'}
2026-02-11 17:58:47,538 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07965776:ctest-vn-43139936 is found in opserver
2026-02-11 17:58:47,546 - DEBUG - Do not have enough data to verify VN in agent
2026-02-11 17:58:47,550 - DEBUG - VRF ids for VN ctest-vn-43139936: {}
2026-02-11 17:58:47,605 - DEBUG - Services list from nova: [