2024-08-26 21:23:11,631 - INFO - Domain Default found not creating 2024-08-26 21:23:11,864 - INFO - Project ctest-TestBasicVMVNx-51613682 not found, creating it 2024-08-26 21:23:12,453 - INFO - Created Project:ctest-TestBasicVMVNx-51613682, ID : 92420222-0f29-4ce8-a833-899985039a48 2024-08-26 21:23:14,054 - INFO - ================================================================================ 2024-08-26 21:23:14,054 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-26 21:23:14,054 - 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-08-26 21:23:14,315 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.8': '0'}} with 2024-08-26 21:23:14,315 - INFO - Initial checks done. Running the testcase now 2024-08-26 21:23:14,315 - INFO - 2024-08-26 21:23:14,964 - DEBUG - Response for create_network : {'network': {'id': 'bf17d6b7-01d8-4a1b-b4ac-6a5d7ce3dbfd', 'name': 'ctest-vn-42657359', 'tenant_id': '924202220f294ce8a833899985039a48', 'project_id': '924202220f294ce8a833899985039a48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-51613682', 'ctest-vn-42657359'], 'port_security_enabled': True, 'description': ''}} 2024-08-26 21:23:15,169 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7c4a839-5b81-4eb5-8e46-080390198369', 'name': '', 'tenant_id': '924202220f294ce8a833899985039a48', 'network_id': 'bf17d6b7-01d8-4a1b-b4ac-6a5d7ce3dbfd', 'ip_version': 4, 'cidr': '221.135.96.128/26', 'allocation_pools': [{'start': '221.135.96.130', 'end': '221.135.96.190'}], 'gateway_ip': '221.135.96.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.135.96.130', 'tags': [], 'project_id': '924202220f294ce8a833899985039a48'}} 2024-08-26 21:23:15,198 - INFO - Created VN ctest-vn-42657359 2024-08-26 21:23:15,258 - DEBUG - VN ctest-vn-42657359 UUID is bf17d6b7-01d8-4a1b-b4ac-6a5d7ce3dbfd 2024-08-26 21:23:15,457 - DEBUG - Services list from nova: [, , ] 2024-08-26 21:23:16,599 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1772-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1772-1) 2024-08-26 21:23:17,920 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1772-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1772-1) 2024-08-26 21:23:17,920 - INFO - Waiting for VM ctest-TestBasicVMVNx-51613682-32315313 to be up.. 2024-08-26 21:23:18,029 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-26 21:23:23,182 - DEBUG - VM is in ACTIVE state now 2024-08-26 21:23:23,182 - INFO - VM name : ctest-TestBasicVMVNx-51613682-32315313 2024-08-26 21:23:23,290 - DEBUG - VM ctest-TestBasicVMVNx-51613682-32315313 ID is 97a6f138-ed40-4091-84ef-a5e620049622 2024-08-26 21:23:23,317 - DEBUG - VM ctest-TestBasicVMVNx-51613682-32315313 launched on Node cn-jenkins-deploy-platform-ansible-os-1772-1 2024-08-26 21:23:23,419 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/97a6f138-ed40-4091-84ef-a5e620049622 2024-08-26 21:23:23,742 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/97a6f138-ed40-4091-84ef-a5e620049622 2024-08-26 21:23:23,786 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/ee9c8b10-8f64-49dd-8a97-269532a5c80c 2024-08-26 21:23:27,058 - 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 1005ms') 2024-08-26 21:23:27,058 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-51613682-32315313 failed! 2024-08-26 21:23:27,122 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-51613682:ctest-vn-42657359 is 221.135.96.129 and allocation pool is NOT set 2024-08-26 21:23:29,187 - 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.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.578 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.578/2.064/3.551/1.486 ms') 2024-08-26 21:23:29,187 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-51613682-32315313 passed 2024-08-26 21:23:29,347 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 21:23:29,347 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-51613682-32315313, IP 221.135.96.131, Port 22 2024-08-26 21:23:29,513 - DEBUG - VM ctest-TestBasicVMVNx-51613682-32315313 is ready for SSH connections 2024-08-26 21:23:29,513 - INFO - Waiting for VM ctest-TestBasicVMVNx-51613682-78040897 to be up.. 2024-08-26 21:23:29,607 - DEBUG - VM is in ACTIVE state now 2024-08-26 21:23:29,607 - INFO - VM name : ctest-TestBasicVMVNx-51613682-78040897 2024-08-26 21:23:29,708 - DEBUG - VM ctest-TestBasicVMVNx-51613682-78040897 ID is 4c82575c-72a3-49c5-b379-f78e21d9ac14 2024-08-26 21:23:29,708 - DEBUG - VM ctest-TestBasicVMVNx-51613682-78040897 launched on Node cn-jenkins-deploy-platform-ansible-os-1772-1 2024-08-26 21:23:29,797 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/4c82575c-72a3-49c5-b379-f78e21d9ac14 2024-08-26 21:23:29,811 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/860bac61-f228-4bb4-a6d9-42fdba4545c7 2024-08-26 21:23:31,072 - 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=4.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.26 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.263/2.766/4.269/1.503 ms') 2024-08-26 21:23:31,072 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-51613682-78040897 passed 2024-08-26 21:23:31,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 21:23:31,230 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-51613682-78040897, IP 221.135.96.132, Port 22 2024-08-26 21:23:31,390 - DEBUG - VM ctest-TestBasicVMVNx-51613682-78040897 is ready for SSH connections 2024-08-26 21:23:31,390 - DEBUG - FILE SIZE = 1303B 2024-08-26 21:23:31,390 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-51613682-32315313 to ctest-TestBasicVMVNx-51613682-78040897 using scp 2024-08-26 21:23:31,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 21:23:31,398 - 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.42, gateway password: c0ntrail123 2024-08-26 21:23:31,398 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-26 21:23:33,325 - DEBUG - 1+0 records in 1+0 records out 2024-08-26 21:23:34,111 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 21:23:34,453 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2024-08-26 21:23:34,453 - DEBUG - ls -l testfile 2024-08-26 21:23:36,059 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 26 15:23 testfile 2024-08-26 21:23:36,059 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-51613682-78040897 2024-08-26 21:23:36,059 - INFO - Deleting VM ctest-TestBasicVMVNx-51613682-78040897 2024-08-26 21:23:36,136 - INFO - Deleting VM ctest-TestBasicVMVNx-51613682-32315313 2024-08-26 21:23:36,210 - INFO - Deleting VN ctest-vn-42657359 2024-08-26 21:23:36,262 - DEBUG - VN bf17d6b7-01d8-4a1b-b4ac-6a5d7ce3dbfd still in use: Unable to complete operation on network bf17d6b7-01d8-4a1b-b4ac-6a5d7ce3dbfd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-791a5e94-de73-443a-aeb6-a4b63d980742'] 2024-08-26 21:23:36,262 - WARNING - Deleting VN ctest-vn-42657359 failed..Will retry 2024-08-26 21:23:38,403 - DEBUG - Response for deleting network () 2024-08-26 21:23:38,662 - DEBUG - No XMPP flaps were noticed during the test 2024-08-26 21:23:38,662 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-08-26 21:23:38,662 - INFO - -------------------------------------------------------------------------------- 2024-08-26 21:23:39,434 - INFO - Deleted project: ctest-TestBasicVMVNx-51613682, ID : 92420222-0f29-4ce8-a833-899985039a48