2025-02-20 00:22:16,093 - INFO - Domain Default found not creating 2025-02-20 00:22:16,267 - INFO - Project ctest-TestBasicVMVNx-96008530 not found, creating it 2025-02-20 00:22:16,773 - INFO - Created Project:ctest-TestBasicVMVNx-96008530, ID : 0ce5641c-7211-4ecf-bc7d-0e63ee3177c6 2025-02-20 00:22:18,401 - INFO - ================================================================================ 2025-02-20 00:22:18,401 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-02-20 00:22:18,401 - 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 2025-02-20 00:22:18,656 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.8': '0'}} with 2025-02-20 00:22:18,656 - INFO - Initial checks done. Running the testcase now 2025-02-20 00:22:18,656 - INFO - 2025-02-20 00:22:19,265 - DEBUG - Response for create_network : {'network': {'id': '831052cd-35c0-4f2b-b220-dc633cb3cdf4', 'name': 'ctest-vn-15488247', 'tenant_id': '0ce5641c72114ecfbc7d0e63ee3177c6', 'project_id': '0ce5641c72114ecfbc7d0e63ee3177c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-96008530', 'ctest-vn-15488247'], 'port_security_enabled': True, 'description': ''}} 2025-02-20 00:22:19,499 - DEBUG - Response for create_subnet : {'subnet': {'id': '0188b801-4d34-4c6b-ab95-50905e812d2d', 'name': '', 'tenant_id': '0ce5641c72114ecfbc7d0e63ee3177c6', 'network_id': '831052cd-35c0-4f2b-b220-dc633cb3cdf4', 'ip_version': 4, 'cidr': '40.41.192.192/26', 'allocation_pools': [{'start': '40.41.192.194', 'end': '40.41.192.254'}], 'gateway_ip': '40.41.192.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.41.192.194', 'tags': [], 'project_id': '0ce5641c72114ecfbc7d0e63ee3177c6'}} 2025-02-20 00:22:19,522 - INFO - Created VN ctest-vn-15488247 2025-02-20 00:22:19,577 - DEBUG - VN ctest-vn-15488247 UUID is 831052cd-35c0-4f2b-b220-dc633cb3cdf4 2025-02-20 00:22:19,749 - DEBUG - Services list from nova: [, , ] 2025-02-20 00:22:20,897 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2747-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2747-1) 2025-02-20 00:22:22,162 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2747-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2747-1) 2025-02-20 00:22:22,162 - INFO - Waiting for VM ctest-TestBasicVMVNx-96008530-19514166 to be up.. 2025-02-20 00:22:22,265 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-20 00:22:27,357 - DEBUG - VM is in ACTIVE state now 2025-02-20 00:22:27,357 - INFO - VM name : ctest-TestBasicVMVNx-96008530-19514166 2025-02-20 00:22:27,440 - DEBUG - VM ctest-TestBasicVMVNx-96008530-19514166 ID is f840daa9-bde5-4efa-b11e-9c766879f84c 2025-02-20 00:22:27,463 - DEBUG - VM ctest-TestBasicVMVNx-96008530-19514166 launched on Node cn-jenkins-deploy-platform-ansible-os-2747-1 2025-02-20 00:22:27,550 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/f840daa9-bde5-4efa-b11e-9c766879f84c 2025-02-20 00:22:27,896 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/f840daa9-bde5-4efa-b11e-9c766879f84c 2025-02-20 00:22:27,934 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/39917baa-9cd2-4fe7-92d3-a5842087e0f3 2025-02-20 00:22:31,191 - 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 1002ms') 2025-02-20 00:22:31,191 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-96008530-19514166 failed! 2025-02-20 00:22:31,249 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-96008530:ctest-vn-15488247 is 40.41.192.193 and allocation pool is NOT set 2025-02-20 00:22:33,309 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.78 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 = 1.778/3.224/4.670/1.446 ms') 2025-02-20 00:22:33,309 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-96008530-19514166 passed 2025-02-20 00:22:33,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-20 00:22:33,465 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-96008530-19514166, IP 40.41.192.195, Port 22 2025-02-20 00:22:33,620 - DEBUG - VM ctest-TestBasicVMVNx-96008530-19514166 is ready for SSH connections 2025-02-20 00:22:33,620 - INFO - Waiting for VM ctest-TestBasicVMVNx-96008530-74699337 to be up.. 2025-02-20 00:22:33,709 - DEBUG - VM is in ACTIVE state now 2025-02-20 00:22:33,709 - INFO - VM name : ctest-TestBasicVMVNx-96008530-74699337 2025-02-20 00:22:33,804 - DEBUG - VM ctest-TestBasicVMVNx-96008530-74699337 ID is 24dcc47b-61f6-47ce-bd98-130dd4f44138 2025-02-20 00:22:33,804 - DEBUG - VM ctest-TestBasicVMVNx-96008530-74699337 launched on Node cn-jenkins-deploy-platform-ansible-os-2747-1 2025-02-20 00:22:33,884 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/24dcc47b-61f6-47ce-bd98-130dd4f44138 2025-02-20 00:22:33,896 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/04506343-02f4-4f0b-8031-e39227ba717e 2025-02-20 00:22:35,149 - 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=5.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.03 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 = 1.033/3.093/5.154/2.060 ms') 2025-02-20 00:22:35,150 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-96008530-74699337 passed 2025-02-20 00:22:35,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-20 00:22:35,305 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-96008530-74699337, IP 40.41.192.196, Port 22 2025-02-20 00:22:35,461 - DEBUG - VM ctest-TestBasicVMVNx-96008530-74699337 is ready for SSH connections 2025-02-20 00:22:35,461 - DEBUG - FILE SIZE = 1303B 2025-02-20 00:22:35,461 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-96008530-19514166 to ctest-TestBasicVMVNx-96008530-74699337 using scp 2025-02-20 00:22:35,462 - 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.17, gateway password: c0ntrail123 2025-02-20 00:22:35,462 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-02-20 00:22:37,407 - DEBUG - 1+0 records in 1+0 records out 2025-02-20 00:22:38,069 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-20 00:22:38,426 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-02-20 00:22:38,426 - DEBUG - ls -l testfile 2025-02-20 00:22:40,034 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 19 17:22 testfile 2025-02-20 00:22:40,034 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-96008530-74699337 2025-02-20 00:22:40,034 - INFO - Deleting VM ctest-TestBasicVMVNx-96008530-74699337 2025-02-20 00:22:40,108 - INFO - Deleting VM ctest-TestBasicVMVNx-96008530-19514166 2025-02-20 00:22:40,176 - INFO - Deleting VN ctest-vn-15488247 2025-02-20 00:22:40,217 - DEBUG - VN 831052cd-35c0-4f2b-b220-dc633cb3cdf4 still in use: Unable to complete operation on network 831052cd-35c0-4f2b-b220-dc633cb3cdf4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a969de69-b5b1-4248-a725-2840229377e0'] 2025-02-20 00:22:40,217 - WARNING - Deleting VN ctest-vn-15488247 failed..Will retry 2025-02-20 00:22:42,357 - DEBUG - Response for deleting network () 2025-02-20 00:22:42,611 - DEBUG - No XMPP flaps were noticed during the test
2025-02-20 00:22:42,611 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-02-20 00:22:42,611 - INFO - -------------------------------------------------------------------------------- 2025-02-20 00:22:43,372 - INFO - Deleted project: ctest-TestBasicVMVNx-96008530, ID : 0ce5641c-7211-4ecf-bc7d-0e63ee3177c6