2026-05-26 13:42:23,742 - INFO - Domain Default found not creating
2026-05-26 13:42:23,919 - INFO - Project ctest-TestBasicPolicy-63299044 not found, creating it
2026-05-26 13:42:24,379 - INFO - Created Project:ctest-TestBasicPolicy-63299044, ID : e8322b75-2642-492b-86ed-79b05052e57b
2026-05-26 13:42:25,940 - INFO - ================================================================================
2026-05-26 13:42:25,940 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-05-26 13:42:25,940 - 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-05-26 13:42:26,194 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-05-26 13:42:26,194 - INFO - Initial checks done. Running the testcase now
2026-05-26 13:42:26,194 - INFO -
2026-05-26 13:42:26,766 - DEBUG - Response for create_network : {'network': {'id': '127ef1ce-5fc9-4837-b965-a99fcb4171c7', 'name': 'ctest-vn-78963356', 'tenant_id': 'e8322b752642492b86ed79b05052e57b', 'project_id': 'e8322b752642492b86ed79b05052e57b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63299044', 'ctest-vn-78963356'], 'port_security_enabled': True, 'description': ''}}
2026-05-26 13:42:26,979 - DEBUG - Response for create_subnet : {'subnet': {'id': '70a4165d-1cfc-49cb-a246-d0d42894c591', 'name': '', 'tenant_id': 'e8322b752642492b86ed79b05052e57b', 'network_id': '127ef1ce-5fc9-4837-b965-a99fcb4171c7', 'ip_version': 4, 'cidr': '158.26.39.0/26', 'allocation_pools': [{'start': '158.26.39.2', 'end': '158.26.39.62'}], 'gateway_ip': '158.26.39.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.26.39.2', 'tags': [], 'project_id': 'e8322b752642492b86ed79b05052e57b'}}
2026-05-26 13:42:26,997 - INFO - Created VN ctest-vn-78963356
2026-05-26 13:42:27,049 - DEBUG - VN ctest-vn-78963356 UUID is 127ef1ce-5fc9-4837-b965-a99fcb4171c7
2026-05-26 13:42:27,363 - DEBUG - Response for create_network : {'network': {'id': 'a6759145-155f-4b52-b524-28a87b441428', 'name': 'ctest-vn-26351067', 'tenant_id': 'e8322b752642492b86ed79b05052e57b', 'project_id': 'e8322b752642492b86ed79b05052e57b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63299044', 'ctest-vn-26351067'], 'port_security_enabled': True, 'description': ''}}
2026-05-26 13:42:27,544 - DEBUG - Response for create_subnet : {'subnet': {'id': '91cb5ab9-e71c-4021-b721-4e96f63e4493', 'name': '', 'tenant_id': 'e8322b752642492b86ed79b05052e57b', 'network_id': 'a6759145-155f-4b52-b524-28a87b441428', 'ip_version': 4, 'cidr': '205.26.116.64/26', 'allocation_pools': [{'start': '205.26.116.66', 'end': '205.26.116.126'}], 'gateway_ip': '205.26.116.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.26.116.66', 'tags': [], 'project_id': 'e8322b752642492b86ed79b05052e57b'}}
2026-05-26 13:42:27,566 - INFO - Created VN ctest-vn-26351067
2026-05-26 13:42:27,617 - DEBUG - VN ctest-vn-26351067 UUID is a6759145-155f-4b52-b524-28a87b441428
2026-05-26 13:42:27,736 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-63299044:ctest-vn-78963356, 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-63299044:ctest-vn-26351067, 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-05-26 13:42:28,041 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '127ef1ce-5fc9-4837-b965-a99fcb4171c7', 'name': 'ctest-vn-78963356', 'tenant_id': 'e8322b752642492b86ed79b05052e57b', 'project_id': 'e8322b752642492b86ed79b05052e57b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['70a4165d-1cfc-49cb-a246-d0d42894c591'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63299044', 'ctest-vn-78963356'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63299044', 'ctest-policy-allow-all-58308655']], 'subnet_ipam': [{'subnet_cidr': '158.26.39.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-26 13:42:28,288 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a6759145-155f-4b52-b524-28a87b441428', 'name': 'ctest-vn-26351067', 'tenant_id': 'e8322b752642492b86ed79b05052e57b', 'project_id': 'e8322b752642492b86ed79b05052e57b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['91cb5ab9-e71c-4021-b721-4e96f63e4493'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63299044', 'ctest-vn-26351067'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63299044', 'ctest-policy-allow-all-58308655']], 'subnet_ipam': [{'subnet_cidr': '205.26.116.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-26 13:42:28,457 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-05-26 13:42:28,756 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-05-26 13:42:28,792 - DEBUG - Requesting: http://10.0.0.38:8082/domain/035d733e-05f5-4803-ad66-87517d2f7e7e
2026-05-26 13:42:28,805 - DEBUG - Requesting: http://10.0.0.38:8082/project/e8322b75-2642-492b-86ed-79b05052e57b
2026-05-26 13:42:28,880 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/127ef1ce-5fc9-4837-b965-a99fcb4171c7
2026-05-26 13:42:28,892 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/127ef1ce-5fc9-4837-b965-a99fcb4171c7
2026-05-26 13:42:28,902 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1b1c668b-b65c-4bbd-a423-c2bd42a65de6
2026-05-26 13:42:28,910 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1b1c668b-b65c-4bbd-a423-c2bd42a65de6
2026-05-26 13:42:28,917 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/680a85d5-68d9-4cdb-8132-3e001b09868a
2026-05-26 13:42:28,924 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-26 13:42:28,924 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/127ef1ce-5fc9-4837-b965-a99fcb4171c7
2026-05-26 13:42:28,935 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1b1c668b-b65c-4bbd-a423-c2bd42a65de6
2026-05-26 13:42:28,953 - INFO - Verified VN network id 11 for VN 127ef1ce-5fc9-4837-b965-a99fcb4171c7
2026-05-26 13:42:28,954 - INFO - Verifications in API Server for VN ctest-vn-78963356 passed
2026-05-26 13:42:28,954 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/127ef1ce-5fc9-4837-b965-a99fcb4171c7
2026-05-26 13:42:28,966 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1b1c668b-b65c-4bbd-a423-c2bd42a65de6
2026-05-26 13:42:28,976 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1b1c668b-b65c-4bbd-a423-c2bd42a65de6
2026-05-26 13:42:28,985 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/680a85d5-68d9-4cdb-8132-3e001b09868a
2026-05-26 13:42:28,998 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63299044:ctest-vn-78963356', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63299044', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1332768408420829239', 'uuid-lslong': '13359270373439402439'}, 'enable': 'true', 'created': '2026-05-26T13:42:26', 'last-modified': '2026-05-26T13:42:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.980440'}
2026-05-26 13:42:29,005 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-26 13:42:29,005 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78963356 passed
2026-05-26 13:42:29,005 - DEBUG - ====Verifying policy data for ctest-vn-78963356 in API_Server ======
2026-05-26 13:42:29,006 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-05-26 13:42:29,011 - DEBUG - Requesting: http://10.0.0.38:8082/domain/035d733e-05f5-4803-ad66-87517d2f7e7e
2026-05-26 13:42:29,024 - DEBUG - Requesting: http://10.0.0.38:8082/project/e8322b75-2642-492b-86ed-79b05052e57b
2026-05-26 13:42:29,097 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/127ef1ce-5fc9-4837-b965-a99fcb4171c7
2026-05-26 13:42:29,109 - DEBUG - ==>Verifying data for policy with id: 69965226-c234-47a1-b4ed-4c6239497292, fqn: ['default-domain', 'ctest-TestBasicPolicy-63299044', 'ctest-policy-allow-all-58308655']
2026-05-26 13:42:29,109 - INFO - VN ctest-vn-78963356 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-26 13:42:29,109 - DEBUG - Verifying the vn in opserver
2026-05-26 13:42:29,109 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63299044:ctest-vn-78963356 virtual network link through opserver 10.0.0.38
2026-05-26 13:42:29,109 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-05-26 13:42:29,408 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-05-26 13:42:29,479 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63299044:ctest-vn-78963356', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63299044:ctest-vn-78963356?flat'}
2026-05-26 13:42:29,479 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63299044:ctest-vn-78963356 is found in opserver
2026-05-26 13:42:29,489 - DEBUG - Do not have enough data to verify VN in agent
2026-05-26 13:42:29,494 - DEBUG - VRF ids for VN ctest-vn-78963356: {}
2026-05-26 13:42:29,494 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-05-26 13:42:29,500 - DEBUG - Requesting: http://10.0.0.38:8082/domain/035d733e-05f5-4803-ad66-87517d2f7e7e
2026-05-26 13:42:29,513 - DEBUG - Requesting: http://10.0.0.38:8082/project/e8322b75-2642-492b-86ed-79b05052e57b
2026-05-26 13:42:29,594 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a6759145-155f-4b52-b524-28a87b441428
2026-05-26 13:42:29,609 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a6759145-155f-4b52-b524-28a87b441428
2026-05-26 13:42:29,621 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f2bf2e63-e415-4616-9699-bfc3a7be36e3
2026-05-26 13:42:29,629 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f2bf2e63-e415-4616-9699-bfc3a7be36e3
2026-05-26 13:42:29,639 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/30966bfd-4ac5-4f4e-b12e-dc838f9052c6
2026-05-26 13:42:29,647 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-26 13:42:29,647 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a6759145-155f-4b52-b524-28a87b441428
2026-05-26 13:42:29,659 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f2bf2e63-e415-4616-9699-bfc3a7be36e3
2026-05-26 13:42:29,676 - INFO - Verified VN network id 12 for VN a6759145-155f-4b52-b524-28a87b441428
2026-05-26 13:42:29,676 - INFO - Verifications in API Server for VN ctest-vn-26351067 passed
2026-05-26 13:42:29,677 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a6759145-155f-4b52-b524-28a87b441428
2026-05-26 13:42:29,687 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f2bf2e63-e415-4616-9699-bfc3a7be36e3
2026-05-26 13:42:29,696 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f2bf2e63-e415-4616-9699-bfc3a7be36e3
2026-05-26 13:42:29,703 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/30966bfd-4ac5-4f4e-b12e-dc838f9052c6
2026-05-26 13:42:29,717 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63299044:ctest-vn-26351067', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63299044', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11994652908468521810', 'uuid-lslong': '13052602324114215976'}, 'enable': 'true', 'created': '2026-05-26T13:42:27', 'last-modified': '2026-05-26T13:42:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.458094'}
2026-05-26 13:42:29,723 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-26 13:42:29,724 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26351067 passed
2026-05-26 13:42:29,724 - DEBUG - ====Verifying policy data for ctest-vn-26351067 in API_Server ======
2026-05-26 13:42:29,724 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-05-26 13:42:29,730 - DEBUG - Requesting: http://10.0.0.38:8082/domain/035d733e-05f5-4803-ad66-87517d2f7e7e
2026-05-26 13:42:29,742 - DEBUG - Requesting: http://10.0.0.38:8082/project/e8322b75-2642-492b-86ed-79b05052e57b
2026-05-26 13:42:29,817 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a6759145-155f-4b52-b524-28a87b441428
2026-05-26 13:42:29,827 - DEBUG - ==>Verifying data for policy with id: 69965226-c234-47a1-b4ed-4c6239497292, fqn: ['default-domain', 'ctest-TestBasicPolicy-63299044', 'ctest-policy-allow-all-58308655']
2026-05-26 13:42:29,827 - INFO - VN ctest-vn-26351067 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-26 13:42:29,827 - DEBUG - Verifying the vn in opserver
2026-05-26 13:42:29,827 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63299044:ctest-vn-26351067 virtual network link through opserver 10.0.0.38
2026-05-26 13:42:29,827 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-05-26 13:42:29,839 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63299044:ctest-vn-26351067', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63299044:ctest-vn-26351067?flat'}
2026-05-26 13:42:29,839 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63299044:ctest-vn-26351067 is found in opserver
2026-05-26 13:42:29,849 - DEBUG - Do not have enough data to verify VN in agent
2026-05-26 13:42:29,854 - DEBUG - VRF ids for VN ctest-vn-26351067: {}
2026-05-26 13:42:29,916 - DEBUG - Services list from nova: [