2025-04-26 13:25:24,523 - INFO - Domain Default found not creating 2025-04-26 13:25:24,682 - INFO - Project ctest-TestBasicVMVNx-92553721 not found, creating it 2025-04-26 13:25:25,183 - INFO - Created Project:ctest-TestBasicVMVNx-92553721, ID : 877a2c46-91eb-49d7-8b4b-5f43d20292a6 2025-04-26 13:25:26,841 - INFO - ================================================================================ 2025-04-26 13:25:26,841 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-26 13:25:26,842 - 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-26 13:25:27,114 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2025-04-26 13:25:27,115 - INFO - Initial checks done. Running the testcase now 2025-04-26 13:25:27,115 - INFO - 2025-04-26 13:25:27,728 - DEBUG - Response for create_network : {'network': {'id': '74452238-b5b2-45c3-8cf1-461d34c0442c', 'name': 'ctest-vn-03629862', 'tenant_id': '877a2c4691eb49d78b4b5f43d20292a6', 'project_id': '877a2c4691eb49d78b4b5f43d20292a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-92553721', 'ctest-vn-03629862'], 'port_security_enabled': True, 'description': ''}} 2025-04-26 13:25:27,950 - DEBUG - Response for create_subnet : {'subnet': {'id': 'df49f277-1090-492b-8072-7b95f5c2a3a1', 'name': '', 'tenant_id': '877a2c4691eb49d78b4b5f43d20292a6', 'network_id': '74452238-b5b2-45c3-8cf1-461d34c0442c', 'ip_version': 4, 'cidr': '11.172.160.128/26', 'allocation_pools': [{'start': '11.172.160.130', 'end': '11.172.160.190'}], 'gateway_ip': '11.172.160.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.172.160.130', 'tags': [], 'project_id': '877a2c4691eb49d78b4b5f43d20292a6'}} 2025-04-26 13:25:27,972 - INFO - Created VN ctest-vn-03629862 2025-04-26 13:25:28,027 - DEBUG - VN ctest-vn-03629862 UUID is 74452238-b5b2-45c3-8cf1-461d34c0442c 2025-04-26 13:25:28,201 - DEBUG - Services list from nova: [, , ] 2025-04-26 13:25:29,443 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3223-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3223-1) 2025-04-26 13:25:30,789 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3223-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3223-1) 2025-04-26 13:25:30,789 - INFO - Waiting for VM ctest-TestBasicVMVNx-92553721-71265203 to be up.. 2025-04-26 13:25:30,885 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-26 13:25:35,975 - DEBUG - VM is in ACTIVE state now 2025-04-26 13:25:35,976 - INFO - VM name : ctest-TestBasicVMVNx-92553721-71265203 2025-04-26 13:25:36,060 - DEBUG - VM ctest-TestBasicVMVNx-92553721-71265203 ID is 5c5add7d-7d4f-4f50-b5e6-9da6c7919518 2025-04-26 13:25:36,081 - DEBUG - VM ctest-TestBasicVMVNx-92553721-71265203 launched on Node cn-jenkins-deploy-platform-ansible-os-3223-1 2025-04-26 13:25:36,163 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/5c5add7d-7d4f-4f50-b5e6-9da6c7919518 2025-04-26 13:25:36,517 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/5c5add7d-7d4f-4f50-b5e6-9da6c7919518 2025-04-26 13:25:36,551 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e2dea5c4-af10-4e3e-b36f-cd1ec871fa29 2025-04-26 13:25:39,792 - 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-04-26 13:25:39,792 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-92553721-71265203 failed! 2025-04-26 13:25:39,847 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-92553721:ctest-vn-03629862 is 11.172.160.129 and allocation pool is NOT set 2025-04-26 13:25:41,904 - 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.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.827 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.827/2.060/3.294/1.233 ms') 2025-04-26 13:25:41,905 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-92553721-71265203 passed 2025-04-26 13:25:42,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 13:25:42,067 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-92553721-71265203, IP 11.172.160.131, Port 22 2025-04-26 13:25:42,237 - DEBUG - VM ctest-TestBasicVMVNx-92553721-71265203 is ready for SSH connections 2025-04-26 13:25:42,237 - INFO - Waiting for VM ctest-TestBasicVMVNx-92553721-72724992 to be up.. 2025-04-26 13:25:42,367 - DEBUG - VM is in ACTIVE state now 2025-04-26 13:25:42,367 - INFO - VM name : ctest-TestBasicVMVNx-92553721-72724992 2025-04-26 13:25:42,464 - DEBUG - VM ctest-TestBasicVMVNx-92553721-72724992 ID is e5ced10c-4c14-49a8-a4a2-d6065e89f218 2025-04-26 13:25:42,464 - DEBUG - VM ctest-TestBasicVMVNx-92553721-72724992 launched on Node cn-jenkins-deploy-platform-ansible-os-3223-1 2025-04-26 13:25:42,547 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e5ced10c-4c14-49a8-a4a2-d6065e89f218 2025-04-26 13:25:42,556 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/a483e6b5-0b65-40b8-b7b6-99ede853473c 2025-04-26 13:25:43,803 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.726 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.726/2.238/3.750/1.512 ms') 2025-04-26 13:25:43,803 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-92553721-72724992 passed 2025-04-26 13:25:43,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 13:25:43,963 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-92553721-72724992, IP 11.172.160.132, Port 22 2025-04-26 13:25:44,122 - DEBUG - VM ctest-TestBasicVMVNx-92553721-72724992 is ready for SSH connections 2025-04-26 13:25:44,122 - DEBUG - FILE SIZE = 1303B 2025-04-26 13:25:44,122 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-92553721-71265203 to ctest-TestBasicVMVNx-92553721-72724992 using scp 2025-04-26 13:25:44,123 - 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.22, gateway password: c0ntrail123 2025-04-26 13:25:44,123 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-26 13:25:46,092 - DEBUG - 1+0 records in 1+0 records out 2025-04-26 13:25:46,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 13:25:47,155 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-04-26 13:25:47,156 - DEBUG - ls -l testfile 2025-04-26 13:25:48,791 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 26 07:25 testfile 2025-04-26 13:25:48,791 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-92553721-72724992 2025-04-26 13:25:48,791 - INFO - Deleting VM ctest-TestBasicVMVNx-92553721-72724992 2025-04-26 13:25:48,864 - INFO - Deleting VM ctest-TestBasicVMVNx-92553721-71265203 2025-04-26 13:25:48,948 - INFO - Deleting VN ctest-vn-03629862 2025-04-26 13:25:48,993 - DEBUG - VN 74452238-b5b2-45c3-8cf1-461d34c0442c still in use: Unable to complete operation on network 74452238-b5b2-45c3-8cf1-461d34c0442c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-545e5e98-8caf-4c29-a37f-af2dd981b99d'] 2025-04-26 13:25:48,994 - WARNING - Deleting VN ctest-vn-03629862 failed..Will retry 2025-04-26 13:25:51,160 - DEBUG - Response for deleting network () 2025-04-26 13:25:51,425 - DEBUG - No XMPP flaps were noticed during the test
2025-04-26 13:25:51,425 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2025-04-26 13:25:51,425 - INFO - -------------------------------------------------------------------------------- 2025-04-26 13:25:52,197 - INFO - Deleted project: ctest-TestBasicVMVNx-92553721, ID : 877a2c46-91eb-49d7-8b4b-5f43d20292a6