2025-11-13 10:49:31,034 - INFO - Domain Default found not creating 2025-11-13 10:49:31,189 - INFO - Project ctest-TestBasicPolicy-49121634 not found, creating it 2025-11-13 10:49:31,715 - INFO - Created Project:ctest-TestBasicPolicy-49121634, ID : 1f2b1631-7cba-4e0b-9c65-5544fff6964d 2025-11-13 10:49:33,259 - INFO - ================================================================================ 2025-11-13 10:49:33,259 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-13 10:49:33,259 - 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 2025-11-13 10:49:33,513 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-11-13 10:49:33,513 - INFO - Initial checks done. Running the testcase now 2025-11-13 10:49:33,514 - INFO - 2025-11-13 10:49:34,093 - DEBUG - Response for create_network : {'network': {'id': '1aa2646e-aa38-421c-b02e-a70204be51a8', 'name': 'ctest-vn-60915960', 'tenant_id': '1f2b16317cba4e0b9c655544fff6964d', 'project_id': '1f2b16317cba4e0b9c655544fff6964d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49121634', 'ctest-vn-60915960'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 10:49:34,294 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c6b3d996-2042-43f3-a30b-4af76fe1b9af', 'name': '', 'tenant_id': '1f2b16317cba4e0b9c655544fff6964d', 'network_id': '1aa2646e-aa38-421c-b02e-a70204be51a8', 'ip_version': 4, 'cidr': '94.198.183.64/26', 'allocation_pools': [{'start': '94.198.183.66', 'end': '94.198.183.126'}], 'gateway_ip': '94.198.183.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.198.183.66', 'tags': [], 'project_id': '1f2b16317cba4e0b9c655544fff6964d'}} 2025-11-13 10:49:34,309 - INFO - Created VN ctest-vn-60915960 2025-11-13 10:49:34,360 - DEBUG - VN ctest-vn-60915960 UUID is 1aa2646e-aa38-421c-b02e-a70204be51a8 2025-11-13 10:49:34,695 - DEBUG - Response for create_network : {'network': {'id': 'f012e942-729f-41ae-bafc-002d45c7a1cf', 'name': 'ctest-vn-98236320', 'tenant_id': '1f2b16317cba4e0b9c655544fff6964d', 'project_id': '1f2b16317cba4e0b9c655544fff6964d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49121634', 'ctest-vn-98236320'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 10:49:34,896 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f22427d8-9311-4d65-bcf4-b6739d93e9b7', 'name': '', 'tenant_id': '1f2b16317cba4e0b9c655544fff6964d', 'network_id': 'f012e942-729f-41ae-bafc-002d45c7a1cf', 'ip_version': 4, 'cidr': '162.181.220.0/26', 'allocation_pools': [{'start': '162.181.220.2', 'end': '162.181.220.62'}], 'gateway_ip': '162.181.220.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.181.220.2', 'tags': [], 'project_id': '1f2b16317cba4e0b9c655544fff6964d'}} 2025-11-13 10:49:34,912 - INFO - Created VN ctest-vn-98236320 2025-11-13 10:49:34,964 - DEBUG - VN ctest-vn-98236320 UUID is f012e942-729f-41ae-bafc-002d45c7a1cf 2025-11-13 10:49:35,112 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-49121634:ctest-vn-60915960, 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-49121634:ctest-vn-98236320, 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] 2025-11-13 10:49:35,414 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1aa2646e-aa38-421c-b02e-a70204be51a8', 'name': 'ctest-vn-60915960', 'tenant_id': '1f2b16317cba4e0b9c655544fff6964d', 'project_id': '1f2b16317cba4e0b9c655544fff6964d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c6b3d996-2042-43f3-a30b-4af76fe1b9af'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49121634', 'ctest-vn-60915960'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49121634', 'ctest-policy-allow-all-95875573']], 'subnet_ipam': [{'subnet_cidr': '94.198.183.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-13 10:49:35,642 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f012e942-729f-41ae-bafc-002d45c7a1cf', 'name': 'ctest-vn-98236320', 'tenant_id': '1f2b16317cba4e0b9c655544fff6964d', 'project_id': '1f2b16317cba4e0b9c655544fff6964d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f22427d8-9311-4d65-bcf4-b6739d93e9b7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49121634', 'ctest-vn-98236320'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49121634', 'ctest-policy-allow-all-95875573']], 'subnet_ipam': [{'subnet_cidr': '162.181.220.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-13 10:49:35,808 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-13 10:49:36,131 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-13 10:49:36,160 - DEBUG - Requesting: http://10.0.0.38:8082/domain/80bf899c-de7c-4e12-b8f2-75a0f18115f3 2025-11-13 10:49:36,172 - DEBUG - Requesting: http://10.0.0.38:8082/project/1f2b1631-7cba-4e0b-9c65-5544fff6964d 2025-11-13 10:49:36,246 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1aa2646e-aa38-421c-b02e-a70204be51a8 2025-11-13 10:49:36,256 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1aa2646e-aa38-421c-b02e-a70204be51a8 2025-11-13 10:49:36,265 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6c91f108-6a4c-4e5f-a06e-9fea68ce0479 2025-11-13 10:49:36,276 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6c91f108-6a4c-4e5f-a06e-9fea68ce0479 2025-11-13 10:49:36,283 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/25a14e91-a8e0-4a43-ba27-9a9d6e27148b 2025-11-13 10:49:36,292 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-13 10:49:36,292 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1aa2646e-aa38-421c-b02e-a70204be51a8 2025-11-13 10:49:36,303 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6c91f108-6a4c-4e5f-a06e-9fea68ce0479 2025-11-13 10:49:36,318 - INFO - Verified VN network id 11 for VN 1aa2646e-aa38-421c-b02e-a70204be51a8 2025-11-13 10:49:36,318 - INFO - Verifications in API Server for VN ctest-vn-60915960 passed 2025-11-13 10:49:36,318 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1aa2646e-aa38-421c-b02e-a70204be51a8 2025-11-13 10:49:36,327 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6c91f108-6a4c-4e5f-a06e-9fea68ce0479 2025-11-13 10:49:36,334 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6c91f108-6a4c-4e5f-a06e-9fea68ce0479 2025-11-13 10:49:36,342 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/25a14e91-a8e0-4a43-ba27-9a9d6e27148b 2025-11-13 10:49:36,354 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49121634:ctest-vn-60915960', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49121634', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1919206817678246428', 'uuid-lslong': '12695268026715361704'}, 'enable': 'true', 'created': '2025-11-13T10:49:34', 'last-modified': '2025-11-13T10:49:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.960130'} 2025-11-13 10:49:36,360 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-13 10:49:36,360 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60915960 passed 2025-11-13 10:49:36,360 - DEBUG - ====Verifying policy data for ctest-vn-60915960 in API_Server ====== 2025-11-13 10:49:36,360 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-13 10:49:36,366 - DEBUG - Requesting: http://10.0.0.38:8082/domain/80bf899c-de7c-4e12-b8f2-75a0f18115f3 2025-11-13 10:49:36,378 - DEBUG - Requesting: http://10.0.0.38:8082/project/1f2b1631-7cba-4e0b-9c65-5544fff6964d 2025-11-13 10:49:36,446 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1aa2646e-aa38-421c-b02e-a70204be51a8 2025-11-13 10:49:36,456 - DEBUG - ==>Verifying data for policy with id: 12c64740-359a-4ea7-a716-c255f31a4a9c, fqn: ['default-domain', 'ctest-TestBasicPolicy-49121634', 'ctest-policy-allow-all-95875573'] 2025-11-13 10:49:36,456 - INFO - VN ctest-vn-60915960 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-13 10:49:36,456 - DEBUG - Verifying the vn in opserver 2025-11-13 10:49:36,456 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49121634:ctest-vn-60915960 virtual network link through opserver 10.0.0.38 2025-11-13 10:49:36,456 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-13 10:49:36,774 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-13 10:49:36,833 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49121634:ctest-vn-60915960', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49121634:ctest-vn-60915960?flat'} 2025-11-13 10:49:36,833 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49121634:ctest-vn-60915960 is found in opserver 2025-11-13 10:49:36,843 - DEBUG - Do not have enough data to verify VN in agent 2025-11-13 10:49:36,848 - DEBUG - VRF ids for VN ctest-vn-60915960: {} 2025-11-13 10:49:36,848 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-13 10:49:36,855 - DEBUG - Requesting: http://10.0.0.38:8082/domain/80bf899c-de7c-4e12-b8f2-75a0f18115f3 2025-11-13 10:49:36,866 - DEBUG - Requesting: http://10.0.0.38:8082/project/1f2b1631-7cba-4e0b-9c65-5544fff6964d 2025-11-13 10:49:36,948 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f012e942-729f-41ae-bafc-002d45c7a1cf 2025-11-13 10:49:36,960 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f012e942-729f-41ae-bafc-002d45c7a1cf 2025-11-13 10:49:36,973 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7b351994-613e-464d-b9a2-dfdef439dc54 2025-11-13 10:49:36,983 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7b351994-613e-464d-b9a2-dfdef439dc54 2025-11-13 10:49:36,992 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3c60e6d5-696a-4a52-8aa7-f5534db01bd9 2025-11-13 10:49:37,000 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-13 10:49:37,000 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f012e942-729f-41ae-bafc-002d45c7a1cf 2025-11-13 10:49:37,011 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7b351994-613e-464d-b9a2-dfdef439dc54 2025-11-13 10:49:37,026 - INFO - Verified VN network id 12 for VN f012e942-729f-41ae-bafc-002d45c7a1cf 2025-11-13 10:49:37,026 - INFO - Verifications in API Server for VN ctest-vn-98236320 passed 2025-11-13 10:49:37,027 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f012e942-729f-41ae-bafc-002d45c7a1cf 2025-11-13 10:49:37,036 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7b351994-613e-464d-b9a2-dfdef439dc54 2025-11-13 10:49:37,044 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7b351994-613e-464d-b9a2-dfdef439dc54 2025-11-13 10:49:37,052 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3c60e6d5-696a-4a52-8aa7-f5534db01bd9 2025-11-13 10:49:37,065 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49121634:ctest-vn-98236320', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49121634', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17299145590283649454', 'uuid-lslong': '13473644379629920719'}, 'enable': 'true', 'created': '2025-11-13T10:49:34', 'last-modified': '2025-11-13T10:49:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.446144'} 2025-11-13 10:49:37,071 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-13 10:49:37,071 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-98236320 passed 2025-11-13 10:49:37,071 - DEBUG - ====Verifying policy data for ctest-vn-98236320 in API_Server ====== 2025-11-13 10:49:37,071 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-13 10:49:37,077 - DEBUG - Requesting: http://10.0.0.38:8082/domain/80bf899c-de7c-4e12-b8f2-75a0f18115f3 2025-11-13 10:49:37,088 - DEBUG - Requesting: http://10.0.0.38:8082/project/1f2b1631-7cba-4e0b-9c65-5544fff6964d 2025-11-13 10:49:37,157 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f012e942-729f-41ae-bafc-002d45c7a1cf 2025-11-13 10:49:37,167 - DEBUG - ==>Verifying data for policy with id: 12c64740-359a-4ea7-a716-c255f31a4a9c, fqn: ['default-domain', 'ctest-TestBasicPolicy-49121634', 'ctest-policy-allow-all-95875573'] 2025-11-13 10:49:37,167 - INFO - VN ctest-vn-98236320 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-13 10:49:37,168 - DEBUG - Verifying the vn in opserver 2025-11-13 10:49:37,168 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49121634:ctest-vn-98236320 virtual network link through opserver 10.0.0.38 2025-11-13 10:49:37,168 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-13 10:49:37,178 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49121634:ctest-vn-98236320', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49121634:ctest-vn-98236320?flat'} 2025-11-13 10:49:37,178 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49121634:ctest-vn-98236320 is found in opserver 2025-11-13 10:49:37,188 - DEBUG - Do not have enough data to verify VN in agent 2025-11-13 10:49:37,193 - DEBUG - VRF ids for VN ctest-vn-98236320: {} 2025-11-13 10:49:37,254 - DEBUG - Services list from nova: [, , ] 2025-11-13 10:49:38,308 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4718-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4718-1) 2025-11-13 10:49:39,474 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4718-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4718-1) 2025-11-13 10:49:39,474 - INFO - Waiting for VM ctest-TestBasicPolicy-49121634-25120333 to be up.. 2025-11-13 10:49:39,548 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 10:49:44,623 - DEBUG - VM is in ACTIVE state now 2025-11-13 10:49:44,623 - INFO - VM name : ctest-TestBasicPolicy-49121634-25120333 2025-11-13 10:49:44,694 - DEBUG - VM ctest-TestBasicPolicy-49121634-25120333 ID is cc6cfd51-1ba4-4f9c-8062-91dd6024f94a 2025-11-13 10:49:44,714 - DEBUG - VM ctest-TestBasicPolicy-49121634-25120333 launched on Node cn-jenkins-deploy-platform-ansible-os-4718-1 2025-11-13 10:49:44,785 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cc6cfd51-1ba4-4f9c-8062-91dd6024f94a 2025-11-13 10:49:44,794 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/98a7428f-da9d-4517-8657-37ce8aacb550 2025-11-13 10:49:48,040 - 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=8.66 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 8.664/8.664/8.664/0.000 ms') 2025-11-13 10:49:48,040 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49121634-25120333 passed 2025-11-13 10:49:48,192 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 10:49:48,192 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49121634-25120333, IP 94.198.183.67, Port 22 2025-11-13 10:49:48,348 - DEBUG - VM ctest-TestBasicPolicy-49121634-25120333 is ready for SSH connections 2025-11-13 10:49:48,348 - INFO - Waiting for VM ctest-TestBasicPolicy-49121634-34085090 to be up.. 2025-11-13 10:49:48,423 - DEBUG - VM is in ACTIVE state now 2025-11-13 10:49:48,423 - INFO - VM name : ctest-TestBasicPolicy-49121634-34085090 2025-11-13 10:49:48,500 - DEBUG - VM ctest-TestBasicPolicy-49121634-34085090 ID is d74e8398-4c38-45eb-bbbc-7630bc0fad9c 2025-11-13 10:49:48,501 - DEBUG - VM ctest-TestBasicPolicy-49121634-34085090 launched on Node cn-jenkins-deploy-platform-ansible-os-4718-1 2025-11-13 10:49:48,575 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d74e8398-4c38-45eb-bbbc-7630bc0fad9c 2025-11-13 10:49:48,585 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c01a1094-86be-4074-9619-7011d1c128c3 2025-11-13 10:49:49,818 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.462 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.462/1.874/3.286/1.412 ms') 2025-11-13 10:49:49,819 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-49121634-34085090 passed 2025-11-13 10:49:49,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 10:49:49,976 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49121634-34085090, IP 162.181.220.3, Port 22 2025-11-13 10:49:50,131 - DEBUG - VM ctest-TestBasicPolicy-49121634-34085090 is ready for SSH connections 2025-11-13 10:49:50,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 10:49:50,131 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.181.220.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-13 10:49:50,132 - DEBUG - ping -s 56 -c 3 -W 1 162.181.220.3 2025-11-13 10:49:53,775 - DEBUG - PING 162.181.220.3 (162.181.220.3): 56 data bytes 64 bytes from 162.181.220.3: seq=0 ttl=63 time=4.433 ms 64 bytes from 162.181.220.3: seq=1 ttl=63 time=0.863 ms 64 bytes from 162.181.220.3: seq=2 ttl=63 time=0.892 ms --- 162.181.220.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.863/2.062/4.433 ms 2025-11-13 10:49:53,775 - INFO - Ping to IP 162.181.220.3 from VM ctest-TestBasicPolicy-49121634-25120333 passed 2025-11-13 10:49:53,955 - DEBUG - Policy Update Response {"network-policy": {"uuid": "12c64740-359a-4ea7-a716-c255f31a4a9c", "href": "http://10.0.0.38:8082/network-policy/12c64740-359a-4ea7-a716-c255f31a4a9c"}} 2025-11-13 10:49:53,955 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 10:49:53,956 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.181.220.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-13 10:49:53,956 - DEBUG - ping -s 56 -c 3 -W 1 162.181.220.3 2025-11-13 10:49:57,081 - DEBUG - PING 162.181.220.3 (162.181.220.3): 56 data bytes --- 162.181.220.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-13 10:49:57,081 - WARNING - Ping to IP 162.181.220.3 from VM ctest-TestBasicPolicy-49121634-25120333 failed 2025-11-13 10:49:57,081 - INFO - Deleting VM ctest-TestBasicPolicy-49121634-34085090 2025-11-13 10:49:57,156 - INFO - Deleting VM ctest-TestBasicPolicy-49121634-25120333 2025-11-13 10:49:57,572 - INFO - Deleted policy ctest-policy-allow-all-95875573 2025-11-13 10:49:57,572 - INFO - Deleting VN ctest-vn-98236320 2025-11-13 10:49:57,619 - DEBUG - VN f012e942-729f-41ae-bafc-002d45c7a1cf still in use: Unable to complete operation on network f012e942-729f-41ae-bafc-002d45c7a1cf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-873cb400-382a-4c6b-8134-6b97f9b1900d'] 2025-11-13 10:49:57,619 - WARNING - Deleting VN ctest-vn-98236320 failed..Will retry 2025-11-13 10:49:59,725 - DEBUG - Response for deleting network () 2025-11-13 10:49:59,725 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7b351994-613e-464d-b9a2-dfdef439dc54 2025-11-13 10:49:59,731 - DEBUG - Response Code: 404 2025-11-13 10:49:59,731 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-13 10:49:59,737 - DEBUG - Requesting: http://10.0.0.38:8082/domain/80bf899c-de7c-4e12-b8f2-75a0f18115f3 2025-11-13 10:49:59,796 - DEBUG - Requesting: http://10.0.0.38:8082/project/1f2b1631-7cba-4e0b-9c65-5544fff6964d 2025-11-13 10:49:59,876 - INFO - Validated that VN ctest-vn-98236320 is not found in API Server 2025-11-13 10:49:59,889 - DEBUG - VN ctest-vn-98236320 is not present in Agent 10.0.0.38 2025-11-13 10:49:59,889 - INFO - Validated that VN ctest-vn-98236320 is not in any agent 2025-11-13 10:49:59,904 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-98236320 info 2025-11-13 10:49:59,904 - INFO - Deleting VN ctest-vn-60915960 2025-11-13 10:50:00,033 - DEBUG - Response for deleting network () 2025-11-13 10:50:00,034 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6c91f108-6a4c-4e5f-a06e-9fea68ce0479 2025-11-13 10:50:00,044 - DEBUG - Response Code: 404 2025-11-13 10:50:00,044 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-13 10:50:00,051 - DEBUG - Requesting: http://10.0.0.38:8082/domain/80bf899c-de7c-4e12-b8f2-75a0f18115f3 2025-11-13 10:50:00,105 - DEBUG - Requesting: http://10.0.0.38:8082/project/1f2b1631-7cba-4e0b-9c65-5544fff6964d 2025-11-13 10:50:00,180 - INFO - Validated that VN ctest-vn-60915960 is not found in API Server 2025-11-13 10:50:00,189 - DEBUG - VN ctest-vn-60915960 is not present in Agent 10.0.0.38 2025-11-13 10:50:00,189 - INFO - Validated that VN ctest-vn-60915960 is not in any agent 2025-11-13 10:50:00,207 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60915960 info 2025-11-13 10:50:00,469 - DEBUG - No XMPP flaps were noticed during the test 2025-11-13 10:50:00,469 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:27] 2025-11-13 10:50:00,469 - INFO - -------------------------------------------------------------------------------- 2025-11-13 10:50:01,196 - INFO - Deleted project: ctest-TestBasicPolicy-49121634, ID : 1f2b1631-7cba-4e0b-9c65-5544fff6964d