2026-05-19 15:44:00,864 - INFO - Domain Default found not creating
2026-05-19 15:44:01,057 - INFO - Project ctest-TestBasicPolicy-10755622 not found, creating it
2026-05-19 15:44:01,547 - INFO - Created Project:ctest-TestBasicPolicy-10755622, ID : fbfaa60e-4b29-4cab-a929-2bac8a6c19f0
2026-05-19 15:44:03,142 - INFO - ================================================================================
2026-05-19 15:44:03,142 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-05-19 15:44:03,142 - 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-19 15:44:03,396 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with
2026-05-19 15:44:03,396 - INFO - Initial checks done. Running the testcase now
2026-05-19 15:44:03,396 - INFO -
2026-05-19 15:44:03,953 - DEBUG - Response for create_network : {'network': {'id': 'd2274212-a490-4add-94c1-e75076b29e8c', 'name': 'ctest-vn-90324947', 'tenant_id': 'fbfaa60e4b294caba9292bac8a6c19f0', 'project_id': 'fbfaa60e4b294caba9292bac8a6c19f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10755622', 'ctest-vn-90324947'], 'port_security_enabled': True, 'description': ''}}
2026-05-19 15:44:04,144 - DEBUG - Response for create_subnet : {'subnet': {'id': 'daff50be-eb18-4d0e-8246-adc19aad6a56', 'name': '', 'tenant_id': 'fbfaa60e4b294caba9292bac8a6c19f0', 'network_id': 'd2274212-a490-4add-94c1-e75076b29e8c', 'ip_version': 4, 'cidr': '94.175.174.0/26', 'allocation_pools': [{'start': '94.175.174.2', 'end': '94.175.174.62'}], 'gateway_ip': '94.175.174.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.175.174.2', 'tags': [], 'project_id': 'fbfaa60e4b294caba9292bac8a6c19f0'}}
2026-05-19 15:44:04,163 - INFO - Created VN ctest-vn-90324947
2026-05-19 15:44:04,218 - DEBUG - VN ctest-vn-90324947 UUID is d2274212-a490-4add-94c1-e75076b29e8c
2026-05-19 15:44:04,514 - DEBUG - Response for create_network : {'network': {'id': 'c0629a19-6138-4586-860c-fa712285bd79', 'name': 'ctest-vn-98886417', 'tenant_id': 'fbfaa60e4b294caba9292bac8a6c19f0', 'project_id': 'fbfaa60e4b294caba9292bac8a6c19f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10755622', 'ctest-vn-98886417'], 'port_security_enabled': True, 'description': ''}}
2026-05-19 15:44:04,681 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a57b0cbc-2c99-4235-9daa-3ab14421a8aa', 'name': '', 'tenant_id': 'fbfaa60e4b294caba9292bac8a6c19f0', 'network_id': 'c0629a19-6138-4586-860c-fa712285bd79', 'ip_version': 4, 'cidr': '36.105.209.0/26', 'allocation_pools': [{'start': '36.105.209.2', 'end': '36.105.209.62'}], 'gateway_ip': '36.105.209.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.105.209.2', 'tags': [], 'project_id': 'fbfaa60e4b294caba9292bac8a6c19f0'}}
2026-05-19 15:44:04,701 - INFO - Created VN ctest-vn-98886417
2026-05-19 15:44:04,754 - DEBUG - VN ctest-vn-98886417 UUID is c0629a19-6138-4586-860c-fa712285bd79
2026-05-19 15:44:04,875 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-10755622:ctest-vn-90324947, 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-10755622:ctest-vn-98886417, 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-19 15:44:05,182 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd2274212-a490-4add-94c1-e75076b29e8c', 'name': 'ctest-vn-90324947', 'tenant_id': 'fbfaa60e4b294caba9292bac8a6c19f0', 'project_id': 'fbfaa60e4b294caba9292bac8a6c19f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['daff50be-eb18-4d0e-8246-adc19aad6a56'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10755622', 'ctest-vn-90324947'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10755622', 'ctest-policy-allow-all-48834331']], 'subnet_ipam': [{'subnet_cidr': '94.175.174.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-19 15:44:05,414 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c0629a19-6138-4586-860c-fa712285bd79', 'name': 'ctest-vn-98886417', 'tenant_id': 'fbfaa60e4b294caba9292bac8a6c19f0', 'project_id': 'fbfaa60e4b294caba9292bac8a6c19f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a57b0cbc-2c99-4235-9daa-3ab14421a8aa'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10755622', 'ctest-vn-98886417'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10755622', 'ctest-policy-allow-all-48834331']], 'subnet_ipam': [{'subnet_cidr': '36.105.209.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-19 15:44:05,586 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-05-19 15:44:05,885 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-05-19 15:44:05,926 - DEBUG - Requesting: http://10.0.0.19:8082/domain/5f0da55d-23b0-4dab-8815-139d8cab4a2c
2026-05-19 15:44:05,939 - DEBUG - Requesting: http://10.0.0.19:8082/project/fbfaa60e-4b29-4cab-a929-2bac8a6c19f0
2026-05-19 15:44:06,017 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d2274212-a490-4add-94c1-e75076b29e8c
2026-05-19 15:44:06,029 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d2274212-a490-4add-94c1-e75076b29e8c
2026-05-19 15:44:06,038 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/50609d55-e567-425c-93d2-32f0b25c400c
2026-05-19 15:44:06,046 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/50609d55-e567-425c-93d2-32f0b25c400c
2026-05-19 15:44:06,054 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/13f98e69-353d-489b-854c-8d956ecb3aab
2026-05-19 15:44:06,061 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-19 15:44:06,061 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d2274212-a490-4add-94c1-e75076b29e8c
2026-05-19 15:44:06,072 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/50609d55-e567-425c-93d2-32f0b25c400c
2026-05-19 15:44:06,088 - INFO - Verified VN network id 11 for VN d2274212-a490-4add-94c1-e75076b29e8c
2026-05-19 15:44:06,088 - INFO - Verifications in API Server for VN ctest-vn-90324947 passed
2026-05-19 15:44:06,088 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d2274212-a490-4add-94c1-e75076b29e8c
2026-05-19 15:44:06,098 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/50609d55-e567-425c-93d2-32f0b25c400c
2026-05-19 15:44:06,105 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/50609d55-e567-425c-93d2-32f0b25c400c
2026-05-19 15:44:06,112 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/13f98e69-353d-489b-854c-8d956ecb3aab
2026-05-19 15:44:06,124 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10755622:ctest-vn-90324947', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10755622', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15143144919894346461', 'uuid-lslong': '10719102920893308556'}, 'enable': 'true', 'created': '2026-05-19T15:44:03', 'last-modified': '2026-05-19T15:44:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.963328'}
2026-05-19 15:44:06,130 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-19 15:44:06,130 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90324947 passed
2026-05-19 15:44:06,130 - DEBUG - ====Verifying policy data for ctest-vn-90324947 in API_Server ======
2026-05-19 15:44:06,130 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-05-19 15:44:06,136 - DEBUG - Requesting: http://10.0.0.19:8082/domain/5f0da55d-23b0-4dab-8815-139d8cab4a2c
2026-05-19 15:44:06,146 - DEBUG - Requesting: http://10.0.0.19:8082/project/fbfaa60e-4b29-4cab-a929-2bac8a6c19f0
2026-05-19 15:44:06,214 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d2274212-a490-4add-94c1-e75076b29e8c
2026-05-19 15:44:06,223 - DEBUG - ==>Verifying data for policy with id: 77e59b46-de0e-4d29-90d1-2d1050288370, fqn: ['default-domain', 'ctest-TestBasicPolicy-10755622', 'ctest-policy-allow-all-48834331']
2026-05-19 15:44:06,223 - INFO - VN ctest-vn-90324947 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-19 15:44:06,223 - DEBUG - Verifying the vn in opserver
2026-05-19 15:44:06,223 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10755622:ctest-vn-90324947 virtual network link through opserver 10.0.0.19
2026-05-19 15:44:06,223 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-05-19 15:44:06,534 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-05-19 15:44:06,605 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10755622:ctest-vn-90324947', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10755622:ctest-vn-90324947?flat'}
2026-05-19 15:44:06,605 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10755622:ctest-vn-90324947 is found in opserver
2026-05-19 15:44:06,614 - DEBUG - Do not have enough data to verify VN in agent
2026-05-19 15:44:06,619 - DEBUG - VRF ids for VN ctest-vn-90324947: {}
2026-05-19 15:44:06,619 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-05-19 15:44:06,624 - DEBUG - Requesting: http://10.0.0.19:8082/domain/5f0da55d-23b0-4dab-8815-139d8cab4a2c
2026-05-19 15:44:06,634 - DEBUG - Requesting: http://10.0.0.19:8082/project/fbfaa60e-4b29-4cab-a929-2bac8a6c19f0
2026-05-19 15:44:06,709 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c0629a19-6138-4586-860c-fa712285bd79
2026-05-19 15:44:06,724 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c0629a19-6138-4586-860c-fa712285bd79
2026-05-19 15:44:06,735 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/6f5595ad-2083-41e6-b1ec-d2e619fec929
2026-05-19 15:44:06,743 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/6f5595ad-2083-41e6-b1ec-d2e619fec929
2026-05-19 15:44:06,749 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/5644e5e1-7601-4806-8a6e-8ba56c604bf6
2026-05-19 15:44:06,757 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-19 15:44:06,757 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c0629a19-6138-4586-860c-fa712285bd79
2026-05-19 15:44:06,767 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/6f5595ad-2083-41e6-b1ec-d2e619fec929
2026-05-19 15:44:06,786 - INFO - Verified VN network id 12 for VN c0629a19-6138-4586-860c-fa712285bd79
2026-05-19 15:44:06,787 - INFO - Verifications in API Server for VN ctest-vn-98886417 passed
2026-05-19 15:44:06,787 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c0629a19-6138-4586-860c-fa712285bd79
2026-05-19 15:44:06,798 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/6f5595ad-2083-41e6-b1ec-d2e619fec929
2026-05-19 15:44:06,807 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/6f5595ad-2083-41e6-b1ec-d2e619fec929
2026-05-19 15:44:06,815 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/5644e5e1-7601-4806-8a6e-8ba56c604bf6
2026-05-19 15:44:06,830 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10755622:ctest-vn-98886417', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10755622', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13862812036795745670', 'uuid-lslong': '9659370664620309881'}, 'enable': 'true', 'created': '2026-05-19T15:44:04', 'last-modified': '2026-05-19T15:44:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.433960'}
2026-05-19 15:44:06,836 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-19 15:44:06,837 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-98886417 passed
2026-05-19 15:44:06,837 - DEBUG - ====Verifying policy data for ctest-vn-98886417 in API_Server ======
2026-05-19 15:44:06,837 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-05-19 15:44:06,842 - DEBUG - Requesting: http://10.0.0.19:8082/domain/5f0da55d-23b0-4dab-8815-139d8cab4a2c
2026-05-19 15:44:06,853 - DEBUG - Requesting: http://10.0.0.19:8082/project/fbfaa60e-4b29-4cab-a929-2bac8a6c19f0
2026-05-19 15:44:06,923 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c0629a19-6138-4586-860c-fa712285bd79
2026-05-19 15:44:06,945 - DEBUG - ==>Verifying data for policy with id: 77e59b46-de0e-4d29-90d1-2d1050288370, fqn: ['default-domain', 'ctest-TestBasicPolicy-10755622', 'ctest-policy-allow-all-48834331']
2026-05-19 15:44:06,946 - INFO - VN ctest-vn-98886417 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-19 15:44:06,946 - DEBUG - Verifying the vn in opserver
2026-05-19 15:44:06,946 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10755622:ctest-vn-98886417 virtual network link through opserver 10.0.0.19
2026-05-19 15:44:06,946 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-05-19 15:44:06,956 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10755622:ctest-vn-98886417', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10755622:ctest-vn-98886417?flat'}
2026-05-19 15:44:06,956 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10755622:ctest-vn-98886417 is found in opserver
2026-05-19 15:44:06,967 - DEBUG - Do not have enough data to verify VN in agent
2026-05-19 15:44:06,972 - DEBUG - VRF ids for VN ctest-vn-98886417: {}
2026-05-19 15:44:07,033 - DEBUG - Services list from nova: [