Sanity: test_vm_file_trf_scp_tests fails on Vcenter-only due to keyless authentication for SCP
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.2 |
In Progress
|
High
|
Senthilnathan Murugappan | |||
R4.0 |
New
|
High
|
Senthilnathan Murugappan | |||
Trunk |
New
|
High
|
Senthilnathan Murugappan |
Bug Description
This is script failure on Vcenter-only and below is the errors.
2017-02-15 15:03:17,092 - DEBUG - Running remote_cmd, Cmd : timeout 40 scp -o StrictHostKeyCh
2017-02-15 15:03:17,092 - DEBUG - timeout 40 scp -o StrictHostKeyCh
2017-02-15 15:04:08,073 - ERROR - Unable to run command timeout 40 scp -o StrictHostKeyCh
Traceback (most recent call last):
File "tcutils/
output = _run(cmd, timeout=timeout, pty=not as_daemon)
File "/usr/local/
return func(*args, **kwargs)
File "/usr/local/
shell_
File "/usr/local/
capture_
File "/usr/local/
worker.
File "/usr/local/
callable(*args, **kwargs)
File "/usr/local/
OutputLoope
File "/usr/local/
raise CommandTimeout(
CommandTimeout: Command failed to finish in 50.0 seconds
2017-02-15 15:04:13,078 - DEBUG - None
2017-02-15 15:04:13,078 - DEBUG - {'timeout 40 scp -o StrictHostKeyCh
2017-02-15 15:04:13,224 - DEBUG - Running remote_cmd, Cmd : sync, host_string: ubuntu@169.254.0.4, password: ubuntugateway: root@10.
2017-02-15 15:04:13,224 - DEBUG - sync
2017-02-15 15:04:14,166 - DEBUG - None
2017-02-15 15:04:14,311 - DEBUG - Running remote_cmd, Cmd : wc -c testfile, host_string: ubuntu@169.254.0.4, password: ubuntugateway: root@10.
2017-02-15 15:04:14,311 - DEBUG - wc -c testfile
2017-02-15 15:04:15,355 - DEBUG - wc: testfile: No such file or directory
2017-02-15 15:04:15,356 - WARNING - File of size 1000 is not trasferred fine to 180.47.160.4 by scp
2017-02-15 15:04:15,484 - DEBUG - Running remote_cmd, Cmd : rm -f testfile, host_string: ubuntu@169.254.0.4, password: ubuntugateway: root@10.
2017-02-15 15:04:15,484 - DEBUG - rm -f testfile
2017-02-15 15:04:16,434 - DEBUG - None
2017-02-15 15:04:26,552 - DEBUG - Running remote_cmd, Cmd : dd bs=1000 count=1 if=/dev/zero of=testfile, host_string: ubuntu@169.254.0.4, password: ubuntugateway: root@10.
2017-02-15 15:04:26,553 - DEBUG - dd bs=1000 count=1 if=/dev/zero of=testfile
2017-02-15 15:04:27,474 - DEBUG - 1+0 records in
1+0 records out
1000 bytes (1.0 kB) copied, 6.4911e-05 s, 15.4 MB/s
2017-02-15 15:04:27,602 - DEBUG - Running remote_cmd, Cmd : timeout 40 scp -o StrictHostKeyCh
2017-02-15 15:04:27,602 - DEBUG - timeout 40 scp -o StrictHostKeyCh
2017-02-15 15:05:18,583 - ERROR - Unable to run command timeout 40 scp -o StrictHostKeyCh
Traceback (most recent call last):
File "tcutils/
output = _run(cmd, timeout=timeout, pty=not as_daemon)
File "/usr/local/
return func(*args, **kwargs)
File "/usr/local/
shell_
File "/usr/local/
capture_
File "/usr/local/
worker.
File "/usr/local/
callable(*args, **kwargs)
File "/usr/local/
OutputLoope
File "/usr/local/
raise CommandTimeout(
CommandTimeout: Command failed to finish in 50.0 seconds
2017-02-15 15:05:23,586 - DEBUG - None
2017-02-15 15:05:23,586 - DEBUG - {'timeout 40 scp -o StrictHostKeyCh
Review in progress for https:/ /review. opencontrail. org/29192
Submitter: Sarath (<email address hidden>)