2026-10-23 14:21:36,209 - INFO - Domain Default found not creating
2026-10-23 14:21:36,504 - INFO - Project ctest-TestBasicPolicy-15514446 not found, creating it
2026-10-23 14:21:37,114 - INFO - Created Project:ctest-TestBasicPolicy-15514446, ID : 2c9c04dc-0b23-4008-bff4-4a94aadf4408
2026-10-23 14:21:40,057 - INFO - ================================================================================
2026-10-23 14:21:40,057 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-23 14:21:40,057 - 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-10-23 14:21:40,332 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with
2026-10-23 14:21:40,333 - INFO - Initial checks done. Running the testcase now
2026-10-23 14:21:40,333 - INFO -
2026-10-23 14:21:41,018 - DEBUG - Response for create_network : {'network': {'id': '3658b156-dcfe-46d9-b71e-9159d21c03ec', 'name': 'ctest-vn-46939437', 'tenant_id': '2c9c04dc0b234008bff44a94aadf4408', 'project_id': '2c9c04dc0b234008bff44a94aadf4408', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15514446', 'ctest-vn-46939437'], 'port_security_enabled': True, 'description': ''}}
2026-10-23 14:21:41,261 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff30575e-cdaa-40a9-b618-f41863961a4f', 'name': '', 'tenant_id': '2c9c04dc0b234008bff44a94aadf4408', 'network_id': '3658b156-dcfe-46d9-b71e-9159d21c03ec', 'ip_version': 4, 'cidr': '77.88.165.0/26', 'allocation_pools': [{'start': '77.88.165.2', 'end': '77.88.165.62'}], 'gateway_ip': '77.88.165.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.88.165.2', 'tags': [], 'project_id': '2c9c04dc0b234008bff44a94aadf4408'}}
2026-10-23 14:21:41,286 - INFO - Created VN ctest-vn-46939437
2026-10-23 14:21:41,346 - DEBUG - VN ctest-vn-46939437 UUID is 3658b156-dcfe-46d9-b71e-9159d21c03ec
2026-10-23 14:21:41,747 - DEBUG - Response for create_network : {'network': {'id': '55608ac0-a592-4e03-86bf-4ccc3aa8cd7c', 'name': 'ctest-vn-68138576', 'tenant_id': '2c9c04dc0b234008bff44a94aadf4408', 'project_id': '2c9c04dc0b234008bff44a94aadf4408', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15514446', 'ctest-vn-68138576'], 'port_security_enabled': True, 'description': ''}}
2026-10-23 14:21:41,999 - DEBUG - Response for create_subnet : {'subnet': {'id': '97dae167-623e-408d-b035-e6ec78931862', 'name': '', 'tenant_id': '2c9c04dc0b234008bff44a94aadf4408', 'network_id': '55608ac0-a592-4e03-86bf-4ccc3aa8cd7c', 'ip_version': 4, 'cidr': '149.76.235.128/26', 'allocation_pools': [{'start': '149.76.235.130', 'end': '149.76.235.190'}], 'gateway_ip': '149.76.235.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.76.235.130', 'tags': [], 'project_id': '2c9c04dc0b234008bff44a94aadf4408'}}
2026-10-23 14:21:42,018 - INFO - Created VN ctest-vn-68138576
2026-10-23 14:21:42,073 - DEBUG - VN ctest-vn-68138576 UUID is 55608ac0-a592-4e03-86bf-4ccc3aa8cd7c
2026-10-23 14:21:42,204 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-15514446:ctest-vn-46939437, 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-15514446:ctest-vn-68138576, 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-10-23 14:21:42,565 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3658b156-dcfe-46d9-b71e-9159d21c03ec', 'name': 'ctest-vn-46939437', 'tenant_id': '2c9c04dc0b234008bff44a94aadf4408', 'project_id': '2c9c04dc0b234008bff44a94aadf4408', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['ff30575e-cdaa-40a9-b618-f41863961a4f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15514446', 'ctest-vn-46939437'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15514446', 'ctest-policy-allow-all-14661623']], 'subnet_ipam': [{'subnet_cidr': '77.88.165.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-23 14:21:42,837 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '55608ac0-a592-4e03-86bf-4ccc3aa8cd7c', 'name': 'ctest-vn-68138576', 'tenant_id': '2c9c04dc0b234008bff44a94aadf4408', 'project_id': '2c9c04dc0b234008bff44a94aadf4408', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['97dae167-623e-408d-b035-e6ec78931862'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15514446', 'ctest-vn-68138576'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15514446', 'ctest-policy-allow-all-14661623']], 'subnet_ipam': [{'subnet_cidr': '149.76.235.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-23 14:21:43,021 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-23 14:21:43,440 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-23 14:21:43,485 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4189e7ba-60c7-4312-b19e-84ffbbe2755a
2026-10-23 14:21:43,503 - DEBUG - Requesting: http://10.0.0.38:8082/project/2c9c04dc-0b23-4008-bff4-4a94aadf4408
2026-10-23 14:21:43,590 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3658b156-dcfe-46d9-b71e-9159d21c03ec
2026-10-23 14:21:43,613 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3658b156-dcfe-46d9-b71e-9159d21c03ec
2026-10-23 14:21:43,630 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3109846a-52b2-44a4-9aa3-869fbbaf8ba8
2026-10-23 14:21:43,641 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3109846a-52b2-44a4-9aa3-869fbbaf8ba8
2026-10-23 14:21:43,650 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9ccf2257-1351-4e37-b4ff-65bf8353bd9d
2026-10-23 14:21:43,659 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-23 14:21:43,660 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3658b156-dcfe-46d9-b71e-9159d21c03ec
2026-10-23 14:21:43,673 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3109846a-52b2-44a4-9aa3-869fbbaf8ba8
2026-10-23 14:21:43,696 - INFO - Verified VN network id 11 for VN 3658b156-dcfe-46d9-b71e-9159d21c03ec
2026-10-23 14:21:43,696 - INFO - Verifications in API Server for VN ctest-vn-46939437 passed
2026-10-23 14:21:43,696 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3658b156-dcfe-46d9-b71e-9159d21c03ec
2026-10-23 14:21:43,711 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3109846a-52b2-44a4-9aa3-869fbbaf8ba8
2026-10-23 14:21:43,724 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3109846a-52b2-44a4-9aa3-869fbbaf8ba8
2026-10-23 14:21:43,736 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9ccf2257-1351-4e37-b4ff-65bf8353bd9d
2026-10-23 14:21:43,767 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15514446:ctest-vn-46939437', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15514446', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3916074862631601881', 'uuid-lslong': '13195143773205300204'}, 'enable': 'true', 'created': '2026-10-23T14:21:40', 'last-modified': '2026-10-23T14:21:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.238593'}
2026-10-23 14:21:43,775 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-23 14:21:43,775 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46939437 passed
2026-10-23 14:21:43,775 - DEBUG - ====Verifying policy data for ctest-vn-46939437 in API_Server ======
2026-10-23 14:21:43,775 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-23 14:21:43,783 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4189e7ba-60c7-4312-b19e-84ffbbe2755a
2026-10-23 14:21:43,796 - DEBUG - Requesting: http://10.0.0.38:8082/project/2c9c04dc-0b23-4008-bff4-4a94aadf4408
2026-10-23 14:21:43,880 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3658b156-dcfe-46d9-b71e-9159d21c03ec
2026-10-23 14:21:43,894 - DEBUG - ==>Verifying data for policy with id: b462b3c8-a655-48dd-b79e-8de430dda1ae, fqn: ['default-domain', 'ctest-TestBasicPolicy-15514446', 'ctest-policy-allow-all-14661623']
2026-10-23 14:21:43,894 - INFO - VN ctest-vn-46939437 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-23 14:21:43,895 - DEBUG - Verifying the vn in opserver
2026-10-23 14:21:43,895 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15514446:ctest-vn-46939437 virtual network link through opserver 10.0.0.38
2026-10-23 14:21:43,895 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-10-23 14:21:44,265 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-10-23 14:21:44,322 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15514446:ctest-vn-46939437', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15514446:ctest-vn-46939437?flat'}
2026-10-23 14:21:44,322 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15514446:ctest-vn-46939437 is found in opserver
2026-10-23 14:21:44,337 - DEBUG - Do not have enough data to verify VN in agent
2026-10-23 14:21:44,343 - DEBUG - VRF ids for VN ctest-vn-46939437: {}
2026-10-23 14:21:44,343 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-23 14:21:44,349 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4189e7ba-60c7-4312-b19e-84ffbbe2755a
2026-10-23 14:21:44,362 - DEBUG - Requesting: http://10.0.0.38:8082/project/2c9c04dc-0b23-4008-bff4-4a94aadf4408
2026-10-23 14:21:44,445 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/55608ac0-a592-4e03-86bf-4ccc3aa8cd7c
2026-10-23 14:21:44,464 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/55608ac0-a592-4e03-86bf-4ccc3aa8cd7c
2026-10-23 14:21:44,478 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2722b794-2c6c-46be-81e7-f7b6edba57d7
2026-10-23 14:21:44,490 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2722b794-2c6c-46be-81e7-f7b6edba57d7
2026-10-23 14:21:44,501 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/53834a6b-b866-4e16-9698-08122210aad9
2026-10-23 14:21:44,513 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-23 14:21:44,513 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/55608ac0-a592-4e03-86bf-4ccc3aa8cd7c
2026-10-23 14:21:44,529 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2722b794-2c6c-46be-81e7-f7b6edba57d7
2026-10-23 14:21:44,554 - INFO - Verified VN network id 12 for VN 55608ac0-a592-4e03-86bf-4ccc3aa8cd7c
2026-10-23 14:21:44,554 - INFO - Verifications in API Server for VN ctest-vn-68138576 passed
2026-10-23 14:21:44,554 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/55608ac0-a592-4e03-86bf-4ccc3aa8cd7c
2026-10-23 14:21:44,571 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2722b794-2c6c-46be-81e7-f7b6edba57d7
2026-10-23 14:21:44,582 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2722b794-2c6c-46be-81e7-f7b6edba57d7
2026-10-23 14:21:44,595 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/53834a6b-b866-4e16-9698-08122210aad9
2026-10-23 14:21:44,614 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15514446:ctest-vn-68138576', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15514446', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6152069651004280323', 'uuid-lslong': '9709563761675259260'}, 'enable': 'true', 'created': '2026-10-23T14:21:41', 'last-modified': '2026-10-23T14:21:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.813099'}
2026-10-23 14:21:44,622 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-23 14:21:44,623 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68138576 passed
2026-10-23 14:21:44,623 - DEBUG - ====Verifying policy data for ctest-vn-68138576 in API_Server ======
2026-10-23 14:21:44,623 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-23 14:21:44,631 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4189e7ba-60c7-4312-b19e-84ffbbe2755a
2026-10-23 14:21:44,648 - DEBUG - Requesting: http://10.0.0.38:8082/project/2c9c04dc-0b23-4008-bff4-4a94aadf4408
2026-10-23 14:21:44,733 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/55608ac0-a592-4e03-86bf-4ccc3aa8cd7c
2026-10-23 14:21:44,745 - DEBUG - ==>Verifying data for policy with id: b462b3c8-a655-48dd-b79e-8de430dda1ae, fqn: ['default-domain', 'ctest-TestBasicPolicy-15514446', 'ctest-policy-allow-all-14661623']
2026-10-23 14:21:44,745 - INFO - VN ctest-vn-68138576 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-23 14:21:44,745 - DEBUG - Verifying the vn in opserver
2026-10-23 14:21:44,745 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15514446:ctest-vn-68138576 virtual network link through opserver 10.0.0.38
2026-10-23 14:21:44,746 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-10-23 14:21:44,758 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15514446:ctest-vn-68138576', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15514446:ctest-vn-68138576?flat'}
2026-10-23 14:21:44,759 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15514446:ctest-vn-68138576 is found in opserver
2026-10-23 14:21:44,776 - DEBUG - Do not have enough data to verify VN in agent
2026-10-23 14:21:44,784 - DEBUG - VRF ids for VN ctest-vn-68138576: {}
2026-10-23 14:21:44,975 - DEBUG - Services list from nova: [