2024-09-17 09:46:05,753 - INFO - Domain Default found not creating 2024-09-17 09:46:05,949 - INFO - Project ctest-TestBasicVMVNx-89650346 not found, creating it 2024-09-17 09:46:06,476 - INFO - Created Project:ctest-TestBasicVMVNx-89650346, ID : 431f8b22-c7b2-4c28-8c2e-f05e33fea0be 2024-09-17 09:46:08,229 - INFO - ================================================================================ 2024-09-17 09:46:08,229 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-17 09:46:08,229 - 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 09:46:08,504 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.20': '0'}} with 2024-09-17 09:46:08,504 - INFO - Initial checks done. Running the testcase now 2024-09-17 09:46:08,504 - INFO - 2024-09-17 09:46:09,161 - DEBUG - Response for create_network : {'network': {'id': 'b6cf5ae5-c76c-4179-ae9f-3dd4335ad503', 'name': 'ctest-vn-24137304', 'tenant_id': '431f8b22c7b24c288c2ef05e33fea0be', 'project_id': '431f8b22c7b24c288c2ef05e33fea0be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-89650346', 'ctest-vn-24137304'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 09:46:09,345 - DEBUG - Response for create_subnet : {'subnet': {'id': '031e0503-10ae-443c-88f8-6e34beef731b', 'name': '', 'tenant_id': '431f8b22c7b24c288c2ef05e33fea0be', 'network_id': 'b6cf5ae5-c76c-4179-ae9f-3dd4335ad503', 'ip_version': 4, 'cidr': '207.20.215.128/26', 'allocation_pools': [{'start': '207.20.215.130', 'end': '207.20.215.190'}], 'gateway_ip': '207.20.215.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.20.215.130', 'tags': [], 'project_id': '431f8b22c7b24c288c2ef05e33fea0be'}} 2024-09-17 09:46:09,365 - INFO - Created VN ctest-vn-24137304 2024-09-17 09:46:09,425 - DEBUG - VN ctest-vn-24137304 UUID is b6cf5ae5-c76c-4179-ae9f-3dd4335ad503 2024-09-17 09:46:09,615 - DEBUG - Services list from nova: [, , ] 2024-09-17 09:46:10,810 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1958-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1958-1) 2024-09-17 09:46:12,144 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1958-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1958-1) 2024-09-17 09:46:12,144 - INFO - Waiting for VM ctest-TestBasicVMVNx-89650346-66563021 to be up.. 2024-09-17 09:46:12,249 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-17 09:46:17,348 - DEBUG - VM is in ACTIVE state now 2024-09-17 09:46:17,348 - INFO - VM name : ctest-TestBasicVMVNx-89650346-66563021 2024-09-17 09:46:17,449 - DEBUG - VM ctest-TestBasicVMVNx-89650346-66563021 ID is 29a1a8d5-2bc6-4ea9-82af-a03018fe1a63 2024-09-17 09:46:17,474 - DEBUG - VM ctest-TestBasicVMVNx-89650346-66563021 launched on Node cn-jenkins-deploy-platform-ansible-os-1958-1 2024-09-17 09:46:17,582 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/29a1a8d5-2bc6-4ea9-82af-a03018fe1a63 2024-09-17 09:46:17,930 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/29a1a8d5-2bc6-4ea9-82af-a03018fe1a63 2024-09-17 09:46:17,974 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/38988e65-4e85-4a84-9998-c9bf6f6b6c6e 2024-09-17 09:46:21,241 - 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 1001ms') 2024-09-17 09:46:21,241 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-89650346-66563021 failed! 2024-09-17 09:46:21,301 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-89650346:ctest-vn-24137304 is 207.20.215.129 and allocation pool is NOT set 2024-09-17 09:46:23,379 - 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=8.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.39 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 = 2.394/5.480/8.566/3.086 ms') 2024-09-17 09:46:23,379 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-89650346-66563021 passed 2024-09-17 09:46:23,541 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 09:46:23,541 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-89650346-66563021, IP 207.20.215.131, Port 22 2024-09-17 09:46:23,708 - DEBUG - VM ctest-TestBasicVMVNx-89650346-66563021 is ready for SSH connections 2024-09-17 09:46:23,708 - INFO - Waiting for VM ctest-TestBasicVMVNx-89650346-05595842 to be up.. 2024-09-17 09:46:23,841 - DEBUG - VM is in ACTIVE state now 2024-09-17 09:46:23,841 - INFO - VM name : ctest-TestBasicVMVNx-89650346-05595842 2024-09-17 09:46:23,940 - DEBUG - VM ctest-TestBasicVMVNx-89650346-05595842 ID is b8a353be-6f14-4c53-b14a-83a039386c00 2024-09-17 09:46:23,941 - DEBUG - VM ctest-TestBasicVMVNx-89650346-05595842 launched on Node cn-jenkins-deploy-platform-ansible-os-1958-1 2024-09-17 09:46:24,050 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b8a353be-6f14-4c53-b14a-83a039386c00 2024-09-17 09:46:24,070 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1902ab3a-a920-438e-abd7-a5dbcb3b75ff 2024-09-17 09:46:25,329 - 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=6.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.946 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.946/3.486/6.027/2.540 ms') 2024-09-17 09:46:25,329 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-89650346-05595842 passed 2024-09-17 09:46:25,493 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 09:46:25,493 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-89650346-05595842, IP 207.20.215.132, Port 22 2024-09-17 09:46:25,663 - DEBUG - VM ctest-TestBasicVMVNx-89650346-05595842 is ready for SSH connections 2024-09-17 09:46:25,663 - DEBUG - FILE SIZE = 1303B 2024-09-17 09:46:25,663 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-89650346-66563021 to ctest-TestBasicVMVNx-89650346-05595842 using scp 2024-09-17 09:46:25,664 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 09:46:25,669 - 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.50, gateway password: c0ntrail123 2024-09-17 09:46:25,669 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-17 09:46:27,702 - DEBUG - 1+0 records in 1+0 records out 2024-09-17 09:46:28,577 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 09:46:28,923 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2024-09-17 09:46:28,923 - DEBUG - ls -l testfile 2024-09-17 09:46:30,579 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 17 03:46 testfile 2024-09-17 09:46:30,579 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-89650346-05595842 2024-09-17 09:46:30,580 - INFO - Deleting VM ctest-TestBasicVMVNx-89650346-05595842 2024-09-17 09:46:30,658 - INFO - Deleting VM ctest-TestBasicVMVNx-89650346-66563021 2024-09-17 09:46:30,742 - INFO - Deleting VN ctest-vn-24137304 2024-09-17 09:46:30,789 - DEBUG - VN b6cf5ae5-c76c-4179-ae9f-3dd4335ad503 still in use: Unable to complete operation on network b6cf5ae5-c76c-4179-ae9f-3dd4335ad503. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ef4e0c37-5076-4795-9903-94cd77455dca'] 2024-09-17 09:46:30,789 - WARNING - Deleting VN ctest-vn-24137304 failed..Will retry 2024-09-17 09:46:32,963 - DEBUG - Response for deleting network () 2024-09-17 09:46:33,243 - DEBUG - No XMPP flaps were noticed during the test 2024-09-17 09:46:33,243 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2024-09-17 09:46:33,243 - INFO - -------------------------------------------------------------------------------- 2024-09-17 09:46:34,040 - INFO - Deleted project: ctest-TestBasicVMVNx-89650346, ID : 431f8b22-c7b2-4c28-8c2e-f05e33fea0be