2025-12-30 16:18:38,610 - INFO - Domain Default found not creating
2025-12-30 16:18:38,786 - INFO - Project ctest-TestBasicPolicy-78447176 not found, creating it
2025-12-30 16:18:39,266 - INFO - Created Project:ctest-TestBasicPolicy-78447176, ID : 48e79def-fb55-43b7-bba6-8972ca015cc4
2025-12-30 16:18:40,864 - INFO - ================================================================================
2025-12-30 16:18:40,864 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-12-30 16:18:40,864 - 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-30 16:18:41,122 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2025-12-30 16:18:41,122 - INFO - Initial checks done. Running the testcase now
2025-12-30 16:18:41,122 - INFO -
2025-12-30 16:18:41,690 - DEBUG - Response for create_network : {'network': {'id': '625e8883-08b3-4b89-b8e9-c75f61416c22', 'name': 'ctest-vn-12639428', 'tenant_id': '48e79deffb5543b7bba68972ca015cc4', 'project_id': '48e79deffb5543b7bba68972ca015cc4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78447176', 'ctest-vn-12639428'], 'port_security_enabled': True, 'description': ''}}
2025-12-30 16:18:41,904 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d512459-67f5-43be-be00-fdb982f3b63f', 'name': '', 'tenant_id': '48e79deffb5543b7bba68972ca015cc4', 'network_id': '625e8883-08b3-4b89-b8e9-c75f61416c22', 'ip_version': 4, 'cidr': '110.194.183.64/26', 'allocation_pools': [{'start': '110.194.183.66', 'end': '110.194.183.126'}], 'gateway_ip': '110.194.183.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.194.183.66', 'tags': [], 'project_id': '48e79deffb5543b7bba68972ca015cc4'}}
2025-12-30 16:18:41,923 - INFO - Created VN ctest-vn-12639428
2025-12-30 16:18:41,975 - DEBUG - VN ctest-vn-12639428 UUID is 625e8883-08b3-4b89-b8e9-c75f61416c22
2025-12-30 16:18:42,260 - DEBUG - Response for create_network : {'network': {'id': '820ba1a6-e71b-4db2-9c41-20dd383c7c68', 'name': 'ctest-vn-03806741', 'tenant_id': '48e79deffb5543b7bba68972ca015cc4', 'project_id': '48e79deffb5543b7bba68972ca015cc4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78447176', 'ctest-vn-03806741'], 'port_security_enabled': True, 'description': ''}}
2025-12-30 16:18:42,470 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9b846f8-0a6a-44da-b2dc-25c7e620e701', 'name': '', 'tenant_id': '48e79deffb5543b7bba68972ca015cc4', 'network_id': '820ba1a6-e71b-4db2-9c41-20dd383c7c68', 'ip_version': 4, 'cidr': '120.143.195.128/26', 'allocation_pools': [{'start': '120.143.195.130', 'end': '120.143.195.190'}], 'gateway_ip': '120.143.195.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.143.195.130', 'tags': [], 'project_id': '48e79deffb5543b7bba68972ca015cc4'}}
2025-12-30 16:18:42,488 - INFO - Created VN ctest-vn-03806741
2025-12-30 16:18:42,539 - DEBUG - VN ctest-vn-03806741 UUID is 820ba1a6-e71b-4db2-9c41-20dd383c7c68
2025-12-30 16:18:42,654 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-78447176:ctest-vn-12639428, 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-78447176:ctest-vn-03806741, 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-30 16:18:42,962 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '625e8883-08b3-4b89-b8e9-c75f61416c22', 'name': 'ctest-vn-12639428', 'tenant_id': '48e79deffb5543b7bba68972ca015cc4', 'project_id': '48e79deffb5543b7bba68972ca015cc4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3d512459-67f5-43be-be00-fdb982f3b63f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78447176', 'ctest-vn-12639428'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78447176', 'ctest-policy-allow-all-07521533']], 'subnet_ipam': [{'subnet_cidr': '110.194.183.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-30 16:18:43,190 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '820ba1a6-e71b-4db2-9c41-20dd383c7c68', 'name': 'ctest-vn-03806741', 'tenant_id': '48e79deffb5543b7bba68972ca015cc4', 'project_id': '48e79deffb5543b7bba68972ca015cc4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c9b846f8-0a6a-44da-b2dc-25c7e620e701'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78447176', 'ctest-vn-03806741'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78447176', 'ctest-policy-allow-all-07521533']], 'subnet_ipam': [{'subnet_cidr': '120.143.195.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-30 16:18:43,347 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-12-30 16:18:43,646 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-12-30 16:18:43,677 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a8c7ed6a-9e09-4b3a-823b-564d94b0bd66
2025-12-30 16:18:43,690 - DEBUG - Requesting: http://10.0.0.33:8082/project/48e79def-fb55-43b7-bba6-8972ca015cc4
2025-12-30 16:18:43,764 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/625e8883-08b3-4b89-b8e9-c75f61416c22
2025-12-30 16:18:43,774 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/625e8883-08b3-4b89-b8e9-c75f61416c22
2025-12-30 16:18:43,784 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9519baf1-8389-46b2-92e6-f5be26e4a419
2025-12-30 16:18:43,791 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9519baf1-8389-46b2-92e6-f5be26e4a419
2025-12-30 16:18:43,798 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/4fa9681e-e6f6-4876-a14e-533245fc0fca
2025-12-30 16:18:43,805 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-30 16:18:43,805 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/625e8883-08b3-4b89-b8e9-c75f61416c22
2025-12-30 16:18:43,814 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9519baf1-8389-46b2-92e6-f5be26e4a419
2025-12-30 16:18:43,829 - INFO - Verified VN network id 11 for VN 625e8883-08b3-4b89-b8e9-c75f61416c22
2025-12-30 16:18:43,829 - INFO - Verifications in API Server for VN ctest-vn-12639428 passed
2025-12-30 16:18:43,829 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/625e8883-08b3-4b89-b8e9-c75f61416c22
2025-12-30 16:18:43,839 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9519baf1-8389-46b2-92e6-f5be26e4a419
2025-12-30 16:18:43,846 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9519baf1-8389-46b2-92e6-f5be26e4a419
2025-12-30 16:18:43,853 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/4fa9681e-e6f6-4876-a14e-533245fc0fca
2025-12-30 16:18:43,866 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78447176:ctest-vn-12639428', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78447176', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7088252959895800713', 'uuid-lslong': '13324400185019821090'}, 'enable': 'true', 'created': '2025-12-30T16:18:41', 'last-modified': '2025-12-30T16:18:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.925877'}
2025-12-30 16:18:43,873 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-30 16:18:43,873 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12639428 passed
2025-12-30 16:18:43,873 - DEBUG - ====Verifying policy data for ctest-vn-12639428 in API_Server ======
2025-12-30 16:18:43,873 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-12-30 16:18:43,879 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a8c7ed6a-9e09-4b3a-823b-564d94b0bd66
2025-12-30 16:18:43,890 - DEBUG - Requesting: http://10.0.0.33:8082/project/48e79def-fb55-43b7-bba6-8972ca015cc4
2025-12-30 16:18:43,963 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/625e8883-08b3-4b89-b8e9-c75f61416c22
2025-12-30 16:18:43,973 - DEBUG - ==>Verifying data for policy with id: 6266324c-95f7-40b0-99f8-be9381e1bc52, fqn: ['default-domain', 'ctest-TestBasicPolicy-78447176', 'ctest-policy-allow-all-07521533']
2025-12-30 16:18:43,973 - INFO - VN ctest-vn-12639428 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-30 16:18:43,973 - DEBUG - Verifying the vn in opserver
2025-12-30 16:18:43,973 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78447176:ctest-vn-12639428 virtual network link through opserver 10.0.0.33
2025-12-30 16:18:43,974 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-12-30 16:18:44,268 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-12-30 16:18:44,350 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78447176:ctest-vn-12639428', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78447176:ctest-vn-12639428?flat'}
2025-12-30 16:18:44,350 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78447176:ctest-vn-12639428 is found in opserver
2025-12-30 16:18:44,361 - DEBUG - Do not have enough data to verify VN in agent
2025-12-30 16:18:44,366 - DEBUG - VRF ids for VN ctest-vn-12639428: {}
2025-12-30 16:18:44,366 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-12-30 16:18:44,373 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a8c7ed6a-9e09-4b3a-823b-564d94b0bd66
2025-12-30 16:18:44,385 - DEBUG - Requesting: http://10.0.0.33:8082/project/48e79def-fb55-43b7-bba6-8972ca015cc4
2025-12-30 16:18:44,456 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/820ba1a6-e71b-4db2-9c41-20dd383c7c68
2025-12-30 16:18:44,469 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/820ba1a6-e71b-4db2-9c41-20dd383c7c68
2025-12-30 16:18:44,480 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dce31221-0764-46b2-b9a2-fcfcd50bbad1
2025-12-30 16:18:44,487 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dce31221-0764-46b2-b9a2-fcfcd50bbad1
2025-12-30 16:18:44,495 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/7367cfe8-1a5b-4598-ab2b-4bd4bcc245d3
2025-12-30 16:18:44,502 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-30 16:18:44,502 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/820ba1a6-e71b-4db2-9c41-20dd383c7c68
2025-12-30 16:18:44,514 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dce31221-0764-46b2-b9a2-fcfcd50bbad1
2025-12-30 16:18:44,531 - INFO - Verified VN network id 12 for VN 820ba1a6-e71b-4db2-9c41-20dd383c7c68
2025-12-30 16:18:44,531 - INFO - Verifications in API Server for VN ctest-vn-03806741 passed
2025-12-30 16:18:44,532 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/820ba1a6-e71b-4db2-9c41-20dd383c7c68
2025-12-30 16:18:44,543 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dce31221-0764-46b2-b9a2-fcfcd50bbad1
2025-12-30 16:18:44,550 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dce31221-0764-46b2-b9a2-fcfcd50bbad1
2025-12-30 16:18:44,558 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/7367cfe8-1a5b-4598-ab2b-4bd4bcc245d3
2025-12-30 16:18:44,569 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78447176:ctest-vn-03806741', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78447176', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9370761187888418226', 'uuid-lslong': '11259316677906300008'}, 'enable': 'true', 'created': '2025-12-30T16:18:42', 'last-modified': '2025-12-30T16:18:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.400398'}
2025-12-30 16:18:44,575 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-30 16:18:44,575 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03806741 passed
2025-12-30 16:18:44,576 - DEBUG - ====Verifying policy data for ctest-vn-03806741 in API_Server ======
2025-12-30 16:18:44,576 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-12-30 16:18:44,581 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a8c7ed6a-9e09-4b3a-823b-564d94b0bd66
2025-12-30 16:18:44,592 - DEBUG - Requesting: http://10.0.0.33:8082/project/48e79def-fb55-43b7-bba6-8972ca015cc4
2025-12-30 16:18:44,659 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/820ba1a6-e71b-4db2-9c41-20dd383c7c68
2025-12-30 16:18:44,668 - DEBUG - ==>Verifying data for policy with id: 6266324c-95f7-40b0-99f8-be9381e1bc52, fqn: ['default-domain', 'ctest-TestBasicPolicy-78447176', 'ctest-policy-allow-all-07521533']
2025-12-30 16:18:44,668 - INFO - VN ctest-vn-03806741 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-30 16:18:44,668 - DEBUG - Verifying the vn in opserver
2025-12-30 16:18:44,668 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78447176:ctest-vn-03806741 virtual network link through opserver 10.0.0.33
2025-12-30 16:18:44,668 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-12-30 16:18:44,679 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78447176:ctest-vn-03806741', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78447176:ctest-vn-03806741?flat'}
2025-12-30 16:18:44,679 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78447176:ctest-vn-03806741 is found in opserver
2025-12-30 16:18:44,688 - DEBUG - Do not have enough data to verify VN in agent
2025-12-30 16:18:44,693 - DEBUG - VRF ids for VN ctest-vn-03806741: {}
2025-12-30 16:18:44,758 - DEBUG - Services list from nova: [