2025-04-26 12:53:49,837 - INFO - Domain Default found not creating 2025-04-26 12:53:49,969 - INFO - Project ctest-TestBasicVMVNx-85690586 not found, creating it 2025-04-26 12:53:50,413 - INFO - Created Project:ctest-TestBasicVMVNx-85690586, ID : 31107a63-27fb-4865-be1a-3d9be4d95f74 2025-04-26 12:53:51,923 - INFO - ================================================================================ 2025-04-26 12:53:51,923 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-26 12:53:51,923 - 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-04-26 12:53:52,177 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-04-26 12:53:52,177 - INFO - Initial checks done. Running the testcase now 2025-04-26 12:53:52,177 - INFO - 2025-04-26 12:53:52,753 - DEBUG - Response for create_network : {'network': {'id': 'b60303b5-caf2-45ef-ba47-4a3e34aa2263', 'name': 'ctest-vn-78745655', 'tenant_id': '31107a6327fb4865be1a3d9be4d95f74', 'project_id': '31107a6327fb4865be1a3d9be4d95f74', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-85690586', 'ctest-vn-78745655'], 'port_security_enabled': True, 'description': ''}} 2025-04-26 12:53:52,965 - DEBUG - Response for create_subnet : {'subnet': {'id': '641211db-d74e-4837-a1a1-176dea1b1f97', 'name': '', 'tenant_id': '31107a6327fb4865be1a3d9be4d95f74', 'network_id': 'b60303b5-caf2-45ef-ba47-4a3e34aa2263', 'ip_version': 4, 'cidr': '45.2.65.192/26', 'allocation_pools': [{'start': '45.2.65.194', 'end': '45.2.65.254'}], 'gateway_ip': '45.2.65.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.2.65.194', 'tags': [], 'project_id': '31107a6327fb4865be1a3d9be4d95f74'}} 2025-04-26 12:53:52,983 - INFO - Created VN ctest-vn-78745655 2025-04-26 12:53:53,040 - DEBUG - VN ctest-vn-78745655 UUID is b60303b5-caf2-45ef-ba47-4a3e34aa2263 2025-04-26 12:53:53,244 - DEBUG - Services list from nova: [, , ] 2025-04-26 12:53:54,300 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3221-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3221-1) 2025-04-26 12:53:55,517 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3221-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3221-1) 2025-04-26 12:53:55,517 - INFO - Waiting for VM ctest-TestBasicVMVNx-85690586-69852717 to be up.. 2025-04-26 12:53:55,593 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-26 12:54:00,681 - DEBUG - VM is in ACTIVE state now 2025-04-26 12:54:00,681 - INFO - VM name : ctest-TestBasicVMVNx-85690586-69852717 2025-04-26 12:54:00,767 - DEBUG - VM ctest-TestBasicVMVNx-85690586-69852717 ID is fd86d937-f101-4c63-8426-8bc43af95521 2025-04-26 12:54:00,791 - DEBUG - VM ctest-TestBasicVMVNx-85690586-69852717 launched on Node cn-jenkins-deploy-platform-ansible-os-3221-1 2025-04-26 12:54:00,867 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/fd86d937-f101-4c63-8426-8bc43af95521 2025-04-26 12:54:01,201 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/fd86d937-f101-4c63-8426-8bc43af95521 2025-04-26 12:54:01,233 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1e4d3cb5-a2a1-4e82-8280-5ac3a4f2ab85 2025-04-26 12:54:04,483 - 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 1002ms') 2025-04-26 12:54:04,483 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-85690586-69852717 failed! 2025-04-26 12:54:04,543 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-85690586:ctest-vn-78745655 is 45.2.65.193 and allocation pool is NOT set 2025-04-26 12:54:06,605 - 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.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.611 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 = 0.611/2.255/3.900/1.644 ms') 2025-04-26 12:54:06,605 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-85690586-69852717 passed 2025-04-26 12:54:06,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 12:54:06,776 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-85690586-69852717, IP 45.2.65.195, Port 22 2025-04-26 12:54:06,940 - DEBUG - VM ctest-TestBasicVMVNx-85690586-69852717 is ready for SSH connections 2025-04-26 12:54:06,940 - INFO - Waiting for VM ctest-TestBasicVMVNx-85690586-03179931 to be up.. 2025-04-26 12:54:07,022 - DEBUG - VM is in ACTIVE state now 2025-04-26 12:54:07,022 - INFO - VM name : ctest-TestBasicVMVNx-85690586-03179931 2025-04-26 12:54:07,101 - DEBUG - VM ctest-TestBasicVMVNx-85690586-03179931 ID is b1de87db-4ab3-4f96-90f3-d5487ac1c9b7 2025-04-26 12:54:07,102 - DEBUG - VM ctest-TestBasicVMVNx-85690586-03179931 launched on Node cn-jenkins-deploy-platform-ansible-os-3221-1 2025-04-26 12:54:07,191 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b1de87db-4ab3-4f96-90f3-d5487ac1c9b7 2025-04-26 12:54:07,204 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ace22757-9c63-4ef0-ac40-f43391289200 2025-04-26 12:54:08,462 - 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=5.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.16 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 = 2.157/3.579/5.002/1.422 ms') 2025-04-26 12:54:08,463 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-85690586-03179931 passed 2025-04-26 12:54:08,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 12:54:08,623 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-85690586-03179931, IP 45.2.65.196, Port 22 2025-04-26 12:54:08,798 - DEBUG - VM ctest-TestBasicVMVNx-85690586-03179931 is ready for SSH connections 2025-04-26 12:54:08,798 - DEBUG - FILE SIZE = 1303B 2025-04-26 12:54:08,798 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-85690586-69852717 to ctest-TestBasicVMVNx-85690586-03179931 using scp 2025-04-26 12:54:08,799 - 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.254, gateway password: c0ntrail123 2025-04-26 12:54:08,799 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-26 12:54:10,739 - DEBUG - 1+0 records in 1+0 records out 2025-04-26 12:54:11,390 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 12:54:11,721 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-26 12:54:11,721 - DEBUG - ls -l testfile 2025-04-26 12:54:13,308 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 26 06:54 testfile 2025-04-26 12:54:13,308 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-85690586-03179931 2025-04-26 12:54:13,308 - INFO - Deleting VM ctest-TestBasicVMVNx-85690586-03179931 2025-04-26 12:54:13,372 - INFO - Deleting VM ctest-TestBasicVMVNx-85690586-69852717 2025-04-26 12:54:13,441 - INFO - Deleting VN ctest-vn-78745655 2025-04-26 12:54:13,480 - DEBUG - VN b60303b5-caf2-45ef-ba47-4a3e34aa2263 still in use: Unable to complete operation on network b60303b5-caf2-45ef-ba47-4a3e34aa2263. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6cebdec6-8733-41b9-8acd-26b914794d29'] 2025-04-26 12:54:13,480 - WARNING - Deleting VN ctest-vn-78745655 failed..Will retry 2025-04-26 12:54:15,594 - DEBUG - Response for deleting network () 2025-04-26 12:54:15,850 - DEBUG - No XMPP flaps were noticed during the test
2025-04-26 12:54:15,850 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-04-26 12:54:15,850 - INFO - -------------------------------------------------------------------------------- 2025-04-26 12:54:16,780 - INFO - Deleted project: ctest-TestBasicVMVNx-85690586, ID : 31107a63-27fb-4865-be1a-3d9be4d95f74