2025-04-14 20:43:42,177 - INFO - Domain Default found not creating 2025-04-14 20:43:42,371 - INFO - Project ctest-TestBasicVMVNx-36373189 not found, creating it 2025-04-14 20:43:42,826 - INFO - Created Project:ctest-TestBasicVMVNx-36373189, ID : bc9b7e6e-a255-4805-960e-216c26aa045e 2025-04-14 20:43:44,244 - INFO - ================================================================================ 2025-04-14 20:43:44,244 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-14 20:43:44,244 - 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-04-14 20:43:44,500 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-04-14 20:43:44,500 - INFO - Initial checks done. Running the testcase now 2025-04-14 20:43:44,500 - INFO - 2025-04-14 20:43:45,065 - DEBUG - Response for create_network : {'network': {'id': '1aed6f3d-60bf-4775-8d70-ecba65b9dc76', 'name': 'ctest-vn-01185133', 'tenant_id': 'bc9b7e6ea2554805960e216c26aa045e', 'project_id': 'bc9b7e6ea2554805960e216c26aa045e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-36373189', 'ctest-vn-01185133'], 'port_security_enabled': True, 'description': ''}} 2025-04-14 20:43:45,270 - DEBUG - Response for create_subnet : {'subnet': {'id': '39aa3176-a274-45a9-b444-bf56ecff5c1d', 'name': '', 'tenant_id': 'bc9b7e6ea2554805960e216c26aa045e', 'network_id': '1aed6f3d-60bf-4775-8d70-ecba65b9dc76', 'ip_version': 4, 'cidr': '100.142.77.128/26', 'allocation_pools': [{'start': '100.142.77.130', 'end': '100.142.77.190'}], 'gateway_ip': '100.142.77.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.142.77.130', 'tags': [], 'project_id': 'bc9b7e6ea2554805960e216c26aa045e'}} 2025-04-14 20:43:45,289 - INFO - Created VN ctest-vn-01185133 2025-04-14 20:43:45,341 - DEBUG - VN ctest-vn-01185133 UUID is 1aed6f3d-60bf-4775-8d70-ecba65b9dc76 2025-04-14 20:43:45,542 - DEBUG - Services list from nova: [, , ] 2025-04-14 20:43:46,532 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3110-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3110-1) 2025-04-14 20:43:47,671 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3110-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3110-1) 2025-04-14 20:43:47,671 - INFO - Waiting for VM ctest-TestBasicVMVNx-36373189-58715400 to be up.. 2025-04-14 20:43:47,765 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-14 20:43:52,861 - DEBUG - VM is in ACTIVE state now 2025-04-14 20:43:52,861 - INFO - VM name : ctest-TestBasicVMVNx-36373189-58715400 2025-04-14 20:43:52,941 - DEBUG - VM ctest-TestBasicVMVNx-36373189-58715400 ID is cf1db909-6003-4646-914f-b04d72ad49d2 2025-04-14 20:43:52,960 - DEBUG - VM ctest-TestBasicVMVNx-36373189-58715400 launched on Node cn-jenkins-deploy-platform-ansible-os-3110-1 2025-04-14 20:43:53,052 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cf1db909-6003-4646-914f-b04d72ad49d2 2025-04-14 20:43:53,354 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cf1db909-6003-4646-914f-b04d72ad49d2 2025-04-14 20:43:53,390 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/07fa5ffb-12d5-4468-aa2f-ea46339abc37 2025-04-14 20:43:56,656 - 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 1027ms') 2025-04-14 20:43:56,657 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-36373189-58715400 failed! 2025-04-14 20:43:56,709 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-36373189:ctest-vn-01185133 is 100.142.77.129 and allocation pool is NOT set 2025-04-14 20:43:58,776 - 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.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.451 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.451/1.948/3.446/1.497 ms') 2025-04-14 20:43:58,776 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-36373189-58715400 passed 2025-04-14 20:43:58,929 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 20:43:58,929 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-36373189-58715400, IP 100.142.77.131, Port 22 2025-04-14 20:43:59,092 - DEBUG - VM ctest-TestBasicVMVNx-36373189-58715400 is ready for SSH connections 2025-04-14 20:43:59,092 - INFO - Waiting for VM ctest-TestBasicVMVNx-36373189-50992864 to be up.. 2025-04-14 20:43:59,169 - DEBUG - VM is in ACTIVE state now 2025-04-14 20:43:59,170 - INFO - VM name : ctest-TestBasicVMVNx-36373189-50992864 2025-04-14 20:43:59,241 - DEBUG - VM ctest-TestBasicVMVNx-36373189-50992864 ID is 7c06836c-fec4-4e11-ba31-0d62bd80cfee 2025-04-14 20:43:59,241 - DEBUG - VM ctest-TestBasicVMVNx-36373189-50992864 launched on Node cn-jenkins-deploy-platform-ansible-os-3110-1 2025-04-14 20:43:59,313 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7c06836c-fec4-4e11-ba31-0d62bd80cfee 2025-04-14 20:43:59,321 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/02d3308b-7494-4af5-a5c7-882b6d596c99 2025-04-14 20:44:00,559 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.391 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.391/1.597/2.804/1.206 ms') 2025-04-14 20:44:00,560 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-36373189-50992864 passed 2025-04-14 20:44:00,709 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 20:44:00,709 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-36373189-50992864, IP 100.142.77.132, Port 22 2025-04-14 20:44:00,864 - DEBUG - VM ctest-TestBasicVMVNx-36373189-50992864 is ready for SSH connections 2025-04-14 20:44:00,864 - DEBUG - FILE SIZE = 1303B 2025-04-14 20:44:00,864 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-36373189-58715400 to ctest-TestBasicVMVNx-36373189-50992864 using scp 2025-04-14 20:44:00,865 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 20:44:00,870 - 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.254, gateway password: c0ntrail123 2025-04-14 20:44:00,870 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-14 20:44:02,795 - DEBUG - 1+0 records in 1+0 records out 2025-04-14 20:44:03,593 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 20:44:03,921 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-14 20:44:03,921 - DEBUG - ls -l testfile 2025-04-14 20:44:05,481 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 14 14:44 testfile 2025-04-14 20:44:05,481 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-36373189-50992864 2025-04-14 20:44:05,481 - INFO - Deleting VM ctest-TestBasicVMVNx-36373189-50992864 2025-04-14 20:44:05,555 - INFO - Deleting VM ctest-TestBasicVMVNx-36373189-58715400 2025-04-14 20:44:05,629 - INFO - Deleting VN ctest-vn-01185133 2025-04-14 20:44:05,674 - DEBUG - VN 1aed6f3d-60bf-4775-8d70-ecba65b9dc76 still in use: Unable to complete operation on network 1aed6f3d-60bf-4775-8d70-ecba65b9dc76. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-825233bc-3da5-4ff4-8898-f2d03eb8b29f'] 2025-04-14 20:44:05,675 - WARNING - Deleting VN ctest-vn-01185133 failed..Will retry 2025-04-14 20:44:07,786 - DEBUG - Response for deleting network () 2025-04-14 20:44:08,045 - DEBUG - No XMPP flaps were noticed during the test 2025-04-14 20:44:08,045 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-04-14 20:44:08,045 - INFO - -------------------------------------------------------------------------------- 2025-04-14 20:44:08,764 - INFO - Deleted project: ctest-TestBasicVMVNx-36373189, ID : bc9b7e6e-a255-4805-960e-216c26aa045e