2024-09-17 20:04:13,233 - INFO - Domain Default found not creating 2024-09-17 20:04:13,390 - INFO - Project ctest-TestBasicVMVNx-07840049 not found, creating it 2024-09-17 20:04:13,883 - INFO - Created Project:ctest-TestBasicVMVNx-07840049, ID : 980ac6f2-bef8-4118-8ed0-3f0e3d1c7413 2024-09-17 20:04:15,317 - INFO - ================================================================================ 2024-09-17 20:04:15,317 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-17 20:04:15,318 - 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-17 20:04:15,573 - DEBUG - Nothing to compare xmpp stats {'10.0.0.45': {'10.20.0.31': '0'}} with 2024-09-17 20:04:15,573 - INFO - Initial checks done. Running the testcase now 2024-09-17 20:04:15,573 - INFO - 2024-09-17 20:04:16,154 - DEBUG - Response for create_network : {'network': {'id': '42667e1f-a311-4837-873b-5ae46e784d96', 'name': 'ctest-vn-20333835', 'tenant_id': '980ac6f2bef841188ed03f0e3d1c7413', 'project_id': '980ac6f2bef841188ed03f0e3d1c7413', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-07840049', 'ctest-vn-20333835'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 20:04:16,360 - DEBUG - Response for create_subnet : {'subnet': {'id': '80ff8ec1-a8ed-490c-bf0b-d4e5320e1ed4', 'name': '', 'tenant_id': '980ac6f2bef841188ed03f0e3d1c7413', 'network_id': '42667e1f-a311-4837-873b-5ae46e784d96', 'ip_version': 4, 'cidr': '214.102.242.128/26', 'allocation_pools': [{'start': '214.102.242.130', 'end': '214.102.242.190'}], 'gateway_ip': '214.102.242.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.102.242.130', 'tags': [], 'project_id': '980ac6f2bef841188ed03f0e3d1c7413'}} 2024-09-17 20:04:16,377 - INFO - Created VN ctest-vn-20333835 2024-09-17 20:04:16,432 - DEBUG - VN ctest-vn-20333835 UUID is 42667e1f-a311-4837-873b-5ae46e784d96 2024-09-17 20:04:16,600 - DEBUG - Services list from nova: [, , ] 2024-09-17 20:04:17,641 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1968-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1968-1) 2024-09-17 20:04:18,770 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1968-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1968-1) 2024-09-17 20:04:18,770 - INFO - Waiting for VM ctest-TestBasicVMVNx-07840049-53066684 to be up.. 2024-09-17 20:04:18,864 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-17 20:04:23,941 - DEBUG - VM is in ACTIVE state now 2024-09-17 20:04:23,942 - INFO - VM name : ctest-TestBasicVMVNx-07840049-53066684 2024-09-17 20:04:24,016 - DEBUG - VM ctest-TestBasicVMVNx-07840049-53066684 ID is bc33278d-bd2b-483a-b740-58bb0ff1d9f2 2024-09-17 20:04:24,032 - DEBUG - VM ctest-TestBasicVMVNx-07840049-53066684 launched on Node cn-jenkins-deploy-platform-ansible-os-1968-1 2024-09-17 20:04:24,118 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/bc33278d-bd2b-483a-b740-58bb0ff1d9f2 2024-09-17 20:04:24,419 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/bc33278d-bd2b-483a-b740-58bb0ff1d9f2 2024-09-17 20:04:24,458 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/eef59489-6f17-4f3c-95bd-935002def652 2024-09-17 20:04:27,714 - 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 1004ms') 2024-09-17 20:04:27,714 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-07840049-53066684 failed! 2024-09-17 20:04:27,772 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-07840049:ctest-vn-20333835 is 214.102.242.129 and allocation pool is NOT set 2024-09-17 20:04:29,829 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.409 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 = 0.409/2.101/3.793/1.692 ms') 2024-09-17 20:04:29,829 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-07840049-53066684 passed 2024-09-17 20:04:29,984 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 20:04:29,984 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07840049-53066684, IP 214.102.242.131, Port 22 2024-09-17 20:04:30,144 - DEBUG - VM ctest-TestBasicVMVNx-07840049-53066684 is ready for SSH connections 2024-09-17 20:04:30,144 - INFO - Waiting for VM ctest-TestBasicVMVNx-07840049-48747608 to be up.. 2024-09-17 20:04:30,219 - DEBUG - VM is in ACTIVE state now 2024-09-17 20:04:30,219 - INFO - VM name : ctest-TestBasicVMVNx-07840049-48747608 2024-09-17 20:04:30,291 - DEBUG - VM ctest-TestBasicVMVNx-07840049-48747608 ID is be070884-4f8a-4d36-a88a-768235dffbc7 2024-09-17 20:04:30,291 - DEBUG - VM ctest-TestBasicVMVNx-07840049-48747608 launched on Node cn-jenkins-deploy-platform-ansible-os-1968-1 2024-09-17 20:04:30,363 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/be070884-4f8a-4d36-a88a-768235dffbc7 2024-09-17 20:04:30,371 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/f3816f30-b37b-42aa-9c48-afc9440fae5c 2024-09-17 20:04:31,620 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.421 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.421/1.569/2.718/1.148 ms') 2024-09-17 20:04:31,620 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-07840049-48747608 passed 2024-09-17 20:04:31,772 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 20:04:31,772 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07840049-48747608, IP 214.102.242.132, Port 22 2024-09-17 20:04:31,929 - DEBUG - VM ctest-TestBasicVMVNx-07840049-48747608 is ready for SSH connections 2024-09-17 20:04:31,929 - DEBUG - FILE SIZE = 1303B 2024-09-17 20:04:31,929 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-07840049-53066684 to ctest-TestBasicVMVNx-07840049-48747608 using scp 2024-09-17 20:04:31,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 20:04:31,934 - 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.45, gateway password: c0ntrail123 2024-09-17 20:04:31,934 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-17 20:04:33,791 - DEBUG - 1+0 records in 1+0 records out 2024-09-17 20:04:34,572 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 20:04:34,891 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.45, gateway password: c0ntrail123 2024-09-17 20:04:34,891 - DEBUG - ls -l testfile 2024-09-17 20:04:36,453 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 17 14:04 testfile 2024-09-17 20:04:36,454 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-07840049-48747608 2024-09-17 20:04:36,454 - INFO - Deleting VM ctest-TestBasicVMVNx-07840049-48747608 2024-09-17 20:04:36,528 - INFO - Deleting VM ctest-TestBasicVMVNx-07840049-53066684 2024-09-17 20:04:36,598 - INFO - Deleting VN ctest-vn-20333835 2024-09-17 20:04:36,640 - DEBUG - VN 42667e1f-a311-4837-873b-5ae46e784d96 still in use: Unable to complete operation on network 42667e1f-a311-4837-873b-5ae46e784d96. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f9d0c9dc-9104-4a45-8d13-7aec47fe7cfe'] 2024-09-17 20:04:36,640 - WARNING - Deleting VN ctest-vn-20333835 failed..Will retry 2024-09-17 20:04:38,744 - DEBUG - Response for deleting network () 2024-09-17 20:04:38,997 - DEBUG - No XMPP flaps were noticed during the test 2024-09-17 20:04:38,997 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23] 2024-09-17 20:04:38,998 - INFO - -------------------------------------------------------------------------------- 2024-09-17 20:04:39,686 - INFO - Deleted project: ctest-TestBasicVMVNx-07840049, ID : 980ac6f2-bef8-4118-8ed0-3f0e3d1c7413