2026-08-18 07:34:35,549 - INFO - Domain Default found not creating
2026-08-18 07:34:35,737 - INFO - Project ctest-TestBasicPolicy-09551258 not found, creating it
2026-08-18 07:34:36,265 - INFO - Created Project:ctest-TestBasicPolicy-09551258, ID : ae51077f-e2c2-45fe-99e0-718b39356c49
2026-08-18 07:34:38,074 - INFO - ================================================================================
2026-08-18 07:34:38,074 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-18 07:34:38,074 - 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-08-18 07:34:38,356 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.254': '0'}} with
2026-08-18 07:34:38,356 - INFO - Initial checks done. Running the testcase now
2026-08-18 07:34:38,356 - INFO -
2026-08-18 07:34:39,121 - DEBUG - Response for create_network : {'network': {'id': 'b60a5201-a1a2-4b01-90e6-194601ee98e7', 'name': 'ctest-vn-19312675', 'tenant_id': 'ae51077fe2c245fe99e0718b39356c49', 'project_id': 'ae51077fe2c245fe99e0718b39356c49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09551258', 'ctest-vn-19312675'], 'port_security_enabled': True, 'description': ''}}
2026-08-18 07:34:39,389 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ccaf3cc-7982-4df4-a3ee-f4b40263d722', 'name': '', 'tenant_id': 'ae51077fe2c245fe99e0718b39356c49', 'network_id': 'b60a5201-a1a2-4b01-90e6-194601ee98e7', 'ip_version': 4, 'cidr': '17.44.54.128/26', 'allocation_pools': [{'start': '17.44.54.130', 'end': '17.44.54.190'}], 'gateway_ip': '17.44.54.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.44.54.130', 'tags': [], 'project_id': 'ae51077fe2c245fe99e0718b39356c49'}}
2026-08-18 07:34:39,407 - INFO - Created VN ctest-vn-19312675
2026-08-18 07:34:39,461 - DEBUG - VN ctest-vn-19312675 UUID is b60a5201-a1a2-4b01-90e6-194601ee98e7
2026-08-18 07:34:39,822 - DEBUG - Response for create_network : {'network': {'id': 'df7b14ba-7f0f-4b40-a4e1-2d1b4cfdf592', 'name': 'ctest-vn-48895306', 'tenant_id': 'ae51077fe2c245fe99e0718b39356c49', 'project_id': 'ae51077fe2c245fe99e0718b39356c49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09551258', 'ctest-vn-48895306'], 'port_security_enabled': True, 'description': ''}}
2026-08-18 07:34:40,048 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5335361-a7d6-433d-a09e-600b86c36024', 'name': '', 'tenant_id': 'ae51077fe2c245fe99e0718b39356c49', 'network_id': 'df7b14ba-7f0f-4b40-a4e1-2d1b4cfdf592', 'ip_version': 4, 'cidr': '116.61.254.128/26', 'allocation_pools': [{'start': '116.61.254.130', 'end': '116.61.254.190'}], 'gateway_ip': '116.61.254.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.61.254.130', 'tags': [], 'project_id': 'ae51077fe2c245fe99e0718b39356c49'}}
2026-08-18 07:34:40,070 - INFO - Created VN ctest-vn-48895306
2026-08-18 07:34:40,125 - DEBUG - VN ctest-vn-48895306 UUID is df7b14ba-7f0f-4b40-a4e1-2d1b4cfdf592
2026-08-18 07:34:40,248 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-09551258:ctest-vn-19312675, 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-09551258:ctest-vn-48895306, 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-08-18 07:34:40,601 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b60a5201-a1a2-4b01-90e6-194601ee98e7', 'name': 'ctest-vn-19312675', 'tenant_id': 'ae51077fe2c245fe99e0718b39356c49', 'project_id': 'ae51077fe2c245fe99e0718b39356c49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8ccaf3cc-7982-4df4-a3ee-f4b40263d722'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09551258', 'ctest-vn-19312675'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09551258', 'ctest-policy-allow-all-46673441']], 'subnet_ipam': [{'subnet_cidr': '17.44.54.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-18 07:34:40,868 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'df7b14ba-7f0f-4b40-a4e1-2d1b4cfdf592', 'name': 'ctest-vn-48895306', 'tenant_id': 'ae51077fe2c245fe99e0718b39356c49', 'project_id': 'ae51077fe2c245fe99e0718b39356c49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c5335361-a7d6-433d-a09e-600b86c36024'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09551258', 'ctest-vn-48895306'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09551258', 'ctest-policy-allow-all-46673441']], 'subnet_ipam': [{'subnet_cidr': '116.61.254.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-18 07:34:41,049 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-08-18 07:34:41,425 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-08-18 07:34:41,458 - DEBUG - Requesting: http://10.0.0.129:8082/domain/051093c5-de7f-420f-be52-9c3da7faa100
2026-08-18 07:34:41,474 - DEBUG - Requesting: http://10.0.0.129:8082/project/ae51077f-e2c2-45fe-99e0-718b39356c49
2026-08-18 07:34:41,556 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/b60a5201-a1a2-4b01-90e6-194601ee98e7
2026-08-18 07:34:41,572 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/b60a5201-a1a2-4b01-90e6-194601ee98e7
2026-08-18 07:34:41,583 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/27092527-3dae-431c-b16a-7de40ce631a2
2026-08-18 07:34:41,593 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/27092527-3dae-431c-b16a-7de40ce631a2
2026-08-18 07:34:41,601 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/5229266b-6c5f-4591-9279-bb6f180c41ba
2026-08-18 07:34:41,610 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-18 07:34:41,610 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/b60a5201-a1a2-4b01-90e6-194601ee98e7
2026-08-18 07:34:41,621 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/27092527-3dae-431c-b16a-7de40ce631a2
2026-08-18 07:34:41,637 - INFO - Verified VN network id 11 for VN b60a5201-a1a2-4b01-90e6-194601ee98e7
2026-08-18 07:34:41,637 - INFO - Verifications in API Server for VN ctest-vn-19312675 passed
2026-08-18 07:34:41,637 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/b60a5201-a1a2-4b01-90e6-194601ee98e7
2026-08-18 07:34:41,648 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/27092527-3dae-431c-b16a-7de40ce631a2
2026-08-18 07:34:41,656 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/27092527-3dae-431c-b16a-7de40ce631a2
2026-08-18 07:34:41,667 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/5229266b-6c5f-4591-9279-bb6f180c41ba
2026-08-18 07:34:41,684 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09551258:ctest-vn-19312675', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09551258', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13117387031630203649', 'uuid-lslong': '10441060574575892711'}, 'enable': 'true', 'created': '2026-08-18T07:34:39', 'last-modified': '2026-08-18T07:34:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.119959'}
2026-08-18 07:34:41,694 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-18 07:34:41,694 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19312675 passed
2026-08-18 07:34:41,694 - DEBUG - ====Verifying policy data for ctest-vn-19312675 in API_Server ======
2026-08-18 07:34:41,695 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-08-18 07:34:41,702 - DEBUG - Requesting: http://10.0.0.129:8082/domain/051093c5-de7f-420f-be52-9c3da7faa100
2026-08-18 07:34:41,713 - DEBUG - Requesting: http://10.0.0.129:8082/project/ae51077f-e2c2-45fe-99e0-718b39356c49
2026-08-18 07:34:41,793 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/b60a5201-a1a2-4b01-90e6-194601ee98e7
2026-08-18 07:34:41,808 - DEBUG - ==>Verifying data for policy with id: 9ac5907b-2d35-4f43-881c-72e15224f244, fqn: ['default-domain', 'ctest-TestBasicPolicy-09551258', 'ctest-policy-allow-all-46673441']
2026-08-18 07:34:41,808 - INFO - VN ctest-vn-19312675 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-18 07:34:41,808 - DEBUG - Verifying the vn in opserver
2026-08-18 07:34:41,808 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09551258:ctest-vn-19312675 virtual network link through opserver 10.0.0.129
2026-08-18 07:34:41,809 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2026-08-18 07:34:42,205 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2026-08-18 07:34:42,277 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09551258:ctest-vn-19312675', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09551258:ctest-vn-19312675?flat'}
2026-08-18 07:34:42,277 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09551258:ctest-vn-19312675 is found in opserver
2026-08-18 07:34:42,293 - DEBUG - Do not have enough data to verify VN in agent
2026-08-18 07:34:42,301 - DEBUG - VRF ids for VN ctest-vn-19312675: {}
2026-08-18 07:34:42,301 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-08-18 07:34:42,309 - DEBUG - Requesting: http://10.0.0.129:8082/domain/051093c5-de7f-420f-be52-9c3da7faa100
2026-08-18 07:34:42,324 - DEBUG - Requesting: http://10.0.0.129:8082/project/ae51077f-e2c2-45fe-99e0-718b39356c49
2026-08-18 07:34:42,409 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/df7b14ba-7f0f-4b40-a4e1-2d1b4cfdf592
2026-08-18 07:34:42,425 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/df7b14ba-7f0f-4b40-a4e1-2d1b4cfdf592
2026-08-18 07:34:42,436 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/35269e01-87a2-46e8-953d-d20419ea14d3
2026-08-18 07:34:42,446 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/35269e01-87a2-46e8-953d-d20419ea14d3
2026-08-18 07:34:42,454 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/8fe06d93-7989-45c3-9b93-ed48d9b8c802
2026-08-18 07:34:42,463 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-18 07:34:42,463 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/df7b14ba-7f0f-4b40-a4e1-2d1b4cfdf592
2026-08-18 07:34:42,473 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/35269e01-87a2-46e8-953d-d20419ea14d3
2026-08-18 07:34:42,493 - INFO - Verified VN network id 12 for VN df7b14ba-7f0f-4b40-a4e1-2d1b4cfdf592
2026-08-18 07:34:42,494 - INFO - Verifications in API Server for VN ctest-vn-48895306 passed
2026-08-18 07:34:42,494 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/df7b14ba-7f0f-4b40-a4e1-2d1b4cfdf592
2026-08-18 07:34:42,505 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/35269e01-87a2-46e8-953d-d20419ea14d3
2026-08-18 07:34:42,514 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/35269e01-87a2-46e8-953d-d20419ea14d3
2026-08-18 07:34:42,523 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/8fe06d93-7989-45c3-9b93-ed48d9b8c802
2026-08-18 07:34:42,537 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09551258:ctest-vn-48895306', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09551258', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16103487683821521728', 'uuid-lslong': '11880826887259157906'}, 'enable': 'true', 'created': '2026-08-18T07:34:39', 'last-modified': '2026-08-18T07:34:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.714518'}
2026-08-18 07:34:42,544 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-18 07:34:42,545 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48895306 passed
2026-08-18 07:34:42,545 - DEBUG - ====Verifying policy data for ctest-vn-48895306 in API_Server ======
2026-08-18 07:34:42,545 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-08-18 07:34:42,552 - DEBUG - Requesting: http://10.0.0.129:8082/domain/051093c5-de7f-420f-be52-9c3da7faa100
2026-08-18 07:34:42,566 - DEBUG - Requesting: http://10.0.0.129:8082/project/ae51077f-e2c2-45fe-99e0-718b39356c49
2026-08-18 07:34:42,652 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/df7b14ba-7f0f-4b40-a4e1-2d1b4cfdf592
2026-08-18 07:34:42,665 - DEBUG - ==>Verifying data for policy with id: 9ac5907b-2d35-4f43-881c-72e15224f244, fqn: ['default-domain', 'ctest-TestBasicPolicy-09551258', 'ctest-policy-allow-all-46673441']
2026-08-18 07:34:42,665 - INFO - VN ctest-vn-48895306 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-18 07:34:42,665 - DEBUG - Verifying the vn in opserver
2026-08-18 07:34:42,665 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09551258:ctest-vn-48895306 virtual network link through opserver 10.0.0.129
2026-08-18 07:34:42,665 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2026-08-18 07:34:42,677 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09551258:ctest-vn-48895306', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09551258:ctest-vn-48895306?flat'}
2026-08-18 07:34:42,678 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09551258:ctest-vn-48895306 is found in opserver
2026-08-18 07:34:42,690 - DEBUG - Do not have enough data to verify VN in agent
2026-08-18 07:34:42,696 - DEBUG - VRF ids for VN ctest-vn-48895306: {}
2026-08-18 07:34:42,770 - DEBUG - Services list from nova: [