2026-05-04 02:24:06,030 - INFO - Domain Default found not creating
2026-05-04 02:24:06,226 - INFO - Project ctest-TestBasicPolicy-16888992 not found, creating it
2026-05-04 02:24:06,703 - INFO - Created Project:ctest-TestBasicPolicy-16888992, ID : 2ae80979-a81d-458d-9045-7a760bff7454
2026-05-04 02:24:08,423 - INFO - ================================================================================
2026-05-04 02:24:08,424 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-05-04 02:24:08,424 - 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-05-04 02:24:08,682 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with
2026-05-04 02:24:08,682 - INFO - Initial checks done. Running the testcase now
2026-05-04 02:24:08,682 - INFO -
2026-05-04 02:24:09,322 - DEBUG - Response for create_network : {'network': {'id': 'cdb2ea8a-9727-43b0-9387-a1a834d3a75c', 'name': 'ctest-vn-15091225', 'tenant_id': '2ae80979a81d458d90457a760bff7454', 'project_id': '2ae80979a81d458d90457a760bff7454', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16888992', 'ctest-vn-15091225'], 'port_security_enabled': True, 'description': ''}}
2026-05-04 02:24:09,532 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d94bdb3-61c2-4d19-8be8-0cd9cdb766c2', 'name': '', 'tenant_id': '2ae80979a81d458d90457a760bff7454', 'network_id': 'cdb2ea8a-9727-43b0-9387-a1a834d3a75c', 'ip_version': 4, 'cidr': '8.161.59.128/26', 'allocation_pools': [{'start': '8.161.59.130', 'end': '8.161.59.190'}], 'gateway_ip': '8.161.59.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.161.59.130', 'tags': [], 'project_id': '2ae80979a81d458d90457a760bff7454'}}
2026-05-04 02:24:09,554 - INFO - Created VN ctest-vn-15091225
2026-05-04 02:24:09,608 - DEBUG - VN ctest-vn-15091225 UUID is cdb2ea8a-9727-43b0-9387-a1a834d3a75c
2026-05-04 02:24:09,925 - DEBUG - Response for create_network : {'network': {'id': '3f28fbfb-c121-41dc-9994-9fe6346ead66', 'name': 'ctest-vn-62893897', 'tenant_id': '2ae80979a81d458d90457a760bff7454', 'project_id': '2ae80979a81d458d90457a760bff7454', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16888992', 'ctest-vn-62893897'], 'port_security_enabled': True, 'description': ''}}
2026-05-04 02:24:10,098 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e0a94fd-8073-461e-acc4-857fbd62b626', 'name': '', 'tenant_id': '2ae80979a81d458d90457a760bff7454', 'network_id': '3f28fbfb-c121-41dc-9994-9fe6346ead66', 'ip_version': 4, 'cidr': '3.143.177.192/26', 'allocation_pools': [{'start': '3.143.177.194', 'end': '3.143.177.254'}], 'gateway_ip': '3.143.177.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.143.177.194', 'tags': [], 'project_id': '2ae80979a81d458d90457a760bff7454'}}
2026-05-04 02:24:10,119 - INFO - Created VN ctest-vn-62893897
2026-05-04 02:24:10,171 - DEBUG - VN ctest-vn-62893897 UUID is 3f28fbfb-c121-41dc-9994-9fe6346ead66
2026-05-04 02:24:10,294 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-16888992:ctest-vn-15091225, 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-16888992:ctest-vn-62893897, 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-05-04 02:24:10,597 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cdb2ea8a-9727-43b0-9387-a1a834d3a75c', 'name': 'ctest-vn-15091225', 'tenant_id': '2ae80979a81d458d90457a760bff7454', 'project_id': '2ae80979a81d458d90457a760bff7454', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6d94bdb3-61c2-4d19-8be8-0cd9cdb766c2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16888992', 'ctest-vn-15091225'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16888992', 'ctest-policy-allow-all-96096469']], 'subnet_ipam': [{'subnet_cidr': '8.161.59.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-04 02:24:10,846 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3f28fbfb-c121-41dc-9994-9fe6346ead66', 'name': 'ctest-vn-62893897', 'tenant_id': '2ae80979a81d458d90457a760bff7454', 'project_id': '2ae80979a81d458d90457a760bff7454', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4e0a94fd-8073-461e-acc4-857fbd62b626'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16888992', 'ctest-vn-62893897'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16888992', 'ctest-policy-allow-all-96096469']], 'subnet_ipam': [{'subnet_cidr': '3.143.177.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-04 02:24:11,008 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-05-04 02:24:11,356 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-05-04 02:24:11,414 - DEBUG - Requesting: http://10.0.0.19:8082/domain/233831d8-d3d0-4c3e-9716-01c5df4cb6bc
2026-05-04 02:24:11,428 - DEBUG - Requesting: http://10.0.0.19:8082/project/2ae80979-a81d-458d-9045-7a760bff7454
2026-05-04 02:24:11,501 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/cdb2ea8a-9727-43b0-9387-a1a834d3a75c
2026-05-04 02:24:11,514 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/cdb2ea8a-9727-43b0-9387-a1a834d3a75c
2026-05-04 02:24:11,526 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/1d437d07-d7d5-4b33-b95c-b2c9ae4f9e32
2026-05-04 02:24:11,536 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/1d437d07-d7d5-4b33-b95c-b2c9ae4f9e32
2026-05-04 02:24:11,544 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/cab11477-abe4-4907-93c4-0cc75fc9052e
2026-05-04 02:24:11,552 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-04 02:24:11,552 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/cdb2ea8a-9727-43b0-9387-a1a834d3a75c
2026-05-04 02:24:11,563 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/1d437d07-d7d5-4b33-b95c-b2c9ae4f9e32
2026-05-04 02:24:11,581 - INFO - Verified VN network id 11 for VN cdb2ea8a-9727-43b0-9387-a1a834d3a75c
2026-05-04 02:24:11,581 - INFO - Verifications in API Server for VN ctest-vn-15091225 passed
2026-05-04 02:24:11,581 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/cdb2ea8a-9727-43b0-9387-a1a834d3a75c
2026-05-04 02:24:11,593 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/1d437d07-d7d5-4b33-b95c-b2c9ae4f9e32
2026-05-04 02:24:11,601 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/1d437d07-d7d5-4b33-b95c-b2c9ae4f9e32
2026-05-04 02:24:11,609 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/cab11477-abe4-4907-93c4-0cc75fc9052e
2026-05-04 02:24:11,622 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16888992:ctest-vn-15091225', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16888992', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14822167204592042928', 'uuid-lslong': '10630643189244208988'}, 'enable': 'true', 'created': '2026-05-04T02:24:09', 'last-modified': '2026-05-04T02:24:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.050269'}
2026-05-04 02:24:11,628 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-04 02:24:11,629 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15091225 passed
2026-05-04 02:24:11,629 - DEBUG - ====Verifying policy data for ctest-vn-15091225 in API_Server ======
2026-05-04 02:24:11,629 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-05-04 02:24:11,635 - DEBUG - Requesting: http://10.0.0.19:8082/domain/233831d8-d3d0-4c3e-9716-01c5df4cb6bc
2026-05-04 02:24:11,647 - DEBUG - Requesting: http://10.0.0.19:8082/project/2ae80979-a81d-458d-9045-7a760bff7454
2026-05-04 02:24:11,724 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/cdb2ea8a-9727-43b0-9387-a1a834d3a75c
2026-05-04 02:24:11,735 - DEBUG - ==>Verifying data for policy with id: 7b4b6f78-2ba7-4323-bc5f-fc586f1f8f00, fqn: ['default-domain', 'ctest-TestBasicPolicy-16888992', 'ctest-policy-allow-all-96096469']
2026-05-04 02:24:11,735 - INFO - VN ctest-vn-15091225 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-04 02:24:11,735 - DEBUG - Verifying the vn in opserver
2026-05-04 02:24:11,735 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16888992:ctest-vn-15091225 virtual network link through opserver 10.0.0.19
2026-05-04 02:24:11,735 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-05-04 02:24:12,073 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-05-04 02:24:12,150 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16888992:ctest-vn-15091225', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16888992:ctest-vn-15091225?flat'}
2026-05-04 02:24:12,150 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16888992:ctest-vn-15091225 is found in opserver
2026-05-04 02:24:12,161 - DEBUG - Do not have enough data to verify VN in agent
2026-05-04 02:24:12,166 - DEBUG - VRF ids for VN ctest-vn-15091225: {}
2026-05-04 02:24:12,166 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-05-04 02:24:12,172 - DEBUG - Requesting: http://10.0.0.19:8082/domain/233831d8-d3d0-4c3e-9716-01c5df4cb6bc
2026-05-04 02:24:12,188 - DEBUG - Requesting: http://10.0.0.19:8082/project/2ae80979-a81d-458d-9045-7a760bff7454
2026-05-04 02:24:12,264 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3f28fbfb-c121-41dc-9994-9fe6346ead66
2026-05-04 02:24:12,277 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3f28fbfb-c121-41dc-9994-9fe6346ead66
2026-05-04 02:24:12,289 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/fa4924c8-fc94-4b85-bc6c-7bfe9f4b2f5d
2026-05-04 02:24:12,297 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/fa4924c8-fc94-4b85-bc6c-7bfe9f4b2f5d
2026-05-04 02:24:12,305 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/44837960-8412-4faa-98bd-2239c02b7045
2026-05-04 02:24:12,312 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-04 02:24:12,312 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3f28fbfb-c121-41dc-9994-9fe6346ead66
2026-05-04 02:24:12,322 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/fa4924c8-fc94-4b85-bc6c-7bfe9f4b2f5d
2026-05-04 02:24:12,338 - INFO - Verified VN network id 12 for VN 3f28fbfb-c121-41dc-9994-9fe6346ead66
2026-05-04 02:24:12,338 - INFO - Verifications in API Server for VN ctest-vn-62893897 passed
2026-05-04 02:24:12,338 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3f28fbfb-c121-41dc-9994-9fe6346ead66
2026-05-04 02:24:12,349 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/fa4924c8-fc94-4b85-bc6c-7bfe9f4b2f5d
2026-05-04 02:24:12,357 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/fa4924c8-fc94-4b85-bc6c-7bfe9f4b2f5d
2026-05-04 02:24:12,366 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/44837960-8412-4faa-98bd-2239c02b7045
2026-05-04 02:24:12,379 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16888992:ctest-vn-62893897', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16888992', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4551164482153431516', 'uuid-lslong': '11066645995427114342'}, 'enable': 'true', 'created': '2026-05-04T02:24:09', 'last-modified': '2026-05-04T02:24:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.561780'}
2026-05-04 02:24:12,387 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-04 02:24:12,387 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62893897 passed
2026-05-04 02:24:12,387 - DEBUG - ====Verifying policy data for ctest-vn-62893897 in API_Server ======
2026-05-04 02:24:12,387 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-05-04 02:24:12,393 - DEBUG - Requesting: http://10.0.0.19:8082/domain/233831d8-d3d0-4c3e-9716-01c5df4cb6bc
2026-05-04 02:24:12,407 - DEBUG - Requesting: http://10.0.0.19:8082/project/2ae80979-a81d-458d-9045-7a760bff7454
2026-05-04 02:24:12,483 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3f28fbfb-c121-41dc-9994-9fe6346ead66
2026-05-04 02:24:12,494 - DEBUG - ==>Verifying data for policy with id: 7b4b6f78-2ba7-4323-bc5f-fc586f1f8f00, fqn: ['default-domain', 'ctest-TestBasicPolicy-16888992', 'ctest-policy-allow-all-96096469']
2026-05-04 02:24:12,494 - INFO - VN ctest-vn-62893897 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-04 02:24:12,494 - DEBUG - Verifying the vn in opserver
2026-05-04 02:24:12,494 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16888992:ctest-vn-62893897 virtual network link through opserver 10.0.0.19
2026-05-04 02:24:12,494 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-05-04 02:24:12,505 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16888992:ctest-vn-62893897', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16888992:ctest-vn-62893897?flat'}
2026-05-04 02:24:12,505 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16888992:ctest-vn-62893897 is found in opserver
2026-05-04 02:24:12,515 - DEBUG - Do not have enough data to verify VN in agent
2026-05-04 02:24:12,521 - DEBUG - VRF ids for VN ctest-vn-62893897: {}
2026-05-04 02:24:12,587 - DEBUG - Services list from nova: [