2024-11-08 14:02:25,032 - INFO - Domain Default found not creating 2024-11-08 14:02:25,232 - INFO - Project ctest-TestBasicVMVNx-47256152 not found, creating it 2024-11-08 14:02:25,754 - INFO - Created Project:ctest-TestBasicVMVNx-47256152, ID : e895480a-7b72-4200-b30e-4719ad5af8ee 2024-11-08 14:02:27,264 - INFO - ================================================================================ 2024-11-08 14:02:27,264 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-08 14:02:27,264 - 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-11-08 14:02:27,518 - DEBUG - Nothing to compare xmpp stats {'10.0.0.52': {'10.20.0.13': '0'}} with 2024-11-08 14:02:27,518 - INFO - Initial checks done. Running the testcase now 2024-11-08 14:02:27,518 - INFO - 2024-11-08 14:02:28,119 - DEBUG - Response for create_network : {'network': {'id': 'b68bcb72-fd69-426c-9b11-b0a5d72ac961', 'name': 'ctest-vn-34236361', 'tenant_id': 'e895480a7b724200b30e4719ad5af8ee', 'project_id': 'e895480a7b724200b30e4719ad5af8ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-47256152', 'ctest-vn-34236361'], 'port_security_enabled': True, 'description': ''}} 2024-11-08 14:02:28,321 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b1524ba4-681d-46f4-9945-dbd691a4693b', 'name': '', 'tenant_id': 'e895480a7b724200b30e4719ad5af8ee', 'network_id': 'b68bcb72-fd69-426c-9b11-b0a5d72ac961', 'ip_version': 4, 'cidr': '141.235.57.128/26', 'allocation_pools': [{'start': '141.235.57.130', 'end': '141.235.57.190'}], 'gateway_ip': '141.235.57.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.235.57.130', 'tags': [], 'project_id': 'e895480a7b724200b30e4719ad5af8ee'}} 2024-11-08 14:02:28,339 - INFO - Created VN ctest-vn-34236361 2024-11-08 14:02:28,397 - DEBUG - VN ctest-vn-34236361 UUID is b68bcb72-fd69-426c-9b11-b0a5d72ac961 2024-11-08 14:02:28,575 - DEBUG - Services list from nova: [, , ] 2024-11-08 14:02:29,915 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2227-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2227-1) 2024-11-08 14:02:31,172 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2227-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2227-1) 2024-11-08 14:02:31,173 - INFO - Waiting for VM ctest-TestBasicVMVNx-47256152-50380241 to be up.. 2024-11-08 14:02:31,271 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-08 14:02:36,358 - DEBUG - VM is in ACTIVE state now 2024-11-08 14:02:36,358 - INFO - VM name : ctest-TestBasicVMVNx-47256152-50380241 2024-11-08 14:02:36,442 - DEBUG - VM ctest-TestBasicVMVNx-47256152-50380241 ID is 3e397ed0-98f2-4d2b-9819-60caf6462c93 2024-11-08 14:02:36,477 - DEBUG - VM ctest-TestBasicVMVNx-47256152-50380241 launched on Node cn-jenkins-deploy-platform-ansible-os-2227-1 2024-11-08 14:02:36,566 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/3e397ed0-98f2-4d2b-9819-60caf6462c93 2024-11-08 14:02:36,877 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/3e397ed0-98f2-4d2b-9819-60caf6462c93 2024-11-08 14:02:36,910 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/c6964f61-a26d-4e20-b490-47f26abda339 2024-11-08 14:02:40,186 - 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 1031ms') 2024-11-08 14:02:40,186 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-47256152-50380241 failed! 2024-11-08 14:02:40,245 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-47256152:ctest-vn-34236361 is 141.235.57.129 and allocation pool is NOT set 2024-11-08 14:02:42,305 - 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=4.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.530 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.530/2.468/4.407/1.938 ms') 2024-11-08 14:02:42,305 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-47256152-50380241 passed 2024-11-08 14:02:42,461 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 14:02:42,461 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-47256152-50380241, IP 141.235.57.131, Port 22 2024-11-08 14:02:42,628 - DEBUG - VM ctest-TestBasicVMVNx-47256152-50380241 is ready for SSH connections 2024-11-08 14:02:42,628 - INFO - Waiting for VM ctest-TestBasicVMVNx-47256152-35231161 to be up.. 2024-11-08 14:02:42,706 - DEBUG - VM is in ACTIVE state now 2024-11-08 14:02:42,707 - INFO - VM name : ctest-TestBasicVMVNx-47256152-35231161 2024-11-08 14:02:42,787 - DEBUG - VM ctest-TestBasicVMVNx-47256152-35231161 ID is 1d97005f-1593-4596-a4ab-8e064fd1b68e 2024-11-08 14:02:42,788 - DEBUG - VM ctest-TestBasicVMVNx-47256152-35231161 launched on Node cn-jenkins-deploy-platform-ansible-os-2227-1 2024-11-08 14:02:42,872 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/1d97005f-1593-4596-a4ab-8e064fd1b68e 2024-11-08 14:02:42,888 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/02709631-7caf-4f7b-a7ed-aa23c1cf8576 2024-11-08 14:02:44,147 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.23 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 = 1.233/2.450/3.667/1.217 ms') 2024-11-08 14:02:44,147 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-47256152-35231161 passed 2024-11-08 14:02:44,317 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 14:02:44,317 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-47256152-35231161, IP 141.235.57.132, Port 22 2024-11-08 14:02:44,484 - DEBUG - VM ctest-TestBasicVMVNx-47256152-35231161 is ready for SSH connections 2024-11-08 14:02:44,484 - DEBUG - FILE SIZE = 1303B 2024-11-08 14:02:44,484 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-47256152-50380241 to ctest-TestBasicVMVNx-47256152-35231161 using scp 2024-11-08 14:02:44,484 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 14:02:44,489 - 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-11-08 14:02:44,489 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-08 14:02:46,387 - DEBUG - 1+0 records in 1+0 records out 2024-11-08 14:02:47,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 14:02:47,502 - 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-11-08 14:02:47,502 - DEBUG - ls -l testfile 2024-11-08 14:02:49,136 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 8 07:02 testfile 2024-11-08 14:02:49,136 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-47256152-35231161 2024-11-08 14:02:49,136 - INFO - Deleting VM ctest-TestBasicVMVNx-47256152-35231161 2024-11-08 14:02:49,209 - INFO - Deleting VM ctest-TestBasicVMVNx-47256152-50380241 2024-11-08 14:02:49,286 - INFO - Deleting VN ctest-vn-34236361 2024-11-08 14:02:49,326 - DEBUG - VN b68bcb72-fd69-426c-9b11-b0a5d72ac961 still in use: Unable to complete operation on network b68bcb72-fd69-426c-9b11-b0a5d72ac961. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0d0de1fe-f0fa-4a6c-90ae-d240e8d55137'] 2024-11-08 14:02:49,326 - WARNING - Deleting VN ctest-vn-34236361 failed..Will retry 2024-11-08 14:02:51,465 - DEBUG - Response for deleting network () 2024-11-08 14:02:51,719 - DEBUG - No XMPP flaps were noticed during the test 2024-11-08 14:02:51,719 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-11-08 14:02:51,719 - INFO - -------------------------------------------------------------------------------- 2024-11-08 14:02:52,481 - INFO - Deleted project: ctest-TestBasicVMVNx-47256152, ID : e895480a-7b72-4200-b30e-4719ad5af8ee