2026-11-27 21:41:22,115 - INFO - Domain Default found not creating
2026-11-27 21:41:22,288 - INFO - Project ctest-TestBasicPolicy-17592178 not found, creating it
2026-11-27 21:41:22,778 - INFO - Created Project:ctest-TestBasicPolicy-17592178, ID : f8a27d24-7fbf-4ad3-a8df-07ba493085af
2026-11-27 21:41:24,490 - INFO - ================================================================================
2026-11-27 21:41:24,490 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-27 21:41:24,490 - 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-11-27 21:41:24,747 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.25': '0'}} with
2026-11-27 21:41:24,747 - INFO - Initial checks done. Running the testcase now
2026-11-27 21:41:24,747 - INFO -
2026-11-27 21:41:25,365 - DEBUG - Response for create_network : {'network': {'id': '02fcae41-586e-4654-9ce3-efc068e26c32', 'name': 'ctest-vn-55830036', 'tenant_id': 'f8a27d247fbf4ad3a8df07ba493085af', 'project_id': 'f8a27d247fbf4ad3a8df07ba493085af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17592178', 'ctest-vn-55830036'], 'port_security_enabled': True, 'description': ''}}
2026-11-27 21:41:25,549 - DEBUG - Response for create_subnet : {'subnet': {'id': '73f72796-5b87-4ec9-9e1a-ff5fa9f500bd', 'name': '', 'tenant_id': 'f8a27d247fbf4ad3a8df07ba493085af', 'network_id': '02fcae41-586e-4654-9ce3-efc068e26c32', 'ip_version': 4, 'cidr': '168.28.96.128/26', 'allocation_pools': [{'start': '168.28.96.130', 'end': '168.28.96.190'}], 'gateway_ip': '168.28.96.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.28.96.130', 'tags': [], 'project_id': 'f8a27d247fbf4ad3a8df07ba493085af'}}
2026-11-27 21:41:25,566 - INFO - Created VN ctest-vn-55830036
2026-11-27 21:41:25,621 - DEBUG - VN ctest-vn-55830036 UUID is 02fcae41-586e-4654-9ce3-efc068e26c32
2026-11-27 21:41:25,951 - DEBUG - Response for create_network : {'network': {'id': 'b1102edb-9c8a-49f2-9c02-c2c7f8c4cb19', 'name': 'ctest-vn-23387120', 'tenant_id': 'f8a27d247fbf4ad3a8df07ba493085af', 'project_id': 'f8a27d247fbf4ad3a8df07ba493085af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17592178', 'ctest-vn-23387120'], 'port_security_enabled': True, 'description': ''}}
2026-11-27 21:41:26,118 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e394ebd5-e558-41ca-80b4-49d74efbae83', 'name': '', 'tenant_id': 'f8a27d247fbf4ad3a8df07ba493085af', 'network_id': 'b1102edb-9c8a-49f2-9c02-c2c7f8c4cb19', 'ip_version': 4, 'cidr': '46.4.111.128/26', 'allocation_pools': [{'start': '46.4.111.130', 'end': '46.4.111.190'}], 'gateway_ip': '46.4.111.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.4.111.130', 'tags': [], 'project_id': 'f8a27d247fbf4ad3a8df07ba493085af'}}
2026-11-27 21:41:26,137 - INFO - Created VN ctest-vn-23387120
2026-11-27 21:41:26,192 - DEBUG - VN ctest-vn-23387120 UUID is b1102edb-9c8a-49f2-9c02-c2c7f8c4cb19
2026-11-27 21:41:26,312 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-17592178:ctest-vn-55830036, 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-17592178:ctest-vn-23387120, 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-11-27 21:41:26,640 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '02fcae41-586e-4654-9ce3-efc068e26c32', 'name': 'ctest-vn-55830036', 'tenant_id': 'f8a27d247fbf4ad3a8df07ba493085af', 'project_id': 'f8a27d247fbf4ad3a8df07ba493085af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['73f72796-5b87-4ec9-9e1a-ff5fa9f500bd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17592178', 'ctest-vn-55830036'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17592178', 'ctest-policy-allow-all-03570708']], 'subnet_ipam': [{'subnet_cidr': '168.28.96.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-27 21:41:26,877 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b1102edb-9c8a-49f2-9c02-c2c7f8c4cb19', 'name': 'ctest-vn-23387120', 'tenant_id': 'f8a27d247fbf4ad3a8df07ba493085af', 'project_id': 'f8a27d247fbf4ad3a8df07ba493085af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e394ebd5-e558-41ca-80b4-49d74efbae83'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17592178', 'ctest-vn-23387120'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17592178', 'ctest-policy-allow-all-03570708']], 'subnet_ipam': [{'subnet_cidr': '46.4.111.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-27 21:41:27,044 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-11-27 21:41:27,411 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-11-27 21:41:27,439 - DEBUG - Requesting: http://10.0.0.162:8082/domain/dede3b9a-f1a2-45f9-a1f4-4597e880389f
2026-11-27 21:41:27,453 - DEBUG - Requesting: http://10.0.0.162:8082/project/f8a27d24-7fbf-4ad3-a8df-07ba493085af
2026-11-27 21:41:27,535 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/02fcae41-586e-4654-9ce3-efc068e26c32
2026-11-27 21:41:27,547 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/02fcae41-586e-4654-9ce3-efc068e26c32
2026-11-27 21:41:27,556 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/cfe75f9d-8e69-4b4d-a732-424096c0c5b3
2026-11-27 21:41:27,564 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/cfe75f9d-8e69-4b4d-a732-424096c0c5b3
2026-11-27 21:41:27,572 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/dbb1bfa4-3395-4e8e-b387-3b1b11ec68a3
2026-11-27 21:41:27,578 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-27 21:41:27,578 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/02fcae41-586e-4654-9ce3-efc068e26c32
2026-11-27 21:41:27,588 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/cfe75f9d-8e69-4b4d-a732-424096c0c5b3
2026-11-27 21:41:27,603 - INFO - Verified VN network id 10 for VN 02fcae41-586e-4654-9ce3-efc068e26c32
2026-11-27 21:41:27,603 - INFO - Verifications in API Server for VN ctest-vn-55830036 passed
2026-11-27 21:41:27,603 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/02fcae41-586e-4654-9ce3-efc068e26c32
2026-11-27 21:41:27,614 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/cfe75f9d-8e69-4b4d-a732-424096c0c5b3
2026-11-27 21:41:27,622 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/cfe75f9d-8e69-4b4d-a732-424096c0c5b3
2026-11-27 21:41:27,628 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/dbb1bfa4-3395-4e8e-b387-3b1b11ec68a3
2026-11-27 21:41:27,642 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17592178:ctest-vn-55830036', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17592178', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '215238477886670420', 'uuid-lslong': '11305143099302505522'}, 'enable': 'true', 'created': '2026-11-27T21:41:25', 'last-modified': '2026-11-27T21:41:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.029203'}
2026-11-27 21:41:27,650 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-27 21:41:27,650 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55830036 passed
2026-11-27 21:41:27,651 - DEBUG - ====Verifying policy data for ctest-vn-55830036 in API_Server ======
2026-11-27 21:41:27,651 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-11-27 21:41:27,656 - DEBUG - Requesting: http://10.0.0.162:8082/domain/dede3b9a-f1a2-45f9-a1f4-4597e880389f
2026-11-27 21:41:27,666 - DEBUG - Requesting: http://10.0.0.162:8082/project/f8a27d24-7fbf-4ad3-a8df-07ba493085af
2026-11-27 21:41:27,750 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/02fcae41-586e-4654-9ce3-efc068e26c32
2026-11-27 21:41:27,764 - DEBUG - ==>Verifying data for policy with id: 53d1cb33-5d04-488c-9e91-b116302b2140, fqn: ['default-domain', 'ctest-TestBasicPolicy-17592178', 'ctest-policy-allow-all-03570708']
2026-11-27 21:41:27,764 - INFO - VN ctest-vn-55830036 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-27 21:41:27,764 - DEBUG - Verifying the vn in opserver
2026-11-27 21:41:27,764 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17592178:ctest-vn-55830036 virtual network link through opserver 10.0.0.162
2026-11-27 21:41:27,765 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks
2026-11-27 21:41:28,133 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks
2026-11-27 21:41:28,189 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17592178:ctest-vn-55830036', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17592178:ctest-vn-55830036?flat'}
2026-11-27 21:41:28,190 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17592178:ctest-vn-55830036 is found in opserver
2026-11-27 21:41:28,201 - DEBUG - Do not have enough data to verify VN in agent
2026-11-27 21:41:28,205 - DEBUG - VRF ids for VN ctest-vn-55830036: {}
2026-11-27 21:41:28,205 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-11-27 21:41:28,210 - DEBUG - Requesting: http://10.0.0.162:8082/domain/dede3b9a-f1a2-45f9-a1f4-4597e880389f
2026-11-27 21:41:28,221 - DEBUG - Requesting: http://10.0.0.162:8082/project/f8a27d24-7fbf-4ad3-a8df-07ba493085af
2026-11-27 21:41:28,294 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/b1102edb-9c8a-49f2-9c02-c2c7f8c4cb19
2026-11-27 21:41:28,305 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/b1102edb-9c8a-49f2-9c02-c2c7f8c4cb19
2026-11-27 21:41:28,314 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/4e841d10-60e7-4668-bf51-59b7bcba2f43
2026-11-27 21:41:28,320 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/4e841d10-60e7-4668-bf51-59b7bcba2f43
2026-11-27 21:41:28,327 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/60bec21b-3191-4af1-a01a-0f7fa8a4f811
2026-11-27 21:41:28,339 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-27 21:41:28,339 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/b1102edb-9c8a-49f2-9c02-c2c7f8c4cb19
2026-11-27 21:41:28,348 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/4e841d10-60e7-4668-bf51-59b7bcba2f43
2026-11-27 21:41:28,362 - INFO - Verified VN network id 11 for VN b1102edb-9c8a-49f2-9c02-c2c7f8c4cb19
2026-11-27 21:41:28,362 - INFO - Verifications in API Server for VN ctest-vn-23387120 passed
2026-11-27 21:41:28,362 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/b1102edb-9c8a-49f2-9c02-c2c7f8c4cb19
2026-11-27 21:41:28,371 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/4e841d10-60e7-4668-bf51-59b7bcba2f43
2026-11-27 21:41:28,377 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/4e841d10-60e7-4668-bf51-59b7bcba2f43
2026-11-27 21:41:28,383 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/60bec21b-3191-4af1-a01a-0f7fa8a4f811
2026-11-27 21:41:28,396 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17592178:ctest-vn-23387120', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17592178', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12758749265099639282', 'uuid-lslong': '11241761783998106393'}, 'enable': 'true', 'created': '2026-11-27T21:41:25', 'last-modified': '2026-11-27T21:41:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.539956'}
2026-11-27 21:41:28,403 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-27 21:41:28,403 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23387120 passed
2026-11-27 21:41:28,403 - DEBUG - ====Verifying policy data for ctest-vn-23387120 in API_Server ======
2026-11-27 21:41:28,403 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-11-27 21:41:28,411 - DEBUG - Requesting: http://10.0.0.162:8082/domain/dede3b9a-f1a2-45f9-a1f4-4597e880389f
2026-11-27 21:41:28,422 - DEBUG - Requesting: http://10.0.0.162:8082/project/f8a27d24-7fbf-4ad3-a8df-07ba493085af
2026-11-27 21:41:28,498 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/b1102edb-9c8a-49f2-9c02-c2c7f8c4cb19
2026-11-27 21:41:28,508 - DEBUG - ==>Verifying data for policy with id: 53d1cb33-5d04-488c-9e91-b116302b2140, fqn: ['default-domain', 'ctest-TestBasicPolicy-17592178', 'ctest-policy-allow-all-03570708']
2026-11-27 21:41:28,508 - INFO - VN ctest-vn-23387120 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-27 21:41:28,508 - DEBUG - Verifying the vn in opserver
2026-11-27 21:41:28,508 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17592178:ctest-vn-23387120 virtual network link through opserver 10.0.0.162
2026-11-27 21:41:28,508 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks
2026-11-27 21:41:28,518 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17592178:ctest-vn-23387120', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17592178:ctest-vn-23387120?flat'}
2026-11-27 21:41:28,518 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17592178:ctest-vn-23387120 is found in opserver
2026-11-27 21:41:28,530 - DEBUG - Do not have enough data to verify VN in agent
2026-11-27 21:41:28,540 - DEBUG - VRF ids for VN ctest-vn-23387120: {}
2026-11-27 21:41:28,614 - DEBUG - Services list from nova: [