2026-05-14 10:34:26,296 - INFO - Domain Default found not creating
2026-05-14 10:34:26,552 - INFO - Project ctest-TestBasicPolicy-23872059 not found, creating it
2026-05-14 10:34:27,078 - INFO - Created Project:ctest-TestBasicPolicy-23872059, ID : 641d6cd2-a1fb-4195-978e-aa0028f4f541
2026-05-14 10:34:28,984 - INFO - ================================================================================
2026-05-14 10:34:28,985 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-05-14 10:34:28,985 - 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-14 10:34:29,242 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-05-14 10:34:29,242 - INFO - Initial checks done. Running the testcase now
2026-05-14 10:34:29,243 - INFO -
2026-05-14 10:34:29,829 - DEBUG - Response for create_network : {'network': {'id': '97654106-2878-402c-a2fb-b0abfec9ac38', 'name': 'ctest-vn-89961098', 'tenant_id': '641d6cd2a1fb4195978eaa0028f4f541', 'project_id': '641d6cd2a1fb4195978eaa0028f4f541', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23872059', 'ctest-vn-89961098'], 'port_security_enabled': True, 'description': ''}}
2026-05-14 10:34:29,996 - DEBUG - Response for create_subnet : {'subnet': {'id': '59db9356-9548-44de-8a2a-e7b747ee4809', 'name': '', 'tenant_id': '641d6cd2a1fb4195978eaa0028f4f541', 'network_id': '97654106-2878-402c-a2fb-b0abfec9ac38', 'ip_version': 4, 'cidr': '15.207.174.0/26', 'allocation_pools': [{'start': '15.207.174.2', 'end': '15.207.174.62'}], 'gateway_ip': '15.207.174.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.207.174.2', 'tags': [], 'project_id': '641d6cd2a1fb4195978eaa0028f4f541'}}
2026-05-14 10:34:30,019 - INFO - Created VN ctest-vn-89961098
2026-05-14 10:34:30,075 - DEBUG - VN ctest-vn-89961098 UUID is 97654106-2878-402c-a2fb-b0abfec9ac38
2026-05-14 10:34:30,397 - DEBUG - Response for create_network : {'network': {'id': 'b3b4c45e-f57a-4e89-969d-5c428f5b862c', 'name': 'ctest-vn-88953908', 'tenant_id': '641d6cd2a1fb4195978eaa0028f4f541', 'project_id': '641d6cd2a1fb4195978eaa0028f4f541', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23872059', 'ctest-vn-88953908'], 'port_security_enabled': True, 'description': ''}}
2026-05-14 10:34:30,617 - DEBUG - Response for create_subnet : {'subnet': {'id': '6dc7576b-9599-4d22-9455-e651e6ae4cff', 'name': '', 'tenant_id': '641d6cd2a1fb4195978eaa0028f4f541', 'network_id': 'b3b4c45e-f57a-4e89-969d-5c428f5b862c', 'ip_version': 4, 'cidr': '222.244.133.0/26', 'allocation_pools': [{'start': '222.244.133.2', 'end': '222.244.133.62'}], 'gateway_ip': '222.244.133.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.244.133.2', 'tags': [], 'project_id': '641d6cd2a1fb4195978eaa0028f4f541'}}
2026-05-14 10:34:30,637 - INFO - Created VN ctest-vn-88953908
2026-05-14 10:34:30,691 - DEBUG - VN ctest-vn-88953908 UUID is b3b4c45e-f57a-4e89-969d-5c428f5b862c
2026-05-14 10:34:30,809 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23872059:ctest-vn-89961098, 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-23872059:ctest-vn-88953908, 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-14 10:34:31,114 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '97654106-2878-402c-a2fb-b0abfec9ac38', 'name': 'ctest-vn-89961098', 'tenant_id': '641d6cd2a1fb4195978eaa0028f4f541', 'project_id': '641d6cd2a1fb4195978eaa0028f4f541', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['59db9356-9548-44de-8a2a-e7b747ee4809'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23872059', 'ctest-vn-89961098'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23872059', 'ctest-policy-allow-all-87421515']], 'subnet_ipam': [{'subnet_cidr': '15.207.174.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-14 10:34:31,367 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b3b4c45e-f57a-4e89-969d-5c428f5b862c', 'name': 'ctest-vn-88953908', 'tenant_id': '641d6cd2a1fb4195978eaa0028f4f541', 'project_id': '641d6cd2a1fb4195978eaa0028f4f541', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6dc7576b-9599-4d22-9455-e651e6ae4cff'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23872059', 'ctest-vn-88953908'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23872059', 'ctest-policy-allow-all-87421515']], 'subnet_ipam': [{'subnet_cidr': '222.244.133.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-14 10:34:31,527 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-14 10:34:31,832 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-14 10:34:31,868 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5f904339-0c5d-4c99-956c-fc475be2323a
2026-05-14 10:34:31,881 - DEBUG - Requesting: http://10.0.0.50:8082/project/641d6cd2-a1fb-4195-978e-aa0028f4f541
2026-05-14 10:34:31,961 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/97654106-2878-402c-a2fb-b0abfec9ac38
2026-05-14 10:34:31,974 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/97654106-2878-402c-a2fb-b0abfec9ac38
2026-05-14 10:34:31,986 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5e7368e7-c0c4-4fa6-88ab-243d4a4ccf36
2026-05-14 10:34:31,995 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5e7368e7-c0c4-4fa6-88ab-243d4a4ccf36
2026-05-14 10:34:32,003 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c65c3c51-f755-455d-9e44-2b6298f4eb5e
2026-05-14 10:34:32,011 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-14 10:34:32,011 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/97654106-2878-402c-a2fb-b0abfec9ac38
2026-05-14 10:34:32,023 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5e7368e7-c0c4-4fa6-88ab-243d4a4ccf36
2026-05-14 10:34:32,038 - INFO - Verified VN network id 12 for VN 97654106-2878-402c-a2fb-b0abfec9ac38
2026-05-14 10:34:32,038 - INFO - Verifications in API Server for VN ctest-vn-89961098 passed
2026-05-14 10:34:32,039 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/97654106-2878-402c-a2fb-b0abfec9ac38
2026-05-14 10:34:32,048 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5e7368e7-c0c4-4fa6-88ab-243d4a4ccf36
2026-05-14 10:34:32,058 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5e7368e7-c0c4-4fa6-88ab-243d4a4ccf36
2026-05-14 10:34:32,067 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c65c3c51-f755-455d-9e44-2b6298f4eb5e
2026-05-14 10:34:32,080 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23872059:ctest-vn-89961098', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23872059', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10909197167079473196', 'uuid-lslong': '11744174706059226168'}, 'enable': 'true', 'created': '2026-05-14T10:34:29', 'last-modified': '2026-05-14T10:34:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.994526'}
2026-05-14 10:34:32,087 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-14 10:34:32,087 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89961098 passed
2026-05-14 10:34:32,087 - DEBUG - ====Verifying policy data for ctest-vn-89961098 in API_Server ======
2026-05-14 10:34:32,087 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-14 10:34:32,096 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5f904339-0c5d-4c99-956c-fc475be2323a
2026-05-14 10:34:32,109 - DEBUG - Requesting: http://10.0.0.50:8082/project/641d6cd2-a1fb-4195-978e-aa0028f4f541
2026-05-14 10:34:32,184 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/97654106-2878-402c-a2fb-b0abfec9ac38
2026-05-14 10:34:32,193 - DEBUG - ==>Verifying data for policy with id: 3ca152e5-5b93-4975-b2a8-aa342d10f8bd, fqn: ['default-domain', 'ctest-TestBasicPolicy-23872059', 'ctest-policy-allow-all-87421515']
2026-05-14 10:34:32,193 - INFO - VN ctest-vn-89961098 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-14 10:34:32,193 - DEBUG - Verifying the vn in opserver
2026-05-14 10:34:32,193 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23872059:ctest-vn-89961098 virtual network link through opserver 10.0.0.50
2026-05-14 10:34:32,193 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-05-14 10:34:32,504 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-05-14 10:34:32,580 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23872059:ctest-vn-89961098', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23872059:ctest-vn-89961098?flat'}
2026-05-14 10:34:32,580 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23872059:ctest-vn-89961098 is found in opserver
2026-05-14 10:34:32,591 - DEBUG - Do not have enough data to verify VN in agent
2026-05-14 10:34:32,597 - DEBUG - VRF ids for VN ctest-vn-89961098: {}
2026-05-14 10:34:32,597 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-14 10:34:32,603 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5f904339-0c5d-4c99-956c-fc475be2323a
2026-05-14 10:34:32,615 - DEBUG - Requesting: http://10.0.0.50:8082/project/641d6cd2-a1fb-4195-978e-aa0028f4f541
2026-05-14 10:34:32,691 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b3b4c45e-f57a-4e89-969d-5c428f5b862c
2026-05-14 10:34:32,703 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b3b4c45e-f57a-4e89-969d-5c428f5b862c
2026-05-14 10:34:32,714 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d2c97be8-5899-468c-9cb1-e1327b846db9
2026-05-14 10:34:32,722 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d2c97be8-5899-468c-9cb1-e1327b846db9
2026-05-14 10:34:32,730 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ee789caa-decd-4dce-bcce-28bea43085fa
2026-05-14 10:34:32,737 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-14 10:34:32,737 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b3b4c45e-f57a-4e89-969d-5c428f5b862c
2026-05-14 10:34:32,747 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d2c97be8-5899-468c-9cb1-e1327b846db9
2026-05-14 10:34:32,762 - INFO - Verified VN network id 13 for VN b3b4c45e-f57a-4e89-969d-5c428f5b862c
2026-05-14 10:34:32,762 - INFO - Verifications in API Server for VN ctest-vn-88953908 passed
2026-05-14 10:34:32,762 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b3b4c45e-f57a-4e89-969d-5c428f5b862c
2026-05-14 10:34:32,772 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d2c97be8-5899-468c-9cb1-e1327b846db9
2026-05-14 10:34:32,780 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d2c97be8-5899-468c-9cb1-e1327b846db9
2026-05-14 10:34:32,789 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ee789caa-decd-4dce-bcce-28bea43085fa
2026-05-14 10:34:32,801 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23872059:ctest-vn-88953908', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23872059', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12949190740721421961', 'uuid-lslong': '10852932117975500332'}, 'enable': 'true', 'created': '2026-05-14T10:34:30', 'last-modified': '2026-05-14T10:34:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.469423'}
2026-05-14 10:34:32,808 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-14 10:34:32,808 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88953908 passed
2026-05-14 10:34:32,808 - DEBUG - ====Verifying policy data for ctest-vn-88953908 in API_Server ======
2026-05-14 10:34:32,808 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-14 10:34:32,814 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5f904339-0c5d-4c99-956c-fc475be2323a
2026-05-14 10:34:32,825 - DEBUG - Requesting: http://10.0.0.50:8082/project/641d6cd2-a1fb-4195-978e-aa0028f4f541
2026-05-14 10:34:32,900 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b3b4c45e-f57a-4e89-969d-5c428f5b862c
2026-05-14 10:34:32,910 - DEBUG - ==>Verifying data for policy with id: 3ca152e5-5b93-4975-b2a8-aa342d10f8bd, fqn: ['default-domain', 'ctest-TestBasicPolicy-23872059', 'ctest-policy-allow-all-87421515']
2026-05-14 10:34:32,910 - INFO - VN ctest-vn-88953908 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-14 10:34:32,910 - DEBUG - Verifying the vn in opserver
2026-05-14 10:34:32,910 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23872059:ctest-vn-88953908 virtual network link through opserver 10.0.0.50
2026-05-14 10:34:32,910 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-05-14 10:34:32,920 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23872059:ctest-vn-88953908', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23872059:ctest-vn-88953908?flat'}
2026-05-14 10:34:32,920 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23872059:ctest-vn-88953908 is found in opserver
2026-05-14 10:34:32,931 - DEBUG - Do not have enough data to verify VN in agent
2026-05-14 10:34:32,936 - DEBUG - VRF ids for VN ctest-vn-88953908: {}
2026-05-14 10:34:33,003 - DEBUG - Services list from nova: [