2026-03-12 02:10:41,969 - INFO - Domain Default found not creating
2026-03-12 02:10:42,149 - INFO - Project ctest-TestBasicPolicy-84288803 not found, creating it
2026-03-12 02:10:42,622 - INFO - Created Project:ctest-TestBasicPolicy-84288803, ID : 1e35ac15-d13c-4d1e-92b7-a31e75c173fa
2026-03-12 02:10:44,186 - INFO - ================================================================================
2026-03-12 02:10:44,186 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-12 02:10:44,187 - 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-03-12 02:10:44,441 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with
2026-03-12 02:10:44,441 - INFO - Initial checks done. Running the testcase now
2026-03-12 02:10:44,441 - INFO -
2026-03-12 02:10:45,027 - DEBUG - Response for create_network : {'network': {'id': 'cf0aeb2d-aab2-4dc5-8ab7-8c273c9748c0', 'name': 'ctest-vn-82669524', 'tenant_id': '1e35ac15d13c4d1e92b7a31e75c173fa', 'project_id': '1e35ac15d13c4d1e92b7a31e75c173fa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84288803', 'ctest-vn-82669524'], 'port_security_enabled': True, 'description': ''}}
2026-03-12 02:10:45,182 - DEBUG - Response for create_subnet : {'subnet': {'id': '052cd4f7-099b-4745-84cf-8e5818f21148', 'name': '', 'tenant_id': '1e35ac15d13c4d1e92b7a31e75c173fa', 'network_id': 'cf0aeb2d-aab2-4dc5-8ab7-8c273c9748c0', 'ip_version': 4, 'cidr': '131.144.76.0/26', 'allocation_pools': [{'start': '131.144.76.2', 'end': '131.144.76.62'}], 'gateway_ip': '131.144.76.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.144.76.2', 'tags': [], 'project_id': '1e35ac15d13c4d1e92b7a31e75c173fa'}}
2026-03-12 02:10:45,203 - INFO - Created VN ctest-vn-82669524
2026-03-12 02:10:45,255 - DEBUG - VN ctest-vn-82669524 UUID is cf0aeb2d-aab2-4dc5-8ab7-8c273c9748c0
2026-03-12 02:10:45,543 - DEBUG - Response for create_network : {'network': {'id': '5ff4d840-40c0-47b1-8152-ec56e4e05153', 'name': 'ctest-vn-83830835', 'tenant_id': '1e35ac15d13c4d1e92b7a31e75c173fa', 'project_id': '1e35ac15d13c4d1e92b7a31e75c173fa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84288803', 'ctest-vn-83830835'], 'port_security_enabled': True, 'description': ''}}
2026-03-12 02:10:45,721 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a936d38a-80d8-4826-b9d9-65bbbef3f1b3', 'name': '', 'tenant_id': '1e35ac15d13c4d1e92b7a31e75c173fa', 'network_id': '5ff4d840-40c0-47b1-8152-ec56e4e05153', 'ip_version': 4, 'cidr': '118.184.84.192/26', 'allocation_pools': [{'start': '118.184.84.194', 'end': '118.184.84.254'}], 'gateway_ip': '118.184.84.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.184.84.194', 'tags': [], 'project_id': '1e35ac15d13c4d1e92b7a31e75c173fa'}}
2026-03-12 02:10:45,743 - INFO - Created VN ctest-vn-83830835
2026-03-12 02:10:45,795 - DEBUG - VN ctest-vn-83830835 UUID is 5ff4d840-40c0-47b1-8152-ec56e4e05153
2026-03-12 02:10:45,919 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-84288803:ctest-vn-82669524, 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-84288803:ctest-vn-83830835, 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-03-12 02:10:46,221 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cf0aeb2d-aab2-4dc5-8ab7-8c273c9748c0', 'name': 'ctest-vn-82669524', 'tenant_id': '1e35ac15d13c4d1e92b7a31e75c173fa', 'project_id': '1e35ac15d13c4d1e92b7a31e75c173fa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['052cd4f7-099b-4745-84cf-8e5818f21148'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84288803', 'ctest-vn-82669524'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84288803', 'ctest-policy-allow-all-92703063']], 'subnet_ipam': [{'subnet_cidr': '131.144.76.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-12 02:10:46,438 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5ff4d840-40c0-47b1-8152-ec56e4e05153', 'name': 'ctest-vn-83830835', 'tenant_id': '1e35ac15d13c4d1e92b7a31e75c173fa', 'project_id': '1e35ac15d13c4d1e92b7a31e75c173fa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a936d38a-80d8-4826-b9d9-65bbbef3f1b3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84288803', 'ctest-vn-83830835'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84288803', 'ctest-policy-allow-all-92703063']], 'subnet_ipam': [{'subnet_cidr': '118.184.84.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-12 02:10:46,583 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-03-12 02:10:46,878 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-03-12 02:10:46,912 - DEBUG - Requesting: http://10.0.0.130:8082/domain/787fd62d-62b9-4211-873b-9aee834b5b49
2026-03-12 02:10:46,925 - DEBUG - Requesting: http://10.0.0.130:8082/project/1e35ac15-d13c-4d1e-92b7-a31e75c173fa
2026-03-12 02:10:46,994 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/cf0aeb2d-aab2-4dc5-8ab7-8c273c9748c0
2026-03-12 02:10:47,003 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/cf0aeb2d-aab2-4dc5-8ab7-8c273c9748c0
2026-03-12 02:10:47,011 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/2546f632-f400-40b1-9f01-66d23933ffdf
2026-03-12 02:10:47,018 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/2546f632-f400-40b1-9f01-66d23933ffdf
2026-03-12 02:10:47,024 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/d7202388-f5e4-4740-9cf9-d02e56396a36
2026-03-12 02:10:47,030 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-12 02:10:47,030 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/cf0aeb2d-aab2-4dc5-8ab7-8c273c9748c0
2026-03-12 02:10:47,039 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/2546f632-f400-40b1-9f01-66d23933ffdf
2026-03-12 02:10:47,052 - INFO - Verified VN network id 11 for VN cf0aeb2d-aab2-4dc5-8ab7-8c273c9748c0
2026-03-12 02:10:47,052 - INFO - Verifications in API Server for VN ctest-vn-82669524 passed
2026-03-12 02:10:47,053 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/cf0aeb2d-aab2-4dc5-8ab7-8c273c9748c0
2026-03-12 02:10:47,062 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/2546f632-f400-40b1-9f01-66d23933ffdf
2026-03-12 02:10:47,068 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/2546f632-f400-40b1-9f01-66d23933ffdf
2026-03-12 02:10:47,076 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/d7202388-f5e4-4740-9cf9-d02e56396a36
2026-03-12 02:10:47,087 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84288803:ctest-vn-82669524', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84288803', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14918995296988057029', 'uuid-lslong': '9995611998120265920'}, 'enable': 'true', 'created': '2026-03-12T02:10:44', 'last-modified': '2026-03-12T02:10:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.892018'}
2026-03-12 02:10:47,095 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-12 02:10:47,095 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82669524 passed
2026-03-12 02:10:47,095 - DEBUG - ====Verifying policy data for ctest-vn-82669524 in API_Server ======
2026-03-12 02:10:47,095 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-03-12 02:10:47,101 - DEBUG - Requesting: http://10.0.0.130:8082/domain/787fd62d-62b9-4211-873b-9aee834b5b49
2026-03-12 02:10:47,112 - DEBUG - Requesting: http://10.0.0.130:8082/project/1e35ac15-d13c-4d1e-92b7-a31e75c173fa
2026-03-12 02:10:47,179 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/cf0aeb2d-aab2-4dc5-8ab7-8c273c9748c0
2026-03-12 02:10:47,187 - DEBUG - ==>Verifying data for policy with id: 702ecb48-4899-478a-8e3a-a21ce2d33c6c, fqn: ['default-domain', 'ctest-TestBasicPolicy-84288803', 'ctest-policy-allow-all-92703063']
2026-03-12 02:10:47,187 - INFO - VN ctest-vn-82669524 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-12 02:10:47,187 - DEBUG - Verifying the vn in opserver
2026-03-12 02:10:47,187 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84288803:ctest-vn-82669524 virtual network link through opserver 10.0.0.130
2026-03-12 02:10:47,187 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks
2026-03-12 02:10:47,477 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks
2026-03-12 02:10:47,540 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84288803:ctest-vn-82669524', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84288803:ctest-vn-82669524?flat'}
2026-03-12 02:10:47,540 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84288803:ctest-vn-82669524 is found in opserver
2026-03-12 02:10:47,551 - DEBUG - Do not have enough data to verify VN in agent
2026-03-12 02:10:47,555 - DEBUG - VRF ids for VN ctest-vn-82669524: {}
2026-03-12 02:10:47,555 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-03-12 02:10:47,560 - DEBUG - Requesting: http://10.0.0.130:8082/domain/787fd62d-62b9-4211-873b-9aee834b5b49
2026-03-12 02:10:47,570 - DEBUG - Requesting: http://10.0.0.130:8082/project/1e35ac15-d13c-4d1e-92b7-a31e75c173fa
2026-03-12 02:10:47,640 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5ff4d840-40c0-47b1-8152-ec56e4e05153
2026-03-12 02:10:47,653 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5ff4d840-40c0-47b1-8152-ec56e4e05153
2026-03-12 02:10:47,664 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/1caea8e7-c7d6-4134-bb72-5480b69e14e8
2026-03-12 02:10:47,671 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/1caea8e7-c7d6-4134-bb72-5480b69e14e8
2026-03-12 02:10:47,678 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/fcdc71b9-8538-43fa-b163-e08b7e36afc9
2026-03-12 02:10:47,687 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-12 02:10:47,687 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5ff4d840-40c0-47b1-8152-ec56e4e05153
2026-03-12 02:10:47,697 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/1caea8e7-c7d6-4134-bb72-5480b69e14e8
2026-03-12 02:10:47,711 - INFO - Verified VN network id 12 for VN 5ff4d840-40c0-47b1-8152-ec56e4e05153
2026-03-12 02:10:47,711 - INFO - Verifications in API Server for VN ctest-vn-83830835 passed
2026-03-12 02:10:47,711 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5ff4d840-40c0-47b1-8152-ec56e4e05153
2026-03-12 02:10:47,720 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/1caea8e7-c7d6-4134-bb72-5480b69e14e8
2026-03-12 02:10:47,728 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/1caea8e7-c7d6-4134-bb72-5480b69e14e8
2026-03-12 02:10:47,735 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/fcdc71b9-8538-43fa-b163-e08b7e36afc9
2026-03-12 02:10:47,747 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84288803:ctest-vn-83830835', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84288803', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6914389098396403633', 'uuid-lslong': '9318770436934226259'}, 'enable': 'true', 'created': '2026-03-12T02:10:45', 'last-modified': '2026-03-12T02:10:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.325708'}
2026-03-12 02:10:47,753 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-12 02:10:47,753 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83830835 passed
2026-03-12 02:10:47,753 - DEBUG - ====Verifying policy data for ctest-vn-83830835 in API_Server ======
2026-03-12 02:10:47,753 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-03-12 02:10:47,759 - DEBUG - Requesting: http://10.0.0.130:8082/domain/787fd62d-62b9-4211-873b-9aee834b5b49
2026-03-12 02:10:47,769 - DEBUG - Requesting: http://10.0.0.130:8082/project/1e35ac15-d13c-4d1e-92b7-a31e75c173fa
2026-03-12 02:10:47,837 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5ff4d840-40c0-47b1-8152-ec56e4e05153
2026-03-12 02:10:47,849 - DEBUG - ==>Verifying data for policy with id: 702ecb48-4899-478a-8e3a-a21ce2d33c6c, fqn: ['default-domain', 'ctest-TestBasicPolicy-84288803', 'ctest-policy-allow-all-92703063']
2026-03-12 02:10:47,849 - INFO - VN ctest-vn-83830835 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-12 02:10:47,849 - DEBUG - Verifying the vn in opserver
2026-03-12 02:10:47,849 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84288803:ctest-vn-83830835 virtual network link through opserver 10.0.0.130
2026-03-12 02:10:47,849 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks
2026-03-12 02:10:47,860 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84288803:ctest-vn-83830835', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84288803:ctest-vn-83830835?flat'}
2026-03-12 02:10:47,861 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84288803:ctest-vn-83830835 is found in opserver
2026-03-12 02:10:47,871 - DEBUG - Do not have enough data to verify VN in agent
2026-03-12 02:10:47,876 - DEBUG - VRF ids for VN ctest-vn-83830835: {}
2026-03-12 02:10:47,936 - DEBUG - Services list from nova: [