2026-06-15 01:58:09,930 - INFO - Domain Default found not creating
2026-06-15 01:58:10,093 - INFO - Project ctest-TestBasicPolicy-94013251 not found, creating it
2026-06-15 01:58:10,543 - INFO - Created Project:ctest-TestBasicPolicy-94013251, ID : 85a537c3-6d39-4bae-8a2a-d540079b650f
2026-06-15 01:58:12,041 - INFO - ================================================================================
2026-06-15 01:58:12,041 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-15 01:58:12,041 - 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-06-15 01:58:12,299 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with
2026-06-15 01:58:12,299 - INFO - Initial checks done. Running the testcase now
2026-06-15 01:58:12,300 - INFO -
2026-06-15 01:58:12,855 - DEBUG - Response for create_network : {'network': {'id': '507c1f66-a931-45c6-a0e1-771e825f33b2', 'name': 'ctest-vn-33337753', 'tenant_id': '85a537c36d394bae8a2ad540079b650f', 'project_id': '85a537c36d394bae8a2ad540079b650f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94013251', 'ctest-vn-33337753'], 'port_security_enabled': True, 'description': ''}}
2026-06-15 01:58:13,032 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc029696-f476-4206-b143-cf2d9bfc9820', 'name': '', 'tenant_id': '85a537c36d394bae8a2ad540079b650f', 'network_id': '507c1f66-a931-45c6-a0e1-771e825f33b2', 'ip_version': 4, 'cidr': '160.40.67.0/26', 'allocation_pools': [{'start': '160.40.67.2', 'end': '160.40.67.62'}], 'gateway_ip': '160.40.67.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.40.67.2', 'tags': [], 'project_id': '85a537c36d394bae8a2ad540079b650f'}}
2026-06-15 01:58:13,049 - INFO - Created VN ctest-vn-33337753
2026-06-15 01:58:13,102 - DEBUG - VN ctest-vn-33337753 UUID is 507c1f66-a931-45c6-a0e1-771e825f33b2
2026-06-15 01:58:13,424 - DEBUG - Response for create_network : {'network': {'id': '812a52c3-0685-49ab-bb1b-7461e10a7f81', 'name': 'ctest-vn-27551359', 'tenant_id': '85a537c36d394bae8a2ad540079b650f', 'project_id': '85a537c36d394bae8a2ad540079b650f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94013251', 'ctest-vn-27551359'], 'port_security_enabled': True, 'description': ''}}
2026-06-15 01:58:13,581 - DEBUG - Response for create_subnet : {'subnet': {'id': 'df82e189-c061-43bb-a5d0-0164e9dc7f5e', 'name': '', 'tenant_id': '85a537c36d394bae8a2ad540079b650f', 'network_id': '812a52c3-0685-49ab-bb1b-7461e10a7f81', 'ip_version': 4, 'cidr': '126.68.4.64/26', 'allocation_pools': [{'start': '126.68.4.66', 'end': '126.68.4.126'}], 'gateway_ip': '126.68.4.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.68.4.66', 'tags': [], 'project_id': '85a537c36d394bae8a2ad540079b650f'}}
2026-06-15 01:58:13,598 - INFO - Created VN ctest-vn-27551359
2026-06-15 01:58:13,650 - DEBUG - VN ctest-vn-27551359 UUID is 812a52c3-0685-49ab-bb1b-7461e10a7f81
2026-06-15 01:58:13,757 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-94013251:ctest-vn-33337753, 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-94013251:ctest-vn-27551359, 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-06-15 01:58:14,070 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '507c1f66-a931-45c6-a0e1-771e825f33b2', 'name': 'ctest-vn-33337753', 'tenant_id': '85a537c36d394bae8a2ad540079b650f', 'project_id': '85a537c36d394bae8a2ad540079b650f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dc029696-f476-4206-b143-cf2d9bfc9820'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94013251', 'ctest-vn-33337753'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94013251', 'ctest-policy-allow-all-49491667']], 'subnet_ipam': [{'subnet_cidr': '160.40.67.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-15 01:58:14,292 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '812a52c3-0685-49ab-bb1b-7461e10a7f81', 'name': 'ctest-vn-27551359', 'tenant_id': '85a537c36d394bae8a2ad540079b650f', 'project_id': '85a537c36d394bae8a2ad540079b650f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['df82e189-c061-43bb-a5d0-0164e9dc7f5e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94013251', 'ctest-vn-27551359'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94013251', 'ctest-policy-allow-all-49491667']], 'subnet_ipam': [{'subnet_cidr': '126.68.4.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-15 01:58:14,446 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-06-15 01:58:14,765 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-06-15 01:58:14,791 - DEBUG - Requesting: http://10.0.0.41:8082/domain/e514d2d5-fa3e-4feb-8eb0-d794d63e9e79
2026-06-15 01:58:14,804 - DEBUG - Requesting: http://10.0.0.41:8082/project/85a537c3-6d39-4bae-8a2a-d540079b650f
2026-06-15 01:58:14,879 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/507c1f66-a931-45c6-a0e1-771e825f33b2
2026-06-15 01:58:14,892 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/507c1f66-a931-45c6-a0e1-771e825f33b2
2026-06-15 01:58:14,902 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bb29341c-35ac-4e7a-ac21-7a17cc9a5c56
2026-06-15 01:58:14,910 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bb29341c-35ac-4e7a-ac21-7a17cc9a5c56
2026-06-15 01:58:14,917 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/2b8561f8-4cf5-4b0b-96a7-afc858fbbdbd
2026-06-15 01:58:14,924 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-15 01:58:14,924 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/507c1f66-a931-45c6-a0e1-771e825f33b2
2026-06-15 01:58:14,933 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bb29341c-35ac-4e7a-ac21-7a17cc9a5c56
2026-06-15 01:58:14,945 - INFO - Verified VN network id 11 for VN 507c1f66-a931-45c6-a0e1-771e825f33b2
2026-06-15 01:58:14,946 - INFO - Verifications in API Server for VN ctest-vn-33337753 passed
2026-06-15 01:58:14,946 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/507c1f66-a931-45c6-a0e1-771e825f33b2
2026-06-15 01:58:14,954 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bb29341c-35ac-4e7a-ac21-7a17cc9a5c56
2026-06-15 01:58:14,961 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bb29341c-35ac-4e7a-ac21-7a17cc9a5c56
2026-06-15 01:58:14,967 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/2b8561f8-4cf5-4b0b-96a7-afc858fbbdbd
2026-06-15 01:58:14,982 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94013251:ctest-vn-33337753', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94013251', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5799544945932060102', 'uuid-lslong': '11592677888748368818'}, 'enable': 'true', 'created': '2026-06-15T01:58:12', 'last-modified': '2026-06-15T01:58:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.942241'}
2026-06-15 01:58:14,988 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-15 01:58:14,989 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33337753 passed
2026-06-15 01:58:14,989 - DEBUG - ====Verifying policy data for ctest-vn-33337753 in API_Server ======
2026-06-15 01:58:14,989 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-06-15 01:58:14,996 - DEBUG - Requesting: http://10.0.0.41:8082/domain/e514d2d5-fa3e-4feb-8eb0-d794d63e9e79
2026-06-15 01:58:15,007 - DEBUG - Requesting: http://10.0.0.41:8082/project/85a537c3-6d39-4bae-8a2a-d540079b650f
2026-06-15 01:58:15,075 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/507c1f66-a931-45c6-a0e1-771e825f33b2
2026-06-15 01:58:15,085 - DEBUG - ==>Verifying data for policy with id: 69ef7758-ee30-4749-afac-c200449bdf10, fqn: ['default-domain', 'ctest-TestBasicPolicy-94013251', 'ctest-policy-allow-all-49491667']
2026-06-15 01:58:15,085 - INFO - VN ctest-vn-33337753 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-15 01:58:15,085 - DEBUG - Verifying the vn in opserver
2026-06-15 01:58:15,085 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94013251:ctest-vn-33337753 virtual network link through opserver 10.0.0.41
2026-06-15 01:58:15,085 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2026-06-15 01:58:15,407 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2026-06-15 01:58:15,457 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94013251:ctest-vn-33337753', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94013251:ctest-vn-33337753?flat'}
2026-06-15 01:58:15,457 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94013251:ctest-vn-33337753 is found in opserver
2026-06-15 01:58:15,466 - DEBUG - Do not have enough data to verify VN in agent
2026-06-15 01:58:15,471 - DEBUG - VRF ids for VN ctest-vn-33337753: {}
2026-06-15 01:58:15,471 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-06-15 01:58:15,477 - DEBUG - Requesting: http://10.0.0.41:8082/domain/e514d2d5-fa3e-4feb-8eb0-d794d63e9e79
2026-06-15 01:58:15,487 - DEBUG - Requesting: http://10.0.0.41:8082/project/85a537c3-6d39-4bae-8a2a-d540079b650f
2026-06-15 01:58:15,558 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/812a52c3-0685-49ab-bb1b-7461e10a7f81
2026-06-15 01:58:15,571 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/812a52c3-0685-49ab-bb1b-7461e10a7f81
2026-06-15 01:58:15,580 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f55c3efa-5f3f-48fb-bdae-fdccd690acd1
2026-06-15 01:58:15,588 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f55c3efa-5f3f-48fb-bdae-fdccd690acd1
2026-06-15 01:58:15,596 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/a3b94dd4-7b72-47a7-98cf-91424804feb9
2026-06-15 01:58:15,604 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-15 01:58:15,604 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/812a52c3-0685-49ab-bb1b-7461e10a7f81
2026-06-15 01:58:15,614 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f55c3efa-5f3f-48fb-bdae-fdccd690acd1
2026-06-15 01:58:15,631 - INFO - Verified VN network id 12 for VN 812a52c3-0685-49ab-bb1b-7461e10a7f81
2026-06-15 01:58:15,632 - INFO - Verifications in API Server for VN ctest-vn-27551359 passed
2026-06-15 01:58:15,632 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/812a52c3-0685-49ab-bb1b-7461e10a7f81
2026-06-15 01:58:15,643 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f55c3efa-5f3f-48fb-bdae-fdccd690acd1
2026-06-15 01:58:15,650 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f55c3efa-5f3f-48fb-bdae-fdccd690acd1
2026-06-15 01:58:15,659 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/a3b94dd4-7b72-47a7-98cf-91424804feb9
2026-06-15 01:58:15,672 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94013251:ctest-vn-27551359', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94013251', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9307342577496050091', 'uuid-lslong': '13482497873199923073'}, 'enable': 'true', 'created': '2026-06-15T01:58:13', 'last-modified': '2026-06-15T01:58:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.403395'}
2026-06-15 01:58:15,679 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-15 01:58:15,679 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27551359 passed
2026-06-15 01:58:15,679 - DEBUG - ====Verifying policy data for ctest-vn-27551359 in API_Server ======
2026-06-15 01:58:15,679 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-06-15 01:58:15,685 - DEBUG - Requesting: http://10.0.0.41:8082/domain/e514d2d5-fa3e-4feb-8eb0-d794d63e9e79
2026-06-15 01:58:15,695 - DEBUG - Requesting: http://10.0.0.41:8082/project/85a537c3-6d39-4bae-8a2a-d540079b650f
2026-06-15 01:58:15,767 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/812a52c3-0685-49ab-bb1b-7461e10a7f81
2026-06-15 01:58:15,776 - DEBUG - ==>Verifying data for policy with id: 69ef7758-ee30-4749-afac-c200449bdf10, fqn: ['default-domain', 'ctest-TestBasicPolicy-94013251', 'ctest-policy-allow-all-49491667']
2026-06-15 01:58:15,776 - INFO - VN ctest-vn-27551359 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-15 01:58:15,776 - DEBUG - Verifying the vn in opserver
2026-06-15 01:58:15,777 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94013251:ctest-vn-27551359 virtual network link through opserver 10.0.0.41
2026-06-15 01:58:15,777 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2026-06-15 01:58:15,787 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94013251:ctest-vn-27551359', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94013251:ctest-vn-27551359?flat'}
2026-06-15 01:58:15,787 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94013251:ctest-vn-27551359 is found in opserver
2026-06-15 01:58:15,797 - DEBUG - Do not have enough data to verify VN in agent
2026-06-15 01:58:15,801 - DEBUG - VRF ids for VN ctest-vn-27551359: {}
2026-06-15 01:58:15,858 - DEBUG - Services list from nova: [