2026-10-12 15:49:12,272 - INFO - Domain Default found not creating
2026-10-12 15:49:12,400 - INFO - Project ctest-TestBasicPolicy-34854411 not found, creating it
2026-10-12 15:49:12,818 - INFO - Created Project:ctest-TestBasicPolicy-34854411, ID : ec742889-1a48-4a49-875e-a2f42f4c1971
2026-10-12 15:49:14,365 - INFO - ================================================================================
2026-10-12 15:49:14,365 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-12 15:49:14,365 - 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-12 15:49:14,621 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-10-12 15:49:14,621 - INFO - Initial checks done. Running the testcase now
2026-10-12 15:49:14,621 - INFO -
2026-10-12 15:49:15,218 - DEBUG - Response for create_network : {'network': {'id': '0fff9906-e4e8-4831-966b-e1c580a706c6', 'name': 'ctest-vn-47337338', 'tenant_id': 'ec7428891a484a49875ea2f42f4c1971', 'project_id': 'ec7428891a484a49875ea2f42f4c1971', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34854411', 'ctest-vn-47337338'], 'port_security_enabled': True, 'description': ''}}
2026-10-12 15:49:15,408 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f86b4fdd-033c-491e-b492-0c2665e1420f', 'name': '', 'tenant_id': 'ec7428891a484a49875ea2f42f4c1971', 'network_id': '0fff9906-e4e8-4831-966b-e1c580a706c6', 'ip_version': 4, 'cidr': '157.173.122.0/26', 'allocation_pools': [{'start': '157.173.122.2', 'end': '157.173.122.62'}], 'gateway_ip': '157.173.122.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.173.122.2', 'tags': [], 'project_id': 'ec7428891a484a49875ea2f42f4c1971'}}
2026-10-12 15:49:15,422 - INFO - Created VN ctest-vn-47337338
2026-10-12 15:49:15,471 - DEBUG - VN ctest-vn-47337338 UUID is 0fff9906-e4e8-4831-966b-e1c580a706c6
2026-10-12 15:49:15,778 - DEBUG - Response for create_network : {'network': {'id': 'f9c1392a-a390-4c1c-807d-362598db40a6', 'name': 'ctest-vn-55248191', 'tenant_id': 'ec7428891a484a49875ea2f42f4c1971', 'project_id': 'ec7428891a484a49875ea2f42f4c1971', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34854411', 'ctest-vn-55248191'], 'port_security_enabled': True, 'description': ''}}
2026-10-12 15:49:15,968 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c0d33097-6c50-4ef9-8db5-6f98df614116', 'name': '', 'tenant_id': 'ec7428891a484a49875ea2f42f4c1971', 'network_id': 'f9c1392a-a390-4c1c-807d-362598db40a6', 'ip_version': 4, 'cidr': '206.197.209.64/26', 'allocation_pools': [{'start': '206.197.209.66', 'end': '206.197.209.126'}], 'gateway_ip': '206.197.209.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.197.209.66', 'tags': [], 'project_id': 'ec7428891a484a49875ea2f42f4c1971'}}
2026-10-12 15:49:15,982 - INFO - Created VN ctest-vn-55248191
2026-10-12 15:49:16,031 - DEBUG - VN ctest-vn-55248191 UUID is f9c1392a-a390-4c1c-807d-362598db40a6
2026-10-12 15:49:16,163 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-34854411:ctest-vn-47337338, 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-34854411:ctest-vn-55248191, 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-12 15:49:16,455 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0fff9906-e4e8-4831-966b-e1c580a706c6', 'name': 'ctest-vn-47337338', 'tenant_id': 'ec7428891a484a49875ea2f42f4c1971', 'project_id': 'ec7428891a484a49875ea2f42f4c1971', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['f86b4fdd-033c-491e-b492-0c2665e1420f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34854411', 'ctest-vn-47337338'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34854411', 'ctest-policy-allow-all-53950389']], 'subnet_ipam': [{'subnet_cidr': '157.173.122.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-12 15:49:16,687 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f9c1392a-a390-4c1c-807d-362598db40a6', 'name': 'ctest-vn-55248191', 'tenant_id': 'ec7428891a484a49875ea2f42f4c1971', 'project_id': 'ec7428891a484a49875ea2f42f4c1971', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['c0d33097-6c50-4ef9-8db5-6f98df614116'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34854411', 'ctest-vn-55248191'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34854411', 'ctest-policy-allow-all-53950389']], 'subnet_ipam': [{'subnet_cidr': '206.197.209.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-12 15:49:16,856 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-12 15:49:17,248 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-12 15:49:17,277 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6540815f-4e3b-47b6-b9c3-73c4da3beb10
2026-10-12 15:49:17,288 - DEBUG - Requesting: http://10.0.0.38:8082/project/ec742889-1a48-4a49-875e-a2f42f4c1971
2026-10-12 15:49:17,368 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0fff9906-e4e8-4831-966b-e1c580a706c6
2026-10-12 15:49:17,381 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0fff9906-e4e8-4831-966b-e1c580a706c6
2026-10-12 15:49:17,391 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5666eb5c-04b1-4c7e-b77f-c9d4423f0ccf
2026-10-12 15:49:17,398 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5666eb5c-04b1-4c7e-b77f-c9d4423f0ccf
2026-10-12 15:49:17,404 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2984a44c-8596-4180-b7fc-221aa5705672
2026-10-12 15:49:17,410 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-12 15:49:17,411 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0fff9906-e4e8-4831-966b-e1c580a706c6
2026-10-12 15:49:17,418 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5666eb5c-04b1-4c7e-b77f-c9d4423f0ccf
2026-10-12 15:49:17,431 - INFO - Verified VN network id 12 for VN 0fff9906-e4e8-4831-966b-e1c580a706c6
2026-10-12 15:49:17,431 - INFO - Verifications in API Server for VN ctest-vn-47337338 passed
2026-10-12 15:49:17,431 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0fff9906-e4e8-4831-966b-e1c580a706c6
2026-10-12 15:49:17,439 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5666eb5c-04b1-4c7e-b77f-c9d4423f0ccf
2026-10-12 15:49:17,444 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5666eb5c-04b1-4c7e-b77f-c9d4423f0ccf
2026-10-12 15:49:17,450 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2984a44c-8596-4180-b7fc-221aa5705672
2026-10-12 15:49:17,460 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34854411:ctest-vn-47337338', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34854411', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1152808284519417905', 'uuid-lslong': '10839005166580467398'}, 'enable': 'true', 'created': '2026-10-12T15:49:15', 'last-modified': '2026-10-12T15:49:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.024295'}
2026-10-12 15:49:17,465 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-12 15:49:17,465 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47337338 passed
2026-10-12 15:49:17,465 - DEBUG - ====Verifying policy data for ctest-vn-47337338 in API_Server ======
2026-10-12 15:49:17,465 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-12 15:49:17,469 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6540815f-4e3b-47b6-b9c3-73c4da3beb10
2026-10-12 15:49:17,478 - DEBUG - Requesting: http://10.0.0.38:8082/project/ec742889-1a48-4a49-875e-a2f42f4c1971
2026-10-12 15:49:17,546 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0fff9906-e4e8-4831-966b-e1c580a706c6
2026-10-12 15:49:17,554 - DEBUG - ==>Verifying data for policy with id: 83ac77c7-daf2-4a61-8777-a7c10501e476, fqn: ['default-domain', 'ctest-TestBasicPolicy-34854411', 'ctest-policy-allow-all-53950389']
2026-10-12 15:49:17,555 - INFO - VN ctest-vn-47337338 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-12 15:49:17,555 - DEBUG - Verifying the vn in opserver
2026-10-12 15:49:17,555 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34854411:ctest-vn-47337338 virtual network link through opserver 10.0.0.38
2026-10-12 15:49:17,555 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-10-12 15:49:17,918 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-10-12 15:49:17,973 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34854411:ctest-vn-47337338', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34854411:ctest-vn-47337338?flat'}
2026-10-12 15:49:17,973 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34854411:ctest-vn-47337338 is found in opserver
2026-10-12 15:49:17,983 - DEBUG - Do not have enough data to verify VN in agent
2026-10-12 15:49:17,987 - DEBUG - VRF ids for VN ctest-vn-47337338: {}
2026-10-12 15:49:17,987 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-12 15:49:17,991 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6540815f-4e3b-47b6-b9c3-73c4da3beb10
2026-10-12 15:49:18,000 - DEBUG - Requesting: http://10.0.0.38:8082/project/ec742889-1a48-4a49-875e-a2f42f4c1971
2026-10-12 15:49:18,070 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f9c1392a-a390-4c1c-807d-362598db40a6
2026-10-12 15:49:18,080 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f9c1392a-a390-4c1c-807d-362598db40a6
2026-10-12 15:49:18,088 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4e43c327-6b40-4513-a5fb-84fcdf393175
2026-10-12 15:49:18,093 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4e43c327-6b40-4513-a5fb-84fcdf393175
2026-10-12 15:49:18,101 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d8ef8ae4-057c-41d3-b7f0-020d7e117362
2026-10-12 15:49:18,106 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-12 15:49:18,107 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f9c1392a-a390-4c1c-807d-362598db40a6
2026-10-12 15:49:18,115 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4e43c327-6b40-4513-a5fb-84fcdf393175
2026-10-12 15:49:18,126 - INFO - Verified VN network id 13 for VN f9c1392a-a390-4c1c-807d-362598db40a6
2026-10-12 15:49:18,126 - INFO - Verifications in API Server for VN ctest-vn-55248191 passed
2026-10-12 15:49:18,126 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f9c1392a-a390-4c1c-807d-362598db40a6
2026-10-12 15:49:18,134 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4e43c327-6b40-4513-a5fb-84fcdf393175
2026-10-12 15:49:18,139 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4e43c327-6b40-4513-a5fb-84fcdf393175
2026-10-12 15:49:18,144 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d8ef8ae4-057c-41d3-b7f0-020d7e117362
2026-10-12 15:49:18,155 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34854411:ctest-vn-55248191', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34854411', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17996728441244765212', 'uuid-lslong': '9258615944049803430'}, 'enable': 'true', 'created': '2026-10-12T15:49:15', 'last-modified': '2026-10-12T15:49:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.499681'}
2026-10-12 15:49:18,160 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-12 15:49:18,161 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55248191 passed
2026-10-12 15:49:18,161 - DEBUG - ====Verifying policy data for ctest-vn-55248191 in API_Server ======
2026-10-12 15:49:18,161 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-12 15:49:18,164 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6540815f-4e3b-47b6-b9c3-73c4da3beb10
2026-10-12 15:49:18,173 - DEBUG - Requesting: http://10.0.0.38:8082/project/ec742889-1a48-4a49-875e-a2f42f4c1971
2026-10-12 15:49:18,242 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f9c1392a-a390-4c1c-807d-362598db40a6
2026-10-12 15:49:18,251 - DEBUG - ==>Verifying data for policy with id: 83ac77c7-daf2-4a61-8777-a7c10501e476, fqn: ['default-domain', 'ctest-TestBasicPolicy-34854411', 'ctest-policy-allow-all-53950389']
2026-10-12 15:49:18,251 - INFO - VN ctest-vn-55248191 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-12 15:49:18,251 - DEBUG - Verifying the vn in opserver
2026-10-12 15:49:18,251 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34854411:ctest-vn-55248191 virtual network link through opserver 10.0.0.38
2026-10-12 15:49:18,251 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-10-12 15:49:18,259 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34854411:ctest-vn-55248191', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34854411:ctest-vn-55248191?flat'}
2026-10-12 15:49:18,259 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34854411:ctest-vn-55248191 is found in opserver
2026-10-12 15:49:18,267 - DEBUG - Do not have enough data to verify VN in agent
2026-10-12 15:49:18,271 - DEBUG - VRF ids for VN ctest-vn-55248191: {}
2026-10-12 15:49:18,318 - DEBUG - Services list from nova: [