2026-03-25 13:06:08,264 - INFO - Domain Default found not creating
2026-03-25 13:06:08,447 - INFO - Project ctest-TestBasicPolicy-81128708 not found, creating it
2026-03-25 13:06:08,918 - INFO - Created Project:ctest-TestBasicPolicy-81128708, ID : 7121e3c3-74bf-41c3-a921-2797dd2f87f4
2026-03-25 13:06:10,378 - INFO - ================================================================================
2026-03-25 13:06:10,378 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-25 13:06:10,378 - 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-03-25 13:06:10,633 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-03-25 13:06:10,633 - INFO - Initial checks done. Running the testcase now
2026-03-25 13:06:10,633 - INFO -
2026-03-25 13:06:11,192 - DEBUG - Response for create_network : {'network': {'id': '2a638270-14b5-4dde-90f7-6b70825353e8', 'name': 'ctest-vn-39068232', 'tenant_id': '7121e3c374bf41c3a9212797dd2f87f4', 'project_id': '7121e3c374bf41c3a9212797dd2f87f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81128708', 'ctest-vn-39068232'], 'port_security_enabled': True, 'description': ''}}
2026-03-25 13:06:11,366 - DEBUG - Response for create_subnet : {'subnet': {'id': '138f82ea-2477-4ea5-8fe7-d88b9e8e5ae1', 'name': '', 'tenant_id': '7121e3c374bf41c3a9212797dd2f87f4', 'network_id': '2a638270-14b5-4dde-90f7-6b70825353e8', 'ip_version': 4, 'cidr': '154.170.97.0/26', 'allocation_pools': [{'start': '154.170.97.2', 'end': '154.170.97.62'}], 'gateway_ip': '154.170.97.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.170.97.2', 'tags': [], 'project_id': '7121e3c374bf41c3a9212797dd2f87f4'}}
2026-03-25 13:06:11,383 - INFO - Created VN ctest-vn-39068232
2026-03-25 13:06:11,434 - DEBUG - VN ctest-vn-39068232 UUID is 2a638270-14b5-4dde-90f7-6b70825353e8
2026-03-25 13:06:11,737 - DEBUG - Response for create_network : {'network': {'id': 'dbd6d542-6504-4958-baf2-6ef4a824af15', 'name': 'ctest-vn-55462280', 'tenant_id': '7121e3c374bf41c3a9212797dd2f87f4', 'project_id': '7121e3c374bf41c3a9212797dd2f87f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81128708', 'ctest-vn-55462280'], 'port_security_enabled': True, 'description': ''}}
2026-03-25 13:06:11,907 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e9e5e5c-5c7d-44dd-bdf4-2281f71585f8', 'name': '', 'tenant_id': '7121e3c374bf41c3a9212797dd2f87f4', 'network_id': 'dbd6d542-6504-4958-baf2-6ef4a824af15', 'ip_version': 4, 'cidr': '111.62.186.0/26', 'allocation_pools': [{'start': '111.62.186.2', 'end': '111.62.186.62'}], 'gateway_ip': '111.62.186.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.62.186.2', 'tags': [], 'project_id': '7121e3c374bf41c3a9212797dd2f87f4'}}
2026-03-25 13:06:11,923 - INFO - Created VN ctest-vn-55462280
2026-03-25 13:06:11,974 - DEBUG - VN ctest-vn-55462280 UUID is dbd6d542-6504-4958-baf2-6ef4a824af15
2026-03-25 13:06:12,122 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-81128708:ctest-vn-39068232, 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-81128708:ctest-vn-55462280, 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-03-25 13:06:12,404 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2a638270-14b5-4dde-90f7-6b70825353e8', 'name': 'ctest-vn-39068232', 'tenant_id': '7121e3c374bf41c3a9212797dd2f87f4', 'project_id': '7121e3c374bf41c3a9212797dd2f87f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['138f82ea-2477-4ea5-8fe7-d88b9e8e5ae1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81128708', 'ctest-vn-39068232'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81128708', 'ctest-policy-allow-all-43025149']], 'subnet_ipam': [{'subnet_cidr': '154.170.97.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-25 13:06:12,635 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dbd6d542-6504-4958-baf2-6ef4a824af15', 'name': 'ctest-vn-55462280', 'tenant_id': '7121e3c374bf41c3a9212797dd2f87f4', 'project_id': '7121e3c374bf41c3a9212797dd2f87f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3e9e5e5c-5c7d-44dd-bdf4-2281f71585f8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81128708', 'ctest-vn-55462280'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81128708', 'ctest-policy-allow-all-43025149']], 'subnet_ipam': [{'subnet_cidr': '111.62.186.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-25 13:06:12,795 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-25 13:06:13,101 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-25 13:06:13,132 - DEBUG - Requesting: http://10.0.0.38:8082/domain/08658db1-ecf9-4e19-9d2a-05da57c96364
2026-03-25 13:06:13,143 - DEBUG - Requesting: http://10.0.0.38:8082/project/7121e3c3-74bf-41c3-a921-2797dd2f87f4
2026-03-25 13:06:13,213 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2a638270-14b5-4dde-90f7-6b70825353e8
2026-03-25 13:06:13,223 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2a638270-14b5-4dde-90f7-6b70825353e8
2026-03-25 13:06:13,232 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c2fc239-f54f-498f-b749-113bd38ec68b
2026-03-25 13:06:13,239 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c2fc239-f54f-498f-b749-113bd38ec68b
2026-03-25 13:06:13,246 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/909e7825-41cb-402e-badd-98200e82aee9
2026-03-25 13:06:13,252 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-25 13:06:13,252 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2a638270-14b5-4dde-90f7-6b70825353e8
2026-03-25 13:06:13,260 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c2fc239-f54f-498f-b749-113bd38ec68b
2026-03-25 13:06:13,272 - INFO - Verified VN network id 11 for VN 2a638270-14b5-4dde-90f7-6b70825353e8
2026-03-25 13:06:13,272 - INFO - Verifications in API Server for VN ctest-vn-39068232 passed
2026-03-25 13:06:13,272 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2a638270-14b5-4dde-90f7-6b70825353e8
2026-03-25 13:06:13,280 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c2fc239-f54f-498f-b749-113bd38ec68b
2026-03-25 13:06:13,286 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c2fc239-f54f-498f-b749-113bd38ec68b
2026-03-25 13:06:13,292 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/909e7825-41cb-402e-badd-98200e82aee9
2026-03-25 13:06:13,302 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81128708:ctest-vn-39068232', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81128708', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3054428390182702558', 'uuid-lslong': '10445935991676163048'}, 'enable': 'true', 'created': '2026-03-25T13:06:11', 'last-modified': '2026-03-25T13:06:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.915328'}
2026-03-25 13:06:13,307 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-25 13:06:13,307 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39068232 passed
2026-03-25 13:06:13,307 - DEBUG - ====Verifying policy data for ctest-vn-39068232 in API_Server ======
2026-03-25 13:06:13,307 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-25 13:06:13,313 - DEBUG - Requesting: http://10.0.0.38:8082/domain/08658db1-ecf9-4e19-9d2a-05da57c96364
2026-03-25 13:06:13,323 - DEBUG - Requesting: http://10.0.0.38:8082/project/7121e3c3-74bf-41c3-a921-2797dd2f87f4
2026-03-25 13:06:13,397 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2a638270-14b5-4dde-90f7-6b70825353e8
2026-03-25 13:06:13,406 - DEBUG - ==>Verifying data for policy with id: 6f974181-2dbe-4605-a6a1-d8cc51ad8c4f, fqn: ['default-domain', 'ctest-TestBasicPolicy-81128708', 'ctest-policy-allow-all-43025149']
2026-03-25 13:06:13,406 - INFO - VN ctest-vn-39068232 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-25 13:06:13,406 - DEBUG - Verifying the vn in opserver
2026-03-25 13:06:13,407 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81128708:ctest-vn-39068232 virtual network link through opserver 10.0.0.38
2026-03-25 13:06:13,407 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-03-25 13:06:13,697 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-03-25 13:06:13,757 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81128708:ctest-vn-39068232', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81128708:ctest-vn-39068232?flat'}
2026-03-25 13:06:13,757 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81128708:ctest-vn-39068232 is found in opserver
2026-03-25 13:06:13,767 - DEBUG - Do not have enough data to verify VN in agent
2026-03-25 13:06:13,772 - DEBUG - VRF ids for VN ctest-vn-39068232: {}
2026-03-25 13:06:13,772 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-25 13:06:13,777 - DEBUG - Requesting: http://10.0.0.38:8082/domain/08658db1-ecf9-4e19-9d2a-05da57c96364
2026-03-25 13:06:13,787 - DEBUG - Requesting: http://10.0.0.38:8082/project/7121e3c3-74bf-41c3-a921-2797dd2f87f4
2026-03-25 13:06:13,856 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dbd6d542-6504-4958-baf2-6ef4a824af15
2026-03-25 13:06:13,868 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dbd6d542-6504-4958-baf2-6ef4a824af15
2026-03-25 13:06:13,877 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dbe9375e-8b3c-4f07-88ae-f79898e9547c
2026-03-25 13:06:13,886 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dbe9375e-8b3c-4f07-88ae-f79898e9547c
2026-03-25 13:06:13,893 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4420e146-af6d-4ddd-be35-331fd4a0b09e
2026-03-25 13:06:13,900 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-25 13:06:13,900 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dbd6d542-6504-4958-baf2-6ef4a824af15
2026-03-25 13:06:13,909 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dbe9375e-8b3c-4f07-88ae-f79898e9547c
2026-03-25 13:06:13,923 - INFO - Verified VN network id 12 for VN dbd6d542-6504-4958-baf2-6ef4a824af15
2026-03-25 13:06:13,923 - INFO - Verifications in API Server for VN ctest-vn-55462280 passed
2026-03-25 13:06:13,923 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dbd6d542-6504-4958-baf2-6ef4a824af15
2026-03-25 13:06:13,932 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dbe9375e-8b3c-4f07-88ae-f79898e9547c
2026-03-25 13:06:13,938 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dbe9375e-8b3c-4f07-88ae-f79898e9547c
2026-03-25 13:06:13,945 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4420e146-af6d-4ddd-be35-331fd4a0b09e
2026-03-25 13:06:13,957 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81128708:ctest-vn-55462280', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81128708', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15841083220461635928', 'uuid-lslong': '13470951432490626837'}, 'enable': 'true', 'created': '2026-03-25T13:06:11', 'last-modified': '2026-03-25T13:06:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.345001'}
2026-03-25 13:06:13,962 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-25 13:06:13,962 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55462280 passed
2026-03-25 13:06:13,962 - DEBUG - ====Verifying policy data for ctest-vn-55462280 in API_Server ======
2026-03-25 13:06:13,962 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-25 13:06:13,967 - DEBUG - Requesting: http://10.0.0.38:8082/domain/08658db1-ecf9-4e19-9d2a-05da57c96364
2026-03-25 13:06:13,977 - DEBUG - Requesting: http://10.0.0.38:8082/project/7121e3c3-74bf-41c3-a921-2797dd2f87f4
2026-03-25 13:06:14,049 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dbd6d542-6504-4958-baf2-6ef4a824af15
2026-03-25 13:06:14,058 - DEBUG - ==>Verifying data for policy with id: 6f974181-2dbe-4605-a6a1-d8cc51ad8c4f, fqn: ['default-domain', 'ctest-TestBasicPolicy-81128708', 'ctest-policy-allow-all-43025149']
2026-03-25 13:06:14,058 - INFO - VN ctest-vn-55462280 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-25 13:06:14,058 - DEBUG - Verifying the vn in opserver
2026-03-25 13:06:14,058 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81128708:ctest-vn-55462280 virtual network link through opserver 10.0.0.38
2026-03-25 13:06:14,058 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-03-25 13:06:14,067 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81128708:ctest-vn-55462280', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81128708:ctest-vn-55462280?flat'}
2026-03-25 13:06:14,067 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81128708:ctest-vn-55462280 is found in opserver
2026-03-25 13:06:14,075 - DEBUG - Do not have enough data to verify VN in agent
2026-03-25 13:06:14,079 - DEBUG - VRF ids for VN ctest-vn-55462280: {}
2026-03-25 13:06:14,136 - DEBUG - Services list from nova: [