2024-09-18 03:13:20,516 - INFO - Domain Default found not creating 2024-09-18 03:13:20,661 - INFO - Project ctest-TestBasicVMVNx-82925853 not found, creating it 2024-09-18 03:13:21,173 - INFO - Created Project:ctest-TestBasicVMVNx-82925853, ID : 53714fc6-8f5c-4e40-805e-d3070381d6f1 2024-09-18 03:13:22,667 - INFO - ================================================================================ 2024-09-18 03:13:22,667 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-18 03:13:22,667 - 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-18 03:13:22,926 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.27': '0'}} with 2024-09-18 03:13:22,926 - INFO - Initial checks done. Running the testcase now 2024-09-18 03:13:22,926 - INFO - 2024-09-18 03:13:23,515 - DEBUG - Response for create_network : {'network': {'id': '016d84d6-dd35-48cb-bf92-a292b1625b05', 'name': 'ctest-vn-30566539', 'tenant_id': '53714fc68f5c4e40805ed3070381d6f1', 'project_id': '53714fc68f5c4e40805ed3070381d6f1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-82925853', 'ctest-vn-30566539'], 'port_security_enabled': True, 'description': ''}} 2024-09-18 03:13:23,690 - DEBUG - Response for create_subnet : {'subnet': {'id': '97bb32ac-4801-4998-b516-ce55359162e8', 'name': '', 'tenant_id': '53714fc68f5c4e40805ed3070381d6f1', 'network_id': '016d84d6-dd35-48cb-bf92-a292b1625b05', 'ip_version': 4, 'cidr': '34.19.110.128/26', 'allocation_pools': [{'start': '34.19.110.130', 'end': '34.19.110.190'}], 'gateway_ip': '34.19.110.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.19.110.130', 'tags': [], 'project_id': '53714fc68f5c4e40805ed3070381d6f1'}} 2024-09-18 03:13:23,708 - INFO - Created VN ctest-vn-30566539 2024-09-18 03:13:23,764 - DEBUG - VN ctest-vn-30566539 UUID is 016d84d6-dd35-48cb-bf92-a292b1625b05 2024-09-18 03:13:23,927 - DEBUG - Services list from nova: [, , ] 2024-09-18 03:13:24,934 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1982-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1982-1) 2024-09-18 03:13:26,045 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1982-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1982-1) 2024-09-18 03:13:26,045 - INFO - Waiting for VM ctest-TestBasicVMVNx-82925853-77528882 to be up.. 2024-09-18 03:13:26,130 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-18 03:13:31,208 - DEBUG - VM is in ACTIVE state now 2024-09-18 03:13:31,208 - INFO - VM name : ctest-TestBasicVMVNx-82925853-77528882 2024-09-18 03:13:31,286 - DEBUG - VM ctest-TestBasicVMVNx-82925853-77528882 ID is 217aee0b-1ade-4093-8216-e712143824eb 2024-09-18 03:13:31,304 - DEBUG - VM ctest-TestBasicVMVNx-82925853-77528882 launched on Node cn-jenkins-deploy-platform-ansible-os-1982-1 2024-09-18 03:13:31,382 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/217aee0b-1ade-4093-8216-e712143824eb 2024-09-18 03:13:31,676 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/217aee0b-1ade-4093-8216-e712143824eb 2024-09-18 03:13:31,712 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/d0603893-8b95-4378-924b-9b532d081230 2024-09-18 03:13:34,973 - 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 1014ms') 2024-09-18 03:13:34,973 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-82925853-77528882 failed! 2024-09-18 03:13:35,032 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-82925853:ctest-vn-30566539 is 34.19.110.129 and allocation pool is NOT set 2024-09-18 03:13:37,096 - 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.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.78 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 = 1.776/2.963/4.150/1.187 ms') 2024-09-18 03:13:37,096 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-82925853-77528882 passed 2024-09-18 03:13:37,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 03:13:37,253 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-82925853-77528882, IP 34.19.110.131, Port 22 2024-09-18 03:13:37,413 - DEBUG - VM ctest-TestBasicVMVNx-82925853-77528882 is ready for SSH connections 2024-09-18 03:13:37,413 - INFO - Waiting for VM ctest-TestBasicVMVNx-82925853-89994610 to be up.. 2024-09-18 03:13:37,490 - DEBUG - VM is in ACTIVE state now 2024-09-18 03:13:37,490 - INFO - VM name : ctest-TestBasicVMVNx-82925853-89994610 2024-09-18 03:13:37,564 - DEBUG - VM ctest-TestBasicVMVNx-82925853-89994610 ID is 96fb6377-b57b-4a62-8320-f1a6319702ca 2024-09-18 03:13:37,564 - DEBUG - VM ctest-TestBasicVMVNx-82925853-89994610 launched on Node cn-jenkins-deploy-platform-ansible-os-1982-1 2024-09-18 03:13:37,639 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/96fb6377-b57b-4a62-8320-f1a6319702ca 2024-09-18 03:13:37,649 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/eb852c5e-1368-46ee-a691-877df44d54a7 2024-09-18 03:13:38,901 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.488 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.488/1.607/2.726/1.119 ms') 2024-09-18 03:13:38,901 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-82925853-89994610 passed 2024-09-18 03:13:39,060 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 03:13:39,061 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-82925853-89994610, IP 34.19.110.132, Port 22 2024-09-18 03:13:39,220 - DEBUG - VM ctest-TestBasicVMVNx-82925853-89994610 is ready for SSH connections 2024-09-18 03:13:39,220 - DEBUG - FILE SIZE = 1303B 2024-09-18 03:13:39,220 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-82925853-77528882 to ctest-TestBasicVMVNx-82925853-89994610 using scp 2024-09-18 03:13:39,221 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 03:13:39,226 - 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.29, gateway password: c0ntrail123 2024-09-18 03:13:39,226 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-18 03:13:41,168 - DEBUG - 1+0 records in 1+0 records out 2024-09-18 03:13:41,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 03:13:42,083 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-09-18 03:13:42,084 - DEBUG - ls -l testfile 2024-09-18 03:13:43,664 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 17 21:13 testfile 2024-09-18 03:13:43,665 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-82925853-89994610 2024-09-18 03:13:43,665 - INFO - Deleting VM ctest-TestBasicVMVNx-82925853-89994610 2024-09-18 03:13:43,731 - INFO - Deleting VM ctest-TestBasicVMVNx-82925853-77528882 2024-09-18 03:13:43,791 - INFO - Deleting VN ctest-vn-30566539 2024-09-18 03:13:43,837 - DEBUG - VN 016d84d6-dd35-48cb-bf92-a292b1625b05 still in use: Unable to complete operation on network 016d84d6-dd35-48cb-bf92-a292b1625b05. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-98d58dec-a12e-4ecb-9f28-069a4a602011'] 2024-09-18 03:13:43,837 - WARNING - Deleting VN ctest-vn-30566539 failed..Will retry 2024-09-18 03:13:45,953 - DEBUG - Response for deleting network () 2024-09-18 03:13:46,214 - DEBUG - No XMPP flaps were noticed during the test 2024-09-18 03:13:46,214 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-09-18 03:13:46,214 - INFO - -------------------------------------------------------------------------------- 2024-09-18 03:13:46,944 - INFO - Deleted project: ctest-TestBasicVMVNx-82925853, ID : 53714fc6-8f5c-4e40-805e-d3070381d6f1