2026-10-27 01:32:10,162 - INFO - Domain Default found not creating
2026-10-27 01:32:10,331 - INFO - Project ctest-TestBasicPolicy-28309523 not found, creating it
2026-10-27 01:32:10,773 - INFO - Created Project:ctest-TestBasicPolicy-28309523, ID : 659f3d84-f4aa-4d34-aac3-a3875416c4c5
2026-10-27 01:32:12,415 - INFO - ================================================================================
2026-10-27 01:32:12,415 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-27 01:32:12,415 - 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-10-27 01:32:12,671 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with
2026-10-27 01:32:12,671 - INFO - Initial checks done. Running the testcase now
2026-10-27 01:32:12,671 - INFO -
2026-10-27 01:32:13,256 - DEBUG - Response for create_network : {'network': {'id': 'bc805dcd-ba73-4cbd-8aaa-6482cc52c194', 'name': 'ctest-vn-73377066', 'tenant_id': '659f3d84f4aa4d34aac3a3875416c4c5', 'project_id': '659f3d84f4aa4d34aac3a3875416c4c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28309523', 'ctest-vn-73377066'], 'port_security_enabled': True, 'description': ''}}
2026-10-27 01:32:13,413 - DEBUG - Response for create_subnet : {'subnet': {'id': '1bba788d-fc4f-416f-8504-a12ebfe8cab4', 'name': '', 'tenant_id': '659f3d84f4aa4d34aac3a3875416c4c5', 'network_id': 'bc805dcd-ba73-4cbd-8aaa-6482cc52c194', 'ip_version': 4, 'cidr': '92.20.182.0/26', 'allocation_pools': [{'start': '92.20.182.2', 'end': '92.20.182.62'}], 'gateway_ip': '92.20.182.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.20.182.2', 'tags': [], 'project_id': '659f3d84f4aa4d34aac3a3875416c4c5'}}
2026-10-27 01:32:13,429 - INFO - Created VN ctest-vn-73377066
2026-10-27 01:32:13,480 - DEBUG - VN ctest-vn-73377066 UUID is bc805dcd-ba73-4cbd-8aaa-6482cc52c194
2026-10-27 01:32:13,783 - DEBUG - Response for create_network : {'network': {'id': '2b5e1dc0-1eeb-4b5e-9e63-4b9b697037df', 'name': 'ctest-vn-75971873', 'tenant_id': '659f3d84f4aa4d34aac3a3875416c4c5', 'project_id': '659f3d84f4aa4d34aac3a3875416c4c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28309523', 'ctest-vn-75971873'], 'port_security_enabled': True, 'description': ''}}
2026-10-27 01:32:14,006 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6f93377-f90e-47ac-a032-d02a9cb062b6', 'name': '', 'tenant_id': '659f3d84f4aa4d34aac3a3875416c4c5', 'network_id': '2b5e1dc0-1eeb-4b5e-9e63-4b9b697037df', 'ip_version': 4, 'cidr': '191.57.184.64/26', 'allocation_pools': [{'start': '191.57.184.66', 'end': '191.57.184.126'}], 'gateway_ip': '191.57.184.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.57.184.66', 'tags': [], 'project_id': '659f3d84f4aa4d34aac3a3875416c4c5'}}
2026-10-27 01:32:14,021 - INFO - Created VN ctest-vn-75971873
2026-10-27 01:32:14,072 - DEBUG - VN ctest-vn-75971873 UUID is 2b5e1dc0-1eeb-4b5e-9e63-4b9b697037df
2026-10-27 01:32:14,216 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28309523:ctest-vn-73377066, 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-28309523:ctest-vn-75971873, 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-10-27 01:32:14,500 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bc805dcd-ba73-4cbd-8aaa-6482cc52c194', 'name': 'ctest-vn-73377066', 'tenant_id': '659f3d84f4aa4d34aac3a3875416c4c5', 'project_id': '659f3d84f4aa4d34aac3a3875416c4c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['1bba788d-fc4f-416f-8504-a12ebfe8cab4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28309523', 'ctest-vn-73377066'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28309523', 'ctest-policy-allow-all-36289662']], 'subnet_ipam': [{'subnet_cidr': '92.20.182.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-27 01:32:14,728 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2b5e1dc0-1eeb-4b5e-9e63-4b9b697037df', 'name': 'ctest-vn-75971873', 'tenant_id': '659f3d84f4aa4d34aac3a3875416c4c5', 'project_id': '659f3d84f4aa4d34aac3a3875416c4c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['b6f93377-f90e-47ac-a032-d02a9cb062b6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28309523', 'ctest-vn-75971873'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28309523', 'ctest-policy-allow-all-36289662']], 'subnet_ipam': [{'subnet_cidr': '191.57.184.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-27 01:32:14,920 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-10-27 01:32:15,517 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-10-27 01:32:15,545 - DEBUG - Requesting: http://10.0.0.161:8082/domain/35062921-fb91-43b3-918b-24077010c334
2026-10-27 01:32:15,558 - DEBUG - Requesting: http://10.0.0.161:8082/project/659f3d84-f4aa-4d34-aac3-a3875416c4c5
2026-10-27 01:32:15,634 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/bc805dcd-ba73-4cbd-8aaa-6482cc52c194
2026-10-27 01:32:15,645 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/bc805dcd-ba73-4cbd-8aaa-6482cc52c194
2026-10-27 01:32:15,654 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/50eb4c70-2217-48b7-a9a5-e553b4bf2845
2026-10-27 01:32:15,661 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/50eb4c70-2217-48b7-a9a5-e553b4bf2845
2026-10-27 01:32:15,667 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/c05ed9c3-cc47-4b42-a097-3189726c6835
2026-10-27 01:32:15,674 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-27 01:32:15,674 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/bc805dcd-ba73-4cbd-8aaa-6482cc52c194
2026-10-27 01:32:15,683 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/50eb4c70-2217-48b7-a9a5-e553b4bf2845
2026-10-27 01:32:15,696 - INFO - Verified VN network id 12 for VN bc805dcd-ba73-4cbd-8aaa-6482cc52c194
2026-10-27 01:32:15,697 - INFO - Verifications in API Server for VN ctest-vn-73377066 passed
2026-10-27 01:32:15,697 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/bc805dcd-ba73-4cbd-8aaa-6482cc52c194
2026-10-27 01:32:15,706 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/50eb4c70-2217-48b7-a9a5-e553b4bf2845
2026-10-27 01:32:15,713 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/50eb4c70-2217-48b7-a9a5-e553b4bf2845
2026-10-27 01:32:15,720 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/c05ed9c3-cc47-4b42-a097-3189726c6835
2026-10-27 01:32:15,733 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28309523:ctest-vn-73377066', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28309523', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13582959614327213245', 'uuid-lslong': '9991909236211368340'}, 'enable': 'true', 'created': '2026-10-27T01:32:13', 'last-modified': '2026-10-27T01:32:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.253455'}
2026-10-27 01:32:15,741 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-27 01:32:15,741 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73377066 passed
2026-10-27 01:32:15,742 - DEBUG - ====Verifying policy data for ctest-vn-73377066 in API_Server ======
2026-10-27 01:32:15,742 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-10-27 01:32:15,747 - DEBUG - Requesting: http://10.0.0.161:8082/domain/35062921-fb91-43b3-918b-24077010c334
2026-10-27 01:32:15,759 - DEBUG - Requesting: http://10.0.0.161:8082/project/659f3d84-f4aa-4d34-aac3-a3875416c4c5
2026-10-27 01:32:15,835 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/bc805dcd-ba73-4cbd-8aaa-6482cc52c194
2026-10-27 01:32:15,846 - DEBUG - ==>Verifying data for policy with id: 804b7db7-fb3e-4ef6-9896-2d6afd4f2e1f, fqn: ['default-domain', 'ctest-TestBasicPolicy-28309523', 'ctest-policy-allow-all-36289662']
2026-10-27 01:32:15,847 - INFO - VN ctest-vn-73377066 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-27 01:32:15,847 - DEBUG - Verifying the vn in opserver
2026-10-27 01:32:15,847 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28309523:ctest-vn-73377066 virtual network link through opserver 10.0.0.161
2026-10-27 01:32:15,847 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-10-27 01:32:16,213 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-10-27 01:32:16,264 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28309523:ctest-vn-73377066', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28309523:ctest-vn-73377066?flat'}
2026-10-27 01:32:16,264 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28309523:ctest-vn-73377066 is found in opserver
2026-10-27 01:32:16,277 - DEBUG - Do not have enough data to verify VN in agent
2026-10-27 01:32:16,282 - DEBUG - VRF ids for VN ctest-vn-73377066: {}
2026-10-27 01:32:16,282 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-10-27 01:32:16,288 - DEBUG - Requesting: http://10.0.0.161:8082/domain/35062921-fb91-43b3-918b-24077010c334
2026-10-27 01:32:16,299 - DEBUG - Requesting: http://10.0.0.161:8082/project/659f3d84-f4aa-4d34-aac3-a3875416c4c5
2026-10-27 01:32:16,371 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/2b5e1dc0-1eeb-4b5e-9e63-4b9b697037df
2026-10-27 01:32:16,384 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/2b5e1dc0-1eeb-4b5e-9e63-4b9b697037df
2026-10-27 01:32:16,394 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/32097a78-da14-480b-a3a6-15ae666c9f29
2026-10-27 01:32:16,401 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/32097a78-da14-480b-a3a6-15ae666c9f29
2026-10-27 01:32:16,408 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/95b72ca6-9140-4467-a88f-1b0cf0031bcf
2026-10-27 01:32:16,413 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-27 01:32:16,414 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/2b5e1dc0-1eeb-4b5e-9e63-4b9b697037df
2026-10-27 01:32:16,422 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/32097a78-da14-480b-a3a6-15ae666c9f29
2026-10-27 01:32:16,435 - INFO - Verified VN network id 13 for VN 2b5e1dc0-1eeb-4b5e-9e63-4b9b697037df
2026-10-27 01:32:16,436 - INFO - Verifications in API Server for VN ctest-vn-75971873 passed
2026-10-27 01:32:16,436 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/2b5e1dc0-1eeb-4b5e-9e63-4b9b697037df
2026-10-27 01:32:16,445 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/32097a78-da14-480b-a3a6-15ae666c9f29
2026-10-27 01:32:16,451 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/32097a78-da14-480b-a3a6-15ae666c9f29
2026-10-27 01:32:16,457 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/95b72ca6-9140-4467-a88f-1b0cf0031bcf
2026-10-27 01:32:16,468 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28309523:ctest-vn-75971873', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28309523', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3124967902431365982', 'uuid-lslong': '11413049011547944927'}, 'enable': 'true', 'created': '2026-10-27T01:32:13', 'last-modified': '2026-10-27T01:32:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.762637'}
2026-10-27 01:32:16,475 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-27 01:32:16,475 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75971873 passed
2026-10-27 01:32:16,475 - DEBUG - ====Verifying policy data for ctest-vn-75971873 in API_Server ======
2026-10-27 01:32:16,475 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-10-27 01:32:16,480 - DEBUG - Requesting: http://10.0.0.161:8082/domain/35062921-fb91-43b3-918b-24077010c334
2026-10-27 01:32:16,490 - DEBUG - Requesting: http://10.0.0.161:8082/project/659f3d84-f4aa-4d34-aac3-a3875416c4c5
2026-10-27 01:32:16,563 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/2b5e1dc0-1eeb-4b5e-9e63-4b9b697037df
2026-10-27 01:32:16,572 - DEBUG - ==>Verifying data for policy with id: 804b7db7-fb3e-4ef6-9896-2d6afd4f2e1f, fqn: ['default-domain', 'ctest-TestBasicPolicy-28309523', 'ctest-policy-allow-all-36289662']
2026-10-27 01:32:16,572 - INFO - VN ctest-vn-75971873 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-27 01:32:16,572 - DEBUG - Verifying the vn in opserver
2026-10-27 01:32:16,572 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28309523:ctest-vn-75971873 virtual network link through opserver 10.0.0.161
2026-10-27 01:32:16,572 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-10-27 01:32:16,580 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28309523:ctest-vn-75971873', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28309523:ctest-vn-75971873?flat'}
2026-10-27 01:32:16,581 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28309523:ctest-vn-75971873 is found in opserver
2026-10-27 01:32:16,590 - DEBUG - Do not have enough data to verify VN in agent
2026-10-27 01:32:16,596 - DEBUG - VRF ids for VN ctest-vn-75971873: {}
2026-10-27 01:32:16,656 - DEBUG - Services list from nova: [