New issue
Advanced search Search tips

Issue 755345 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Task



Sign in to add a comment

Moblab - fails to copy log/vmlog/vmlog.1.LATEST

Project Member Reported by haddowk@chromium.org, Aug 14 2017

Issue description


This does not cause the test to fail, but there some time spent retrying the copy, if the file does not exist moblab should not try to copy it.


08/14 13:39:31.174 DEBUG|          autotest:1113| Autotest job finishes.
08/14 13:39:31.174 DEBUG|      abstract_ssh:0363| get_file. source: /tmp/autoserv-STRHzM/sysinfo, dest: /usr/local/autotest/results/135033024-chromeos-test/moblab_RunSuite, delete_dest: False,preserve_perm: True, preserve_symlinks:False
08/14 13:39:31.175 DEBUG|      abstract_ssh:0375| Using Rsync.
08/14 13:39:31.175 DEBUG|             utils:0212| Running 'rsync -L  --timeout=1800 --rsh='/usr/bin/ssh -a -x    -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o BatchMode=yes -o ConnectTimeout=30 -o ServerAliveInterval=900 -o ServerAliveCountMax=3 -o ConnectionAttempts=4 -o Protocol=2 -l root -p 22' -az --no-o --no-g  root@chromeos2-row1-rack8-host1:"/tmp/autoserv-STRHzM/sysinfo" "/usr/local/autotest/results/135033024-chromeos-test/moblab_RunSuite"'
08/14 13:39:32.978 WARNI|      abstract_ssh:0398| rsync status 23, retrying
08/14 13:39:32.979 DEBUG|      abstract_ssh:0363| get_file. source: ['/tmp/autoserv-STRHzM/sysinfo'], dest: /usr/local/autotest/results/135033024-chromeos-test/moblab_RunSuite, delete_dest: False,preserve_perm: True, preserve_symlinks:False
08/14 13:39:32.980 DEBUG|      abstract_ssh:0375| Using Rsync.
08/14 13:39:32.981 DEBUG|             utils:0212| Running 'rsync -L  --timeout=1800 --rsh='/usr/bin/ssh -a -x    -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o BatchMode=yes -o ConnectTimeout=30 -o ServerAliveInterval=900 -o ServerAliveCountMax=3 -o ConnectionAttempts=4 -o Protocol=2 -l root -p 22' -az --no-o --no-g  root@chromeos2-row1-rack8-host1:"/tmp/autoserv-STRHzM/sysinfo" "/usr/local/autotest/results/135033024-chromeos-test/moblab_RunSuite"'
08/14 13:39:34.078 WARNI|      abstract_ssh:0405| trying scp, rsync failed: Command <rsync -L  --timeout=1800 --rsh='/usr/bin/ssh -a -x    -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o BatchMode=yes -o ConnectTimeout=30 -o ServerAliveInterval=900 -o ServerAliveCountMax=3 -o ConnectionAttempts=4 -o Protocol=2 -l root -p 22' -az --no-o --no-g  root@chromeos2-row1-rack8-host1:"/tmp/autoserv-STRHzM/sysinfo" "/usr/local/autotest/results/135033024-chromeos-test/moblab_RunSuite"> failed, rc=23, Command returned non-zero exit status
* Command: 
    rsync -L  --timeout=1800 --rsh='/usr/bin/ssh -a -x    -o
    StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o BatchMode=yes
    -o ConnectTimeout=30 -o ServerAliveInterval=900 -o ServerAliveCountMax=3
    -o ConnectionAttempts=4 -o Protocol=2 -l root -p 22' -az --no-o --no-g
    root@chromeos2-row1-rack8-host1:"/tmp/autoserv-STRHzM/sysinfo"
    "/usr/local/autotest/results/135033024-chromeos-test/moblab_RunSuite"
Exit status: 23
Duration: 1.06436896324

stderr:
symlink has no referent: "/tmp/autoserv-STRHzM/sysinfo/reboot_current/mnt/moblab/results/hosts/192.168.231.100/3-provision/sysinfo/mnt/stateful_partition/unencrypted/preserve/log/vmlog/vmlog.1.LATEST"
symlink has no referent: "/tmp/autoserv-STRHzM/sysinfo/reboot_current/mnt/moblab/results/hosts/192.168.231.101/4-provision/sysinfo/mnt/stateful_partition/unencrypted/preserve/log/vmlog/vmlog.1.LATEST"
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1655) [generator=3.1.0] (23)
08/14 13:39:34.081 DEBUG|      abstract_ssh:0408| Trying scp.
08/14 13:39:34.081 DEBUG|             utils:0212| Running 'scp -rq  -o StrictHostKeyChecking=no -o UserKnownHostsFile=/tmp/tmpiUD1B9 -P 22 root@chromeos2-row1-rack8-host1:"/tmp/autoserv-STRHzM/sysinfo" '/usr/local/autotest/results/135033024-chromeos-test/moblab_RunSuite''
08/14 13:41:05.514 DEBUG|      abstract_ssh:0424| scp failed: Command <scp -rq  -o StrictHostKeyChecking=no -o UserKnownHostsFile=/tmp/tmpiUD1B9 -P 22 root@chromeos2-row1-rack8-host1:"/tmp/autoserv-STRHzM/sysinfo" '/usr/local/autotest/results/135033024-chromeos-test/moblab_RunSuite'> failed, rc=1, Command returned non-zero exit status
* Command: 
    scp -rq  -o StrictHostKeyChecking=no -o UserKnownHostsFile=/tmp/tmpiUD1B9
    -P 22 root@chromeos2-row1-rack8-host1:"/tmp/autoserv-STRHzM/sysinfo"
    '/usr/local/autotest/results/135033024-chromeos-test/moblab_RunSuite'
Exit status: 1
Duration: 91.4160969257

stderr:
scp: /tmp/autoserv-STRHzM/sysinfo/reboot_current/mnt/moblab/results/hosts/192.168.231.101/4-provision/sysinfo/mnt/stateful_partition/unencrypted/preserve/log/vmlog/vmlog.1.LATEST: No such file or directory
scp: /tmp/autoserv-STRHzM/sysinfo/reboot_current/mnt/moblab/results/hosts/192.168.231.100/3-provision/sysinfo/mnt/stateful_partition/unencrypted/preserve/log/vmlog/vmlog.1.LATEST: No such file or directory
 
I believe this is because these are symlinks and the destination has been removed.  Current thought is to remove all symlinks from results before the copy of logs off the device.
Components: Infra>Client>ChromeOS
Owner: ----
Status: Available (was: Assigned)

Sign in to add a comment