2026-06-02 15:50:46,900 - INFO - Domain Default found not creating 2026-06-02 15:50:47,113 - INFO - Project ctest-TestBasicPolicy-50336146 not found, creating it 2026-06-02 15:50:47,747 - INFO - Created Project:ctest-TestBasicPolicy-50336146, ID : c04d50a3-9964-44bc-9aff-fa560baefc6f 2026-06-02 15:50:50,059 - INFO - ================================================================================ 2026-06-02 15:50:50,059 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-02 15:50:50,059 - 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-06-02 15:50:51,329 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.192': '0', '10.20.0.18': '0'}, '10.0.0.129': {'10.20.0.201': '0', '10.20.0.192': '0'}} with 2026-06-02 15:50:51,329 - INFO - Initial checks done. Running the testcase now 2026-06-02 15:50:51,329 - INFO - 2026-06-02 15:50:52,015 - DEBUG - Response for create_network : {'network': {'id': '43160018-de97-4b3a-91d8-cde1a5328043', 'name': 'ctest-vn-51166710', 'tenant_id': 'c04d50a3996444bc9afffa560baefc6f', 'project_id': 'c04d50a3996444bc9afffa560baefc6f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50336146', 'ctest-vn-51166710'], 'port_security_enabled': True, 'description': ''}} 2026-06-02 15:50:52,291 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e43bc42b-6927-4ca8-8e93-6709857b3699', 'name': '', 'tenant_id': 'c04d50a3996444bc9afffa560baefc6f', 'network_id': '43160018-de97-4b3a-91d8-cde1a5328043', 'ip_version': 4, 'cidr': '84.200.130.192/26', 'allocation_pools': [{'start': '84.200.130.194', 'end': '84.200.130.254'}], 'gateway_ip': '84.200.130.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.200.130.194', 'tags': [], 'project_id': 'c04d50a3996444bc9afffa560baefc6f'}} 2026-06-02 15:50:52,316 - INFO - Created VN ctest-vn-51166710 2026-06-02 15:50:52,329 - DEBUG - VN ctest-vn-51166710 UUID is 43160018-de97-4b3a-91d8-cde1a5328043 2026-06-02 15:50:52,717 - DEBUG - Response for create_network : {'network': {'id': '47798d55-3eb4-4b3d-b965-4e1efdeb6704', 'name': 'ctest-vn-43474049', 'tenant_id': 'c04d50a3996444bc9afffa560baefc6f', 'project_id': 'c04d50a3996444bc9afffa560baefc6f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50336146', 'ctest-vn-43474049'], 'port_security_enabled': True, 'description': ''}} 2026-06-02 15:50:52,947 - DEBUG - Response for create_subnet : {'subnet': {'id': '6796aee7-21f2-45ff-85cd-165bd7c26856', 'name': '', 'tenant_id': 'c04d50a3996444bc9afffa560baefc6f', 'network_id': '47798d55-3eb4-4b3d-b965-4e1efdeb6704', 'ip_version': 4, 'cidr': '219.86.131.128/26', 'allocation_pools': [{'start': '219.86.131.130', 'end': '219.86.131.190'}], 'gateway_ip': '219.86.131.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.86.131.130', 'tags': [], 'project_id': 'c04d50a3996444bc9afffa560baefc6f'}} 2026-06-02 15:50:52,968 - INFO - Created VN ctest-vn-43474049 2026-06-02 15:50:52,983 - DEBUG - VN ctest-vn-43474049 UUID is 47798d55-3eb4-4b3d-b965-4e1efdeb6704 2026-06-02 15:50:53,064 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-51166710, 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-50336146:ctest-vn-43474049, 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-06-02 15:50:53,401 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '43160018-de97-4b3a-91d8-cde1a5328043', 'name': 'ctest-vn-51166710', 'tenant_id': 'c04d50a3996444bc9afffa560baefc6f', 'project_id': 'c04d50a3996444bc9afffa560baefc6f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e43bc42b-6927-4ca8-8e93-6709857b3699'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50336146', 'ctest-vn-51166710'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-50336146', 'ctest-policy-allow-all-73134751']], 'subnet_ipam': [{'subnet_cidr': '84.200.130.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-02 15:50:53,604 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '47798d55-3eb4-4b3d-b965-4e1efdeb6704', 'name': 'ctest-vn-43474049', 'tenant_id': 'c04d50a3996444bc9afffa560baefc6f', 'project_id': 'c04d50a3996444bc9afffa560baefc6f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6796aee7-21f2-45ff-85cd-165bd7c26856'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50336146', 'ctest-vn-43474049'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-50336146', 'ctest-policy-allow-all-73134751']], 'subnet_ipam': [{'subnet_cidr': '219.86.131.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-02 15:50:53,709 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-02 15:50:54,010 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-02 15:50:54,045 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7b3274cd-f8c5-477e-8178-a770ba371c22 2026-06-02 15:50:54,061 - DEBUG - Requesting: http://10.0.0.50:8082/project/c04d50a3-9964-44bc-9aff-fa560baefc6f 2026-06-02 15:50:54,160 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/43160018-de97-4b3a-91d8-cde1a5328043 2026-06-02 15:50:54,183 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/43160018-de97-4b3a-91d8-cde1a5328043 2026-06-02 15:50:54,196 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/06e0ead2-5112-43f8-81df-2f177813f100 2026-06-02 15:50:54,204 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/06e0ead2-5112-43f8-81df-2f177813f100 2026-06-02 15:50:54,214 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2d323092-f412-4c54-8247-1a76074772db 2026-06-02 15:50:54,227 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-02 15:50:54,228 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/43160018-de97-4b3a-91d8-cde1a5328043 2026-06-02 15:50:54,243 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/06e0ead2-5112-43f8-81df-2f177813f100 2026-06-02 15:50:54,262 - INFO - Verified VN network id 15 for VN 43160018-de97-4b3a-91d8-cde1a5328043 2026-06-02 15:50:54,262 - INFO - Verifications in API Server for VN ctest-vn-51166710 passed 2026-06-02 15:50:54,262 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/43160018-de97-4b3a-91d8-cde1a5328043 2026-06-02 15:50:54,272 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/06e0ead2-5112-43f8-81df-2f177813f100 2026-06-02 15:50:54,279 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/06e0ead2-5112-43f8-81df-2f177813f100 2026-06-02 15:50:54,287 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2d323092-f412-4c54-8247-1a76074772db 2026-06-02 15:50:54,300 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-51166710', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-50336146', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4834051356842478394', 'uuid-lslong': '10509376099491938371'}, 'enable': 'true', 'created': '2026-06-02T15:50:51', 'last-modified': '2026-06-02T15:50:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.935314'} 2026-06-02 15:50:54,305 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-02 15:50:54,311 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-51166710', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-50336146', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4834051356842478394', 'uuid-lslong': '10509376099491938371'}, 'enable': 'true', 'created': '2026-06-02T15:50:51', 'last-modified': '2026-06-02T15:50:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.945319'} 2026-06-02 15:50:54,316 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-02 15:50:54,322 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-51166710', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-50336146', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4834051356842478394', 'uuid-lslong': '10509376099491938371'}, 'enable': 'true', 'created': '2026-06-02T15:50:51', 'last-modified': '2026-06-02T15:50:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.959763'} 2026-06-02 15:50:54,329 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-02 15:50:54,329 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51166710 passed 2026-06-02 15:50:54,329 - DEBUG - ====Verifying policy data for ctest-vn-51166710 in API_Server ====== 2026-06-02 15:50:54,329 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-02 15:50:54,336 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7b3274cd-f8c5-477e-8178-a770ba371c22 2026-06-02 15:50:54,349 - DEBUG - Requesting: http://10.0.0.50:8082/project/c04d50a3-9964-44bc-9aff-fa560baefc6f 2026-06-02 15:50:54,446 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/43160018-de97-4b3a-91d8-cde1a5328043 2026-06-02 15:50:54,461 - DEBUG - ==>Verifying data for policy with id: 1eb7b658-2cf8-4e3c-badf-9e48d772979d, fqn: ['default-domain', 'ctest-TestBasicPolicy-50336146', 'ctest-policy-allow-all-73134751'] 2026-06-02 15:50:54,461 - INFO - VN ctest-vn-51166710 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-02 15:50:54,461 - DEBUG - Verifying the vn in opserver 2026-06-02 15:50:54,461 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-51166710 virtual network link through opserver 10.0.0.50 2026-06-02 15:50:54,462 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-02 15:50:54,758 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-02 15:50:54,831 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-51166710', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-51166710?flat'} 2026-06-02 15:50:54,831 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-51166710 virtual network link through opserver 10.0.0.38 2026-06-02 15:50:54,832 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-02 15:50:55,135 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-02 15:50:55,200 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-51166710', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-51166710?flat'} 2026-06-02 15:50:55,200 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-51166710 virtual network link through opserver 10.0.0.33 2026-06-02 15:50:55,200 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-02 15:50:55,494 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-02 15:50:55,563 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-51166710', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-51166710?flat'} 2026-06-02 15:50:55,563 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-51166710 is found in opserver 2026-06-02 15:50:55,583 - DEBUG - Do not have enough data to verify VN in agent 2026-06-02 15:50:55,594 - DEBUG - VRF ids for VN ctest-vn-51166710: {} 2026-06-02 15:50:55,594 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-02 15:50:55,604 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7b3274cd-f8c5-477e-8178-a770ba371c22 2026-06-02 15:50:55,617 - DEBUG - Requesting: http://10.0.0.50:8082/project/c04d50a3-9964-44bc-9aff-fa560baefc6f 2026-06-02 15:50:55,711 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/47798d55-3eb4-4b3d-b965-4e1efdeb6704 2026-06-02 15:50:55,728 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/47798d55-3eb4-4b3d-b965-4e1efdeb6704 2026-06-02 15:50:55,738 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8908212f-6eb4-46c0-87f0-1b60db89cc9c 2026-06-02 15:50:55,746 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8908212f-6eb4-46c0-87f0-1b60db89cc9c 2026-06-02 15:50:55,753 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/60367e67-2825-4d2c-ad6b-c726ab39cde8 2026-06-02 15:50:55,760 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-02 15:50:55,760 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/47798d55-3eb4-4b3d-b965-4e1efdeb6704 2026-06-02 15:50:55,770 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8908212f-6eb4-46c0-87f0-1b60db89cc9c 2026-06-02 15:50:55,786 - INFO - Verified VN network id 16 for VN 47798d55-3eb4-4b3d-b965-4e1efdeb6704 2026-06-02 15:50:55,786 - INFO - Verifications in API Server for VN ctest-vn-43474049 passed 2026-06-02 15:50:55,786 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/47798d55-3eb4-4b3d-b965-4e1efdeb6704 2026-06-02 15:50:55,796 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8908212f-6eb4-46c0-87f0-1b60db89cc9c 2026-06-02 15:50:55,805 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8908212f-6eb4-46c0-87f0-1b60db89cc9c 2026-06-02 15:50:55,815 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/60367e67-2825-4d2c-ad6b-c726ab39cde8 2026-06-02 15:50:55,828 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-43474049', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-50336146', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5150303046138612541', 'uuid-lslong': '13359169764680492804'}, 'enable': 'true', 'created': '2026-06-02T15:50:52', 'last-modified': '2026-06-02T15:50:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.262624'} 2026-06-02 15:50:55,835 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-02 15:50:55,841 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-43474049', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-50336146', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5150303046138612541', 'uuid-lslong': '13359169764680492804'}, 'enable': 'true', 'created': '2026-06-02T15:50:52', 'last-modified': '2026-06-02T15:50:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.280669'} 2026-06-02 15:50:55,847 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-02 15:50:55,855 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-43474049', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-50336146', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5150303046138612541', 'uuid-lslong': '13359169764680492804'}, 'enable': 'true', 'created': '2026-06-02T15:50:52', 'last-modified': '2026-06-02T15:50:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.285308'} 2026-06-02 15:50:55,861 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-02 15:50:55,862 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43474049 passed 2026-06-02 15:50:55,862 - DEBUG - ====Verifying policy data for ctest-vn-43474049 in API_Server ====== 2026-06-02 15:50:55,862 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-02 15:50:55,869 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7b3274cd-f8c5-477e-8178-a770ba371c22 2026-06-02 15:50:55,882 - DEBUG - Requesting: http://10.0.0.50:8082/project/c04d50a3-9964-44bc-9aff-fa560baefc6f 2026-06-02 15:50:55,981 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/47798d55-3eb4-4b3d-b965-4e1efdeb6704 2026-06-02 15:50:56,001 - DEBUG - ==>Verifying data for policy with id: 1eb7b658-2cf8-4e3c-badf-9e48d772979d, fqn: ['default-domain', 'ctest-TestBasicPolicy-50336146', 'ctest-policy-allow-all-73134751'] 2026-06-02 15:50:56,001 - INFO - VN ctest-vn-43474049 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-02 15:50:56,001 - DEBUG - Verifying the vn in opserver 2026-06-02 15:50:56,001 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-43474049 virtual network link through opserver 10.0.0.50 2026-06-02 15:50:56,001 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-02 15:50:56,064 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-43474049', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-43474049?flat'} 2026-06-02 15:50:56,064 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-43474049 virtual network link through opserver 10.0.0.38 2026-06-02 15:50:56,064 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-02 15:50:56,137 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-43474049', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-43474049?flat'} 2026-06-02 15:50:56,137 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-43474049 virtual network link through opserver 10.0.0.33 2026-06-02 15:50:56,137 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-02 15:50:56,199 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-43474049', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-43474049?flat'} 2026-06-02 15:50:56,199 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-43474049 is found in opserver 2026-06-02 15:50:56,320 - DEBUG - Do not have enough data to verify VN in agent 2026-06-02 15:50:56,334 - DEBUG - VRF ids for VN ctest-vn-43474049: {} 2026-06-02 15:50:56,427 - DEBUG - Services list from nova: [, , , ] 2026-06-02 15:50:57,679 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5877-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5877-2) 2026-06-02 15:50:59,325 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5877-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5877-1) 2026-06-02 15:50:59,325 - INFO - Waiting for VM ctest-TestBasicPolicy-50336146-19771279 to be up.. 2026-06-02 15:50:59,455 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-02 15:51:04,566 - DEBUG - VM is in ACTIVE state now 2026-06-02 15:51:04,566 - INFO - VM name : ctest-TestBasicPolicy-50336146-19771279 2026-06-02 15:51:04,675 - DEBUG - VM ctest-TestBasicPolicy-50336146-19771279 ID is abb8f94e-24ea-4995-b557-35745fcc6198 2026-06-02 15:51:04,705 - DEBUG - VM ctest-TestBasicPolicy-50336146-19771279 launched on Node an-jenkins-deploy-platform-ansible-os-5877-2 2026-06-02 15:51:04,819 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/abb8f94e-24ea-4995-b557-35745fcc6198 2026-06-02 15:51:05,131 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/abb8f94e-24ea-4995-b557-35745fcc6198 2026-06-02 15:51:05,195 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/247582e3-ddab-4ed3-82b9-a6aa67bddfab 2026-06-02 15:51:08,376 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2026-06-02 15:51:08,376 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-50336146-19771279 failed! 2026-06-02 15:51:08,396 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-51166710 is 84.200.130.193 and allocation pool is NOT set 2026-06-02 15:51:12,500 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1032ms') 2026-06-02 15:51:12,501 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-50336146-19771279 failed! 2026-06-02 15:51:12,519 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-51166710 is 84.200.130.193 and allocation pool is NOT set 2026-06-02 15:51:16,597 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2026-06-02 15:51:16,597 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-50336146-19771279 failed! 2026-06-02 15:51:16,612 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-51166710 is 84.200.130.193 and allocation pool is NOT set 2026-06-02 15:51:20,694 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms') 2026-06-02 15:51:20,694 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-50336146-19771279 failed! 2026-06-02 15:51:20,711 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-51166710 is 84.200.130.193 and allocation pool is NOT set 2026-06-02 15:51:24,784 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1008ms') 2026-06-02 15:51:24,784 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-50336146-19771279 failed! 2026-06-02 15:51:24,799 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-51166710 is 84.200.130.193 and allocation pool is NOT set 2026-06-02 15:51:28,887 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2026-06-02 15:51:28,887 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-50336146-19771279 failed! 2026-06-02 15:51:28,902 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-51166710 is 84.200.130.193 and allocation pool is NOT set 2026-06-02 15:51:32,976 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms') 2026-06-02 15:51:32,976 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-50336146-19771279 failed! 2026-06-02 15:51:32,990 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-51166710 is 84.200.130.193 and allocation pool is NOT set 2026-06-02 15:51:37,073 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2026-06-02 15:51:37,073 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-50336146-19771279 failed! 2026-06-02 15:51:37,094 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-50336146:ctest-vn-51166710 is 84.200.130.193 and allocation pool is NOT set 2026-06-02 15:51:41,166 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=14.2 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 14.215/14.215/14.215/0.000 ms') 2026-06-02 15:51:41,167 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-50336146-19771279 passed 2026-06-02 15:51:41,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-02 15:51:41,237 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50336146-19771279, IP 84.200.130.195, Port 22 2026-06-02 15:51:41,306 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-02 15:51:41,404 - DEBUG - VM ctest-TestBasicPolicy-50336146-19771279 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-02 15:51:46,404 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-02 15:51:46,405 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50336146-19771279, IP 84.200.130.195, Port 22 2026-06-02 15:51:46,474 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-02 15:51:46,571 - DEBUG - VM ctest-TestBasicPolicy-50336146-19771279 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-02 15:51:51,572 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-02 15:51:51,572 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50336146-19771279, IP 84.200.130.195, Port 22 2026-06-02 15:51:51,642 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-02 15:51:51,749 - DEBUG - VM ctest-TestBasicPolicy-50336146-19771279 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-02 15:51:56,749 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-02 15:51:56,750 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50336146-19771279, IP 84.200.130.195, Port 22 2026-06-02 15:51:56,817 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-02 15:51:56,924 - DEBUG - VM ctest-TestBasicPolicy-50336146-19771279 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-02 15:52:01,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-02 15:52:01,925 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50336146-19771279, IP 84.200.130.195, Port 22 2026-06-02 15:52:02,102 - DEBUG - VM ctest-TestBasicPolicy-50336146-19771279 is ready for SSH connections 2026-06-02 15:52:02,102 - INFO - Waiting for VM ctest-TestBasicPolicy-50336146-90547473 to be up.. 2026-06-02 15:52:02,202 - DEBUG - VM is in ACTIVE state now 2026-06-02 15:52:02,202 - INFO - VM name : ctest-TestBasicPolicy-50336146-90547473 2026-06-02 15:52:02,306 - DEBUG - VM ctest-TestBasicPolicy-50336146-90547473 ID is e58d94e3-0321-490b-a114-be5749c167c5 2026-06-02 15:52:02,306 - DEBUG - VM ctest-TestBasicPolicy-50336146-90547473 launched on Node an-jenkins-deploy-platform-ansible-os-5877-1 2026-06-02 15:52:02,406 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e58d94e3-0321-490b-a114-be5749c167c5 2026-06-02 15:52:02,419 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/34330a7d-aef7-4124-b7e5-ba8d26ccc16c 2026-06-02 15:52:03,598 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.28 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.281/2.556/3.832/1.275 ms') 2026-06-02 15:52:03,598 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-50336146-90547473 passed 2026-06-02 15:52:03,671 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-02 15:52:03,672 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50336146-90547473, IP 219.86.131.131, Port 22 2026-06-02 15:52:03,829 - DEBUG - VM ctest-TestBasicPolicy-50336146-90547473 is ready for SSH connections 2026-06-02 15:52:03,829 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-02 15:52:03,829 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.86.131.131, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-06-02 15:52:03,829 - DEBUG - ping -s 56 -c 3 -W 1 219.86.131.131 2026-06-02 15:52:25,592 - DEBUG - PING 219.86.131.131 (219.86.131.131) 56(84) bytes of data. 64 bytes from 219.86.131.131: icmp_req=1 ttl=63 time=8.15 ms 64 bytes from 219.86.131.131: icmp_req=2 ttl=63 time=1.13 ms 64 bytes from 219.86.131.131: icmp_req=3 ttl=63 time=1.23 ms --- 219.86.131.131 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2005ms rtt min/avg/max/mdev = 1.139/3.510/8.159/3.287 ms 2026-06-02 15:52:25,592 - INFO - Ping to IP 219.86.131.131 from VM ctest-TestBasicPolicy-50336146-19771279 passed 2026-06-02 15:52:25,866 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1eb7b658-2cf8-4e3c-badf-9e48d772979d", "href": "http://10.0.0.33:8082/network-policy/1eb7b658-2cf8-4e3c-badf-9e48d772979d"}} 2026-06-02 15:52:25,866 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-02 15:52:25,866 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.86.131.131, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-06-02 15:52:25,866 - DEBUG - ping -s 56 -c 3 -W 1 219.86.131.131 2026-06-02 15:52:29,692 - DEBUG - PING 219.86.131.131 (219.86.131.131) 56(84) bytes of data. --- 219.86.131.131 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2001ms 2026-06-02 15:52:29,692 - WARNING - Ping to IP 219.86.131.131 from VM ctest-TestBasicPolicy-50336146-19771279 failed 2026-06-02 15:52:29,692 - INFO - Deleting VM ctest-TestBasicPolicy-50336146-90547473 2026-06-02 15:52:29,778 - INFO - Deleting VM ctest-TestBasicPolicy-50336146-19771279 2026-06-02 15:52:30,255 - INFO - Deleted policy ctest-policy-allow-all-73134751 2026-06-02 15:52:30,255 - INFO - Deleting VN ctest-vn-43474049 2026-06-02 15:52:30,319 - DEBUG - VN 47798d55-3eb4-4b3d-b965-4e1efdeb6704 still in use: Unable to complete operation on network 47798d55-3eb4-4b3d-b965-4e1efdeb6704. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c8104725-f2e7-40ff-88da-e2cb2d6d54b4'] 2026-06-02 15:52:30,319 - WARNING - Deleting VN ctest-vn-43474049 failed..Will retry 2026-06-02 15:52:32,533 - DEBUG - Response for deleting network () 2026-06-02 15:52:32,533 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8908212f-6eb4-46c0-87f0-1b60db89cc9c 2026-06-02 15:52:32,539 - DEBUG - Response Code: 404 2026-06-02 15:52:32,539 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-02 15:52:32,546 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7b3274cd-f8c5-477e-8178-a770ba371c22 2026-06-02 15:52:32,561 - DEBUG - Requesting: http://10.0.0.50:8082/project/c04d50a3-9964-44bc-9aff-fa560baefc6f 2026-06-02 15:52:32,658 - INFO - Validated that VN ctest-vn-43474049 is not found in API Server 2026-06-02 15:52:32,671 - DEBUG - VN ctest-vn-43474049 is not present in Agent 10.0.0.249 2026-06-02 15:52:32,685 - DEBUG - VN ctest-vn-43474049 is not present in Agent 10.0.0.129 2026-06-02 15:52:32,686 - INFO - Validated that VN ctest-vn-43474049 is not in any agent 2026-06-02 15:52:32,720 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43474049 info 2026-06-02 15:52:32,720 - INFO - Deleting VN ctest-vn-51166710 2026-06-02 15:52:32,898 - DEBUG - Response for deleting network () 2026-06-02 15:52:32,898 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/06e0ead2-5112-43f8-81df-2f177813f100 2026-06-02 15:52:32,913 - DEBUG - Response Code: 404 2026-06-02 15:52:32,913 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-02 15:52:32,930 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7b3274cd-f8c5-477e-8178-a770ba371c22 2026-06-02 15:52:32,952 - DEBUG - Requesting: http://10.0.0.50:8082/project/c04d50a3-9964-44bc-9aff-fa560baefc6f 2026-06-02 15:52:33,051 - INFO - Validated that VN ctest-vn-51166710 is not found in API Server 2026-06-02 15:52:33,068 - DEBUG - VN ctest-vn-51166710 is not present in Agent 10.0.0.249 2026-06-02 15:52:33,091 - DEBUG - VN ctest-vn-51166710 is not present in Agent 10.0.0.129 2026-06-02 15:52:33,091 - INFO - Validated that VN ctest-vn-51166710 is not in any agent 2026-06-02 15:52:33,129 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51166710 info 2026-06-02 15:52:34,421 - DEBUG - No XMPP flaps were noticed during the test
2026-06-02 15:52:34,421 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:44]
2026-06-02 15:52:34,421 - INFO - -------------------------------------------------------------------------------- 2026-06-02 15:52:35,255 - INFO - Deleted project: ctest-TestBasicPolicy-50336146, ID : c04d50a3-9964-44bc-9aff-fa560baefc6f