2026-02-04 18:27:07,451 - INFO - Domain Default found not creating
2026-02-04 18:27:07,606 - INFO - Project ctest-TestBasicPolicy-09623757 not found, creating it
2026-02-04 18:27:07,919 - INFO - Created Project:ctest-TestBasicPolicy-09623757, ID : c276804d-89bf-4b50-9944-ec7fe20d4fdd
2026-02-04 18:27:09,394 - INFO - ================================================================================
2026-02-04 18:27:09,394 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-04 18:27:09,394 - 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-04 18:27:09,525 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2026-02-04 18:27:09,525 - INFO - Initial checks done. Running the testcase now
2026-02-04 18:27:09,525 - INFO -
2026-02-04 18:27:10,030 - DEBUG - Response for create_network : {'network': {'id': 'eb04e67f-a0d8-40a8-9be9-d7bd6e5b0268', 'name': 'ctest-vn-08443776', 'tenant_id': 'c276804d89bf4b509944ec7fe20d4fdd', 'project_id': 'c276804d89bf4b509944ec7fe20d4fdd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09623757', 'ctest-vn-08443776'], 'port_security_enabled': True, 'description': ''}}
2026-02-04 18:27:10,195 - DEBUG - Response for create_subnet : {'subnet': {'id': '28ebcea9-66d9-4284-8f5e-4ef12e7fe5a0', 'name': '', 'tenant_id': 'c276804d89bf4b509944ec7fe20d4fdd', 'network_id': 'eb04e67f-a0d8-40a8-9be9-d7bd6e5b0268', 'ip_version': 4, 'cidr': '124.187.223.192/26', 'allocation_pools': [{'start': '124.187.223.194', 'end': '124.187.223.254'}], 'gateway_ip': '124.187.223.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.187.223.194', 'tags': [], 'project_id': 'c276804d89bf4b509944ec7fe20d4fdd'}}
2026-02-04 18:27:10,213 - INFO - Created VN ctest-vn-08443776
2026-02-04 18:27:10,223 - DEBUG - VN ctest-vn-08443776 UUID is eb04e67f-a0d8-40a8-9be9-d7bd6e5b0268
2026-02-04 18:27:10,465 - DEBUG - Response for create_network : {'network': {'id': '0071a81c-3366-4cbb-a069-f56e54c985f3', 'name': 'ctest-vn-19610653', 'tenant_id': 'c276804d89bf4b509944ec7fe20d4fdd', 'project_id': 'c276804d89bf4b509944ec7fe20d4fdd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09623757', 'ctest-vn-19610653'], 'port_security_enabled': True, 'description': ''}}
2026-02-04 18:27:10,664 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ee1c1d1-0b67-4dd6-ab95-0b36cde7ac71', 'name': '', 'tenant_id': 'c276804d89bf4b509944ec7fe20d4fdd', 'network_id': '0071a81c-3366-4cbb-a069-f56e54c985f3', 'ip_version': 4, 'cidr': '168.97.121.0/26', 'allocation_pools': [{'start': '168.97.121.2', 'end': '168.97.121.62'}], 'gateway_ip': '168.97.121.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.97.121.2', 'tags': [], 'project_id': 'c276804d89bf4b509944ec7fe20d4fdd'}}
2026-02-04 18:27:10,680 - INFO - Created VN ctest-vn-19610653
2026-02-04 18:27:10,689 - DEBUG - VN ctest-vn-19610653 UUID is 0071a81c-3366-4cbb-a069-f56e54c985f3
2026-02-04 18:27:10,797 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-09623757:ctest-vn-08443776, 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-09623757:ctest-vn-19610653, 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-04 18:27:10,965 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eb04e67f-a0d8-40a8-9be9-d7bd6e5b0268', 'name': 'ctest-vn-08443776', 'tenant_id': 'c276804d89bf4b509944ec7fe20d4fdd', 'project_id': 'c276804d89bf4b509944ec7fe20d4fdd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['28ebcea9-66d9-4284-8f5e-4ef12e7fe5a0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09623757', 'ctest-vn-08443776'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09623757', 'ctest-policy-allow-all-19742662']], 'subnet_ipam': [{'subnet_cidr': '124.187.223.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-04 18:27:11,140 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0071a81c-3366-4cbb-a069-f56e54c985f3', 'name': 'ctest-vn-19610653', 'tenant_id': 'c276804d89bf4b509944ec7fe20d4fdd', 'project_id': 'c276804d89bf4b509944ec7fe20d4fdd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5ee1c1d1-0b67-4dd6-ab95-0b36cde7ac71'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09623757', 'ctest-vn-19610653'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09623757', 'ctest-policy-allow-all-19742662']], 'subnet_ipam': [{'subnet_cidr': '168.97.121.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-04 18:27:11,259 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-04 18:27:11,559 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-04 18:27:11,590 - DEBUG - Requesting: http://10.0.0.33:8082/domain/be2b6347-29bd-4e95-9b17-c69db232808b
2026-02-04 18:27:11,604 - DEBUG - Requesting: http://10.0.0.33:8082/project/c276804d-89bf-4b50-9944-ec7fe20d4fdd
2026-02-04 18:27:11,637 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/eb04e67f-a0d8-40a8-9be9-d7bd6e5b0268
2026-02-04 18:27:11,648 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/eb04e67f-a0d8-40a8-9be9-d7bd6e5b0268
2026-02-04 18:27:11,660 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0cf793b9-3928-4974-8c98-baefcedcd407
2026-02-04 18:27:11,667 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0cf793b9-3928-4974-8c98-baefcedcd407
2026-02-04 18:27:11,674 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/28d08088-67e6-4d9f-afa5-c0d84262cb6c
2026-02-04 18:27:11,680 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-04 18:27:11,680 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/eb04e67f-a0d8-40a8-9be9-d7bd6e5b0268
2026-02-04 18:27:11,689 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0cf793b9-3928-4974-8c98-baefcedcd407
2026-02-04 18:27:11,702 - INFO - Verified VN network id 10 for VN eb04e67f-a0d8-40a8-9be9-d7bd6e5b0268
2026-02-04 18:27:11,702 - INFO - Verifications in API Server for VN ctest-vn-08443776 passed
2026-02-04 18:27:11,702 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/eb04e67f-a0d8-40a8-9be9-d7bd6e5b0268
2026-02-04 18:27:11,710 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0cf793b9-3928-4974-8c98-baefcedcd407
2026-02-04 18:27:11,717 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0cf793b9-3928-4974-8c98-baefcedcd407
2026-02-04 18:27:11,723 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/28d08088-67e6-4d9f-afa5-c0d84262cb6c
2026-02-04 18:27:11,737 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09623757:ctest-vn-08443776', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09623757', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16934913934653669544', 'uuid-lslong': '11234747954052661864'}, 'enable': 'true', 'created': '2026-02-04T18:27:10', 'last-modified': '2026-02-04T18:27:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.792314'}
2026-02-04 18:27:11,744 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-04 18:27:11,744 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08443776 passed
2026-02-04 18:27:11,744 - DEBUG - ====Verifying policy data for ctest-vn-08443776 in API_Server ======
2026-02-04 18:27:11,744 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-04 18:27:11,749 - DEBUG - Requesting: http://10.0.0.33:8082/domain/be2b6347-29bd-4e95-9b17-c69db232808b
2026-02-04 18:27:11,760 - DEBUG - Requesting: http://10.0.0.33:8082/project/c276804d-89bf-4b50-9944-ec7fe20d4fdd
2026-02-04 18:27:11,789 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/eb04e67f-a0d8-40a8-9be9-d7bd6e5b0268
2026-02-04 18:27:11,798 - DEBUG - ==>Verifying data for policy with id: 2ecec4c1-bddf-458b-b943-c59c0db5c022, fqn: ['default-domain', 'ctest-TestBasicPolicy-09623757', 'ctest-policy-allow-all-19742662']
2026-02-04 18:27:11,798 - INFO - VN ctest-vn-08443776 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-04 18:27:11,798 - DEBUG - Verifying the vn in opserver
2026-02-04 18:27:11,798 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09623757:ctest-vn-08443776 virtual network link through opserver 10.0.0.33
2026-02-04 18:27:11,798 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-04 18:27:12,090 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-04 18:27:12,150 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09623757:ctest-vn-08443776', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09623757:ctest-vn-08443776?flat'}
2026-02-04 18:27:12,150 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09623757:ctest-vn-08443776 is found in opserver
2026-02-04 18:27:12,160 - DEBUG - Do not have enough data to verify VN in agent
2026-02-04 18:27:12,165 - DEBUG - VRF ids for VN ctest-vn-08443776: {}
2026-02-04 18:27:12,165 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-04 18:27:12,170 - DEBUG - Requesting: http://10.0.0.33:8082/domain/be2b6347-29bd-4e95-9b17-c69db232808b
2026-02-04 18:27:12,181 - DEBUG - Requesting: http://10.0.0.33:8082/project/c276804d-89bf-4b50-9944-ec7fe20d4fdd
2026-02-04 18:27:12,208 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0071a81c-3366-4cbb-a069-f56e54c985f3
2026-02-04 18:27:12,219 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0071a81c-3366-4cbb-a069-f56e54c985f3
2026-02-04 18:27:12,227 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f675d4eb-0607-4199-bdf9-a0a6488c74f3
2026-02-04 18:27:12,234 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f675d4eb-0607-4199-bdf9-a0a6488c74f3
2026-02-04 18:27:12,240 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/22643b2f-d62e-46ad-9211-ea8ba704dd5f
2026-02-04 18:27:12,247 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-04 18:27:12,247 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0071a81c-3366-4cbb-a069-f56e54c985f3
2026-02-04 18:27:12,256 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f675d4eb-0607-4199-bdf9-a0a6488c74f3
2026-02-04 18:27:12,270 - INFO - Verified VN network id 11 for VN 0071a81c-3366-4cbb-a069-f56e54c985f3
2026-02-04 18:27:12,270 - INFO - Verifications in API Server for VN ctest-vn-19610653 passed
2026-02-04 18:27:12,270 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0071a81c-3366-4cbb-a069-f56e54c985f3
2026-02-04 18:27:12,279 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f675d4eb-0607-4199-bdf9-a0a6488c74f3
2026-02-04 18:27:12,286 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f675d4eb-0607-4199-bdf9-a0a6488c74f3
2026-02-04 18:27:12,293 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/22643b2f-d62e-46ad-9211-ea8ba704dd5f
2026-02-04 18:27:12,304 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09623757:ctest-vn-19610653', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09623757', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '31991511443197115', 'uuid-lslong': '11559039772840789491'}, 'enable': 'true', 'created': '2026-02-04T18:27:10', 'last-modified': '2026-02-04T18:27:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.181165'}
2026-02-04 18:27:12,312 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-04 18:27:12,312 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19610653 passed
2026-02-04 18:27:12,312 - DEBUG - ====Verifying policy data for ctest-vn-19610653 in API_Server ======
2026-02-04 18:27:12,312 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-04 18:27:12,318 - DEBUG - Requesting: http://10.0.0.33:8082/domain/be2b6347-29bd-4e95-9b17-c69db232808b
2026-02-04 18:27:12,330 - DEBUG - Requesting: http://10.0.0.33:8082/project/c276804d-89bf-4b50-9944-ec7fe20d4fdd
2026-02-04 18:27:12,406 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0071a81c-3366-4cbb-a069-f56e54c985f3
2026-02-04 18:27:12,415 - DEBUG - ==>Verifying data for policy with id: 2ecec4c1-bddf-458b-b943-c59c0db5c022, fqn: ['default-domain', 'ctest-TestBasicPolicy-09623757', 'ctest-policy-allow-all-19742662']
2026-02-04 18:27:12,415 - INFO - VN ctest-vn-19610653 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-04 18:27:12,415 - DEBUG - Verifying the vn in opserver
2026-02-04 18:27:12,415 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09623757:ctest-vn-19610653 virtual network link through opserver 10.0.0.33
2026-02-04 18:27:12,415 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-04 18:27:12,425 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09623757:ctest-vn-19610653', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09623757:ctest-vn-19610653?flat'}
2026-02-04 18:27:12,425 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09623757:ctest-vn-19610653 is found in opserver
2026-02-04 18:27:12,435 - DEBUG - Do not have enough data to verify VN in agent
2026-02-04 18:27:12,440 - DEBUG - VRF ids for VN ctest-vn-19610653: {}
2026-02-04 18:27:12,496 - DEBUG - Services list from nova: [