2026-08-21 10:35:24,969 - INFO - Domain Default found not creating
2026-08-21 10:35:25,158 - INFO - Project ctest-TestBasicPolicy-99657270 not found, creating it
2026-08-21 10:35:25,659 - INFO - Created Project:ctest-TestBasicPolicy-99657270, ID : 340e03a2-7c24-4cec-b3a5-be4241187be7
2026-08-21 10:35:27,427 - INFO - ================================================================================
2026-08-21 10:35:27,427 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-21 10:35:27,428 - 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-21 10:35:27,704 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with
2026-08-21 10:35:27,704 - INFO - Initial checks done. Running the testcase now
2026-08-21 10:35:27,704 - INFO -
2026-08-21 10:35:28,370 - DEBUG - Response for create_network : {'network': {'id': 'dae09e7e-755d-45de-8e31-8b942812438e', 'name': 'ctest-vn-98381079', 'tenant_id': '340e03a27c244cecb3a5be4241187be7', 'project_id': '340e03a27c244cecb3a5be4241187be7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99657270', 'ctest-vn-98381079'], 'port_security_enabled': True, 'description': ''}}
2026-08-21 10:35:28,547 - DEBUG - Response for create_subnet : {'subnet': {'id': '4564685a-80dd-4789-b8d1-09d8caadc28e', 'name': '', 'tenant_id': '340e03a27c244cecb3a5be4241187be7', 'network_id': 'dae09e7e-755d-45de-8e31-8b942812438e', 'ip_version': 4, 'cidr': '98.205.127.128/26', 'allocation_pools': [{'start': '98.205.127.130', 'end': '98.205.127.190'}], 'gateway_ip': '98.205.127.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.205.127.130', 'tags': [], 'project_id': '340e03a27c244cecb3a5be4241187be7'}}
2026-08-21 10:35:28,566 - INFO - Created VN ctest-vn-98381079
2026-08-21 10:35:28,619 - DEBUG - VN ctest-vn-98381079 UUID is dae09e7e-755d-45de-8e31-8b942812438e
2026-08-21 10:35:28,958 - DEBUG - Response for create_network : {'network': {'id': 'efcaf489-c6e9-4e12-bd22-6540f9c5988e', 'name': 'ctest-vn-41550013', 'tenant_id': '340e03a27c244cecb3a5be4241187be7', 'project_id': '340e03a27c244cecb3a5be4241187be7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99657270', 'ctest-vn-41550013'], 'port_security_enabled': True, 'description': ''}}
2026-08-21 10:35:29,200 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b79e721-cbe2-4f76-8332-c2b14cdad3fc', 'name': '', 'tenant_id': '340e03a27c244cecb3a5be4241187be7', 'network_id': 'efcaf489-c6e9-4e12-bd22-6540f9c5988e', 'ip_version': 4, 'cidr': '28.80.241.192/26', 'allocation_pools': [{'start': '28.80.241.194', 'end': '28.80.241.254'}], 'gateway_ip': '28.80.241.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.80.241.194', 'tags': [], 'project_id': '340e03a27c244cecb3a5be4241187be7'}}
2026-08-21 10:35:29,228 - INFO - Created VN ctest-vn-41550013
2026-08-21 10:35:29,283 - DEBUG - VN ctest-vn-41550013 UUID is efcaf489-c6e9-4e12-bd22-6540f9c5988e
2026-08-21 10:35:29,406 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-99657270:ctest-vn-98381079, 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-99657270:ctest-vn-41550013, 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-21 10:35:29,749 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dae09e7e-755d-45de-8e31-8b942812438e', 'name': 'ctest-vn-98381079', 'tenant_id': '340e03a27c244cecb3a5be4241187be7', 'project_id': '340e03a27c244cecb3a5be4241187be7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4564685a-80dd-4789-b8d1-09d8caadc28e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99657270', 'ctest-vn-98381079'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99657270', 'ctest-policy-allow-all-46244940']], 'subnet_ipam': [{'subnet_cidr': '98.205.127.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-21 10:35:30,002 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'efcaf489-c6e9-4e12-bd22-6540f9c5988e', 'name': 'ctest-vn-41550013', 'tenant_id': '340e03a27c244cecb3a5be4241187be7', 'project_id': '340e03a27c244cecb3a5be4241187be7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1b79e721-cbe2-4f76-8332-c2b14cdad3fc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99657270', 'ctest-vn-41550013'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99657270', 'ctest-policy-allow-all-46244940']], 'subnet_ipam': [{'subnet_cidr': '28.80.241.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-21 10:35:30,171 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-21 10:35:30,550 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-21 10:35:30,580 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b541e780-1b3c-4800-b410-5d14e309f7d8
2026-08-21 10:35:30,593 - DEBUG - Requesting: http://10.0.0.50:8082/project/340e03a2-7c24-4cec-b3a5-be4241187be7
2026-08-21 10:35:30,675 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dae09e7e-755d-45de-8e31-8b942812438e
2026-08-21 10:35:30,689 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dae09e7e-755d-45de-8e31-8b942812438e
2026-08-21 10:35:30,700 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78c8e772-94c1-42f3-bbd2-1057774b0594
2026-08-21 10:35:30,709 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78c8e772-94c1-42f3-bbd2-1057774b0594
2026-08-21 10:35:30,716 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/29c8e44f-6982-433b-a083-dca114b2dab7
2026-08-21 10:35:30,724 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-21 10:35:30,724 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dae09e7e-755d-45de-8e31-8b942812438e
2026-08-21 10:35:30,736 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78c8e772-94c1-42f3-bbd2-1057774b0594
2026-08-21 10:35:30,754 - INFO - Verified VN network id 11 for VN dae09e7e-755d-45de-8e31-8b942812438e
2026-08-21 10:35:30,754 - INFO - Verifications in API Server for VN ctest-vn-98381079 passed
2026-08-21 10:35:30,755 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dae09e7e-755d-45de-8e31-8b942812438e
2026-08-21 10:35:30,765 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78c8e772-94c1-42f3-bbd2-1057774b0594
2026-08-21 10:35:30,775 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78c8e772-94c1-42f3-bbd2-1057774b0594
2026-08-21 10:35:30,785 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/29c8e44f-6982-433b-a083-dca114b2dab7
2026-08-21 10:35:30,801 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99657270:ctest-vn-98381079', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99657270', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15771780161023591902', 'uuid-lslong': '10246124095688295310'}, 'enable': 'true', 'created': '2026-08-21T10:35:28', 'last-modified': '2026-08-21T10:35:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.085915'}
2026-08-21 10:35:30,808 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-21 10:35:30,808 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-98381079 passed
2026-08-21 10:35:30,809 - DEBUG - ====Verifying policy data for ctest-vn-98381079 in API_Server ======
2026-08-21 10:35:30,809 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-21 10:35:30,816 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b541e780-1b3c-4800-b410-5d14e309f7d8
2026-08-21 10:35:30,834 - DEBUG - Requesting: http://10.0.0.50:8082/project/340e03a2-7c24-4cec-b3a5-be4241187be7
2026-08-21 10:35:30,906 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dae09e7e-755d-45de-8e31-8b942812438e
2026-08-21 10:35:30,917 - DEBUG - ==>Verifying data for policy with id: 5c7833df-db7f-4869-bd89-00923aee05e1, fqn: ['default-domain', 'ctest-TestBasicPolicy-99657270', 'ctest-policy-allow-all-46244940']
2026-08-21 10:35:30,917 - INFO - VN ctest-vn-98381079 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-21 10:35:30,918 - DEBUG - Verifying the vn in opserver
2026-08-21 10:35:30,918 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99657270:ctest-vn-98381079 virtual network link through opserver 10.0.0.50
2026-08-21 10:35:30,918 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-08-21 10:35:31,292 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-08-21 10:35:31,359 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99657270:ctest-vn-98381079', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99657270:ctest-vn-98381079?flat'}
2026-08-21 10:35:31,360 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99657270:ctest-vn-98381079 is found in opserver
2026-08-21 10:35:31,372 - DEBUG - Do not have enough data to verify VN in agent
2026-08-21 10:35:31,379 - DEBUG - VRF ids for VN ctest-vn-98381079: {}
2026-08-21 10:35:31,379 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-21 10:35:31,386 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b541e780-1b3c-4800-b410-5d14e309f7d8
2026-08-21 10:35:31,399 - DEBUG - Requesting: http://10.0.0.50:8082/project/340e03a2-7c24-4cec-b3a5-be4241187be7
2026-08-21 10:35:31,487 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/efcaf489-c6e9-4e12-bd22-6540f9c5988e
2026-08-21 10:35:31,503 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/efcaf489-c6e9-4e12-bd22-6540f9c5988e
2026-08-21 10:35:31,514 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cc7a8b1a-1de8-48d1-b0fb-2ebcf62ab731
2026-08-21 10:35:31,523 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cc7a8b1a-1de8-48d1-b0fb-2ebcf62ab731
2026-08-21 10:35:31,531 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/edf169d1-fb7a-40c6-a404-c3ee7184d2cc
2026-08-21 10:35:31,540 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-21 10:35:31,540 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/efcaf489-c6e9-4e12-bd22-6540f9c5988e
2026-08-21 10:35:31,552 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cc7a8b1a-1de8-48d1-b0fb-2ebcf62ab731
2026-08-21 10:35:31,570 - INFO - Verified VN network id 12 for VN efcaf489-c6e9-4e12-bd22-6540f9c5988e
2026-08-21 10:35:31,571 - INFO - Verifications in API Server for VN ctest-vn-41550013 passed
2026-08-21 10:35:31,571 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/efcaf489-c6e9-4e12-bd22-6540f9c5988e
2026-08-21 10:35:31,582 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cc7a8b1a-1de8-48d1-b0fb-2ebcf62ab731
2026-08-21 10:35:31,591 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cc7a8b1a-1de8-48d1-b0fb-2ebcf62ab731
2026-08-21 10:35:31,600 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/edf169d1-fb7a-40c6-a404-c3ee7184d2cc
2026-08-21 10:35:31,614 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99657270:ctest-vn-41550013', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99657270', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17278891792945204754', 'uuid-lslong': '13628566752119330958'}, 'enable': 'true', 'created': '2026-08-21T10:35:28', 'last-modified': '2026-08-21T10:35:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.637638'}
2026-08-21 10:35:31,622 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-21 10:35:31,623 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41550013 passed
2026-08-21 10:35:31,623 - DEBUG - ====Verifying policy data for ctest-vn-41550013 in API_Server ======
2026-08-21 10:35:31,623 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-08-21 10:35:31,630 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b541e780-1b3c-4800-b410-5d14e309f7d8
2026-08-21 10:35:31,643 - DEBUG - Requesting: http://10.0.0.50:8082/project/340e03a2-7c24-4cec-b3a5-be4241187be7
2026-08-21 10:35:31,728 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/efcaf489-c6e9-4e12-bd22-6540f9c5988e
2026-08-21 10:35:31,740 - DEBUG - ==>Verifying data for policy with id: 5c7833df-db7f-4869-bd89-00923aee05e1, fqn: ['default-domain', 'ctest-TestBasicPolicy-99657270', 'ctest-policy-allow-all-46244940']
2026-08-21 10:35:31,740 - INFO - VN ctest-vn-41550013 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-21 10:35:31,740 - DEBUG - Verifying the vn in opserver
2026-08-21 10:35:31,740 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99657270:ctest-vn-41550013 virtual network link through opserver 10.0.0.50
2026-08-21 10:35:31,740 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-08-21 10:35:31,753 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99657270:ctest-vn-41550013', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99657270:ctest-vn-41550013?flat'}
2026-08-21 10:35:31,753 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99657270:ctest-vn-41550013 is found in opserver
2026-08-21 10:35:31,766 - DEBUG - Do not have enough data to verify VN in agent
2026-08-21 10:35:31,773 - DEBUG - VRF ids for VN ctest-vn-41550013: {}
2026-08-21 10:35:31,845 - DEBUG - Services list from nova: [