2025-12-06 02:05:36,340 - INFO - Domain Default found not creating
2025-12-06 02:05:36,613 - INFO - Project ctest-TestBasicPolicy-15871424 not found, creating it
2025-12-06 02:05:37,170 - INFO - Created Project:ctest-TestBasicPolicy-15871424, ID : 3005ced4-1a50-47dc-b501-5d25d7a9f049
2025-12-06 02:05:39,086 - INFO - ================================================================================
2025-12-06 02:05:39,086 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-12-06 02:05:39,086 - 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
2025-12-06 02:05:39,424 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2025-12-06 02:05:39,425 - INFO - Initial checks done. Running the testcase now
2025-12-06 02:05:39,425 - INFO -
2025-12-06 02:05:40,201 - DEBUG - Response for create_network : {'network': {'id': '7697330a-33ab-4e1a-bd14-af217ae69c62', 'name': 'ctest-vn-44213958', 'tenant_id': '3005ced41a5047dcb5015d25d7a9f049', 'project_id': '3005ced41a5047dcb5015d25d7a9f049', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15871424', 'ctest-vn-44213958'], 'port_security_enabled': True, 'description': ''}}
2025-12-06 02:05:40,371 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bd0a0d12-7ce5-488f-80a9-f8e820c60c51', 'name': '', 'tenant_id': '3005ced41a5047dcb5015d25d7a9f049', 'network_id': '7697330a-33ab-4e1a-bd14-af217ae69c62', 'ip_version': 4, 'cidr': '43.233.30.64/26', 'allocation_pools': [{'start': '43.233.30.66', 'end': '43.233.30.126'}], 'gateway_ip': '43.233.30.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.233.30.66', 'tags': [], 'project_id': '3005ced41a5047dcb5015d25d7a9f049'}}
2025-12-06 02:05:40,388 - INFO - Created VN ctest-vn-44213958
2025-12-06 02:05:40,440 - DEBUG - VN ctest-vn-44213958 UUID is 7697330a-33ab-4e1a-bd14-af217ae69c62
2025-12-06 02:05:40,888 - DEBUG - Response for create_network : {'network': {'id': '68bff76e-da23-49d2-bddc-17054391a06f', 'name': 'ctest-vn-90508193', 'tenant_id': '3005ced41a5047dcb5015d25d7a9f049', 'project_id': '3005ced41a5047dcb5015d25d7a9f049', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15871424', 'ctest-vn-90508193'], 'port_security_enabled': True, 'description': ''}}
2025-12-06 02:05:41,064 - DEBUG - Response for create_subnet : {'subnet': {'id': '39e2d2e0-6210-40e8-b320-cc078060dbf7', 'name': '', 'tenant_id': '3005ced41a5047dcb5015d25d7a9f049', 'network_id': '68bff76e-da23-49d2-bddc-17054391a06f', 'ip_version': 4, 'cidr': '44.199.126.128/26', 'allocation_pools': [{'start': '44.199.126.130', 'end': '44.199.126.190'}], 'gateway_ip': '44.199.126.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.199.126.130', 'tags': [], 'project_id': '3005ced41a5047dcb5015d25d7a9f049'}}
2025-12-06 02:05:41,084 - INFO - Created VN ctest-vn-90508193
2025-12-06 02:05:41,135 - DEBUG - VN ctest-vn-90508193 UUID is 68bff76e-da23-49d2-bddc-17054391a06f
2025-12-06 02:05:41,275 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-15871424:ctest-vn-44213958, 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-15871424:ctest-vn-90508193, 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]
2025-12-06 02:05:41,630 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7697330a-33ab-4e1a-bd14-af217ae69c62', 'name': 'ctest-vn-44213958', 'tenant_id': '3005ced41a5047dcb5015d25d7a9f049', 'project_id': '3005ced41a5047dcb5015d25d7a9f049', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bd0a0d12-7ce5-488f-80a9-f8e820c60c51'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15871424', 'ctest-vn-44213958'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15871424', 'ctest-policy-allow-all-87195280']], 'subnet_ipam': [{'subnet_cidr': '43.233.30.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-06 02:05:41,891 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '68bff76e-da23-49d2-bddc-17054391a06f', 'name': 'ctest-vn-90508193', 'tenant_id': '3005ced41a5047dcb5015d25d7a9f049', 'project_id': '3005ced41a5047dcb5015d25d7a9f049', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['39e2d2e0-6210-40e8-b320-cc078060dbf7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15871424', 'ctest-vn-90508193'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15871424', 'ctest-policy-allow-all-87195280']], 'subnet_ipam': [{'subnet_cidr': '44.199.126.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-06 02:05:42,052 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-06 02:05:42,349 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-06 02:05:42,414 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3836992d-dee0-405b-bc45-d1346c0aa0bc
2025-12-06 02:05:42,452 - DEBUG - Requesting: http://10.0.0.38:8082/project/3005ced4-1a50-47dc-b501-5d25d7a9f049
2025-12-06 02:05:42,558 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7697330a-33ab-4e1a-bd14-af217ae69c62
2025-12-06 02:05:42,579 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7697330a-33ab-4e1a-bd14-af217ae69c62
2025-12-06 02:05:42,595 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e98ccd25-2f95-4a1a-a524-c73849032f44
2025-12-06 02:05:42,606 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e98ccd25-2f95-4a1a-a524-c73849032f44
2025-12-06 02:05:42,616 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d5b48e3b-1261-4267-b549-3cf0d069a043
2025-12-06 02:05:42,628 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-06 02:05:42,628 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7697330a-33ab-4e1a-bd14-af217ae69c62
2025-12-06 02:05:42,645 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e98ccd25-2f95-4a1a-a524-c73849032f44
2025-12-06 02:05:42,671 - INFO - Verified VN network id 11 for VN 7697330a-33ab-4e1a-bd14-af217ae69c62
2025-12-06 02:05:42,671 - INFO - Verifications in API Server for VN ctest-vn-44213958 passed
2025-12-06 02:05:42,671 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7697330a-33ab-4e1a-bd14-af217ae69c62
2025-12-06 02:05:42,682 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e98ccd25-2f95-4a1a-a524-c73849032f44
2025-12-06 02:05:42,692 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e98ccd25-2f95-4a1a-a524-c73849032f44
2025-12-06 02:05:42,699 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d5b48e3b-1261-4267-b549-3cf0d069a043
2025-12-06 02:05:42,712 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15871424:ctest-vn-44213958', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15871424', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8545354936868359706', 'uuid-lslong': '13624707331033308258'}, 'enable': 'true', 'created': '2025-12-06T02:05:40', 'last-modified': '2025-12-06T02:05:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.107846'}
2025-12-06 02:05:42,721 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-06 02:05:42,721 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44213958 passed
2025-12-06 02:05:42,721 - DEBUG - ====Verifying policy data for ctest-vn-44213958 in API_Server ======
2025-12-06 02:05:42,721 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-06 02:05:42,727 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3836992d-dee0-405b-bc45-d1346c0aa0bc
2025-12-06 02:05:42,738 - DEBUG - Requesting: http://10.0.0.38:8082/project/3005ced4-1a50-47dc-b501-5d25d7a9f049
2025-12-06 02:05:42,820 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7697330a-33ab-4e1a-bd14-af217ae69c62
2025-12-06 02:05:42,831 - DEBUG - ==>Verifying data for policy with id: 816e2829-c74c-40a0-9f88-6583ecc8549c, fqn: ['default-domain', 'ctest-TestBasicPolicy-15871424', 'ctest-policy-allow-all-87195280']
2025-12-06 02:05:42,831 - INFO - VN ctest-vn-44213958 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-06 02:05:42,831 - DEBUG - Verifying the vn in opserver
2025-12-06 02:05:42,831 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15871424:ctest-vn-44213958 virtual network link through opserver 10.0.0.38
2025-12-06 02:05:42,831 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-12-06 02:05:43,126 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-12-06 02:05:43,227 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15871424:ctest-vn-44213958', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15871424:ctest-vn-44213958?flat'}
2025-12-06 02:05:43,227 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15871424:ctest-vn-44213958 is found in opserver
2025-12-06 02:05:43,245 - DEBUG - Do not have enough data to verify VN in agent
2025-12-06 02:05:43,251 - DEBUG - VRF ids for VN ctest-vn-44213958: {}
2025-12-06 02:05:43,251 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-06 02:05:43,264 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3836992d-dee0-405b-bc45-d1346c0aa0bc
2025-12-06 02:05:43,288 - DEBUG - Requesting: http://10.0.0.38:8082/project/3005ced4-1a50-47dc-b501-5d25d7a9f049
2025-12-06 02:05:43,371 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/68bff76e-da23-49d2-bddc-17054391a06f
2025-12-06 02:05:43,385 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/68bff76e-da23-49d2-bddc-17054391a06f
2025-12-06 02:05:43,394 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d873a48a-6024-4b4d-a2ea-b1df2d974b7a
2025-12-06 02:05:43,405 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d873a48a-6024-4b4d-a2ea-b1df2d974b7a
2025-12-06 02:05:43,413 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7741447a-013c-4913-a1dc-5fe4dc90e2ec
2025-12-06 02:05:43,422 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-06 02:05:43,422 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/68bff76e-da23-49d2-bddc-17054391a06f
2025-12-06 02:05:43,432 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d873a48a-6024-4b4d-a2ea-b1df2d974b7a
2025-12-06 02:05:43,450 - INFO - Verified VN network id 12 for VN 68bff76e-da23-49d2-bddc-17054391a06f
2025-12-06 02:05:43,450 - INFO - Verifications in API Server for VN ctest-vn-90508193 passed
2025-12-06 02:05:43,451 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/68bff76e-da23-49d2-bddc-17054391a06f
2025-12-06 02:05:43,468 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d873a48a-6024-4b4d-a2ea-b1df2d974b7a
2025-12-06 02:05:43,483 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d873a48a-6024-4b4d-a2ea-b1df2d974b7a
2025-12-06 02:05:43,492 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7741447a-013c-4913-a1dc-5fe4dc90e2ec
2025-12-06 02:05:43,509 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15871424:ctest-vn-90508193', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15871424', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7548023555974449618', 'uuid-lslong': '13680835079420616815'}, 'enable': 'true', 'created': '2025-12-06T02:05:40', 'last-modified': '2025-12-06T02:05:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.647667'}
2025-12-06 02:05:43,517 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-06 02:05:43,517 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90508193 passed
2025-12-06 02:05:43,517 - DEBUG - ====Verifying policy data for ctest-vn-90508193 in API_Server ======
2025-12-06 02:05:43,517 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-06 02:05:43,528 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3836992d-dee0-405b-bc45-d1346c0aa0bc
2025-12-06 02:05:43,542 - DEBUG - Requesting: http://10.0.0.38:8082/project/3005ced4-1a50-47dc-b501-5d25d7a9f049
2025-12-06 02:05:43,634 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/68bff76e-da23-49d2-bddc-17054391a06f
2025-12-06 02:05:43,652 - DEBUG - ==>Verifying data for policy with id: 816e2829-c74c-40a0-9f88-6583ecc8549c, fqn: ['default-domain', 'ctest-TestBasicPolicy-15871424', 'ctest-policy-allow-all-87195280']
2025-12-06 02:05:43,652 - INFO - VN ctest-vn-90508193 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-06 02:05:43,652 - DEBUG - Verifying the vn in opserver
2025-12-06 02:05:43,652 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15871424:ctest-vn-90508193 virtual network link through opserver 10.0.0.38
2025-12-06 02:05:43,652 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-12-06 02:05:43,668 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15871424:ctest-vn-90508193', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15871424:ctest-vn-90508193?flat'}
2025-12-06 02:05:43,668 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15871424:ctest-vn-90508193 is found in opserver
2025-12-06 02:05:43,685 - DEBUG - Do not have enough data to verify VN in agent
2025-12-06 02:05:43,693 - DEBUG - VRF ids for VN ctest-vn-90508193: {}
2025-12-06 02:05:43,773 - DEBUG - Services list from nova: [