2025-05-06 11:40:16,956 - INFO - Domain Default found not creating 2025-05-06 11:40:17,080 - INFO - Project ctest-TestBasicVMVNx-54812068 not found, creating it 2025-05-06 11:40:17,504 - INFO - Created Project:ctest-TestBasicVMVNx-54812068, ID : fe958c3c-18ea-4df7-9c80-06b8f9be710d 2025-05-06 11:40:18,854 - INFO - ================================================================================ 2025-05-06 11:40:18,854 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-05-06 11:40:18,854 - INFO - TEST DESCRIPTION : Description: Test to validate File Transfer using scp between VMs. Files of different sizes. Test steps: 1. Creating vm's - vm1 and vm2 and a Vn - vn222 2. Transfer file from vm1 to vm2 with diferrent file sizes using scp 3. file sizes - 64,1202,2210,10000 4. verify files present in vm2 match with the size of the file sent. Pass criteria: File in vm2 should match with the transferred file size from vm1 Maintainer : ganeshahv@juniper.net 2025-05-06 11:40:19,108 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-05-06 11:40:19,108 - INFO - Initial checks done. Running the testcase now 2025-05-06 11:40:19,108 - INFO - 2025-05-06 11:40:19,629 - DEBUG - Response for create_network : {'network': {'id': 'd123d333-42c5-40b3-a1ce-218f171b3d3c', 'name': 'ctest-vn-97711849', 'tenant_id': 'fe958c3c18ea4df79c8006b8f9be710d', 'project_id': 'fe958c3c18ea4df79c8006b8f9be710d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-54812068', 'ctest-vn-97711849'], 'port_security_enabled': True, 'description': ''}} 2025-05-06 11:40:19,848 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff6ed0e1-973e-4dad-9195-523e6177ec17', 'name': '', 'tenant_id': 'fe958c3c18ea4df79c8006b8f9be710d', 'network_id': 'd123d333-42c5-40b3-a1ce-218f171b3d3c', 'ip_version': 4, 'cidr': '147.56.55.128/26', 'allocation_pools': [{'start': '147.56.55.130', 'end': '147.56.55.190'}], 'gateway_ip': '147.56.55.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.56.55.130', 'tags': [], 'project_id': 'fe958c3c18ea4df79c8006b8f9be710d'}} 2025-05-06 11:40:19,863 - INFO - Created VN ctest-vn-97711849 2025-05-06 11:40:19,915 - DEBUG - VN ctest-vn-97711849 UUID is d123d333-42c5-40b3-a1ce-218f171b3d3c 2025-05-06 11:40:20,108 - DEBUG - Services list from nova: [, , ] 2025-05-06 11:40:21,055 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3277-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3277-1) 2025-05-06 11:40:22,142 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3277-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3277-1) 2025-05-06 11:40:22,142 - INFO - Waiting for VM ctest-TestBasicVMVNx-54812068-97809011 to be up.. 2025-05-06 11:40:22,217 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-06 11:40:27,289 - DEBUG - VM is in ACTIVE state now 2025-05-06 11:40:27,289 - INFO - VM name : ctest-TestBasicVMVNx-54812068-97809011 2025-05-06 11:40:27,355 - DEBUG - VM ctest-TestBasicVMVNx-54812068-97809011 ID is b6be847e-aa38-4232-a870-59f30b5df3c8 2025-05-06 11:40:27,373 - DEBUG - VM ctest-TestBasicVMVNx-54812068-97809011 launched on Node cn-jenkins-deploy-platform-ansible-os-3277-1 2025-05-06 11:40:27,437 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b6be847e-aa38-4232-a870-59f30b5df3c8 2025-05-06 11:40:27,725 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b6be847e-aa38-4232-a870-59f30b5df3c8 2025-05-06 11:40:27,754 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/dc4b8b8f-7f9e-41dd-bff1-ead3ede3bc44 2025-05-06 11:40:30,997 - 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 1016ms') 2025-05-06 11:40:30,997 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-54812068-97809011 failed! 2025-05-06 11:40:31,051 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-54812068:ctest-vn-97711849 is 147.56.55.129 and allocation pool is NOT set 2025-05-06 11:40:33,114 - 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.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.264 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.264/1.814/3.365/1.550 ms') 2025-05-06 11:40:33,114 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-54812068-97809011 passed 2025-05-06 11:40:33,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 11:40:33,263 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-54812068-97809011, IP 147.56.55.131, Port 22 2025-05-06 11:40:33,422 - DEBUG - VM ctest-TestBasicVMVNx-54812068-97809011 is ready for SSH connections 2025-05-06 11:40:33,422 - INFO - Waiting for VM ctest-TestBasicVMVNx-54812068-62466130 to be up.. 2025-05-06 11:40:33,488 - DEBUG - VM is in ACTIVE state now 2025-05-06 11:40:33,489 - INFO - VM name : ctest-TestBasicVMVNx-54812068-62466130 2025-05-06 11:40:33,551 - DEBUG - VM ctest-TestBasicVMVNx-54812068-62466130 ID is e857bf12-1746-4788-a680-f5127974bcda 2025-05-06 11:40:33,551 - DEBUG - VM ctest-TestBasicVMVNx-54812068-62466130 launched on Node cn-jenkins-deploy-platform-ansible-os-3277-1 2025-05-06 11:40:33,617 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e857bf12-1746-4788-a680-f5127974bcda 2025-05-06 11:40:33,625 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/45e095fd-8c33-443f-a61b-d250d2613ca5 2025-05-06 11:40:34,854 - 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=2.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.409 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.409/1.537/2.666/1.128 ms') 2025-05-06 11:40:34,854 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-54812068-62466130 passed 2025-05-06 11:40:35,003 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 11:40:35,003 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-54812068-62466130, IP 147.56.55.132, Port 22 2025-05-06 11:40:35,158 - DEBUG - VM ctest-TestBasicVMVNx-54812068-62466130 is ready for SSH connections 2025-05-06 11:40:35,158 - DEBUG - FILE SIZE = 1303B 2025-05-06 11:40:35,158 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-54812068-97809011 to ctest-TestBasicVMVNx-54812068-62466130 using scp 2025-05-06 11:40:35,159 - DEBUG - Running remote_cmd, Cmd : dd bs=1303 count=1 if=/dev/zero of=testfile, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-05-06 11:40:35,159 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-05-06 11:40:37,004 - DEBUG - 1+0 records in 1+0 records out 2025-05-06 11:40:37,598 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 11:40:37,917 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-05-06 11:40:37,918 - DEBUG - ls -l testfile 2025-05-06 11:40:39,492 - DEBUG - -rw------- 1 cirros cirros 1303 May 6 05:40 testfile 2025-05-06 11:40:39,492 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-54812068-62466130 2025-05-06 11:40:39,493 - INFO - Deleting VM ctest-TestBasicVMVNx-54812068-62466130 2025-05-06 11:40:39,551 - INFO - Deleting VM ctest-TestBasicVMVNx-54812068-97809011 2025-05-06 11:40:39,613 - INFO - Deleting VN ctest-vn-97711849 2025-05-06 11:40:39,651 - DEBUG - VN d123d333-42c5-40b3-a1ce-218f171b3d3c still in use: Unable to complete operation on network d123d333-42c5-40b3-a1ce-218f171b3d3c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f18cd1cd-6b50-439e-bd81-21eef3986ea4'] 2025-05-06 11:40:39,651 - WARNING - Deleting VN ctest-vn-97711849 failed..Will retry 2025-05-06 11:40:41,759 - DEBUG - Response for deleting network () 2025-05-06 11:40:42,012 - DEBUG - No XMPP flaps were noticed during the test 2025-05-06 11:40:42,012 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-05-06 11:40:42,013 - INFO - -------------------------------------------------------------------------------- 2025-05-06 11:40:42,681 - INFO - Deleted project: ctest-TestBasicVMVNx-54812068, ID : fe958c3c-18ea-4df7-9c80-06b8f9be710d