2026-01-22 02:00:04,586 - INFO - Domain Default found not creating
2026-01-22 02:00:04,752 - INFO - Project ctest-TestBasicPolicy-18932163 not found, creating it
2026-01-22 02:00:05,202 - INFO - Created Project:ctest-TestBasicPolicy-18932163, ID : 52b9c940-d12f-4b55-8a02-fd877805f7f2
2026-01-22 02:00:06,639 - INFO - ================================================================================
2026-01-22 02:00:06,639 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-22 02:00:06,639 - 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-22 02:00:06,897 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.130': '0'}} with
2026-01-22 02:00:06,897 - INFO - Initial checks done. Running the testcase now
2026-01-22 02:00:06,897 - INFO -
2026-01-22 02:00:07,442 - DEBUG - Response for create_network : {'network': {'id': '7a1cd6c6-7e0c-4f70-8db8-14c069c36fa3', 'name': 'ctest-vn-08139295', 'tenant_id': '52b9c940d12f4b558a02fd877805f7f2', 'project_id': '52b9c940d12f4b558a02fd877805f7f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18932163', 'ctest-vn-08139295'], 'port_security_enabled': True, 'description': ''}}
2026-01-22 02:00:07,576 - DEBUG - Response for create_subnet : {'subnet': {'id': '5dd89a12-737c-45e8-b8e5-06020d3e49bd', 'name': '', 'tenant_id': '52b9c940d12f4b558a02fd877805f7f2', 'network_id': '7a1cd6c6-7e0c-4f70-8db8-14c069c36fa3', 'ip_version': 4, 'cidr': '156.227.217.128/26', 'allocation_pools': [{'start': '156.227.217.130', 'end': '156.227.217.190'}], 'gateway_ip': '156.227.217.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.227.217.130', 'tags': [], 'project_id': '52b9c940d12f4b558a02fd877805f7f2'}}
2026-01-22 02:00:07,593 - INFO - Created VN ctest-vn-08139295
2026-01-22 02:00:07,645 - DEBUG - VN ctest-vn-08139295 UUID is 7a1cd6c6-7e0c-4f70-8db8-14c069c36fa3
2026-01-22 02:00:07,956 - DEBUG - Response for create_network : {'network': {'id': '87238263-70be-46f9-9ba2-0cf418886496', 'name': 'ctest-vn-20366178', 'tenant_id': '52b9c940d12f4b558a02fd877805f7f2', 'project_id': '52b9c940d12f4b558a02fd877805f7f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18932163', 'ctest-vn-20366178'], 'port_security_enabled': True, 'description': ''}}
2026-01-22 02:00:08,127 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c99111fe-93cb-42f3-9912-7037c7ff6f74', 'name': '', 'tenant_id': '52b9c940d12f4b558a02fd877805f7f2', 'network_id': '87238263-70be-46f9-9ba2-0cf418886496', 'ip_version': 4, 'cidr': '39.165.72.128/26', 'allocation_pools': [{'start': '39.165.72.130', 'end': '39.165.72.190'}], 'gateway_ip': '39.165.72.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.165.72.130', 'tags': [], 'project_id': '52b9c940d12f4b558a02fd877805f7f2'}}
2026-01-22 02:00:08,145 - INFO - Created VN ctest-vn-20366178
2026-01-22 02:00:08,197 - DEBUG - VN ctest-vn-20366178 UUID is 87238263-70be-46f9-9ba2-0cf418886496
2026-01-22 02:00:08,349 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-18932163:ctest-vn-08139295, 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-18932163:ctest-vn-20366178, 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-22 02:00:08,637 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7a1cd6c6-7e0c-4f70-8db8-14c069c36fa3', 'name': 'ctest-vn-08139295', 'tenant_id': '52b9c940d12f4b558a02fd877805f7f2', 'project_id': '52b9c940d12f4b558a02fd877805f7f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5dd89a12-737c-45e8-b8e5-06020d3e49bd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18932163', 'ctest-vn-08139295'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18932163', 'ctest-policy-allow-all-11824820']], 'subnet_ipam': [{'subnet_cidr': '156.227.217.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-22 02:00:08,915 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '87238263-70be-46f9-9ba2-0cf418886496', 'name': 'ctest-vn-20366178', 'tenant_id': '52b9c940d12f4b558a02fd877805f7f2', 'project_id': '52b9c940d12f4b558a02fd877805f7f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c99111fe-93cb-42f3-9912-7037c7ff6f74'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18932163', 'ctest-vn-20366178'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18932163', 'ctest-policy-allow-all-11824820']], 'subnet_ipam': [{'subnet_cidr': '39.165.72.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-22 02:00:09,033 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-01-22 02:00:09,348 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-01-22 02:00:09,391 - DEBUG - Requesting: http://10.0.0.73:8082/domain/9f33313d-2efb-40c4-8a7e-a180880ced59
2026-01-22 02:00:09,404 - DEBUG - Requesting: http://10.0.0.73:8082/project/52b9c940-d12f-4b55-8a02-fd877805f7f2
2026-01-22 02:00:09,477 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/7a1cd6c6-7e0c-4f70-8db8-14c069c36fa3
2026-01-22 02:00:09,488 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/7a1cd6c6-7e0c-4f70-8db8-14c069c36fa3
2026-01-22 02:00:09,498 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/83ee5721-9397-497b-b187-f69321aa7680
2026-01-22 02:00:09,506 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/83ee5721-9397-497b-b187-f69321aa7680
2026-01-22 02:00:09,514 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/55be2aaf-705f-45c5-992a-f06f582aa0d5
2026-01-22 02:00:09,522 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-22 02:00:09,522 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/7a1cd6c6-7e0c-4f70-8db8-14c069c36fa3
2026-01-22 02:00:09,530 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/83ee5721-9397-497b-b187-f69321aa7680
2026-01-22 02:00:09,548 - INFO - Verified VN network id 12 for VN 7a1cd6c6-7e0c-4f70-8db8-14c069c36fa3
2026-01-22 02:00:09,548 - INFO - Verifications in API Server for VN ctest-vn-08139295 passed
2026-01-22 02:00:09,548 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/7a1cd6c6-7e0c-4f70-8db8-14c069c36fa3
2026-01-22 02:00:09,559 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/83ee5721-9397-497b-b187-f69321aa7680
2026-01-22 02:00:09,567 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/83ee5721-9397-497b-b187-f69321aa7680
2026-01-22 02:00:09,578 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/55be2aaf-705f-45c5-992a-f06f582aa0d5
2026-01-22 02:00:09,591 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18932163:ctest-vn-08139295', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18932163', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8799143919981711216', 'uuid-lslong': '10211934971703291811'}, 'enable': 'true', 'created': '2026-01-22T02:00:07', 'last-modified': '2026-01-22T02:00:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.975756'}
2026-01-22 02:00:09,597 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-22 02:00:09,597 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08139295 passed
2026-01-22 02:00:09,598 - DEBUG - ====Verifying policy data for ctest-vn-08139295 in API_Server ======
2026-01-22 02:00:09,598 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-01-22 02:00:09,603 - DEBUG - Requesting: http://10.0.0.73:8082/domain/9f33313d-2efb-40c4-8a7e-a180880ced59
2026-01-22 02:00:09,612 - DEBUG - Requesting: http://10.0.0.73:8082/project/52b9c940-d12f-4b55-8a02-fd877805f7f2
2026-01-22 02:00:09,682 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/7a1cd6c6-7e0c-4f70-8db8-14c069c36fa3
2026-01-22 02:00:09,691 - DEBUG - ==>Verifying data for policy with id: f40455a2-f627-4f53-b458-9cbd58adfbb8, fqn: ['default-domain', 'ctest-TestBasicPolicy-18932163', 'ctest-policy-allow-all-11824820']
2026-01-22 02:00:09,691 - INFO - VN ctest-vn-08139295 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-22 02:00:09,691 - DEBUG - Verifying the vn in opserver
2026-01-22 02:00:09,691 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18932163:ctest-vn-08139295 virtual network link through opserver 10.0.0.73
2026-01-22 02:00:09,691 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks
2026-01-22 02:00:09,988 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks
2026-01-22 02:00:10,055 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18932163:ctest-vn-08139295', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18932163:ctest-vn-08139295?flat'}
2026-01-22 02:00:10,055 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18932163:ctest-vn-08139295 is found in opserver
2026-01-22 02:00:10,064 - DEBUG - Do not have enough data to verify VN in agent
2026-01-22 02:00:10,067 - DEBUG - VRF ids for VN ctest-vn-08139295: {}
2026-01-22 02:00:10,067 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-01-22 02:00:10,072 - DEBUG - Requesting: http://10.0.0.73:8082/domain/9f33313d-2efb-40c4-8a7e-a180880ced59
2026-01-22 02:00:10,081 - DEBUG - Requesting: http://10.0.0.73:8082/project/52b9c940-d12f-4b55-8a02-fd877805f7f2
2026-01-22 02:00:10,147 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/87238263-70be-46f9-9ba2-0cf418886496
2026-01-22 02:00:10,159 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/87238263-70be-46f9-9ba2-0cf418886496
2026-01-22 02:00:10,167 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/1a3a5147-9367-4e25-bf28-3bd62dcfa862
2026-01-22 02:00:10,172 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/1a3a5147-9367-4e25-bf28-3bd62dcfa862
2026-01-22 02:00:10,177 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/7fb79095-d975-48a5-bd66-5a65a720e997
2026-01-22 02:00:10,184 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-22 02:00:10,184 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/87238263-70be-46f9-9ba2-0cf418886496
2026-01-22 02:00:10,191 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/1a3a5147-9367-4e25-bf28-3bd62dcfa862
2026-01-22 02:00:10,204 - INFO - Verified VN network id 13 for VN 87238263-70be-46f9-9ba2-0cf418886496
2026-01-22 02:00:10,204 - INFO - Verifications in API Server for VN ctest-vn-20366178 passed
2026-01-22 02:00:10,204 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/87238263-70be-46f9-9ba2-0cf418886496
2026-01-22 02:00:10,214 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/1a3a5147-9367-4e25-bf28-3bd62dcfa862
2026-01-22 02:00:10,222 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/1a3a5147-9367-4e25-bf28-3bd62dcfa862
2026-01-22 02:00:10,231 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/7fb79095-d975-48a5-bd66-5a65a720e997
2026-01-22 02:00:10,240 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18932163:ctest-vn-20366178', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18932163', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9737770182910035705', 'uuid-lslong': '11214540264629101718'}, 'enable': 'true', 'created': '2026-01-22T02:00:07', 'last-modified': '2026-01-22T02:00:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.398866'}
2026-01-22 02:00:10,246 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-22 02:00:10,246 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20366178 passed
2026-01-22 02:00:10,246 - DEBUG - ====Verifying policy data for ctest-vn-20366178 in API_Server ======
2026-01-22 02:00:10,246 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-01-22 02:00:10,252 - DEBUG - Requesting: http://10.0.0.73:8082/domain/9f33313d-2efb-40c4-8a7e-a180880ced59
2026-01-22 02:00:10,263 - DEBUG - Requesting: http://10.0.0.73:8082/project/52b9c940-d12f-4b55-8a02-fd877805f7f2
2026-01-22 02:00:10,401 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/87238263-70be-46f9-9ba2-0cf418886496
2026-01-22 02:00:10,420 - DEBUG - ==>Verifying data for policy with id: f40455a2-f627-4f53-b458-9cbd58adfbb8, fqn: ['default-domain', 'ctest-TestBasicPolicy-18932163', 'ctest-policy-allow-all-11824820']
2026-01-22 02:00:10,420 - INFO - VN ctest-vn-20366178 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-22 02:00:10,420 - DEBUG - Verifying the vn in opserver
2026-01-22 02:00:10,420 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18932163:ctest-vn-20366178 virtual network link through opserver 10.0.0.73
2026-01-22 02:00:10,420 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks
2026-01-22 02:00:10,441 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18932163:ctest-vn-20366178', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18932163:ctest-vn-20366178?flat'}
2026-01-22 02:00:10,441 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18932163:ctest-vn-20366178 is found in opserver
2026-01-22 02:00:10,451 - DEBUG - Do not have enough data to verify VN in agent
2026-01-22 02:00:10,455 - DEBUG - VRF ids for VN ctest-vn-20366178: {}
2026-01-22 02:00:10,511 - DEBUG - Services list from nova: [