2026-11-16 20:41:57,699 - INFO - Domain Default found not creating
2026-11-16 20:41:57,883 - INFO - Project ctest-TestBasicPolicy-28305319 not found, creating it
2026-11-16 20:41:58,369 - INFO - Created Project:ctest-TestBasicPolicy-28305319, ID : 25faef52-7178-426e-9053-68a677ecf89d
2026-11-16 20:42:00,068 - INFO - ================================================================================
2026-11-16 20:42:00,068 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-16 20:42:00,068 - 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-11-16 20:42:00,322 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with
2026-11-16 20:42:00,322 - INFO - Initial checks done. Running the testcase now
2026-11-16 20:42:00,322 - INFO -
2026-11-16 20:42:00,943 - DEBUG - Response for create_network : {'network': {'id': 'a2611925-4a33-4ff4-90b6-023d9a633e7c', 'name': 'ctest-vn-41237330', 'tenant_id': '25faef527178426e905368a677ecf89d', 'project_id': '25faef527178426e905368a677ecf89d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28305319', 'ctest-vn-41237330'], 'port_security_enabled': True, 'description': ''}}
2026-11-16 20:42:01,160 - DEBUG - Response for create_subnet : {'subnet': {'id': '6303d0cf-7697-47f5-b5e7-3f26226530e1', 'name': '', 'tenant_id': '25faef527178426e905368a677ecf89d', 'network_id': 'a2611925-4a33-4ff4-90b6-023d9a633e7c', 'ip_version': 4, 'cidr': '67.113.27.128/26', 'allocation_pools': [{'start': '67.113.27.130', 'end': '67.113.27.190'}], 'gateway_ip': '67.113.27.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.113.27.130', 'tags': [], 'project_id': '25faef527178426e905368a677ecf89d'}}
2026-11-16 20:42:01,177 - INFO - Created VN ctest-vn-41237330
2026-11-16 20:42:01,227 - DEBUG - VN ctest-vn-41237330 UUID is a2611925-4a33-4ff4-90b6-023d9a633e7c
2026-11-16 20:42:01,563 - DEBUG - Response for create_network : {'network': {'id': 'eb20ea3f-cb6f-4355-9a09-83211f78fe23', 'name': 'ctest-vn-69449517', 'tenant_id': '25faef527178426e905368a677ecf89d', 'project_id': '25faef527178426e905368a677ecf89d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28305319', 'ctest-vn-69449517'], 'port_security_enabled': True, 'description': ''}}
2026-11-16 20:42:01,741 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ce08bae3-6f6a-46f9-b1ab-40018054cff5', 'name': '', 'tenant_id': '25faef527178426e905368a677ecf89d', 'network_id': 'eb20ea3f-cb6f-4355-9a09-83211f78fe23', 'ip_version': 4, 'cidr': '92.229.234.0/26', 'allocation_pools': [{'start': '92.229.234.2', 'end': '92.229.234.62'}], 'gateway_ip': '92.229.234.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.229.234.2', 'tags': [], 'project_id': '25faef527178426e905368a677ecf89d'}}
2026-11-16 20:42:01,758 - INFO - Created VN ctest-vn-69449517
2026-11-16 20:42:01,812 - DEBUG - VN ctest-vn-69449517 UUID is eb20ea3f-cb6f-4355-9a09-83211f78fe23
2026-11-16 20:42:01,963 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28305319:ctest-vn-41237330, 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-28305319:ctest-vn-69449517, 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-11-16 20:42:02,262 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a2611925-4a33-4ff4-90b6-023d9a633e7c', 'name': 'ctest-vn-41237330', 'tenant_id': '25faef527178426e905368a677ecf89d', 'project_id': '25faef527178426e905368a677ecf89d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['6303d0cf-7697-47f5-b5e7-3f26226530e1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28305319', 'ctest-vn-41237330'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28305319', 'ctest-policy-allow-all-32374923']], 'subnet_ipam': [{'subnet_cidr': '67.113.27.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-16 20:42:02,491 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eb20ea3f-cb6f-4355-9a09-83211f78fe23', 'name': 'ctest-vn-69449517', 'tenant_id': '25faef527178426e905368a677ecf89d', 'project_id': '25faef527178426e905368a677ecf89d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['ce08bae3-6f6a-46f9-b1ab-40018054cff5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28305319', 'ctest-vn-69449517'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28305319', 'ctest-policy-allow-all-32374923']], 'subnet_ipam': [{'subnet_cidr': '92.229.234.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-16 20:42:02,655 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-16 20:42:03,024 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-16 20:42:03,052 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e8f52c7a-86a1-4fa2-8847-5109de309e2c
2026-11-16 20:42:03,063 - DEBUG - Requesting: http://10.0.0.38:8082/project/25faef52-7178-426e-9053-68a677ecf89d
2026-11-16 20:42:03,138 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a2611925-4a33-4ff4-90b6-023d9a633e7c
2026-11-16 20:42:03,149 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a2611925-4a33-4ff4-90b6-023d9a633e7c
2026-11-16 20:42:03,158 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2b4591c3-13e9-4102-a367-8b91ff3b44ae
2026-11-16 20:42:03,166 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2b4591c3-13e9-4102-a367-8b91ff3b44ae
2026-11-16 20:42:03,174 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/298f963d-c163-4904-87f9-898d13eb791f
2026-11-16 20:42:03,181 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-16 20:42:03,181 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a2611925-4a33-4ff4-90b6-023d9a633e7c
2026-11-16 20:42:03,192 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2b4591c3-13e9-4102-a367-8b91ff3b44ae
2026-11-16 20:42:03,205 - INFO - Verified VN network id 12 for VN a2611925-4a33-4ff4-90b6-023d9a633e7c
2026-11-16 20:42:03,205 - INFO - Verifications in API Server for VN ctest-vn-41237330 passed
2026-11-16 20:42:03,205 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a2611925-4a33-4ff4-90b6-023d9a633e7c
2026-11-16 20:42:03,215 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2b4591c3-13e9-4102-a367-8b91ff3b44ae
2026-11-16 20:42:03,222 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2b4591c3-13e9-4102-a367-8b91ff3b44ae
2026-11-16 20:42:03,229 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/298f963d-c163-4904-87f9-898d13eb791f
2026-11-16 20:42:03,242 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28305319:ctest-vn-41237330', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28305319', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11700660954834620404', 'uuid-lslong': '10427524450829418108'}, 'enable': 'true', 'created': '2026-11-16T20:42:00', 'last-modified': '2026-11-16T20:42:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.005665'}
2026-11-16 20:42:03,249 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-16 20:42:03,249 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41237330 passed
2026-11-16 20:42:03,249 - DEBUG - ====Verifying policy data for ctest-vn-41237330 in API_Server ======
2026-11-16 20:42:03,249 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-16 20:42:03,254 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e8f52c7a-86a1-4fa2-8847-5109de309e2c
2026-11-16 20:42:03,264 - DEBUG - Requesting: http://10.0.0.38:8082/project/25faef52-7178-426e-9053-68a677ecf89d
2026-11-16 20:42:03,336 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a2611925-4a33-4ff4-90b6-023d9a633e7c
2026-11-16 20:42:03,346 - DEBUG - ==>Verifying data for policy with id: 09559ee1-905d-48c6-897f-a017d83a327d, fqn: ['default-domain', 'ctest-TestBasicPolicy-28305319', 'ctest-policy-allow-all-32374923']
2026-11-16 20:42:03,346 - INFO - VN ctest-vn-41237330 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-16 20:42:03,346 - DEBUG - Verifying the vn in opserver
2026-11-16 20:42:03,347 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28305319:ctest-vn-41237330 virtual network link through opserver 10.0.0.38
2026-11-16 20:42:03,347 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-11-16 20:42:03,712 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-11-16 20:42:03,764 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28305319:ctest-vn-41237330', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28305319:ctest-vn-41237330?flat'}
2026-11-16 20:42:03,764 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28305319:ctest-vn-41237330 is found in opserver
2026-11-16 20:42:03,774 - DEBUG - Do not have enough data to verify VN in agent
2026-11-16 20:42:03,778 - DEBUG - VRF ids for VN ctest-vn-41237330: {}
2026-11-16 20:42:03,778 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-16 20:42:03,783 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e8f52c7a-86a1-4fa2-8847-5109de309e2c
2026-11-16 20:42:03,794 - DEBUG - Requesting: http://10.0.0.38:8082/project/25faef52-7178-426e-9053-68a677ecf89d
2026-11-16 20:42:03,871 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eb20ea3f-cb6f-4355-9a09-83211f78fe23
2026-11-16 20:42:03,882 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eb20ea3f-cb6f-4355-9a09-83211f78fe23
2026-11-16 20:42:03,891 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a7790721-0b32-4cac-926a-e23158a7c29b
2026-11-16 20:42:03,898 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a7790721-0b32-4cac-926a-e23158a7c29b
2026-11-16 20:42:03,905 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/56ed6b5c-206e-4bbb-ac73-087db1471d4d
2026-11-16 20:42:03,911 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-16 20:42:03,911 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eb20ea3f-cb6f-4355-9a09-83211f78fe23
2026-11-16 20:42:03,919 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a7790721-0b32-4cac-926a-e23158a7c29b
2026-11-16 20:42:03,932 - INFO - Verified VN network id 13 for VN eb20ea3f-cb6f-4355-9a09-83211f78fe23
2026-11-16 20:42:03,932 - INFO - Verifications in API Server for VN ctest-vn-69449517 passed
2026-11-16 20:42:03,932 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eb20ea3f-cb6f-4355-9a09-83211f78fe23
2026-11-16 20:42:03,941 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a7790721-0b32-4cac-926a-e23158a7c29b
2026-11-16 20:42:03,947 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a7790721-0b32-4cac-926a-e23158a7c29b
2026-11-16 20:42:03,953 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/56ed6b5c-206e-4bbb-ac73-087db1471d4d
2026-11-16 20:42:03,965 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28305319:ctest-vn-69449517', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28305319', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16942799357884711765', 'uuid-lslong': '11099546934916480547'}, 'enable': 'true', 'created': '2026-11-16T20:42:01', 'last-modified': '2026-11-16T20:42:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.499917'}
2026-11-16 20:42:03,971 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-16 20:42:03,972 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69449517 passed
2026-11-16 20:42:03,972 - DEBUG - ====Verifying policy data for ctest-vn-69449517 in API_Server ======
2026-11-16 20:42:03,972 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-16 20:42:03,977 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e8f52c7a-86a1-4fa2-8847-5109de309e2c
2026-11-16 20:42:03,987 - DEBUG - Requesting: http://10.0.0.38:8082/project/25faef52-7178-426e-9053-68a677ecf89d
2026-11-16 20:42:04,067 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eb20ea3f-cb6f-4355-9a09-83211f78fe23
2026-11-16 20:42:04,080 - DEBUG - ==>Verifying data for policy with id: 09559ee1-905d-48c6-897f-a017d83a327d, fqn: ['default-domain', 'ctest-TestBasicPolicy-28305319', 'ctest-policy-allow-all-32374923']
2026-11-16 20:42:04,080 - INFO - VN ctest-vn-69449517 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-16 20:42:04,080 - DEBUG - Verifying the vn in opserver
2026-11-16 20:42:04,080 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28305319:ctest-vn-69449517 virtual network link through opserver 10.0.0.38
2026-11-16 20:42:04,080 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-11-16 20:42:04,090 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28305319:ctest-vn-69449517', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28305319:ctest-vn-69449517?flat'}
2026-11-16 20:42:04,090 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28305319:ctest-vn-69449517 is found in opserver
2026-11-16 20:42:04,102 - DEBUG - Do not have enough data to verify VN in agent
2026-11-16 20:42:04,108 - DEBUG - VRF ids for VN ctest-vn-69449517: {}
2026-11-16 20:42:04,169 - DEBUG - Services list from nova: [