2026-01-22 21:57:48,590 - INFO - Domain Default found not creating 2026-01-22 21:57:48,768 - INFO - Project ctest-TestBasicPolicy-85919064 not found, creating it 2026-01-22 21:57:49,394 - INFO - Created Project:ctest-TestBasicPolicy-85919064, ID : 004e8379-6ce1-4bf0-a842-daa08b843e2a 2026-01-22 21:57:51,458 - INFO - ================================================================================ 2026-01-22 21:57:51,458 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-22 21:57:51,458 - 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-22 21:57:52,735 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.18': '0', '10.20.0.17': '0'}, '10.0.0.19': {'10.20.0.17': '0', '10.20.0.18': '0'}} with 2026-01-22 21:57:52,735 - INFO - Initial checks done. Running the testcase now 2026-01-22 21:57:52,736 - INFO - 2026-01-22 21:57:53,505 - DEBUG - Response for create_network : {'network': {'id': 'f2d9a9ea-1fa3-443a-8524-a9771facbf8a', 'name': 'ctest-vn-26041736', 'tenant_id': '004e83796ce14bf0a842daa08b843e2a', 'project_id': '004e83796ce14bf0a842daa08b843e2a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85919064', 'ctest-vn-26041736'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 21:57:53,877 - DEBUG - Response for create_subnet : {'subnet': {'id': '6a7905d2-eb13-46ea-b766-a2a1aa83d8bb', 'name': '', 'tenant_id': '004e83796ce14bf0a842daa08b843e2a', 'network_id': 'f2d9a9ea-1fa3-443a-8524-a9771facbf8a', 'ip_version': 4, 'cidr': '153.178.34.128/26', 'allocation_pools': [{'start': '153.178.34.130', 'end': '153.178.34.190'}], 'gateway_ip': '153.178.34.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.178.34.130', 'tags': [], 'project_id': '004e83796ce14bf0a842daa08b843e2a'}} 2026-01-22 21:57:53,924 - INFO - Created VN ctest-vn-26041736 2026-01-22 21:57:53,938 - DEBUG - VN ctest-vn-26041736 UUID is f2d9a9ea-1fa3-443a-8524-a9771facbf8a 2026-01-22 21:57:54,378 - DEBUG - Response for create_network : {'network': {'id': 'c0320d5b-45f4-4daa-b10b-08adcb78189a', 'name': 'ctest-vn-34776648', 'tenant_id': '004e83796ce14bf0a842daa08b843e2a', 'project_id': '004e83796ce14bf0a842daa08b843e2a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85919064', 'ctest-vn-34776648'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 21:57:54,667 - DEBUG - Response for create_subnet : {'subnet': {'id': '12923735-16db-4835-b341-416acac44b43', 'name': '', 'tenant_id': '004e83796ce14bf0a842daa08b843e2a', 'network_id': 'c0320d5b-45f4-4daa-b10b-08adcb78189a', 'ip_version': 4, 'cidr': '72.97.241.192/26', 'allocation_pools': [{'start': '72.97.241.194', 'end': '72.97.241.254'}], 'gateway_ip': '72.97.241.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.97.241.194', 'tags': [], 'project_id': '004e83796ce14bf0a842daa08b843e2a'}} 2026-01-22 21:57:54,707 - INFO - Created VN ctest-vn-34776648 2026-01-22 21:57:54,721 - DEBUG - VN ctest-vn-34776648 UUID is c0320d5b-45f4-4daa-b10b-08adcb78189a 2026-01-22 21:57:54,814 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-85919064:ctest-vn-26041736, 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-85919064:ctest-vn-34776648, 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-22 21:57:55,184 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f2d9a9ea-1fa3-443a-8524-a9771facbf8a', 'name': 'ctest-vn-26041736', 'tenant_id': '004e83796ce14bf0a842daa08b843e2a', 'project_id': '004e83796ce14bf0a842daa08b843e2a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6a7905d2-eb13-46ea-b766-a2a1aa83d8bb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85919064', 'ctest-vn-26041736'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85919064', 'ctest-policy-allow-all-70684613']], 'subnet_ipam': [{'subnet_cidr': '153.178.34.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-22 21:57:55,417 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c0320d5b-45f4-4daa-b10b-08adcb78189a', 'name': 'ctest-vn-34776648', 'tenant_id': '004e83796ce14bf0a842daa08b843e2a', 'project_id': '004e83796ce14bf0a842daa08b843e2a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['12923735-16db-4835-b341-416acac44b43'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85919064', 'ctest-vn-34776648'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85919064', 'ctest-policy-allow-all-70684613']], 'subnet_ipam': [{'subnet_cidr': '72.97.241.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-22 21:57:55,530 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-22 21:57:55,973 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-22 21:57:56,029 - DEBUG - Requesting: http://10.0.0.141:8082/domain/1fc276f0-b6b9-407c-bfe0-a534d969fb5e 2026-01-22 21:57:56,052 - DEBUG - Requesting: http://10.0.0.141:8082/project/004e8379-6ce1-4bf0-a842-daa08b843e2a 2026-01-22 21:57:56,167 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f2d9a9ea-1fa3-443a-8524-a9771facbf8a 2026-01-22 21:57:56,206 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f2d9a9ea-1fa3-443a-8524-a9771facbf8a 2026-01-22 21:57:56,218 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6cc95e9c-fdfa-4223-94a6-bb346599035f 2026-01-22 21:57:56,229 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6cc95e9c-fdfa-4223-94a6-bb346599035f 2026-01-22 21:57:56,237 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/73dc302b-7d0c-403a-b031-500a073d643a 2026-01-22 21:57:56,248 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-22 21:57:56,248 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f2d9a9ea-1fa3-443a-8524-a9771facbf8a 2026-01-22 21:57:56,258 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6cc95e9c-fdfa-4223-94a6-bb346599035f 2026-01-22 21:57:56,276 - INFO - Verified VN network id 11 for VN f2d9a9ea-1fa3-443a-8524-a9771facbf8a 2026-01-22 21:57:56,277 - INFO - Verifications in API Server for VN ctest-vn-26041736 passed 2026-01-22 21:57:56,277 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f2d9a9ea-1fa3-443a-8524-a9771facbf8a 2026-01-22 21:57:56,288 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6cc95e9c-fdfa-4223-94a6-bb346599035f 2026-01-22 21:57:56,295 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6cc95e9c-fdfa-4223-94a6-bb346599035f 2026-01-22 21:57:56,304 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/73dc302b-7d0c-403a-b031-500a073d643a 2026-01-22 21:57:56,317 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85919064:ctest-vn-26041736', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85919064', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17499204650143007802', 'uuid-lslong': '9593979435303616394'}, 'enable': 'true', 'created': '2026-01-22T21:57:53', 'last-modified': '2026-01-22T21:57:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.172000'} 2026-01-22 21:57:56,323 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-22 21:57:56,330 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85919064:ctest-vn-26041736', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85919064', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17499204650143007802', 'uuid-lslong': '9593979435303616394'}, 'enable': 'true', 'created': '2026-01-22T21:57:53', 'last-modified': '2026-01-22T21:57:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.204352'} 2026-01-22 21:57:56,339 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-22 21:57:56,345 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85919064:ctest-vn-26041736', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85919064', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17499204650143007802', 'uuid-lslong': '9593979435303616394'}, 'enable': 'true', 'created': '2026-01-22T21:57:53', 'last-modified': '2026-01-22T21:57:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.193411'} 2026-01-22 21:57:56,352 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-22 21:57:56,352 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26041736 passed 2026-01-22 21:57:56,352 - DEBUG - ====Verifying policy data for ctest-vn-26041736 in API_Server ====== 2026-01-22 21:57:56,352 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-22 21:57:56,359 - DEBUG - Requesting: http://10.0.0.141:8082/domain/1fc276f0-b6b9-407c-bfe0-a534d969fb5e 2026-01-22 21:57:56,372 - DEBUG - Requesting: http://10.0.0.141:8082/project/004e8379-6ce1-4bf0-a842-daa08b843e2a 2026-01-22 21:57:56,471 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f2d9a9ea-1fa3-443a-8524-a9771facbf8a 2026-01-22 21:57:56,488 - DEBUG - ==>Verifying data for policy with id: fe4eeedb-d9ff-4d1d-8562-8a82f7a0e7a6, fqn: ['default-domain', 'ctest-TestBasicPolicy-85919064', 'ctest-policy-allow-all-70684613'] 2026-01-22 21:57:56,488 - INFO - VN ctest-vn-26041736 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-22 21:57:56,488 - DEBUG - Verifying the vn in opserver 2026-01-22 21:57:56,488 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85919064:ctest-vn-26041736 virtual network link through opserver 10.0.0.141 2026-01-22 21:57:56,488 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-01-22 21:57:56,817 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-01-22 21:57:56,904 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85919064:ctest-vn-26041736', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85919064:ctest-vn-26041736?flat'} 2026-01-22 21:57:56,904 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85919064:ctest-vn-26041736 virtual network link through opserver 10.0.0.242 2026-01-22 21:57:56,904 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-01-22 21:57:57,223 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-01-22 21:57:57,355 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85919064:ctest-vn-26041736', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85919064:ctest-vn-26041736?flat'} 2026-01-22 21:57:57,355 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85919064:ctest-vn-26041736 virtual network link through opserver 10.0.0.33 2026-01-22 21:57:57,355 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-01-22 21:57:57,713 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-01-22 21:57:57,790 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85919064:ctest-vn-26041736', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85919064:ctest-vn-26041736?flat'} 2026-01-22 21:57:57,790 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85919064:ctest-vn-26041736 is found in opserver 2026-01-22 21:57:57,821 - DEBUG - Do not have enough data to verify VN in agent 2026-01-22 21:57:57,836 - DEBUG - VRF ids for VN ctest-vn-26041736: {} 2026-01-22 21:57:57,836 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-22 21:57:57,844 - DEBUG - Requesting: http://10.0.0.141:8082/domain/1fc276f0-b6b9-407c-bfe0-a534d969fb5e 2026-01-22 21:57:57,859 - DEBUG - Requesting: http://10.0.0.141:8082/project/004e8379-6ce1-4bf0-a842-daa08b843e2a 2026-01-22 21:57:57,976 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/c0320d5b-45f4-4daa-b10b-08adcb78189a 2026-01-22 21:57:58,001 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/c0320d5b-45f4-4daa-b10b-08adcb78189a 2026-01-22 21:57:58,014 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/7ca74bec-164b-4fa7-a919-9a9691170979 2026-01-22 21:57:58,024 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/7ca74bec-164b-4fa7-a919-9a9691170979 2026-01-22 21:57:58,032 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/8c534b99-af53-4e1c-a7c2-dcde3e534dc7 2026-01-22 21:57:58,042 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-01-22 21:57:58,042 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/c0320d5b-45f4-4daa-b10b-08adcb78189a 2026-01-22 21:57:58,061 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/7ca74bec-164b-4fa7-a919-9a9691170979 2026-01-22 21:57:58,090 - INFO - Verified VN network id 12 for VN c0320d5b-45f4-4daa-b10b-08adcb78189a 2026-01-22 21:57:58,091 - INFO - Verifications in API Server for VN ctest-vn-34776648 passed 2026-01-22 21:57:58,091 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/c0320d5b-45f4-4daa-b10b-08adcb78189a 2026-01-22 21:57:58,106 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/7ca74bec-164b-4fa7-a919-9a9691170979 2026-01-22 21:57:58,117 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/7ca74bec-164b-4fa7-a919-9a9691170979 2026-01-22 21:57:58,128 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/8c534b99-af53-4e1c-a7c2-dcde3e534dc7 2026-01-22 21:57:58,143 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85919064:ctest-vn-34776648', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85919064', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13849146489784520106', 'uuid-lslong': '12757299911993071770'}, 'enable': 'true', 'created': '2026-01-22T21:57:54', 'last-modified': '2026-01-22T21:57:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.760159'} 2026-01-22 21:57:58,151 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-01-22 21:57:58,160 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85919064:ctest-vn-34776648', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85919064', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13849146489784520106', 'uuid-lslong': '12757299911993071770'}, 'enable': 'true', 'created': '2026-01-22T21:57:54', 'last-modified': '2026-01-22T21:57:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.772999'} 2026-01-22 21:57:58,168 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-01-22 21:57:58,175 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85919064:ctest-vn-34776648', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85919064', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13849146489784520106', 'uuid-lslong': '12757299911993071770'}, 'enable': 'true', 'created': '2026-01-22T21:57:54', 'last-modified': '2026-01-22T21:57:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.792340'} 2026-01-22 21:57:58,182 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-01-22 21:57:58,182 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34776648 passed 2026-01-22 21:57:58,182 - DEBUG - ====Verifying policy data for ctest-vn-34776648 in API_Server ====== 2026-01-22 21:57:58,183 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-22 21:57:58,196 - DEBUG - Requesting: http://10.0.0.141:8082/domain/1fc276f0-b6b9-407c-bfe0-a534d969fb5e 2026-01-22 21:57:58,214 - DEBUG - Requesting: http://10.0.0.141:8082/project/004e8379-6ce1-4bf0-a842-daa08b843e2a 2026-01-22 21:57:58,318 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/c0320d5b-45f4-4daa-b10b-08adcb78189a 2026-01-22 21:57:58,342 - DEBUG - ==>Verifying data for policy with id: fe4eeedb-d9ff-4d1d-8562-8a82f7a0e7a6, fqn: ['default-domain', 'ctest-TestBasicPolicy-85919064', 'ctest-policy-allow-all-70684613'] 2026-01-22 21:57:58,342 - INFO - VN ctest-vn-34776648 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-22 21:57:58,342 - DEBUG - Verifying the vn in opserver 2026-01-22 21:57:58,342 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85919064:ctest-vn-34776648 virtual network link through opserver 10.0.0.141 2026-01-22 21:57:58,343 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-01-22 21:57:58,413 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85919064:ctest-vn-34776648', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85919064:ctest-vn-34776648?flat'} 2026-01-22 21:57:58,413 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85919064:ctest-vn-34776648 virtual network link through opserver 10.0.0.242 2026-01-22 21:57:58,413 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-01-22 21:57:58,514 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85919064:ctest-vn-34776648', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85919064:ctest-vn-34776648?flat'} 2026-01-22 21:57:58,514 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85919064:ctest-vn-34776648 virtual network link through opserver 10.0.0.33 2026-01-22 21:57:58,514 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-01-22 21:57:58,586 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85919064:ctest-vn-34776648', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85919064:ctest-vn-34776648?flat'} 2026-01-22 21:57:58,586 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85919064:ctest-vn-34776648 is found in opserver 2026-01-22 21:57:58,612 - DEBUG - Do not have enough data to verify VN in agent 2026-01-22 21:57:58,624 - DEBUG - VRF ids for VN ctest-vn-34776648: {} 2026-01-22 21:57:58,713 - DEBUG - Services list from nova: [, , , ] 2026-01-22 21:57:59,853 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5065-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5065-1) 2026-01-22 21:58:01,670 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5065-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5065-2) 2026-01-22 21:58:01,670 - INFO - Waiting for VM ctest-TestBasicPolicy-85919064-98851419 to be up.. 2026-01-22 21:58:01,817 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-22 21:58:06,921 - DEBUG - VM is in ACTIVE state now 2026-01-22 21:58:06,921 - INFO - VM name : ctest-TestBasicPolicy-85919064-98851419 2026-01-22 21:58:07,039 - DEBUG - VM ctest-TestBasicPolicy-85919064-98851419 ID is 50ae299f-ae14-4e44-8190-135424f75399 2026-01-22 21:58:07,076 - DEBUG - VM ctest-TestBasicPolicy-85919064-98851419 launched on Node an-jenkins-deploy-platform-ansible-os-5065-1 2026-01-22 21:58:07,185 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/50ae299f-ae14-4e44-8190-135424f75399 2026-01-22 21:58:07,483 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/50ae299f-ae14-4e44-8190-135424f75399 2026-01-22 21:58:07,528 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/9545e235-55a3-4d9c-a6e8-b5b9dec57ffe 2026-01-22 21:58:10,763 - 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 1023ms') 2026-01-22 21:58:10,763 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-85919064-98851419 failed! 2026-01-22 21:58:10,790 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-85919064:ctest-vn-26041736 is 153.178.34.129 and allocation pool is NOT set 2026-01-22 21:58:12,855 - 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=5.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.960 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.960/3.036/5.113/2.076 ms') 2026-01-22 21:58:12,855 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-85919064-98851419 passed 2026-01-22 21:58:12,972 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 21:58:12,973 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85919064-98851419, IP 153.178.34.131, Port 22 2026-01-22 21:58:13,131 - DEBUG - VM ctest-TestBasicPolicy-85919064-98851419 is ready for SSH connections 2026-01-22 21:58:13,131 - INFO - Waiting for VM ctest-TestBasicPolicy-85919064-77368625 to be up.. 2026-01-22 21:58:13,226 - DEBUG - VM is in ACTIVE state now 2026-01-22 21:58:13,226 - INFO - VM name : ctest-TestBasicPolicy-85919064-77368625 2026-01-22 21:58:13,320 - DEBUG - VM ctest-TestBasicPolicy-85919064-77368625 ID is 1f548562-51cf-444e-a7cf-c1739b415cf8 2026-01-22 21:58:13,320 - DEBUG - VM ctest-TestBasicPolicy-85919064-77368625 launched on Node an-jenkins-deploy-platform-ansible-os-5065-2 2026-01-22 21:58:13,421 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/1f548562-51cf-444e-a7cf-c1739b415cf8 2026-01-22 21:58:13,433 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/91faaffa-1425-45ba-885b-9b8c4d797581 2026-01-22 21:58:14,644 - 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.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.614 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.614/2.190/3.766/1.576 ms') 2026-01-22 21:58:14,645 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-85919064-77368625 passed 2026-01-22 21:58:14,764 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 21:58:14,764 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85919064-77368625, IP 72.97.241.195, Port 22 2026-01-22 21:58:14,925 - DEBUG - VM ctest-TestBasicPolicy-85919064-77368625 is ready for SSH connections 2026-01-22 21:58:14,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 21:58:14,925 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.97.241.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-22 21:58:14,925 - DEBUG - ping -s 56 -c 3 -W 1 72.97.241.195 2026-01-22 21:58:18,852 - DEBUG - PING 72.97.241.195 (72.97.241.195): 56 data bytes 64 bytes from 72.97.241.195: seq=0 ttl=63 time=9.922 ms 64 bytes from 72.97.241.195: seq=1 ttl=63 time=1.138 ms 64 bytes from 72.97.241.195: seq=2 ttl=63 time=1.543 ms --- 72.97.241.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.138/4.201/9.922 ms 2026-01-22 21:58:18,853 - INFO - Ping to IP 72.97.241.195 from VM ctest-TestBasicPolicy-85919064-98851419 passed 2026-01-22 21:58:19,090 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fe4eeedb-d9ff-4d1d-8562-8a82f7a0e7a6", "href": "http://10.0.0.33:8082/network-policy/fe4eeedb-d9ff-4d1d-8562-8a82f7a0e7a6"}} 2026-01-22 21:58:19,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 21:58:19,091 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.97.241.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-22 21:58:19,091 - DEBUG - ping -s 56 -c 3 -W 1 72.97.241.195 2026-01-22 21:58:22,293 - DEBUG - PING 72.97.241.195 (72.97.241.195): 56 data bytes --- 72.97.241.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-22 21:58:22,293 - WARNING - Ping to IP 72.97.241.195 from VM ctest-TestBasicPolicy-85919064-98851419 failed 2026-01-22 21:58:22,293 - INFO - Deleting VM ctest-TestBasicPolicy-85919064-77368625 2026-01-22 21:58:22,386 - INFO - Deleting VM ctest-TestBasicPolicy-85919064-98851419 2026-01-22 21:58:22,978 - INFO - Deleted policy ctest-policy-allow-all-70684613 2026-01-22 21:58:22,978 - INFO - Deleting VN ctest-vn-34776648 2026-01-22 21:58:23,044 - DEBUG - VN c0320d5b-45f4-4daa-b10b-08adcb78189a still in use: Unable to complete operation on network c0320d5b-45f4-4daa-b10b-08adcb78189a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9981e7ec-08a8-443f-98b2-bdab1db19c26'] 2026-01-22 21:58:23,044 - WARNING - Deleting VN ctest-vn-34776648 failed..Will retry 2026-01-22 21:58:25,335 - DEBUG - Response for deleting network () 2026-01-22 21:58:25,335 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/7ca74bec-164b-4fa7-a919-9a9691170979 2026-01-22 21:58:25,344 - DEBUG - Response Code: 404 2026-01-22 21:58:25,344 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-22 21:58:25,352 - DEBUG - Requesting: http://10.0.0.141:8082/domain/1fc276f0-b6b9-407c-bfe0-a534d969fb5e 2026-01-22 21:58:25,365 - DEBUG - Requesting: http://10.0.0.141:8082/project/004e8379-6ce1-4bf0-a842-daa08b843e2a 2026-01-22 21:58:25,471 - INFO - Validated that VN ctest-vn-34776648 is not found in API Server 2026-01-22 21:58:25,485 - DEBUG - VN ctest-vn-34776648 is not present in Agent 10.0.0.249 2026-01-22 21:58:25,496 - DEBUG - VN ctest-vn-34776648 is not present in Agent 10.0.0.19 2026-01-22 21:58:25,496 - INFO - Validated that VN ctest-vn-34776648 is not in any agent 2026-01-22 21:58:25,531 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34776648 info 2026-01-22 21:58:25,531 - INFO - Deleting VN ctest-vn-26041736 2026-01-22 21:58:25,721 - DEBUG - Response for deleting network () 2026-01-22 21:58:25,721 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6cc95e9c-fdfa-4223-94a6-bb346599035f 2026-01-22 21:58:25,728 - DEBUG - Response Code: 404 2026-01-22 21:58:25,728 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-22 21:58:25,734 - DEBUG - Requesting: http://10.0.0.141:8082/domain/1fc276f0-b6b9-407c-bfe0-a534d969fb5e 2026-01-22 21:58:25,900 - DEBUG - Requesting: http://10.0.0.141:8082/project/004e8379-6ce1-4bf0-a842-daa08b843e2a 2026-01-22 21:58:26,022 - INFO - Validated that VN ctest-vn-26041736 is not found in API Server 2026-01-22 21:58:26,037 - DEBUG - VN ctest-vn-26041736 is not present in Agent 10.0.0.249 2026-01-22 21:58:26,048 - DEBUG - VN ctest-vn-26041736 is not present in Agent 10.0.0.19 2026-01-22 21:58:26,048 - INFO - Validated that VN ctest-vn-26041736 is not in any agent 2026-01-22 21:58:26,082 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-26041736 info 2026-01-22 21:58:27,354 - DEBUG - No XMPP flaps were noticed during the test 2026-01-22 21:58:27,354 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2026-01-22 21:58:27,355 - INFO - -------------------------------------------------------------------------------- 2026-01-22 21:58:28,138 - INFO - Deleted project: ctest-TestBasicPolicy-85919064, ID : 004e8379-6ce1-4bf0-a842-daa08b843e2a