2026-07-18 00:32:38,559 - INFO - Domain Default found not creating
2026-07-18 00:32:38,736 - INFO - Project ctest-TestBasicPolicy-58997890 not found, creating it
2026-07-18 00:32:39,236 - INFO - Created Project:ctest-TestBasicPolicy-58997890, ID : 63c76e54-3025-4baa-9665-f0f91a12b74f
2026-07-18 00:32:40,856 - INFO - ================================================================================
2026-07-18 00:32:40,856 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-07-18 00:32:40,857 - 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-07-18 00:32:41,121 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-07-18 00:32:41,121 - INFO - Initial checks done. Running the testcase now
2026-07-18 00:32:41,121 - INFO -
2026-07-18 00:32:41,761 - DEBUG - Response for create_network : {'network': {'id': '0c6509da-6e3d-4186-b976-e89d44881918', 'name': 'ctest-vn-47728709', 'tenant_id': '63c76e5430254baa9665f0f91a12b74f', 'project_id': '63c76e5430254baa9665f0f91a12b74f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58997890', 'ctest-vn-47728709'], 'port_security_enabled': True, 'description': ''}}
2026-07-18 00:32:41,926 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a03427d8-17ff-428c-b37c-e7adbffd52b1', 'name': '', 'tenant_id': '63c76e5430254baa9665f0f91a12b74f', 'network_id': '0c6509da-6e3d-4186-b976-e89d44881918', 'ip_version': 4, 'cidr': '50.251.210.0/26', 'allocation_pools': [{'start': '50.251.210.2', 'end': '50.251.210.62'}], 'gateway_ip': '50.251.210.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.251.210.2', 'tags': [], 'project_id': '63c76e5430254baa9665f0f91a12b74f'}}
2026-07-18 00:32:41,943 - INFO - Created VN ctest-vn-47728709
2026-07-18 00:32:41,996 - DEBUG - VN ctest-vn-47728709 UUID is 0c6509da-6e3d-4186-b976-e89d44881918
2026-07-18 00:32:42,332 - DEBUG - Response for create_network : {'network': {'id': 'b54dfa8d-0806-4908-aaba-5ecabfe9c6cb', 'name': 'ctest-vn-82380038', 'tenant_id': '63c76e5430254baa9665f0f91a12b74f', 'project_id': '63c76e5430254baa9665f0f91a12b74f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58997890', 'ctest-vn-82380038'], 'port_security_enabled': True, 'description': ''}}
2026-07-18 00:32:42,522 - DEBUG - Response for create_subnet : {'subnet': {'id': '7540e552-5b88-4c90-85a6-d174b2520d26', 'name': '', 'tenant_id': '63c76e5430254baa9665f0f91a12b74f', 'network_id': 'b54dfa8d-0806-4908-aaba-5ecabfe9c6cb', 'ip_version': 4, 'cidr': '179.97.188.64/26', 'allocation_pools': [{'start': '179.97.188.66', 'end': '179.97.188.126'}], 'gateway_ip': '179.97.188.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.97.188.66', 'tags': [], 'project_id': '63c76e5430254baa9665f0f91a12b74f'}}
2026-07-18 00:32:42,542 - INFO - Created VN ctest-vn-82380038
2026-07-18 00:32:42,596 - DEBUG - VN ctest-vn-82380038 UUID is b54dfa8d-0806-4908-aaba-5ecabfe9c6cb
2026-07-18 00:32:42,716 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-58997890:ctest-vn-47728709, 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-58997890:ctest-vn-82380038, 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-07-18 00:32:43,029 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0c6509da-6e3d-4186-b976-e89d44881918', 'name': 'ctest-vn-47728709', 'tenant_id': '63c76e5430254baa9665f0f91a12b74f', 'project_id': '63c76e5430254baa9665f0f91a12b74f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a03427d8-17ff-428c-b37c-e7adbffd52b1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58997890', 'ctest-vn-47728709'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58997890', 'ctest-policy-allow-all-38543567']], 'subnet_ipam': [{'subnet_cidr': '50.251.210.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-07-18 00:32:43,269 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b54dfa8d-0806-4908-aaba-5ecabfe9c6cb', 'name': 'ctest-vn-82380038', 'tenant_id': '63c76e5430254baa9665f0f91a12b74f', 'project_id': '63c76e5430254baa9665f0f91a12b74f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7540e552-5b88-4c90-85a6-d174b2520d26'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58997890', 'ctest-vn-82380038'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58997890', 'ctest-policy-allow-all-38543567']], 'subnet_ipam': [{'subnet_cidr': '179.97.188.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-07-18 00:32:43,440 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-07-18 00:32:43,782 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-07-18 00:32:43,808 - DEBUG - Requesting: http://10.0.0.50:8082/domain/244131e5-b7b3-48e4-bb2b-87fd01ecfd2e
2026-07-18 00:32:43,820 - DEBUG - Requesting: http://10.0.0.50:8082/project/63c76e54-3025-4baa-9665-f0f91a12b74f
2026-07-18 00:32:43,898 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0c6509da-6e3d-4186-b976-e89d44881918
2026-07-18 00:32:43,912 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0c6509da-6e3d-4186-b976-e89d44881918
2026-07-18 00:32:43,922 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de889f97-4e3e-4fb0-be46-8acd034c992c
2026-07-18 00:32:43,930 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de889f97-4e3e-4fb0-be46-8acd034c992c
2026-07-18 00:32:43,937 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2ffb4968-49d1-4394-95aa-8790848479a0
2026-07-18 00:32:43,943 - DEBUG - Route Targets: ['target:64512:8000004']
2026-07-18 00:32:43,943 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0c6509da-6e3d-4186-b976-e89d44881918
2026-07-18 00:32:43,951 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de889f97-4e3e-4fb0-be46-8acd034c992c
2026-07-18 00:32:43,965 - INFO - Verified VN network id 11 for VN 0c6509da-6e3d-4186-b976-e89d44881918
2026-07-18 00:32:43,966 - INFO - Verifications in API Server for VN ctest-vn-47728709 passed
2026-07-18 00:32:43,966 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0c6509da-6e3d-4186-b976-e89d44881918
2026-07-18 00:32:43,978 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de889f97-4e3e-4fb0-be46-8acd034c992c
2026-07-18 00:32:43,986 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de889f97-4e3e-4fb0-be46-8acd034c992c
2026-07-18 00:32:43,996 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2ffb4968-49d1-4394-95aa-8790848479a0
2026-07-18 00:32:44,014 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58997890:ctest-vn-47728709', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58997890', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '893130934859940230', 'uuid-lslong': '13364124706425805080'}, 'enable': 'true', 'created': '2026-07-18T00:32:41', 'last-modified': '2026-07-18T00:32:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.009318'}
2026-07-18 00:32:44,021 - DEBUG - Route Targets: ['target:64512:8000004']
2026-07-18 00:32:44,021 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47728709 passed
2026-07-18 00:32:44,022 - DEBUG - ====Verifying policy data for ctest-vn-47728709 in API_Server ======
2026-07-18 00:32:44,022 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-07-18 00:32:44,029 - DEBUG - Requesting: http://10.0.0.50:8082/domain/244131e5-b7b3-48e4-bb2b-87fd01ecfd2e
2026-07-18 00:32:44,042 - DEBUG - Requesting: http://10.0.0.50:8082/project/63c76e54-3025-4baa-9665-f0f91a12b74f
2026-07-18 00:32:44,120 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0c6509da-6e3d-4186-b976-e89d44881918
2026-07-18 00:32:44,129 - DEBUG - ==>Verifying data for policy with id: a496ae99-97e9-4e36-86ae-fa939f84cbab, fqn: ['default-domain', 'ctest-TestBasicPolicy-58997890', 'ctest-policy-allow-all-38543567']
2026-07-18 00:32:44,129 - INFO - VN ctest-vn-47728709 Policy verification: verify_vn_policy_in_api_server, status: True
2026-07-18 00:32:44,129 - DEBUG - Verifying the vn in opserver
2026-07-18 00:32:44,129 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58997890:ctest-vn-47728709 virtual network link through opserver 10.0.0.50
2026-07-18 00:32:44,129 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-07-18 00:32:44,459 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-07-18 00:32:44,516 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58997890:ctest-vn-47728709', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58997890:ctest-vn-47728709?flat'}
2026-07-18 00:32:44,516 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58997890:ctest-vn-47728709 is found in opserver
2026-07-18 00:32:44,527 - DEBUG - Do not have enough data to verify VN in agent
2026-07-18 00:32:44,532 - DEBUG - VRF ids for VN ctest-vn-47728709: {}
2026-07-18 00:32:44,532 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-07-18 00:32:44,538 - DEBUG - Requesting: http://10.0.0.50:8082/domain/244131e5-b7b3-48e4-bb2b-87fd01ecfd2e
2026-07-18 00:32:44,548 - DEBUG - Requesting: http://10.0.0.50:8082/project/63c76e54-3025-4baa-9665-f0f91a12b74f
2026-07-18 00:32:44,622 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b54dfa8d-0806-4908-aaba-5ecabfe9c6cb
2026-07-18 00:32:44,635 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b54dfa8d-0806-4908-aaba-5ecabfe9c6cb
2026-07-18 00:32:44,645 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9b2817fb-014a-4fcf-a5bb-1ca0a8dcfd80
2026-07-18 00:32:44,652 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9b2817fb-014a-4fcf-a5bb-1ca0a8dcfd80
2026-07-18 00:32:44,659 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8c70b938-1faf-4ed7-9395-9f9db23f8deb
2026-07-18 00:32:44,665 - DEBUG - Route Targets: ['target:64512:8000005']
2026-07-18 00:32:44,665 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b54dfa8d-0806-4908-aaba-5ecabfe9c6cb
2026-07-18 00:32:44,674 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9b2817fb-014a-4fcf-a5bb-1ca0a8dcfd80
2026-07-18 00:32:44,689 - INFO - Verified VN network id 12 for VN b54dfa8d-0806-4908-aaba-5ecabfe9c6cb
2026-07-18 00:32:44,689 - INFO - Verifications in API Server for VN ctest-vn-82380038 passed
2026-07-18 00:32:44,689 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b54dfa8d-0806-4908-aaba-5ecabfe9c6cb
2026-07-18 00:32:44,698 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9b2817fb-014a-4fcf-a5bb-1ca0a8dcfd80
2026-07-18 00:32:44,705 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9b2817fb-014a-4fcf-a5bb-1ca0a8dcfd80
2026-07-18 00:32:44,712 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8c70b938-1faf-4ed7-9395-9f9db23f8deb
2026-07-18 00:32:44,726 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58997890:ctest-vn-82380038', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58997890', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13064373577703639304', 'uuid-lslong': '12302249557012104907'}, 'enable': 'true', 'created': '2026-07-18T00:32:42', 'last-modified': '2026-07-18T00:32:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.480484'}
2026-07-18 00:32:44,732 - DEBUG - Route Targets: ['target:64512:8000005']
2026-07-18 00:32:44,732 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82380038 passed
2026-07-18 00:32:44,733 - DEBUG - ====Verifying policy data for ctest-vn-82380038 in API_Server ======
2026-07-18 00:32:44,733 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-07-18 00:32:44,739 - DEBUG - Requesting: http://10.0.0.50:8082/domain/244131e5-b7b3-48e4-bb2b-87fd01ecfd2e
2026-07-18 00:32:44,752 - DEBUG - Requesting: http://10.0.0.50:8082/project/63c76e54-3025-4baa-9665-f0f91a12b74f
2026-07-18 00:32:44,827 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b54dfa8d-0806-4908-aaba-5ecabfe9c6cb
2026-07-18 00:32:44,837 - DEBUG - ==>Verifying data for policy with id: a496ae99-97e9-4e36-86ae-fa939f84cbab, fqn: ['default-domain', 'ctest-TestBasicPolicy-58997890', 'ctest-policy-allow-all-38543567']
2026-07-18 00:32:44,837 - INFO - VN ctest-vn-82380038 Policy verification: verify_vn_policy_in_api_server, status: True
2026-07-18 00:32:44,837 - DEBUG - Verifying the vn in opserver
2026-07-18 00:32:44,837 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58997890:ctest-vn-82380038 virtual network link through opserver 10.0.0.50
2026-07-18 00:32:44,837 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-07-18 00:32:44,849 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58997890:ctest-vn-82380038', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58997890:ctest-vn-82380038?flat'}
2026-07-18 00:32:44,849 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58997890:ctest-vn-82380038 is found in opserver
2026-07-18 00:32:44,861 - DEBUG - Do not have enough data to verify VN in agent
2026-07-18 00:32:44,866 - DEBUG - VRF ids for VN ctest-vn-82380038: {}
2026-07-18 00:32:44,931 - DEBUG - Services list from nova: [