2026-02-20 13:28:54,725 - INFO - Domain Default found not creating
2026-02-20 13:28:54,890 - INFO - Project ctest-TestBasicPolicy-45212377 not found, creating it
2026-02-20 13:28:55,356 - INFO - Created Project:ctest-TestBasicPolicy-45212377, ID : 27787fd5-e1cf-4d03-a8ad-921111a41fe7
2026-02-20 13:28:56,873 - INFO - ================================================================================
2026-02-20 13:28:56,873 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-20 13:28:56,873 - 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-02-20 13:28:57,129 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-02-20 13:28:57,129 - INFO - Initial checks done. Running the testcase now
2026-02-20 13:28:57,129 - INFO -
2026-02-20 13:28:57,683 - DEBUG - Response for create_network : {'network': {'id': '25094c25-c2e4-40a5-937a-3ccaa4d14eeb', 'name': 'ctest-vn-07977600', 'tenant_id': '27787fd5e1cf4d03a8ad921111a41fe7', 'project_id': '27787fd5e1cf4d03a8ad921111a41fe7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45212377', 'ctest-vn-07977600'], 'port_security_enabled': True, 'description': ''}}
2026-02-20 13:28:57,845 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ccf33b8c-8359-4eee-be19-1e8ef28ee120', 'name': '', 'tenant_id': '27787fd5e1cf4d03a8ad921111a41fe7', 'network_id': '25094c25-c2e4-40a5-937a-3ccaa4d14eeb', 'ip_version': 4, 'cidr': '107.51.143.64/26', 'allocation_pools': [{'start': '107.51.143.66', 'end': '107.51.143.126'}], 'gateway_ip': '107.51.143.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.51.143.66', 'tags': [], 'project_id': '27787fd5e1cf4d03a8ad921111a41fe7'}}
2026-02-20 13:28:57,866 - INFO - Created VN ctest-vn-07977600
2026-02-20 13:28:57,919 - DEBUG - VN ctest-vn-07977600 UUID is 25094c25-c2e4-40a5-937a-3ccaa4d14eeb
2026-02-20 13:28:58,204 - DEBUG - Response for create_network : {'network': {'id': 'd83bdf01-c053-487d-9f0c-aa5c8620ca31', 'name': 'ctest-vn-77145795', 'tenant_id': '27787fd5e1cf4d03a8ad921111a41fe7', 'project_id': '27787fd5e1cf4d03a8ad921111a41fe7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45212377', 'ctest-vn-77145795'], 'port_security_enabled': True, 'description': ''}}
2026-02-20 13:28:58,389 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b68ddbb1-9550-4e54-9f74-82b08c82b502', 'name': '', 'tenant_id': '27787fd5e1cf4d03a8ad921111a41fe7', 'network_id': 'd83bdf01-c053-487d-9f0c-aa5c8620ca31', 'ip_version': 4, 'cidr': '164.33.42.64/26', 'allocation_pools': [{'start': '164.33.42.66', 'end': '164.33.42.126'}], 'gateway_ip': '164.33.42.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.33.42.66', 'tags': [], 'project_id': '27787fd5e1cf4d03a8ad921111a41fe7'}}
2026-02-20 13:28:58,410 - INFO - Created VN ctest-vn-77145795
2026-02-20 13:28:58,463 - DEBUG - VN ctest-vn-77145795 UUID is d83bdf01-c053-487d-9f0c-aa5c8620ca31
2026-02-20 13:28:58,584 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45212377:ctest-vn-07977600, 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-45212377:ctest-vn-77145795, 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-02-20 13:28:58,872 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '25094c25-c2e4-40a5-937a-3ccaa4d14eeb', 'name': 'ctest-vn-07977600', 'tenant_id': '27787fd5e1cf4d03a8ad921111a41fe7', 'project_id': '27787fd5e1cf4d03a8ad921111a41fe7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ccf33b8c-8359-4eee-be19-1e8ef28ee120'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45212377', 'ctest-vn-07977600'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45212377', 'ctest-policy-allow-all-86446954']], 'subnet_ipam': [{'subnet_cidr': '107.51.143.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-20 13:28:59,157 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd83bdf01-c053-487d-9f0c-aa5c8620ca31', 'name': 'ctest-vn-77145795', 'tenant_id': '27787fd5e1cf4d03a8ad921111a41fe7', 'project_id': '27787fd5e1cf4d03a8ad921111a41fe7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b68ddbb1-9550-4e54-9f74-82b08c82b502'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45212377', 'ctest-vn-77145795'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45212377', 'ctest-policy-allow-all-86446954']], 'subnet_ipam': [{'subnet_cidr': '164.33.42.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-20 13:28:59,302 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-20 13:28:59,601 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-20 13:28:59,633 - DEBUG - Requesting: http://10.0.0.38:8082/domain/438dd2ca-279c-47a7-825a-4d0b1a21a217
2026-02-20 13:28:59,645 - DEBUG - Requesting: http://10.0.0.38:8082/project/27787fd5-e1cf-4d03-a8ad-921111a41fe7
2026-02-20 13:28:59,716 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/25094c25-c2e4-40a5-937a-3ccaa4d14eeb
2026-02-20 13:28:59,727 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/25094c25-c2e4-40a5-937a-3ccaa4d14eeb
2026-02-20 13:28:59,737 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/54e83ee5-eec5-4cfd-a8c5-012afa092ff4
2026-02-20 13:28:59,746 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/54e83ee5-eec5-4cfd-a8c5-012afa092ff4
2026-02-20 13:28:59,754 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/989c57cc-d373-45f4-9901-4fd31f15dfc6
2026-02-20 13:28:59,762 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-20 13:28:59,762 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/25094c25-c2e4-40a5-937a-3ccaa4d14eeb
2026-02-20 13:28:59,772 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/54e83ee5-eec5-4cfd-a8c5-012afa092ff4
2026-02-20 13:28:59,789 - INFO - Verified VN network id 11 for VN 25094c25-c2e4-40a5-937a-3ccaa4d14eeb
2026-02-20 13:28:59,789 - INFO - Verifications in API Server for VN ctest-vn-07977600 passed
2026-02-20 13:28:59,789 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/25094c25-c2e4-40a5-937a-3ccaa4d14eeb
2026-02-20 13:28:59,799 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/54e83ee5-eec5-4cfd-a8c5-012afa092ff4
2026-02-20 13:28:59,807 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/54e83ee5-eec5-4cfd-a8c5-012afa092ff4
2026-02-20 13:28:59,816 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/989c57cc-d373-45f4-9901-4fd31f15dfc6
2026-02-20 13:28:59,829 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45212377:ctest-vn-07977600', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45212377', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2668747979260969125', 'uuid-lslong': '10626873111780347627'}, 'enable': 'true', 'created': '2026-02-20T13:28:57', 'last-modified': '2026-02-20T13:28:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.977047'}
2026-02-20 13:28:59,836 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-20 13:28:59,836 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07977600 passed
2026-02-20 13:28:59,836 - DEBUG - ====Verifying policy data for ctest-vn-07977600 in API_Server ======
2026-02-20 13:28:59,837 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-20 13:28:59,842 - DEBUG - Requesting: http://10.0.0.38:8082/domain/438dd2ca-279c-47a7-825a-4d0b1a21a217
2026-02-20 13:28:59,854 - DEBUG - Requesting: http://10.0.0.38:8082/project/27787fd5-e1cf-4d03-a8ad-921111a41fe7
2026-02-20 13:28:59,927 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/25094c25-c2e4-40a5-937a-3ccaa4d14eeb
2026-02-20 13:28:59,938 - DEBUG - ==>Verifying data for policy with id: c06fde0f-0293-4ef2-8215-b7341f514045, fqn: ['default-domain', 'ctest-TestBasicPolicy-45212377', 'ctest-policy-allow-all-86446954']
2026-02-20 13:28:59,938 - INFO - VN ctest-vn-07977600 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-20 13:28:59,938 - DEBUG - Verifying the vn in opserver
2026-02-20 13:28:59,938 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45212377:ctest-vn-07977600 virtual network link through opserver 10.0.0.38
2026-02-20 13:28:59,938 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-20 13:29:00,234 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-20 13:29:00,301 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45212377:ctest-vn-07977600', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45212377:ctest-vn-07977600?flat'}
2026-02-20 13:29:00,301 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45212377:ctest-vn-07977600 is found in opserver
2026-02-20 13:29:00,310 - DEBUG - Do not have enough data to verify VN in agent
2026-02-20 13:29:00,316 - DEBUG - VRF ids for VN ctest-vn-07977600: {}
2026-02-20 13:29:00,316 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-20 13:29:00,322 - DEBUG - Requesting: http://10.0.0.38:8082/domain/438dd2ca-279c-47a7-825a-4d0b1a21a217
2026-02-20 13:29:00,334 - DEBUG - Requesting: http://10.0.0.38:8082/project/27787fd5-e1cf-4d03-a8ad-921111a41fe7
2026-02-20 13:29:00,407 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d83bdf01-c053-487d-9f0c-aa5c8620ca31
2026-02-20 13:29:00,419 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d83bdf01-c053-487d-9f0c-aa5c8620ca31
2026-02-20 13:29:00,430 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/65935cb4-a2b0-4bb0-9de1-1ae61e51d011
2026-02-20 13:29:00,437 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/65935cb4-a2b0-4bb0-9de1-1ae61e51d011
2026-02-20 13:29:00,444 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/22517b58-406d-49e8-a6ca-7823f62b0a84
2026-02-20 13:29:00,452 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-20 13:29:00,452 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d83bdf01-c053-487d-9f0c-aa5c8620ca31
2026-02-20 13:29:00,460 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/65935cb4-a2b0-4bb0-9de1-1ae61e51d011
2026-02-20 13:29:00,476 - INFO - Verified VN network id 12 for VN d83bdf01-c053-487d-9f0c-aa5c8620ca31
2026-02-20 13:29:00,476 - INFO - Verifications in API Server for VN ctest-vn-77145795 passed
2026-02-20 13:29:00,476 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d83bdf01-c053-487d-9f0c-aa5c8620ca31
2026-02-20 13:29:00,485 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/65935cb4-a2b0-4bb0-9de1-1ae61e51d011
2026-02-20 13:29:00,494 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/65935cb4-a2b0-4bb0-9de1-1ae61e51d011
2026-02-20 13:29:00,502 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/22517b58-406d-49e8-a6ca-7823f62b0a84
2026-02-20 13:29:00,519 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45212377:ctest-vn-77145795', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45212377', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15581292534433007741', 'uuid-lslong': '11460722466115078705'}, 'enable': 'true', 'created': '2026-02-20T13:28:58', 'last-modified': '2026-02-20T13:28:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.432452'}
2026-02-20 13:29:00,525 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-20 13:29:00,525 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77145795 passed
2026-02-20 13:29:00,525 - DEBUG - ====Verifying policy data for ctest-vn-77145795 in API_Server ======
2026-02-20 13:29:00,525 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-20 13:29:00,533 - DEBUG - Requesting: http://10.0.0.38:8082/domain/438dd2ca-279c-47a7-825a-4d0b1a21a217
2026-02-20 13:29:00,548 - DEBUG - Requesting: http://10.0.0.38:8082/project/27787fd5-e1cf-4d03-a8ad-921111a41fe7
2026-02-20 13:29:00,620 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d83bdf01-c053-487d-9f0c-aa5c8620ca31
2026-02-20 13:29:00,629 - DEBUG - ==>Verifying data for policy with id: c06fde0f-0293-4ef2-8215-b7341f514045, fqn: ['default-domain', 'ctest-TestBasicPolicy-45212377', 'ctest-policy-allow-all-86446954']
2026-02-20 13:29:00,629 - INFO - VN ctest-vn-77145795 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-20 13:29:00,629 - DEBUG - Verifying the vn in opserver
2026-02-20 13:29:00,629 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45212377:ctest-vn-77145795 virtual network link through opserver 10.0.0.38
2026-02-20 13:29:00,629 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-20 13:29:00,639 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45212377:ctest-vn-77145795', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45212377:ctest-vn-77145795?flat'}
2026-02-20 13:29:00,639 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45212377:ctest-vn-77145795 is found in opserver
2026-02-20 13:29:00,649 - DEBUG - Do not have enough data to verify VN in agent
2026-02-20 13:29:00,654 - DEBUG - VRF ids for VN ctest-vn-77145795: {}
2026-02-20 13:29:00,713 - DEBUG - Services list from nova: [