2024-10-28 02:23:31,185 - INFO - Domain Default found not creating 2024-10-28 02:23:31,375 - INFO - Project ctest-TestBasicVMVNx-34176037 not found, creating it 2024-10-28 02:23:31,896 - INFO - Created Project:ctest-TestBasicVMVNx-34176037, ID : 183ae548-a9a9-466a-8569-953987e4c96d 2024-10-28 02:23:33,590 - INFO - ================================================================================ 2024-10-28 02:23:33,590 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-28 02:23:33,590 - 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-28 02:23:33,846 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.13': '0'}} with 2024-10-28 02:23:33,846 - INFO - Initial checks done. Running the testcase now 2024-10-28 02:23:33,846 - INFO - 2024-10-28 02:23:34,498 - DEBUG - Response for create_network : {'network': {'id': '196e2476-3fd1-49fe-ace7-5d0412ebca89', 'name': 'ctest-vn-17255191', 'tenant_id': '183ae548a9a9466a8569953987e4c96d', 'project_id': '183ae548a9a9466a8569953987e4c96d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-34176037', 'ctest-vn-17255191'], 'port_security_enabled': True, 'description': ''}} 2024-10-28 02:23:34,726 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b693854e-623d-45ee-94d6-472df9db0d90', 'name': '', 'tenant_id': '183ae548a9a9466a8569953987e4c96d', 'network_id': '196e2476-3fd1-49fe-ace7-5d0412ebca89', 'ip_version': 4, 'cidr': '68.216.113.0/26', 'allocation_pools': [{'start': '68.216.113.2', 'end': '68.216.113.62'}], 'gateway_ip': '68.216.113.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.216.113.2', 'tags': [], 'project_id': '183ae548a9a9466a8569953987e4c96d'}} 2024-10-28 02:23:34,747 - INFO - Created VN ctest-vn-17255191 2024-10-28 02:23:34,800 - DEBUG - VN ctest-vn-17255191 UUID is 196e2476-3fd1-49fe-ace7-5d0412ebca89 2024-10-28 02:23:34,991 - DEBUG - Services list from nova: [, , ] 2024-10-28 02:23:36,199 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2156-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2156-1) 2024-10-28 02:23:37,490 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2156-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2156-1) 2024-10-28 02:23:37,490 - INFO - Waiting for VM ctest-TestBasicVMVNx-34176037-87886580 to be up.. 2024-10-28 02:23:37,589 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-28 02:23:42,847 - DEBUG - VM is in ACTIVE state now 2024-10-28 02:23:42,847 - INFO - VM name : ctest-TestBasicVMVNx-34176037-87886580 2024-10-28 02:23:42,953 - DEBUG - VM ctest-TestBasicVMVNx-34176037-87886580 ID is 7767661b-de1d-42d3-a597-cbf4840b91bd 2024-10-28 02:23:42,979 - DEBUG - VM ctest-TestBasicVMVNx-34176037-87886580 launched on Node cn-jenkins-deploy-platform-ansible-os-2156-1 2024-10-28 02:23:43,074 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/7767661b-de1d-42d3-a597-cbf4840b91bd 2024-10-28 02:23:43,413 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/7767661b-de1d-42d3-a597-cbf4840b91bd 2024-10-28 02:23:43,450 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/b3564309-e2f1-4fd0-a6fc-298e35e17a6c 2024-10-28 02:23:46,707 - 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 1014ms') 2024-10-28 02:23:46,707 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-34176037-87886580 failed! 2024-10-28 02:23:46,768 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-34176037:ctest-vn-17255191 is 68.216.113.1 and allocation pool is NOT set 2024-10-28 02:23:48,833 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.92 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 = 2.918/3.297/3.676/0.379 ms') 2024-10-28 02:23:48,833 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-34176037-87886580 passed 2024-10-28 02:23:48,984 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 02:23:48,984 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-34176037-87886580, IP 68.216.113.3, Port 22 2024-10-28 02:23:49,149 - DEBUG - VM ctest-TestBasicVMVNx-34176037-87886580 is ready for SSH connections 2024-10-28 02:23:49,149 - INFO - Waiting for VM ctest-TestBasicVMVNx-34176037-90060678 to be up.. 2024-10-28 02:23:49,242 - DEBUG - VM is in ACTIVE state now 2024-10-28 02:23:49,242 - INFO - VM name : ctest-TestBasicVMVNx-34176037-90060678 2024-10-28 02:23:49,349 - DEBUG - VM ctest-TestBasicVMVNx-34176037-90060678 ID is e85de56b-9320-4c4b-977f-c67ef79ea2ae 2024-10-28 02:23:49,349 - DEBUG - VM ctest-TestBasicVMVNx-34176037-90060678 launched on Node cn-jenkins-deploy-platform-ansible-os-2156-1 2024-10-28 02:23:49,449 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/e85de56b-9320-4c4b-977f-c67ef79ea2ae 2024-10-28 02:23:49,461 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/e83a2302-6209-49ac-bddc-c43b246defe8 2024-10-28 02:23:50,720 - 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=4.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.922 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.922/2.861/4.801/1.939 ms') 2024-10-28 02:23:50,720 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-34176037-90060678 passed 2024-10-28 02:23:50,884 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 02:23:50,884 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-34176037-90060678, IP 68.216.113.4, Port 22 2024-10-28 02:23:51,040 - DEBUG - VM ctest-TestBasicVMVNx-34176037-90060678 is ready for SSH connections 2024-10-28 02:23:51,040 - DEBUG - FILE SIZE = 1303B 2024-10-28 02:23:51,040 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-34176037-87886580 to ctest-TestBasicVMVNx-34176037-90060678 using scp 2024-10-28 02:23:51,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 02:23:51,046 - 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.42, gateway password: c0ntrail123 2024-10-28 02:23:51,046 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-28 02:23:53,075 - DEBUG - 1+0 records in 1+0 records out 2024-10-28 02:23:53,749 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 02:23:54,108 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2024-10-28 02:23:54,108 - DEBUG - ls -l testfile 2024-10-28 02:23:55,750 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 27 20:23 testfile 2024-10-28 02:23:55,750 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-34176037-90060678 2024-10-28 02:23:55,750 - INFO - Deleting VM ctest-TestBasicVMVNx-34176037-90060678 2024-10-28 02:23:55,835 - INFO - Deleting VM ctest-TestBasicVMVNx-34176037-87886580 2024-10-28 02:23:55,908 - INFO - Deleting VN ctest-vn-17255191 2024-10-28 02:23:55,950 - DEBUG - VN 196e2476-3fd1-49fe-ace7-5d0412ebca89 still in use: Unable to complete operation on network 196e2476-3fd1-49fe-ace7-5d0412ebca89. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-58e72fd9-e2c2-457f-ad30-c3e5252bdeaa'] 2024-10-28 02:23:55,950 - WARNING - Deleting VN ctest-vn-17255191 failed..Will retry 2024-10-28 02:23:58,088 - DEBUG - Response for deleting network () 2024-10-28 02:23:58,365 - DEBUG - No XMPP flaps were noticed during the test 2024-10-28 02:23:58,365 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2024-10-28 02:23:58,365 - INFO - -------------------------------------------------------------------------------- 2024-10-28 02:23:59,174 - INFO - Deleted project: ctest-TestBasicVMVNx-34176037, ID : 183ae548-a9a9-466a-8569-953987e4c96d