2026-09-16 07:34:10,544 - INFO - Domain Default found not creating
2026-09-16 07:34:10,716 - INFO - Project ctest-TestBasicPolicy-41026920 not found, creating it
2026-09-16 07:34:11,202 - INFO - Created Project:ctest-TestBasicPolicy-41026920, ID : 8879575e-4670-4184-b340-968dc37498c8
2026-09-16 07:34:13,431 - INFO - ================================================================================
2026-09-16 07:34:13,431 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-16 07:34:13,431 - 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-09-16 07:34:13,685 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.17': '0'}} with
2026-09-16 07:34:13,685 - INFO - Initial checks done. Running the testcase now
2026-09-16 07:34:13,685 - INFO -
2026-09-16 07:34:14,279 - DEBUG - Response for create_network : {'network': {'id': 'b62f0971-acc4-401c-b26d-8a66c0a89f08', 'name': 'ctest-vn-66936761', 'tenant_id': '8879575e46704184b340968dc37498c8', 'project_id': '8879575e46704184b340968dc37498c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41026920', 'ctest-vn-66936761'], 'port_security_enabled': True, 'description': ''}}
2026-09-16 07:34:14,465 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eb8c36a0-9e19-4cb6-a53f-4819296ff9c7', 'name': '', 'tenant_id': '8879575e46704184b340968dc37498c8', 'network_id': 'b62f0971-acc4-401c-b26d-8a66c0a89f08', 'ip_version': 4, 'cidr': '153.55.149.64/26', 'allocation_pools': [{'start': '153.55.149.66', 'end': '153.55.149.126'}], 'gateway_ip': '153.55.149.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.55.149.66', 'tags': [], 'project_id': '8879575e46704184b340968dc37498c8'}}
2026-09-16 07:34:14,484 - INFO - Created VN ctest-vn-66936761
2026-09-16 07:34:14,540 - DEBUG - VN ctest-vn-66936761 UUID is b62f0971-acc4-401c-b26d-8a66c0a89f08
2026-09-16 07:34:14,875 - DEBUG - Response for create_network : {'network': {'id': '18a1468b-5825-4610-9640-9e9eb033768c', 'name': 'ctest-vn-76232727', 'tenant_id': '8879575e46704184b340968dc37498c8', 'project_id': '8879575e46704184b340968dc37498c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41026920', 'ctest-vn-76232727'], 'port_security_enabled': True, 'description': ''}}
2026-09-16 07:34:15,091 - DEBUG - Response for create_subnet : {'subnet': {'id': '570bcfc3-a3d6-4b2c-860e-8c3449e824a9', 'name': '', 'tenant_id': '8879575e46704184b340968dc37498c8', 'network_id': '18a1468b-5825-4610-9640-9e9eb033768c', 'ip_version': 4, 'cidr': '113.246.193.128/26', 'allocation_pools': [{'start': '113.246.193.130', 'end': '113.246.193.190'}], 'gateway_ip': '113.246.193.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.246.193.130', 'tags': [], 'project_id': '8879575e46704184b340968dc37498c8'}}
2026-09-16 07:34:15,112 - INFO - Created VN ctest-vn-76232727
2026-09-16 07:34:15,164 - DEBUG - VN ctest-vn-76232727 UUID is 18a1468b-5825-4610-9640-9e9eb033768c
2026-09-16 07:34:15,316 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-41026920:ctest-vn-66936761, 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-41026920:ctest-vn-76232727, 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-09-16 07:34:15,648 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b62f0971-acc4-401c-b26d-8a66c0a89f08', 'name': 'ctest-vn-66936761', 'tenant_id': '8879575e46704184b340968dc37498c8', 'project_id': '8879575e46704184b340968dc37498c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['eb8c36a0-9e19-4cb6-a53f-4819296ff9c7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41026920', 'ctest-vn-66936761'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41026920', 'ctest-policy-allow-all-77245289']], 'subnet_ipam': [{'subnet_cidr': '153.55.149.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-16 07:34:15,889 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '18a1468b-5825-4610-9640-9e9eb033768c', 'name': 'ctest-vn-76232727', 'tenant_id': '8879575e46704184b340968dc37498c8', 'project_id': '8879575e46704184b340968dc37498c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['570bcfc3-a3d6-4b2c-860e-8c3449e824a9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41026920', 'ctest-vn-76232727'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41026920', 'ctest-policy-allow-all-77245289']], 'subnet_ipam': [{'subnet_cidr': '113.246.193.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-16 07:34:16,056 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-09-16 07:34:16,373 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-09-16 07:34:16,402 - DEBUG - Requesting: http://10.0.0.185:8082/domain/d4089221-3ac8-4c42-a9c9-8186e069a031
2026-09-16 07:34:16,414 - DEBUG - Requesting: http://10.0.0.185:8082/project/8879575e-4670-4184-b340-968dc37498c8
2026-09-16 07:34:16,493 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/b62f0971-acc4-401c-b26d-8a66c0a89f08
2026-09-16 07:34:16,505 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/b62f0971-acc4-401c-b26d-8a66c0a89f08
2026-09-16 07:34:16,514 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/a9e9e6d5-063c-4349-b3a2-a674552040cc
2026-09-16 07:34:16,523 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/a9e9e6d5-063c-4349-b3a2-a674552040cc
2026-09-16 07:34:16,531 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/8a2935cf-a316-4657-9b19-e89f561e0cdd
2026-09-16 07:34:16,540 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-16 07:34:16,540 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/b62f0971-acc4-401c-b26d-8a66c0a89f08
2026-09-16 07:34:16,551 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/a9e9e6d5-063c-4349-b3a2-a674552040cc
2026-09-16 07:34:16,565 - INFO - Verified VN network id 12 for VN b62f0971-acc4-401c-b26d-8a66c0a89f08
2026-09-16 07:34:16,565 - INFO - Verifications in API Server for VN ctest-vn-66936761 passed
2026-09-16 07:34:16,565 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/b62f0971-acc4-401c-b26d-8a66c0a89f08
2026-09-16 07:34:16,575 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/a9e9e6d5-063c-4349-b3a2-a674552040cc
2026-09-16 07:34:16,582 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/a9e9e6d5-063c-4349-b3a2-a674552040cc
2026-09-16 07:34:16,594 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/8a2935cf-a316-4657-9b19-e89f561e0cdd
2026-09-16 07:34:16,611 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41026920:ctest-vn-66936761', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41026920', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13127721822642782236', 'uuid-lslong': '12857084685136207624'}, 'enable': 'true', 'created': '2026-09-16T07:34:14', 'last-modified': '2026-09-16T07:34:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.996292'}
2026-09-16 07:34:16,618 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-16 07:34:16,619 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66936761 passed
2026-09-16 07:34:16,619 - DEBUG - ====Verifying policy data for ctest-vn-66936761 in API_Server ======
2026-09-16 07:34:16,619 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-09-16 07:34:16,625 - DEBUG - Requesting: http://10.0.0.185:8082/domain/d4089221-3ac8-4c42-a9c9-8186e069a031
2026-09-16 07:34:16,637 - DEBUG - Requesting: http://10.0.0.185:8082/project/8879575e-4670-4184-b340-968dc37498c8
2026-09-16 07:34:16,717 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/b62f0971-acc4-401c-b26d-8a66c0a89f08
2026-09-16 07:34:16,727 - DEBUG - ==>Verifying data for policy with id: a0c8a57c-1208-4f74-ae5f-a9914b906d94, fqn: ['default-domain', 'ctest-TestBasicPolicy-41026920', 'ctest-policy-allow-all-77245289']
2026-09-16 07:34:16,727 - INFO - VN ctest-vn-66936761 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-16 07:34:16,728 - DEBUG - Verifying the vn in opserver
2026-09-16 07:34:16,728 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41026920:ctest-vn-66936761 virtual network link through opserver 10.0.0.185
2026-09-16 07:34:16,728 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-09-16 07:34:17,049 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-09-16 07:34:17,105 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41026920:ctest-vn-66936761', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41026920:ctest-vn-66936761?flat'}
2026-09-16 07:34:17,105 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41026920:ctest-vn-66936761 is found in opserver
2026-09-16 07:34:17,116 - DEBUG - Do not have enough data to verify VN in agent
2026-09-16 07:34:17,121 - DEBUG - VRF ids for VN ctest-vn-66936761: {}
2026-09-16 07:34:17,121 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-09-16 07:34:17,127 - DEBUG - Requesting: http://10.0.0.185:8082/domain/d4089221-3ac8-4c42-a9c9-8186e069a031
2026-09-16 07:34:17,140 - DEBUG - Requesting: http://10.0.0.185:8082/project/8879575e-4670-4184-b340-968dc37498c8
2026-09-16 07:34:17,221 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/18a1468b-5825-4610-9640-9e9eb033768c
2026-09-16 07:34:17,232 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/18a1468b-5825-4610-9640-9e9eb033768c
2026-09-16 07:34:17,243 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/4c5f73b1-7289-4100-bd3e-88545a980d01
2026-09-16 07:34:17,251 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/4c5f73b1-7289-4100-bd3e-88545a980d01
2026-09-16 07:34:17,258 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/1f150095-e4fc-44f5-b8f3-c7078803b07c
2026-09-16 07:34:17,264 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-16 07:34:17,265 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/18a1468b-5825-4610-9640-9e9eb033768c
2026-09-16 07:34:17,273 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/4c5f73b1-7289-4100-bd3e-88545a980d01
2026-09-16 07:34:17,290 - INFO - Verified VN network id 13 for VN 18a1468b-5825-4610-9640-9e9eb033768c
2026-09-16 07:34:17,290 - INFO - Verifications in API Server for VN ctest-vn-76232727 passed
2026-09-16 07:34:17,290 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/18a1468b-5825-4610-9640-9e9eb033768c
2026-09-16 07:34:17,301 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/4c5f73b1-7289-4100-bd3e-88545a980d01
2026-09-16 07:34:17,310 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/4c5f73b1-7289-4100-bd3e-88545a980d01
2026-09-16 07:34:17,319 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/1f150095-e4fc-44f5-b8f3-c7078803b07c
2026-09-16 07:34:17,332 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41026920:ctest-vn-76232727', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41026920', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1774777292453922320', 'uuid-lslong': '10826827908596856460'}, 'enable': 'true', 'created': '2026-09-16T07:34:14', 'last-modified': '2026-09-16T07:34:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.477045'}
2026-09-16 07:34:17,339 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-16 07:34:17,339 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76232727 passed
2026-09-16 07:34:17,339 - DEBUG - ====Verifying policy data for ctest-vn-76232727 in API_Server ======
2026-09-16 07:34:17,340 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-09-16 07:34:17,345 - DEBUG - Requesting: http://10.0.0.185:8082/domain/d4089221-3ac8-4c42-a9c9-8186e069a031
2026-09-16 07:34:17,355 - DEBUG - Requesting: http://10.0.0.185:8082/project/8879575e-4670-4184-b340-968dc37498c8
2026-09-16 07:34:17,434 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/18a1468b-5825-4610-9640-9e9eb033768c
2026-09-16 07:34:17,444 - DEBUG - ==>Verifying data for policy with id: a0c8a57c-1208-4f74-ae5f-a9914b906d94, fqn: ['default-domain', 'ctest-TestBasicPolicy-41026920', 'ctest-policy-allow-all-77245289']
2026-09-16 07:34:17,444 - INFO - VN ctest-vn-76232727 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-16 07:34:17,444 - DEBUG - Verifying the vn in opserver
2026-09-16 07:34:17,444 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41026920:ctest-vn-76232727 virtual network link through opserver 10.0.0.185
2026-09-16 07:34:17,444 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-09-16 07:34:17,454 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41026920:ctest-vn-76232727', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41026920:ctest-vn-76232727?flat'}
2026-09-16 07:34:17,454 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41026920:ctest-vn-76232727 is found in opserver
2026-09-16 07:34:17,465 - DEBUG - Do not have enough data to verify VN in agent
2026-09-16 07:34:17,470 - DEBUG - VRF ids for VN ctest-vn-76232727: {}
2026-09-16 07:34:17,545 - DEBUG - Services list from nova: [