2025-01-13 02:38:22,102 - INFO - Domain Default found not creating 2025-01-13 02:38:22,286 - INFO - Project ctest-TestBasicVMVNx-54538140 not found, creating it 2025-01-13 02:38:22,811 - INFO - Created Project:ctest-TestBasicVMVNx-54538140, ID : 37d414d2-cf77-484d-9428-10f254c97f15 2025-01-13 02:38:24,492 - INFO - ================================================================================ 2025-01-13 02:38:24,492 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-13 02:38:24,492 - 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-01-13 02:38:24,752 - DEBUG - Nothing to compare xmpp stats {'10.0.0.40': {'10.20.0.7': '0'}} with 2025-01-13 02:38:24,752 - INFO - Initial checks done. Running the testcase now 2025-01-13 02:38:24,752 - INFO - 2025-01-13 02:38:25,389 - DEBUG - Response for create_network : {'network': {'id': '0ceed218-928b-49f2-8111-564b05fbbbdc', 'name': 'ctest-vn-32952240', 'tenant_id': '37d414d2cf77484d942810f254c97f15', 'project_id': '37d414d2cf77484d942810f254c97f15', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-54538140', 'ctest-vn-32952240'], 'port_security_enabled': True, 'description': ''}} 2025-01-13 02:38:25,567 - DEBUG - Response for create_subnet : {'subnet': {'id': '70c5a66b-9edb-4e6d-b7e9-11bdab159a64', 'name': '', 'tenant_id': '37d414d2cf77484d942810f254c97f15', 'network_id': '0ceed218-928b-49f2-8111-564b05fbbbdc', 'ip_version': 4, 'cidr': '53.150.30.192/26', 'allocation_pools': [{'start': '53.150.30.194', 'end': '53.150.30.254'}], 'gateway_ip': '53.150.30.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.150.30.194', 'tags': [], 'project_id': '37d414d2cf77484d942810f254c97f15'}} 2025-01-13 02:38:25,587 - INFO - Created VN ctest-vn-32952240 2025-01-13 02:38:25,643 - DEBUG - VN ctest-vn-32952240 UUID is 0ceed218-928b-49f2-8111-564b05fbbbdc 2025-01-13 02:38:25,825 - DEBUG - Services list from nova: [, , ] 2025-01-13 02:38:26,981 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2607-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2607-1) 2025-01-13 02:38:28,261 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2607-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2607-1) 2025-01-13 02:38:28,261 - INFO - Waiting for VM ctest-TestBasicVMVNx-54538140-13984032 to be up.. 2025-01-13 02:38:28,352 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-13 02:38:33,454 - DEBUG - VM is in ACTIVE state now 2025-01-13 02:38:33,454 - INFO - VM name : ctest-TestBasicVMVNx-54538140-13984032 2025-01-13 02:38:33,568 - DEBUG - VM ctest-TestBasicVMVNx-54538140-13984032 ID is b712f05e-f4c7-49b9-85d8-feb73206ef3a 2025-01-13 02:38:33,597 - DEBUG - VM ctest-TestBasicVMVNx-54538140-13984032 launched on Node cn-jenkins-deploy-platform-ansible-os-2607-1 2025-01-13 02:38:33,722 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/b712f05e-f4c7-49b9-85d8-feb73206ef3a 2025-01-13 02:38:34,073 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/b712f05e-f4c7-49b9-85d8-feb73206ef3a 2025-01-13 02:38:34,112 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/a5884dc4-39fa-4203-80c3-7e4c61f31f63 2025-01-13 02:38:37,378 - 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 1005ms') 2025-01-13 02:38:37,378 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-54538140-13984032 failed! 2025-01-13 02:38:37,439 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-54538140:ctest-vn-32952240 is 53.150.30.193 and allocation pool is NOT set 2025-01-13 02:38:39,505 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.60 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 = 1.601/3.126/4.652/1.525 ms') 2025-01-13 02:38:39,505 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-54538140-13984032 passed 2025-01-13 02:38:39,659 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 02:38:39,659 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-54538140-13984032, IP 53.150.30.195, Port 22 2025-01-13 02:38:39,825 - DEBUG - VM ctest-TestBasicVMVNx-54538140-13984032 is ready for SSH connections 2025-01-13 02:38:39,825 - INFO - Waiting for VM ctest-TestBasicVMVNx-54538140-05960547 to be up.. 2025-01-13 02:38:39,917 - DEBUG - VM is in ACTIVE state now 2025-01-13 02:38:39,918 - INFO - VM name : ctest-TestBasicVMVNx-54538140-05960547 2025-01-13 02:38:39,996 - DEBUG - VM ctest-TestBasicVMVNx-54538140-05960547 ID is 63a52df8-99a1-4192-b148-ed70c7ccdcdc 2025-01-13 02:38:39,996 - DEBUG - VM ctest-TestBasicVMVNx-54538140-05960547 launched on Node cn-jenkins-deploy-platform-ansible-os-2607-1 2025-01-13 02:38:40,080 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/63a52df8-99a1-4192-b148-ed70c7ccdcdc 2025-01-13 02:38:40,090 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/88277652-9448-4691-aba5-6ef9d3df8400 2025-01-13 02:38:41,335 - 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.58 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/2.016/3.580/1.563 ms') 2025-01-13 02:38:41,336 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-54538140-05960547 passed 2025-01-13 02:38:41,491 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 02:38:41,491 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-54538140-05960547, IP 53.150.30.196, Port 22 2025-01-13 02:38:41,646 - DEBUG - VM ctest-TestBasicVMVNx-54538140-05960547 is ready for SSH connections 2025-01-13 02:38:41,646 - DEBUG - FILE SIZE = 1303B 2025-01-13 02:38:41,647 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-54538140-13984032 to ctest-TestBasicVMVNx-54538140-05960547 using scp 2025-01-13 02:38:41,647 - 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.40, gateway password: c0ntrail123 2025-01-13 02:38:41,647 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-13 02:38:43,651 - DEBUG - 1+0 records in 1+0 records out 2025-01-13 02:38:44,323 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 02:38:44,679 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123 2025-01-13 02:38:44,679 - DEBUG - ls -l testfile 2025-01-13 02:38:46,317 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 12 19:38 testfile 2025-01-13 02:38:46,317 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-54538140-05960547 2025-01-13 02:38:46,317 - INFO - Deleting VM ctest-TestBasicVMVNx-54538140-05960547 2025-01-13 02:38:46,402 - INFO - Deleting VM ctest-TestBasicVMVNx-54538140-13984032 2025-01-13 02:38:46,480 - INFO - Deleting VN ctest-vn-32952240 2025-01-13 02:38:46,523 - DEBUG - VN 0ceed218-928b-49f2-8111-564b05fbbbdc still in use: Unable to complete operation on network 0ceed218-928b-49f2-8111-564b05fbbbdc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-eab198d2-bcd9-476b-82e0-d7189219496b'] 2025-01-13 02:38:46,524 - WARNING - Deleting VN ctest-vn-32952240 failed..Will retry 2025-01-13 02:38:48,652 - DEBUG - Response for deleting network () 2025-01-13 02:38:48,918 - DEBUG - No XMPP flaps were noticed during the test 2025-01-13 02:38:48,918 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-01-13 02:38:48,918 - INFO - -------------------------------------------------------------------------------- 2025-01-13 02:38:49,700 - INFO - Deleted project: ctest-TestBasicVMVNx-54538140, ID : 37d414d2-cf77-484d-9428-10f254c97f15