2026-01-05 02:07:24,069 - INFO - Domain Default found not creating
2026-01-05 02:07:24,243 - INFO - Project ctest-TestBasicPolicy-64106949 not found, creating it
2026-01-05 02:07:24,698 - INFO - Created Project:ctest-TestBasicPolicy-64106949, ID : 2bf5c439-b9b9-45a2-acf8-72970bd5a395
2026-01-05 02:07:26,194 - INFO - ================================================================================
2026-01-05 02:07:26,194 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-05 02:07:26,194 - 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-01-05 02:07:26,452 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.193': '0'}} with
2026-01-05 02:07:26,452 - INFO - Initial checks done. Running the testcase now
2026-01-05 02:07:26,452 - INFO -
2026-01-05 02:07:27,021 - DEBUG - Response for create_network : {'network': {'id': 'b36027f8-ba63-49f9-a9b5-9b97f97e9816', 'name': 'ctest-vn-00681819', 'tenant_id': '2bf5c439b9b945a2acf872970bd5a395', 'project_id': '2bf5c439b9b945a2acf872970bd5a395', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64106949', 'ctest-vn-00681819'], 'port_security_enabled': True, 'description': ''}}
2026-01-05 02:07:27,212 - DEBUG - Response for create_subnet : {'subnet': {'id': '80e4f71e-85bd-4751-b56b-8868f3ee3c2a', 'name': '', 'tenant_id': '2bf5c439b9b945a2acf872970bd5a395', 'network_id': 'b36027f8-ba63-49f9-a9b5-9b97f97e9816', 'ip_version': 4, 'cidr': '128.158.9.64/26', 'allocation_pools': [{'start': '128.158.9.66', 'end': '128.158.9.126'}], 'gateway_ip': '128.158.9.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.158.9.66', 'tags': [], 'project_id': '2bf5c439b9b945a2acf872970bd5a395'}}
2026-01-05 02:07:27,228 - INFO - Created VN ctest-vn-00681819
2026-01-05 02:07:27,279 - DEBUG - VN ctest-vn-00681819 UUID is b36027f8-ba63-49f9-a9b5-9b97f97e9816
2026-01-05 02:07:27,619 - DEBUG - Response for create_network : {'network': {'id': 'e87df75f-ab90-4b19-92ad-b1d0511dfbd0', 'name': 'ctest-vn-62741217', 'tenant_id': '2bf5c439b9b945a2acf872970bd5a395', 'project_id': '2bf5c439b9b945a2acf872970bd5a395', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64106949', 'ctest-vn-62741217'], 'port_security_enabled': True, 'description': ''}}
2026-01-05 02:07:27,838 - DEBUG - Response for create_subnet : {'subnet': {'id': '53f3b006-d85b-475b-b911-7f3cd3b53d2a', 'name': '', 'tenant_id': '2bf5c439b9b945a2acf872970bd5a395', 'network_id': 'e87df75f-ab90-4b19-92ad-b1d0511dfbd0', 'ip_version': 4, 'cidr': '221.132.45.192/26', 'allocation_pools': [{'start': '221.132.45.194', 'end': '221.132.45.254'}], 'gateway_ip': '221.132.45.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.132.45.194', 'tags': [], 'project_id': '2bf5c439b9b945a2acf872970bd5a395'}}
2026-01-05 02:07:27,855 - INFO - Created VN ctest-vn-62741217
2026-01-05 02:07:27,907 - DEBUG - VN ctest-vn-62741217 UUID is e87df75f-ab90-4b19-92ad-b1d0511dfbd0
2026-01-05 02:07:28,029 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-64106949:ctest-vn-00681819, 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-64106949:ctest-vn-62741217, 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-01-05 02:07:28,324 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b36027f8-ba63-49f9-a9b5-9b97f97e9816', 'name': 'ctest-vn-00681819', 'tenant_id': '2bf5c439b9b945a2acf872970bd5a395', 'project_id': '2bf5c439b9b945a2acf872970bd5a395', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['80e4f71e-85bd-4751-b56b-8868f3ee3c2a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64106949', 'ctest-vn-00681819'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64106949', 'ctest-policy-allow-all-79015617']], 'subnet_ipam': [{'subnet_cidr': '128.158.9.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-05 02:07:28,608 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e87df75f-ab90-4b19-92ad-b1d0511dfbd0', 'name': 'ctest-vn-62741217', 'tenant_id': '2bf5c439b9b945a2acf872970bd5a395', 'project_id': '2bf5c439b9b945a2acf872970bd5a395', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['53f3b006-d85b-475b-b911-7f3cd3b53d2a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64106949', 'ctest-vn-62741217'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64106949', 'ctest-policy-allow-all-79015617']], 'subnet_ipam': [{'subnet_cidr': '221.132.45.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-05 02:07:28,755 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-01-05 02:07:29,070 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-01-05 02:07:29,101 - DEBUG - Requesting: http://10.0.0.41:8082/domain/0da39fe2-7a8f-4fdc-94c9-2a9a81062395
2026-01-05 02:07:29,113 - DEBUG - Requesting: http://10.0.0.41:8082/project/2bf5c439-b9b9-45a2-acf8-72970bd5a395
2026-01-05 02:07:29,188 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/b36027f8-ba63-49f9-a9b5-9b97f97e9816
2026-01-05 02:07:29,197 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/b36027f8-ba63-49f9-a9b5-9b97f97e9816
2026-01-05 02:07:29,205 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/8069e79f-5c54-41f3-830f-e5bef3355d2a
2026-01-05 02:07:29,212 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/8069e79f-5c54-41f3-830f-e5bef3355d2a
2026-01-05 02:07:29,218 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/b2dc3e40-6926-44f2-a21b-323739226f20
2026-01-05 02:07:29,224 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-05 02:07:29,224 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/b36027f8-ba63-49f9-a9b5-9b97f97e9816
2026-01-05 02:07:29,232 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/8069e79f-5c54-41f3-830f-e5bef3355d2a
2026-01-05 02:07:29,245 - INFO - Verified VN network id 11 for VN b36027f8-ba63-49f9-a9b5-9b97f97e9816
2026-01-05 02:07:29,245 - INFO - Verifications in API Server for VN ctest-vn-00681819 passed
2026-01-05 02:07:29,245 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/b36027f8-ba63-49f9-a9b5-9b97f97e9816
2026-01-05 02:07:29,253 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/8069e79f-5c54-41f3-830f-e5bef3355d2a
2026-01-05 02:07:29,259 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/8069e79f-5c54-41f3-830f-e5bef3355d2a
2026-01-05 02:07:29,264 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/b2dc3e40-6926-44f2-a21b-323739226f20
2026-01-05 02:07:29,275 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64106949:ctest-vn-00681819', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64106949', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12925374879785765369', 'uuid-lslong': '12228851440222640150'}, 'enable': 'true', 'created': '2026-01-05T02:07:26', 'last-modified': '2026-01-05T02:07:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.976200'}
2026-01-05 02:07:29,280 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-05 02:07:29,280 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00681819 passed
2026-01-05 02:07:29,280 - DEBUG - ====Verifying policy data for ctest-vn-00681819 in API_Server ======
2026-01-05 02:07:29,280 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-01-05 02:07:29,286 - DEBUG - Requesting: http://10.0.0.41:8082/domain/0da39fe2-7a8f-4fdc-94c9-2a9a81062395
2026-01-05 02:07:29,295 - DEBUG - Requesting: http://10.0.0.41:8082/project/2bf5c439-b9b9-45a2-acf8-72970bd5a395
2026-01-05 02:07:29,366 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/b36027f8-ba63-49f9-a9b5-9b97f97e9816
2026-01-05 02:07:29,375 - DEBUG - ==>Verifying data for policy with id: 26536ffc-a137-4c76-ae1a-f430276dfa60, fqn: ['default-domain', 'ctest-TestBasicPolicy-64106949', 'ctest-policy-allow-all-79015617']
2026-01-05 02:07:29,375 - INFO - VN ctest-vn-00681819 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-05 02:07:29,375 - DEBUG - Verifying the vn in opserver
2026-01-05 02:07:29,375 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64106949:ctest-vn-00681819 virtual network link through opserver 10.0.0.41
2026-01-05 02:07:29,375 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2026-01-05 02:07:29,671 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2026-01-05 02:07:29,730 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64106949:ctest-vn-00681819', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64106949:ctest-vn-00681819?flat'}
2026-01-05 02:07:29,730 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64106949:ctest-vn-00681819 is found in opserver
2026-01-05 02:07:29,739 - DEBUG - Do not have enough data to verify VN in agent
2026-01-05 02:07:29,743 - DEBUG - VRF ids for VN ctest-vn-00681819: {}
2026-01-05 02:07:29,743 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-01-05 02:07:29,748 - DEBUG - Requesting: http://10.0.0.41:8082/domain/0da39fe2-7a8f-4fdc-94c9-2a9a81062395
2026-01-05 02:07:29,758 - DEBUG - Requesting: http://10.0.0.41:8082/project/2bf5c439-b9b9-45a2-acf8-72970bd5a395
2026-01-05 02:07:29,831 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/e87df75f-ab90-4b19-92ad-b1d0511dfbd0
2026-01-05 02:07:29,843 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/e87df75f-ab90-4b19-92ad-b1d0511dfbd0
2026-01-05 02:07:29,851 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/a7f2a3ea-bcd7-4e69-807e-ca44f8f5bd8c
2026-01-05 02:07:29,857 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/a7f2a3ea-bcd7-4e69-807e-ca44f8f5bd8c
2026-01-05 02:07:29,863 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/05861c14-91b4-4425-ac02-7e42af1f9c8e
2026-01-05 02:07:29,871 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-05 02:07:29,871 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/e87df75f-ab90-4b19-92ad-b1d0511dfbd0
2026-01-05 02:07:29,880 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/a7f2a3ea-bcd7-4e69-807e-ca44f8f5bd8c
2026-01-05 02:07:29,893 - INFO - Verified VN network id 12 for VN e87df75f-ab90-4b19-92ad-b1d0511dfbd0
2026-01-05 02:07:29,893 - INFO - Verifications in API Server for VN ctest-vn-62741217 passed
2026-01-05 02:07:29,893 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/e87df75f-ab90-4b19-92ad-b1d0511dfbd0
2026-01-05 02:07:29,903 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/a7f2a3ea-bcd7-4e69-807e-ca44f8f5bd8c
2026-01-05 02:07:29,910 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/a7f2a3ea-bcd7-4e69-807e-ca44f8f5bd8c
2026-01-05 02:07:29,917 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/05861c14-91b4-4425-ac02-7e42af1f9c8e
2026-01-05 02:07:29,929 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64106949:ctest-vn-62741217', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64106949', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16752818179160427289', 'uuid-lslong': '10569299408780655568'}, 'enable': 'true', 'created': '2026-01-05T02:07:27', 'last-modified': '2026-01-05T02:07:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.391840'}
2026-01-05 02:07:29,936 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-05 02:07:29,936 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62741217 passed
2026-01-05 02:07:29,936 - DEBUG - ====Verifying policy data for ctest-vn-62741217 in API_Server ======
2026-01-05 02:07:29,936 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-01-05 02:07:29,944 - DEBUG - Requesting: http://10.0.0.41:8082/domain/0da39fe2-7a8f-4fdc-94c9-2a9a81062395
2026-01-05 02:07:29,953 - DEBUG - Requesting: http://10.0.0.41:8082/project/2bf5c439-b9b9-45a2-acf8-72970bd5a395
2026-01-05 02:07:30,023 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/e87df75f-ab90-4b19-92ad-b1d0511dfbd0
2026-01-05 02:07:30,031 - DEBUG - ==>Verifying data for policy with id: 26536ffc-a137-4c76-ae1a-f430276dfa60, fqn: ['default-domain', 'ctest-TestBasicPolicy-64106949', 'ctest-policy-allow-all-79015617']
2026-01-05 02:07:30,031 - INFO - VN ctest-vn-62741217 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-05 02:07:30,031 - DEBUG - Verifying the vn in opserver
2026-01-05 02:07:30,031 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64106949:ctest-vn-62741217 virtual network link through opserver 10.0.0.41
2026-01-05 02:07:30,031 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2026-01-05 02:07:30,040 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64106949:ctest-vn-62741217', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64106949:ctest-vn-62741217?flat'}
2026-01-05 02:07:30,040 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64106949:ctest-vn-62741217 is found in opserver
2026-01-05 02:07:30,052 - DEBUG - Do not have enough data to verify VN in agent
2026-01-05 02:07:30,058 - DEBUG - VRF ids for VN ctest-vn-62741217: {}
2026-01-05 02:07:30,114 - DEBUG - Services list from nova: [