2024-08-24 02:33:11,711 - INFO - Domain Default found not creating 2024-08-24 02:33:11,882 - INFO - Project ctest-TestBasicVMVNx-90548116 not found, creating it 2024-08-24 02:33:12,358 - INFO - Created Project:ctest-TestBasicVMVNx-90548116, ID : d8498a9e-6ecd-47e4-90f9-6a5e5980bf14 2024-08-24 02:33:13,796 - INFO - ================================================================================ 2024-08-24 02:33:13,797 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-24 02:33:13,797 - 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-24 02:33:14,051 - DEBUG - Nothing to compare xmpp stats {'10.0.0.52': {'10.20.0.6': '0'}} with 2024-08-24 02:33:14,051 - INFO - Initial checks done. Running the testcase now 2024-08-24 02:33:14,051 - INFO - 2024-08-24 02:33:14,607 - DEBUG - Response for create_network : {'network': {'id': '26d8bf41-b7db-42c5-8327-3862959209d8', 'name': 'ctest-vn-07843768', 'tenant_id': 'd8498a9e6ecd47e490f96a5e5980bf14', 'project_id': 'd8498a9e6ecd47e490f96a5e5980bf14', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-90548116', 'ctest-vn-07843768'], 'port_security_enabled': True, 'description': ''}} 2024-08-24 02:33:14,752 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ce74ade1-e5b8-4fc2-b30c-394aae12eb37', 'name': '', 'tenant_id': 'd8498a9e6ecd47e490f96a5e5980bf14', 'network_id': '26d8bf41-b7db-42c5-8327-3862959209d8', 'ip_version': 4, 'cidr': '112.49.92.128/26', 'allocation_pools': [{'start': '112.49.92.130', 'end': '112.49.92.190'}], 'gateway_ip': '112.49.92.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.49.92.130', 'tags': [], 'project_id': 'd8498a9e6ecd47e490f96a5e5980bf14'}} 2024-08-24 02:33:14,770 - INFO - Created VN ctest-vn-07843768 2024-08-24 02:33:14,821 - DEBUG - VN ctest-vn-07843768 UUID is 26d8bf41-b7db-42c5-8327-3862959209d8 2024-08-24 02:33:15,021 - DEBUG - Services list from nova: [, , ] 2024-08-24 02:33:16,110 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1738-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1738-1) 2024-08-24 02:33:17,206 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1738-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1738-1) 2024-08-24 02:33:17,206 - INFO - Waiting for VM ctest-TestBasicVMVNx-90548116-00173911 to be up.. 2024-08-24 02:33:17,280 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-24 02:33:22,357 - DEBUG - VM is in ACTIVE state now 2024-08-24 02:33:22,357 - INFO - VM name : ctest-TestBasicVMVNx-90548116-00173911 2024-08-24 02:33:22,434 - DEBUG - VM ctest-TestBasicVMVNx-90548116-00173911 ID is 62dfe274-cf21-4acc-a065-fbfa758029aa 2024-08-24 02:33:22,453 - DEBUG - VM ctest-TestBasicVMVNx-90548116-00173911 launched on Node cn-jenkins-deploy-platform-ansible-os-1738-1 2024-08-24 02:33:22,528 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/62dfe274-cf21-4acc-a065-fbfa758029aa 2024-08-24 02:33:22,846 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/62dfe274-cf21-4acc-a065-fbfa758029aa 2024-08-24 02:33:22,882 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/59a567ec-1287-45d9-ab31-fa5fbe1c1fbb 2024-08-24 02:33:26,171 - 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 1023ms') 2024-08-24 02:33:26,171 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-90548116-00173911 failed! 2024-08-24 02:33:26,226 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-90548116:ctest-vn-07843768 is 112.49.92.129 and allocation pool is NOT set 2024-08-24 02:33:28,280 - 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=6.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.449 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.449/3.475/6.501/3.026 ms') 2024-08-24 02:33:28,280 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-90548116-00173911 passed 2024-08-24 02:33:28,429 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 02:33:28,430 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-90548116-00173911, IP 112.49.92.131, Port 22 2024-08-24 02:33:28,581 - DEBUG - VM ctest-TestBasicVMVNx-90548116-00173911 is ready for SSH connections 2024-08-24 02:33:28,581 - INFO - Waiting for VM ctest-TestBasicVMVNx-90548116-45510794 to be up.. 2024-08-24 02:33:28,661 - DEBUG - VM is in ACTIVE state now 2024-08-24 02:33:28,661 - INFO - VM name : ctest-TestBasicVMVNx-90548116-45510794 2024-08-24 02:33:28,744 - DEBUG - VM ctest-TestBasicVMVNx-90548116-45510794 ID is 52e4edec-71e4-4e6c-a343-b899e5e6a031 2024-08-24 02:33:28,744 - DEBUG - VM ctest-TestBasicVMVNx-90548116-45510794 launched on Node cn-jenkins-deploy-platform-ansible-os-1738-1 2024-08-24 02:33:28,816 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/52e4edec-71e4-4e6c-a343-b899e5e6a031 2024-08-24 02:33:28,824 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/34595a36-007b-46b4-b97e-08ff885d386b 2024-08-24 02:33:30,059 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.423 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.423/1.803/3.183/1.380 ms') 2024-08-24 02:33:30,059 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-90548116-45510794 passed 2024-08-24 02:33:30,210 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 02:33:30,210 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-90548116-45510794, IP 112.49.92.132, Port 22 2024-08-24 02:33:30,360 - DEBUG - VM ctest-TestBasicVMVNx-90548116-45510794 is ready for SSH connections 2024-08-24 02:33:30,361 - DEBUG - FILE SIZE = 1303B 2024-08-24 02:33:30,361 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-90548116-00173911 to ctest-TestBasicVMVNx-90548116-45510794 using scp 2024-08-24 02:33:30,361 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 02:33:30,366 - 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.52, gateway password: c0ntrail123 2024-08-24 02:33:30,366 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-24 02:33:36,488 - DEBUG - 1+0 records in 1+0 records out 2024-08-24 02:33:37,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 02:33:37,367 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.52, gateway password: c0ntrail123 2024-08-24 02:33:37,367 - DEBUG - ls -l testfile 2024-08-24 02:33:38,916 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 23 20:33 testfile 2024-08-24 02:33:38,917 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-90548116-45510794 2024-08-24 02:33:38,917 - INFO - Deleting VM ctest-TestBasicVMVNx-90548116-45510794 2024-08-24 02:33:46,714 - INFO - Deleting VM ctest-TestBasicVMVNx-90548116-00173911 2024-08-24 02:33:46,796 - INFO - Deleting VN ctest-vn-07843768 2024-08-24 02:33:46,844 - DEBUG - VN 26d8bf41-b7db-42c5-8327-3862959209d8 still in use: Unable to complete operation on network 26d8bf41-b7db-42c5-8327-3862959209d8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2219eb09-3708-47d2-8f11-fb66a9d0395d'] 2024-08-24 02:33:46,844 - WARNING - Deleting VN ctest-vn-07843768 failed..Will retry 2024-08-24 02:33:48,945 - DEBUG - Response for deleting network () 2024-08-24 02:33:49,199 - DEBUG - No XMPP flaps were noticed during the test
2024-08-24 02:33:49,199 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:36]
2024-08-24 02:33:49,199 - INFO - -------------------------------------------------------------------------------- 2024-08-24 02:33:49,879 - INFO - Deleted project: ctest-TestBasicVMVNx-90548116, ID : d8498a9e-6ecd-47e4-90f9-6a5e5980bf14