2026-02-04 16:46:12,579 - INFO - Domain Default found not creating
2026-02-04 16:46:12,754 - INFO - Project ctest-TestBasicPolicy-95591662 not found, creating it
2026-02-04 16:46:13,191 - INFO - Created Project:ctest-TestBasicPolicy-95591662, ID : 6ed798cf-42d6-4ca8-8f67-a15e6da35842
2026-02-04 16:46:14,632 - INFO - ================================================================================
2026-02-04 16:46:14,632 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-04 16:46:14,632 - 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 16:46:14,885 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-02-04 16:46:14,885 - INFO - Initial checks done. Running the testcase now
2026-02-04 16:46:14,885 - INFO -
2026-02-04 16:46:15,419 - DEBUG - Response for create_network : {'network': {'id': '35462c48-36ef-4b19-8044-42a8957e9141', 'name': 'ctest-vn-53124044', 'tenant_id': '6ed798cf42d64ca88f67a15e6da35842', 'project_id': '6ed798cf42d64ca88f67a15e6da35842', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95591662', 'ctest-vn-53124044'], 'port_security_enabled': True, 'description': ''}}
2026-02-04 16:46:15,592 - DEBUG - Response for create_subnet : {'subnet': {'id': '7a3d3ac9-051e-47e5-925a-0439ef9025ec', 'name': '', 'tenant_id': '6ed798cf42d64ca88f67a15e6da35842', 'network_id': '35462c48-36ef-4b19-8044-42a8957e9141', 'ip_version': 4, 'cidr': '29.7.37.0/26', 'allocation_pools': [{'start': '29.7.37.2', 'end': '29.7.37.62'}], 'gateway_ip': '29.7.37.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.7.37.2', 'tags': [], 'project_id': '6ed798cf42d64ca88f67a15e6da35842'}}
2026-02-04 16:46:15,607 - INFO - Created VN ctest-vn-53124044
2026-02-04 16:46:15,657 - DEBUG - VN ctest-vn-53124044 UUID is 35462c48-36ef-4b19-8044-42a8957e9141
2026-02-04 16:46:15,964 - DEBUG - Response for create_network : {'network': {'id': '0b1f7903-4ef7-4a52-933b-93a33e6685b2', 'name': 'ctest-vn-09104252', 'tenant_id': '6ed798cf42d64ca88f67a15e6da35842', 'project_id': '6ed798cf42d64ca88f67a15e6da35842', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95591662', 'ctest-vn-09104252'], 'port_security_enabled': True, 'description': ''}}
2026-02-04 16:46:16,163 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c16e4f0f-bde0-4b13-858e-0bb5834770c0', 'name': '', 'tenant_id': '6ed798cf42d64ca88f67a15e6da35842', 'network_id': '0b1f7903-4ef7-4a52-933b-93a33e6685b2', 'ip_version': 4, 'cidr': '98.72.152.192/26', 'allocation_pools': [{'start': '98.72.152.194', 'end': '98.72.152.254'}], 'gateway_ip': '98.72.152.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.72.152.194', 'tags': [], 'project_id': '6ed798cf42d64ca88f67a15e6da35842'}}
2026-02-04 16:46:16,178 - INFO - Created VN ctest-vn-09104252
2026-02-04 16:46:16,229 - DEBUG - VN ctest-vn-09104252 UUID is 0b1f7903-4ef7-4a52-933b-93a33e6685b2
2026-02-04 16:46:16,376 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-95591662:ctest-vn-53124044, 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-95591662:ctest-vn-09104252, 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 16:46:16,658 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '35462c48-36ef-4b19-8044-42a8957e9141', 'name': 'ctest-vn-53124044', 'tenant_id': '6ed798cf42d64ca88f67a15e6da35842', 'project_id': '6ed798cf42d64ca88f67a15e6da35842', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7a3d3ac9-051e-47e5-925a-0439ef9025ec'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95591662', 'ctest-vn-53124044'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95591662', 'ctest-policy-allow-all-48709774']], 'subnet_ipam': [{'subnet_cidr': '29.7.37.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-04 16:46:16,909 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0b1f7903-4ef7-4a52-933b-93a33e6685b2', 'name': 'ctest-vn-09104252', 'tenant_id': '6ed798cf42d64ca88f67a15e6da35842', 'project_id': '6ed798cf42d64ca88f67a15e6da35842', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c16e4f0f-bde0-4b13-858e-0bb5834770c0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95591662', 'ctest-vn-09104252'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95591662', 'ctest-policy-allow-all-48709774']], 'subnet_ipam': [{'subnet_cidr': '98.72.152.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-04 16:46:17,057 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-04 16:46:17,353 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-04 16:46:17,381 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a99fb49a-81a3-4ff0-991e-add9885af21d
2026-02-04 16:46:17,392 - DEBUG - Requesting: http://10.0.0.38:8082/project/6ed798cf-42d6-4ca8-8f67-a15e6da35842
2026-02-04 16:46:17,464 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/35462c48-36ef-4b19-8044-42a8957e9141
2026-02-04 16:46:17,474 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/35462c48-36ef-4b19-8044-42a8957e9141
2026-02-04 16:46:17,482 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d4bf2cfb-2511-4f42-b1c6-3c386c665b56
2026-02-04 16:46:17,489 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d4bf2cfb-2511-4f42-b1c6-3c386c665b56
2026-02-04 16:46:17,494 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d9d1506e-b871-45de-96fc-7fc3eb910752
2026-02-04 16:46:17,500 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-04 16:46:17,500 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/35462c48-36ef-4b19-8044-42a8957e9141
2026-02-04 16:46:17,507 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d4bf2cfb-2511-4f42-b1c6-3c386c665b56
2026-02-04 16:46:17,519 - INFO - Verified VN network id 11 for VN 35462c48-36ef-4b19-8044-42a8957e9141
2026-02-04 16:46:17,519 - INFO - Verifications in API Server for VN ctest-vn-53124044 passed
2026-02-04 16:46:17,519 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/35462c48-36ef-4b19-8044-42a8957e9141
2026-02-04 16:46:17,526 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d4bf2cfb-2511-4f42-b1c6-3c386c665b56
2026-02-04 16:46:17,531 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d4bf2cfb-2511-4f42-b1c6-3c386c665b56
2026-02-04 16:46:17,536 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d9d1506e-b871-45de-96fc-7fc3eb910752
2026-02-04 16:46:17,546 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95591662:ctest-vn-53124044', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95591662', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3838804421050845977', 'uuid-lslong': '9242585627101139265'}, 'enable': 'true', 'created': '2026-02-04T16:46:15', 'last-modified': '2026-02-04T16:46:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.908460'}
2026-02-04 16:46:17,550 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-04 16:46:17,550 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53124044 passed
2026-02-04 16:46:17,551 - DEBUG - ====Verifying policy data for ctest-vn-53124044 in API_Server ======
2026-02-04 16:46:17,551 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-04 16:46:17,555 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a99fb49a-81a3-4ff0-991e-add9885af21d
2026-02-04 16:46:17,564 - DEBUG - Requesting: http://10.0.0.38:8082/project/6ed798cf-42d6-4ca8-8f67-a15e6da35842
2026-02-04 16:46:17,634 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/35462c48-36ef-4b19-8044-42a8957e9141
2026-02-04 16:46:17,641 - DEBUG - ==>Verifying data for policy with id: 8f36e43b-ef50-4e0f-871d-6f40b8b87d79, fqn: ['default-domain', 'ctest-TestBasicPolicy-95591662', 'ctest-policy-allow-all-48709774']
2026-02-04 16:46:17,641 - INFO - VN ctest-vn-53124044 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-04 16:46:17,642 - DEBUG - Verifying the vn in opserver
2026-02-04 16:46:17,642 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95591662:ctest-vn-53124044 virtual network link through opserver 10.0.0.38
2026-02-04 16:46:17,642 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-04 16:46:17,934 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-04 16:46:17,994 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95591662:ctest-vn-53124044', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95591662:ctest-vn-53124044?flat'}
2026-02-04 16:46:17,994 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95591662:ctest-vn-53124044 is found in opserver
2026-02-04 16:46:18,003 - DEBUG - Do not have enough data to verify VN in agent
2026-02-04 16:46:18,007 - DEBUG - VRF ids for VN ctest-vn-53124044: {}
2026-02-04 16:46:18,008 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-04 16:46:18,012 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a99fb49a-81a3-4ff0-991e-add9885af21d
2026-02-04 16:46:18,022 - DEBUG - Requesting: http://10.0.0.38:8082/project/6ed798cf-42d6-4ca8-8f67-a15e6da35842
2026-02-04 16:46:18,089 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0b1f7903-4ef7-4a52-933b-93a33e6685b2
2026-02-04 16:46:18,100 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0b1f7903-4ef7-4a52-933b-93a33e6685b2
2026-02-04 16:46:18,108 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eccb1b54-6429-43d1-8224-3e5bf2e95693
2026-02-04 16:46:18,113 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eccb1b54-6429-43d1-8224-3e5bf2e95693
2026-02-04 16:46:18,119 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7bd6d39e-aa1d-4cd6-b6e5-1a4eb310e889
2026-02-04 16:46:18,124 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-04 16:46:18,124 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0b1f7903-4ef7-4a52-933b-93a33e6685b2
2026-02-04 16:46:18,132 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eccb1b54-6429-43d1-8224-3e5bf2e95693
2026-02-04 16:46:18,143 - INFO - Verified VN network id 12 for VN 0b1f7903-4ef7-4a52-933b-93a33e6685b2
2026-02-04 16:46:18,143 - INFO - Verifications in API Server for VN ctest-vn-09104252 passed
2026-02-04 16:46:18,143 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0b1f7903-4ef7-4a52-933b-93a33e6685b2
2026-02-04 16:46:18,151 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eccb1b54-6429-43d1-8224-3e5bf2e95693
2026-02-04 16:46:18,158 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eccb1b54-6429-43d1-8224-3e5bf2e95693
2026-02-04 16:46:18,163 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7bd6d39e-aa1d-4cd6-b6e5-1a4eb310e889
2026-02-04 16:46:18,173 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95591662:ctest-vn-09104252', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95591662', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '801492313811929682', 'uuid-lslong': '10609235676537193906'}, 'enable': 'true', 'created': '2026-02-04T16:46:15', 'last-modified': '2026-02-04T16:46:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.323057'}
2026-02-04 16:46:18,178 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-04 16:46:18,178 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09104252 passed
2026-02-04 16:46:18,178 - DEBUG - ====Verifying policy data for ctest-vn-09104252 in API_Server ======
2026-02-04 16:46:18,178 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-04 16:46:18,183 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a99fb49a-81a3-4ff0-991e-add9885af21d
2026-02-04 16:46:18,192 - DEBUG - Requesting: http://10.0.0.38:8082/project/6ed798cf-42d6-4ca8-8f67-a15e6da35842
2026-02-04 16:46:18,257 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0b1f7903-4ef7-4a52-933b-93a33e6685b2
2026-02-04 16:46:18,265 - DEBUG - ==>Verifying data for policy with id: 8f36e43b-ef50-4e0f-871d-6f40b8b87d79, fqn: ['default-domain', 'ctest-TestBasicPolicy-95591662', 'ctest-policy-allow-all-48709774']
2026-02-04 16:46:18,265 - INFO - VN ctest-vn-09104252 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-04 16:46:18,265 - DEBUG - Verifying the vn in opserver
2026-02-04 16:46:18,265 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95591662:ctest-vn-09104252 virtual network link through opserver 10.0.0.38
2026-02-04 16:46:18,265 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-04 16:46:18,274 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95591662:ctest-vn-09104252', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95591662:ctest-vn-09104252?flat'}
2026-02-04 16:46:18,274 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95591662:ctest-vn-09104252 is found in opserver
2026-02-04 16:46:18,283 - DEBUG - Do not have enough data to verify VN in agent
2026-02-04 16:46:18,287 - DEBUG - VRF ids for VN ctest-vn-09104252: {}
2026-02-04 16:46:18,338 - DEBUG - Services list from nova: [