2026-02-03 21:24:25,255 - INFO - Domain Default found not creating
2026-02-03 21:24:25,426 - INFO - Project ctest-TestBasicPolicy-02461982 not found, creating it
2026-02-03 21:24:25,882 - INFO - Created Project:ctest-TestBasicPolicy-02461982, ID : 88c3eee5-6da1-4962-908c-74fdb366cf81
2026-02-03 21:24:27,487 - INFO - ================================================================================
2026-02-03 21:24:27,488 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-03 21:24:27,488 - 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-03 21:24:27,756 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.25': '0'}} with
2026-02-03 21:24:27,756 - INFO - Initial checks done. Running the testcase now
2026-02-03 21:24:27,756 - INFO -
2026-02-03 21:24:28,351 - DEBUG - Response for create_network : {'network': {'id': 'd12610f8-8e0f-4236-a95f-5d8d8b6a5238', 'name': 'ctest-vn-01804274', 'tenant_id': '88c3eee56da14962908c74fdb366cf81', 'project_id': '88c3eee56da14962908c74fdb366cf81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02461982', 'ctest-vn-01804274'], 'port_security_enabled': True, 'description': ''}}
2026-02-03 21:24:28,543 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bd1adaaf-530b-43de-b354-5793f5c9cb00', 'name': '', 'tenant_id': '88c3eee56da14962908c74fdb366cf81', 'network_id': 'd12610f8-8e0f-4236-a95f-5d8d8b6a5238', 'ip_version': 4, 'cidr': '57.153.174.192/26', 'allocation_pools': [{'start': '57.153.174.194', 'end': '57.153.174.254'}], 'gateway_ip': '57.153.174.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.153.174.194', 'tags': [], 'project_id': '88c3eee56da14962908c74fdb366cf81'}}
2026-02-03 21:24:28,561 - INFO - Created VN ctest-vn-01804274
2026-02-03 21:24:28,614 - DEBUG - VN ctest-vn-01804274 UUID is d12610f8-8e0f-4236-a95f-5d8d8b6a5238
2026-02-03 21:24:28,915 - DEBUG - Response for create_network : {'network': {'id': '0c934dce-8487-4c34-b77b-5878f7f569cf', 'name': 'ctest-vn-13304740', 'tenant_id': '88c3eee56da14962908c74fdb366cf81', 'project_id': '88c3eee56da14962908c74fdb366cf81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02461982', 'ctest-vn-13304740'], 'port_security_enabled': True, 'description': ''}}
2026-02-03 21:24:29,146 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b2ce864-a953-4122-ae28-193b0ca9c06b', 'name': '', 'tenant_id': '88c3eee56da14962908c74fdb366cf81', 'network_id': '0c934dce-8487-4c34-b77b-5878f7f569cf', 'ip_version': 4, 'cidr': '32.170.144.0/26', 'allocation_pools': [{'start': '32.170.144.2', 'end': '32.170.144.62'}], 'gateway_ip': '32.170.144.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.170.144.2', 'tags': [], 'project_id': '88c3eee56da14962908c74fdb366cf81'}}
2026-02-03 21:24:29,168 - INFO - Created VN ctest-vn-13304740
2026-02-03 21:24:29,218 - DEBUG - VN ctest-vn-13304740 UUID is 0c934dce-8487-4c34-b77b-5878f7f569cf
2026-02-03 21:24:29,374 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-02461982:ctest-vn-01804274, 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-02461982:ctest-vn-13304740, 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-03 21:24:29,829 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd12610f8-8e0f-4236-a95f-5d8d8b6a5238', 'name': 'ctest-vn-01804274', 'tenant_id': '88c3eee56da14962908c74fdb366cf81', 'project_id': '88c3eee56da14962908c74fdb366cf81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bd1adaaf-530b-43de-b354-5793f5c9cb00'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02461982', 'ctest-vn-01804274'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02461982', 'ctest-policy-allow-all-20710374']], 'subnet_ipam': [{'subnet_cidr': '57.153.174.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-03 21:24:30,070 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0c934dce-8487-4c34-b77b-5878f7f569cf', 'name': 'ctest-vn-13304740', 'tenant_id': '88c3eee56da14962908c74fdb366cf81', 'project_id': '88c3eee56da14962908c74fdb366cf81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2b2ce864-a953-4122-ae28-193b0ca9c06b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02461982', 'ctest-vn-13304740'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02461982', 'ctest-policy-allow-all-20710374']], 'subnet_ipam': [{'subnet_cidr': '32.170.144.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-03 21:24:30,214 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-03 21:24:30,565 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-03 21:24:30,603 - DEBUG - Requesting: http://10.0.0.19:8082/domain/5052fb11-9ee8-4ca8-8743-a9976da66102
2026-02-03 21:24:30,615 - DEBUG - Requesting: http://10.0.0.19:8082/project/88c3eee5-6da1-4962-908c-74fdb366cf81
2026-02-03 21:24:30,686 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d12610f8-8e0f-4236-a95f-5d8d8b6a5238
2026-02-03 21:24:30,697 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d12610f8-8e0f-4236-a95f-5d8d8b6a5238
2026-02-03 21:24:30,705 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/66a055e5-5f7d-4f21-8122-cef9f0e3a15b
2026-02-03 21:24:30,712 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/66a055e5-5f7d-4f21-8122-cef9f0e3a15b
2026-02-03 21:24:30,718 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/37bffb9a-bb60-4983-9710-b42337585d54
2026-02-03 21:24:30,724 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-03 21:24:30,724 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d12610f8-8e0f-4236-a95f-5d8d8b6a5238
2026-02-03 21:24:30,732 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/66a055e5-5f7d-4f21-8122-cef9f0e3a15b
2026-02-03 21:24:30,744 - INFO - Verified VN network id 12 for VN d12610f8-8e0f-4236-a95f-5d8d8b6a5238
2026-02-03 21:24:30,744 - INFO - Verifications in API Server for VN ctest-vn-01804274 passed
2026-02-03 21:24:30,745 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d12610f8-8e0f-4236-a95f-5d8d8b6a5238
2026-02-03 21:24:30,752 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/66a055e5-5f7d-4f21-8122-cef9f0e3a15b
2026-02-03 21:24:30,757 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/66a055e5-5f7d-4f21-8122-cef9f0e3a15b
2026-02-03 21:24:30,764 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/37bffb9a-bb60-4983-9710-b42337585d54
2026-02-03 21:24:30,775 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02461982:ctest-vn-01804274', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02461982', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15070751862763242038', 'uuid-lslong': '12204576377708106296'}, 'enable': 'true', 'created': '2026-02-03T21:24:28', 'last-modified': '2026-02-03T21:24:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.981854'}
2026-02-03 21:24:30,780 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-03 21:24:30,780 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01804274 passed
2026-02-03 21:24:30,780 - DEBUG - ====Verifying policy data for ctest-vn-01804274 in API_Server ======
2026-02-03 21:24:30,781 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-03 21:24:30,787 - DEBUG - Requesting: http://10.0.0.19:8082/domain/5052fb11-9ee8-4ca8-8743-a9976da66102
2026-02-03 21:24:30,797 - DEBUG - Requesting: http://10.0.0.19:8082/project/88c3eee5-6da1-4962-908c-74fdb366cf81
2026-02-03 21:24:30,874 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d12610f8-8e0f-4236-a95f-5d8d8b6a5238
2026-02-03 21:24:30,885 - DEBUG - ==>Verifying data for policy with id: d1bb8f73-c681-46f6-ba1d-7fe7af09c5d3, fqn: ['default-domain', 'ctest-TestBasicPolicy-02461982', 'ctest-policy-allow-all-20710374']
2026-02-03 21:24:30,885 - INFO - VN ctest-vn-01804274 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-03 21:24:30,885 - DEBUG - Verifying the vn in opserver
2026-02-03 21:24:30,886 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02461982:ctest-vn-01804274 virtual network link through opserver 10.0.0.19
2026-02-03 21:24:30,886 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-02-03 21:24:31,220 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-02-03 21:24:31,282 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02461982:ctest-vn-01804274', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02461982:ctest-vn-01804274?flat'}
2026-02-03 21:24:31,282 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02461982:ctest-vn-01804274 is found in opserver
2026-02-03 21:24:31,291 - DEBUG - Do not have enough data to verify VN in agent
2026-02-03 21:24:31,295 - DEBUG - VRF ids for VN ctest-vn-01804274: {}
2026-02-03 21:24:31,295 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-03 21:24:31,300 - DEBUG - Requesting: http://10.0.0.19:8082/domain/5052fb11-9ee8-4ca8-8743-a9976da66102
2026-02-03 21:24:31,310 - DEBUG - Requesting: http://10.0.0.19:8082/project/88c3eee5-6da1-4962-908c-74fdb366cf81
2026-02-03 21:24:31,379 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/0c934dce-8487-4c34-b77b-5878f7f569cf
2026-02-03 21:24:31,391 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/0c934dce-8487-4c34-b77b-5878f7f569cf
2026-02-03 21:24:31,401 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/059ac21e-16a2-45bb-8777-f56cd6881f32
2026-02-03 21:24:31,408 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/059ac21e-16a2-45bb-8777-f56cd6881f32
2026-02-03 21:24:31,415 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/9241b2ec-49d3-4104-91cf-a5c8f7b61c0e
2026-02-03 21:24:31,423 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-03 21:24:31,423 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/0c934dce-8487-4c34-b77b-5878f7f569cf
2026-02-03 21:24:31,432 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/059ac21e-16a2-45bb-8777-f56cd6881f32
2026-02-03 21:24:31,445 - INFO - Verified VN network id 13 for VN 0c934dce-8487-4c34-b77b-5878f7f569cf
2026-02-03 21:24:31,445 - INFO - Verifications in API Server for VN ctest-vn-13304740 passed
2026-02-03 21:24:31,445 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/0c934dce-8487-4c34-b77b-5878f7f569cf
2026-02-03 21:24:31,453 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/059ac21e-16a2-45bb-8777-f56cd6881f32
2026-02-03 21:24:31,460 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/059ac21e-16a2-45bb-8777-f56cd6881f32
2026-02-03 21:24:31,465 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/9241b2ec-49d3-4104-91cf-a5c8f7b61c0e
2026-02-03 21:24:31,476 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02461982:ctest-vn-13304740', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02461982', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '906153499413662772', 'uuid-lslong': '13221258407655598543'}, 'enable': 'true', 'created': '2026-02-03T21:24:28', 'last-modified': '2026-02-03T21:24:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.434302'}
2026-02-03 21:24:31,482 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-03 21:24:31,482 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13304740 passed
2026-02-03 21:24:31,483 - DEBUG - ====Verifying policy data for ctest-vn-13304740 in API_Server ======
2026-02-03 21:24:31,483 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-03 21:24:31,489 - DEBUG - Requesting: http://10.0.0.19:8082/domain/5052fb11-9ee8-4ca8-8743-a9976da66102
2026-02-03 21:24:31,501 - DEBUG - Requesting: http://10.0.0.19:8082/project/88c3eee5-6da1-4962-908c-74fdb366cf81
2026-02-03 21:24:31,571 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/0c934dce-8487-4c34-b77b-5878f7f569cf
2026-02-03 21:24:31,581 - DEBUG - ==>Verifying data for policy with id: d1bb8f73-c681-46f6-ba1d-7fe7af09c5d3, fqn: ['default-domain', 'ctest-TestBasicPolicy-02461982', 'ctest-policy-allow-all-20710374']
2026-02-03 21:24:31,581 - INFO - VN ctest-vn-13304740 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-03 21:24:31,581 - DEBUG - Verifying the vn in opserver
2026-02-03 21:24:31,581 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02461982:ctest-vn-13304740 virtual network link through opserver 10.0.0.19
2026-02-03 21:24:31,581 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-02-03 21:24:31,592 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02461982:ctest-vn-13304740', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02461982:ctest-vn-13304740?flat'}
2026-02-03 21:24:31,592 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02461982:ctest-vn-13304740 is found in opserver
2026-02-03 21:24:31,603 - DEBUG - Do not have enough data to verify VN in agent
2026-02-03 21:24:31,608 - DEBUG - VRF ids for VN ctest-vn-13304740: {}
2026-02-03 21:24:31,669 - DEBUG - Services list from nova: [