2026-02-11 21:57:14,715 - INFO - Domain Default found not creating
2026-02-11 21:57:14,876 - INFO - Project ctest-TestBasicPolicy-75499929 not found, creating it
2026-02-11 21:57:15,315 - INFO - Created Project:ctest-TestBasicPolicy-75499929, ID : 05f0a836-f7b9-4297-81f4-1cd7280199d9
2026-02-11 21:57:16,750 - INFO - ================================================================================
2026-02-11 21:57:16,750 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-11 21:57:16,750 - 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-11 21:57:17,002 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-02-11 21:57:17,002 - INFO - Initial checks done. Running the testcase now
2026-02-11 21:57:17,002 - INFO -
2026-02-11 21:57:17,520 - DEBUG - Response for create_network : {'network': {'id': '1cea8573-7e02-4ece-8a04-696f0fff335e', 'name': 'ctest-vn-66858585', 'tenant_id': '05f0a836f7b9429781f41cd7280199d9', 'project_id': '05f0a836f7b9429781f41cd7280199d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75499929', 'ctest-vn-66858585'], 'port_security_enabled': True, 'description': ''}}
2026-02-11 21:57:17,686 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b35e5c7b-5a79-4d8b-ba3e-456d3c39939f', 'name': '', 'tenant_id': '05f0a836f7b9429781f41cd7280199d9', 'network_id': '1cea8573-7e02-4ece-8a04-696f0fff335e', 'ip_version': 4, 'cidr': '80.206.212.192/26', 'allocation_pools': [{'start': '80.206.212.194', 'end': '80.206.212.254'}], 'gateway_ip': '80.206.212.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.206.212.194', 'tags': [], 'project_id': '05f0a836f7b9429781f41cd7280199d9'}}
2026-02-11 21:57:17,701 - INFO - Created VN ctest-vn-66858585
2026-02-11 21:57:17,753 - DEBUG - VN ctest-vn-66858585 UUID is 1cea8573-7e02-4ece-8a04-696f0fff335e
2026-02-11 21:57:18,049 - DEBUG - Response for create_network : {'network': {'id': 'd6a015f9-0de3-46fe-9493-a9a4d6a3580c', 'name': 'ctest-vn-43622984', 'tenant_id': '05f0a836f7b9429781f41cd7280199d9', 'project_id': '05f0a836f7b9429781f41cd7280199d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75499929', 'ctest-vn-43622984'], 'port_security_enabled': True, 'description': ''}}
2026-02-11 21:57:18,265 - DEBUG - Response for create_subnet : {'subnet': {'id': '0c60c47e-bdf7-467b-873f-d72738ebee76', 'name': '', 'tenant_id': '05f0a836f7b9429781f41cd7280199d9', 'network_id': 'd6a015f9-0de3-46fe-9493-a9a4d6a3580c', 'ip_version': 4, 'cidr': '22.8.2.128/26', 'allocation_pools': [{'start': '22.8.2.130', 'end': '22.8.2.190'}], 'gateway_ip': '22.8.2.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.8.2.130', 'tags': [], 'project_id': '05f0a836f7b9429781f41cd7280199d9'}}
2026-02-11 21:57:18,280 - INFO - Created VN ctest-vn-43622984
2026-02-11 21:57:18,329 - DEBUG - VN ctest-vn-43622984 UUID is d6a015f9-0de3-46fe-9493-a9a4d6a3580c
2026-02-11 21:57:18,469 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-75499929:ctest-vn-66858585, 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-75499929:ctest-vn-43622984, 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-11 21:57:18,749 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1cea8573-7e02-4ece-8a04-696f0fff335e', 'name': 'ctest-vn-66858585', 'tenant_id': '05f0a836f7b9429781f41cd7280199d9', 'project_id': '05f0a836f7b9429781f41cd7280199d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b35e5c7b-5a79-4d8b-ba3e-456d3c39939f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75499929', 'ctest-vn-66858585'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75499929', 'ctest-policy-allow-all-82817589']], 'subnet_ipam': [{'subnet_cidr': '80.206.212.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-11 21:57:18,962 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd6a015f9-0de3-46fe-9493-a9a4d6a3580c', 'name': 'ctest-vn-43622984', 'tenant_id': '05f0a836f7b9429781f41cd7280199d9', 'project_id': '05f0a836f7b9429781f41cd7280199d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0c60c47e-bdf7-467b-873f-d72738ebee76'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75499929', 'ctest-vn-43622984'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75499929', 'ctest-policy-allow-all-82817589']], 'subnet_ipam': [{'subnet_cidr': '22.8.2.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-11 21:57:19,121 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-11 21:57:19,414 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-11 21:57:19,441 - DEBUG - Requesting: http://10.0.0.38:8082/domain/dc1d3e2f-a077-4893-a6eb-b6c3a4a90435
2026-02-11 21:57:19,451 - DEBUG - Requesting: http://10.0.0.38:8082/project/05f0a836-f7b9-4297-81f4-1cd7280199d9
2026-02-11 21:57:19,521 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1cea8573-7e02-4ece-8a04-696f0fff335e
2026-02-11 21:57:19,531 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1cea8573-7e02-4ece-8a04-696f0fff335e
2026-02-11 21:57:19,538 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/140bba97-27ae-4a91-bdf0-8c3f99f89943
2026-02-11 21:57:19,544 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/140bba97-27ae-4a91-bdf0-8c3f99f89943
2026-02-11 21:57:19,549 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/cc0b43f2-833d-4501-90a6-cf9aea32c22a
2026-02-11 21:57:19,553 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-11 21:57:19,553 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1cea8573-7e02-4ece-8a04-696f0fff335e
2026-02-11 21:57:19,561 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/140bba97-27ae-4a91-bdf0-8c3f99f89943
2026-02-11 21:57:19,571 - INFO - Verified VN network id 11 for VN 1cea8573-7e02-4ece-8a04-696f0fff335e
2026-02-11 21:57:19,571 - INFO - Verifications in API Server for VN ctest-vn-66858585 passed
2026-02-11 21:57:19,572 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1cea8573-7e02-4ece-8a04-696f0fff335e
2026-02-11 21:57:19,578 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/140bba97-27ae-4a91-bdf0-8c3f99f89943
2026-02-11 21:57:19,584 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/140bba97-27ae-4a91-bdf0-8c3f99f89943
2026-02-11 21:57:19,589 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/cc0b43f2-833d-4501-90a6-cf9aea32c22a
2026-02-11 21:57:19,600 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75499929:ctest-vn-66858585', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75499929', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2083624508694089422', 'uuid-lslong': '9945189802871567198'}, 'enable': 'true', 'created': '2026-02-11T21:57:17', 'last-modified': '2026-02-11T21:57:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.871981'}
2026-02-11 21:57:19,605 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-11 21:57:19,605 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66858585 passed
2026-02-11 21:57:19,606 - DEBUG - ====Verifying policy data for ctest-vn-66858585 in API_Server ======
2026-02-11 21:57:19,606 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-11 21:57:19,609 - DEBUG - Requesting: http://10.0.0.38:8082/domain/dc1d3e2f-a077-4893-a6eb-b6c3a4a90435
2026-02-11 21:57:19,618 - DEBUG - Requesting: http://10.0.0.38:8082/project/05f0a836-f7b9-4297-81f4-1cd7280199d9
2026-02-11 21:57:19,686 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1cea8573-7e02-4ece-8a04-696f0fff335e
2026-02-11 21:57:19,695 - DEBUG - ==>Verifying data for policy with id: aefbe03e-ccae-4671-91a5-d3b6e23171f8, fqn: ['default-domain', 'ctest-TestBasicPolicy-75499929', 'ctest-policy-allow-all-82817589']
2026-02-11 21:57:19,695 - INFO - VN ctest-vn-66858585 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-11 21:57:19,695 - DEBUG - Verifying the vn in opserver
2026-02-11 21:57:19,695 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75499929:ctest-vn-66858585 virtual network link through opserver 10.0.0.38
2026-02-11 21:57:19,695 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-11 21:57:19,990 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-11 21:57:20,328 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75499929:ctest-vn-66858585', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75499929:ctest-vn-66858585?flat'}
2026-02-11 21:57:20,329 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75499929:ctest-vn-66858585 is found in opserver
2026-02-11 21:57:20,337 - DEBUG - Do not have enough data to verify VN in agent
2026-02-11 21:57:20,341 - DEBUG - VRF ids for VN ctest-vn-66858585: {}
2026-02-11 21:57:20,341 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-11 21:57:20,347 - DEBUG - Requesting: http://10.0.0.38:8082/domain/dc1d3e2f-a077-4893-a6eb-b6c3a4a90435
2026-02-11 21:57:20,356 - DEBUG - Requesting: http://10.0.0.38:8082/project/05f0a836-f7b9-4297-81f4-1cd7280199d9
2026-02-11 21:57:20,427 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d6a015f9-0de3-46fe-9493-a9a4d6a3580c
2026-02-11 21:57:20,439 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d6a015f9-0de3-46fe-9493-a9a4d6a3580c
2026-02-11 21:57:20,446 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0678b439-295c-419a-afba-e9cb864bb2e3
2026-02-11 21:57:20,452 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0678b439-295c-419a-afba-e9cb864bb2e3
2026-02-11 21:57:20,456 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/bd33c0de-e29c-4caf-ad70-76b7fc31985e
2026-02-11 21:57:20,461 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-11 21:57:20,461 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d6a015f9-0de3-46fe-9493-a9a4d6a3580c
2026-02-11 21:57:20,468 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0678b439-295c-419a-afba-e9cb864bb2e3
2026-02-11 21:57:20,480 - INFO - Verified VN network id 12 for VN d6a015f9-0de3-46fe-9493-a9a4d6a3580c
2026-02-11 21:57:20,480 - INFO - Verifications in API Server for VN ctest-vn-43622984 passed
2026-02-11 21:57:20,480 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d6a015f9-0de3-46fe-9493-a9a4d6a3580c
2026-02-11 21:57:20,489 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0678b439-295c-419a-afba-e9cb864bb2e3
2026-02-11 21:57:20,494 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0678b439-295c-419a-afba-e9cb864bb2e3
2026-02-11 21:57:20,500 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/bd33c0de-e29c-4caf-ad70-76b7fc31985e
2026-02-11 21:57:20,509 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75499929:ctest-vn-43622984', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75499929', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15465385279814321918', 'uuid-lslong': '10706087264630560780'}, 'enable': 'true', 'created': '2026-02-11T21:57:18', 'last-modified': '2026-02-11T21:57:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.565204'}
2026-02-11 21:57:20,514 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-11 21:57:20,514 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43622984 passed
2026-02-11 21:57:20,514 - DEBUG - ====Verifying policy data for ctest-vn-43622984 in API_Server ======
2026-02-11 21:57:20,514 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-11 21:57:20,518 - DEBUG - Requesting: http://10.0.0.38:8082/domain/dc1d3e2f-a077-4893-a6eb-b6c3a4a90435
2026-02-11 21:57:20,527 - DEBUG - Requesting: http://10.0.0.38:8082/project/05f0a836-f7b9-4297-81f4-1cd7280199d9
2026-02-11 21:57:20,593 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d6a015f9-0de3-46fe-9493-a9a4d6a3580c
2026-02-11 21:57:20,603 - DEBUG - ==>Verifying data for policy with id: aefbe03e-ccae-4671-91a5-d3b6e23171f8, fqn: ['default-domain', 'ctest-TestBasicPolicy-75499929', 'ctest-policy-allow-all-82817589']
2026-02-11 21:57:20,604 - INFO - VN ctest-vn-43622984 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-11 21:57:20,604 - DEBUG - Verifying the vn in opserver
2026-02-11 21:57:20,604 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75499929:ctest-vn-43622984 virtual network link through opserver 10.0.0.38
2026-02-11 21:57:20,604 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-11 21:57:20,612 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75499929:ctest-vn-43622984', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75499929:ctest-vn-43622984?flat'}
2026-02-11 21:57:20,612 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75499929:ctest-vn-43622984 is found in opserver
2026-02-11 21:57:20,621 - DEBUG - Do not have enough data to verify VN in agent
2026-02-11 21:57:20,625 - DEBUG - VRF ids for VN ctest-vn-43622984: {}
2026-02-11 21:57:20,699 - DEBUG - Services list from nova: [