2024-09-17 09:28:21,103 - INFO - Domain Default found not creating 2024-09-17 09:28:21,274 - INFO - Project ctest-TestBasicVMVNx-03899335 not found, creating it 2024-09-17 09:28:21,791 - INFO - Created Project:ctest-TestBasicVMVNx-03899335, ID : e609c1ca-9c4f-43c1-bbb9-c77ed46fa216 2024-09-17 09:28:23,256 - INFO - ================================================================================ 2024-09-17 09:28:23,256 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-17 09:28:23,256 - 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:28:23,508 - DEBUG - Nothing to compare xmpp stats {'10.0.0.47': {'10.20.0.18': '0'}} with 2024-09-17 09:28:23,508 - INFO - Initial checks done. Running the testcase now 2024-09-17 09:28:23,508 - INFO - 2024-09-17 09:28:24,078 - DEBUG - Response for create_network : {'network': {'id': '252e1954-a420-45b3-9630-1ac714f5f8b2', 'name': 'ctest-vn-88297077', 'tenant_id': 'e609c1ca9c4f43c1bbb9c77ed46fa216', 'project_id': 'e609c1ca9c4f43c1bbb9c77ed46fa216', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-03899335', 'ctest-vn-88297077'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 09:28:24,251 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9577e92-bc55-4d24-8fc7-fe91c3210c25', 'name': '', 'tenant_id': 'e609c1ca9c4f43c1bbb9c77ed46fa216', 'network_id': '252e1954-a420-45b3-9630-1ac714f5f8b2', 'ip_version': 4, 'cidr': '99.83.128.128/26', 'allocation_pools': [{'start': '99.83.128.130', 'end': '99.83.128.190'}], 'gateway_ip': '99.83.128.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.83.128.130', 'tags': [], 'project_id': 'e609c1ca9c4f43c1bbb9c77ed46fa216'}} 2024-09-17 09:28:24,272 - INFO - Created VN ctest-vn-88297077 2024-09-17 09:28:24,331 - DEBUG - VN ctest-vn-88297077 UUID is 252e1954-a420-45b3-9630-1ac714f5f8b2 2024-09-17 09:28:24,597 - DEBUG - Services list from nova: [, , ] 2024-09-17 09:28:25,623 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1957-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1957-1) 2024-09-17 09:28:26,762 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1957-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1957-1) 2024-09-17 09:28:26,762 - INFO - Waiting for VM ctest-TestBasicVMVNx-03899335-26398266 to be up.. 2024-09-17 09:28:26,875 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-17 09:28:31,954 - DEBUG - VM is in ACTIVE state now 2024-09-17 09:28:31,954 - INFO - VM name : ctest-TestBasicVMVNx-03899335-26398266 2024-09-17 09:28:32,031 - DEBUG - VM ctest-TestBasicVMVNx-03899335-26398266 ID is f2d75d54-7c80-4527-8761-f9234227b336 2024-09-17 09:28:32,048 - DEBUG - VM ctest-TestBasicVMVNx-03899335-26398266 launched on Node cn-jenkins-deploy-platform-ansible-os-1957-1 2024-09-17 09:28:32,137 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/f2d75d54-7c80-4527-8761-f9234227b336 2024-09-17 09:28:32,435 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/f2d75d54-7c80-4527-8761-f9234227b336 2024-09-17 09:28:32,471 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine-interface/745ef7d0-43e7-4d66-ad45-98b0d3771934 2024-09-17 09:28:35,726 - 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 1003ms') 2024-09-17 09:28:35,726 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-03899335-26398266 failed! 2024-09-17 09:28:35,788 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-03899335:ctest-vn-88297077 is 99.83.128.129 and allocation pool is NOT set 2024-09-17 09:28:37,852 - 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.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.442 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.442/2.074/3.706/1.632 ms') 2024-09-17 09:28:37,852 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-03899335-26398266 passed 2024-09-17 09:28:38,011 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 09:28:38,011 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-03899335-26398266, IP 99.83.128.131, Port 22 2024-09-17 09:28:38,189 - DEBUG - VM ctest-TestBasicVMVNx-03899335-26398266 is ready for SSH connections 2024-09-17 09:28:38,189 - INFO - Waiting for VM ctest-TestBasicVMVNx-03899335-16148109 to be up.. 2024-09-17 09:28:38,270 - DEBUG - VM is in ACTIVE state now 2024-09-17 09:28:38,270 - INFO - VM name : ctest-TestBasicVMVNx-03899335-16148109 2024-09-17 09:28:38,347 - DEBUG - VM ctest-TestBasicVMVNx-03899335-16148109 ID is d1c34a03-c9c2-4d44-8a7f-e45d5f0f47aa 2024-09-17 09:28:38,348 - DEBUG - VM ctest-TestBasicVMVNx-03899335-16148109 launched on Node cn-jenkins-deploy-platform-ansible-os-1957-1 2024-09-17 09:28:38,437 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/d1c34a03-c9c2-4d44-8a7f-e45d5f0f47aa 2024-09-17 09:28:38,447 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine-interface/f3ab9f5f-f6e7-4306-bac3-cf35cfe31d4b 2024-09-17 09:28:39,693 - 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.50 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.364 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.364/1.931/3.498/1.567 ms') 2024-09-17 09:28:39,693 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-03899335-16148109 passed 2024-09-17 09:28:39,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 09:28:39,855 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-03899335-16148109, IP 99.83.128.132, Port 22 2024-09-17 09:28:40,022 - DEBUG - VM ctest-TestBasicVMVNx-03899335-16148109 is ready for SSH connections 2024-09-17 09:28:40,022 - DEBUG - FILE SIZE = 1303B 2024-09-17 09:28:40,022 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-03899335-26398266 to ctest-TestBasicVMVNx-03899335-16148109 using scp 2024-09-17 09:28:40,023 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 09:28:40,031 - 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.47, gateway password: c0ntrail123 2024-09-17 09:28:40,031 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-17 09:28:41,926 - DEBUG - 1+0 records in 1+0 records out 2024-09-17 09:28:42,688 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 09:28:43,008 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.47, gateway password: c0ntrail123 2024-09-17 09:28:43,008 - DEBUG - ls -l testfile 2024-09-17 09:28:44,582 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 17 03:28 testfile 2024-09-17 09:28:44,582 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-03899335-16148109 2024-09-17 09:28:44,582 - INFO - Deleting VM ctest-TestBasicVMVNx-03899335-16148109 2024-09-17 09:28:44,669 - INFO - Deleting VM ctest-TestBasicVMVNx-03899335-26398266 2024-09-17 09:28:44,734 - INFO - Deleting VN ctest-vn-88297077 2024-09-17 09:28:44,777 - DEBUG - VN 252e1954-a420-45b3-9630-1ac714f5f8b2 still in use: Unable to complete operation on network 252e1954-a420-45b3-9630-1ac714f5f8b2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-141f60b9-e40e-4483-8a5f-6f975c212126'] 2024-09-17 09:28:44,777 - WARNING - Deleting VN ctest-vn-88297077 failed..Will retry 2024-09-17 09:28:46,887 - DEBUG - Response for deleting network () 2024-09-17 09:28:47,145 - DEBUG - No XMPP flaps were noticed during the test 2024-09-17 09:28:47,145 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-09-17 09:28:47,145 - INFO - -------------------------------------------------------------------------------- 2024-09-17 09:28:47,868 - INFO - Deleted project: ctest-TestBasicVMVNx-03899335, ID : e609c1ca-9c4f-43c1-bbb9-c77ed46fa216