2026-02-20 02:25:20,092 - INFO - Domain Default found not creating
2026-02-20 02:25:20,252 - INFO - Project ctest-TestBasicPolicy-21646684 not found, creating it
2026-02-20 02:25:20,696 - INFO - Created Project:ctest-TestBasicPolicy-21646684, ID : 3952adb9-0af1-48e2-97fe-b113f0fb827f
2026-02-20 02:25:22,110 - INFO - ================================================================================
2026-02-20 02:25:22,110 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-20 02:25:22,110 - 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-20 02:25:22,362 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-02-20 02:25:22,362 - INFO - Initial checks done. Running the testcase now
2026-02-20 02:25:22,362 - INFO -
2026-02-20 02:25:22,884 - DEBUG - Response for create_network : {'network': {'id': '9a685e5b-71a8-4b84-80d0-29bd4890f132', 'name': 'ctest-vn-29782280', 'tenant_id': '3952adb90af148e297feb113f0fb827f', 'project_id': '3952adb90af148e297feb113f0fb827f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21646684', 'ctest-vn-29782280'], 'port_security_enabled': True, 'description': ''}}
2026-02-20 02:25:23,039 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e90a7242-d77b-4189-a6d4-6d672be44ce0', 'name': '', 'tenant_id': '3952adb90af148e297feb113f0fb827f', 'network_id': '9a685e5b-71a8-4b84-80d0-29bd4890f132', 'ip_version': 4, 'cidr': '12.80.91.0/26', 'allocation_pools': [{'start': '12.80.91.2', 'end': '12.80.91.62'}], 'gateway_ip': '12.80.91.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.80.91.2', 'tags': [], 'project_id': '3952adb90af148e297feb113f0fb827f'}}
2026-02-20 02:25:23,057 - INFO - Created VN ctest-vn-29782280
2026-02-20 02:25:23,110 - DEBUG - VN ctest-vn-29782280 UUID is 9a685e5b-71a8-4b84-80d0-29bd4890f132
2026-02-20 02:25:23,415 - DEBUG - Response for create_network : {'network': {'id': 'ce7d0e0c-9aef-49fe-8644-9f47a8b53ab6', 'name': 'ctest-vn-04319585', 'tenant_id': '3952adb90af148e297feb113f0fb827f', 'project_id': '3952adb90af148e297feb113f0fb827f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21646684', 'ctest-vn-04319585'], 'port_security_enabled': True, 'description': ''}}
2026-02-20 02:25:23,599 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c741f3e-4d5d-4b19-a4ac-d561de0e61df', 'name': '', 'tenant_id': '3952adb90af148e297feb113f0fb827f', 'network_id': 'ce7d0e0c-9aef-49fe-8644-9f47a8b53ab6', 'ip_version': 4, 'cidr': '216.230.74.0/26', 'allocation_pools': [{'start': '216.230.74.2', 'end': '216.230.74.62'}], 'gateway_ip': '216.230.74.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.230.74.2', 'tags': [], 'project_id': '3952adb90af148e297feb113f0fb827f'}}
2026-02-20 02:25:23,615 - INFO - Created VN ctest-vn-04319585
2026-02-20 02:25:23,669 - DEBUG - VN ctest-vn-04319585 UUID is ce7d0e0c-9aef-49fe-8644-9f47a8b53ab6
2026-02-20 02:25:23,809 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21646684:ctest-vn-29782280, 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-21646684:ctest-vn-04319585, 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-20 02:25:24,091 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9a685e5b-71a8-4b84-80d0-29bd4890f132', 'name': 'ctest-vn-29782280', 'tenant_id': '3952adb90af148e297feb113f0fb827f', 'project_id': '3952adb90af148e297feb113f0fb827f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e90a7242-d77b-4189-a6d4-6d672be44ce0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21646684', 'ctest-vn-29782280'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21646684', 'ctest-policy-allow-all-39305586']], 'subnet_ipam': [{'subnet_cidr': '12.80.91.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-20 02:25:24,325 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ce7d0e0c-9aef-49fe-8644-9f47a8b53ab6', 'name': 'ctest-vn-04319585', 'tenant_id': '3952adb90af148e297feb113f0fb827f', 'project_id': '3952adb90af148e297feb113f0fb827f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8c741f3e-4d5d-4b19-a4ac-d561de0e61df'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21646684', 'ctest-vn-04319585'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21646684', 'ctest-policy-allow-all-39305586']], 'subnet_ipam': [{'subnet_cidr': '216.230.74.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-20 02:25:24,489 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-20 02:25:24,780 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-20 02:25:24,808 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d6adf67b-528c-461b-9fa7-49a7da0fb7e7
2026-02-20 02:25:24,818 - DEBUG - Requesting: http://10.0.0.50:8082/project/3952adb9-0af1-48e2-97fe-b113f0fb827f
2026-02-20 02:25:24,893 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9a685e5b-71a8-4b84-80d0-29bd4890f132
2026-02-20 02:25:24,901 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9a685e5b-71a8-4b84-80d0-29bd4890f132
2026-02-20 02:25:24,909 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0d442fec-e19e-4d0a-92b4-f750626321a9
2026-02-20 02:25:24,915 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0d442fec-e19e-4d0a-92b4-f750626321a9
2026-02-20 02:25:24,920 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3e859418-abf3-4249-8698-e2b6972ed382
2026-02-20 02:25:24,926 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-20 02:25:24,926 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9a685e5b-71a8-4b84-80d0-29bd4890f132
2026-02-20 02:25:24,933 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0d442fec-e19e-4d0a-92b4-f750626321a9
2026-02-20 02:25:24,947 - INFO - Verified VN network id 11 for VN 9a685e5b-71a8-4b84-80d0-29bd4890f132
2026-02-20 02:25:24,947 - INFO - Verifications in API Server for VN ctest-vn-29782280 passed
2026-02-20 02:25:24,947 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9a685e5b-71a8-4b84-80d0-29bd4890f132
2026-02-20 02:25:24,955 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0d442fec-e19e-4d0a-92b4-f750626321a9
2026-02-20 02:25:24,961 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0d442fec-e19e-4d0a-92b4-f750626321a9
2026-02-20 02:25:24,967 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3e859418-abf3-4249-8698-e2b6972ed382
2026-02-20 02:25:24,977 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21646684:ctest-vn-29782280', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21646684', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11126246626260700036', 'uuid-lslong': '9281964724953608498'}, 'enable': 'true', 'created': '2026-02-20T02:25:22', 'last-modified': '2026-02-20T02:25:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.907370'}
2026-02-20 02:25:24,982 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-20 02:25:24,982 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29782280 passed
2026-02-20 02:25:24,983 - DEBUG - ====Verifying policy data for ctest-vn-29782280 in API_Server ======
2026-02-20 02:25:24,983 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-20 02:25:24,987 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d6adf67b-528c-461b-9fa7-49a7da0fb7e7
2026-02-20 02:25:24,996 - DEBUG - Requesting: http://10.0.0.50:8082/project/3952adb9-0af1-48e2-97fe-b113f0fb827f
2026-02-20 02:25:25,064 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9a685e5b-71a8-4b84-80d0-29bd4890f132
2026-02-20 02:25:25,074 - DEBUG - ==>Verifying data for policy with id: c60b4653-cf60-4a70-9728-bd868926cef5, fqn: ['default-domain', 'ctest-TestBasicPolicy-21646684', 'ctest-policy-allow-all-39305586']
2026-02-20 02:25:25,074 - INFO - VN ctest-vn-29782280 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-20 02:25:25,074 - DEBUG - Verifying the vn in opserver
2026-02-20 02:25:25,074 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21646684:ctest-vn-29782280 virtual network link through opserver 10.0.0.50
2026-02-20 02:25:25,074 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-20 02:25:25,365 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-20 02:25:25,421 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21646684:ctest-vn-29782280', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21646684:ctest-vn-29782280?flat'}
2026-02-20 02:25:25,421 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21646684:ctest-vn-29782280 is found in opserver
2026-02-20 02:25:25,430 - DEBUG - Do not have enough data to verify VN in agent
2026-02-20 02:25:25,434 - DEBUG - VRF ids for VN ctest-vn-29782280: {}
2026-02-20 02:25:25,434 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-20 02:25:25,438 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d6adf67b-528c-461b-9fa7-49a7da0fb7e7
2026-02-20 02:25:25,448 - DEBUG - Requesting: http://10.0.0.50:8082/project/3952adb9-0af1-48e2-97fe-b113f0fb827f
2026-02-20 02:25:25,512 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ce7d0e0c-9aef-49fe-8644-9f47a8b53ab6
2026-02-20 02:25:25,523 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ce7d0e0c-9aef-49fe-8644-9f47a8b53ab6
2026-02-20 02:25:25,532 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/21e5b6d7-0bf2-4e28-8a07-ef435ca398f1
2026-02-20 02:25:25,538 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/21e5b6d7-0bf2-4e28-8a07-ef435ca398f1
2026-02-20 02:25:25,548 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b603cae3-bbf7-43c9-b7ef-e2a5a8b99880
2026-02-20 02:25:25,553 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-20 02:25:25,553 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ce7d0e0c-9aef-49fe-8644-9f47a8b53ab6
2026-02-20 02:25:25,567 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/21e5b6d7-0bf2-4e28-8a07-ef435ca398f1
2026-02-20 02:25:25,580 - INFO - Verified VN network id 12 for VN ce7d0e0c-9aef-49fe-8644-9f47a8b53ab6
2026-02-20 02:25:25,580 - INFO - Verifications in API Server for VN ctest-vn-04319585 passed
2026-02-20 02:25:25,580 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ce7d0e0c-9aef-49fe-8644-9f47a8b53ab6
2026-02-20 02:25:25,589 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/21e5b6d7-0bf2-4e28-8a07-ef435ca398f1
2026-02-20 02:25:25,594 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/21e5b6d7-0bf2-4e28-8a07-ef435ca398f1
2026-02-20 02:25:25,600 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b603cae3-bbf7-43c9-b7ef-e2a5a8b99880
2026-02-20 02:25:25,609 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21646684:ctest-vn-04319585', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21646684', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14879064191203756542', 'uuid-lslong': '9675033029620611766'}, 'enable': 'true', 'created': '2026-02-20T02:25:23', 'last-modified': '2026-02-20T02:25:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.301778'}
2026-02-20 02:25:25,614 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-20 02:25:25,614 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04319585 passed
2026-02-20 02:25:25,614 - DEBUG - ====Verifying policy data for ctest-vn-04319585 in API_Server ======
2026-02-20 02:25:25,614 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-20 02:25:25,619 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d6adf67b-528c-461b-9fa7-49a7da0fb7e7
2026-02-20 02:25:25,628 - DEBUG - Requesting: http://10.0.0.50:8082/project/3952adb9-0af1-48e2-97fe-b113f0fb827f
2026-02-20 02:25:25,698 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ce7d0e0c-9aef-49fe-8644-9f47a8b53ab6
2026-02-20 02:25:25,706 - DEBUG - ==>Verifying data for policy with id: c60b4653-cf60-4a70-9728-bd868926cef5, fqn: ['default-domain', 'ctest-TestBasicPolicy-21646684', 'ctest-policy-allow-all-39305586']
2026-02-20 02:25:25,706 - INFO - VN ctest-vn-04319585 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-20 02:25:25,706 - DEBUG - Verifying the vn in opserver
2026-02-20 02:25:25,706 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21646684:ctest-vn-04319585 virtual network link through opserver 10.0.0.50
2026-02-20 02:25:25,706 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-20 02:25:25,714 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21646684:ctest-vn-04319585', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21646684:ctest-vn-04319585?flat'}
2026-02-20 02:25:25,715 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21646684:ctest-vn-04319585 is found in opserver
2026-02-20 02:25:25,722 - DEBUG - Do not have enough data to verify VN in agent
2026-02-20 02:25:25,726 - DEBUG - VRF ids for VN ctest-vn-04319585: {}
2026-02-20 02:25:25,777 - DEBUG - Services list from nova: [