2026-02-10 04:23:22,728 - INFO - Domain Default found not creating
2026-02-10 04:23:22,921 - INFO - Project ctest-TestBasicPolicy-56908262 not found, creating it
2026-02-10 04:23:23,425 - INFO - Created Project:ctest-TestBasicPolicy-56908262, ID : ef529581-7599-4805-879f-96d4015e954a
2026-02-10 04:23:25,130 - INFO - ================================================================================
2026-02-10 04:23:25,130 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-10 04:23:25,130 - 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 04:23:25,400 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-02-10 04:23:25,400 - INFO - Initial checks done. Running the testcase now
2026-02-10 04:23:25,400 - INFO -
2026-02-10 04:23:26,009 - DEBUG - Response for create_network : {'network': {'id': 'af4a6a25-99b1-4f6c-827c-17359c340507', 'name': 'ctest-vn-94518417', 'tenant_id': 'ef52958175994805879f96d4015e954a', 'project_id': 'ef52958175994805879f96d4015e954a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56908262', 'ctest-vn-94518417'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 04:23:26,230 - DEBUG - Response for create_subnet : {'subnet': {'id': '7ffb2cc4-385d-4022-80df-3b96a3335023', 'name': '', 'tenant_id': 'ef52958175994805879f96d4015e954a', 'network_id': 'af4a6a25-99b1-4f6c-827c-17359c340507', 'ip_version': 4, 'cidr': '176.213.143.128/26', 'allocation_pools': [{'start': '176.213.143.130', 'end': '176.213.143.190'}], 'gateway_ip': '176.213.143.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.213.143.130', 'tags': [], 'project_id': 'ef52958175994805879f96d4015e954a'}}
2026-02-10 04:23:26,253 - INFO - Created VN ctest-vn-94518417
2026-02-10 04:23:26,307 - DEBUG - VN ctest-vn-94518417 UUID is af4a6a25-99b1-4f6c-827c-17359c340507
2026-02-10 04:23:26,621 - DEBUG - Response for create_network : {'network': {'id': '89db11d8-eff0-4498-bfdf-930adf8a71cd', 'name': 'ctest-vn-32805568', 'tenant_id': 'ef52958175994805879f96d4015e954a', 'project_id': 'ef52958175994805879f96d4015e954a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56908262', 'ctest-vn-32805568'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 04:23:26,786 - DEBUG - Response for create_subnet : {'subnet': {'id': '40e8277c-e44b-4aa5-8bf8-69c19cca5045', 'name': '', 'tenant_id': 'ef52958175994805879f96d4015e954a', 'network_id': '89db11d8-eff0-4498-bfdf-930adf8a71cd', 'ip_version': 4, 'cidr': '99.217.222.64/26', 'allocation_pools': [{'start': '99.217.222.66', 'end': '99.217.222.126'}], 'gateway_ip': '99.217.222.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.217.222.66', 'tags': [], 'project_id': 'ef52958175994805879f96d4015e954a'}}
2026-02-10 04:23:26,808 - INFO - Created VN ctest-vn-32805568
2026-02-10 04:23:26,859 - DEBUG - VN ctest-vn-32805568 UUID is 89db11d8-eff0-4498-bfdf-930adf8a71cd
2026-02-10 04:23:26,987 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-56908262:ctest-vn-94518417, 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-56908262:ctest-vn-32805568, 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 04:23:27,283 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'af4a6a25-99b1-4f6c-827c-17359c340507', 'name': 'ctest-vn-94518417', 'tenant_id': 'ef52958175994805879f96d4015e954a', 'project_id': 'ef52958175994805879f96d4015e954a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7ffb2cc4-385d-4022-80df-3b96a3335023'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56908262', 'ctest-vn-94518417'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56908262', 'ctest-policy-allow-all-81786067']], 'subnet_ipam': [{'subnet_cidr': '176.213.143.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 04:23:27,508 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '89db11d8-eff0-4498-bfdf-930adf8a71cd', 'name': 'ctest-vn-32805568', 'tenant_id': 'ef52958175994805879f96d4015e954a', 'project_id': 'ef52958175994805879f96d4015e954a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['40e8277c-e44b-4aa5-8bf8-69c19cca5045'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56908262', 'ctest-vn-32805568'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56908262', 'ctest-policy-allow-all-81786067']], 'subnet_ipam': [{'subnet_cidr': '99.217.222.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 04:23:27,679 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-10 04:23:28,022 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-10 04:23:28,057 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a02bb20d-5ea2-4315-b0e6-9eeceb859156
2026-02-10 04:23:28,072 - DEBUG - Requesting: http://10.0.0.38:8082/project/ef529581-7599-4805-879f-96d4015e954a
2026-02-10 04:23:28,144 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/af4a6a25-99b1-4f6c-827c-17359c340507
2026-02-10 04:23:28,154 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/af4a6a25-99b1-4f6c-827c-17359c340507
2026-02-10 04:23:28,163 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f2ba0d45-418d-4dae-b413-9b91fcee598b
2026-02-10 04:23:28,171 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f2ba0d45-418d-4dae-b413-9b91fcee598b
2026-02-10 04:23:28,177 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/99d13f56-759b-4a16-bdc5-b72efb5fd654
2026-02-10 04:23:28,184 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 04:23:28,184 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/af4a6a25-99b1-4f6c-827c-17359c340507
2026-02-10 04:23:28,193 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f2ba0d45-418d-4dae-b413-9b91fcee598b
2026-02-10 04:23:28,207 - INFO - Verified VN network id 11 for VN af4a6a25-99b1-4f6c-827c-17359c340507
2026-02-10 04:23:28,207 - INFO - Verifications in API Server for VN ctest-vn-94518417 passed
2026-02-10 04:23:28,208 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/af4a6a25-99b1-4f6c-827c-17359c340507
2026-02-10 04:23:28,217 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f2ba0d45-418d-4dae-b413-9b91fcee598b
2026-02-10 04:23:28,226 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f2ba0d45-418d-4dae-b413-9b91fcee598b
2026-02-10 04:23:28,235 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/99d13f56-759b-4a16-bdc5-b72efb5fd654
2026-02-10 04:23:28,249 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56908262:ctest-vn-94518417', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56908262', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12631024814638845804', 'uuid-lslong': '9402415641064113415'}, 'enable': 'true', 'created': '2026-02-10T04:23:25', 'last-modified': '2026-02-10T04:23:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.991740'}
2026-02-10 04:23:28,255 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 04:23:28,255 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94518417 passed
2026-02-10 04:23:28,256 - DEBUG - ====Verifying policy data for ctest-vn-94518417 in API_Server ======
2026-02-10 04:23:28,256 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-10 04:23:28,262 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a02bb20d-5ea2-4315-b0e6-9eeceb859156
2026-02-10 04:23:28,273 - DEBUG - Requesting: http://10.0.0.38:8082/project/ef529581-7599-4805-879f-96d4015e954a
2026-02-10 04:23:28,349 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/af4a6a25-99b1-4f6c-827c-17359c340507
2026-02-10 04:23:28,359 - DEBUG - ==>Verifying data for policy with id: 6270d757-89ec-4101-bdfb-cc61c7fc2778, fqn: ['default-domain', 'ctest-TestBasicPolicy-56908262', 'ctest-policy-allow-all-81786067']
2026-02-10 04:23:28,359 - INFO - VN ctest-vn-94518417 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 04:23:28,359 - DEBUG - Verifying the vn in opserver
2026-02-10 04:23:28,359 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56908262:ctest-vn-94518417 virtual network link through opserver 10.0.0.38
2026-02-10 04:23:28,359 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-10 04:23:28,697 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-10 04:23:28,770 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56908262:ctest-vn-94518417', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56908262:ctest-vn-94518417?flat'}
2026-02-10 04:23:28,770 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56908262:ctest-vn-94518417 is found in opserver
2026-02-10 04:23:28,781 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 04:23:28,786 - DEBUG - VRF ids for VN ctest-vn-94518417: {}
2026-02-10 04:23:28,786 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-10 04:23:28,792 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a02bb20d-5ea2-4315-b0e6-9eeceb859156
2026-02-10 04:23:28,805 - DEBUG - Requesting: http://10.0.0.38:8082/project/ef529581-7599-4805-879f-96d4015e954a
2026-02-10 04:23:28,878 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/89db11d8-eff0-4498-bfdf-930adf8a71cd
2026-02-10 04:23:28,890 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/89db11d8-eff0-4498-bfdf-930adf8a71cd
2026-02-10 04:23:28,904 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eb0801de-64aa-42cf-a61f-bf463b4864b8
2026-02-10 04:23:28,914 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eb0801de-64aa-42cf-a61f-bf463b4864b8
2026-02-10 04:23:28,924 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/82e2011c-c58c-4cd2-a07f-2ed8f547d4a5
2026-02-10 04:23:28,933 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 04:23:28,933 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/89db11d8-eff0-4498-bfdf-930adf8a71cd
2026-02-10 04:23:28,946 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eb0801de-64aa-42cf-a61f-bf463b4864b8
2026-02-10 04:23:28,964 - INFO - Verified VN network id 12 for VN 89db11d8-eff0-4498-bfdf-930adf8a71cd
2026-02-10 04:23:28,964 - INFO - Verifications in API Server for VN ctest-vn-32805568 passed
2026-02-10 04:23:28,964 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/89db11d8-eff0-4498-bfdf-930adf8a71cd
2026-02-10 04:23:28,976 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eb0801de-64aa-42cf-a61f-bf463b4864b8
2026-02-10 04:23:28,985 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eb0801de-64aa-42cf-a61f-bf463b4864b8
2026-02-10 04:23:28,996 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/82e2011c-c58c-4cd2-a07f-2ed8f547d4a5
2026-02-10 04:23:29,012 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56908262:ctest-vn-32805568', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56908262', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9933553026531869848', 'uuid-lslong': '13825931055960060365'}, 'enable': 'true', 'created': '2026-02-10T04:23:26', 'last-modified': '2026-02-10T04:23:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.526138'}
2026-02-10 04:23:29,021 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 04:23:29,021 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32805568 passed
2026-02-10 04:23:29,021 - DEBUG - ====Verifying policy data for ctest-vn-32805568 in API_Server ======
2026-02-10 04:23:29,021 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-10 04:23:29,029 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a02bb20d-5ea2-4315-b0e6-9eeceb859156
2026-02-10 04:23:29,043 - DEBUG - Requesting: http://10.0.0.38:8082/project/ef529581-7599-4805-879f-96d4015e954a
2026-02-10 04:23:29,124 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/89db11d8-eff0-4498-bfdf-930adf8a71cd
2026-02-10 04:23:29,134 - DEBUG - ==>Verifying data for policy with id: 6270d757-89ec-4101-bdfb-cc61c7fc2778, fqn: ['default-domain', 'ctest-TestBasicPolicy-56908262', 'ctest-policy-allow-all-81786067']
2026-02-10 04:23:29,134 - INFO - VN ctest-vn-32805568 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 04:23:29,134 - DEBUG - Verifying the vn in opserver
2026-02-10 04:23:29,134 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56908262:ctest-vn-32805568 virtual network link through opserver 10.0.0.38
2026-02-10 04:23:29,134 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-10 04:23:29,147 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56908262:ctest-vn-32805568', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56908262:ctest-vn-32805568?flat'}
2026-02-10 04:23:29,147 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56908262:ctest-vn-32805568 is found in opserver
2026-02-10 04:23:29,159 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 04:23:29,164 - DEBUG - VRF ids for VN ctest-vn-32805568: {}
2026-02-10 04:23:29,233 - DEBUG - Services list from nova: [