2026-02-10 15:06:38,524 - INFO - Domain Default found not creating
2026-02-10 15:06:38,700 - INFO - Project ctest-TestBasicPolicy-29553491 not found, creating it
2026-02-10 15:06:39,153 - INFO - Created Project:ctest-TestBasicPolicy-29553491, ID : fc5b8840-8825-4768-8072-d54ba4298ac5
2026-02-10 15:06:40,815 - INFO - ================================================================================
2026-02-10 15:06:40,815 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-10 15:06:40,815 - 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 15:06:41,078 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.209': '0'}} with
2026-02-10 15:06:41,078 - INFO - Initial checks done. Running the testcase now
2026-02-10 15:06:41,078 - INFO -
2026-02-10 15:06:41,690 - DEBUG - Response for create_network : {'network': {'id': 'b183f4ba-4507-4c8a-9ea6-f5f153ebdd42', 'name': 'ctest-vn-47204705', 'tenant_id': 'fc5b8840882547688072d54ba4298ac5', 'project_id': 'fc5b8840882547688072d54ba4298ac5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29553491', 'ctest-vn-47204705'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 15:06:41,848 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3c52604-5acc-4e60-b8c2-45c84c7e3cf9', 'name': '', 'tenant_id': 'fc5b8840882547688072d54ba4298ac5', 'network_id': 'b183f4ba-4507-4c8a-9ea6-f5f153ebdd42', 'ip_version': 4, 'cidr': '195.127.50.128/26', 'allocation_pools': [{'start': '195.127.50.130', 'end': '195.127.50.190'}], 'gateway_ip': '195.127.50.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.127.50.130', 'tags': [], 'project_id': 'fc5b8840882547688072d54ba4298ac5'}}
2026-02-10 15:06:41,867 - INFO - Created VN ctest-vn-47204705
2026-02-10 15:06:41,921 - DEBUG - VN ctest-vn-47204705 UUID is b183f4ba-4507-4c8a-9ea6-f5f153ebdd42
2026-02-10 15:06:42,226 - DEBUG - Response for create_network : {'network': {'id': 'f3d130a9-a58f-4ee7-98d3-16445170ff02', 'name': 'ctest-vn-15193628', 'tenant_id': 'fc5b8840882547688072d54ba4298ac5', 'project_id': 'fc5b8840882547688072d54ba4298ac5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29553491', 'ctest-vn-15193628'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 15:06:42,433 - DEBUG - Response for create_subnet : {'subnet': {'id': '82c9a74d-197e-4d77-919d-35caa50bf735', 'name': '', 'tenant_id': 'fc5b8840882547688072d54ba4298ac5', 'network_id': 'f3d130a9-a58f-4ee7-98d3-16445170ff02', 'ip_version': 4, 'cidr': '51.207.67.64/26', 'allocation_pools': [{'start': '51.207.67.66', 'end': '51.207.67.126'}], 'gateway_ip': '51.207.67.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.207.67.66', 'tags': [], 'project_id': 'fc5b8840882547688072d54ba4298ac5'}}
2026-02-10 15:06:42,454 - INFO - Created VN ctest-vn-15193628
2026-02-10 15:06:42,505 - DEBUG - VN ctest-vn-15193628 UUID is f3d130a9-a58f-4ee7-98d3-16445170ff02
2026-02-10 15:06:42,622 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29553491:ctest-vn-47204705, 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-29553491:ctest-vn-15193628, 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 15:06:42,909 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b183f4ba-4507-4c8a-9ea6-f5f153ebdd42', 'name': 'ctest-vn-47204705', 'tenant_id': 'fc5b8840882547688072d54ba4298ac5', 'project_id': 'fc5b8840882547688072d54ba4298ac5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b3c52604-5acc-4e60-b8c2-45c84c7e3cf9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29553491', 'ctest-vn-47204705'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29553491', 'ctest-policy-allow-all-40125712']], 'subnet_ipam': [{'subnet_cidr': '195.127.50.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 15:06:43,135 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f3d130a9-a58f-4ee7-98d3-16445170ff02', 'name': 'ctest-vn-15193628', 'tenant_id': 'fc5b8840882547688072d54ba4298ac5', 'project_id': 'fc5b8840882547688072d54ba4298ac5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['82c9a74d-197e-4d77-919d-35caa50bf735'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29553491', 'ctest-vn-15193628'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29553491', 'ctest-policy-allow-all-40125712']], 'subnet_ipam': [{'subnet_cidr': '51.207.67.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 15:06:43,293 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-10 15:06:43,642 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-10 15:06:43,675 - DEBUG - Requesting: http://10.0.0.38:8082/domain/656b6544-98b3-40b6-b2ce-307497398b17
2026-02-10 15:06:43,687 - DEBUG - Requesting: http://10.0.0.38:8082/project/fc5b8840-8825-4768-8072-d54ba4298ac5
2026-02-10 15:06:43,763 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b183f4ba-4507-4c8a-9ea6-f5f153ebdd42
2026-02-10 15:06:43,774 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b183f4ba-4507-4c8a-9ea6-f5f153ebdd42
2026-02-10 15:06:43,783 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a76955b2-63a5-4618-a28b-2a68980d722c
2026-02-10 15:06:43,791 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a76955b2-63a5-4618-a28b-2a68980d722c
2026-02-10 15:06:43,797 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3eac68e6-9e6b-4e74-90be-0e1f36700b51
2026-02-10 15:06:43,803 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 15:06:43,803 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b183f4ba-4507-4c8a-9ea6-f5f153ebdd42
2026-02-10 15:06:43,811 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a76955b2-63a5-4618-a28b-2a68980d722c
2026-02-10 15:06:43,827 - INFO - Verified VN network id 11 for VN b183f4ba-4507-4c8a-9ea6-f5f153ebdd42
2026-02-10 15:06:43,828 - INFO - Verifications in API Server for VN ctest-vn-47204705 passed
2026-02-10 15:06:43,828 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b183f4ba-4507-4c8a-9ea6-f5f153ebdd42
2026-02-10 15:06:43,837 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a76955b2-63a5-4618-a28b-2a68980d722c
2026-02-10 15:06:43,844 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a76955b2-63a5-4618-a28b-2a68980d722c
2026-02-10 15:06:43,851 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3eac68e6-9e6b-4e74-90be-0e1f36700b51
2026-02-10 15:06:43,865 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29553491:ctest-vn-47204705', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29553491', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12791336447521541258', 'uuid-lslong': '11432095120970472770'}, 'enable': 'true', 'created': '2026-02-10T15:06:41', 'last-modified': '2026-02-10T15:06:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.973954'}
2026-02-10 15:06:43,871 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 15:06:43,871 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47204705 passed
2026-02-10 15:06:43,871 - DEBUG - ====Verifying policy data for ctest-vn-47204705 in API_Server ======
2026-02-10 15:06:43,871 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-10 15:06:43,877 - DEBUG - Requesting: http://10.0.0.38:8082/domain/656b6544-98b3-40b6-b2ce-307497398b17
2026-02-10 15:06:43,889 - DEBUG - Requesting: http://10.0.0.38:8082/project/fc5b8840-8825-4768-8072-d54ba4298ac5
2026-02-10 15:06:43,961 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b183f4ba-4507-4c8a-9ea6-f5f153ebdd42
2026-02-10 15:06:43,970 - DEBUG - ==>Verifying data for policy with id: cf6f347c-8b7c-4386-9b8a-157984fbe195, fqn: ['default-domain', 'ctest-TestBasicPolicy-29553491', 'ctest-policy-allow-all-40125712']
2026-02-10 15:06:43,970 - INFO - VN ctest-vn-47204705 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 15:06:43,970 - DEBUG - Verifying the vn in opserver
2026-02-10 15:06:43,970 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29553491:ctest-vn-47204705 virtual network link through opserver 10.0.0.38
2026-02-10 15:06:43,971 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-10 15:06:44,305 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-10 15:06:44,365 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29553491:ctest-vn-47204705', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29553491:ctest-vn-47204705?flat'}
2026-02-10 15:06:44,365 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29553491:ctest-vn-47204705 is found in opserver
2026-02-10 15:06:44,374 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 15:06:44,379 - DEBUG - VRF ids for VN ctest-vn-47204705: {}
2026-02-10 15:06:44,379 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-10 15:06:44,384 - DEBUG - Requesting: http://10.0.0.38:8082/domain/656b6544-98b3-40b6-b2ce-307497398b17
2026-02-10 15:06:44,395 - DEBUG - Requesting: http://10.0.0.38:8082/project/fc5b8840-8825-4768-8072-d54ba4298ac5
2026-02-10 15:06:44,463 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f3d130a9-a58f-4ee7-98d3-16445170ff02
2026-02-10 15:06:44,475 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f3d130a9-a58f-4ee7-98d3-16445170ff02
2026-02-10 15:06:44,483 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/aeda8e09-9f17-4428-8c19-ccbaf370bdcf
2026-02-10 15:06:44,492 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/aeda8e09-9f17-4428-8c19-ccbaf370bdcf
2026-02-10 15:06:44,499 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7c0dd13a-aa56-4e9d-b80b-dcf4e19e0347
2026-02-10 15:06:44,506 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 15:06:44,506 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f3d130a9-a58f-4ee7-98d3-16445170ff02
2026-02-10 15:06:44,515 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/aeda8e09-9f17-4428-8c19-ccbaf370bdcf
2026-02-10 15:06:44,529 - INFO - Verified VN network id 12 for VN f3d130a9-a58f-4ee7-98d3-16445170ff02
2026-02-10 15:06:44,530 - INFO - Verifications in API Server for VN ctest-vn-15193628 passed
2026-02-10 15:06:44,530 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f3d130a9-a58f-4ee7-98d3-16445170ff02
2026-02-10 15:06:44,540 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/aeda8e09-9f17-4428-8c19-ccbaf370bdcf
2026-02-10 15:06:44,547 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/aeda8e09-9f17-4428-8c19-ccbaf370bdcf
2026-02-10 15:06:44,554 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7c0dd13a-aa56-4e9d-b80b-dcf4e19e0347
2026-02-10 15:06:44,567 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29553491:ctest-vn-15193628', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29553491', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17568877126534254311', 'uuid-lslong': '11012169996530941698'}, 'enable': 'true', 'created': '2026-02-10T15:06:42', 'last-modified': '2026-02-10T15:06:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.454965'}
2026-02-10 15:06:44,574 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 15:06:44,574 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15193628 passed
2026-02-10 15:06:44,574 - DEBUG - ====Verifying policy data for ctest-vn-15193628 in API_Server ======
2026-02-10 15:06:44,574 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-10 15:06:44,580 - DEBUG - Requesting: http://10.0.0.38:8082/domain/656b6544-98b3-40b6-b2ce-307497398b17
2026-02-10 15:06:44,591 - DEBUG - Requesting: http://10.0.0.38:8082/project/fc5b8840-8825-4768-8072-d54ba4298ac5
2026-02-10 15:06:44,658 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f3d130a9-a58f-4ee7-98d3-16445170ff02
2026-02-10 15:06:44,669 - DEBUG - ==>Verifying data for policy with id: cf6f347c-8b7c-4386-9b8a-157984fbe195, fqn: ['default-domain', 'ctest-TestBasicPolicy-29553491', 'ctest-policy-allow-all-40125712']
2026-02-10 15:06:44,669 - INFO - VN ctest-vn-15193628 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 15:06:44,669 - DEBUG - Verifying the vn in opserver
2026-02-10 15:06:44,669 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29553491:ctest-vn-15193628 virtual network link through opserver 10.0.0.38
2026-02-10 15:06:44,669 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-10 15:06:44,680 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29553491:ctest-vn-15193628', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29553491:ctest-vn-15193628?flat'}
2026-02-10 15:06:44,680 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29553491:ctest-vn-15193628 is found in opserver
2026-02-10 15:06:44,690 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 15:06:44,695 - DEBUG - VRF ids for VN ctest-vn-15193628: {}
2026-02-10 15:06:44,759 - DEBUG - Services list from nova: [