2026-01-16 16:10:22,940 - INFO - Domain Default found not creating
2026-01-16 16:10:23,128 - INFO - Project ctest-TestBasicPolicy-71281153 not found, creating it
2026-01-16 16:10:23,604 - INFO - Created Project:ctest-TestBasicPolicy-71281153, ID : 48aa0913-2f65-40c6-abce-ae22680d2040
2026-01-16 16:10:25,098 - INFO - ================================================================================
2026-01-16 16:10:25,098 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-16 16:10:25,098 - 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-16 16:10:25,351 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-01-16 16:10:25,351 - INFO - Initial checks done. Running the testcase now
2026-01-16 16:10:25,351 - INFO -
2026-01-16 16:10:25,920 - DEBUG - Response for create_network : {'network': {'id': '0820199d-2615-4f23-9d7a-8723e8c2987b', 'name': 'ctest-vn-63495483', 'tenant_id': '48aa09132f6540c6abceae22680d2040', 'project_id': '48aa09132f6540c6abceae22680d2040', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71281153', 'ctest-vn-63495483'], 'port_security_enabled': True, 'description': ''}}
2026-01-16 16:10:26,073 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa158afe-fc14-4060-a7de-a44ae058979d', 'name': '', 'tenant_id': '48aa09132f6540c6abceae22680d2040', 'network_id': '0820199d-2615-4f23-9d7a-8723e8c2987b', 'ip_version': 4, 'cidr': '29.190.156.192/26', 'allocation_pools': [{'start': '29.190.156.194', 'end': '29.190.156.254'}], 'gateway_ip': '29.190.156.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.190.156.194', 'tags': [], 'project_id': '48aa09132f6540c6abceae22680d2040'}}
2026-01-16 16:10:26,092 - INFO - Created VN ctest-vn-63495483
2026-01-16 16:10:26,145 - DEBUG - VN ctest-vn-63495483 UUID is 0820199d-2615-4f23-9d7a-8723e8c2987b
2026-01-16 16:10:26,435 - DEBUG - Response for create_network : {'network': {'id': 'bb476bb1-915b-49b7-ae7b-a7f060d4d45b', 'name': 'ctest-vn-28988346', 'tenant_id': '48aa09132f6540c6abceae22680d2040', 'project_id': '48aa09132f6540c6abceae22680d2040', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71281153', 'ctest-vn-28988346'], 'port_security_enabled': True, 'description': ''}}
2026-01-16 16:10:26,663 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e64090e-98f5-4be3-8b52-166e05d2dce7', 'name': '', 'tenant_id': '48aa09132f6540c6abceae22680d2040', 'network_id': 'bb476bb1-915b-49b7-ae7b-a7f060d4d45b', 'ip_version': 4, 'cidr': '64.220.126.128/26', 'allocation_pools': [{'start': '64.220.126.130', 'end': '64.220.126.190'}], 'gateway_ip': '64.220.126.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.220.126.130', 'tags': [], 'project_id': '48aa09132f6540c6abceae22680d2040'}}
2026-01-16 16:10:26,679 - INFO - Created VN ctest-vn-28988346
2026-01-16 16:10:26,737 - DEBUG - VN ctest-vn-28988346 UUID is bb476bb1-915b-49b7-ae7b-a7f060d4d45b
2026-01-16 16:10:26,856 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71281153:ctest-vn-63495483, 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-71281153:ctest-vn-28988346, 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-16 16:10:27,160 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0820199d-2615-4f23-9d7a-8723e8c2987b', 'name': 'ctest-vn-63495483', 'tenant_id': '48aa09132f6540c6abceae22680d2040', 'project_id': '48aa09132f6540c6abceae22680d2040', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fa158afe-fc14-4060-a7de-a44ae058979d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71281153', 'ctest-vn-63495483'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71281153', 'ctest-policy-allow-all-85238609']], 'subnet_ipam': [{'subnet_cidr': '29.190.156.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-16 16:10:27,434 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bb476bb1-915b-49b7-ae7b-a7f060d4d45b', 'name': 'ctest-vn-28988346', 'tenant_id': '48aa09132f6540c6abceae22680d2040', 'project_id': '48aa09132f6540c6abceae22680d2040', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7e64090e-98f5-4be3-8b52-166e05d2dce7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71281153', 'ctest-vn-28988346'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71281153', 'ctest-policy-allow-all-85238609']], 'subnet_ipam': [{'subnet_cidr': '64.220.126.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-16 16:10:27,585 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-16 16:10:27,884 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-16 16:10:27,926 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e284eb37-4c54-4ca6-aa7b-f31a10faded6
2026-01-16 16:10:27,939 - DEBUG - Requesting: http://10.0.0.38:8082/project/48aa0913-2f65-40c6-abce-ae22680d2040
2026-01-16 16:10:28,014 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0820199d-2615-4f23-9d7a-8723e8c2987b
2026-01-16 16:10:28,026 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0820199d-2615-4f23-9d7a-8723e8c2987b
2026-01-16 16:10:28,036 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c732a5d-44d2-4bab-b3ed-aa0c42667167
2026-01-16 16:10:28,045 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c732a5d-44d2-4bab-b3ed-aa0c42667167
2026-01-16 16:10:28,052 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/aaff6d36-faba-40c2-988d-8cd2f2480607
2026-01-16 16:10:28,059 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-16 16:10:28,059 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0820199d-2615-4f23-9d7a-8723e8c2987b
2026-01-16 16:10:28,068 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c732a5d-44d2-4bab-b3ed-aa0c42667167
2026-01-16 16:10:28,083 - INFO - Verified VN network id 11 for VN 0820199d-2615-4f23-9d7a-8723e8c2987b
2026-01-16 16:10:28,083 - INFO - Verifications in API Server for VN ctest-vn-63495483 passed
2026-01-16 16:10:28,083 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0820199d-2615-4f23-9d7a-8723e8c2987b
2026-01-16 16:10:28,092 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c732a5d-44d2-4bab-b3ed-aa0c42667167
2026-01-16 16:10:28,099 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c732a5d-44d2-4bab-b3ed-aa0c42667167
2026-01-16 16:10:28,106 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/aaff6d36-faba-40c2-988d-8cd2f2480607
2026-01-16 16:10:28,118 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71281153:ctest-vn-63495483', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71281153', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '585496114297655075', 'uuid-lslong': '11347530799412058235'}, 'enable': 'true', 'created': '2026-01-16T16:10:25', 'last-modified': '2026-01-16T16:10:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.975237'}
2026-01-16 16:10:28,124 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-16 16:10:28,125 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63495483 passed
2026-01-16 16:10:28,125 - DEBUG - ====Verifying policy data for ctest-vn-63495483 in API_Server ======
2026-01-16 16:10:28,125 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-16 16:10:28,131 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e284eb37-4c54-4ca6-aa7b-f31a10faded6
2026-01-16 16:10:28,142 - DEBUG - Requesting: http://10.0.0.38:8082/project/48aa0913-2f65-40c6-abce-ae22680d2040
2026-01-16 16:10:28,210 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0820199d-2615-4f23-9d7a-8723e8c2987b
2026-01-16 16:10:28,219 - DEBUG - ==>Verifying data for policy with id: d4ecd0f7-2351-44df-84ee-a58c4696200e, fqn: ['default-domain', 'ctest-TestBasicPolicy-71281153', 'ctest-policy-allow-all-85238609']
2026-01-16 16:10:28,219 - INFO - VN ctest-vn-63495483 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-16 16:10:28,219 - DEBUG - Verifying the vn in opserver
2026-01-16 16:10:28,219 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71281153:ctest-vn-63495483 virtual network link through opserver 10.0.0.38
2026-01-16 16:10:28,219 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-16 16:10:28,515 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-16 16:10:28,576 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71281153:ctest-vn-63495483', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71281153:ctest-vn-63495483?flat'}
2026-01-16 16:10:28,576 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71281153:ctest-vn-63495483 is found in opserver
2026-01-16 16:10:28,588 - DEBUG - Do not have enough data to verify VN in agent
2026-01-16 16:10:28,596 - DEBUG - VRF ids for VN ctest-vn-63495483: {}
2026-01-16 16:10:28,596 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-16 16:10:28,602 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e284eb37-4c54-4ca6-aa7b-f31a10faded6
2026-01-16 16:10:28,613 - DEBUG - Requesting: http://10.0.0.38:8082/project/48aa0913-2f65-40c6-abce-ae22680d2040
2026-01-16 16:10:28,682 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bb476bb1-915b-49b7-ae7b-a7f060d4d45b
2026-01-16 16:10:28,695 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bb476bb1-915b-49b7-ae7b-a7f060d4d45b
2026-01-16 16:10:28,704 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fd9de64e-ff3d-4f32-8320-b85e673bc79e
2026-01-16 16:10:28,711 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fd9de64e-ff3d-4f32-8320-b85e673bc79e
2026-01-16 16:10:28,718 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/81871529-3863-4475-b7dc-f1842604b5ef
2026-01-16 16:10:28,725 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-16 16:10:28,725 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bb476bb1-915b-49b7-ae7b-a7f060d4d45b
2026-01-16 16:10:28,734 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fd9de64e-ff3d-4f32-8320-b85e673bc79e
2026-01-16 16:10:28,749 - INFO - Verified VN network id 12 for VN bb476bb1-915b-49b7-ae7b-a7f060d4d45b
2026-01-16 16:10:28,749 - INFO - Verifications in API Server for VN ctest-vn-28988346 passed
2026-01-16 16:10:28,749 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bb476bb1-915b-49b7-ae7b-a7f060d4d45b
2026-01-16 16:10:28,758 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fd9de64e-ff3d-4f32-8320-b85e673bc79e
2026-01-16 16:10:28,765 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fd9de64e-ff3d-4f32-8320-b85e673bc79e
2026-01-16 16:10:28,771 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/81871529-3863-4475-b7dc-f1842604b5ef
2026-01-16 16:10:28,784 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71281153:ctest-vn-28988346', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71281153', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13494873218831042999', 'uuid-lslong': '12572827435593421915'}, 'enable': 'true', 'created': '2026-01-16T16:10:26', 'last-modified': '2026-01-16T16:10:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.412603'}
2026-01-16 16:10:28,791 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-16 16:10:28,791 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28988346 passed
2026-01-16 16:10:28,791 - DEBUG - ====Verifying policy data for ctest-vn-28988346 in API_Server ======
2026-01-16 16:10:28,791 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-16 16:10:28,798 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e284eb37-4c54-4ca6-aa7b-f31a10faded6
2026-01-16 16:10:28,812 - DEBUG - Requesting: http://10.0.0.38:8082/project/48aa0913-2f65-40c6-abce-ae22680d2040
2026-01-16 16:10:28,886 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bb476bb1-915b-49b7-ae7b-a7f060d4d45b
2026-01-16 16:10:28,895 - DEBUG - ==>Verifying data for policy with id: d4ecd0f7-2351-44df-84ee-a58c4696200e, fqn: ['default-domain', 'ctest-TestBasicPolicy-71281153', 'ctest-policy-allow-all-85238609']
2026-01-16 16:10:28,895 - INFO - VN ctest-vn-28988346 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-16 16:10:28,895 - DEBUG - Verifying the vn in opserver
2026-01-16 16:10:28,895 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71281153:ctest-vn-28988346 virtual network link through opserver 10.0.0.38
2026-01-16 16:10:28,895 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-16 16:10:28,906 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71281153:ctest-vn-28988346', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71281153:ctest-vn-28988346?flat'}
2026-01-16 16:10:28,906 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71281153:ctest-vn-28988346 is found in opserver
2026-01-16 16:10:28,917 - DEBUG - Do not have enough data to verify VN in agent
2026-01-16 16:10:28,923 - DEBUG - VRF ids for VN ctest-vn-28988346: {}
2026-01-16 16:10:28,984 - DEBUG - Services list from nova: [