2026-05-13 12:40:51,095 - INFO - Domain Default found not creating
2026-05-13 12:40:51,258 - INFO - Project ctest-TestBasicPolicy-25446065 not found, creating it
2026-05-13 12:40:51,718 - INFO - Created Project:ctest-TestBasicPolicy-25446065, ID : 2de01e8e-017e-4102-8b96-31c23d9edfd1
2026-05-13 12:40:53,181 - INFO - ================================================================================
2026-05-13 12:40:53,181 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-05-13 12:40:53,181 - 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-13 12:40:53,435 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2026-05-13 12:40:53,435 - INFO - Initial checks done. Running the testcase now
2026-05-13 12:40:53,435 - INFO -
2026-05-13 12:40:53,986 - DEBUG - Response for create_network : {'network': {'id': '435cb3b8-3108-4908-8a75-54dfdc249aaa', 'name': 'ctest-vn-11202956', 'tenant_id': '2de01e8e017e41028b9631c23d9edfd1', 'project_id': '2de01e8e017e41028b9631c23d9edfd1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25446065', 'ctest-vn-11202956'], 'port_security_enabled': True, 'description': ''}}
2026-05-13 12:40:54,203 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c59a7844-465a-4c30-b245-8fb34944ca0f', 'name': '', 'tenant_id': '2de01e8e017e41028b9631c23d9edfd1', 'network_id': '435cb3b8-3108-4908-8a75-54dfdc249aaa', 'ip_version': 4, 'cidr': '40.180.135.192/26', 'allocation_pools': [{'start': '40.180.135.194', 'end': '40.180.135.254'}], 'gateway_ip': '40.180.135.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.180.135.194', 'tags': [], 'project_id': '2de01e8e017e41028b9631c23d9edfd1'}}
2026-05-13 12:40:54,219 - INFO - Created VN ctest-vn-11202956
2026-05-13 12:40:54,273 - DEBUG - VN ctest-vn-11202956 UUID is 435cb3b8-3108-4908-8a75-54dfdc249aaa
2026-05-13 12:40:54,591 - DEBUG - Response for create_network : {'network': {'id': 'b008ae42-7038-470b-a3c7-2ee12b0f8fa9', 'name': 'ctest-vn-74348180', 'tenant_id': '2de01e8e017e41028b9631c23d9edfd1', 'project_id': '2de01e8e017e41028b9631c23d9edfd1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25446065', 'ctest-vn-74348180'], 'port_security_enabled': True, 'description': ''}}
2026-05-13 12:40:54,801 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c10a90eb-5d3e-42bc-8ccf-296ab5c9dff2', 'name': '', 'tenant_id': '2de01e8e017e41028b9631c23d9edfd1', 'network_id': 'b008ae42-7038-470b-a3c7-2ee12b0f8fa9', 'ip_version': 4, 'cidr': '217.61.137.64/26', 'allocation_pools': [{'start': '217.61.137.66', 'end': '217.61.137.126'}], 'gateway_ip': '217.61.137.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.61.137.66', 'tags': [], 'project_id': '2de01e8e017e41028b9631c23d9edfd1'}}
2026-05-13 12:40:54,818 - INFO - Created VN ctest-vn-74348180
2026-05-13 12:40:54,869 - DEBUG - VN ctest-vn-74348180 UUID is b008ae42-7038-470b-a3c7-2ee12b0f8fa9
2026-05-13 12:40:55,021 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-25446065:ctest-vn-11202956, 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-25446065:ctest-vn-74348180, 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-13 12:40:55,309 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '435cb3b8-3108-4908-8a75-54dfdc249aaa', 'name': 'ctest-vn-11202956', 'tenant_id': '2de01e8e017e41028b9631c23d9edfd1', 'project_id': '2de01e8e017e41028b9631c23d9edfd1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c59a7844-465a-4c30-b245-8fb34944ca0f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25446065', 'ctest-vn-11202956'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25446065', 'ctest-policy-allow-all-08241224']], 'subnet_ipam': [{'subnet_cidr': '40.180.135.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-13 12:40:55,528 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b008ae42-7038-470b-a3c7-2ee12b0f8fa9', 'name': 'ctest-vn-74348180', 'tenant_id': '2de01e8e017e41028b9631c23d9edfd1', 'project_id': '2de01e8e017e41028b9631c23d9edfd1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c10a90eb-5d3e-42bc-8ccf-296ab5c9dff2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25446065', 'ctest-vn-74348180'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25446065', 'ctest-policy-allow-all-08241224']], 'subnet_ipam': [{'subnet_cidr': '217.61.137.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-13 12:40:55,689 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-05-13 12:40:55,985 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-05-13 12:40:56,015 - DEBUG - Requesting: http://10.0.0.33:8082/domain/ee76beaa-6c24-4746-81e1-21d9a2a1eb0f
2026-05-13 12:40:56,027 - DEBUG - Requesting: http://10.0.0.33:8082/project/2de01e8e-017e-4102-8b96-31c23d9edfd1
2026-05-13 12:40:56,096 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/435cb3b8-3108-4908-8a75-54dfdc249aaa
2026-05-13 12:40:56,107 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/435cb3b8-3108-4908-8a75-54dfdc249aaa
2026-05-13 12:40:56,115 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7e57037e-45da-44b8-a675-36435235738c
2026-05-13 12:40:56,122 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7e57037e-45da-44b8-a675-36435235738c
2026-05-13 12:40:56,129 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/1f596e34-c37c-43d9-9300-5c2d218011a8
2026-05-13 12:40:56,135 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-13 12:40:56,135 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/435cb3b8-3108-4908-8a75-54dfdc249aaa
2026-05-13 12:40:56,145 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7e57037e-45da-44b8-a675-36435235738c
2026-05-13 12:40:56,160 - INFO - Verified VN network id 11 for VN 435cb3b8-3108-4908-8a75-54dfdc249aaa
2026-05-13 12:40:56,160 - INFO - Verifications in API Server for VN ctest-vn-11202956 passed
2026-05-13 12:40:56,160 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/435cb3b8-3108-4908-8a75-54dfdc249aaa
2026-05-13 12:40:56,169 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7e57037e-45da-44b8-a675-36435235738c
2026-05-13 12:40:56,175 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7e57037e-45da-44b8-a675-36435235738c
2026-05-13 12:40:56,182 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/1f596e34-c37c-43d9-9300-5c2d218011a8
2026-05-13 12:40:56,193 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25446065:ctest-vn-11202956', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25446065', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4853952102076533000', 'uuid-lslong': '9976973869957028522'}, 'enable': 'true', 'created': '2026-05-13T12:40:53', 'last-modified': '2026-05-13T12:40:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.906953'}
2026-05-13 12:40:56,199 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-13 12:40:56,200 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11202956 passed
2026-05-13 12:40:56,200 - DEBUG - ====Verifying policy data for ctest-vn-11202956 in API_Server ======
2026-05-13 12:40:56,200 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-05-13 12:40:56,205 - DEBUG - Requesting: http://10.0.0.33:8082/domain/ee76beaa-6c24-4746-81e1-21d9a2a1eb0f
2026-05-13 12:40:56,216 - DEBUG - Requesting: http://10.0.0.33:8082/project/2de01e8e-017e-4102-8b96-31c23d9edfd1
2026-05-13 12:40:56,288 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/435cb3b8-3108-4908-8a75-54dfdc249aaa
2026-05-13 12:40:56,297 - DEBUG - ==>Verifying data for policy with id: 1f07cc75-7c50-4659-b244-4d6ba68f86ab, fqn: ['default-domain', 'ctest-TestBasicPolicy-25446065', 'ctest-policy-allow-all-08241224']
2026-05-13 12:40:56,297 - INFO - VN ctest-vn-11202956 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-13 12:40:56,297 - DEBUG - Verifying the vn in opserver
2026-05-13 12:40:56,297 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25446065:ctest-vn-11202956 virtual network link through opserver 10.0.0.33
2026-05-13 12:40:56,297 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-05-13 12:40:56,589 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-05-13 12:40:56,652 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25446065:ctest-vn-11202956', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25446065:ctest-vn-11202956?flat'}
2026-05-13 12:40:56,652 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25446065:ctest-vn-11202956 is found in opserver
2026-05-13 12:40:56,661 - DEBUG - Do not have enough data to verify VN in agent
2026-05-13 12:40:56,665 - DEBUG - VRF ids for VN ctest-vn-11202956: {}
2026-05-13 12:40:56,665 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-05-13 12:40:56,670 - DEBUG - Requesting: http://10.0.0.33:8082/domain/ee76beaa-6c24-4746-81e1-21d9a2a1eb0f
2026-05-13 12:40:56,681 - DEBUG - Requesting: http://10.0.0.33:8082/project/2de01e8e-017e-4102-8b96-31c23d9edfd1
2026-05-13 12:40:56,750 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b008ae42-7038-470b-a3c7-2ee12b0f8fa9
2026-05-13 12:40:56,762 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b008ae42-7038-470b-a3c7-2ee12b0f8fa9
2026-05-13 12:40:56,771 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b002b9f9-4a89-4a26-9f2e-ad27d4126f42
2026-05-13 12:40:56,778 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b002b9f9-4a89-4a26-9f2e-ad27d4126f42
2026-05-13 12:40:56,784 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/4c1a5fe3-b4ff-413b-adfa-8766688459b1
2026-05-13 12:40:56,791 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-13 12:40:56,791 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b008ae42-7038-470b-a3c7-2ee12b0f8fa9
2026-05-13 12:40:56,800 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b002b9f9-4a89-4a26-9f2e-ad27d4126f42
2026-05-13 12:40:56,813 - INFO - Verified VN network id 12 for VN b008ae42-7038-470b-a3c7-2ee12b0f8fa9
2026-05-13 12:40:56,814 - INFO - Verifications in API Server for VN ctest-vn-74348180 passed
2026-05-13 12:40:56,814 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b008ae42-7038-470b-a3c7-2ee12b0f8fa9
2026-05-13 12:40:56,823 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b002b9f9-4a89-4a26-9f2e-ad27d4126f42
2026-05-13 12:40:56,830 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b002b9f9-4a89-4a26-9f2e-ad27d4126f42
2026-05-13 12:40:56,837 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/4c1a5fe3-b4ff-413b-adfa-8766688459b1
2026-05-13 12:40:56,848 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25446065:ctest-vn-74348180', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25446065', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12684579950862812939', 'uuid-lslong': '11801452893172633513'}, 'enable': 'true', 'created': '2026-05-13T12:40:54', 'last-modified': '2026-05-13T12:40:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.337546'}
2026-05-13 12:40:56,855 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-13 12:40:56,855 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74348180 passed
2026-05-13 12:40:56,855 - DEBUG - ====Verifying policy data for ctest-vn-74348180 in API_Server ======
2026-05-13 12:40:56,855 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-05-13 12:40:56,862 - DEBUG - Requesting: http://10.0.0.33:8082/domain/ee76beaa-6c24-4746-81e1-21d9a2a1eb0f
2026-05-13 12:40:56,872 - DEBUG - Requesting: http://10.0.0.33:8082/project/2de01e8e-017e-4102-8b96-31c23d9edfd1
2026-05-13 12:40:56,943 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b008ae42-7038-470b-a3c7-2ee12b0f8fa9
2026-05-13 12:40:56,951 - DEBUG - ==>Verifying data for policy with id: 1f07cc75-7c50-4659-b244-4d6ba68f86ab, fqn: ['default-domain', 'ctest-TestBasicPolicy-25446065', 'ctest-policy-allow-all-08241224']
2026-05-13 12:40:56,951 - INFO - VN ctest-vn-74348180 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-13 12:40:56,951 - DEBUG - Verifying the vn in opserver
2026-05-13 12:40:56,951 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25446065:ctest-vn-74348180 virtual network link through opserver 10.0.0.33
2026-05-13 12:40:56,952 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-05-13 12:40:56,961 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25446065:ctest-vn-74348180', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25446065:ctest-vn-74348180?flat'}
2026-05-13 12:40:56,961 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25446065:ctest-vn-74348180 is found in opserver
2026-05-13 12:40:56,970 - DEBUG - Do not have enough data to verify VN in agent
2026-05-13 12:40:56,974 - DEBUG - VRF ids for VN ctest-vn-74348180: {}
2026-05-13 12:40:57,032 - DEBUG - Services list from nova: [