2024-09-04 14:03:52,713 - INFO - Domain Default found not creating 2024-09-04 14:03:52,858 - INFO - Project ctest-TestBasicVMVNx-24430305 not found, creating it 2024-09-04 14:03:53,334 - INFO - Created Project:ctest-TestBasicVMVNx-24430305, ID : 3dda992f-6618-4309-bbbf-abb7663a4726 2024-09-04 14:03:54,807 - INFO - ================================================================================ 2024-09-04 14:03:54,807 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-04 14:03:54,807 - 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-04 14:03:55,068 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.25': '0'}} with 2024-09-04 14:03:55,068 - INFO - Initial checks done. Running the testcase now 2024-09-04 14:03:55,068 - INFO - 2024-09-04 14:03:55,618 - DEBUG - Response for create_network : {'network': {'id': 'c03d636b-31fd-43d4-a140-16ad9a725b16', 'name': 'ctest-vn-52332275', 'tenant_id': '3dda992f66184309bbbfabb7663a4726', 'project_id': '3dda992f66184309bbbfabb7663a4726', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-24430305', 'ctest-vn-52332275'], 'port_security_enabled': True, 'description': ''}} 2024-09-04 14:03:55,784 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0343975-2f6b-4dd2-b6a3-0bb1dea67e36', 'name': '', 'tenant_id': '3dda992f66184309bbbfabb7663a4726', 'network_id': 'c03d636b-31fd-43d4-a140-16ad9a725b16', 'ip_version': 4, 'cidr': '220.17.178.0/26', 'allocation_pools': [{'start': '220.17.178.2', 'end': '220.17.178.62'}], 'gateway_ip': '220.17.178.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.17.178.2', 'tags': [], 'project_id': '3dda992f66184309bbbfabb7663a4726'}} 2024-09-04 14:03:55,801 - INFO - Created VN ctest-vn-52332275 2024-09-04 14:03:55,850 - DEBUG - VN ctest-vn-52332275 UUID is c03d636b-31fd-43d4-a140-16ad9a725b16 2024-09-04 14:03:56,044 - DEBUG - Services list from nova: [, , ] 2024-09-04 14:03:57,033 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1843-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1843-1) 2024-09-04 14:03:58,123 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1843-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1843-1) 2024-09-04 14:03:58,124 - INFO - Waiting for VM ctest-TestBasicVMVNx-24430305-84166075 to be up.. 2024-09-04 14:03:58,214 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-04 14:04:03,301 - DEBUG - VM is in ACTIVE state now 2024-09-04 14:04:03,302 - INFO - VM name : ctest-TestBasicVMVNx-24430305-84166075 2024-09-04 14:04:03,380 - DEBUG - VM ctest-TestBasicVMVNx-24430305-84166075 ID is 1f30554d-7a73-4b76-aac8-dca609308257 2024-09-04 14:04:03,400 - DEBUG - VM ctest-TestBasicVMVNx-24430305-84166075 launched on Node cn-jenkins-deploy-platform-ansible-os-1843-1 2024-09-04 14:04:03,480 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/1f30554d-7a73-4b76-aac8-dca609308257 2024-09-04 14:04:03,775 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/1f30554d-7a73-4b76-aac8-dca609308257 2024-09-04 14:04:03,807 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/b335f9d6-db91-4888-ba06-5d79a4f3d9e7 2024-09-04 14:04:07,050 - 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 1008ms') 2024-09-04 14:04:07,050 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-24430305-84166075 failed! 2024-09-04 14:04:07,102 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-24430305:ctest-vn-52332275 is 220.17.178.1 and allocation pool is NOT set 2024-09-04 14:04:09,165 - 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.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.817 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.817/2.660/4.503/1.843 ms') 2024-09-04 14:04:09,166 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-24430305-84166075 passed 2024-09-04 14:04:09,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 14:04:09,314 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-24430305-84166075, IP 220.17.178.3, Port 22 2024-09-04 14:04:09,469 - DEBUG - VM ctest-TestBasicVMVNx-24430305-84166075 is ready for SSH connections 2024-09-04 14:04:09,469 - INFO - Waiting for VM ctest-TestBasicVMVNx-24430305-01395598 to be up.. 2024-09-04 14:04:09,540 - DEBUG - VM is in ACTIVE state now 2024-09-04 14:04:09,540 - INFO - VM name : ctest-TestBasicVMVNx-24430305-01395598 2024-09-04 14:04:09,610 - DEBUG - VM ctest-TestBasicVMVNx-24430305-01395598 ID is b1f2b274-1513-4926-bbbd-654ca3ca170f 2024-09-04 14:04:09,610 - DEBUG - VM ctest-TestBasicVMVNx-24430305-01395598 launched on Node cn-jenkins-deploy-platform-ansible-os-1843-1 2024-09-04 14:04:09,681 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/b1f2b274-1513-4926-bbbd-654ca3ca170f 2024-09-04 14:04:09,688 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/ebf5cbd7-e516-4159-9383-bb6b8f4ded09 2024-09-04 14:04:10,920 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.461 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.461/1.547/2.633/1.086 ms') 2024-09-04 14:04:10,920 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-24430305-01395598 passed 2024-09-04 14:04:11,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 14:04:11,074 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-24430305-01395598, IP 220.17.178.4, Port 22 2024-09-04 14:04:11,225 - DEBUG - VM ctest-TestBasicVMVNx-24430305-01395598 is ready for SSH connections 2024-09-04 14:04:11,225 - DEBUG - FILE SIZE = 1303B 2024-09-04 14:04:11,225 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-24430305-84166075 to ctest-TestBasicVMVNx-24430305-01395598 using scp 2024-09-04 14:04:11,226 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 14:04:11,231 - 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.23, gateway password: c0ntrail123 2024-09-04 14:04:11,231 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-04 14:04:13,115 - DEBUG - 1+0 records in 1+0 records out 2024-09-04 14:04:13,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 14:04:14,024 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2024-09-04 14:04:14,024 - DEBUG - ls -l testfile 2024-09-04 14:04:15,584 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 4 08:04 testfile 2024-09-04 14:04:15,584 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-24430305-01395598 2024-09-04 14:04:15,584 - INFO - Deleting VM ctest-TestBasicVMVNx-24430305-01395598 2024-09-04 14:04:15,646 - INFO - Deleting VM ctest-TestBasicVMVNx-24430305-84166075 2024-09-04 14:04:15,711 - INFO - Deleting VN ctest-vn-52332275 2024-09-04 14:04:15,748 - DEBUG - VN c03d636b-31fd-43d4-a140-16ad9a725b16 still in use: Unable to complete operation on network c03d636b-31fd-43d4-a140-16ad9a725b16. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2e3ae561-483a-46a9-aa1d-afcb7b3305be'] 2024-09-04 14:04:15,748 - WARNING - Deleting VN ctest-vn-52332275 failed..Will retry 2024-09-04 14:04:17,850 - DEBUG - Response for deleting network () 2024-09-04 14:04:18,103 - DEBUG - No XMPP flaps were noticed during the test 2024-09-04 14:04:18,103 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-09-04 14:04:18,103 - INFO - -------------------------------------------------------------------------------- 2024-09-04 14:04:18,772 - INFO - Deleted project: ctest-TestBasicVMVNx-24430305, ID : 3dda992f-6618-4309-bbbf-abb7663a4726