2026-02-04 10:06:14,293 - INFO - Domain Default found not creating
2026-02-04 10:06:14,455 - INFO - Project ctest-TestBasicPolicy-59700068 not found, creating it
2026-02-04 10:06:14,904 - INFO - Created Project:ctest-TestBasicPolicy-59700068, ID : 82b2cd7e-1cef-4b43-829a-33d74ffe7ac0
2026-02-04 10:06:16,310 - INFO - ================================================================================
2026-02-04 10:06:16,310 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-04 10:06:16,310 - 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-04 10:06:16,563 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-02-04 10:06:16,563 - INFO - Initial checks done. Running the testcase now
2026-02-04 10:06:16,563 - INFO -
2026-02-04 10:06:17,104 - DEBUG - Response for create_network : {'network': {'id': '5818710c-5752-453f-a074-206f546d40fa', 'name': 'ctest-vn-91696675', 'tenant_id': '82b2cd7e1cef4b43829a33d74ffe7ac0', 'project_id': '82b2cd7e1cef4b43829a33d74ffe7ac0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59700068', 'ctest-vn-91696675'], 'port_security_enabled': True, 'description': ''}}
2026-02-04 10:06:17,279 - DEBUG - Response for create_subnet : {'subnet': {'id': '31fbe59c-9c32-4749-bbbf-b3e0fcbbdaae', 'name': '', 'tenant_id': '82b2cd7e1cef4b43829a33d74ffe7ac0', 'network_id': '5818710c-5752-453f-a074-206f546d40fa', 'ip_version': 4, 'cidr': '99.223.93.128/26', 'allocation_pools': [{'start': '99.223.93.130', 'end': '99.223.93.190'}], 'gateway_ip': '99.223.93.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.223.93.130', 'tags': [], 'project_id': '82b2cd7e1cef4b43829a33d74ffe7ac0'}}
2026-02-04 10:06:17,295 - INFO - Created VN ctest-vn-91696675
2026-02-04 10:06:17,345 - DEBUG - VN ctest-vn-91696675 UUID is 5818710c-5752-453f-a074-206f546d40fa
2026-02-04 10:06:17,652 - DEBUG - Response for create_network : {'network': {'id': '6f767850-8d2a-48bf-a5ec-4512a55e99d6', 'name': 'ctest-vn-31605256', 'tenant_id': '82b2cd7e1cef4b43829a33d74ffe7ac0', 'project_id': '82b2cd7e1cef4b43829a33d74ffe7ac0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59700068', 'ctest-vn-31605256'], 'port_security_enabled': True, 'description': ''}}
2026-02-04 10:06:17,847 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d61c8b1-5f9e-43d5-81db-33ebd6ff3f27', 'name': '', 'tenant_id': '82b2cd7e1cef4b43829a33d74ffe7ac0', 'network_id': '6f767850-8d2a-48bf-a5ec-4512a55e99d6', 'ip_version': 4, 'cidr': '163.136.117.128/26', 'allocation_pools': [{'start': '163.136.117.130', 'end': '163.136.117.190'}], 'gateway_ip': '163.136.117.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.136.117.130', 'tags': [], 'project_id': '82b2cd7e1cef4b43829a33d74ffe7ac0'}}
2026-02-04 10:06:17,863 - INFO - Created VN ctest-vn-31605256
2026-02-04 10:06:17,913 - DEBUG - VN ctest-vn-31605256 UUID is 6f767850-8d2a-48bf-a5ec-4512a55e99d6
2026-02-04 10:06:18,061 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-59700068:ctest-vn-91696675, 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-59700068:ctest-vn-31605256, 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-04 10:06:18,345 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5818710c-5752-453f-a074-206f546d40fa', 'name': 'ctest-vn-91696675', 'tenant_id': '82b2cd7e1cef4b43829a33d74ffe7ac0', 'project_id': '82b2cd7e1cef4b43829a33d74ffe7ac0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['31fbe59c-9c32-4749-bbbf-b3e0fcbbdaae'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59700068', 'ctest-vn-91696675'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59700068', 'ctest-policy-allow-all-24435073']], 'subnet_ipam': [{'subnet_cidr': '99.223.93.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-04 10:06:18,613 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6f767850-8d2a-48bf-a5ec-4512a55e99d6', 'name': 'ctest-vn-31605256', 'tenant_id': '82b2cd7e1cef4b43829a33d74ffe7ac0', 'project_id': '82b2cd7e1cef4b43829a33d74ffe7ac0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7d61c8b1-5f9e-43d5-81db-33ebd6ff3f27'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59700068', 'ctest-vn-31605256'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59700068', 'ctest-policy-allow-all-24435073']], 'subnet_ipam': [{'subnet_cidr': '163.136.117.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-04 10:06:18,758 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-04 10:06:19,060 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-04 10:06:19,090 - DEBUG - Requesting: http://10.0.0.38:8082/domain/47153d5d-ff6d-41fb-8db9-9156d15971d1
2026-02-04 10:06:19,104 - DEBUG - Requesting: http://10.0.0.38:8082/project/82b2cd7e-1cef-4b43-829a-33d74ffe7ac0
2026-02-04 10:06:19,173 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5818710c-5752-453f-a074-206f546d40fa
2026-02-04 10:06:19,183 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5818710c-5752-453f-a074-206f546d40fa
2026-02-04 10:06:19,193 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2d5cc356-ec38-4d7a-bc16-bd11ebdb7539
2026-02-04 10:06:19,200 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2d5cc356-ec38-4d7a-bc16-bd11ebdb7539
2026-02-04 10:06:19,206 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7a2de1d0-643b-4146-87ba-5a3c66db3615
2026-02-04 10:06:19,211 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-04 10:06:19,211 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5818710c-5752-453f-a074-206f546d40fa
2026-02-04 10:06:19,220 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2d5cc356-ec38-4d7a-bc16-bd11ebdb7539
2026-02-04 10:06:19,235 - INFO - Verified VN network id 12 for VN 5818710c-5752-453f-a074-206f546d40fa
2026-02-04 10:06:19,235 - INFO - Verifications in API Server for VN ctest-vn-91696675 passed
2026-02-04 10:06:19,235 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5818710c-5752-453f-a074-206f546d40fa
2026-02-04 10:06:19,243 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2d5cc356-ec38-4d7a-bc16-bd11ebdb7539
2026-02-04 10:06:19,250 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2d5cc356-ec38-4d7a-bc16-bd11ebdb7539
2026-02-04 10:06:19,255 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7a2de1d0-643b-4146-87ba-5a3c66db3615
2026-02-04 10:06:19,265 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59700068:ctest-vn-91696675', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59700068', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6347947972597269823', 'uuid-lslong': '11561901805896810746'}, 'enable': 'true', 'created': '2026-02-04T10:06:17', 'last-modified': '2026-02-04T10:06:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.939581'}
2026-02-04 10:06:19,270 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-04 10:06:19,270 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91696675 passed
2026-02-04 10:06:19,271 - DEBUG - ====Verifying policy data for ctest-vn-91696675 in API_Server ======
2026-02-04 10:06:19,271 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-04 10:06:19,275 - DEBUG - Requesting: http://10.0.0.38:8082/domain/47153d5d-ff6d-41fb-8db9-9156d15971d1
2026-02-04 10:06:19,286 - DEBUG - Requesting: http://10.0.0.38:8082/project/82b2cd7e-1cef-4b43-829a-33d74ffe7ac0
2026-02-04 10:06:19,352 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5818710c-5752-453f-a074-206f546d40fa
2026-02-04 10:06:19,360 - DEBUG - ==>Verifying data for policy with id: 84dd7258-fcb0-4cb8-b277-ea989783750c, fqn: ['default-domain', 'ctest-TestBasicPolicy-59700068', 'ctest-policy-allow-all-24435073']
2026-02-04 10:06:19,360 - INFO - VN ctest-vn-91696675 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-04 10:06:19,360 - DEBUG - Verifying the vn in opserver
2026-02-04 10:06:19,360 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59700068:ctest-vn-91696675 virtual network link through opserver 10.0.0.38
2026-02-04 10:06:19,360 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-04 10:06:19,650 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-04 10:06:19,706 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59700068:ctest-vn-91696675', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59700068:ctest-vn-91696675?flat'}
2026-02-04 10:06:19,706 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59700068:ctest-vn-91696675 is found in opserver
2026-02-04 10:06:19,714 - DEBUG - Do not have enough data to verify VN in agent
2026-02-04 10:06:19,718 - DEBUG - VRF ids for VN ctest-vn-91696675: {}
2026-02-04 10:06:19,719 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-04 10:06:19,723 - DEBUG - Requesting: http://10.0.0.38:8082/domain/47153d5d-ff6d-41fb-8db9-9156d15971d1
2026-02-04 10:06:19,734 - DEBUG - Requesting: http://10.0.0.38:8082/project/82b2cd7e-1cef-4b43-829a-33d74ffe7ac0
2026-02-04 10:06:19,802 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6f767850-8d2a-48bf-a5ec-4512a55e99d6
2026-02-04 10:06:19,811 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6f767850-8d2a-48bf-a5ec-4512a55e99d6
2026-02-04 10:06:19,820 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/007e3bd3-f8d4-4321-9e93-85d22d84c78f
2026-02-04 10:06:19,827 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/007e3bd3-f8d4-4321-9e93-85d22d84c78f
2026-02-04 10:06:19,834 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a008954d-9aef-45f7-923b-fd884e2f47da
2026-02-04 10:06:19,840 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-04 10:06:19,840 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6f767850-8d2a-48bf-a5ec-4512a55e99d6
2026-02-04 10:06:19,849 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/007e3bd3-f8d4-4321-9e93-85d22d84c78f
2026-02-04 10:06:19,862 - INFO - Verified VN network id 13 for VN 6f767850-8d2a-48bf-a5ec-4512a55e99d6
2026-02-04 10:06:19,862 - INFO - Verifications in API Server for VN ctest-vn-31605256 passed
2026-02-04 10:06:19,862 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6f767850-8d2a-48bf-a5ec-4512a55e99d6
2026-02-04 10:06:19,872 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/007e3bd3-f8d4-4321-9e93-85d22d84c78f
2026-02-04 10:06:19,878 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/007e3bd3-f8d4-4321-9e93-85d22d84c78f
2026-02-04 10:06:19,883 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a008954d-9aef-45f7-923b-fd884e2f47da
2026-02-04 10:06:19,892 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59700068:ctest-vn-31605256', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59700068', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8031739272822933695', 'uuid-lslong': '11956007057147992534'}, 'enable': 'true', 'created': '2026-02-04T10:06:17', 'last-modified': '2026-02-04T10:06:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.344900'}
2026-02-04 10:06:19,897 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-04 10:06:19,898 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31605256 passed
2026-02-04 10:06:19,898 - DEBUG - ====Verifying policy data for ctest-vn-31605256 in API_Server ======
2026-02-04 10:06:19,898 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-04 10:06:19,903 - DEBUG - Requesting: http://10.0.0.38:8082/domain/47153d5d-ff6d-41fb-8db9-9156d15971d1
2026-02-04 10:06:19,912 - DEBUG - Requesting: http://10.0.0.38:8082/project/82b2cd7e-1cef-4b43-829a-33d74ffe7ac0
2026-02-04 10:06:19,977 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6f767850-8d2a-48bf-a5ec-4512a55e99d6
2026-02-04 10:06:19,987 - DEBUG - ==>Verifying data for policy with id: 84dd7258-fcb0-4cb8-b277-ea989783750c, fqn: ['default-domain', 'ctest-TestBasicPolicy-59700068', 'ctest-policy-allow-all-24435073']
2026-02-04 10:06:19,987 - INFO - VN ctest-vn-31605256 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-04 10:06:19,987 - DEBUG - Verifying the vn in opserver
2026-02-04 10:06:19,987 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59700068:ctest-vn-31605256 virtual network link through opserver 10.0.0.38
2026-02-04 10:06:19,987 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-04 10:06:19,996 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59700068:ctest-vn-31605256', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59700068:ctest-vn-31605256?flat'}
2026-02-04 10:06:19,996 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59700068:ctest-vn-31605256 is found in opserver
2026-02-04 10:06:20,005 - DEBUG - Do not have enough data to verify VN in agent
2026-02-04 10:06:20,009 - DEBUG - VRF ids for VN ctest-vn-31605256: {}
2026-02-04 10:06:20,061 - DEBUG - Services list from nova: [