2026-02-10 10:16:32,102 - INFO - Domain Default found not creating
2026-02-10 10:16:32,264 - INFO - Project ctest-TestBasicPolicy-36382952 not found, creating it
2026-02-10 10:16:32,713 - INFO - Created Project:ctest-TestBasicPolicy-36382952, ID : 77bb1fc3-f405-4568-81a5-f158432cf3e7
2026-02-10 10:16:34,148 - INFO - ================================================================================
2026-02-10 10:16:34,148 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-10 10:16:34,148 - 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 10:16:34,402 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with
2026-02-10 10:16:34,402 - INFO - Initial checks done. Running the testcase now
2026-02-10 10:16:34,402 - INFO -
2026-02-10 10:16:34,954 - DEBUG - Response for create_network : {'network': {'id': '41fa314c-8f87-4e11-b986-b244f55b6867', 'name': 'ctest-vn-42771201', 'tenant_id': '77bb1fc3f405456881a5f158432cf3e7', 'project_id': '77bb1fc3f405456881a5f158432cf3e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36382952', 'ctest-vn-42771201'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 10:16:35,115 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f0a0baf4-55ad-46e4-b4de-0331680165dc', 'name': '', 'tenant_id': '77bb1fc3f405456881a5f158432cf3e7', 'network_id': '41fa314c-8f87-4e11-b986-b244f55b6867', 'ip_version': 4, 'cidr': '140.88.69.192/26', 'allocation_pools': [{'start': '140.88.69.194', 'end': '140.88.69.254'}], 'gateway_ip': '140.88.69.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.88.69.194', 'tags': [], 'project_id': '77bb1fc3f405456881a5f158432cf3e7'}}
2026-02-10 10:16:35,131 - INFO - Created VN ctest-vn-42771201
2026-02-10 10:16:35,180 - DEBUG - VN ctest-vn-42771201 UUID is 41fa314c-8f87-4e11-b986-b244f55b6867
2026-02-10 10:16:35,503 - DEBUG - Response for create_network : {'network': {'id': 'd717acf2-b157-4876-9601-ba352e3a2f01', 'name': 'ctest-vn-93146769', 'tenant_id': '77bb1fc3f405456881a5f158432cf3e7', 'project_id': '77bb1fc3f405456881a5f158432cf3e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36382952', 'ctest-vn-93146769'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 10:16:35,684 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c29da0b1-9793-4e46-8ea7-2517465155ba', 'name': '', 'tenant_id': '77bb1fc3f405456881a5f158432cf3e7', 'network_id': 'd717acf2-b157-4876-9601-ba352e3a2f01', 'ip_version': 4, 'cidr': '200.52.160.128/26', 'allocation_pools': [{'start': '200.52.160.130', 'end': '200.52.160.190'}], 'gateway_ip': '200.52.160.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.52.160.130', 'tags': [], 'project_id': '77bb1fc3f405456881a5f158432cf3e7'}}
2026-02-10 10:16:35,701 - INFO - Created VN ctest-vn-93146769
2026-02-10 10:16:35,752 - DEBUG - VN ctest-vn-93146769 UUID is d717acf2-b157-4876-9601-ba352e3a2f01
2026-02-10 10:16:35,904 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-36382952:ctest-vn-42771201, 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-36382952:ctest-vn-93146769, 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 10:16:36,188 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '41fa314c-8f87-4e11-b986-b244f55b6867', 'name': 'ctest-vn-42771201', 'tenant_id': '77bb1fc3f405456881a5f158432cf3e7', 'project_id': '77bb1fc3f405456881a5f158432cf3e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f0a0baf4-55ad-46e4-b4de-0331680165dc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36382952', 'ctest-vn-42771201'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36382952', 'ctest-policy-allow-all-39856717']], 'subnet_ipam': [{'subnet_cidr': '140.88.69.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 10:16:36,464 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd717acf2-b157-4876-9601-ba352e3a2f01', 'name': 'ctest-vn-93146769', 'tenant_id': '77bb1fc3f405456881a5f158432cf3e7', 'project_id': '77bb1fc3f405456881a5f158432cf3e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c29da0b1-9793-4e46-8ea7-2517465155ba'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36382952', 'ctest-vn-93146769'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36382952', 'ctest-policy-allow-all-39856717']], 'subnet_ipam': [{'subnet_cidr': '200.52.160.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 10:16:36,608 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-10 10:16:36,912 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-10 10:16:36,946 - DEBUG - Requesting: http://10.0.0.33:8082/domain/0b4bc223-4427-4b5a-bd04-b83206917d2e
2026-02-10 10:16:36,959 - DEBUG - Requesting: http://10.0.0.33:8082/project/77bb1fc3-f405-4568-81a5-f158432cf3e7
2026-02-10 10:16:37,032 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/41fa314c-8f87-4e11-b986-b244f55b6867
2026-02-10 10:16:37,044 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/41fa314c-8f87-4e11-b986-b244f55b6867
2026-02-10 10:16:37,055 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f36e3471-656e-4a10-8e8f-be34cdc2c66f
2026-02-10 10:16:37,063 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f36e3471-656e-4a10-8e8f-be34cdc2c66f
2026-02-10 10:16:37,070 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/5beb93f4-78d9-46a7-ada9-c8b1661b410d
2026-02-10 10:16:37,076 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 10:16:37,076 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/41fa314c-8f87-4e11-b986-b244f55b6867
2026-02-10 10:16:37,084 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f36e3471-656e-4a10-8e8f-be34cdc2c66f
2026-02-10 10:16:37,097 - INFO - Verified VN network id 11 for VN 41fa314c-8f87-4e11-b986-b244f55b6867
2026-02-10 10:16:37,097 - INFO - Verifications in API Server for VN ctest-vn-42771201 passed
2026-02-10 10:16:37,097 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/41fa314c-8f87-4e11-b986-b244f55b6867
2026-02-10 10:16:37,105 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f36e3471-656e-4a10-8e8f-be34cdc2c66f
2026-02-10 10:16:37,112 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f36e3471-656e-4a10-8e8f-be34cdc2c66f
2026-02-10 10:16:37,118 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/5beb93f4-78d9-46a7-ada9-c8b1661b410d
2026-02-10 10:16:37,129 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36382952:ctest-vn-42771201', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36382952', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4754166561538264593', 'uuid-lslong': '13368568553139824743'}, 'enable': 'true', 'created': '2026-02-10T10:16:34', 'last-modified': '2026-02-10T10:16:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.961802'}
2026-02-10 10:16:37,134 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 10:16:37,136 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42771201 passed
2026-02-10 10:16:37,136 - DEBUG - ====Verifying policy data for ctest-vn-42771201 in API_Server ======
2026-02-10 10:16:37,136 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-10 10:16:37,141 - DEBUG - Requesting: http://10.0.0.33:8082/domain/0b4bc223-4427-4b5a-bd04-b83206917d2e
2026-02-10 10:16:37,150 - DEBUG - Requesting: http://10.0.0.33:8082/project/77bb1fc3-f405-4568-81a5-f158432cf3e7
2026-02-10 10:16:37,222 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/41fa314c-8f87-4e11-b986-b244f55b6867
2026-02-10 10:16:37,233 - DEBUG - ==>Verifying data for policy with id: f72cf7b2-1e63-4012-8dc0-631d40fd2a96, fqn: ['default-domain', 'ctest-TestBasicPolicy-36382952', 'ctest-policy-allow-all-39856717']
2026-02-10 10:16:37,233 - INFO - VN ctest-vn-42771201 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 10:16:37,233 - DEBUG - Verifying the vn in opserver
2026-02-10 10:16:37,233 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36382952:ctest-vn-42771201 virtual network link through opserver 10.0.0.33
2026-02-10 10:16:37,233 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-10 10:16:37,529 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-10 10:16:37,588 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36382952:ctest-vn-42771201', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36382952:ctest-vn-42771201?flat'}
2026-02-10 10:16:37,588 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36382952:ctest-vn-42771201 is found in opserver
2026-02-10 10:16:37,597 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 10:16:37,601 - DEBUG - VRF ids for VN ctest-vn-42771201: {}
2026-02-10 10:16:37,601 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-10 10:16:37,605 - DEBUG - Requesting: http://10.0.0.33:8082/domain/0b4bc223-4427-4b5a-bd04-b83206917d2e
2026-02-10 10:16:37,615 - DEBUG - Requesting: http://10.0.0.33:8082/project/77bb1fc3-f405-4568-81a5-f158432cf3e7
2026-02-10 10:16:37,682 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d717acf2-b157-4876-9601-ba352e3a2f01
2026-02-10 10:16:37,693 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d717acf2-b157-4876-9601-ba352e3a2f01
2026-02-10 10:16:37,700 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6d08d4fc-1b68-43d1-a636-9a0c76266751
2026-02-10 10:16:37,706 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6d08d4fc-1b68-43d1-a636-9a0c76266751
2026-02-10 10:16:37,712 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/e01b40ae-d598-4d12-9060-e1f3ff7c514e
2026-02-10 10:16:37,717 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 10:16:37,718 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d717acf2-b157-4876-9601-ba352e3a2f01
2026-02-10 10:16:37,725 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6d08d4fc-1b68-43d1-a636-9a0c76266751
2026-02-10 10:16:37,737 - INFO - Verified VN network id 12 for VN d717acf2-b157-4876-9601-ba352e3a2f01
2026-02-10 10:16:37,737 - INFO - Verifications in API Server for VN ctest-vn-93146769 passed
2026-02-10 10:16:37,737 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d717acf2-b157-4876-9601-ba352e3a2f01
2026-02-10 10:16:37,744 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6d08d4fc-1b68-43d1-a636-9a0c76266751
2026-02-10 10:16:37,750 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6d08d4fc-1b68-43d1-a636-9a0c76266751
2026-02-10 10:16:37,756 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/e01b40ae-d598-4d12-9060-e1f3ff7c514e
2026-02-10 10:16:37,765 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36382952:ctest-vn-93146769', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36382952', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15499046800976201846', 'uuid-lslong': '10809125318237499137'}, 'enable': 'true', 'created': '2026-02-10T10:16:35', 'last-modified': '2026-02-10T10:16:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.372596'}
2026-02-10 10:16:37,771 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 10:16:37,771 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93146769 passed
2026-02-10 10:16:37,771 - DEBUG - ====Verifying policy data for ctest-vn-93146769 in API_Server ======
2026-02-10 10:16:37,771 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-10 10:16:37,776 - DEBUG - Requesting: http://10.0.0.33:8082/domain/0b4bc223-4427-4b5a-bd04-b83206917d2e
2026-02-10 10:16:37,786 - DEBUG - Requesting: http://10.0.0.33:8082/project/77bb1fc3-f405-4568-81a5-f158432cf3e7
2026-02-10 10:16:37,854 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d717acf2-b157-4876-9601-ba352e3a2f01
2026-02-10 10:16:37,863 - DEBUG - ==>Verifying data for policy with id: f72cf7b2-1e63-4012-8dc0-631d40fd2a96, fqn: ['default-domain', 'ctest-TestBasicPolicy-36382952', 'ctest-policy-allow-all-39856717']
2026-02-10 10:16:37,863 - INFO - VN ctest-vn-93146769 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 10:16:37,863 - DEBUG - Verifying the vn in opserver
2026-02-10 10:16:37,863 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36382952:ctest-vn-93146769 virtual network link through opserver 10.0.0.33
2026-02-10 10:16:37,863 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-10 10:16:37,872 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36382952:ctest-vn-93146769', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36382952:ctest-vn-93146769?flat'}
2026-02-10 10:16:37,872 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36382952:ctest-vn-93146769 is found in opserver
2026-02-10 10:16:37,882 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 10:16:37,886 - DEBUG - VRF ids for VN ctest-vn-93146769: {}
2026-02-10 10:16:37,941 - DEBUG - Services list from nova: [