2026-04-20 01:52:07,599 - INFO - Reading existing Domain with UUID 44568180-4456-4d24-a723-60c17b729be7
2026-04-20 01:52:07,612 - INFO - Using existing domain ['admin_domain'](44568180-4456-4d24-a723-60c17b729be7)
2026-04-20 01:52:07,865 - INFO - Project ctest-TestBasicPolicy-29170469 not found, creating it
2026-04-20 01:52:08,387 - INFO - Created Project:ctest-TestBasicPolicy-29170469, ID : 3fc0a848-645d-4580-a8e1-1d961c987cdb
2026-04-20 01:52:10,288 - INFO - ================================================================================
2026-04-20 01:52:10,288 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-04-20 01:52:10,288 - 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-20 01:52:10,692 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.0.0.129': '0'}} with
2026-04-20 01:52:10,692 - INFO - Initial checks done. Running the testcase now
2026-04-20 01:52:10,692 - INFO -
2026-04-20 01:52:11,526 - DEBUG - Response for create_network : {'network': {'id': 'f4d5c402-5db3-44ea-ba88-3a0632e026f8', 'name': 'ctest-vn-08450531', 'tenant_id': '3fc0a848645d4580a8e11d961c987cdb', 'project_id': '3fc0a848645d4580a8e11d961c987cdb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-29170469', 'ctest-vn-08450531'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-04-20 01:52:11,751 - DEBUG - Response for create_subnet : {'subnet': {'id': '38737230-530a-4078-b461-36761617a9fd', 'name': '', 'tenant_id': '3fc0a848645d4580a8e11d961c987cdb', 'network_id': 'f4d5c402-5db3-44ea-ba88-3a0632e026f8', 'ip_version': 4, 'cidr': '19.157.181.192/26', 'allocation_pools': [{'start': '19.157.181.194', 'end': '19.157.181.254'}], 'gateway_ip': '19.157.181.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-04-20T01:52:11.650214', 'updated_at': '2026-04-20T01:52:11.650214', 'dns_server_address': '19.157.181.194', 'tags': [], 'project_id': '3fc0a848645d4580a8e11d961c987cdb'}}
2026-04-20 01:52:11,824 - INFO - Created VN ctest-vn-08450531
2026-04-20 01:52:11,881 - DEBUG - VN ctest-vn-08450531 UUID is f4d5c402-5db3-44ea-ba88-3a0632e026f8
2026-04-20 01:52:12,415 - DEBUG - Response for create_network : {'network': {'id': '4f4cce8b-e958-4146-b0ea-503484bda9ed', 'name': 'ctest-vn-77264691', 'tenant_id': '3fc0a848645d4580a8e11d961c987cdb', 'project_id': '3fc0a848645d4580a8e11d961c987cdb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-29170469', 'ctest-vn-77264691'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-04-20 01:52:12,679 - DEBUG - Response for create_subnet : {'subnet': {'id': '97599519-2097-49e4-99a1-2fe478bcd818', 'name': '', 'tenant_id': '3fc0a848645d4580a8e11d961c987cdb', 'network_id': '4f4cce8b-e958-4146-b0ea-503484bda9ed', 'ip_version': 4, 'cidr': '109.66.58.0/26', 'allocation_pools': [{'start': '109.66.58.2', 'end': '109.66.58.62'}], 'gateway_ip': '109.66.58.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-04-20T01:52:12.573129', 'updated_at': '2026-04-20T01:52:12.573129', 'dns_server_address': '109.66.58.2', 'tags': [], 'project_id': '3fc0a848645d4580a8e11d961c987cdb'}}
2026-04-20 01:52:12,752 - INFO - Created VN ctest-vn-77264691
2026-04-20 01:52:12,805 - DEBUG - VN ctest-vn-77264691 UUID is 4f4cce8b-e958-4146-b0ea-503484bda9ed
2026-04-20 01:52:13,027 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-29170469:ctest-vn-08450531, 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-29170469:ctest-vn-77264691, 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-20 01:52:13,453 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f4d5c402-5db3-44ea-ba88-3a0632e026f8', 'name': 'ctest-vn-08450531', 'tenant_id': '3fc0a848645d4580a8e11d961c987cdb', 'project_id': '3fc0a848645d4580a8e11d961c987cdb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['38737230-530a-4078-b461-36761617a9fd'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-29170469', 'ctest-vn-08450531'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-29170469', 'ctest-policy-allow-all-64605955']], 'subnet_ipam': [{'subnet_cidr': '19.157.181.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-04-20T01:52:11.438875', 'updated_at': '2026-04-20T01:52:11.664349'}}
2026-04-20 01:52:13,882 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4f4cce8b-e958-4146-b0ea-503484bda9ed', 'name': 'ctest-vn-77264691', 'tenant_id': '3fc0a848645d4580a8e11d961c987cdb', 'project_id': '3fc0a848645d4580a8e11d961c987cdb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['97599519-2097-49e4-99a1-2fe478bcd818'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-29170469', 'ctest-vn-77264691'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-29170469', 'ctest-policy-allow-all-64605955']], 'subnet_ipam': [{'subnet_cidr': '109.66.58.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-04-20T01:52:12.335786', 'updated_at': '2026-04-20T01:52:12.587056'}}
2026-04-20 01:52:14,150 - DEBUG - Requesting: https://10.0.0.129:8082/domains
2026-04-20 01:52:14,547 - DEBUG - Requesting: https://10.0.0.129:8082/domains
2026-04-20 01:52:14,642 - DEBUG - Requesting: https://10.0.0.129:8082/domain/44568180-4456-4d24-a723-60c17b729be7
2026-04-20 01:52:14,702 - DEBUG - Requesting: https://10.0.0.129:8082/project/3fc0a848-645d-4580-a8e1-1d961c987cdb
2026-04-20 01:52:14,804 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/f4d5c402-5db3-44ea-ba88-3a0632e026f8
2026-04-20 01:52:14,867 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/f4d5c402-5db3-44ea-ba88-3a0632e026f8
2026-04-20 01:52:14,923 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/b459ddaa-119c-4008-aefe-c3d64971d5eb
2026-04-20 01:52:14,978 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/b459ddaa-119c-4008-aefe-c3d64971d5eb
2026-04-20 01:52:15,035 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/95413972-3d7c-4b5c-8c61-51c4c3bc43ae
2026-04-20 01:52:15,090 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-20 01:52:15,090 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/f4d5c402-5db3-44ea-ba88-3a0632e026f8
2026-04-20 01:52:15,147 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/b459ddaa-119c-4008-aefe-c3d64971d5eb
2026-04-20 01:52:15,213 - INFO - Verified VN network id 11 for VN f4d5c402-5db3-44ea-ba88-3a0632e026f8
2026-04-20 01:52:15,213 - INFO - Verifications in API Server for VN ctest-vn-08450531 passed
2026-04-20 01:52:15,213 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/f4d5c402-5db3-44ea-ba88-3a0632e026f8
2026-04-20 01:52:15,271 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/b459ddaa-119c-4008-aefe-c3d64971d5eb
2026-04-20 01:52:15,330 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/b459ddaa-119c-4008-aefe-c3d64971d5eb
2026-04-20 01:52:15,386 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/95413972-3d7c-4b5c-8c61-51c4c3bc43ae
2026-04-20 01:52:15,495 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-29170469:ctest-vn-08450531', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29170469', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17642222629734794474', 'uuid-lslong': '13441056886185010936'}, 'enable': 'true', 'created': '2026-04-20T01:52:11', 'last-modified': '2026-04-20T01:52:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.076553'}
2026-04-20 01:52:15,548 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-20 01:52:15,548 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08450531 passed
2026-04-20 01:52:15,549 - DEBUG - ====Verifying policy data for ctest-vn-08450531 in API_Server ======
2026-04-20 01:52:15,549 - DEBUG - Requesting: https://10.0.0.129:8082/domains
2026-04-20 01:52:15,602 - DEBUG - Requesting: https://10.0.0.129:8082/domain/44568180-4456-4d24-a723-60c17b729be7
2026-04-20 01:52:15,662 - DEBUG - Requesting: https://10.0.0.129:8082/project/3fc0a848-645d-4580-a8e1-1d961c987cdb
2026-04-20 01:52:15,763 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/f4d5c402-5db3-44ea-ba88-3a0632e026f8
2026-04-20 01:52:15,833 - DEBUG - ==>Verifying data for policy with id: 9b340966-5e4b-4e93-88fe-82750f4efd0f, fqn: ['admin_domain', 'ctest-TestBasicPolicy-29170469', 'ctest-policy-allow-all-64605955']
2026-04-20 01:52:15,833 - INFO - VN ctest-vn-08450531 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-20 01:52:15,833 - DEBUG - Verifying the vn in opserver
2026-04-20 01:52:15,833 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-29170469:ctest-vn-08450531 virtual network link through opserver 10.0.0.129
2026-04-20 01:52:15,833 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks
2026-04-20 01:52:16,195 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks
2026-04-20 01:52:16,318 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-29170469:ctest-vn-08450531', 'href': 'https://10.0.0.129:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-29170469:ctest-vn-08450531?flat'}
2026-04-20 01:52:16,318 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-29170469:ctest-vn-08450531 is found in opserver
2026-04-20 01:52:16,422 - DEBUG - Do not have enough data to verify VN in agent
2026-04-20 01:52:16,470 - DEBUG - VRF ids for VN ctest-vn-08450531: {}
2026-04-20 01:52:16,470 - DEBUG - Requesting: https://10.0.0.129:8082/domains
2026-04-20 01:52:16,526 - DEBUG - Requesting: https://10.0.0.129:8082/domain/44568180-4456-4d24-a723-60c17b729be7
2026-04-20 01:52:16,587 - DEBUG - Requesting: https://10.0.0.129:8082/project/3fc0a848-645d-4580-a8e1-1d961c987cdb
2026-04-20 01:52:16,675 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/4f4cce8b-e958-4146-b0ea-503484bda9ed
2026-04-20 01:52:16,735 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/4f4cce8b-e958-4146-b0ea-503484bda9ed
2026-04-20 01:52:16,791 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/5304fa92-ec06-432e-84f1-f1f3bd17f5dc
2026-04-20 01:52:16,848 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/5304fa92-ec06-432e-84f1-f1f3bd17f5dc
2026-04-20 01:52:16,903 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/0f7dc78f-34ec-4327-ba26-beff7e35a689
2026-04-20 01:52:16,962 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-20 01:52:16,962 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/4f4cce8b-e958-4146-b0ea-503484bda9ed
2026-04-20 01:52:17,021 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/5304fa92-ec06-432e-84f1-f1f3bd17f5dc
2026-04-20 01:52:17,091 - INFO - Verified VN network id 12 for VN 4f4cce8b-e958-4146-b0ea-503484bda9ed
2026-04-20 01:52:17,091 - INFO - Verifications in API Server for VN ctest-vn-77264691 passed
2026-04-20 01:52:17,092 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/4f4cce8b-e958-4146-b0ea-503484bda9ed
2026-04-20 01:52:17,152 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/5304fa92-ec06-432e-84f1-f1f3bd17f5dc
2026-04-20 01:52:17,206 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/5304fa92-ec06-432e-84f1-f1f3bd17f5dc
2026-04-20 01:52:17,266 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/0f7dc78f-34ec-4327-ba26-beff7e35a689
2026-04-20 01:52:17,375 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-29170469:ctest-vn-77264691', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29170469', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5714169127536968006', 'uuid-lslong': '12748089881721154029'}, 'enable': 'true', 'created': '2026-04-20T01:52:12', 'last-modified': '2026-04-20T01:52:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.523728'}
2026-04-20 01:52:17,427 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-20 01:52:17,427 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77264691 passed
2026-04-20 01:52:17,428 - DEBUG - ====Verifying policy data for ctest-vn-77264691 in API_Server ======
2026-04-20 01:52:17,428 - DEBUG - Requesting: https://10.0.0.129:8082/domains
2026-04-20 01:52:17,482 - DEBUG - Requesting: https://10.0.0.129:8082/domain/44568180-4456-4d24-a723-60c17b729be7
2026-04-20 01:52:17,542 - DEBUG - Requesting: https://10.0.0.129:8082/project/3fc0a848-645d-4580-a8e1-1d961c987cdb
2026-04-20 01:52:17,627 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/4f4cce8b-e958-4146-b0ea-503484bda9ed
2026-04-20 01:52:17,687 - DEBUG - ==>Verifying data for policy with id: 9b340966-5e4b-4e93-88fe-82750f4efd0f, fqn: ['admin_domain', 'ctest-TestBasicPolicy-29170469', 'ctest-policy-allow-all-64605955']
2026-04-20 01:52:17,687 - INFO - VN ctest-vn-77264691 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-20 01:52:17,687 - DEBUG - Verifying the vn in opserver
2026-04-20 01:52:17,687 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-29170469:ctest-vn-77264691 virtual network link through opserver 10.0.0.129
2026-04-20 01:52:17,687 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks
2026-04-20 01:52:17,742 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-29170469:ctest-vn-77264691', 'href': 'https://10.0.0.129:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-29170469:ctest-vn-77264691?flat'}
2026-04-20 01:52:17,742 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-29170469:ctest-vn-77264691 is found in opserver
2026-04-20 01:52:17,846 - DEBUG - Do not have enough data to verify VN in agent
2026-04-20 01:52:17,903 - DEBUG - VRF ids for VN ctest-vn-77264691: {}
2026-04-20 01:52:17,991 - DEBUG - Services list from nova: [