2025-03-27 02:26:54,380 - INFO - Domain Default found not creating 2025-03-27 02:26:54,544 - INFO - Project ctest-TestBasicVMVNx-09203038 not found, creating it 2025-03-27 02:26:55,014 - INFO - Created Project:ctest-TestBasicVMVNx-09203038, ID : 446bb05c-6dc5-48fb-b678-eac23763d52b 2025-03-27 02:26:56,452 - INFO - ================================================================================ 2025-03-27 02:26:56,453 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-27 02:26:56,453 - 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-03-27 02:26:56,709 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.0.0.27': '0'}} with 2025-03-27 02:26:56,709 - INFO - Initial checks done. Running the testcase now 2025-03-27 02:26:56,709 - INFO - 2025-03-27 02:26:57,263 - DEBUG - Response for create_network : {'network': {'id': '7d5eb656-4f1b-439a-9fd9-a3ef4b61f8b9', 'name': 'ctest-vn-57475733', 'tenant_id': '446bb05c6dc548fbb678eac23763d52b', 'project_id': '446bb05c6dc548fbb678eac23763d52b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-09203038', 'ctest-vn-57475733'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 02:26:57,461 - DEBUG - Response for create_subnet : {'subnet': {'id': '27f266d7-ca9a-4835-96ae-f13f6a0886b0', 'name': '', 'tenant_id': '446bb05c6dc548fbb678eac23763d52b', 'network_id': '7d5eb656-4f1b-439a-9fd9-a3ef4b61f8b9', 'ip_version': 4, 'cidr': '57.249.10.192/26', 'allocation_pools': [{'start': '57.249.10.194', 'end': '57.249.10.254'}], 'gateway_ip': '57.249.10.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.249.10.194', 'tags': [], 'project_id': '446bb05c6dc548fbb678eac23763d52b'}} 2025-03-27 02:26:57,478 - INFO - Created VN ctest-vn-57475733 2025-03-27 02:26:57,531 - DEBUG - VN ctest-vn-57475733 UUID is 7d5eb656-4f1b-439a-9fd9-a3ef4b61f8b9 2025-03-27 02:26:57,695 - DEBUG - Services list from nova: [, , ] 2025-03-27 02:26:58,703 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2964-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2964-1) 2025-03-27 02:26:59,852 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2964-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2964-1) 2025-03-27 02:26:59,852 - INFO - Waiting for VM ctest-TestBasicVMVNx-09203038-45530549 to be up.. 2025-03-27 02:27:00,042 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-27 02:27:05,129 - DEBUG - VM is in ACTIVE state now 2025-03-27 02:27:05,129 - INFO - VM name : ctest-TestBasicVMVNx-09203038-45530549 2025-03-27 02:27:05,205 - DEBUG - VM ctest-TestBasicVMVNx-09203038-45530549 ID is bda1d99e-ce02-4a5d-b312-238723b3997e 2025-03-27 02:27:05,224 - DEBUG - VM ctest-TestBasicVMVNx-09203038-45530549 launched on Node cn-jenkins-deploy-platform-ansible-os-2964-1. 2025-03-27 02:27:05,314 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/bda1d99e-ce02-4a5d-b312-238723b3997e 2025-03-27 02:27:05,618 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/bda1d99e-ce02-4a5d-b312-238723b3997e 2025-03-27 02:27:05,650 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/08d20e30-a72c-449d-b6dc-de7734dc44da 2025-03-27 02:27:08,926 - 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 1018ms') 2025-03-27 02:27:08,926 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-09203038-45530549 failed! 2025-03-27 02:27:08,987 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-09203038:ctest-vn-57475733 is 57.249.10.193 and allocation pool is NOT set 2025-03-27 02:27:11,049 - 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=2.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.435 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.435/1.531/2.628/1.096 ms') 2025-03-27 02:27:11,050 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-09203038-45530549 passed 2025-03-27 02:27:11,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 02:27:11,203 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-09203038-45530549, IP 57.249.10.195, Port 22 2025-03-27 02:27:11,359 - DEBUG - VM ctest-TestBasicVMVNx-09203038-45530549 is ready for SSH connections 2025-03-27 02:27:11,359 - INFO - Waiting for VM ctest-TestBasicVMVNx-09203038-93989475 to be up.. 2025-03-27 02:27:11,442 - DEBUG - VM is in ACTIVE state now 2025-03-27 02:27:11,442 - INFO - VM name : ctest-TestBasicVMVNx-09203038-93989475 2025-03-27 02:27:11,521 - DEBUG - VM ctest-TestBasicVMVNx-09203038-93989475 ID is fba6c16b-4cb8-4c36-b6c6-1fd3f376bb0a 2025-03-27 02:27:11,522 - DEBUG - VM ctest-TestBasicVMVNx-09203038-93989475 launched on Node cn-jenkins-deploy-platform-ansible-os-2964-1. 2025-03-27 02:27:11,614 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/fba6c16b-4cb8-4c36-b6c6-1fd3f376bb0a 2025-03-27 02:27:11,625 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/65fad19c-defa-4244-8634-86107088d9ff 2025-03-27 02:27:12,870 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.453 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.453/1.538/2.623/1.085 ms') 2025-03-27 02:27:12,870 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-09203038-93989475 passed 2025-03-27 02:27:13,023 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 02:27:13,023 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-09203038-93989475, IP 57.249.10.196, Port 22 2025-03-27 02:27:13,182 - DEBUG - VM ctest-TestBasicVMVNx-09203038-93989475 is ready for SSH connections 2025-03-27 02:27:13,183 - DEBUG - FILE SIZE = 1303B 2025-03-27 02:27:13,183 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-09203038-45530549 to ctest-TestBasicVMVNx-09203038-93989475 using scp 2025-03-27 02:27:13,184 - 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.27, gateway password: c0ntrail123 2025-03-27 02:27:13,184 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-27 02:27:15,077 - DEBUG - 1+0 records in 1+0 records out 2025-03-27 02:27:15,692 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 02:27:16,034 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-03-27 02:27:16,034 - DEBUG - ls -l testfile 2025-03-27 02:27:17,630 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 26 20:27 testfile 2025-03-27 02:27:17,630 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-09203038-93989475 2025-03-27 02:27:17,631 - INFO - Deleting VM ctest-TestBasicVMVNx-09203038-93989475 2025-03-27 02:27:17,710 - INFO - Deleting VM ctest-TestBasicVMVNx-09203038-45530549 2025-03-27 02:27:17,801 - INFO - Deleting VN ctest-vn-57475733 2025-03-27 02:27:17,846 - DEBUG - VN 7d5eb656-4f1b-439a-9fd9-a3ef4b61f8b9 still in use: Unable to complete operation on network 7d5eb656-4f1b-439a-9fd9-a3ef4b61f8b9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c037cc70-2d14-46a5-b12b-ba76fc0549cd'] 2025-03-27 02:27:17,847 - WARNING - Deleting VN ctest-vn-57475733 failed..Will retry 2025-03-27 02:27:19,970 - DEBUG - Response for deleting network () 2025-03-27 02:27:20,226 - DEBUG - No XMPP flaps were noticed during the test
2025-03-27 02:27:20,226 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-03-27 02:27:20,226 - INFO - -------------------------------------------------------------------------------- 2025-03-27 02:27:20,925 - INFO - Deleted project: ctest-TestBasicVMVNx-09203038, ID : 446bb05c-6dc5-48fb-b678-eac23763d52b