2026-03-24 08:45:04,380 - INFO - Domain Default found not creating
2026-03-24 08:45:04,569 - INFO - Project ctest-TestBasicPolicy-01303179 not found, creating it
2026-03-24 08:45:05,089 - INFO - Created Project:ctest-TestBasicPolicy-01303179, ID : 84ae3369-931b-4d0c-ad0c-9f80b18e89fc
2026-03-24 08:45:06,872 - INFO - ================================================================================
2026-03-24 08:45:06,872 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-24 08:45:06,872 - 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-03-24 08:45:07,138 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-03-24 08:45:07,138 - INFO - Initial checks done. Running the testcase now
2026-03-24 08:45:07,138 - INFO -
2026-03-24 08:45:07,755 - DEBUG - Response for create_network : {'network': {'id': '4b2c4258-7a48-4c6b-b938-0c9d733b5cbe', 'name': 'ctest-vn-56995588', 'tenant_id': '84ae3369931b4d0cad0c9f80b18e89fc', 'project_id': '84ae3369931b4d0cad0c9f80b18e89fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01303179', 'ctest-vn-56995588'], 'port_security_enabled': True, 'description': ''}}
2026-03-24 08:45:08,011 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef5b7a06-54ca-44bd-8c74-8032ac0991bb', 'name': '', 'tenant_id': '84ae3369931b4d0cad0c9f80b18e89fc', 'network_id': '4b2c4258-7a48-4c6b-b938-0c9d733b5cbe', 'ip_version': 4, 'cidr': '96.74.115.192/26', 'allocation_pools': [{'start': '96.74.115.194', 'end': '96.74.115.254'}], 'gateway_ip': '96.74.115.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.74.115.194', 'tags': [], 'project_id': '84ae3369931b4d0cad0c9f80b18e89fc'}}
2026-03-24 08:45:08,032 - INFO - Created VN ctest-vn-56995588
2026-03-24 08:45:08,084 - DEBUG - VN ctest-vn-56995588 UUID is 4b2c4258-7a48-4c6b-b938-0c9d733b5cbe
2026-03-24 08:45:08,409 - DEBUG - Response for create_network : {'network': {'id': 'befa580a-7da9-4b91-9004-39e175d25736', 'name': 'ctest-vn-52023218', 'tenant_id': '84ae3369931b4d0cad0c9f80b18e89fc', 'project_id': '84ae3369931b4d0cad0c9f80b18e89fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01303179', 'ctest-vn-52023218'], 'port_security_enabled': True, 'description': ''}}
2026-03-24 08:45:08,586 - DEBUG - Response for create_subnet : {'subnet': {'id': '898aaa31-bf00-4e09-81af-e43053c57948', 'name': '', 'tenant_id': '84ae3369931b4d0cad0c9f80b18e89fc', 'network_id': 'befa580a-7da9-4b91-9004-39e175d25736', 'ip_version': 4, 'cidr': '140.182.37.128/26', 'allocation_pools': [{'start': '140.182.37.130', 'end': '140.182.37.190'}], 'gateway_ip': '140.182.37.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.182.37.130', 'tags': [], 'project_id': '84ae3369931b4d0cad0c9f80b18e89fc'}}
2026-03-24 08:45:08,605 - INFO - Created VN ctest-vn-52023218
2026-03-24 08:45:08,664 - DEBUG - VN ctest-vn-52023218 UUID is befa580a-7da9-4b91-9004-39e175d25736
2026-03-24 08:45:08,783 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-01303179:ctest-vn-56995588, 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-01303179:ctest-vn-52023218, 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-03-24 08:45:09,120 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4b2c4258-7a48-4c6b-b938-0c9d733b5cbe', 'name': 'ctest-vn-56995588', 'tenant_id': '84ae3369931b4d0cad0c9f80b18e89fc', 'project_id': '84ae3369931b4d0cad0c9f80b18e89fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ef5b7a06-54ca-44bd-8c74-8032ac0991bb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01303179', 'ctest-vn-56995588'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01303179', 'ctest-policy-allow-all-11459782']], 'subnet_ipam': [{'subnet_cidr': '96.74.115.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-24 08:45:09,352 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'befa580a-7da9-4b91-9004-39e175d25736', 'name': 'ctest-vn-52023218', 'tenant_id': '84ae3369931b4d0cad0c9f80b18e89fc', 'project_id': '84ae3369931b4d0cad0c9f80b18e89fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['898aaa31-bf00-4e09-81af-e43053c57948'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01303179', 'ctest-vn-52023218'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01303179', 'ctest-policy-allow-all-11459782']], 'subnet_ipam': [{'subnet_cidr': '140.182.37.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-24 08:45:09,520 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-03-24 08:45:09,852 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-03-24 08:45:09,883 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1088446a-f7aa-449c-a847-8424b8763d3b
2026-03-24 08:45:09,898 - DEBUG - Requesting: http://10.0.0.50:8082/project/84ae3369-931b-4d0c-ad0c-9f80b18e89fc
2026-03-24 08:45:09,972 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4b2c4258-7a48-4c6b-b938-0c9d733b5cbe
2026-03-24 08:45:09,986 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4b2c4258-7a48-4c6b-b938-0c9d733b5cbe
2026-03-24 08:45:09,998 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c6b89bc8-cb54-4054-bb81-5347e580fc2c
2026-03-24 08:45:10,007 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c6b89bc8-cb54-4054-bb81-5347e580fc2c
2026-03-24 08:45:10,017 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/7450a189-3c96-4b3e-98e1-f81893ff4a49
2026-03-24 08:45:10,027 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-24 08:45:10,027 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4b2c4258-7a48-4c6b-b938-0c9d733b5cbe
2026-03-24 08:45:10,040 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c6b89bc8-cb54-4054-bb81-5347e580fc2c
2026-03-24 08:45:10,059 - INFO - Verified VN network id 11 for VN 4b2c4258-7a48-4c6b-b938-0c9d733b5cbe
2026-03-24 08:45:10,059 - INFO - Verifications in API Server for VN ctest-vn-56995588 passed
2026-03-24 08:45:10,059 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4b2c4258-7a48-4c6b-b938-0c9d733b5cbe
2026-03-24 08:45:10,072 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c6b89bc8-cb54-4054-bb81-5347e580fc2c
2026-03-24 08:45:10,082 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c6b89bc8-cb54-4054-bb81-5347e580fc2c
2026-03-24 08:45:10,091 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/7450a189-3c96-4b3e-98e1-f81893ff4a49
2026-03-24 08:45:10,104 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01303179:ctest-vn-56995588', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01303179', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5416777399595977835', 'uuid-lslong': '13346431366095133886'}, 'enable': 'true', 'created': '2026-03-24T08:45:07', 'last-modified': '2026-03-24T08:45:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.021062'}
2026-03-24 08:45:10,111 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-24 08:45:10,112 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56995588 passed
2026-03-24 08:45:10,112 - DEBUG - ====Verifying policy data for ctest-vn-56995588 in API_Server ======
2026-03-24 08:45:10,112 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-03-24 08:45:10,120 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1088446a-f7aa-449c-a847-8424b8763d3b
2026-03-24 08:45:10,135 - DEBUG - Requesting: http://10.0.0.50:8082/project/84ae3369-931b-4d0c-ad0c-9f80b18e89fc
2026-03-24 08:45:10,209 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4b2c4258-7a48-4c6b-b938-0c9d733b5cbe
2026-03-24 08:45:10,220 - DEBUG - ==>Verifying data for policy with id: 4fecc284-dcd1-4679-8609-ec67d918ec42, fqn: ['default-domain', 'ctest-TestBasicPolicy-01303179', 'ctest-policy-allow-all-11459782']
2026-03-24 08:45:10,220 - INFO - VN ctest-vn-56995588 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-24 08:45:10,220 - DEBUG - Verifying the vn in opserver
2026-03-24 08:45:10,220 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01303179:ctest-vn-56995588 virtual network link through opserver 10.0.0.50
2026-03-24 08:45:10,220 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-03-24 08:45:10,547 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-03-24 08:45:10,608 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01303179:ctest-vn-56995588', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01303179:ctest-vn-56995588?flat'}
2026-03-24 08:45:10,608 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01303179:ctest-vn-56995588 is found in opserver
2026-03-24 08:45:10,620 - DEBUG - Do not have enough data to verify VN in agent
2026-03-24 08:45:10,628 - DEBUG - VRF ids for VN ctest-vn-56995588: {}
2026-03-24 08:45:10,628 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-03-24 08:45:10,634 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1088446a-f7aa-449c-a847-8424b8763d3b
2026-03-24 08:45:10,647 - DEBUG - Requesting: http://10.0.0.50:8082/project/84ae3369-931b-4d0c-ad0c-9f80b18e89fc
2026-03-24 08:45:10,728 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/befa580a-7da9-4b91-9004-39e175d25736
2026-03-24 08:45:10,743 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/befa580a-7da9-4b91-9004-39e175d25736
2026-03-24 08:45:10,755 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2f7026b8-8cef-4a9c-9b9c-99bb73c54956
2026-03-24 08:45:10,765 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2f7026b8-8cef-4a9c-9b9c-99bb73c54956
2026-03-24 08:45:10,773 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1310d2bc-0b4d-41d5-981d-369316d9a323
2026-03-24 08:45:10,781 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-24 08:45:10,781 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/befa580a-7da9-4b91-9004-39e175d25736
2026-03-24 08:45:10,791 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2f7026b8-8cef-4a9c-9b9c-99bb73c54956
2026-03-24 08:45:10,806 - INFO - Verified VN network id 12 for VN befa580a-7da9-4b91-9004-39e175d25736
2026-03-24 08:45:10,806 - INFO - Verifications in API Server for VN ctest-vn-52023218 passed
2026-03-24 08:45:10,806 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/befa580a-7da9-4b91-9004-39e175d25736
2026-03-24 08:45:10,817 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2f7026b8-8cef-4a9c-9b9c-99bb73c54956
2026-03-24 08:45:10,826 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2f7026b8-8cef-4a9c-9b9c-99bb73c54956
2026-03-24 08:45:10,834 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1310d2bc-0b4d-41d5-981d-369316d9a323
2026-03-24 08:45:10,846 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01303179:ctest-vn-52023218', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01303179', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13761408413465136017', 'uuid-lslong': '10377483081875609398'}, 'enable': 'true', 'created': '2026-03-24T08:45:08', 'last-modified': '2026-03-24T08:45:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.518658'}
2026-03-24 08:45:10,853 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-24 08:45:10,853 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52023218 passed
2026-03-24 08:45:10,853 - DEBUG - ====Verifying policy data for ctest-vn-52023218 in API_Server ======
2026-03-24 08:45:10,853 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-03-24 08:45:10,860 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1088446a-f7aa-449c-a847-8424b8763d3b
2026-03-24 08:45:10,873 - DEBUG - Requesting: http://10.0.0.50:8082/project/84ae3369-931b-4d0c-ad0c-9f80b18e89fc
2026-03-24 08:45:10,946 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/befa580a-7da9-4b91-9004-39e175d25736
2026-03-24 08:45:10,957 - DEBUG - ==>Verifying data for policy with id: 4fecc284-dcd1-4679-8609-ec67d918ec42, fqn: ['default-domain', 'ctest-TestBasicPolicy-01303179', 'ctest-policy-allow-all-11459782']
2026-03-24 08:45:10,957 - INFO - VN ctest-vn-52023218 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-24 08:45:10,957 - DEBUG - Verifying the vn in opserver
2026-03-24 08:45:10,957 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01303179:ctest-vn-52023218 virtual network link through opserver 10.0.0.50
2026-03-24 08:45:10,957 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-03-24 08:45:10,969 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01303179:ctest-vn-52023218', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01303179:ctest-vn-52023218?flat'}
2026-03-24 08:45:10,969 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01303179:ctest-vn-52023218 is found in opserver
2026-03-24 08:45:10,980 - DEBUG - Do not have enough data to verify VN in agent
2026-03-24 08:45:10,986 - DEBUG - VRF ids for VN ctest-vn-52023218: {}
2026-03-24 08:45:11,058 - DEBUG - Services list from nova: [