2024-09-02 17:15:50,417 - INFO - Domain Default found not creating 2024-09-02 17:15:50,574 - INFO - Project ctest-TestBasicVMVNx-79192730 not found, creating it 2024-09-02 17:15:51,033 - INFO - Created Project:ctest-TestBasicVMVNx-79192730, ID : 72a648b5-81e3-4011-99d4-06415c2890b0 2024-09-02 17:15:52,603 - INFO - ================================================================================ 2024-09-02 17:15:52,603 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-02 17:15:52,604 - 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-02 17:15:52,860 - DEBUG - Nothing to compare xmpp stats {'10.0.0.37': {'10.20.0.14': '0'}} with 2024-09-02 17:15:52,860 - INFO - Initial checks done. Running the testcase now 2024-09-02 17:15:52,860 - INFO - 2024-09-02 17:15:53,455 - DEBUG - Response for create_network : {'network': {'id': '54a3e429-d5cd-4e39-a96a-ec37438b431a', 'name': 'ctest-vn-94842130', 'tenant_id': '72a648b581e3401199d406415c2890b0', 'project_id': '72a648b581e3401199d406415c2890b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-79192730', 'ctest-vn-94842130'], 'port_security_enabled': True, 'description': ''}} 2024-09-02 17:15:53,672 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f0bb8c20-c65e-4122-a641-890bee513d43', 'name': '', 'tenant_id': '72a648b581e3401199d406415c2890b0', 'network_id': '54a3e429-d5cd-4e39-a96a-ec37438b431a', 'ip_version': 4, 'cidr': '26.52.219.64/26', 'allocation_pools': [{'start': '26.52.219.66', 'end': '26.52.219.126'}], 'gateway_ip': '26.52.219.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.52.219.66', 'tags': [], 'project_id': '72a648b581e3401199d406415c2890b0'}} 2024-09-02 17:15:53,691 - INFO - Created VN ctest-vn-94842130 2024-09-02 17:15:53,743 - DEBUG - VN ctest-vn-94842130 UUID is 54a3e429-d5cd-4e39-a96a-ec37438b431a 2024-09-02 17:15:53,924 - DEBUG - Services list from nova: [, , ] 2024-09-02 17:15:54,981 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1831-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1831-1) 2024-09-02 17:15:56,241 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1831-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1831-1) 2024-09-02 17:15:56,241 - INFO - Waiting for VM ctest-TestBasicVMVNx-79192730-59312466 to be up.. 2024-09-02 17:15:56,335 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-02 17:16:01,420 - DEBUG - VM is in ACTIVE state now 2024-09-02 17:16:01,421 - INFO - VM name : ctest-TestBasicVMVNx-79192730-59312466 2024-09-02 17:16:01,501 - DEBUG - VM ctest-TestBasicVMVNx-79192730-59312466 ID is dcef05c6-dc5f-4aad-94a7-da1b44ae0b6a 2024-09-02 17:16:01,525 - DEBUG - VM ctest-TestBasicVMVNx-79192730-59312466 launched on Node cn-jenkins-deploy-platform-ansible-os-1831-1 2024-09-02 17:16:01,620 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/dcef05c6-dc5f-4aad-94a7-da1b44ae0b6a 2024-09-02 17:16:01,956 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/dcef05c6-dc5f-4aad-94a7-da1b44ae0b6a 2024-09-02 17:16:02,015 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/fd42afbc-09f3-44b8-bd6e-0b8247ae72f8 2024-09-02 17:16:05,273 - 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 1007ms') 2024-09-02 17:16:05,273 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-79192730-59312466 failed! 2024-09-02 17:16:05,327 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-79192730:ctest-vn-94842130 is 26.52.219.65 and allocation pool is NOT set 2024-09-02 17:16:07,382 - 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=4.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.803 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.803/2.494/4.185/1.691 ms') 2024-09-02 17:16:07,382 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-79192730-59312466 passed 2024-09-02 17:16:07,531 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 17:16:07,531 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-79192730-59312466, IP 26.52.219.67, Port 22 2024-09-02 17:16:07,683 - DEBUG - VM ctest-TestBasicVMVNx-79192730-59312466 is ready for SSH connections 2024-09-02 17:16:07,683 - INFO - Waiting for VM ctest-TestBasicVMVNx-79192730-71827767 to be up.. 2024-09-02 17:16:07,769 - DEBUG - VM is in ACTIVE state now 2024-09-02 17:16:07,769 - INFO - VM name : ctest-TestBasicVMVNx-79192730-71827767 2024-09-02 17:16:07,849 - DEBUG - VM ctest-TestBasicVMVNx-79192730-71827767 ID is 207d292b-658e-4a53-bbda-ca253f6e9862 2024-09-02 17:16:07,849 - DEBUG - VM ctest-TestBasicVMVNx-79192730-71827767 launched on Node cn-jenkins-deploy-platform-ansible-os-1831-1 2024-09-02 17:16:07,929 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/207d292b-658e-4a53-bbda-ca253f6e9862 2024-09-02 17:16:07,938 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/629833d5-041b-469b-8a9f-020392164116 2024-09-02 17:16:09,179 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.479 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.479/2.184/3.890/1.705 ms') 2024-09-02 17:16:09,179 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-79192730-71827767 passed 2024-09-02 17:16:09,331 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 17:16:09,331 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-79192730-71827767, IP 26.52.219.68, Port 22 2024-09-02 17:16:09,490 - DEBUG - VM ctest-TestBasicVMVNx-79192730-71827767 is ready for SSH connections 2024-09-02 17:16:09,490 - DEBUG - FILE SIZE = 1303B 2024-09-02 17:16:09,490 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-79192730-59312466 to ctest-TestBasicVMVNx-79192730-71827767 using scp 2024-09-02 17:16:09,491 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 17:16:09,496 - 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.37, gateway password: c0ntrail123 2024-09-02 17:16:09,496 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-02 17:16:11,434 - DEBUG - 1+0 records in 1+0 records out 2024-09-02 17:16:12,250 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-02 17:16:12,585 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123 2024-09-02 17:16:12,585 - DEBUG - ls -l testfile 2024-09-02 17:16:14,225 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 2 11:16 testfile 2024-09-02 17:16:14,225 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-79192730-71827767 2024-09-02 17:16:14,225 - INFO - Deleting VM ctest-TestBasicVMVNx-79192730-71827767 2024-09-02 17:16:14,320 - INFO - Deleting VM ctest-TestBasicVMVNx-79192730-59312466 2024-09-02 17:16:14,387 - INFO - Deleting VN ctest-vn-94842130 2024-09-02 17:16:14,428 - DEBUG - VN 54a3e429-d5cd-4e39-a96a-ec37438b431a still in use: Unable to complete operation on network 54a3e429-d5cd-4e39-a96a-ec37438b431a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-07033b6a-f3ef-4e14-a65a-801147960fa8'] 2024-09-02 17:16:14,428 - WARNING - Deleting VN ctest-vn-94842130 failed..Will retry 2024-09-02 17:16:16,557 - DEBUG - Response for deleting network () 2024-09-02 17:16:16,821 - DEBUG - No XMPP flaps were noticed during the test 2024-09-02 17:16:16,821 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-09-02 17:16:16,821 - INFO - -------------------------------------------------------------------------------- 2024-09-02 17:16:17,577 - INFO - Deleted project: ctest-TestBasicVMVNx-79192730, ID : 72a648b5-81e3-4011-99d4-06415c2890b0