2024-09-13 19:28:03,809 - INFO - Domain Default found not creating 2024-09-13 19:28:03,966 - INFO - Project ctest-TestBasicVMVNx-39314594 not found, creating it 2024-09-13 19:28:04,446 - INFO - Created Project:ctest-TestBasicVMVNx-39314594, ID : 1f7b22eb-434d-4885-ba9f-a2a505b86cf9 2024-09-13 19:28:05,852 - INFO - ================================================================================ 2024-09-13 19:28:05,853 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-13 19:28:05,853 - 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 2024-09-13 19:28:06,100 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.6': '0'}} with 2024-09-13 19:28:06,101 - INFO - Initial checks done. Running the testcase now 2024-09-13 19:28:06,101 - INFO - 2024-09-13 19:28:06,681 - DEBUG - Response for create_network : {'network': {'id': 'f86e40b9-f1e2-4f01-bb8c-85e6ecd2523c', 'name': 'ctest-vn-49630630', 'tenant_id': '1f7b22eb434d4885ba9fa2a505b86cf9', 'project_id': '1f7b22eb434d4885ba9fa2a505b86cf9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-39314594', 'ctest-vn-49630630'], 'port_security_enabled': True, 'description': ''}} 2024-09-13 19:28:06,840 - DEBUG - Response for create_subnet : {'subnet': {'id': '78c569e2-635d-4519-abc4-7afc1bbffa6a', 'name': '', 'tenant_id': '1f7b22eb434d4885ba9fa2a505b86cf9', 'network_id': 'f86e40b9-f1e2-4f01-bb8c-85e6ecd2523c', 'ip_version': 4, 'cidr': '68.11.151.0/26', 'allocation_pools': [{'start': '68.11.151.2', 'end': '68.11.151.62'}], 'gateway_ip': '68.11.151.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.11.151.2', 'tags': [], 'project_id': '1f7b22eb434d4885ba9fa2a505b86cf9'}} 2024-09-13 19:28:06,857 - INFO - Created VN ctest-vn-49630630 2024-09-13 19:28:06,915 - DEBUG - VN ctest-vn-49630630 UUID is f86e40b9-f1e2-4f01-bb8c-85e6ecd2523c 2024-09-13 19:28:07,079 - DEBUG - Services list from nova: [, , ] 2024-09-13 19:28:08,104 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1931-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1931-1) 2024-09-13 19:28:09,232 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1931-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1931-1) 2024-09-13 19:28:09,233 - INFO - Waiting for VM ctest-TestBasicVMVNx-39314594-77003153 to be up.. 2024-09-13 19:28:09,314 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-13 19:28:14,399 - DEBUG - VM is in ACTIVE state now 2024-09-13 19:28:14,399 - INFO - VM name : ctest-TestBasicVMVNx-39314594-77003153 2024-09-13 19:28:14,486 - DEBUG - VM ctest-TestBasicVMVNx-39314594-77003153 ID is bb79c2aa-d340-479e-acb7-e28b29cbf8be 2024-09-13 19:28:14,509 - DEBUG - VM ctest-TestBasicVMVNx-39314594-77003153 launched on Node cn-jenkins-deploy-platform-ansible-os-1931-1 2024-09-13 19:28:14,585 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/bb79c2aa-d340-479e-acb7-e28b29cbf8be 2024-09-13 19:28:14,878 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/bb79c2aa-d340-479e-acb7-e28b29cbf8be 2024-09-13 19:28:14,913 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b9882a74-d5d1-4ae6-b87f-8f883e573c9c 2024-09-13 19:28:18,181 - 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 1027ms') 2024-09-13 19:28:18,181 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-39314594-77003153 failed! 2024-09-13 19:28:18,247 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-39314594:ctest-vn-49630630 is 68.11.151.1 and allocation pool is NOT set 2024-09-13 19:28:20,302 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.502 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.502/1.631/2.761/1.129 ms') 2024-09-13 19:28:20,302 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-39314594-77003153 passed 2024-09-13 19:28:20,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 19:28:20,459 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-39314594-77003153, IP 68.11.151.3, Port 22 2024-09-13 19:28:20,611 - DEBUG - VM ctest-TestBasicVMVNx-39314594-77003153 is ready for SSH connections 2024-09-13 19:28:20,611 - INFO - Waiting for VM ctest-TestBasicVMVNx-39314594-13596008 to be up.. 2024-09-13 19:28:20,688 - DEBUG - VM is in ACTIVE state now 2024-09-13 19:28:20,688 - INFO - VM name : ctest-TestBasicVMVNx-39314594-13596008 2024-09-13 19:28:20,758 - DEBUG - VM ctest-TestBasicVMVNx-39314594-13596008 ID is 918347e2-f281-4350-a15c-7875ec0555a8 2024-09-13 19:28:20,759 - DEBUG - VM ctest-TestBasicVMVNx-39314594-13596008 launched on Node cn-jenkins-deploy-platform-ansible-os-1931-1 2024-09-13 19:28:20,835 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/918347e2-f281-4350-a15c-7875ec0555a8 2024-09-13 19:28:20,845 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/2f4c15a3-ba63-4e3b-a0a0-3e39cf6bbe68 2024-09-13 19:28:22,088 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.510 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.510/1.647/2.784/1.137 ms') 2024-09-13 19:28:22,088 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-39314594-13596008 passed 2024-09-13 19:28:22,247 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 19:28:22,247 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-39314594-13596008, IP 68.11.151.4, Port 22 2024-09-13 19:28:22,407 - DEBUG - VM ctest-TestBasicVMVNx-39314594-13596008 is ready for SSH connections 2024-09-13 19:28:22,407 - DEBUG - FILE SIZE = 1303B 2024-09-13 19:28:22,407 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-39314594-77003153 to ctest-TestBasicVMVNx-39314594-13596008 using scp 2024-09-13 19:28:22,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 19:28:22,413 - 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.33, gateway password: c0ntrail123 2024-09-13 19:28:22,413 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-13 19:28:24,276 - DEBUG - 1+0 records in 1+0 records out 2024-09-13 19:28:24,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 19:28:25,162 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2024-09-13 19:28:25,162 - DEBUG - ls -l testfile 2024-09-13 19:28:26,717 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 13 13:28 testfile 2024-09-13 19:28:26,718 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-39314594-13596008 2024-09-13 19:28:26,718 - INFO - Deleting VM ctest-TestBasicVMVNx-39314594-13596008 2024-09-13 19:28:26,785 - INFO - Deleting VM ctest-TestBasicVMVNx-39314594-77003153 2024-09-13 19:28:26,858 - INFO - Deleting VN ctest-vn-49630630 2024-09-13 19:28:26,900 - DEBUG - VN f86e40b9-f1e2-4f01-bb8c-85e6ecd2523c still in use: Unable to complete operation on network f86e40b9-f1e2-4f01-bb8c-85e6ecd2523c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d3babac3-43c6-456b-ae89-f30821282086'] 2024-09-13 19:28:26,900 - WARNING - Deleting VN ctest-vn-49630630 failed..Will retry 2024-09-13 19:28:29,015 - DEBUG - Response for deleting network () 2024-09-13 19:28:29,273 - DEBUG - No XMPP flaps were noticed during the test 2024-09-13 19:28:29,273 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-09-13 19:28:29,273 - INFO - -------------------------------------------------------------------------------- 2024-09-13 19:28:29,973 - INFO - Deleted project: ctest-TestBasicVMVNx-39314594, ID : 1f7b22eb-434d-4885-ba9f-a2a505b86cf9