2025-12-29 11:30:55,734 - INFO - Domain Default found not creating
2025-12-29 11:30:55,966 - INFO - Project ctest-TestBasicPolicy-71818696 not found, creating it
2025-12-29 11:30:56,462 - INFO - Created Project:ctest-TestBasicPolicy-71818696, ID : 0c0a1df4-d7d7-460c-8e94-73c09376419d
2025-12-29 11:30:57,936 - INFO - ================================================================================
2025-12-29 11:30:57,936 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-12-29 11:30:57,936 - 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
2025-12-29 11:30:58,188 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2025-12-29 11:30:58,189 - INFO - Initial checks done. Running the testcase now
2025-12-29 11:30:58,189 - INFO -
2025-12-29 11:30:58,776 - DEBUG - Response for create_network : {'network': {'id': '0f2c05ff-3253-41f3-b007-64b3cb9db4f4', 'name': 'ctest-vn-35422719', 'tenant_id': '0c0a1df4d7d7460c8e9473c09376419d', 'project_id': '0c0a1df4d7d7460c8e9473c09376419d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71818696', 'ctest-vn-35422719'], 'port_security_enabled': True, 'description': ''}}
2025-12-29 11:30:58,955 - DEBUG - Response for create_subnet : {'subnet': {'id': '8e68ec37-fcd8-4776-9872-febe28616d46', 'name': '', 'tenant_id': '0c0a1df4d7d7460c8e9473c09376419d', 'network_id': '0f2c05ff-3253-41f3-b007-64b3cb9db4f4', 'ip_version': 4, 'cidr': '219.30.166.128/26', 'allocation_pools': [{'start': '219.30.166.130', 'end': '219.30.166.190'}], 'gateway_ip': '219.30.166.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.30.166.130', 'tags': [], 'project_id': '0c0a1df4d7d7460c8e9473c09376419d'}}
2025-12-29 11:30:58,975 - INFO - Created VN ctest-vn-35422719
2025-12-29 11:30:59,027 - DEBUG - VN ctest-vn-35422719 UUID is 0f2c05ff-3253-41f3-b007-64b3cb9db4f4
2025-12-29 11:30:59,319 - DEBUG - Response for create_network : {'network': {'id': '0b885685-3f60-4e15-afbd-6c3bafb69352', 'name': 'ctest-vn-37774681', 'tenant_id': '0c0a1df4d7d7460c8e9473c09376419d', 'project_id': '0c0a1df4d7d7460c8e9473c09376419d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71818696', 'ctest-vn-37774681'], 'port_security_enabled': True, 'description': ''}}
2025-12-29 11:30:59,472 - DEBUG - Response for create_subnet : {'subnet': {'id': '90978253-7b51-4174-b621-1403724bc4c6', 'name': '', 'tenant_id': '0c0a1df4d7d7460c8e9473c09376419d', 'network_id': '0b885685-3f60-4e15-afbd-6c3bafb69352', 'ip_version': 4, 'cidr': '1.212.110.64/26', 'allocation_pools': [{'start': '1.212.110.66', 'end': '1.212.110.126'}], 'gateway_ip': '1.212.110.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.212.110.66', 'tags': [], 'project_id': '0c0a1df4d7d7460c8e9473c09376419d'}}
2025-12-29 11:30:59,491 - INFO - Created VN ctest-vn-37774681
2025-12-29 11:30:59,543 - DEBUG - VN ctest-vn-37774681 UUID is 0b885685-3f60-4e15-afbd-6c3bafb69352
2025-12-29 11:30:59,662 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71818696:ctest-vn-35422719, 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-71818696:ctest-vn-37774681, 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]
2025-12-29 11:30:59,960 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0f2c05ff-3253-41f3-b007-64b3cb9db4f4', 'name': 'ctest-vn-35422719', 'tenant_id': '0c0a1df4d7d7460c8e9473c09376419d', 'project_id': '0c0a1df4d7d7460c8e9473c09376419d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8e68ec37-fcd8-4776-9872-febe28616d46'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71818696', 'ctest-vn-35422719'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71818696', 'ctest-policy-allow-all-52204811']], 'subnet_ipam': [{'subnet_cidr': '219.30.166.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-29 11:31:00,273 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0b885685-3f60-4e15-afbd-6c3bafb69352', 'name': 'ctest-vn-37774681', 'tenant_id': '0c0a1df4d7d7460c8e9473c09376419d', 'project_id': '0c0a1df4d7d7460c8e9473c09376419d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['90978253-7b51-4174-b621-1403724bc4c6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71818696', 'ctest-vn-37774681'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71818696', 'ctest-policy-allow-all-52204811']], 'subnet_ipam': [{'subnet_cidr': '1.212.110.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-29 11:31:00,411 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-29 11:31:00,725 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-29 11:31:00,762 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a4495567-ec69-4337-801c-32dd22fea583
2025-12-29 11:31:00,778 - DEBUG - Requesting: http://10.0.0.38:8082/project/0c0a1df4-d7d7-460c-8e94-73c09376419d
2025-12-29 11:31:00,856 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0f2c05ff-3253-41f3-b007-64b3cb9db4f4
2025-12-29 11:31:00,868 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0f2c05ff-3253-41f3-b007-64b3cb9db4f4
2025-12-29 11:31:00,880 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/26f496f5-9108-4ee8-9279-f233dcbd54d9
2025-12-29 11:31:00,888 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/26f496f5-9108-4ee8-9279-f233dcbd54d9
2025-12-29 11:31:00,897 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8fe6d6b6-a793-4937-a2db-cbce83c8c165
2025-12-29 11:31:00,905 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-29 11:31:00,905 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0f2c05ff-3253-41f3-b007-64b3cb9db4f4
2025-12-29 11:31:00,916 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/26f496f5-9108-4ee8-9279-f233dcbd54d9
2025-12-29 11:31:00,934 - INFO - Verified VN network id 11 for VN 0f2c05ff-3253-41f3-b007-64b3cb9db4f4
2025-12-29 11:31:00,934 - INFO - Verifications in API Server for VN ctest-vn-35422719 passed
2025-12-29 11:31:00,934 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0f2c05ff-3253-41f3-b007-64b3cb9db4f4
2025-12-29 11:31:00,943 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/26f496f5-9108-4ee8-9279-f233dcbd54d9
2025-12-29 11:31:00,950 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/26f496f5-9108-4ee8-9279-f233dcbd54d9
2025-12-29 11:31:00,957 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8fe6d6b6-a793-4937-a2db-cbce83c8c165
2025-12-29 11:31:00,972 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71818696:ctest-vn-35422719', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71818696', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1093255403163304435', 'uuid-lslong': '12684217598890325236'}, 'enable': 'true', 'created': '2025-12-29T11:30:58', 'last-modified': '2025-12-29T11:30:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.037596'}
2025-12-29 11:31:00,982 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-29 11:31:00,982 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35422719 passed
2025-12-29 11:31:00,982 - DEBUG - ====Verifying policy data for ctest-vn-35422719 in API_Server ======
2025-12-29 11:31:00,982 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-29 11:31:00,989 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a4495567-ec69-4337-801c-32dd22fea583
2025-12-29 11:31:01,003 - DEBUG - Requesting: http://10.0.0.38:8082/project/0c0a1df4-d7d7-460c-8e94-73c09376419d
2025-12-29 11:31:01,074 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0f2c05ff-3253-41f3-b007-64b3cb9db4f4
2025-12-29 11:31:01,084 - DEBUG - ==>Verifying data for policy with id: a617ce09-00cd-4687-a855-188c6ff3ae0c, fqn: ['default-domain', 'ctest-TestBasicPolicy-71818696', 'ctest-policy-allow-all-52204811']
2025-12-29 11:31:01,084 - INFO - VN ctest-vn-35422719 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-29 11:31:01,084 - DEBUG - Verifying the vn in opserver
2025-12-29 11:31:01,084 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71818696:ctest-vn-35422719 virtual network link through opserver 10.0.0.38
2025-12-29 11:31:01,085 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-12-29 11:31:01,386 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-12-29 11:31:01,463 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71818696:ctest-vn-35422719', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71818696:ctest-vn-35422719?flat'}
2025-12-29 11:31:01,463 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71818696:ctest-vn-35422719 is found in opserver
2025-12-29 11:31:01,474 - DEBUG - Do not have enough data to verify VN in agent
2025-12-29 11:31:01,480 - DEBUG - VRF ids for VN ctest-vn-35422719: {}
2025-12-29 11:31:01,480 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-29 11:31:01,487 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a4495567-ec69-4337-801c-32dd22fea583
2025-12-29 11:31:01,500 - DEBUG - Requesting: http://10.0.0.38:8082/project/0c0a1df4-d7d7-460c-8e94-73c09376419d
2025-12-29 11:31:01,574 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0b885685-3f60-4e15-afbd-6c3bafb69352
2025-12-29 11:31:01,596 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0b885685-3f60-4e15-afbd-6c3bafb69352
2025-12-29 11:31:01,609 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/293ff708-67fd-4d26-85cc-95dcf71e5386
2025-12-29 11:31:01,618 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/293ff708-67fd-4d26-85cc-95dcf71e5386
2025-12-29 11:31:01,627 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fff8f1be-134c-4fe6-8c7c-5813a5e189ac
2025-12-29 11:31:01,635 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-29 11:31:01,635 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0b885685-3f60-4e15-afbd-6c3bafb69352
2025-12-29 11:31:01,646 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/293ff708-67fd-4d26-85cc-95dcf71e5386
2025-12-29 11:31:01,665 - INFO - Verified VN network id 12 for VN 0b885685-3f60-4e15-afbd-6c3bafb69352
2025-12-29 11:31:01,665 - INFO - Verifications in API Server for VN ctest-vn-37774681 passed
2025-12-29 11:31:01,665 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0b885685-3f60-4e15-afbd-6c3bafb69352
2025-12-29 11:31:01,676 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/293ff708-67fd-4d26-85cc-95dcf71e5386
2025-12-29 11:31:01,685 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/293ff708-67fd-4d26-85cc-95dcf71e5386
2025-12-29 11:31:01,695 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fff8f1be-134c-4fe6-8c7c-5813a5e189ac
2025-12-29 11:31:01,711 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71818696:ctest-vn-37774681', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71818696', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '831009261543771669', 'uuid-lslong': '12663396730842551122'}, 'enable': 'true', 'created': '2025-12-29T11:30:59', 'last-modified': '2025-12-29T11:31:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.527359'}
2025-12-29 11:31:01,718 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-29 11:31:01,718 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37774681 passed
2025-12-29 11:31:01,719 - DEBUG - ====Verifying policy data for ctest-vn-37774681 in API_Server ======
2025-12-29 11:31:01,719 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-29 11:31:01,726 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a4495567-ec69-4337-801c-32dd22fea583
2025-12-29 11:31:01,747 - DEBUG - Requesting: http://10.0.0.38:8082/project/0c0a1df4-d7d7-460c-8e94-73c09376419d
2025-12-29 11:31:01,823 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0b885685-3f60-4e15-afbd-6c3bafb69352
2025-12-29 11:31:01,835 - DEBUG - ==>Verifying data for policy with id: a617ce09-00cd-4687-a855-188c6ff3ae0c, fqn: ['default-domain', 'ctest-TestBasicPolicy-71818696', 'ctest-policy-allow-all-52204811']
2025-12-29 11:31:01,835 - INFO - VN ctest-vn-37774681 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-29 11:31:01,835 - DEBUG - Verifying the vn in opserver
2025-12-29 11:31:01,835 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71818696:ctest-vn-37774681 virtual network link through opserver 10.0.0.38
2025-12-29 11:31:01,835 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-12-29 11:31:01,847 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71818696:ctest-vn-37774681', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71818696:ctest-vn-37774681?flat'}
2025-12-29 11:31:01,847 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71818696:ctest-vn-37774681 is found in opserver
2025-12-29 11:31:01,859 - DEBUG - Do not have enough data to verify VN in agent
2025-12-29 11:31:01,865 - DEBUG - VRF ids for VN ctest-vn-37774681: {}
2025-12-29 11:31:01,934 - DEBUG - Services list from nova: [