2026-03-27 11:17:43,912 - INFO - Domain Default found not creating
2026-03-27 11:17:44,088 - INFO - Project ctest-TestBasicPolicy-63717608 not found, creating it
2026-03-27 11:17:44,556 - INFO - Created Project:ctest-TestBasicPolicy-63717608, ID : 459d340a-85a2-4938-874d-4f7bca56ee77
2026-03-27 11:17:46,035 - INFO - ================================================================================
2026-03-27 11:17:46,035 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-27 11:17:46,035 - 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-03-27 11:17:46,291 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with
2026-03-27 11:17:46,291 - INFO - Initial checks done. Running the testcase now
2026-03-27 11:17:46,291 - INFO -
2026-03-27 11:17:46,856 - DEBUG - Response for create_network : {'network': {'id': '08198def-f8e3-4b00-94a3-f0c767cbbf1f', 'name': 'ctest-vn-65096834', 'tenant_id': '459d340a85a24938874d4f7bca56ee77', 'project_id': '459d340a85a24938874d4f7bca56ee77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63717608', 'ctest-vn-65096834'], 'port_security_enabled': True, 'description': ''}}
2026-03-27 11:17:47,090 - DEBUG - Response for create_subnet : {'subnet': {'id': '79d479f4-2440-4886-a044-e8c4a80593d6', 'name': '', 'tenant_id': '459d340a85a24938874d4f7bca56ee77', 'network_id': '08198def-f8e3-4b00-94a3-f0c767cbbf1f', 'ip_version': 4, 'cidr': '44.145.101.64/26', 'allocation_pools': [{'start': '44.145.101.66', 'end': '44.145.101.126'}], 'gateway_ip': '44.145.101.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.145.101.66', 'tags': [], 'project_id': '459d340a85a24938874d4f7bca56ee77'}}
2026-03-27 11:17:47,108 - INFO - Created VN ctest-vn-65096834
2026-03-27 11:17:47,161 - DEBUG - VN ctest-vn-65096834 UUID is 08198def-f8e3-4b00-94a3-f0c767cbbf1f
2026-03-27 11:17:47,457 - DEBUG - Response for create_network : {'network': {'id': '8cb01bd3-402e-4a7b-8e49-8b0b395c597c', 'name': 'ctest-vn-09023141', 'tenant_id': '459d340a85a24938874d4f7bca56ee77', 'project_id': '459d340a85a24938874d4f7bca56ee77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63717608', 'ctest-vn-09023141'], 'port_security_enabled': True, 'description': ''}}
2026-03-27 11:17:47,672 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cdb4187b-514b-42ff-8cdd-c575b6f9e613', 'name': '', 'tenant_id': '459d340a85a24938874d4f7bca56ee77', 'network_id': '8cb01bd3-402e-4a7b-8e49-8b0b395c597c', 'ip_version': 4, 'cidr': '39.139.73.64/26', 'allocation_pools': [{'start': '39.139.73.66', 'end': '39.139.73.126'}], 'gateway_ip': '39.139.73.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.139.73.66', 'tags': [], 'project_id': '459d340a85a24938874d4f7bca56ee77'}}
2026-03-27 11:17:47,690 - INFO - Created VN ctest-vn-09023141
2026-03-27 11:17:47,741 - DEBUG - VN ctest-vn-09023141 UUID is 8cb01bd3-402e-4a7b-8e49-8b0b395c597c
2026-03-27 11:17:47,852 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-63717608:ctest-vn-65096834, 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-63717608:ctest-vn-09023141, 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-03-27 11:17:48,150 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '08198def-f8e3-4b00-94a3-f0c767cbbf1f', 'name': 'ctest-vn-65096834', 'tenant_id': '459d340a85a24938874d4f7bca56ee77', 'project_id': '459d340a85a24938874d4f7bca56ee77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['79d479f4-2440-4886-a044-e8c4a80593d6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63717608', 'ctest-vn-65096834'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63717608', 'ctest-policy-allow-all-79038625']], 'subnet_ipam': [{'subnet_cidr': '44.145.101.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-27 11:17:48,432 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8cb01bd3-402e-4a7b-8e49-8b0b395c597c', 'name': 'ctest-vn-09023141', 'tenant_id': '459d340a85a24938874d4f7bca56ee77', 'project_id': '459d340a85a24938874d4f7bca56ee77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cdb4187b-514b-42ff-8cdd-c575b6f9e613'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63717608', 'ctest-vn-09023141'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63717608', 'ctest-policy-allow-all-79038625']], 'subnet_ipam': [{'subnet_cidr': '39.139.73.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-27 11:17:48,589 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-03-27 11:17:48,890 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-03-27 11:17:48,921 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c9ed083c-1f0e-4461-ae22-5b9ca161886f
2026-03-27 11:17:48,933 - DEBUG - Requesting: http://10.0.0.22:8082/project/459d340a-85a2-4938-874d-4f7bca56ee77
2026-03-27 11:17:49,003 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/08198def-f8e3-4b00-94a3-f0c767cbbf1f
2026-03-27 11:17:49,013 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/08198def-f8e3-4b00-94a3-f0c767cbbf1f
2026-03-27 11:17:49,022 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/fb59ca64-2b10-44b1-bd0b-87aec3f38b41
2026-03-27 11:17:49,030 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/fb59ca64-2b10-44b1-bd0b-87aec3f38b41
2026-03-27 11:17:49,037 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/80007aad-153c-4c6c-af72-1f8e3cbb5c6b
2026-03-27 11:17:49,044 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-27 11:17:49,044 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/08198def-f8e3-4b00-94a3-f0c767cbbf1f
2026-03-27 11:17:49,053 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/fb59ca64-2b10-44b1-bd0b-87aec3f38b41
2026-03-27 11:17:49,068 - INFO - Verified VN network id 11 for VN 08198def-f8e3-4b00-94a3-f0c767cbbf1f
2026-03-27 11:17:49,068 - INFO - Verifications in API Server for VN ctest-vn-65096834 passed
2026-03-27 11:17:49,068 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/08198def-f8e3-4b00-94a3-f0c767cbbf1f
2026-03-27 11:17:49,077 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/fb59ca64-2b10-44b1-bd0b-87aec3f38b41
2026-03-27 11:17:49,084 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/fb59ca64-2b10-44b1-bd0b-87aec3f38b41
2026-03-27 11:17:49,091 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/80007aad-153c-4c6c-af72-1f8e3cbb5c6b
2026-03-27 11:17:49,105 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63717608:ctest-vn-65096834', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63717608', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '583653688533535488', 'uuid-lslong': '10710669078047735583'}, 'enable': 'true', 'created': '2026-03-27T11:17:46', 'last-modified': '2026-03-27T11:17:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.974161'}
2026-03-27 11:17:49,112 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-27 11:17:49,113 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65096834 passed
2026-03-27 11:17:49,113 - DEBUG - ====Verifying policy data for ctest-vn-65096834 in API_Server ======
2026-03-27 11:17:49,113 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-03-27 11:17:49,119 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c9ed083c-1f0e-4461-ae22-5b9ca161886f
2026-03-27 11:17:49,133 - DEBUG - Requesting: http://10.0.0.22:8082/project/459d340a-85a2-4938-874d-4f7bca56ee77
2026-03-27 11:17:49,202 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/08198def-f8e3-4b00-94a3-f0c767cbbf1f
2026-03-27 11:17:49,212 - DEBUG - ==>Verifying data for policy with id: 65a8a75f-51e6-46e3-bbee-332b623fbf24, fqn: ['default-domain', 'ctest-TestBasicPolicy-63717608', 'ctest-policy-allow-all-79038625']
2026-03-27 11:17:49,212 - INFO - VN ctest-vn-65096834 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-27 11:17:49,212 - DEBUG - Verifying the vn in opserver
2026-03-27 11:17:49,212 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63717608:ctest-vn-65096834 virtual network link through opserver 10.0.0.22
2026-03-27 11:17:49,212 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-03-27 11:17:49,504 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-03-27 11:17:49,568 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63717608:ctest-vn-65096834', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63717608:ctest-vn-65096834?flat'}
2026-03-27 11:17:49,568 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63717608:ctest-vn-65096834 is found in opserver
2026-03-27 11:17:49,578 - DEBUG - Do not have enough data to verify VN in agent
2026-03-27 11:17:49,583 - DEBUG - VRF ids for VN ctest-vn-65096834: {}
2026-03-27 11:17:49,583 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-03-27 11:17:49,589 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c9ed083c-1f0e-4461-ae22-5b9ca161886f
2026-03-27 11:17:49,601 - DEBUG - Requesting: http://10.0.0.22:8082/project/459d340a-85a2-4938-874d-4f7bca56ee77
2026-03-27 11:17:49,669 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8cb01bd3-402e-4a7b-8e49-8b0b395c597c
2026-03-27 11:17:49,680 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8cb01bd3-402e-4a7b-8e49-8b0b395c597c
2026-03-27 11:17:49,689 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/dc72a261-fd6f-4603-823f-fa68e261b777
2026-03-27 11:17:49,697 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/dc72a261-fd6f-4603-823f-fa68e261b777
2026-03-27 11:17:49,704 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/100d7294-438c-4d2a-a79f-a01a3ba4edbe
2026-03-27 11:17:49,711 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-27 11:17:49,711 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8cb01bd3-402e-4a7b-8e49-8b0b395c597c
2026-03-27 11:17:49,720 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/dc72a261-fd6f-4603-823f-fa68e261b777
2026-03-27 11:17:49,736 - INFO - Verified VN network id 12 for VN 8cb01bd3-402e-4a7b-8e49-8b0b395c597c
2026-03-27 11:17:49,736 - INFO - Verifications in API Server for VN ctest-vn-09023141 passed
2026-03-27 11:17:49,736 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8cb01bd3-402e-4a7b-8e49-8b0b395c597c
2026-03-27 11:17:49,746 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/dc72a261-fd6f-4603-823f-fa68e261b777
2026-03-27 11:17:49,754 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/dc72a261-fd6f-4603-823f-fa68e261b777
2026-03-27 11:17:49,762 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/100d7294-438c-4d2a-a79f-a01a3ba4edbe
2026-03-27 11:17:49,778 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63717608:ctest-vn-09023141', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63717608', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10137633355339811451', 'uuid-lslong': '10252878907008899452'}, 'enable': 'true', 'created': '2026-03-27T11:17:47', 'last-modified': '2026-03-27T11:17:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.418276'}
2026-03-27 11:17:49,785 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-27 11:17:49,786 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09023141 passed
2026-03-27 11:17:49,786 - DEBUG - ====Verifying policy data for ctest-vn-09023141 in API_Server ======
2026-03-27 11:17:49,786 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-03-27 11:17:49,792 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c9ed083c-1f0e-4461-ae22-5b9ca161886f
2026-03-27 11:17:49,804 - DEBUG - Requesting: http://10.0.0.22:8082/project/459d340a-85a2-4938-874d-4f7bca56ee77
2026-03-27 11:17:49,879 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8cb01bd3-402e-4a7b-8e49-8b0b395c597c
2026-03-27 11:17:49,888 - DEBUG - ==>Verifying data for policy with id: 65a8a75f-51e6-46e3-bbee-332b623fbf24, fqn: ['default-domain', 'ctest-TestBasicPolicy-63717608', 'ctest-policy-allow-all-79038625']
2026-03-27 11:17:49,888 - INFO - VN ctest-vn-09023141 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-27 11:17:49,889 - DEBUG - Verifying the vn in opserver
2026-03-27 11:17:49,889 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63717608:ctest-vn-09023141 virtual network link through opserver 10.0.0.22
2026-03-27 11:17:49,889 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-03-27 11:17:49,899 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63717608:ctest-vn-09023141', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63717608:ctest-vn-09023141?flat'}
2026-03-27 11:17:49,899 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63717608:ctest-vn-09023141 is found in opserver
2026-03-27 11:17:49,908 - DEBUG - Do not have enough data to verify VN in agent
2026-03-27 11:17:49,913 - DEBUG - VRF ids for VN ctest-vn-09023141: {}
2026-03-27 11:17:49,975 - DEBUG - Services list from nova: [