2026-01-06 04:13:46,113 - INFO - Domain Default found not creating
2026-01-06 04:13:46,273 - INFO - Project ctest-TestBasicPolicy-51887495 not found, creating it
2026-01-06 04:13:46,724 - INFO - Created Project:ctest-TestBasicPolicy-51887495, ID : ae0efbae-7a80-4135-a26c-0f94f781f37e
2026-01-06 04:13:48,311 - INFO - ================================================================================
2026-01-06 04:13:48,312 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-06 04:13:48,312 - 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-01-06 04:13:48,568 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2026-01-06 04:13:48,568 - INFO - Initial checks done. Running the testcase now
2026-01-06 04:13:48,568 - INFO -
2026-01-06 04:13:49,102 - DEBUG - Response for create_network : {'network': {'id': 'af2108b1-3102-4eca-88c4-add3d6098f54', 'name': 'ctest-vn-31124752', 'tenant_id': 'ae0efbae7a804135a26c0f94f781f37e', 'project_id': 'ae0efbae7a804135a26c0f94f781f37e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51887495', 'ctest-vn-31124752'], 'port_security_enabled': True, 'description': ''}}
2026-01-06 04:13:49,264 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ab9f5c7-f683-41ac-a6d8-b5f8ea95721a', 'name': '', 'tenant_id': 'ae0efbae7a804135a26c0f94f781f37e', 'network_id': 'af2108b1-3102-4eca-88c4-add3d6098f54', 'ip_version': 4, 'cidr': '3.139.67.64/26', 'allocation_pools': [{'start': '3.139.67.66', 'end': '3.139.67.126'}], 'gateway_ip': '3.139.67.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.139.67.66', 'tags': [], 'project_id': 'ae0efbae7a804135a26c0f94f781f37e'}}
2026-01-06 04:13:49,281 - INFO - Created VN ctest-vn-31124752
2026-01-06 04:13:49,331 - DEBUG - VN ctest-vn-31124752 UUID is af2108b1-3102-4eca-88c4-add3d6098f54
2026-01-06 04:13:49,636 - DEBUG - Response for create_network : {'network': {'id': '3c4ed161-1e5f-412d-bacf-a8a7212634d9', 'name': 'ctest-vn-71247094', 'tenant_id': 'ae0efbae7a804135a26c0f94f781f37e', 'project_id': 'ae0efbae7a804135a26c0f94f781f37e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51887495', 'ctest-vn-71247094'], 'port_security_enabled': True, 'description': ''}}
2026-01-06 04:13:49,831 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae9da260-d47f-41a0-946a-4ca12167704d', 'name': '', 'tenant_id': 'ae0efbae7a804135a26c0f94f781f37e', 'network_id': '3c4ed161-1e5f-412d-bacf-a8a7212634d9', 'ip_version': 4, 'cidr': '93.107.205.0/26', 'allocation_pools': [{'start': '93.107.205.2', 'end': '93.107.205.62'}], 'gateway_ip': '93.107.205.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.107.205.2', 'tags': [], 'project_id': 'ae0efbae7a804135a26c0f94f781f37e'}}
2026-01-06 04:13:49,847 - INFO - Created VN ctest-vn-71247094
2026-01-06 04:13:49,899 - DEBUG - VN ctest-vn-71247094 UUID is 3c4ed161-1e5f-412d-bacf-a8a7212634d9
2026-01-06 04:13:50,054 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-51887495:ctest-vn-31124752, 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-51887495:ctest-vn-71247094, 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-01-06 04:13:50,340 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'af2108b1-3102-4eca-88c4-add3d6098f54', 'name': 'ctest-vn-31124752', 'tenant_id': 'ae0efbae7a804135a26c0f94f781f37e', 'project_id': 'ae0efbae7a804135a26c0f94f781f37e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5ab9f5c7-f683-41ac-a6d8-b5f8ea95721a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51887495', 'ctest-vn-31124752'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51887495', 'ctest-policy-allow-all-55191590']], 'subnet_ipam': [{'subnet_cidr': '3.139.67.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-06 04:13:50,575 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3c4ed161-1e5f-412d-bacf-a8a7212634d9', 'name': 'ctest-vn-71247094', 'tenant_id': 'ae0efbae7a804135a26c0f94f781f37e', 'project_id': 'ae0efbae7a804135a26c0f94f781f37e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ae9da260-d47f-41a0-946a-4ca12167704d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51887495', 'ctest-vn-71247094'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51887495', 'ctest-policy-allow-all-55191590']], 'subnet_ipam': [{'subnet_cidr': '93.107.205.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-06 04:13:50,739 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-01-06 04:13:51,034 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-01-06 04:13:51,064 - DEBUG - Requesting: http://10.0.0.33:8082/domain/bbe84470-f704-4e92-836b-35ba110c8624
2026-01-06 04:13:51,077 - DEBUG - Requesting: http://10.0.0.33:8082/project/ae0efbae-7a80-4135-a26c-0f94f781f37e
2026-01-06 04:13:51,153 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/af2108b1-3102-4eca-88c4-add3d6098f54
2026-01-06 04:13:51,165 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/af2108b1-3102-4eca-88c4-add3d6098f54
2026-01-06 04:13:51,176 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ff195b31-1329-4fb8-a38f-43d28c7fa574
2026-01-06 04:13:51,184 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ff195b31-1329-4fb8-a38f-43d28c7fa574
2026-01-06 04:13:51,192 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/1e38f209-1560-4449-b528-95fee94c7c11
2026-01-06 04:13:51,200 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-06 04:13:51,200 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/af2108b1-3102-4eca-88c4-add3d6098f54
2026-01-06 04:13:51,211 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ff195b31-1329-4fb8-a38f-43d28c7fa574
2026-01-06 04:13:51,230 - INFO - Verified VN network id 10 for VN af2108b1-3102-4eca-88c4-add3d6098f54
2026-01-06 04:13:51,230 - INFO - Verifications in API Server for VN ctest-vn-31124752 passed
2026-01-06 04:13:51,230 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/af2108b1-3102-4eca-88c4-add3d6098f54
2026-01-06 04:13:51,241 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ff195b31-1329-4fb8-a38f-43d28c7fa574
2026-01-06 04:13:51,250 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ff195b31-1329-4fb8-a38f-43d28c7fa574
2026-01-06 04:13:51,258 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/1e38f209-1560-4449-b528-95fee94c7c11
2026-01-06 04:13:51,272 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51887495:ctest-vn-31124752', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51887495', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12619377187993308874', 'uuid-lslong': '9855193009934143316'}, 'enable': 'true', 'created': '2026-01-06T04:13:49', 'last-modified': '2026-01-06T04:13:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.949950'}
2026-01-06 04:13:51,279 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-06 04:13:51,279 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31124752 passed
2026-01-06 04:13:51,280 - DEBUG - ====Verifying policy data for ctest-vn-31124752 in API_Server ======
2026-01-06 04:13:51,280 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-01-06 04:13:51,286 - DEBUG - Requesting: http://10.0.0.33:8082/domain/bbe84470-f704-4e92-836b-35ba110c8624
2026-01-06 04:13:51,298 - DEBUG - Requesting: http://10.0.0.33:8082/project/ae0efbae-7a80-4135-a26c-0f94f781f37e
2026-01-06 04:13:51,374 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/af2108b1-3102-4eca-88c4-add3d6098f54
2026-01-06 04:13:51,384 - DEBUG - ==>Verifying data for policy with id: c7bb3d8c-a8d7-409e-93e9-e36a30c7ab38, fqn: ['default-domain', 'ctest-TestBasicPolicy-51887495', 'ctest-policy-allow-all-55191590']
2026-01-06 04:13:51,384 - INFO - VN ctest-vn-31124752 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-06 04:13:51,384 - DEBUG - Verifying the vn in opserver
2026-01-06 04:13:51,384 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51887495:ctest-vn-31124752 virtual network link through opserver 10.0.0.33
2026-01-06 04:13:51,384 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-01-06 04:13:51,685 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-01-06 04:13:51,749 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51887495:ctest-vn-31124752', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51887495:ctest-vn-31124752?flat'}
2026-01-06 04:13:51,749 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51887495:ctest-vn-31124752 is found in opserver
2026-01-06 04:13:51,759 - DEBUG - Do not have enough data to verify VN in agent
2026-01-06 04:13:51,763 - DEBUG - VRF ids for VN ctest-vn-31124752: {}
2026-01-06 04:13:51,764 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-01-06 04:13:51,769 - DEBUG - Requesting: http://10.0.0.33:8082/domain/bbe84470-f704-4e92-836b-35ba110c8624
2026-01-06 04:13:51,778 - DEBUG - Requesting: http://10.0.0.33:8082/project/ae0efbae-7a80-4135-a26c-0f94f781f37e
2026-01-06 04:13:51,851 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3c4ed161-1e5f-412d-bacf-a8a7212634d9
2026-01-06 04:13:51,865 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3c4ed161-1e5f-412d-bacf-a8a7212634d9
2026-01-06 04:13:51,875 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/d9dead61-d388-4c2d-86a0-a28dcd2c313c
2026-01-06 04:13:51,882 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/d9dead61-d388-4c2d-86a0-a28dcd2c313c
2026-01-06 04:13:51,889 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/22d56921-0746-460d-a6ec-3a57a799fb49
2026-01-06 04:13:51,897 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-06 04:13:51,897 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3c4ed161-1e5f-412d-bacf-a8a7212634d9
2026-01-06 04:13:51,907 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/d9dead61-d388-4c2d-86a0-a28dcd2c313c
2026-01-06 04:13:51,921 - INFO - Verified VN network id 11 for VN 3c4ed161-1e5f-412d-bacf-a8a7212634d9
2026-01-06 04:13:51,921 - INFO - Verifications in API Server for VN ctest-vn-71247094 passed
2026-01-06 04:13:51,921 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3c4ed161-1e5f-412d-bacf-a8a7212634d9
2026-01-06 04:13:51,930 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/d9dead61-d388-4c2d-86a0-a28dcd2c313c
2026-01-06 04:13:51,936 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/d9dead61-d388-4c2d-86a0-a28dcd2c313c
2026-01-06 04:13:51,943 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/22d56921-0746-460d-a6ec-3a57a799fb49
2026-01-06 04:13:51,953 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51887495:ctest-vn-71247094', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51887495', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4345640905510699309', 'uuid-lslong': '13461163247002858713'}, 'enable': 'true', 'created': '2026-01-06T04:13:49', 'last-modified': '2026-01-06T04:13:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.404488'}
2026-01-06 04:13:51,959 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-06 04:13:51,959 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71247094 passed
2026-01-06 04:13:51,959 - DEBUG - ====Verifying policy data for ctest-vn-71247094 in API_Server ======
2026-01-06 04:13:51,959 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-01-06 04:13:51,965 - DEBUG - Requesting: http://10.0.0.33:8082/domain/bbe84470-f704-4e92-836b-35ba110c8624
2026-01-06 04:13:51,976 - DEBUG - Requesting: http://10.0.0.33:8082/project/ae0efbae-7a80-4135-a26c-0f94f781f37e
2026-01-06 04:13:52,047 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3c4ed161-1e5f-412d-bacf-a8a7212634d9
2026-01-06 04:13:52,060 - DEBUG - ==>Verifying data for policy with id: c7bb3d8c-a8d7-409e-93e9-e36a30c7ab38, fqn: ['default-domain', 'ctest-TestBasicPolicy-51887495', 'ctest-policy-allow-all-55191590']
2026-01-06 04:13:52,060 - INFO - VN ctest-vn-71247094 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-06 04:13:52,060 - DEBUG - Verifying the vn in opserver
2026-01-06 04:13:52,060 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51887495:ctest-vn-71247094 virtual network link through opserver 10.0.0.33
2026-01-06 04:13:52,060 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-01-06 04:13:52,071 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51887495:ctest-vn-71247094', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51887495:ctest-vn-71247094?flat'}
2026-01-06 04:13:52,071 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51887495:ctest-vn-71247094 is found in opserver
2026-01-06 04:13:52,080 - DEBUG - Do not have enough data to verify VN in agent
2026-01-06 04:13:52,085 - DEBUG - VRF ids for VN ctest-vn-71247094: {}
2026-01-06 04:13:52,148 - DEBUG - Services list from nova: [