2026-10-06 02:26:42,690 - INFO - Domain Default found not creating
2026-10-06 02:26:42,838 - INFO - Project ctest-TestBasicPolicy-36598553 not found, creating it
2026-10-06 02:26:43,280 - INFO - Created Project:ctest-TestBasicPolicy-36598553, ID : 5d5d6a66-2b14-4762-99cd-7e6a968e036f
2026-10-06 02:26:44,885 - INFO - ================================================================================
2026-10-06 02:26:44,886 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-06 02:26:44,886 - 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-06 02:26:45,140 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with
2026-10-06 02:26:45,140 - INFO - Initial checks done. Running the testcase now
2026-10-06 02:26:45,140 - INFO -
2026-10-06 02:26:45,732 - DEBUG - Response for create_network : {'network': {'id': '38760bee-05e8-4e6c-b3d8-96996cb1128a', 'name': 'ctest-vn-16541635', 'tenant_id': '5d5d6a662b14476299cd7e6a968e036f', 'project_id': '5d5d6a662b14476299cd7e6a968e036f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36598553', 'ctest-vn-16541635'], 'port_security_enabled': True, 'description': ''}}
2026-10-06 02:26:45,903 - DEBUG - Response for create_subnet : {'subnet': {'id': '5681a356-a9e8-4175-a1f5-59b8e173ecc8', 'name': '', 'tenant_id': '5d5d6a662b14476299cd7e6a968e036f', 'network_id': '38760bee-05e8-4e6c-b3d8-96996cb1128a', 'ip_version': 4, 'cidr': '80.235.113.192/26', 'allocation_pools': [{'start': '80.235.113.194', 'end': '80.235.113.254'}], 'gateway_ip': '80.235.113.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.235.113.194', 'tags': [], 'project_id': '5d5d6a662b14476299cd7e6a968e036f'}}
2026-10-06 02:26:45,917 - INFO - Created VN ctest-vn-16541635
2026-10-06 02:26:45,966 - DEBUG - VN ctest-vn-16541635 UUID is 38760bee-05e8-4e6c-b3d8-96996cb1128a
2026-10-06 02:26:46,291 - DEBUG - Response for create_network : {'network': {'id': 'c58c2fcc-e5f4-4c10-b2dc-0ffc0b140ce0', 'name': 'ctest-vn-03899292', 'tenant_id': '5d5d6a662b14476299cd7e6a968e036f', 'project_id': '5d5d6a662b14476299cd7e6a968e036f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36598553', 'ctest-vn-03899292'], 'port_security_enabled': True, 'description': ''}}
2026-10-06 02:26:46,445 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c60d1b63-86da-4b00-b2bd-337aeb002b43', 'name': '', 'tenant_id': '5d5d6a662b14476299cd7e6a968e036f', 'network_id': 'c58c2fcc-e5f4-4c10-b2dc-0ffc0b140ce0', 'ip_version': 4, 'cidr': '201.242.110.64/26', 'allocation_pools': [{'start': '201.242.110.66', 'end': '201.242.110.126'}], 'gateway_ip': '201.242.110.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.242.110.66', 'tags': [], 'project_id': '5d5d6a662b14476299cd7e6a968e036f'}}
2026-10-06 02:26:46,460 - INFO - Created VN ctest-vn-03899292
2026-10-06 02:26:46,510 - DEBUG - VN ctest-vn-03899292 UUID is c58c2fcc-e5f4-4c10-b2dc-0ffc0b140ce0
2026-10-06 02:26:46,658 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-36598553:ctest-vn-16541635, 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-36598553:ctest-vn-03899292, 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-06 02:26:46,950 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '38760bee-05e8-4e6c-b3d8-96996cb1128a', 'name': 'ctest-vn-16541635', 'tenant_id': '5d5d6a662b14476299cd7e6a968e036f', 'project_id': '5d5d6a662b14476299cd7e6a968e036f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['5681a356-a9e8-4175-a1f5-59b8e173ecc8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36598553', 'ctest-vn-16541635'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36598553', 'ctest-policy-allow-all-83542633']], 'subnet_ipam': [{'subnet_cidr': '80.235.113.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-06 02:26:47,184 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c58c2fcc-e5f4-4c10-b2dc-0ffc0b140ce0', 'name': 'ctest-vn-03899292', 'tenant_id': '5d5d6a662b14476299cd7e6a968e036f', 'project_id': '5d5d6a662b14476299cd7e6a968e036f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['c60d1b63-86da-4b00-b2bd-337aeb002b43'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36598553', 'ctest-vn-03899292'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36598553', 'ctest-policy-allow-all-83542633']], 'subnet_ipam': [{'subnet_cidr': '201.242.110.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-06 02:26:47,354 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-06 02:26:47,717 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-06 02:26:47,743 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7f770743-f789-4329-a122-6dfbb0670cb6
2026-10-06 02:26:47,755 - DEBUG - Requesting: http://10.0.0.38:8082/project/5d5d6a66-2b14-4762-99cd-7e6a968e036f
2026-10-06 02:26:47,830 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/38760bee-05e8-4e6c-b3d8-96996cb1128a
2026-10-06 02:26:47,840 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/38760bee-05e8-4e6c-b3d8-96996cb1128a
2026-10-06 02:26:47,849 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/be16f981-ea64-4516-a8c8-fe59b8664c9b
2026-10-06 02:26:47,855 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/be16f981-ea64-4516-a8c8-fe59b8664c9b
2026-10-06 02:26:47,861 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/af8a22e7-4ee1-48b2-80fb-ca519abdf0df
2026-10-06 02:26:47,867 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-06 02:26:47,867 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/38760bee-05e8-4e6c-b3d8-96996cb1128a
2026-10-06 02:26:47,876 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/be16f981-ea64-4516-a8c8-fe59b8664c9b
2026-10-06 02:26:47,889 - INFO - Verified VN network id 12 for VN 38760bee-05e8-4e6c-b3d8-96996cb1128a
2026-10-06 02:26:47,889 - INFO - Verifications in API Server for VN ctest-vn-16541635 passed
2026-10-06 02:26:47,889 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/38760bee-05e8-4e6c-b3d8-96996cb1128a
2026-10-06 02:26:47,898 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/be16f981-ea64-4516-a8c8-fe59b8664c9b
2026-10-06 02:26:47,904 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/be16f981-ea64-4516-a8c8-fe59b8664c9b
2026-10-06 02:26:47,910 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/af8a22e7-4ee1-48b2-80fb-ca519abdf0df
2026-10-06 02:26:47,923 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36598553:ctest-vn-16541635', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36598553', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4068452430305054316', 'uuid-lslong': '12959273513456308874'}, 'enable': 'true', 'created': '2026-10-06T02:26:45', 'last-modified': '2026-10-06T02:26:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.987680'}
2026-10-06 02:26:47,930 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-06 02:26:47,930 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16541635 passed
2026-10-06 02:26:47,930 - DEBUG - ====Verifying policy data for ctest-vn-16541635 in API_Server ======
2026-10-06 02:26:47,930 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-06 02:26:47,935 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7f770743-f789-4329-a122-6dfbb0670cb6
2026-10-06 02:26:47,945 - DEBUG - Requesting: http://10.0.0.38:8082/project/5d5d6a66-2b14-4762-99cd-7e6a968e036f
2026-10-06 02:26:48,014 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/38760bee-05e8-4e6c-b3d8-96996cb1128a
2026-10-06 02:26:48,023 - DEBUG - ==>Verifying data for policy with id: d0e31187-bce3-48fd-ba7e-5d5c2e9ab1d7, fqn: ['default-domain', 'ctest-TestBasicPolicy-36598553', 'ctest-policy-allow-all-83542633']
2026-10-06 02:26:48,023 - INFO - VN ctest-vn-16541635 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-06 02:26:48,023 - DEBUG - Verifying the vn in opserver
2026-10-06 02:26:48,023 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36598553:ctest-vn-16541635 virtual network link through opserver 10.0.0.38
2026-10-06 02:26:48,023 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-10-06 02:26:48,385 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-10-06 02:26:48,434 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36598553:ctest-vn-16541635', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36598553:ctest-vn-16541635?flat'}
2026-10-06 02:26:48,435 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36598553:ctest-vn-16541635 is found in opserver
2026-10-06 02:26:48,444 - DEBUG - Do not have enough data to verify VN in agent
2026-10-06 02:26:48,449 - DEBUG - VRF ids for VN ctest-vn-16541635: {}
2026-10-06 02:26:48,449 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-06 02:26:48,454 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7f770743-f789-4329-a122-6dfbb0670cb6
2026-10-06 02:26:48,465 - DEBUG - Requesting: http://10.0.0.38:8082/project/5d5d6a66-2b14-4762-99cd-7e6a968e036f
2026-10-06 02:26:48,543 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c58c2fcc-e5f4-4c10-b2dc-0ffc0b140ce0
2026-10-06 02:26:48,557 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c58c2fcc-e5f4-4c10-b2dc-0ffc0b140ce0
2026-10-06 02:26:48,567 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91162c03-c9b2-471b-aee8-64bc2b5b259e
2026-10-06 02:26:48,575 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91162c03-c9b2-471b-aee8-64bc2b5b259e
2026-10-06 02:26:48,582 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c56b6eb4-fd6c-475d-911d-38bd1acb5f41
2026-10-06 02:26:48,589 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-06 02:26:48,589 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c58c2fcc-e5f4-4c10-b2dc-0ffc0b140ce0
2026-10-06 02:26:48,598 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91162c03-c9b2-471b-aee8-64bc2b5b259e
2026-10-06 02:26:48,614 - INFO - Verified VN network id 13 for VN c58c2fcc-e5f4-4c10-b2dc-0ffc0b140ce0
2026-10-06 02:26:48,614 - INFO - Verifications in API Server for VN ctest-vn-03899292 passed
2026-10-06 02:26:48,614 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c58c2fcc-e5f4-4c10-b2dc-0ffc0b140ce0
2026-10-06 02:26:48,626 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91162c03-c9b2-471b-aee8-64bc2b5b259e
2026-10-06 02:26:48,635 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91162c03-c9b2-471b-aee8-64bc2b5b259e
2026-10-06 02:26:48,642 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c56b6eb4-fd6c-475d-911d-38bd1acb5f41
2026-10-06 02:26:48,654 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36598553:ctest-vn-03899292', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36598553', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14234805079289121808', 'uuid-lslong': '12888193808819555552'}, 'enable': 'true', 'created': '2026-10-06T02:26:46', 'last-modified': '2026-10-06T02:26:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.492713'}
2026-10-06 02:26:48,661 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-06 02:26:48,661 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03899292 passed
2026-10-06 02:26:48,662 - DEBUG - ====Verifying policy data for ctest-vn-03899292 in API_Server ======
2026-10-06 02:26:48,662 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-06 02:26:48,668 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7f770743-f789-4329-a122-6dfbb0670cb6
2026-10-06 02:26:48,679 - DEBUG - Requesting: http://10.0.0.38:8082/project/5d5d6a66-2b14-4762-99cd-7e6a968e036f
2026-10-06 02:26:48,749 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c58c2fcc-e5f4-4c10-b2dc-0ffc0b140ce0
2026-10-06 02:26:48,762 - DEBUG - ==>Verifying data for policy with id: d0e31187-bce3-48fd-ba7e-5d5c2e9ab1d7, fqn: ['default-domain', 'ctest-TestBasicPolicy-36598553', 'ctest-policy-allow-all-83542633']
2026-10-06 02:26:48,762 - INFO - VN ctest-vn-03899292 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-06 02:26:48,762 - DEBUG - Verifying the vn in opserver
2026-10-06 02:26:48,762 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36598553:ctest-vn-03899292 virtual network link through opserver 10.0.0.38
2026-10-06 02:26:48,763 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-10-06 02:26:48,774 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36598553:ctest-vn-03899292', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36598553:ctest-vn-03899292?flat'}
2026-10-06 02:26:48,775 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36598553:ctest-vn-03899292 is found in opserver
2026-10-06 02:26:48,784 - DEBUG - Do not have enough data to verify VN in agent
2026-10-06 02:26:48,788 - DEBUG - VRF ids for VN ctest-vn-03899292: {}
2026-10-06 02:26:48,850 - DEBUG - Services list from nova: [