2025-12-10 17:12:38,811 - INFO - Domain Default found not creating
2025-12-10 17:12:39,204 - INFO - Project ctest-TestBasicPolicy-45196749 not found, creating it
2025-12-10 17:12:39,835 - INFO - Created Project:ctest-TestBasicPolicy-45196749, ID : 19fd74d1-9e13-4f3a-95ef-4239b588294d
2025-12-10 17:12:42,040 - INFO - ================================================================================
2025-12-10 17:12:42,040 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-12-10 17:12:42,041 - 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
2025-12-10 17:12:42,371 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with
2025-12-10 17:12:42,371 - INFO - Initial checks done. Running the testcase now
2025-12-10 17:12:42,371 - INFO -
2025-12-10 17:12:43,065 - DEBUG - Response for create_network : {'network': {'id': '53db5283-0a81-40d3-b5d3-89f1b40b5813', 'name': 'ctest-vn-28532498', 'tenant_id': '19fd74d19e134f3a95ef4239b588294d', 'project_id': '19fd74d19e134f3a95ef4239b588294d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45196749', 'ctest-vn-28532498'], 'port_security_enabled': True, 'description': ''}}
2025-12-10 17:12:43,299 - DEBUG - Response for create_subnet : {'subnet': {'id': '2030bc61-b076-4c52-9203-3b9721532673', 'name': '', 'tenant_id': '19fd74d19e134f3a95ef4239b588294d', 'network_id': '53db5283-0a81-40d3-b5d3-89f1b40b5813', 'ip_version': 4, 'cidr': '63.220.67.128/26', 'allocation_pools': [{'start': '63.220.67.130', 'end': '63.220.67.190'}], 'gateway_ip': '63.220.67.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.220.67.130', 'tags': [], 'project_id': '19fd74d19e134f3a95ef4239b588294d'}}
2025-12-10 17:12:43,324 - INFO - Created VN ctest-vn-28532498
2025-12-10 17:12:43,384 - DEBUG - VN ctest-vn-28532498 UUID is 53db5283-0a81-40d3-b5d3-89f1b40b5813
2025-12-10 17:12:43,810 - DEBUG - Response for create_network : {'network': {'id': '98c1b228-e0f8-4119-a746-03e27143c831', 'name': 'ctest-vn-11094779', 'tenant_id': '19fd74d19e134f3a95ef4239b588294d', 'project_id': '19fd74d19e134f3a95ef4239b588294d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45196749', 'ctest-vn-11094779'], 'port_security_enabled': True, 'description': ''}}
2025-12-10 17:12:44,049 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb98df55-c820-481e-8fd4-5a5fd6a95dcf', 'name': '', 'tenant_id': '19fd74d19e134f3a95ef4239b588294d', 'network_id': '98c1b228-e0f8-4119-a746-03e27143c831', 'ip_version': 4, 'cidr': '221.161.67.0/26', 'allocation_pools': [{'start': '221.161.67.2', 'end': '221.161.67.62'}], 'gateway_ip': '221.161.67.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.161.67.2', 'tags': [], 'project_id': '19fd74d19e134f3a95ef4239b588294d'}}
2025-12-10 17:12:44,075 - INFO - Created VN ctest-vn-11094779
2025-12-10 17:12:44,144 - DEBUG - VN ctest-vn-11094779 UUID is 98c1b228-e0f8-4119-a746-03e27143c831
2025-12-10 17:12:44,285 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45196749:ctest-vn-28532498, 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-45196749:ctest-vn-11094779, 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]
2025-12-10 17:12:44,712 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '53db5283-0a81-40d3-b5d3-89f1b40b5813', 'name': 'ctest-vn-28532498', 'tenant_id': '19fd74d19e134f3a95ef4239b588294d', 'project_id': '19fd74d19e134f3a95ef4239b588294d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2030bc61-b076-4c52-9203-3b9721532673'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45196749', 'ctest-vn-28532498'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45196749', 'ctest-policy-allow-all-73537240']], 'subnet_ipam': [{'subnet_cidr': '63.220.67.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-10 17:12:45,038 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '98c1b228-e0f8-4119-a746-03e27143c831', 'name': 'ctest-vn-11094779', 'tenant_id': '19fd74d19e134f3a95ef4239b588294d', 'project_id': '19fd74d19e134f3a95ef4239b588294d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cb98df55-c820-481e-8fd4-5a5fd6a95dcf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45196749', 'ctest-vn-11094779'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45196749', 'ctest-policy-allow-all-73537240']], 'subnet_ipam': [{'subnet_cidr': '221.161.67.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-10 17:12:45,216 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-12-10 17:12:45,531 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-12-10 17:12:45,576 - DEBUG - Requesting: http://10.0.0.19:8082/domain/f81f2820-5db2-47cc-829c-ed26c33c1bbd
2025-12-10 17:12:45,608 - DEBUG - Requesting: http://10.0.0.19:8082/project/19fd74d1-9e13-4f3a-95ef-4239b588294d
2025-12-10 17:12:45,720 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/53db5283-0a81-40d3-b5d3-89f1b40b5813
2025-12-10 17:12:45,741 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/53db5283-0a81-40d3-b5d3-89f1b40b5813
2025-12-10 17:12:45,761 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3530c05c-3d35-4b2c-be2e-2607ec604f47
2025-12-10 17:12:45,777 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3530c05c-3d35-4b2c-be2e-2607ec604f47
2025-12-10 17:12:45,792 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/9df4f4e8-ba0a-4f32-8728-7ad4eab4a2fa
2025-12-10 17:12:45,807 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-10 17:12:45,807 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/53db5283-0a81-40d3-b5d3-89f1b40b5813
2025-12-10 17:12:45,829 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3530c05c-3d35-4b2c-be2e-2607ec604f47
2025-12-10 17:12:45,857 - INFO - Verified VN network id 11 for VN 53db5283-0a81-40d3-b5d3-89f1b40b5813
2025-12-10 17:12:45,857 - INFO - Verifications in API Server for VN ctest-vn-28532498 passed
2025-12-10 17:12:45,857 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/53db5283-0a81-40d3-b5d3-89f1b40b5813
2025-12-10 17:12:45,875 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3530c05c-3d35-4b2c-be2e-2607ec604f47
2025-12-10 17:12:45,887 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3530c05c-3d35-4b2c-be2e-2607ec604f47
2025-12-10 17:12:45,899 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/9df4f4e8-ba0a-4f32-8728-7ad4eab4a2fa
2025-12-10 17:12:45,916 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45196749:ctest-vn-28532498', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45196749', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6042514047818088659', 'uuid-lslong': '13101967412151670803'}, 'enable': 'true', 'created': '2025-12-10T17:12:43', 'last-modified': '2025-12-10T17:12:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.240580'}
2025-12-10 17:12:45,926 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-10 17:12:45,926 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28532498 passed
2025-12-10 17:12:45,926 - DEBUG - ====Verifying policy data for ctest-vn-28532498 in API_Server ======
2025-12-10 17:12:45,926 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-12-10 17:12:45,935 - DEBUG - Requesting: http://10.0.0.19:8082/domain/f81f2820-5db2-47cc-829c-ed26c33c1bbd
2025-12-10 17:12:45,957 - DEBUG - Requesting: http://10.0.0.19:8082/project/19fd74d1-9e13-4f3a-95ef-4239b588294d
2025-12-10 17:12:46,064 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/53db5283-0a81-40d3-b5d3-89f1b40b5813
2025-12-10 17:12:46,087 - DEBUG - ==>Verifying data for policy with id: 7a5a0e6c-c4bc-49db-851f-3f0fc84244f9, fqn: ['default-domain', 'ctest-TestBasicPolicy-45196749', 'ctest-policy-allow-all-73537240']
2025-12-10 17:12:46,087 - INFO - VN ctest-vn-28532498 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-10 17:12:46,087 - DEBUG - Verifying the vn in opserver
2025-12-10 17:12:46,087 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45196749:ctest-vn-28532498 virtual network link through opserver 10.0.0.19
2025-12-10 17:12:46,088 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-12-10 17:12:46,418 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-12-10 17:12:46,512 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45196749:ctest-vn-28532498', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45196749:ctest-vn-28532498?flat'}
2025-12-10 17:12:46,512 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45196749:ctest-vn-28532498 is found in opserver
2025-12-10 17:12:46,534 - DEBUG - Do not have enough data to verify VN in agent
2025-12-10 17:12:46,545 - DEBUG - VRF ids for VN ctest-vn-28532498: {}
2025-12-10 17:12:46,545 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-12-10 17:12:46,551 - DEBUG - Requesting: http://10.0.0.19:8082/domain/f81f2820-5db2-47cc-829c-ed26c33c1bbd
2025-12-10 17:12:46,563 - DEBUG - Requesting: http://10.0.0.19:8082/project/19fd74d1-9e13-4f3a-95ef-4239b588294d
2025-12-10 17:12:46,651 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/98c1b228-e0f8-4119-a746-03e27143c831
2025-12-10 17:12:46,664 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/98c1b228-e0f8-4119-a746-03e27143c831
2025-12-10 17:12:46,673 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/c74dbc54-33df-4371-abe8-eb1c1ce52bf2
2025-12-10 17:12:46,683 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/c74dbc54-33df-4371-abe8-eb1c1ce52bf2
2025-12-10 17:12:46,693 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/f3f0d78d-0660-40ac-8df7-7ef3cc185f02
2025-12-10 17:12:46,702 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-10 17:12:46,702 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/98c1b228-e0f8-4119-a746-03e27143c831
2025-12-10 17:12:46,712 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/c74dbc54-33df-4371-abe8-eb1c1ce52bf2
2025-12-10 17:12:46,731 - INFO - Verified VN network id 12 for VN 98c1b228-e0f8-4119-a746-03e27143c831
2025-12-10 17:12:46,731 - INFO - Verifications in API Server for VN ctest-vn-11094779 passed
2025-12-10 17:12:46,732 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/98c1b228-e0f8-4119-a746-03e27143c831
2025-12-10 17:12:46,743 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/c74dbc54-33df-4371-abe8-eb1c1ce52bf2
2025-12-10 17:12:46,750 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/c74dbc54-33df-4371-abe8-eb1c1ce52bf2
2025-12-10 17:12:46,758 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/f3f0d78d-0660-40ac-8df7-7ef3cc185f02
2025-12-10 17:12:46,771 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45196749:ctest-vn-11094779', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45196749', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11007274852913004825', 'uuid-lslong': '12053325723801471025'}, 'enable': 'true', 'created': '2025-12-10T17:12:43', 'last-modified': '2025-12-10T17:12:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.773653'}
2025-12-10 17:12:46,779 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-10 17:12:46,779 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11094779 passed
2025-12-10 17:12:46,780 - DEBUG - ====Verifying policy data for ctest-vn-11094779 in API_Server ======
2025-12-10 17:12:46,780 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-12-10 17:12:46,787 - DEBUG - Requesting: http://10.0.0.19:8082/domain/f81f2820-5db2-47cc-829c-ed26c33c1bbd
2025-12-10 17:12:46,799 - DEBUG - Requesting: http://10.0.0.19:8082/project/19fd74d1-9e13-4f3a-95ef-4239b588294d
2025-12-10 17:12:46,892 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/98c1b228-e0f8-4119-a746-03e27143c831
2025-12-10 17:12:46,912 - DEBUG - ==>Verifying data for policy with id: 7a5a0e6c-c4bc-49db-851f-3f0fc84244f9, fqn: ['default-domain', 'ctest-TestBasicPolicy-45196749', 'ctest-policy-allow-all-73537240']
2025-12-10 17:12:46,912 - INFO - VN ctest-vn-11094779 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-10 17:12:46,913 - DEBUG - Verifying the vn in opserver
2025-12-10 17:12:46,913 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45196749:ctest-vn-11094779 virtual network link through opserver 10.0.0.19
2025-12-10 17:12:46,913 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-12-10 17:12:46,927 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45196749:ctest-vn-11094779', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45196749:ctest-vn-11094779?flat'}
2025-12-10 17:12:46,927 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45196749:ctest-vn-11094779 is found in opserver
2025-12-10 17:12:46,943 - DEBUG - Do not have enough data to verify VN in agent
2025-12-10 17:12:46,951 - DEBUG - VRF ids for VN ctest-vn-11094779: {}
2025-12-10 17:12:47,079 - DEBUG - Services list from nova: [