2026-01-16 00:50:08,370 - INFO - Domain Default found not creating
2026-01-16 00:50:08,549 - INFO - Project ctest-TestBasicPolicy-49891510 not found, creating it
2026-01-16 00:50:09,060 - INFO - Created Project:ctest-TestBasicPolicy-49891510, ID : 28caded3-a630-435e-96bb-6c0e4ae414a4
2026-01-16 00:50:10,707 - INFO - ================================================================================
2026-01-16 00:50:10,707 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-16 00:50:10,708 - 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-16 00:50:10,978 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.254': '0'}} with
2026-01-16 00:50:10,978 - INFO - Initial checks done. Running the testcase now
2026-01-16 00:50:10,978 - INFO -
2026-01-16 00:50:11,610 - DEBUG - Response for create_network : {'network': {'id': '61dff48b-1f22-4c7d-af68-c5a572bfabcf', 'name': 'ctest-vn-95965240', 'tenant_id': '28caded3a630435e96bb6c0e4ae414a4', 'project_id': '28caded3a630435e96bb6c0e4ae414a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49891510', 'ctest-vn-95965240'], 'port_security_enabled': True, 'description': ''}}
2026-01-16 00:50:11,788 - DEBUG - Response for create_subnet : {'subnet': {'id': '6dedaeca-10f5-4168-9a19-4a507ef1d31b', 'name': '', 'tenant_id': '28caded3a630435e96bb6c0e4ae414a4', 'network_id': '61dff48b-1f22-4c7d-af68-c5a572bfabcf', 'ip_version': 4, 'cidr': '174.210.186.0/26', 'allocation_pools': [{'start': '174.210.186.2', 'end': '174.210.186.62'}], 'gateway_ip': '174.210.186.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.210.186.2', 'tags': [], 'project_id': '28caded3a630435e96bb6c0e4ae414a4'}}
2026-01-16 00:50:11,809 - INFO - Created VN ctest-vn-95965240
2026-01-16 00:50:11,860 - DEBUG - VN ctest-vn-95965240 UUID is 61dff48b-1f22-4c7d-af68-c5a572bfabcf
2026-01-16 00:50:12,150 - DEBUG - Response for create_network : {'network': {'id': 'd3dd301b-f6af-40f6-936b-75e148ebd969', 'name': 'ctest-vn-19424694', 'tenant_id': '28caded3a630435e96bb6c0e4ae414a4', 'project_id': '28caded3a630435e96bb6c0e4ae414a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49891510', 'ctest-vn-19424694'], 'port_security_enabled': True, 'description': ''}}
2026-01-16 00:50:12,328 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd248a4a2-ca30-45ae-a30a-8e4e8f4451c0', 'name': '', 'tenant_id': '28caded3a630435e96bb6c0e4ae414a4', 'network_id': 'd3dd301b-f6af-40f6-936b-75e148ebd969', 'ip_version': 4, 'cidr': '81.43.43.0/26', 'allocation_pools': [{'start': '81.43.43.2', 'end': '81.43.43.62'}], 'gateway_ip': '81.43.43.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.43.43.2', 'tags': [], 'project_id': '28caded3a630435e96bb6c0e4ae414a4'}}
2026-01-16 00:50:12,352 - INFO - Created VN ctest-vn-19424694
2026-01-16 00:50:12,404 - DEBUG - VN ctest-vn-19424694 UUID is d3dd301b-f6af-40f6-936b-75e148ebd969
2026-01-16 00:50:12,522 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-49891510:ctest-vn-95965240, 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-49891510:ctest-vn-19424694, 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-16 00:50:12,820 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '61dff48b-1f22-4c7d-af68-c5a572bfabcf', 'name': 'ctest-vn-95965240', 'tenant_id': '28caded3a630435e96bb6c0e4ae414a4', 'project_id': '28caded3a630435e96bb6c0e4ae414a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6dedaeca-10f5-4168-9a19-4a507ef1d31b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49891510', 'ctest-vn-95965240'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49891510', 'ctest-policy-allow-all-77070170']], 'subnet_ipam': [{'subnet_cidr': '174.210.186.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-16 00:50:13,072 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd3dd301b-f6af-40f6-936b-75e148ebd969', 'name': 'ctest-vn-19424694', 'tenant_id': '28caded3a630435e96bb6c0e4ae414a4', 'project_id': '28caded3a630435e96bb6c0e4ae414a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d248a4a2-ca30-45ae-a30a-8e4e8f4451c0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49891510', 'ctest-vn-19424694'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49891510', 'ctest-policy-allow-all-77070170']], 'subnet_ipam': [{'subnet_cidr': '81.43.43.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-16 00:50:13,244 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-01-16 00:50:13,582 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-01-16 00:50:13,618 - DEBUG - Requesting: http://10.0.0.129:8082/domain/86de8a8f-2a27-40c3-8b98-bef56773ac4a
2026-01-16 00:50:13,631 - DEBUG - Requesting: http://10.0.0.129:8082/project/28caded3-a630-435e-96bb-6c0e4ae414a4
2026-01-16 00:50:13,705 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/61dff48b-1f22-4c7d-af68-c5a572bfabcf
2026-01-16 00:50:13,716 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/61dff48b-1f22-4c7d-af68-c5a572bfabcf
2026-01-16 00:50:13,724 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/ffd06aed-c695-46fd-98a5-a5d5b98b8c73
2026-01-16 00:50:13,731 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/ffd06aed-c695-46fd-98a5-a5d5b98b8c73
2026-01-16 00:50:13,738 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/61e37417-afef-4903-be7a-93dc1ef5df53
2026-01-16 00:50:13,744 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-16 00:50:13,744 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/61dff48b-1f22-4c7d-af68-c5a572bfabcf
2026-01-16 00:50:13,753 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/ffd06aed-c695-46fd-98a5-a5d5b98b8c73
2026-01-16 00:50:13,767 - INFO - Verified VN network id 11 for VN 61dff48b-1f22-4c7d-af68-c5a572bfabcf
2026-01-16 00:50:13,767 - INFO - Verifications in API Server for VN ctest-vn-95965240 passed
2026-01-16 00:50:13,767 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/61dff48b-1f22-4c7d-af68-c5a572bfabcf
2026-01-16 00:50:13,776 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/ffd06aed-c695-46fd-98a5-a5d5b98b8c73
2026-01-16 00:50:13,783 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/ffd06aed-c695-46fd-98a5-a5d5b98b8c73
2026-01-16 00:50:13,789 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/61e37417-afef-4903-be7a-93dc1ef5df53
2026-01-16 00:50:13,802 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49891510:ctest-vn-95965240', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49891510', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7052624419845459069', 'uuid-lslong': '12639569668600736719'}, 'enable': 'true', 'created': '2026-01-16T00:50:11', 'last-modified': '2026-01-16T00:50:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.007305'}
2026-01-16 00:50:13,808 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-16 00:50:13,808 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95965240 passed
2026-01-16 00:50:13,808 - DEBUG - ====Verifying policy data for ctest-vn-95965240 in API_Server ======
2026-01-16 00:50:13,808 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-01-16 00:50:13,813 - DEBUG - Requesting: http://10.0.0.129:8082/domain/86de8a8f-2a27-40c3-8b98-bef56773ac4a
2026-01-16 00:50:13,823 - DEBUG - Requesting: http://10.0.0.129:8082/project/28caded3-a630-435e-96bb-6c0e4ae414a4
2026-01-16 00:50:13,892 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/61dff48b-1f22-4c7d-af68-c5a572bfabcf
2026-01-16 00:50:13,901 - DEBUG - ==>Verifying data for policy with id: 4f671913-71f8-4c83-a803-3a3810c08dab, fqn: ['default-domain', 'ctest-TestBasicPolicy-49891510', 'ctest-policy-allow-all-77070170']
2026-01-16 00:50:13,901 - INFO - VN ctest-vn-95965240 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-16 00:50:13,901 - DEBUG - Verifying the vn in opserver
2026-01-16 00:50:13,901 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49891510:ctest-vn-95965240 virtual network link through opserver 10.0.0.129
2026-01-16 00:50:13,901 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2026-01-16 00:50:14,237 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2026-01-16 00:50:14,300 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49891510:ctest-vn-95965240', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49891510:ctest-vn-95965240?flat'}
2026-01-16 00:50:14,300 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49891510:ctest-vn-95965240 is found in opserver
2026-01-16 00:50:14,310 - DEBUG - Do not have enough data to verify VN in agent
2026-01-16 00:50:14,314 - DEBUG - VRF ids for VN ctest-vn-95965240: {}
2026-01-16 00:50:14,314 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-01-16 00:50:14,320 - DEBUG - Requesting: http://10.0.0.129:8082/domain/86de8a8f-2a27-40c3-8b98-bef56773ac4a
2026-01-16 00:50:14,331 - DEBUG - Requesting: http://10.0.0.129:8082/project/28caded3-a630-435e-96bb-6c0e4ae414a4
2026-01-16 00:50:14,405 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/d3dd301b-f6af-40f6-936b-75e148ebd969
2026-01-16 00:50:14,417 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/d3dd301b-f6af-40f6-936b-75e148ebd969
2026-01-16 00:50:14,426 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/42b45e93-745a-4100-85d1-5cff17923259
2026-01-16 00:50:14,433 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/42b45e93-745a-4100-85d1-5cff17923259
2026-01-16 00:50:14,439 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/f7ff3df9-572d-4e1d-812e-381cba24e4af
2026-01-16 00:50:14,445 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-16 00:50:14,445 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/d3dd301b-f6af-40f6-936b-75e148ebd969
2026-01-16 00:50:14,453 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/42b45e93-745a-4100-85d1-5cff17923259
2026-01-16 00:50:14,466 - INFO - Verified VN network id 12 for VN d3dd301b-f6af-40f6-936b-75e148ebd969
2026-01-16 00:50:14,466 - INFO - Verifications in API Server for VN ctest-vn-19424694 passed
2026-01-16 00:50:14,466 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/d3dd301b-f6af-40f6-936b-75e148ebd969
2026-01-16 00:50:14,475 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/42b45e93-745a-4100-85d1-5cff17923259
2026-01-16 00:50:14,480 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/42b45e93-745a-4100-85d1-5cff17923259
2026-01-16 00:50:14,492 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/f7ff3df9-572d-4e1d-812e-381cba24e4af
2026-01-16 00:50:14,510 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49891510:ctest-vn-19424694', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49891510', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15266411208516780278', 'uuid-lslong': '10622713756534954345'}, 'enable': 'true', 'created': '2026-01-16T00:50:12', 'last-modified': '2026-01-16T00:50:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.457731'}
2026-01-16 00:50:14,515 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-16 00:50:14,515 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19424694 passed
2026-01-16 00:50:14,516 - DEBUG - ====Verifying policy data for ctest-vn-19424694 in API_Server ======
2026-01-16 00:50:14,516 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-01-16 00:50:14,521 - DEBUG - Requesting: http://10.0.0.129:8082/domain/86de8a8f-2a27-40c3-8b98-bef56773ac4a
2026-01-16 00:50:14,531 - DEBUG - Requesting: http://10.0.0.129:8082/project/28caded3-a630-435e-96bb-6c0e4ae414a4
2026-01-16 00:50:14,600 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/d3dd301b-f6af-40f6-936b-75e148ebd969
2026-01-16 00:50:14,609 - DEBUG - ==>Verifying data for policy with id: 4f671913-71f8-4c83-a803-3a3810c08dab, fqn: ['default-domain', 'ctest-TestBasicPolicy-49891510', 'ctest-policy-allow-all-77070170']
2026-01-16 00:50:14,609 - INFO - VN ctest-vn-19424694 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-16 00:50:14,609 - DEBUG - Verifying the vn in opserver
2026-01-16 00:50:14,610 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49891510:ctest-vn-19424694 virtual network link through opserver 10.0.0.129
2026-01-16 00:50:14,610 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2026-01-16 00:50:14,619 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49891510:ctest-vn-19424694', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49891510:ctest-vn-19424694?flat'}
2026-01-16 00:50:14,619 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49891510:ctest-vn-19424694 is found in opserver
2026-01-16 00:50:14,629 - DEBUG - Do not have enough data to verify VN in agent
2026-01-16 00:50:14,633 - DEBUG - VRF ids for VN ctest-vn-19424694: {}
2026-01-16 00:50:14,692 - DEBUG - Services list from nova: [