2026-03-23 16:30:17,518 - INFO - Domain Default found not creating
2026-03-23 16:30:17,673 - INFO - Project ctest-TestBasicPolicy-81956086 not found, creating it
2026-03-23 16:30:18,120 - INFO - Created Project:ctest-TestBasicPolicy-81956086, ID : 745c14df-1d85-4500-ac78-8eb7553abe8f
2026-03-23 16:30:19,585 - INFO - ================================================================================
2026-03-23 16:30:19,585 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-23 16:30:19,585 - 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-23 16:30:19,848 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with
2026-03-23 16:30:19,848 - INFO - Initial checks done. Running the testcase now
2026-03-23 16:30:19,848 - INFO -
2026-03-23 16:30:20,405 - DEBUG - Response for create_network : {'network': {'id': 'defba06f-2834-4ee8-9f72-714b7788c605', 'name': 'ctest-vn-69360686', 'tenant_id': '745c14df1d854500ac788eb7553abe8f', 'project_id': '745c14df1d854500ac788eb7553abe8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81956086', 'ctest-vn-69360686'], 'port_security_enabled': True, 'description': ''}}
2026-03-23 16:30:20,560 - DEBUG - Response for create_subnet : {'subnet': {'id': '6ab621b1-46f7-41da-96d2-52875b4fdd77', 'name': '', 'tenant_id': '745c14df1d854500ac788eb7553abe8f', 'network_id': 'defba06f-2834-4ee8-9f72-714b7788c605', 'ip_version': 4, 'cidr': '211.43.143.192/26', 'allocation_pools': [{'start': '211.43.143.194', 'end': '211.43.143.254'}], 'gateway_ip': '211.43.143.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.43.143.194', 'tags': [], 'project_id': '745c14df1d854500ac788eb7553abe8f'}}
2026-03-23 16:30:20,576 - INFO - Created VN ctest-vn-69360686
2026-03-23 16:30:20,629 - DEBUG - VN ctest-vn-69360686 UUID is defba06f-2834-4ee8-9f72-714b7788c605
2026-03-23 16:30:20,936 - DEBUG - Response for create_network : {'network': {'id': '561d2047-d395-41d3-b7c0-69e8ee583bab', 'name': 'ctest-vn-00515481', 'tenant_id': '745c14df1d854500ac788eb7553abe8f', 'project_id': '745c14df1d854500ac788eb7553abe8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81956086', 'ctest-vn-00515481'], 'port_security_enabled': True, 'description': ''}}
2026-03-23 16:30:21,155 - DEBUG - Response for create_subnet : {'subnet': {'id': '11971cee-41ac-43d1-9e0d-58133037fbd8', 'name': '', 'tenant_id': '745c14df1d854500ac788eb7553abe8f', 'network_id': '561d2047-d395-41d3-b7c0-69e8ee583bab', 'ip_version': 4, 'cidr': '85.199.66.192/26', 'allocation_pools': [{'start': '85.199.66.194', 'end': '85.199.66.254'}], 'gateway_ip': '85.199.66.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.199.66.194', 'tags': [], 'project_id': '745c14df1d854500ac788eb7553abe8f'}}
2026-03-23 16:30:21,173 - INFO - Created VN ctest-vn-00515481
2026-03-23 16:30:21,225 - DEBUG - VN ctest-vn-00515481 UUID is 561d2047-d395-41d3-b7c0-69e8ee583bab
2026-03-23 16:30:21,340 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-81956086:ctest-vn-69360686, 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-81956086:ctest-vn-00515481, 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-23 16:30:21,614 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'defba06f-2834-4ee8-9f72-714b7788c605', 'name': 'ctest-vn-69360686', 'tenant_id': '745c14df1d854500ac788eb7553abe8f', 'project_id': '745c14df1d854500ac788eb7553abe8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6ab621b1-46f7-41da-96d2-52875b4fdd77'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81956086', 'ctest-vn-69360686'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81956086', 'ctest-policy-allow-all-61277953']], 'subnet_ipam': [{'subnet_cidr': '211.43.143.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-23 16:30:21,881 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '561d2047-d395-41d3-b7c0-69e8ee583bab', 'name': 'ctest-vn-00515481', 'tenant_id': '745c14df1d854500ac788eb7553abe8f', 'project_id': '745c14df1d854500ac788eb7553abe8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['11971cee-41ac-43d1-9e0d-58133037fbd8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81956086', 'ctest-vn-00515481'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81956086', 'ctest-policy-allow-all-61277953']], 'subnet_ipam': [{'subnet_cidr': '85.199.66.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-23 16:30:22,029 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-03-23 16:30:22,321 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-03-23 16:30:22,351 - DEBUG - Requesting: http://10.0.0.141:8082/domain/107af887-a426-43d5-91c8-030f54a8c093
2026-03-23 16:30:22,362 - DEBUG - Requesting: http://10.0.0.141:8082/project/745c14df-1d85-4500-ac78-8eb7553abe8f
2026-03-23 16:30:22,435 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/defba06f-2834-4ee8-9f72-714b7788c605
2026-03-23 16:30:22,444 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/defba06f-2834-4ee8-9f72-714b7788c605
2026-03-23 16:30:22,453 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/87999808-29f4-49ef-81e5-6f2ad1d7c24d
2026-03-23 16:30:22,459 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/87999808-29f4-49ef-81e5-6f2ad1d7c24d
2026-03-23 16:30:22,465 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/3c432121-4890-462d-9e73-121f5b9dc971
2026-03-23 16:30:22,471 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-23 16:30:22,471 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/defba06f-2834-4ee8-9f72-714b7788c605
2026-03-23 16:30:22,479 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/87999808-29f4-49ef-81e5-6f2ad1d7c24d
2026-03-23 16:30:22,491 - INFO - Verified VN network id 11 for VN defba06f-2834-4ee8-9f72-714b7788c605
2026-03-23 16:30:22,492 - INFO - Verifications in API Server for VN ctest-vn-69360686 passed
2026-03-23 16:30:22,492 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/defba06f-2834-4ee8-9f72-714b7788c605
2026-03-23 16:30:22,500 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/87999808-29f4-49ef-81e5-6f2ad1d7c24d
2026-03-23 16:30:22,505 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/87999808-29f4-49ef-81e5-6f2ad1d7c24d
2026-03-23 16:30:22,511 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/3c432121-4890-462d-9e73-121f5b9dc971
2026-03-23 16:30:22,521 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81956086:ctest-vn-69360686', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81956086', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16067612494850707176', 'uuid-lslong': '11489370168317494789'}, 'enable': 'true', 'created': '2026-03-23T16:30:20', 'last-modified': '2026-03-23T16:30:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.926130'}
2026-03-23 16:30:22,527 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-23 16:30:22,527 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69360686 passed
2026-03-23 16:30:22,527 - DEBUG - ====Verifying policy data for ctest-vn-69360686 in API_Server ======
2026-03-23 16:30:22,527 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-03-23 16:30:22,532 - DEBUG - Requesting: http://10.0.0.141:8082/domain/107af887-a426-43d5-91c8-030f54a8c093
2026-03-23 16:30:22,542 - DEBUG - Requesting: http://10.0.0.141:8082/project/745c14df-1d85-4500-ac78-8eb7553abe8f
2026-03-23 16:30:22,611 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/defba06f-2834-4ee8-9f72-714b7788c605
2026-03-23 16:30:22,619 - DEBUG - ==>Verifying data for policy with id: 1111a6fd-6e49-4244-b571-55d1d46fbfc4, fqn: ['default-domain', 'ctest-TestBasicPolicy-81956086', 'ctest-policy-allow-all-61277953']
2026-03-23 16:30:22,619 - INFO - VN ctest-vn-69360686 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-23 16:30:22,619 - DEBUG - Verifying the vn in opserver
2026-03-23 16:30:22,619 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81956086:ctest-vn-69360686 virtual network link through opserver 10.0.0.141
2026-03-23 16:30:22,620 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-03-23 16:30:22,913 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-03-23 16:30:22,970 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81956086:ctest-vn-69360686', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81956086:ctest-vn-69360686?flat'}
2026-03-23 16:30:22,970 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81956086:ctest-vn-69360686 is found in opserver
2026-03-23 16:30:22,978 - DEBUG - Do not have enough data to verify VN in agent
2026-03-23 16:30:22,983 - DEBUG - VRF ids for VN ctest-vn-69360686: {}
2026-03-23 16:30:22,983 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-03-23 16:30:22,988 - DEBUG - Requesting: http://10.0.0.141:8082/domain/107af887-a426-43d5-91c8-030f54a8c093
2026-03-23 16:30:22,999 - DEBUG - Requesting: http://10.0.0.141:8082/project/745c14df-1d85-4500-ac78-8eb7553abe8f
2026-03-23 16:30:23,072 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/561d2047-d395-41d3-b7c0-69e8ee583bab
2026-03-23 16:30:23,088 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/561d2047-d395-41d3-b7c0-69e8ee583bab
2026-03-23 16:30:23,097 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4b87e353-b3d9-4c66-94f3-25fe77c471a9
2026-03-23 16:30:23,103 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4b87e353-b3d9-4c66-94f3-25fe77c471a9
2026-03-23 16:30:23,109 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/ca24b544-265b-4521-97d6-0208690f0c04
2026-03-23 16:30:23,115 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-23 16:30:23,116 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/561d2047-d395-41d3-b7c0-69e8ee583bab
2026-03-23 16:30:23,124 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4b87e353-b3d9-4c66-94f3-25fe77c471a9
2026-03-23 16:30:23,137 - INFO - Verified VN network id 12 for VN 561d2047-d395-41d3-b7c0-69e8ee583bab
2026-03-23 16:30:23,137 - INFO - Verifications in API Server for VN ctest-vn-00515481 passed
2026-03-23 16:30:23,137 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/561d2047-d395-41d3-b7c0-69e8ee583bab
2026-03-23 16:30:23,145 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4b87e353-b3d9-4c66-94f3-25fe77c471a9
2026-03-23 16:30:23,153 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4b87e353-b3d9-4c66-94f3-25fe77c471a9
2026-03-23 16:30:23,159 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/ca24b544-265b-4521-97d6-0208690f0c04
2026-03-23 16:30:23,169 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81956086:ctest-vn-00515481', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81956086', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6205151354450952659', 'uuid-lslong': '13240699353621347243'}, 'enable': 'true', 'created': '2026-03-23T16:30:20', 'last-modified': '2026-03-23T16:30:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.349654'}
2026-03-23 16:30:23,176 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-23 16:30:23,176 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00515481 passed
2026-03-23 16:30:23,176 - DEBUG - ====Verifying policy data for ctest-vn-00515481 in API_Server ======
2026-03-23 16:30:23,176 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-03-23 16:30:23,181 - DEBUG - Requesting: http://10.0.0.141:8082/domain/107af887-a426-43d5-91c8-030f54a8c093
2026-03-23 16:30:23,193 - DEBUG - Requesting: http://10.0.0.141:8082/project/745c14df-1d85-4500-ac78-8eb7553abe8f
2026-03-23 16:30:23,262 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/561d2047-d395-41d3-b7c0-69e8ee583bab
2026-03-23 16:30:23,272 - DEBUG - ==>Verifying data for policy with id: 1111a6fd-6e49-4244-b571-55d1d46fbfc4, fqn: ['default-domain', 'ctest-TestBasicPolicy-81956086', 'ctest-policy-allow-all-61277953']
2026-03-23 16:30:23,272 - INFO - VN ctest-vn-00515481 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-23 16:30:23,272 - DEBUG - Verifying the vn in opserver
2026-03-23 16:30:23,272 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81956086:ctest-vn-00515481 virtual network link through opserver 10.0.0.141
2026-03-23 16:30:23,272 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-03-23 16:30:23,281 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81956086:ctest-vn-00515481', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81956086:ctest-vn-00515481?flat'}
2026-03-23 16:30:23,281 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81956086:ctest-vn-00515481 is found in opserver
2026-03-23 16:30:23,290 - DEBUG - Do not have enough data to verify VN in agent
2026-03-23 16:30:23,294 - DEBUG - VRF ids for VN ctest-vn-00515481: {}
2026-03-23 16:30:23,350 - DEBUG - Services list from nova: [