2024-10-23 15:06:45,910 - INFO - Domain Default found not creating 2024-10-23 15:06:46,108 - INFO - Project ctest-TestBasicVMVNx-50091460 not found, creating it 2024-10-23 15:06:46,657 - INFO - Created Project:ctest-TestBasicVMVNx-50091460, ID : c9d8deed-1c39-4bfa-bdbb-a2185355945a 2024-10-23 15:06:48,441 - INFO - ================================================================================ 2024-10-23 15:06:48,441 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-23 15:06:48,441 - 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-10-23 15:06:48,730 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.11': '0'}} with 2024-10-23 15:06:48,730 - INFO - Initial checks done. Running the testcase now 2024-10-23 15:06:48,730 - INFO - 2024-10-23 15:06:49,342 - DEBUG - Response for create_network : {'network': {'id': '0eaa9edf-35b1-4216-8642-7f9e5ee4f54f', 'name': 'ctest-vn-18687994', 'tenant_id': 'c9d8deed1c394bfabdbba2185355945a', 'project_id': 'c9d8deed1c394bfabdbba2185355945a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-50091460', 'ctest-vn-18687994'], 'port_security_enabled': True, 'description': ''}} 2024-10-23 15:06:49,558 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af1db38e-cefd-4f96-8291-9cee4bbada07', 'name': '', 'tenant_id': 'c9d8deed1c394bfabdbba2185355945a', 'network_id': '0eaa9edf-35b1-4216-8642-7f9e5ee4f54f', 'ip_version': 4, 'cidr': '212.209.193.128/26', 'allocation_pools': [{'start': '212.209.193.130', 'end': '212.209.193.190'}], 'gateway_ip': '212.209.193.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.209.193.130', 'tags': [], 'project_id': 'c9d8deed1c394bfabdbba2185355945a'}} 2024-10-23 15:06:49,579 - INFO - Created VN ctest-vn-18687994 2024-10-23 15:06:49,636 - DEBUG - VN ctest-vn-18687994 UUID is 0eaa9edf-35b1-4216-8642-7f9e5ee4f54f 2024-10-23 15:06:49,823 - DEBUG - Services list from nova: [, , ] 2024-10-23 15:06:51,075 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2130-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2130-1) 2024-10-23 15:06:52,557 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2130-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2130-1) 2024-10-23 15:06:52,557 - INFO - Waiting for VM ctest-TestBasicVMVNx-50091460-21682533 to be up.. 2024-10-23 15:06:52,666 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-23 15:06:57,767 - DEBUG - VM is in ACTIVE state now 2024-10-23 15:06:57,767 - INFO - VM name : ctest-TestBasicVMVNx-50091460-21682533 2024-10-23 15:06:57,864 - DEBUG - VM ctest-TestBasicVMVNx-50091460-21682533 ID is 171c1409-1b3a-4858-b721-c64f757f8fdd 2024-10-23 15:06:57,885 - DEBUG - VM ctest-TestBasicVMVNx-50091460-21682533 launched on Node cn-jenkins-deploy-platform-ansible-os-2130-1 2024-10-23 15:06:57,976 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/171c1409-1b3a-4858-b721-c64f757f8fdd 2024-10-23 15:06:58,325 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/171c1409-1b3a-4858-b721-c64f757f8fdd 2024-10-23 15:06:58,375 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f5413be3-5342-4615-8b2b-52ffc0d39e69 2024-10-23 15:07:01,647 - 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 1006ms') 2024-10-23 15:07:02,321 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-50091460-21682533 failed! 2024-10-23 15:07:02,393 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-50091460:ctest-vn-18687994 is 212.209.193.129 and allocation pool is NOT set 2024-10-23 15:07:04,459 - 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=9.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.54 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 = 1.536/5.431/9.326/3.895 ms') 2024-10-23 15:07:04,459 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-50091460-21682533 passed 2024-10-23 15:07:04,629 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 15:07:04,629 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-50091460-21682533, IP 212.209.193.131, Port 22 2024-10-23 15:07:04,694 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2024-10-23 15:07:04,802 - DEBUG - VM ctest-TestBasicVMVNx-50091460-21682533 is NOT ready for SSH connections, VM status: ACTIVE 2024-10-23 15:07:09,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 15:07:09,803 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-50091460-21682533, IP 212.209.193.131, Port 22 2024-10-23 15:07:09,964 - DEBUG - VM ctest-TestBasicVMVNx-50091460-21682533 is ready for SSH connections 2024-10-23 15:07:09,965 - INFO - Waiting for VM ctest-TestBasicVMVNx-50091460-97437994 to be up.. 2024-10-23 15:07:10,049 - DEBUG - VM is in ACTIVE state now 2024-10-23 15:07:10,049 - INFO - VM name : ctest-TestBasicVMVNx-50091460-97437994 2024-10-23 15:07:10,127 - DEBUG - VM ctest-TestBasicVMVNx-50091460-97437994 ID is a4f225d6-a243-4c97-8a27-007e02866b4e 2024-10-23 15:07:10,127 - DEBUG - VM ctest-TestBasicVMVNx-50091460-97437994 launched on Node cn-jenkins-deploy-platform-ansible-os-2130-1 2024-10-23 15:07:10,204 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a4f225d6-a243-4c97-8a27-007e02866b4e 2024-10-23 15:07:10,213 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/30f77a58-f8a6-4467-821d-354da4d72f7b 2024-10-23 15:07:11,465 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.484 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.484/1.877/3.270/1.393 ms') 2024-10-23 15:07:11,466 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-50091460-97437994 passed 2024-10-23 15:07:11,624 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 15:07:11,625 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-50091460-97437994, IP 212.209.193.132, Port 22 2024-10-23 15:07:11,790 - DEBUG - VM ctest-TestBasicVMVNx-50091460-97437994 is ready for SSH connections 2024-10-23 15:07:11,790 - DEBUG - FILE SIZE = 1303B 2024-10-23 15:07:11,790 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-50091460-21682533 to ctest-TestBasicVMVNx-50091460-97437994 using scp 2024-10-23 15:07:11,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 15:07:11,798 - 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.33, gateway password: c0ntrail123 2024-10-23 15:07:11,798 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-23 15:07:13,765 - DEBUG - 1+0 records in 1+0 records out 2024-10-23 15:07:14,665 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 15:07:15,037 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2024-10-23 15:07:15,037 - DEBUG - ls -l testfile 2024-10-23 15:07:16,704 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 23 09:07 testfile 2024-10-23 15:07:16,704 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-50091460-97437994 2024-10-23 15:07:16,704 - INFO - Deleting VM ctest-TestBasicVMVNx-50091460-97437994 2024-10-23 15:07:16,780 - INFO - Deleting VM ctest-TestBasicVMVNx-50091460-21682533 2024-10-23 15:07:16,999 - INFO - Deleting VN ctest-vn-18687994 2024-10-23 15:07:17,059 - DEBUG - VN 0eaa9edf-35b1-4216-8642-7f9e5ee4f54f still in use: Unable to complete operation on network 0eaa9edf-35b1-4216-8642-7f9e5ee4f54f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8499f4e4-96fa-4b63-9a3b-947071ceb7c5'] 2024-10-23 15:07:17,059 - WARNING - Deleting VN ctest-vn-18687994 failed..Will retry 2024-10-23 15:07:19,175 - DEBUG - Response for deleting network () 2024-10-23 15:07:19,431 - DEBUG - No XMPP flaps were noticed during the test
2024-10-23 15:07:19,431 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:31]
2024-10-23 15:07:19,432 - INFO - -------------------------------------------------------------------------------- 2024-10-23 15:07:20,186 - INFO - Deleted project: ctest-TestBasicVMVNx-50091460, ID : c9d8deed-1c39-4bfa-bdbb-a2185355945a