2026-08-25 20:36:34,042 - INFO - Domain Default found not creating
2026-08-25 20:36:34,232 - INFO - Project ctest-TestBasicPolicy-31017816 not found, creating it
2026-08-25 20:36:34,733 - INFO - Created Project:ctest-TestBasicPolicy-31017816, ID : d4bc19a6-1535-45f0-9a15-0499f6b5896a
2026-08-25 20:36:36,639 - INFO - ================================================================================
2026-08-25 20:36:36,639 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-25 20:36:36,639 - 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-08-25 20:36:36,911 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2026-08-25 20:36:36,911 - INFO - Initial checks done. Running the testcase now
2026-08-25 20:36:36,911 - INFO -
2026-08-25 20:36:37,600 - DEBUG - Response for create_network : {'network': {'id': '1c016b32-f447-4e82-82c5-ec06280faa56', 'name': 'ctest-vn-36333407', 'tenant_id': 'd4bc19a6153545f09a150499f6b5896a', 'project_id': 'd4bc19a6153545f09a150499f6b5896a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31017816', 'ctest-vn-36333407'], 'port_security_enabled': True, 'description': ''}}
2026-08-25 20:36:37,797 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f882134-3f74-46d1-b89c-0f6c5920f626', 'name': '', 'tenant_id': 'd4bc19a6153545f09a150499f6b5896a', 'network_id': '1c016b32-f447-4e82-82c5-ec06280faa56', 'ip_version': 4, 'cidr': '60.119.35.64/26', 'allocation_pools': [{'start': '60.119.35.66', 'end': '60.119.35.126'}], 'gateway_ip': '60.119.35.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.119.35.66', 'tags': [], 'project_id': 'd4bc19a6153545f09a150499f6b5896a'}}
2026-08-25 20:36:37,818 - INFO - Created VN ctest-vn-36333407
2026-08-25 20:36:37,873 - DEBUG - VN ctest-vn-36333407 UUID is 1c016b32-f447-4e82-82c5-ec06280faa56
2026-08-25 20:36:38,190 - DEBUG - Response for create_network : {'network': {'id': '7b1b5b62-53f7-49a1-8a04-cba2cb0b93f7', 'name': 'ctest-vn-74816144', 'tenant_id': 'd4bc19a6153545f09a150499f6b5896a', 'project_id': 'd4bc19a6153545f09a150499f6b5896a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31017816', 'ctest-vn-74816144'], 'port_security_enabled': True, 'description': ''}}
2026-08-25 20:36:38,547 - DEBUG - Response for create_subnet : {'subnet': {'id': '168c9664-6b94-4dd4-8e13-d7da2c0c86c5', 'name': '', 'tenant_id': 'd4bc19a6153545f09a150499f6b5896a', 'network_id': '7b1b5b62-53f7-49a1-8a04-cba2cb0b93f7', 'ip_version': 4, 'cidr': '94.26.19.128/26', 'allocation_pools': [{'start': '94.26.19.130', 'end': '94.26.19.190'}], 'gateway_ip': '94.26.19.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.26.19.130', 'tags': [], 'project_id': 'd4bc19a6153545f09a150499f6b5896a'}}
2026-08-25 20:36:38,574 - INFO - Created VN ctest-vn-74816144
2026-08-25 20:36:38,633 - DEBUG - VN ctest-vn-74816144 UUID is 7b1b5b62-53f7-49a1-8a04-cba2cb0b93f7
2026-08-25 20:36:38,793 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-31017816:ctest-vn-36333407, 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-31017816:ctest-vn-74816144, 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-08-25 20:36:39,224 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1c016b32-f447-4e82-82c5-ec06280faa56', 'name': 'ctest-vn-36333407', 'tenant_id': 'd4bc19a6153545f09a150499f6b5896a', 'project_id': 'd4bc19a6153545f09a150499f6b5896a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['1f882134-3f74-46d1-b89c-0f6c5920f626'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31017816', 'ctest-vn-36333407'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31017816', 'ctest-policy-allow-all-00120216']], 'subnet_ipam': [{'subnet_cidr': '60.119.35.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-25 20:36:39,492 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7b1b5b62-53f7-49a1-8a04-cba2cb0b93f7', 'name': 'ctest-vn-74816144', 'tenant_id': 'd4bc19a6153545f09a150499f6b5896a', 'project_id': 'd4bc19a6153545f09a150499f6b5896a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['168c9664-6b94-4dd4-8e13-d7da2c0c86c5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31017816', 'ctest-vn-74816144'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31017816', 'ctest-policy-allow-all-00120216']], 'subnet_ipam': [{'subnet_cidr': '94.26.19.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-25 20:36:39,665 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-08-25 20:36:40,050 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-08-25 20:36:40,082 - DEBUG - Requesting: http://10.0.0.33:8082/domain/7847e42b-e827-4df0-bacf-1cc4c77740a1
2026-08-25 20:36:40,100 - DEBUG - Requesting: http://10.0.0.33:8082/project/d4bc19a6-1535-45f0-9a15-0499f6b5896a
2026-08-25 20:36:40,181 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1c016b32-f447-4e82-82c5-ec06280faa56
2026-08-25 20:36:40,199 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1c016b32-f447-4e82-82c5-ec06280faa56
2026-08-25 20:36:40,212 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0657619b-7118-4808-a9c9-1bf4d2539156
2026-08-25 20:36:40,222 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0657619b-7118-4808-a9c9-1bf4d2539156
2026-08-25 20:36:40,233 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0bf4d99a-ba07-4c9d-8b13-0c8c962fc9a5
2026-08-25 20:36:40,243 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-25 20:36:40,244 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1c016b32-f447-4e82-82c5-ec06280faa56
2026-08-25 20:36:40,258 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0657619b-7118-4808-a9c9-1bf4d2539156
2026-08-25 20:36:40,274 - INFO - Verified VN network id 11 for VN 1c016b32-f447-4e82-82c5-ec06280faa56
2026-08-25 20:36:40,274 - INFO - Verifications in API Server for VN ctest-vn-36333407 passed
2026-08-25 20:36:40,274 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1c016b32-f447-4e82-82c5-ec06280faa56
2026-08-25 20:36:40,286 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0657619b-7118-4808-a9c9-1bf4d2539156
2026-08-25 20:36:40,295 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0657619b-7118-4808-a9c9-1bf4d2539156
2026-08-25 20:36:40,304 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0bf4d99a-ba07-4c9d-8b13-0c8c962fc9a5
2026-08-25 20:36:40,318 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31017816:ctest-vn-36333407', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31017816', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2018011974629543554', 'uuid-lslong': '9423197306528705110'}, 'enable': 'true', 'created': '2026-08-25T20:36:37', 'last-modified': '2026-08-25T20:36:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.129540'}
2026-08-25 20:36:40,326 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-25 20:36:40,326 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36333407 passed
2026-08-25 20:36:40,326 - DEBUG - ====Verifying policy data for ctest-vn-36333407 in API_Server ======
2026-08-25 20:36:40,326 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-08-25 20:36:40,333 - DEBUG - Requesting: http://10.0.0.33:8082/domain/7847e42b-e827-4df0-bacf-1cc4c77740a1
2026-08-25 20:36:40,346 - DEBUG - Requesting: http://10.0.0.33:8082/project/d4bc19a6-1535-45f0-9a15-0499f6b5896a
2026-08-25 20:36:40,427 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1c016b32-f447-4e82-82c5-ec06280faa56
2026-08-25 20:36:40,439 - DEBUG - ==>Verifying data for policy with id: 9d1246b2-428d-4b09-82c1-42262ef3d1b6, fqn: ['default-domain', 'ctest-TestBasicPolicy-31017816', 'ctest-policy-allow-all-00120216']
2026-08-25 20:36:40,439 - INFO - VN ctest-vn-36333407 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-25 20:36:40,439 - DEBUG - Verifying the vn in opserver
2026-08-25 20:36:40,439 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31017816:ctest-vn-36333407 virtual network link through opserver 10.0.0.33
2026-08-25 20:36:40,439 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-08-25 20:36:40,810 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-08-25 20:36:40,869 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31017816:ctest-vn-36333407', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31017816:ctest-vn-36333407?flat'}
2026-08-25 20:36:40,869 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31017816:ctest-vn-36333407 is found in opserver
2026-08-25 20:36:40,885 - DEBUG - Do not have enough data to verify VN in agent
2026-08-25 20:36:40,893 - DEBUG - VRF ids for VN ctest-vn-36333407: {}
2026-08-25 20:36:40,893 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-08-25 20:36:40,900 - DEBUG - Requesting: http://10.0.0.33:8082/domain/7847e42b-e827-4df0-bacf-1cc4c77740a1
2026-08-25 20:36:40,912 - DEBUG - Requesting: http://10.0.0.33:8082/project/d4bc19a6-1535-45f0-9a15-0499f6b5896a
2026-08-25 20:36:40,995 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7b1b5b62-53f7-49a1-8a04-cba2cb0b93f7
2026-08-25 20:36:41,010 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7b1b5b62-53f7-49a1-8a04-cba2cb0b93f7
2026-08-25 20:36:41,021 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/31134326-8295-4977-b3be-f4ad6e93bf10
2026-08-25 20:36:41,029 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/31134326-8295-4977-b3be-f4ad6e93bf10
2026-08-25 20:36:41,035 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/04be369e-2034-450e-96b7-00cdbe452488
2026-08-25 20:36:41,042 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-25 20:36:41,042 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7b1b5b62-53f7-49a1-8a04-cba2cb0b93f7
2026-08-25 20:36:41,052 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/31134326-8295-4977-b3be-f4ad6e93bf10
2026-08-25 20:36:41,067 - INFO - Verified VN network id 12 for VN 7b1b5b62-53f7-49a1-8a04-cba2cb0b93f7
2026-08-25 20:36:41,067 - INFO - Verifications in API Server for VN ctest-vn-74816144 passed
2026-08-25 20:36:41,067 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7b1b5b62-53f7-49a1-8a04-cba2cb0b93f7
2026-08-25 20:36:41,077 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/31134326-8295-4977-b3be-f4ad6e93bf10
2026-08-25 20:36:41,086 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/31134326-8295-4977-b3be-f4ad6e93bf10
2026-08-25 20:36:41,094 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/04be369e-2034-450e-96b7-00cdbe452488
2026-08-25 20:36:41,111 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31017816:ctest-vn-74816144', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31017816', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8870784368909961633', 'uuid-lslong': '9945297777192571895'}, 'enable': 'true', 'created': '2026-08-25T20:36:38', 'last-modified': '2026-08-25T20:36:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.646091'}
2026-08-25 20:36:41,119 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-25 20:36:41,119 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74816144 passed
2026-08-25 20:36:41,120 - DEBUG - ====Verifying policy data for ctest-vn-74816144 in API_Server ======
2026-08-25 20:36:41,120 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-08-25 20:36:41,127 - DEBUG - Requesting: http://10.0.0.33:8082/domain/7847e42b-e827-4df0-bacf-1cc4c77740a1
2026-08-25 20:36:41,139 - DEBUG - Requesting: http://10.0.0.33:8082/project/d4bc19a6-1535-45f0-9a15-0499f6b5896a
2026-08-25 20:36:41,219 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7b1b5b62-53f7-49a1-8a04-cba2cb0b93f7
2026-08-25 20:36:41,231 - DEBUG - ==>Verifying data for policy with id: 9d1246b2-428d-4b09-82c1-42262ef3d1b6, fqn: ['default-domain', 'ctest-TestBasicPolicy-31017816', 'ctest-policy-allow-all-00120216']
2026-08-25 20:36:41,231 - INFO - VN ctest-vn-74816144 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-25 20:36:41,231 - DEBUG - Verifying the vn in opserver
2026-08-25 20:36:41,231 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31017816:ctest-vn-74816144 virtual network link through opserver 10.0.0.33
2026-08-25 20:36:41,231 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-08-25 20:36:41,243 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31017816:ctest-vn-74816144', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31017816:ctest-vn-74816144?flat'}
2026-08-25 20:36:41,243 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31017816:ctest-vn-74816144 is found in opserver
2026-08-25 20:36:41,257 - DEBUG - Do not have enough data to verify VN in agent
2026-08-25 20:36:41,264 - DEBUG - VRF ids for VN ctest-vn-74816144: {}
2026-08-25 20:36:41,337 - DEBUG - Services list from nova: [