2026-02-10 00:36:40,624 - INFO - Domain Default found not creating
2026-02-10 00:36:40,767 - INFO - Project ctest-TestBasicPolicy-92585980 not found, creating it
2026-02-10 00:36:41,181 - INFO - Created Project:ctest-TestBasicPolicy-92585980, ID : 4475234c-515a-4278-8875-f64da38c4e96
2026-02-10 00:36:42,987 - INFO - ================================================================================
2026-02-10 00:36:42,988 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-10 00:36:42,988 - 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-10 00:36:43,239 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with
2026-02-10 00:36:43,240 - INFO - Initial checks done. Running the testcase now
2026-02-10 00:36:43,240 - INFO -
2026-02-10 00:36:43,741 - DEBUG - Response for create_network : {'network': {'id': 'c3d39dd4-665d-4ec2-b185-49866a99c70b', 'name': 'ctest-vn-93691469', 'tenant_id': '4475234c515a42788875f64da38c4e96', 'project_id': '4475234c515a42788875f64da38c4e96', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92585980', 'ctest-vn-93691469'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 00:36:43,900 - DEBUG - Response for create_subnet : {'subnet': {'id': '43b99144-bb89-4973-b336-5f2eeb0ee54d', 'name': '', 'tenant_id': '4475234c515a42788875f64da38c4e96', 'network_id': 'c3d39dd4-665d-4ec2-b185-49866a99c70b', 'ip_version': 4, 'cidr': '52.31.216.128/26', 'allocation_pools': [{'start': '52.31.216.130', 'end': '52.31.216.190'}], 'gateway_ip': '52.31.216.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.31.216.130', 'tags': [], 'project_id': '4475234c515a42788875f64da38c4e96'}}
2026-02-10 00:36:43,914 - INFO - Created VN ctest-vn-93691469
2026-02-10 00:36:43,963 - DEBUG - VN ctest-vn-93691469 UUID is c3d39dd4-665d-4ec2-b185-49866a99c70b
2026-02-10 00:36:44,266 - DEBUG - Response for create_network : {'network': {'id': '34b41f8f-9749-40a9-bcc4-0506c41ed5a6', 'name': 'ctest-vn-09971713', 'tenant_id': '4475234c515a42788875f64da38c4e96', 'project_id': '4475234c515a42788875f64da38c4e96', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92585980', 'ctest-vn-09971713'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 00:36:44,440 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6d9f28b-da52-48e3-9dd6-636b39b9d183', 'name': '', 'tenant_id': '4475234c515a42788875f64da38c4e96', 'network_id': '34b41f8f-9749-40a9-bcc4-0506c41ed5a6', 'ip_version': 4, 'cidr': '194.200.253.128/26', 'allocation_pools': [{'start': '194.200.253.130', 'end': '194.200.253.190'}], 'gateway_ip': '194.200.253.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.200.253.130', 'tags': [], 'project_id': '4475234c515a42788875f64da38c4e96'}}
2026-02-10 00:36:44,458 - INFO - Created VN ctest-vn-09971713
2026-02-10 00:36:44,511 - DEBUG - VN ctest-vn-09971713 UUID is 34b41f8f-9749-40a9-bcc4-0506c41ed5a6
2026-02-10 00:36:44,655 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-92585980:ctest-vn-93691469, 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-92585980:ctest-vn-09971713, 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-10 00:36:44,950 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c3d39dd4-665d-4ec2-b185-49866a99c70b', 'name': 'ctest-vn-93691469', 'tenant_id': '4475234c515a42788875f64da38c4e96', 'project_id': '4475234c515a42788875f64da38c4e96', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['43b99144-bb89-4973-b336-5f2eeb0ee54d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92585980', 'ctest-vn-93691469'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92585980', 'ctest-policy-allow-all-18219315']], 'subnet_ipam': [{'subnet_cidr': '52.31.216.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 00:36:45,180 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '34b41f8f-9749-40a9-bcc4-0506c41ed5a6', 'name': 'ctest-vn-09971713', 'tenant_id': '4475234c515a42788875f64da38c4e96', 'project_id': '4475234c515a42788875f64da38c4e96', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d6d9f28b-da52-48e3-9dd6-636b39b9d183'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92585980', 'ctest-vn-09971713'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92585980', 'ctest-policy-allow-all-18219315']], 'subnet_ipam': [{'subnet_cidr': '194.200.253.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 00:36:45,319 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-10 00:36:45,625 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-10 00:36:45,656 - DEBUG - Requesting: http://10.0.0.22:8082/domain/78d4456c-5c02-42a5-a2ae-70c9d6573204
2026-02-10 00:36:45,667 - DEBUG - Requesting: http://10.0.0.22:8082/project/4475234c-515a-4278-8875-f64da38c4e96
2026-02-10 00:36:45,741 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c3d39dd4-665d-4ec2-b185-49866a99c70b
2026-02-10 00:36:45,750 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c3d39dd4-665d-4ec2-b185-49866a99c70b
2026-02-10 00:36:45,757 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bc5ab9c8-b573-4814-8e4c-869ccd6520ea
2026-02-10 00:36:45,762 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bc5ab9c8-b573-4814-8e4c-869ccd6520ea
2026-02-10 00:36:45,768 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/60b715f5-58d4-4088-b4e7-383a399b53a5
2026-02-10 00:36:45,773 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 00:36:45,773 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c3d39dd4-665d-4ec2-b185-49866a99c70b
2026-02-10 00:36:45,780 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bc5ab9c8-b573-4814-8e4c-869ccd6520ea
2026-02-10 00:36:45,791 - INFO - Verified VN network id 11 for VN c3d39dd4-665d-4ec2-b185-49866a99c70b
2026-02-10 00:36:45,791 - INFO - Verifications in API Server for VN ctest-vn-93691469 passed
2026-02-10 00:36:45,791 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c3d39dd4-665d-4ec2-b185-49866a99c70b
2026-02-10 00:36:45,799 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bc5ab9c8-b573-4814-8e4c-869ccd6520ea
2026-02-10 00:36:45,806 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bc5ab9c8-b573-4814-8e4c-869ccd6520ea
2026-02-10 00:36:45,811 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/60b715f5-58d4-4088-b4e7-383a399b53a5
2026-02-10 00:36:45,820 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92585980:ctest-vn-93691469', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92585980', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14110795593057914562', 'uuid-lslong': '12791711158278670091'}, 'enable': 'true', 'created': '2026-02-10T00:36:43', 'last-modified': '2026-02-10T00:36:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.894921'}
2026-02-10 00:36:45,825 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 00:36:45,825 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93691469 passed
2026-02-10 00:36:45,825 - DEBUG - ====Verifying policy data for ctest-vn-93691469 in API_Server ======
2026-02-10 00:36:45,825 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-10 00:36:45,830 - DEBUG - Requesting: http://10.0.0.22:8082/domain/78d4456c-5c02-42a5-a2ae-70c9d6573204
2026-02-10 00:36:45,844 - DEBUG - Requesting: http://10.0.0.22:8082/project/4475234c-515a-4278-8875-f64da38c4e96
2026-02-10 00:36:45,909 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c3d39dd4-665d-4ec2-b185-49866a99c70b
2026-02-10 00:36:45,923 - DEBUG - ==>Verifying data for policy with id: 144e63fd-e468-4b7f-a94d-de03924e9518, fqn: ['default-domain', 'ctest-TestBasicPolicy-92585980', 'ctest-policy-allow-all-18219315']
2026-02-10 00:36:45,923 - INFO - VN ctest-vn-93691469 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 00:36:45,923 - DEBUG - Verifying the vn in opserver
2026-02-10 00:36:45,923 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92585980:ctest-vn-93691469 virtual network link through opserver 10.0.0.22
2026-02-10 00:36:45,923 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-02-10 00:36:46,213 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-02-10 00:36:46,264 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92585980:ctest-vn-93691469', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92585980:ctest-vn-93691469?flat'}
2026-02-10 00:36:46,264 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92585980:ctest-vn-93691469 is found in opserver
2026-02-10 00:36:46,272 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 00:36:46,277 - DEBUG - VRF ids for VN ctest-vn-93691469: {}
2026-02-10 00:36:46,277 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-10 00:36:46,281 - DEBUG - Requesting: http://10.0.0.22:8082/domain/78d4456c-5c02-42a5-a2ae-70c9d6573204
2026-02-10 00:36:46,291 - DEBUG - Requesting: http://10.0.0.22:8082/project/4475234c-515a-4278-8875-f64da38c4e96
2026-02-10 00:36:46,355 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/34b41f8f-9749-40a9-bcc4-0506c41ed5a6
2026-02-10 00:36:46,364 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/34b41f8f-9749-40a9-bcc4-0506c41ed5a6
2026-02-10 00:36:46,372 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e8005e5c-1447-4192-a8bf-fcdea7e32c93
2026-02-10 00:36:46,377 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e8005e5c-1447-4192-a8bf-fcdea7e32c93
2026-02-10 00:36:46,382 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/9345c76e-2be2-49fa-8666-461695f9c080
2026-02-10 00:36:46,387 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 00:36:46,387 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/34b41f8f-9749-40a9-bcc4-0506c41ed5a6
2026-02-10 00:36:46,394 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e8005e5c-1447-4192-a8bf-fcdea7e32c93
2026-02-10 00:36:46,404 - INFO - Verified VN network id 12 for VN 34b41f8f-9749-40a9-bcc4-0506c41ed5a6
2026-02-10 00:36:46,404 - INFO - Verifications in API Server for VN ctest-vn-09971713 passed
2026-02-10 00:36:46,404 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/34b41f8f-9749-40a9-bcc4-0506c41ed5a6
2026-02-10 00:36:46,411 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e8005e5c-1447-4192-a8bf-fcdea7e32c93
2026-02-10 00:36:46,416 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e8005e5c-1447-4192-a8bf-fcdea7e32c93
2026-02-10 00:36:46,421 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/9345c76e-2be2-49fa-8666-461695f9c080
2026-02-10 00:36:46,431 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92585980:ctest-vn-09971713', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92585980', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3797695087359115433', 'uuid-lslong': '13602002301184038310'}, 'enable': 'true', 'created': '2026-02-10T00:36:44', 'last-modified': '2026-02-10T00:36:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.282547'}
2026-02-10 00:36:46,435 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 00:36:46,435 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09971713 passed
2026-02-10 00:36:46,436 - DEBUG - ====Verifying policy data for ctest-vn-09971713 in API_Server ======
2026-02-10 00:36:46,436 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-10 00:36:46,440 - DEBUG - Requesting: http://10.0.0.22:8082/domain/78d4456c-5c02-42a5-a2ae-70c9d6573204
2026-02-10 00:36:46,449 - DEBUG - Requesting: http://10.0.0.22:8082/project/4475234c-515a-4278-8875-f64da38c4e96
2026-02-10 00:36:46,513 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/34b41f8f-9749-40a9-bcc4-0506c41ed5a6
2026-02-10 00:36:46,521 - DEBUG - ==>Verifying data for policy with id: 144e63fd-e468-4b7f-a94d-de03924e9518, fqn: ['default-domain', 'ctest-TestBasicPolicy-92585980', 'ctest-policy-allow-all-18219315']
2026-02-10 00:36:46,521 - INFO - VN ctest-vn-09971713 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 00:36:46,521 - DEBUG - Verifying the vn in opserver
2026-02-10 00:36:46,521 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92585980:ctest-vn-09971713 virtual network link through opserver 10.0.0.22
2026-02-10 00:36:46,522 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-02-10 00:36:46,530 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92585980:ctest-vn-09971713', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92585980:ctest-vn-09971713?flat'}
2026-02-10 00:36:46,531 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92585980:ctest-vn-09971713 is found in opserver
2026-02-10 00:36:46,538 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 00:36:46,542 - DEBUG - VRF ids for VN ctest-vn-09971713: {}
2026-02-10 00:36:46,590 - DEBUG - Services list from nova: [