2026-04-23 01:48:03,808 - INFO - Reading existing Domain with UUID 463c1a7f-4575-42ba-bd06-1a9f36cbf244
2026-04-23 01:48:03,819 - INFO - Using existing domain ['admin_domain'](463c1a7f-4575-42ba-bd06-1a9f36cbf244)
2026-04-23 01:48:04,035 - INFO - Project ctest-TestBasicPolicy-32048818 not found, creating it
2026-04-23 01:48:04,565 - INFO - Created Project:ctest-TestBasicPolicy-32048818, ID : bbe543f6-c8ad-405a-838c-992bdd870466
2026-04-23 01:48:06,342 - INFO - ================================================================================
2026-04-23 01:48:06,342 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-04-23 01:48:06,342 - 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-04-23 01:48:06,736 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.0.0.129': '0'}} with
2026-04-23 01:48:06,736 - INFO - Initial checks done. Running the testcase now
2026-04-23 01:48:06,736 - INFO -
2026-04-23 01:48:07,531 - DEBUG - Response for create_network : {'network': {'id': 'fb804d0e-43e4-4cb7-9df0-f897bdde10f4', 'name': 'ctest-vn-05001398', 'tenant_id': 'bbe543f6c8ad405a838c992bdd870466', 'project_id': 'bbe543f6c8ad405a838c992bdd870466', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-32048818', 'ctest-vn-05001398'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-04-23 01:48:07,763 - DEBUG - Response for create_subnet : {'subnet': {'id': 'addfaa3a-2c4a-42ae-b269-807771f33a01', 'name': '', 'tenant_id': 'bbe543f6c8ad405a838c992bdd870466', 'network_id': 'fb804d0e-43e4-4cb7-9df0-f897bdde10f4', 'ip_version': 4, 'cidr': '182.224.255.192/26', 'allocation_pools': [{'start': '182.224.255.194', 'end': '182.224.255.254'}], 'gateway_ip': '182.224.255.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-04-23T01:48:07.673119', 'updated_at': '2026-04-23T01:48:07.673119', 'dns_server_address': '182.224.255.194', 'tags': [], 'project_id': 'bbe543f6c8ad405a838c992bdd870466'}}
2026-04-23 01:48:07,825 - INFO - Created VN ctest-vn-05001398
2026-04-23 01:48:07,882 - DEBUG - VN ctest-vn-05001398 UUID is fb804d0e-43e4-4cb7-9df0-f897bdde10f4
2026-04-23 01:48:08,371 - DEBUG - Response for create_network : {'network': {'id': '24897fb5-e3cb-4561-9b66-d7486177dccc', 'name': 'ctest-vn-30246757', 'tenant_id': 'bbe543f6c8ad405a838c992bdd870466', 'project_id': 'bbe543f6c8ad405a838c992bdd870466', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-32048818', 'ctest-vn-30246757'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-04-23 01:48:08,643 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b377459e-fc2f-489e-b608-5d1815631e63', 'name': '', 'tenant_id': 'bbe543f6c8ad405a838c992bdd870466', 'network_id': '24897fb5-e3cb-4561-9b66-d7486177dccc', 'ip_version': 4, 'cidr': '71.249.204.64/26', 'allocation_pools': [{'start': '71.249.204.66', 'end': '71.249.204.126'}], 'gateway_ip': '71.249.204.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-04-23T01:48:08.533864', 'updated_at': '2026-04-23T01:48:08.533864', 'dns_server_address': '71.249.204.66', 'tags': [], 'project_id': 'bbe543f6c8ad405a838c992bdd870466'}}
2026-04-23 01:48:08,708 - INFO - Created VN ctest-vn-30246757
2026-04-23 01:48:08,762 - DEBUG - VN ctest-vn-30246757 UUID is 24897fb5-e3cb-4561-9b66-d7486177dccc
2026-04-23 01:48:08,983 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-32048818:ctest-vn-05001398, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-32048818:ctest-vn-30246757, 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-04-23 01:48:09,378 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fb804d0e-43e4-4cb7-9df0-f897bdde10f4', 'name': 'ctest-vn-05001398', 'tenant_id': 'bbe543f6c8ad405a838c992bdd870466', 'project_id': 'bbe543f6c8ad405a838c992bdd870466', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['addfaa3a-2c4a-42ae-b269-807771f33a01'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-32048818', 'ctest-vn-05001398'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-32048818', 'ctest-policy-allow-all-86006931']], 'subnet_ipam': [{'subnet_cidr': '182.224.255.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-04-23T01:48:07.440229', 'updated_at': '2026-04-23T01:48:07.685541'}}
2026-04-23 01:48:09,726 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '24897fb5-e3cb-4561-9b66-d7486177dccc', 'name': 'ctest-vn-30246757', 'tenant_id': 'bbe543f6c8ad405a838c992bdd870466', 'project_id': 'bbe543f6c8ad405a838c992bdd870466', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b377459e-fc2f-489e-b608-5d1815631e63'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-32048818', 'ctest-vn-30246757'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-32048818', 'ctest-policy-allow-all-86006931']], 'subnet_ipam': [{'subnet_cidr': '71.249.204.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-04-23T01:48:08.294265', 'updated_at': '2026-04-23T01:48:08.555595'}}
2026-04-23 01:48:09,894 - DEBUG - Requesting: https://10.0.0.129:8082/domains
2026-04-23 01:48:10,248 - DEBUG - Requesting: https://10.0.0.129:8082/domains
2026-04-23 01:48:10,327 - DEBUG - Requesting: https://10.0.0.129:8082/domain/463c1a7f-4575-42ba-bd06-1a9f36cbf244
2026-04-23 01:48:10,391 - DEBUG - Requesting: https://10.0.0.129:8082/project/bbe543f6-c8ad-405a-838c-992bdd870466
2026-04-23 01:48:10,472 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/fb804d0e-43e4-4cb7-9df0-f897bdde10f4
2026-04-23 01:48:10,533 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/fb804d0e-43e4-4cb7-9df0-f897bdde10f4
2026-04-23 01:48:10,592 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/aa00f592-caa3-4ed6-8b79-212e2c2a4a16
2026-04-23 01:48:10,648 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/aa00f592-caa3-4ed6-8b79-212e2c2a4a16
2026-04-23 01:48:10,699 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/1c0f906c-969e-41c3-8911-6fd3307415d9
2026-04-23 01:48:10,751 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-23 01:48:10,751 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/fb804d0e-43e4-4cb7-9df0-f897bdde10f4
2026-04-23 01:48:10,808 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/aa00f592-caa3-4ed6-8b79-212e2c2a4a16
2026-04-23 01:48:10,872 - INFO - Verified VN network id 11 for VN fb804d0e-43e4-4cb7-9df0-f897bdde10f4
2026-04-23 01:48:10,872 - INFO - Verifications in API Server for VN ctest-vn-05001398 passed
2026-04-23 01:48:10,872 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/fb804d0e-43e4-4cb7-9df0-f897bdde10f4
2026-04-23 01:48:10,928 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/aa00f592-caa3-4ed6-8b79-212e2c2a4a16
2026-04-23 01:48:10,980 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/aa00f592-caa3-4ed6-8b79-212e2c2a4a16
2026-04-23 01:48:11,036 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/1c0f906c-969e-41c3-8911-6fd3307415d9
2026-04-23 01:48:11,139 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-32048818:ctest-vn-05001398', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32048818', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18122569624202792119', 'uuid-lslong': '11380869588974440692'}, 'enable': 'true', 'created': '2026-04-23T01:48:07', 'last-modified': '2026-04-23T01:48:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.781876'}
2026-04-23 01:48:11,195 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-23 01:48:11,195 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05001398 passed
2026-04-23 01:48:11,195 - DEBUG - ====Verifying policy data for ctest-vn-05001398 in API_Server ======
2026-04-23 01:48:11,195 - DEBUG - Requesting: https://10.0.0.129:8082/domains
2026-04-23 01:48:11,247 - DEBUG - Requesting: https://10.0.0.129:8082/domain/463c1a7f-4575-42ba-bd06-1a9f36cbf244
2026-04-23 01:48:11,304 - DEBUG - Requesting: https://10.0.0.129:8082/project/bbe543f6-c8ad-405a-838c-992bdd870466
2026-04-23 01:48:11,388 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/fb804d0e-43e4-4cb7-9df0-f897bdde10f4
2026-04-23 01:48:11,444 - DEBUG - ==>Verifying data for policy with id: b1b0813c-e631-445f-a5be-54f09013220a, fqn: ['admin_domain', 'ctest-TestBasicPolicy-32048818', 'ctest-policy-allow-all-86006931']
2026-04-23 01:48:11,444 - INFO - VN ctest-vn-05001398 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-23 01:48:11,444 - DEBUG - Verifying the vn in opserver
2026-04-23 01:48:11,444 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-32048818:ctest-vn-05001398 virtual network link through opserver 10.0.0.129
2026-04-23 01:48:11,444 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks
2026-04-23 01:48:11,792 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks
2026-04-23 01:48:11,903 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-32048818:ctest-vn-05001398', 'href': 'https://10.0.0.129:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-32048818:ctest-vn-05001398?flat'}
2026-04-23 01:48:11,903 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-32048818:ctest-vn-05001398 is found in opserver
2026-04-23 01:48:12,003 - DEBUG - Do not have enough data to verify VN in agent
2026-04-23 01:48:12,059 - DEBUG - VRF ids for VN ctest-vn-05001398: {}
2026-04-23 01:48:12,059 - DEBUG - Requesting: https://10.0.0.129:8082/domains
2026-04-23 01:48:12,119 - DEBUG - Requesting: https://10.0.0.129:8082/domain/463c1a7f-4575-42ba-bd06-1a9f36cbf244
2026-04-23 01:48:12,179 - DEBUG - Requesting: https://10.0.0.129:8082/project/bbe543f6-c8ad-405a-838c-992bdd870466
2026-04-23 01:48:12,256 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/24897fb5-e3cb-4561-9b66-d7486177dccc
2026-04-23 01:48:12,312 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/24897fb5-e3cb-4561-9b66-d7486177dccc
2026-04-23 01:48:12,368 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/47862117-924b-4576-b3a8-4bc419e7705e
2026-04-23 01:48:12,428 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/47862117-924b-4576-b3a8-4bc419e7705e
2026-04-23 01:48:12,483 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/3b12abdb-cfb3-46be-aa6d-4de54f9badf2
2026-04-23 01:48:12,535 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-23 01:48:12,536 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/24897fb5-e3cb-4561-9b66-d7486177dccc
2026-04-23 01:48:12,592 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/47862117-924b-4576-b3a8-4bc419e7705e
2026-04-23 01:48:12,659 - INFO - Verified VN network id 12 for VN 24897fb5-e3cb-4561-9b66-d7486177dccc
2026-04-23 01:48:12,659 - INFO - Verifications in API Server for VN ctest-vn-30246757 passed
2026-04-23 01:48:12,659 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/24897fb5-e3cb-4561-9b66-d7486177dccc
2026-04-23 01:48:12,716 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/47862117-924b-4576-b3a8-4bc419e7705e
2026-04-23 01:48:12,767 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/47862117-924b-4576-b3a8-4bc419e7705e
2026-04-23 01:48:12,827 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/3b12abdb-cfb3-46be-aa6d-4de54f9badf2
2026-04-23 01:48:12,932 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-32048818:ctest-vn-30246757', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32048818', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2632775876362323297', 'uuid-lslong': '11197874229376179404'}, 'enable': 'true', 'created': '2026-04-23T01:48:08', 'last-modified': '2026-04-23T01:48:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.235175'}
2026-04-23 01:48:12,984 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-23 01:48:12,984 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30246757 passed
2026-04-23 01:48:12,984 - DEBUG - ====Verifying policy data for ctest-vn-30246757 in API_Server ======
2026-04-23 01:48:12,984 - DEBUG - Requesting: https://10.0.0.129:8082/domains
2026-04-23 01:48:13,035 - DEBUG - Requesting: https://10.0.0.129:8082/domain/463c1a7f-4575-42ba-bd06-1a9f36cbf244
2026-04-23 01:48:13,091 - DEBUG - Requesting: https://10.0.0.129:8082/project/bbe543f6-c8ad-405a-838c-992bdd870466
2026-04-23 01:48:13,180 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/24897fb5-e3cb-4561-9b66-d7486177dccc
2026-04-23 01:48:13,236 - DEBUG - ==>Verifying data for policy with id: b1b0813c-e631-445f-a5be-54f09013220a, fqn: ['admin_domain', 'ctest-TestBasicPolicy-32048818', 'ctest-policy-allow-all-86006931']
2026-04-23 01:48:13,237 - INFO - VN ctest-vn-30246757 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-23 01:48:13,237 - DEBUG - Verifying the vn in opserver
2026-04-23 01:48:13,237 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-32048818:ctest-vn-30246757 virtual network link through opserver 10.0.0.129
2026-04-23 01:48:13,237 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks
2026-04-23 01:48:13,295 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-32048818:ctest-vn-30246757', 'href': 'https://10.0.0.129:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-32048818:ctest-vn-30246757?flat'}
2026-04-23 01:48:13,295 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-32048818:ctest-vn-30246757 is found in opserver
2026-04-23 01:48:13,399 - DEBUG - Do not have enough data to verify VN in agent
2026-04-23 01:48:13,447 - DEBUG - VRF ids for VN ctest-vn-30246757: {}
2026-04-23 01:48:13,639 - DEBUG - Services list from nova: [