2024-08-23 20:29:27,708 - INFO - Domain Default found not creating 2024-08-23 20:29:27,863 - INFO - Project ctest-TestBasicVMVNx-51347719 not found, creating it 2024-08-23 20:29:28,324 - INFO - Created Project:ctest-TestBasicVMVNx-51347719, ID : 1514d3c8-7793-4ce3-b4fd-326dc91b54d7 2024-08-23 20:29:29,832 - INFO - ================================================================================ 2024-08-23 20:29:29,832 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-23 20:29:29,832 - 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-08-23 20:29:30,086 - DEBUG - Nothing to compare xmpp stats {'10.0.0.36': {'10.20.0.19': '0'}} with 2024-08-23 20:29:30,086 - INFO - Initial checks done. Running the testcase now 2024-08-23 20:29:30,086 - INFO - 2024-08-23 20:29:30,630 - DEBUG - Response for create_network : {'network': {'id': 'a0fabf7a-bb9f-4efd-b7f4-f3260a38838a', 'name': 'ctest-vn-53368621', 'tenant_id': '1514d3c877934ce3b4fd326dc91b54d7', 'project_id': '1514d3c877934ce3b4fd326dc91b54d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-51347719', 'ctest-vn-53368621'], 'port_security_enabled': True, 'description': ''}} 2024-08-23 20:29:31,055 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ad2dae1-5386-44a2-b829-0bf3f46beb8e', 'name': '', 'tenant_id': '1514d3c877934ce3b4fd326dc91b54d7', 'network_id': 'a0fabf7a-bb9f-4efd-b7f4-f3260a38838a', 'ip_version': 4, 'cidr': '169.249.65.128/26', 'allocation_pools': [{'start': '169.249.65.130', 'end': '169.249.65.190'}], 'gateway_ip': '169.249.65.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.249.65.130', 'tags': [], 'project_id': '1514d3c877934ce3b4fd326dc91b54d7'}} 2024-08-23 20:29:31,077 - INFO - Created VN ctest-vn-53368621 2024-08-23 20:29:31,127 - DEBUG - VN ctest-vn-53368621 UUID is a0fabf7a-bb9f-4efd-b7f4-f3260a38838a 2024-08-23 20:29:31,289 - DEBUG - Services list from nova: [, , ] 2024-08-23 20:29:32,342 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1728-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1728-1) 2024-08-23 20:29:33,475 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1728-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1728-1) 2024-08-23 20:29:33,475 - INFO - Waiting for VM ctest-TestBasicVMVNx-51347719-44564623 to be up.. 2024-08-23 20:29:33,653 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-23 20:29:38,728 - DEBUG - VM is in ACTIVE state now 2024-08-23 20:29:38,728 - INFO - VM name : ctest-TestBasicVMVNx-51347719-44564623 2024-08-23 20:29:38,800 - DEBUG - VM ctest-TestBasicVMVNx-51347719-44564623 ID is a35c1dc0-a369-469f-a2d0-dd4d9cbc4349 2024-08-23 20:29:38,817 - DEBUG - VM ctest-TestBasicVMVNx-51347719-44564623 launched on Node cn-jenkins-deploy-platform-ansible-os-1728-1 2024-08-23 20:29:38,891 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/a35c1dc0-a369-469f-a2d0-dd4d9cbc4349 2024-08-23 20:29:39,184 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/a35c1dc0-a369-469f-a2d0-dd4d9cbc4349 2024-08-23 20:29:39,218 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/db962b25-5e51-4d7b-82d1-649efc508cae 2024-08-23 20:29:42,482 - 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-08-23 20:29:42,482 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-51347719-44564623 failed! 2024-08-23 20:29:42,539 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-51347719:ctest-vn-53368621 is 169.249.65.129 and allocation pool is NOT set 2024-08-23 20:29:44,597 - 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=3.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.824 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.824/1.942/3.060/1.118 ms') 2024-08-23 20:29:44,597 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-51347719-44564623 passed 2024-08-23 20:29:44,751 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 20:29:44,751 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-51347719-44564623, IP 169.249.65.131, Port 22 2024-08-23 20:29:44,902 - DEBUG - VM ctest-TestBasicVMVNx-51347719-44564623 is ready for SSH connections 2024-08-23 20:29:44,902 - INFO - Waiting for VM ctest-TestBasicVMVNx-51347719-11702333 to be up.. 2024-08-23 20:29:44,977 - DEBUG - VM is in ACTIVE state now 2024-08-23 20:29:44,978 - INFO - VM name : ctest-TestBasicVMVNx-51347719-11702333 2024-08-23 20:29:45,059 - DEBUG - VM ctest-TestBasicVMVNx-51347719-11702333 ID is 7116dfa9-500e-4372-aba8-acc00bbe1442 2024-08-23 20:29:45,059 - DEBUG - VM ctest-TestBasicVMVNx-51347719-11702333 launched on Node cn-jenkins-deploy-platform-ansible-os-1728-1 2024-08-23 20:29:45,134 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/7116dfa9-500e-4372-aba8-acc00bbe1442 2024-08-23 20:29:45,142 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/44586194-898a-493e-acde-cd72fc3369c0 2024-08-23 20:29:46,375 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.368 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.368/1.603/2.839/1.235 ms') 2024-08-23 20:29:46,375 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-51347719-11702333 passed 2024-08-23 20:29:46,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 20:29:46,523 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-51347719-11702333, IP 169.249.65.132, Port 22 2024-08-23 20:29:46,675 - DEBUG - VM ctest-TestBasicVMVNx-51347719-11702333 is ready for SSH connections 2024-08-23 20:29:46,675 - DEBUG - FILE SIZE = 1303B 2024-08-23 20:29:46,675 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-51347719-44564623 to ctest-TestBasicVMVNx-51347719-11702333 using scp 2024-08-23 20:29:46,676 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 20:29:46,680 - 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.36, gateway password: c0ntrail123 2024-08-23 20:29:46,681 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-23 20:29:48,635 - DEBUG - 1+0 records in 1+0 records out 2024-08-23 20:29:49,249 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 20:29:49,569 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.36, gateway password: c0ntrail123 2024-08-23 20:29:49,569 - DEBUG - ls -l testfile 2024-08-23 20:29:51,134 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 23 14:29 testfile 2024-08-23 20:29:51,134 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-51347719-11702333 2024-08-23 20:29:51,134 - INFO - Deleting VM ctest-TestBasicVMVNx-51347719-11702333 2024-08-23 20:29:51,202 - INFO - Deleting VM ctest-TestBasicVMVNx-51347719-44564623 2024-08-23 20:29:51,276 - INFO - Deleting VN ctest-vn-53368621 2024-08-23 20:29:51,320 - DEBUG - VN a0fabf7a-bb9f-4efd-b7f4-f3260a38838a still in use: Unable to complete operation on network a0fabf7a-bb9f-4efd-b7f4-f3260a38838a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2cbf9443-0540-4bbc-b610-93795fe9a0c2'] 2024-08-23 20:29:51,320 - WARNING - Deleting VN ctest-vn-53368621 failed..Will retry 2024-08-23 20:29:53,425 - DEBUG - Response for deleting network () 2024-08-23 20:29:53,681 - DEBUG - No XMPP flaps were noticed during the test 2024-08-23 20:29:53,681 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-08-23 20:29:53,681 - INFO - -------------------------------------------------------------------------------- 2024-08-23 20:29:54,340 - INFO - Deleted project: ctest-TestBasicVMVNx-51347719, ID : 1514d3c8-7793-4ce3-b4fd-326dc91b54d7