2026-03-05 17:15:42,959 - INFO - Domain Default found not creating
2026-03-05 17:15:43,104 - INFO - Project ctest-TestBasicPolicy-65400741 not found, creating it
2026-03-05 17:15:43,517 - INFO - Created Project:ctest-TestBasicPolicy-65400741, ID : 3a4052fa-c4c0-4a91-9748-1bd28109bb08
2026-03-05 17:15:44,886 - INFO - ================================================================================
2026-03-05 17:15:44,886 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-05 17:15:44,886 - 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-05 17:15:45,147 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with
2026-03-05 17:15:45,147 - INFO - Initial checks done. Running the testcase now
2026-03-05 17:15:45,147 - INFO -
2026-03-05 17:15:45,663 - DEBUG - Response for create_network : {'network': {'id': '380e0d2d-4a29-4830-ad04-e567572238cb', 'name': 'ctest-vn-78920176', 'tenant_id': '3a4052fac4c04a9197481bd28109bb08', 'project_id': '3a4052fac4c04a9197481bd28109bb08', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65400741', 'ctest-vn-78920176'], 'port_security_enabled': True, 'description': ''}}
2026-03-05 17:15:45,822 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f6bbb41-acc2-4e6a-a0ed-edd5f1486f53', 'name': '', 'tenant_id': '3a4052fac4c04a9197481bd28109bb08', 'network_id': '380e0d2d-4a29-4830-ad04-e567572238cb', 'ip_version': 4, 'cidr': '164.4.113.192/26', 'allocation_pools': [{'start': '164.4.113.194', 'end': '164.4.113.254'}], 'gateway_ip': '164.4.113.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.4.113.194', 'tags': [], 'project_id': '3a4052fac4c04a9197481bd28109bb08'}}
2026-03-05 17:15:45,837 - INFO - Created VN ctest-vn-78920176
2026-03-05 17:15:45,885 - DEBUG - VN ctest-vn-78920176 UUID is 380e0d2d-4a29-4830-ad04-e567572238cb
2026-03-05 17:15:46,186 - DEBUG - Response for create_network : {'network': {'id': '21e4618b-d960-4392-9975-15e5e0ee7690', 'name': 'ctest-vn-38470334', 'tenant_id': '3a4052fac4c04a9197481bd28109bb08', 'project_id': '3a4052fac4c04a9197481bd28109bb08', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65400741', 'ctest-vn-38470334'], 'port_security_enabled': True, 'description': ''}}
2026-03-05 17:15:46,378 - DEBUG - Response for create_subnet : {'subnet': {'id': 'deb3ae0b-3913-48c4-aaa5-6999947337b9', 'name': '', 'tenant_id': '3a4052fac4c04a9197481bd28109bb08', 'network_id': '21e4618b-d960-4392-9975-15e5e0ee7690', 'ip_version': 4, 'cidr': '134.176.44.64/26', 'allocation_pools': [{'start': '134.176.44.66', 'end': '134.176.44.126'}], 'gateway_ip': '134.176.44.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.176.44.66', 'tags': [], 'project_id': '3a4052fac4c04a9197481bd28109bb08'}}
2026-03-05 17:15:46,393 - INFO - Created VN ctest-vn-38470334
2026-03-05 17:15:46,441 - DEBUG - VN ctest-vn-38470334 UUID is 21e4618b-d960-4392-9975-15e5e0ee7690
2026-03-05 17:15:46,581 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65400741:ctest-vn-78920176, 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-65400741:ctest-vn-38470334, 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-05 17:15:46,853 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '380e0d2d-4a29-4830-ad04-e567572238cb', 'name': 'ctest-vn-78920176', 'tenant_id': '3a4052fac4c04a9197481bd28109bb08', 'project_id': '3a4052fac4c04a9197481bd28109bb08', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8f6bbb41-acc2-4e6a-a0ed-edd5f1486f53'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65400741', 'ctest-vn-78920176'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65400741', 'ctest-policy-allow-all-52787927']], 'subnet_ipam': [{'subnet_cidr': '164.4.113.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-05 17:15:47,109 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '21e4618b-d960-4392-9975-15e5e0ee7690', 'name': 'ctest-vn-38470334', 'tenant_id': '3a4052fac4c04a9197481bd28109bb08', 'project_id': '3a4052fac4c04a9197481bd28109bb08', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['deb3ae0b-3913-48c4-aaa5-6999947337b9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65400741', 'ctest-vn-38470334'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65400741', 'ctest-policy-allow-all-52787927']], 'subnet_ipam': [{'subnet_cidr': '134.176.44.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-05 17:15:47,257 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-05 17:15:47,549 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-05 17:15:47,583 - DEBUG - Requesting: http://10.0.0.33:8082/domain/79996cef-0ca3-43be-b185-cfeddacdd741
2026-03-05 17:15:47,596 - DEBUG - Requesting: http://10.0.0.33:8082/project/3a4052fa-c4c0-4a91-9748-1bd28109bb08
2026-03-05 17:15:47,667 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/380e0d2d-4a29-4830-ad04-e567572238cb
2026-03-05 17:15:47,675 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/380e0d2d-4a29-4830-ad04-e567572238cb
2026-03-05 17:15:47,682 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6eaaef5a-2a43-4490-a85f-4f18b6da1e43
2026-03-05 17:15:47,688 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6eaaef5a-2a43-4490-a85f-4f18b6da1e43
2026-03-05 17:15:47,693 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2c2341e0-82ce-4917-8134-4ed780ecfe7a
2026-03-05 17:15:47,697 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-05 17:15:47,697 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/380e0d2d-4a29-4830-ad04-e567572238cb
2026-03-05 17:15:47,704 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6eaaef5a-2a43-4490-a85f-4f18b6da1e43
2026-03-05 17:15:47,714 - INFO - Verified VN network id 12 for VN 380e0d2d-4a29-4830-ad04-e567572238cb
2026-03-05 17:15:47,714 - INFO - Verifications in API Server for VN ctest-vn-78920176 passed
2026-03-05 17:15:47,714 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/380e0d2d-4a29-4830-ad04-e567572238cb
2026-03-05 17:15:47,724 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6eaaef5a-2a43-4490-a85f-4f18b6da1e43
2026-03-05 17:15:47,729 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6eaaef5a-2a43-4490-a85f-4f18b6da1e43
2026-03-05 17:15:47,734 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2c2341e0-82ce-4917-8134-4ed780ecfe7a
2026-03-05 17:15:47,743 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65400741:ctest-vn-78920176', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65400741', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4039180403966822448', 'uuid-lslong': '12467341900474628299'}, 'enable': 'true', 'created': '2026-03-05T17:15:45', 'last-modified': '2026-03-05T17:15:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.907328'}
2026-03-05 17:15:47,748 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-05 17:15:47,748 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78920176 passed
2026-03-05 17:15:47,749 - DEBUG - ====Verifying policy data for ctest-vn-78920176 in API_Server ======
2026-03-05 17:15:47,749 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-05 17:15:47,752 - DEBUG - Requesting: http://10.0.0.33:8082/domain/79996cef-0ca3-43be-b185-cfeddacdd741
2026-03-05 17:15:47,760 - DEBUG - Requesting: http://10.0.0.33:8082/project/3a4052fa-c4c0-4a91-9748-1bd28109bb08
2026-03-05 17:15:47,827 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/380e0d2d-4a29-4830-ad04-e567572238cb
2026-03-05 17:15:47,834 - DEBUG - ==>Verifying data for policy with id: e7abf264-a690-4be1-8d29-aad5764a6fbb, fqn: ['default-domain', 'ctest-TestBasicPolicy-65400741', 'ctest-policy-allow-all-52787927']
2026-03-05 17:15:47,834 - INFO - VN ctest-vn-78920176 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-05 17:15:47,834 - DEBUG - Verifying the vn in opserver
2026-03-05 17:15:47,834 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65400741:ctest-vn-78920176 virtual network link through opserver 10.0.0.33
2026-03-05 17:15:47,835 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-03-05 17:15:48,124 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-03-05 17:15:48,183 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65400741:ctest-vn-78920176', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65400741:ctest-vn-78920176?flat'}
2026-03-05 17:15:48,183 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65400741:ctest-vn-78920176 is found in opserver
2026-03-05 17:15:48,192 - DEBUG - Do not have enough data to verify VN in agent
2026-03-05 17:15:48,195 - DEBUG - VRF ids for VN ctest-vn-78920176: {}
2026-03-05 17:15:48,195 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-05 17:15:48,199 - DEBUG - Requesting: http://10.0.0.33:8082/domain/79996cef-0ca3-43be-b185-cfeddacdd741
2026-03-05 17:15:48,209 - DEBUG - Requesting: http://10.0.0.33:8082/project/3a4052fa-c4c0-4a91-9748-1bd28109bb08
2026-03-05 17:15:48,277 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/21e4618b-d960-4392-9975-15e5e0ee7690
2026-03-05 17:15:48,288 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/21e4618b-d960-4392-9975-15e5e0ee7690
2026-03-05 17:15:48,296 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/fd5c00e4-018c-4e3c-870b-09c9d6b1ce7b
2026-03-05 17:15:48,302 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/fd5c00e4-018c-4e3c-870b-09c9d6b1ce7b
2026-03-05 17:15:48,307 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/24758f35-fcec-403b-9ee7-1f8ebaee8183
2026-03-05 17:15:48,312 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-05 17:15:48,312 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/21e4618b-d960-4392-9975-15e5e0ee7690
2026-03-05 17:15:48,319 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/fd5c00e4-018c-4e3c-870b-09c9d6b1ce7b
2026-03-05 17:15:48,330 - INFO - Verified VN network id 13 for VN 21e4618b-d960-4392-9975-15e5e0ee7690
2026-03-05 17:15:48,330 - INFO - Verifications in API Server for VN ctest-vn-38470334 passed
2026-03-05 17:15:48,330 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/21e4618b-d960-4392-9975-15e5e0ee7690
2026-03-05 17:15:48,337 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/fd5c00e4-018c-4e3c-870b-09c9d6b1ce7b
2026-03-05 17:15:48,342 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/fd5c00e4-018c-4e3c-870b-09c9d6b1ce7b
2026-03-05 17:15:48,347 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/24758f35-fcec-403b-9ee7-1f8ebaee8183
2026-03-05 17:15:48,356 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65400741:ctest-vn-38470334', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65400741', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2442184151216964498', 'uuid-lslong': '11057768537143539344'}, 'enable': 'true', 'created': '2026-03-05T17:15:46', 'last-modified': '2026-03-05T17:15:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.307386'}
2026-03-05 17:15:48,360 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-05 17:15:48,360 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38470334 passed
2026-03-05 17:15:48,361 - DEBUG - ====Verifying policy data for ctest-vn-38470334 in API_Server ======
2026-03-05 17:15:48,361 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-05 17:15:48,365 - DEBUG - Requesting: http://10.0.0.33:8082/domain/79996cef-0ca3-43be-b185-cfeddacdd741
2026-03-05 17:15:48,374 - DEBUG - Requesting: http://10.0.0.33:8082/project/3a4052fa-c4c0-4a91-9748-1bd28109bb08
2026-03-05 17:15:48,441 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/21e4618b-d960-4392-9975-15e5e0ee7690
2026-03-05 17:15:48,448 - DEBUG - ==>Verifying data for policy with id: e7abf264-a690-4be1-8d29-aad5764a6fbb, fqn: ['default-domain', 'ctest-TestBasicPolicy-65400741', 'ctest-policy-allow-all-52787927']
2026-03-05 17:15:48,448 - INFO - VN ctest-vn-38470334 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-05 17:15:48,448 - DEBUG - Verifying the vn in opserver
2026-03-05 17:15:48,448 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65400741:ctest-vn-38470334 virtual network link through opserver 10.0.0.33
2026-03-05 17:15:48,448 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-03-05 17:15:48,456 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65400741:ctest-vn-38470334', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65400741:ctest-vn-38470334?flat'}
2026-03-05 17:15:48,456 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65400741:ctest-vn-38470334 is found in opserver
2026-03-05 17:15:48,464 - DEBUG - Do not have enough data to verify VN in agent
2026-03-05 17:15:48,467 - DEBUG - VRF ids for VN ctest-vn-38470334: {}
2026-03-05 17:15:48,517 - DEBUG - Services list from nova: [