2025-03-27 02:38:56,602 - INFO - Domain Default found not creating 2025-03-27 02:38:56,762 - INFO - Project ctest-TestBasicVMVNx-00908842 not found, creating it 2025-03-27 02:38:57,282 - INFO - Created Project:ctest-TestBasicVMVNx-00908842, ID : 64437a6c-664f-4ac7-95d1-117b7504e1d7 2025-03-27 02:38:58,767 - INFO - ================================================================================ 2025-03-27 02:38:58,767 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-27 02:38:58,767 - 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-03-27 02:38:59,022 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.11': '0'}} with 2025-03-27 02:38:59,022 - INFO - Initial checks done. Running the testcase now 2025-03-27 02:38:59,023 - INFO - 2025-03-27 02:38:59,580 - DEBUG - Response for create_network : {'network': {'id': 'f459f85c-6521-4efe-a034-f0276b7a2b7f', 'name': 'ctest-vn-54722536', 'tenant_id': '64437a6c664f4ac795d1117b7504e1d7', 'project_id': '64437a6c664f4ac795d1117b7504e1d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-00908842', 'ctest-vn-54722536'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 02:38:59,747 - DEBUG - Response for create_subnet : {'subnet': {'id': '699f0f39-7ddd-4f58-ac8f-afea798c79fe', 'name': '', 'tenant_id': '64437a6c664f4ac795d1117b7504e1d7', 'network_id': 'f459f85c-6521-4efe-a034-f0276b7a2b7f', 'ip_version': 4, 'cidr': '100.55.173.128/26', 'allocation_pools': [{'start': '100.55.173.130', 'end': '100.55.173.190'}], 'gateway_ip': '100.55.173.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.55.173.130', 'tags': [], 'project_id': '64437a6c664f4ac795d1117b7504e1d7'}} 2025-03-27 02:38:59,765 - INFO - Created VN ctest-vn-54722536 2025-03-27 02:38:59,819 - DEBUG - VN ctest-vn-54722536 UUID is f459f85c-6521-4efe-a034-f0276b7a2b7f 2025-03-27 02:39:00,008 - DEBUG - Services list from nova: [, , ] 2025-03-27 02:39:01,053 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2967-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2967-1) 2025-03-27 02:39:02,262 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2967-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2967-1) 2025-03-27 02:39:02,262 - INFO - Waiting for VM ctest-TestBasicVMVNx-00908842-91940357 to be up.. 2025-03-27 02:39:02,363 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-27 02:39:07,449 - DEBUG - VM is in ACTIVE state now 2025-03-27 02:39:07,450 - INFO - VM name : ctest-TestBasicVMVNx-00908842-91940357 2025-03-27 02:39:07,539 - DEBUG - VM ctest-TestBasicVMVNx-00908842-91940357 ID is 84468e2b-787c-488e-8d08-fcb3ed49a94b 2025-03-27 02:39:07,560 - DEBUG - VM ctest-TestBasicVMVNx-00908842-91940357 launched on Node cn-jenkins-deploy-platform-ansible-os-2967-1 2025-03-27 02:39:07,645 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/84468e2b-787c-488e-8d08-fcb3ed49a94b 2025-03-27 02:39:07,946 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/84468e2b-787c-488e-8d08-fcb3ed49a94b 2025-03-27 02:39:07,984 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/5d4ec01e-41ea-4b97-abad-cb50d57c520d 2025-03-27 02:39:11,253 - 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 1021ms') 2025-03-27 02:39:11,253 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-00908842-91940357 failed! 2025-03-27 02:39:11,311 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-00908842:ctest-vn-54722536 is 100.55.173.129 and allocation pool is NOT set 2025-03-27 02:39:13,376 - 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=2.12 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 = 2.124/3.266/4.409/1.142 ms') 2025-03-27 02:39:13,376 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-00908842-91940357 passed 2025-03-27 02:39:13,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 02:39:13,536 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-00908842-91940357, IP 100.55.173.131, Port 22 2025-03-27 02:39:13,695 - DEBUG - VM ctest-TestBasicVMVNx-00908842-91940357 is ready for SSH connections 2025-03-27 02:39:13,695 - INFO - Waiting for VM ctest-TestBasicVMVNx-00908842-05519330 to be up.. 2025-03-27 02:39:13,787 - DEBUG - VM is in ACTIVE state now 2025-03-27 02:39:13,787 - INFO - VM name : ctest-TestBasicVMVNx-00908842-05519330 2025-03-27 02:39:13,877 - DEBUG - VM ctest-TestBasicVMVNx-00908842-05519330 ID is 61c6cc1f-6995-4831-8e2b-e6ca59a6b626 2025-03-27 02:39:13,877 - DEBUG - VM ctest-TestBasicVMVNx-00908842-05519330 launched on Node cn-jenkins-deploy-platform-ansible-os-2967-1 2025-03-27 02:39:13,966 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/61c6cc1f-6995-4831-8e2b-e6ca59a6b626 2025-03-27 02:39:13,977 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/a0d05ce5-02e0-4f42-91d9-3c6117764d03 2025-03-27 02:39:15,221 - 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=2.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.540 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.540/1.655/2.770/1.115 ms') 2025-03-27 02:39:15,221 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-00908842-05519330 passed 2025-03-27 02:39:15,379 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 02:39:15,379 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-00908842-05519330, IP 100.55.173.132, Port 22 2025-03-27 02:39:15,551 - DEBUG - VM ctest-TestBasicVMVNx-00908842-05519330 is ready for SSH connections 2025-03-27 02:39:15,551 - DEBUG - FILE SIZE = 1303B 2025-03-27 02:39:15,551 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-00908842-91940357 to ctest-TestBasicVMVNx-00908842-05519330 using scp 2025-03-27 02:39:15,552 - 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.29, gateway password: c0ntrail123 2025-03-27 02:39:15,552 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-27 02:39:17,497 - DEBUG - 1+0 records in 1+0 records out 2025-03-27 02:39:18,301 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 02:39:18,640 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2025-03-27 02:39:18,640 - DEBUG - ls -l testfile 2025-03-27 02:39:20,240 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 26 20:39 testfile 2025-03-27 02:39:20,241 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-00908842-05519330 2025-03-27 02:39:20,241 - INFO - Deleting VM ctest-TestBasicVMVNx-00908842-05519330 2025-03-27 02:39:20,320 - INFO - Deleting VM ctest-TestBasicVMVNx-00908842-91940357 2025-03-27 02:39:20,387 - INFO - Deleting VN ctest-vn-54722536 2025-03-27 02:39:20,422 - DEBUG - VN f459f85c-6521-4efe-a034-f0276b7a2b7f still in use: Unable to complete operation on network f459f85c-6521-4efe-a034-f0276b7a2b7f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d17c7c8d-67d4-4002-a9bd-a041e58d8762'] 2025-03-27 02:39:20,422 - WARNING - Deleting VN ctest-vn-54722536 failed..Will retry 2025-03-27 02:39:22,535 - DEBUG - Response for deleting network () 2025-03-27 02:39:22,795 - DEBUG - No XMPP flaps were noticed during the test
2025-03-27 02:39:22,795 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-03-27 02:39:22,795 - INFO - -------------------------------------------------------------------------------- 2025-03-27 02:39:23,512 - INFO - Deleted project: ctest-TestBasicVMVNx-00908842, ID : 64437a6c-664f-4ac7-95d1-117b7504e1d7