2026-01-19 14:53:41,694 - INFO - Domain Default found not creating
2026-01-19 14:53:41,891 - INFO - Project ctest-TestBasicPolicy-54652568 not found, creating it
2026-01-19 14:53:42,355 - INFO - Created Project:ctest-TestBasicPolicy-54652568, ID : d93b721b-e13b-4013-b86c-b984de8b948b
2026-01-19 14:53:43,833 - INFO - ================================================================================
2026-01-19 14:53:43,833 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-19 14:53:43,834 - 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-01-19 14:53:44,086 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-01-19 14:53:44,086 - INFO - Initial checks done. Running the testcase now
2026-01-19 14:53:44,086 - INFO -
2026-01-19 14:53:44,658 - DEBUG - Response for create_network : {'network': {'id': 'dcfa7171-18e9-4db7-857f-653c88685e45', 'name': 'ctest-vn-07292736', 'tenant_id': 'd93b721be13b4013b86cb984de8b948b', 'project_id': 'd93b721be13b4013b86cb984de8b948b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54652568', 'ctest-vn-07292736'], 'port_security_enabled': True, 'description': ''}}
2026-01-19 14:53:44,881 - DEBUG - Response for create_subnet : {'subnet': {'id': '255623ac-8fd6-4580-92c1-82df77991320', 'name': '', 'tenant_id': 'd93b721be13b4013b86cb984de8b948b', 'network_id': 'dcfa7171-18e9-4db7-857f-653c88685e45', 'ip_version': 4, 'cidr': '124.199.173.0/26', 'allocation_pools': [{'start': '124.199.173.2', 'end': '124.199.173.62'}], 'gateway_ip': '124.199.173.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.199.173.2', 'tags': [], 'project_id': 'd93b721be13b4013b86cb984de8b948b'}}
2026-01-19 14:53:44,899 - INFO - Created VN ctest-vn-07292736
2026-01-19 14:53:44,952 - DEBUG - VN ctest-vn-07292736 UUID is dcfa7171-18e9-4db7-857f-653c88685e45
2026-01-19 14:53:45,269 - DEBUG - Response for create_network : {'network': {'id': '047849b4-408c-4a2a-9c81-16358846068e', 'name': 'ctest-vn-83058972', 'tenant_id': 'd93b721be13b4013b86cb984de8b948b', 'project_id': 'd93b721be13b4013b86cb984de8b948b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54652568', 'ctest-vn-83058972'], 'port_security_enabled': True, 'description': ''}}
2026-01-19 14:53:45,458 - DEBUG - Response for create_subnet : {'subnet': {'id': '843fb3e5-baf9-4413-9591-854b13f2034b', 'name': '', 'tenant_id': 'd93b721be13b4013b86cb984de8b948b', 'network_id': '047849b4-408c-4a2a-9c81-16358846068e', 'ip_version': 4, 'cidr': '49.252.109.192/26', 'allocation_pools': [{'start': '49.252.109.194', 'end': '49.252.109.254'}], 'gateway_ip': '49.252.109.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.252.109.194', 'tags': [], 'project_id': 'd93b721be13b4013b86cb984de8b948b'}}
2026-01-19 14:53:45,478 - INFO - Created VN ctest-vn-83058972
2026-01-19 14:53:45,528 - DEBUG - VN ctest-vn-83058972 UUID is 047849b4-408c-4a2a-9c81-16358846068e
2026-01-19 14:53:45,680 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54652568:ctest-vn-07292736, 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-54652568:ctest-vn-83058972, 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-01-19 14:53:45,959 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dcfa7171-18e9-4db7-857f-653c88685e45', 'name': 'ctest-vn-07292736', 'tenant_id': 'd93b721be13b4013b86cb984de8b948b', 'project_id': 'd93b721be13b4013b86cb984de8b948b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['255623ac-8fd6-4580-92c1-82df77991320'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54652568', 'ctest-vn-07292736'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54652568', 'ctest-policy-allow-all-99059453']], 'subnet_ipam': [{'subnet_cidr': '124.199.173.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-19 14:53:46,187 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '047849b4-408c-4a2a-9c81-16358846068e', 'name': 'ctest-vn-83058972', 'tenant_id': 'd93b721be13b4013b86cb984de8b948b', 'project_id': 'd93b721be13b4013b86cb984de8b948b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['843fb3e5-baf9-4413-9591-854b13f2034b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54652568', 'ctest-vn-83058972'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54652568', 'ctest-policy-allow-all-99059453']], 'subnet_ipam': [{'subnet_cidr': '49.252.109.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-19 14:53:46,352 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-19 14:53:46,650 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-19 14:53:46,687 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0acbe9a7-85d7-45e3-b449-63f6bcca2564
2026-01-19 14:53:46,699 - DEBUG - Requesting: http://10.0.0.38:8082/project/d93b721b-e13b-4013-b86c-b984de8b948b
2026-01-19 14:53:46,772 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dcfa7171-18e9-4db7-857f-653c88685e45
2026-01-19 14:53:46,783 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dcfa7171-18e9-4db7-857f-653c88685e45
2026-01-19 14:53:46,793 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3153cb76-9702-499f-b40d-730c04ece15e
2026-01-19 14:53:46,800 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3153cb76-9702-499f-b40d-730c04ece15e
2026-01-19 14:53:46,807 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/76a73ceb-7c62-40a2-b02c-b034c30694a7
2026-01-19 14:53:46,813 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-19 14:53:46,813 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dcfa7171-18e9-4db7-857f-653c88685e45
2026-01-19 14:53:46,822 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3153cb76-9702-499f-b40d-730c04ece15e
2026-01-19 14:53:46,835 - INFO - Verified VN network id 11 for VN dcfa7171-18e9-4db7-857f-653c88685e45
2026-01-19 14:53:46,836 - INFO - Verifications in API Server for VN ctest-vn-07292736 passed
2026-01-19 14:53:46,836 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dcfa7171-18e9-4db7-857f-653c88685e45
2026-01-19 14:53:46,846 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3153cb76-9702-499f-b40d-730c04ece15e
2026-01-19 14:53:46,853 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3153cb76-9702-499f-b40d-730c04ece15e
2026-01-19 14:53:46,861 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/76a73ceb-7c62-40a2-b02c-b034c30694a7
2026-01-19 14:53:46,872 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54652568:ctest-vn-07292736', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54652568', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15923164163084996023', 'uuid-lslong': '9619518639747653189'}, 'enable': 'true', 'created': '2026-01-19T14:53:44', 'last-modified': '2026-01-19T14:53:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.929274'}
2026-01-19 14:53:46,878 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-19 14:53:46,878 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07292736 passed
2026-01-19 14:53:46,878 - DEBUG - ====Verifying policy data for ctest-vn-07292736 in API_Server ======
2026-01-19 14:53:46,878 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-19 14:53:46,885 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0acbe9a7-85d7-45e3-b449-63f6bcca2564
2026-01-19 14:53:46,900 - DEBUG - Requesting: http://10.0.0.38:8082/project/d93b721b-e13b-4013-b86c-b984de8b948b
2026-01-19 14:53:46,977 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dcfa7171-18e9-4db7-857f-653c88685e45
2026-01-19 14:53:46,988 - DEBUG - ==>Verifying data for policy with id: e806fcca-30d6-49c9-8d52-023ff375e851, fqn: ['default-domain', 'ctest-TestBasicPolicy-54652568', 'ctest-policy-allow-all-99059453']
2026-01-19 14:53:46,988 - INFO - VN ctest-vn-07292736 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-19 14:53:46,989 - DEBUG - Verifying the vn in opserver
2026-01-19 14:53:46,989 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54652568:ctest-vn-07292736 virtual network link through opserver 10.0.0.38
2026-01-19 14:53:46,989 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-19 14:53:47,285 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-19 14:53:47,349 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54652568:ctest-vn-07292736', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54652568:ctest-vn-07292736?flat'}
2026-01-19 14:53:47,349 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54652568:ctest-vn-07292736 is found in opserver
2026-01-19 14:53:47,359 - DEBUG - Do not have enough data to verify VN in agent
2026-01-19 14:53:47,364 - DEBUG - VRF ids for VN ctest-vn-07292736: {}
2026-01-19 14:53:47,364 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-19 14:53:47,370 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0acbe9a7-85d7-45e3-b449-63f6bcca2564
2026-01-19 14:53:47,380 - DEBUG - Requesting: http://10.0.0.38:8082/project/d93b721b-e13b-4013-b86c-b984de8b948b
2026-01-19 14:53:47,450 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/047849b4-408c-4a2a-9c81-16358846068e
2026-01-19 14:53:47,461 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/047849b4-408c-4a2a-9c81-16358846068e
2026-01-19 14:53:47,469 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/74e7360b-829f-4a65-8c81-089db1c6fbb8
2026-01-19 14:53:47,476 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/74e7360b-829f-4a65-8c81-089db1c6fbb8
2026-01-19 14:53:47,483 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e50dde43-c7e8-49f3-bb4c-c2029817f643
2026-01-19 14:53:47,490 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-19 14:53:47,490 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/047849b4-408c-4a2a-9c81-16358846068e
2026-01-19 14:53:47,499 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/74e7360b-829f-4a65-8c81-089db1c6fbb8
2026-01-19 14:53:47,512 - INFO - Verified VN network id 12 for VN 047849b4-408c-4a2a-9c81-16358846068e
2026-01-19 14:53:47,512 - INFO - Verifications in API Server for VN ctest-vn-83058972 passed
2026-01-19 14:53:47,512 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/047849b4-408c-4a2a-9c81-16358846068e
2026-01-19 14:53:47,521 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/74e7360b-829f-4a65-8c81-089db1c6fbb8
2026-01-19 14:53:47,527 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/74e7360b-829f-4a65-8c81-089db1c6fbb8
2026-01-19 14:53:47,534 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e50dde43-c7e8-49f3-bb4c-c2029817f643
2026-01-19 14:53:47,545 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54652568:ctest-vn-83058972', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54652568', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '322088411882867242', 'uuid-lslong': '11277319361087800974'}, 'enable': 'true', 'created': '2026-01-19T14:53:45', 'last-modified': '2026-01-19T14:53:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.384466'}
2026-01-19 14:53:47,552 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-19 14:53:47,552 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83058972 passed
2026-01-19 14:53:47,552 - DEBUG - ====Verifying policy data for ctest-vn-83058972 in API_Server ======
2026-01-19 14:53:47,552 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-19 14:53:47,559 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0acbe9a7-85d7-45e3-b449-63f6bcca2564
2026-01-19 14:53:47,570 - DEBUG - Requesting: http://10.0.0.38:8082/project/d93b721b-e13b-4013-b86c-b984de8b948b
2026-01-19 14:53:47,642 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/047849b4-408c-4a2a-9c81-16358846068e
2026-01-19 14:53:47,653 - DEBUG - ==>Verifying data for policy with id: e806fcca-30d6-49c9-8d52-023ff375e851, fqn: ['default-domain', 'ctest-TestBasicPolicy-54652568', 'ctest-policy-allow-all-99059453']
2026-01-19 14:53:47,653 - INFO - VN ctest-vn-83058972 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-19 14:53:47,653 - DEBUG - Verifying the vn in opserver
2026-01-19 14:53:47,653 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54652568:ctest-vn-83058972 virtual network link through opserver 10.0.0.38
2026-01-19 14:53:47,653 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-19 14:53:47,663 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54652568:ctest-vn-83058972', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54652568:ctest-vn-83058972?flat'}
2026-01-19 14:53:47,663 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54652568:ctest-vn-83058972 is found in opserver
2026-01-19 14:53:47,672 - DEBUG - Do not have enough data to verify VN in agent
2026-01-19 14:53:47,677 - DEBUG - VRF ids for VN ctest-vn-83058972: {}
2026-01-19 14:53:47,734 - DEBUG - Services list from nova: [