2026-07-06 04:58:27,225 - INFO - Domain Default found not creating
2026-07-06 04:58:27,399 - INFO - Project ctest-TestBasicPolicy-38002019 not found, creating it
2026-07-06 04:58:27,917 - INFO - Created Project:ctest-TestBasicPolicy-38002019, ID : 44b42849-fb9b-446f-9761-31d4f342e2f3
2026-07-06 04:58:29,541 - INFO - ================================================================================
2026-07-06 04:58:29,541 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-07-06 04:58:29,541 - 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-07-06 04:58:29,819 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2026-07-06 04:58:29,819 - INFO - Initial checks done. Running the testcase now
2026-07-06 04:58:29,819 - INFO -
2026-07-06 04:58:30,448 - DEBUG - Response for create_network : {'network': {'id': '4cd078bf-c93b-4b47-b098-9ceb965be906', 'name': 'ctest-vn-53388630', 'tenant_id': '44b42849fb9b446f976131d4f342e2f3', 'project_id': '44b42849fb9b446f976131d4f342e2f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38002019', 'ctest-vn-53388630'], 'port_security_enabled': True, 'description': ''}}
2026-07-06 04:58:30,625 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd65aa36c-5d42-4c9a-9e83-67e47ef330f5', 'name': '', 'tenant_id': '44b42849fb9b446f976131d4f342e2f3', 'network_id': '4cd078bf-c93b-4b47-b098-9ceb965be906', 'ip_version': 4, 'cidr': '78.22.41.64/26', 'allocation_pools': [{'start': '78.22.41.66', 'end': '78.22.41.126'}], 'gateway_ip': '78.22.41.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.22.41.66', 'tags': [], 'project_id': '44b42849fb9b446f976131d4f342e2f3'}}
2026-07-06 04:58:30,644 - INFO - Created VN ctest-vn-53388630
2026-07-06 04:58:30,700 - DEBUG - VN ctest-vn-53388630 UUID is 4cd078bf-c93b-4b47-b098-9ceb965be906
2026-07-06 04:58:31,023 - DEBUG - Response for create_network : {'network': {'id': 'fd938c48-4b97-40c8-ac2b-a94a10dda988', 'name': 'ctest-vn-74751308', 'tenant_id': '44b42849fb9b446f976131d4f342e2f3', 'project_id': '44b42849fb9b446f976131d4f342e2f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38002019', 'ctest-vn-74751308'], 'port_security_enabled': True, 'description': ''}}
2026-07-06 04:58:31,173 - DEBUG - Response for create_subnet : {'subnet': {'id': '0c0a28f2-88e3-4b38-9f5b-ec21708bde32', 'name': '', 'tenant_id': '44b42849fb9b446f976131d4f342e2f3', 'network_id': 'fd938c48-4b97-40c8-ac2b-a94a10dda988', 'ip_version': 4, 'cidr': '83.132.132.64/26', 'allocation_pools': [{'start': '83.132.132.66', 'end': '83.132.132.126'}], 'gateway_ip': '83.132.132.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.132.132.66', 'tags': [], 'project_id': '44b42849fb9b446f976131d4f342e2f3'}}
2026-07-06 04:58:31,189 - INFO - Created VN ctest-vn-74751308
2026-07-06 04:58:31,244 - DEBUG - VN ctest-vn-74751308 UUID is fd938c48-4b97-40c8-ac2b-a94a10dda988
2026-07-06 04:58:31,392 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-38002019:ctest-vn-53388630, 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-38002019:ctest-vn-74751308, 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-07-06 04:58:31,684 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4cd078bf-c93b-4b47-b098-9ceb965be906', 'name': 'ctest-vn-53388630', 'tenant_id': '44b42849fb9b446f976131d4f342e2f3', 'project_id': '44b42849fb9b446f976131d4f342e2f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d65aa36c-5d42-4c9a-9e83-67e47ef330f5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38002019', 'ctest-vn-53388630'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38002019', 'ctest-policy-allow-all-79408831']], 'subnet_ipam': [{'subnet_cidr': '78.22.41.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-07-06 04:58:31,942 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fd938c48-4b97-40c8-ac2b-a94a10dda988', 'name': 'ctest-vn-74751308', 'tenant_id': '44b42849fb9b446f976131d4f342e2f3', 'project_id': '44b42849fb9b446f976131d4f342e2f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0c0a28f2-88e3-4b38-9f5b-ec21708bde32'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38002019', 'ctest-vn-74751308'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38002019', 'ctest-policy-allow-all-79408831']], 'subnet_ipam': [{'subnet_cidr': '83.132.132.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-07-06 04:58:32,112 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-07-06 04:58:32,433 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-07-06 04:58:32,462 - DEBUG - Requesting: http://10.0.0.22:8082/domain/98b227c7-fcb3-400a-afb8-e4afb1f9bba4
2026-07-06 04:58:32,476 - DEBUG - Requesting: http://10.0.0.22:8082/project/44b42849-fb9b-446f-9761-31d4f342e2f3
2026-07-06 04:58:32,555 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4cd078bf-c93b-4b47-b098-9ceb965be906
2026-07-06 04:58:32,568 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4cd078bf-c93b-4b47-b098-9ceb965be906
2026-07-06 04:58:32,580 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f762db2e-b49c-4626-9603-8b26f8f251e1
2026-07-06 04:58:32,588 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f762db2e-b49c-4626-9603-8b26f8f251e1
2026-07-06 04:58:32,596 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d2406adf-511e-45de-b697-1476bf5ae341
2026-07-06 04:58:32,605 - DEBUG - Route Targets: ['target:64512:8000004']
2026-07-06 04:58:32,605 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4cd078bf-c93b-4b47-b098-9ceb965be906
2026-07-06 04:58:32,615 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f762db2e-b49c-4626-9603-8b26f8f251e1
2026-07-06 04:58:32,630 - INFO - Verified VN network id 9 for VN 4cd078bf-c93b-4b47-b098-9ceb965be906
2026-07-06 04:58:32,631 - INFO - Verifications in API Server for VN ctest-vn-53388630 passed
2026-07-06 04:58:32,631 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4cd078bf-c93b-4b47-b098-9ceb965be906
2026-07-06 04:58:32,640 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f762db2e-b49c-4626-9603-8b26f8f251e1
2026-07-06 04:58:32,653 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f762db2e-b49c-4626-9603-8b26f8f251e1
2026-07-06 04:58:32,660 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d2406adf-511e-45de-b697-1476bf5ae341
2026-07-06 04:58:32,674 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38002019:ctest-vn-53388630', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38002019', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5535056707148532551', 'uuid-lslong': '12725093282789189894'}, 'enable': 'true', 'created': '2026-07-06T04:58:30', 'last-modified': '2026-07-06T04:58:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.015727'}
2026-07-06 04:58:32,680 - DEBUG - Route Targets: ['target:64512:8000004']
2026-07-06 04:58:32,680 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53388630 passed
2026-07-06 04:58:32,680 - DEBUG - ====Verifying policy data for ctest-vn-53388630 in API_Server ======
2026-07-06 04:58:32,680 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-07-06 04:58:32,688 - DEBUG - Requesting: http://10.0.0.22:8082/domain/98b227c7-fcb3-400a-afb8-e4afb1f9bba4
2026-07-06 04:58:32,699 - DEBUG - Requesting: http://10.0.0.22:8082/project/44b42849-fb9b-446f-9761-31d4f342e2f3
2026-07-06 04:58:32,775 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4cd078bf-c93b-4b47-b098-9ceb965be906
2026-07-06 04:58:32,783 - DEBUG - ==>Verifying data for policy with id: 25e5c014-fb13-473d-9b53-843bfc845345, fqn: ['default-domain', 'ctest-TestBasicPolicy-38002019', 'ctest-policy-allow-all-79408831']
2026-07-06 04:58:32,783 - INFO - VN ctest-vn-53388630 Policy verification: verify_vn_policy_in_api_server, status: True
2026-07-06 04:58:32,783 - DEBUG - Verifying the vn in opserver
2026-07-06 04:58:32,783 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38002019:ctest-vn-53388630 virtual network link through opserver 10.0.0.22
2026-07-06 04:58:32,784 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-07-06 04:58:33,109 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-07-06 04:58:33,173 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38002019:ctest-vn-53388630', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38002019:ctest-vn-53388630?flat'}
2026-07-06 04:58:33,173 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38002019:ctest-vn-53388630 is found in opserver
2026-07-06 04:58:33,184 - DEBUG - Do not have enough data to verify VN in agent
2026-07-06 04:58:33,189 - DEBUG - VRF ids for VN ctest-vn-53388630: {}
2026-07-06 04:58:33,189 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-07-06 04:58:33,195 - DEBUG - Requesting: http://10.0.0.22:8082/domain/98b227c7-fcb3-400a-afb8-e4afb1f9bba4
2026-07-06 04:58:33,208 - DEBUG - Requesting: http://10.0.0.22:8082/project/44b42849-fb9b-446f-9761-31d4f342e2f3
2026-07-06 04:58:33,281 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fd938c48-4b97-40c8-ac2b-a94a10dda988
2026-07-06 04:58:33,293 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fd938c48-4b97-40c8-ac2b-a94a10dda988
2026-07-06 04:58:33,304 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/49dbe291-879e-44cf-b798-dc807d92aa56
2026-07-06 04:58:33,313 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/49dbe291-879e-44cf-b798-dc807d92aa56
2026-07-06 04:58:33,323 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/7b66511e-412b-43d3-b323-ba282d682ee9
2026-07-06 04:58:33,330 - DEBUG - Route Targets: ['target:64512:8000005']
2026-07-06 04:58:33,330 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fd938c48-4b97-40c8-ac2b-a94a10dda988
2026-07-06 04:58:33,341 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/49dbe291-879e-44cf-b798-dc807d92aa56
2026-07-06 04:58:33,359 - INFO - Verified VN network id 10 for VN fd938c48-4b97-40c8-ac2b-a94a10dda988
2026-07-06 04:58:33,359 - INFO - Verifications in API Server for VN ctest-vn-74751308 passed
2026-07-06 04:58:33,359 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fd938c48-4b97-40c8-ac2b-a94a10dda988
2026-07-06 04:58:33,369 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/49dbe291-879e-44cf-b798-dc807d92aa56
2026-07-06 04:58:33,378 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/49dbe291-879e-44cf-b798-dc807d92aa56
2026-07-06 04:58:33,388 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/7b66511e-412b-43d3-b323-ba282d682ee9
2026-07-06 04:58:33,402 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38002019:ctest-vn-74751308', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38002019', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18272102355305971912', 'uuid-lslong': '12406195734097799560'}, 'enable': 'true', 'created': '2026-07-06T04:58:30', 'last-modified': '2026-07-06T04:58:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.486811'}
2026-07-06 04:58:33,412 - DEBUG - Route Targets: ['target:64512:8000005']
2026-07-06 04:58:33,412 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74751308 passed
2026-07-06 04:58:33,412 - DEBUG - ====Verifying policy data for ctest-vn-74751308 in API_Server ======
2026-07-06 04:58:33,412 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-07-06 04:58:33,418 - DEBUG - Requesting: http://10.0.0.22:8082/domain/98b227c7-fcb3-400a-afb8-e4afb1f9bba4
2026-07-06 04:58:33,431 - DEBUG - Requesting: http://10.0.0.22:8082/project/44b42849-fb9b-446f-9761-31d4f342e2f3
2026-07-06 04:58:33,510 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fd938c48-4b97-40c8-ac2b-a94a10dda988
2026-07-06 04:58:33,522 - DEBUG - ==>Verifying data for policy with id: 25e5c014-fb13-473d-9b53-843bfc845345, fqn: ['default-domain', 'ctest-TestBasicPolicy-38002019', 'ctest-policy-allow-all-79408831']
2026-07-06 04:58:33,523 - INFO - VN ctest-vn-74751308 Policy verification: verify_vn_policy_in_api_server, status: True
2026-07-06 04:58:33,523 - DEBUG - Verifying the vn in opserver
2026-07-06 04:58:33,523 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38002019:ctest-vn-74751308 virtual network link through opserver 10.0.0.22
2026-07-06 04:58:33,523 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-07-06 04:58:33,534 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38002019:ctest-vn-74751308', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38002019:ctest-vn-74751308?flat'}
2026-07-06 04:58:33,534 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38002019:ctest-vn-74751308 is found in opserver
2026-07-06 04:58:33,545 - DEBUG - Do not have enough data to verify VN in agent
2026-07-06 04:58:33,551 - DEBUG - VRF ids for VN ctest-vn-74751308: {}
2026-07-06 04:58:33,618 - DEBUG - Services list from nova: [