New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 653622 link

Starred by 1 user

Issue metadata

Status: Duplicate
Owner:
Closed: Oct 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

Provision: DEVSERVER Import module android_build failed with error: No module named apiclient

Project Member Reported by rajatja@google.com, Oct 6 2016

Issue description

The provisioning failed because of the said error.

https://uberchromegw.corp.google.com/i/chromeos/builders/celes-release/builds/458

2016/10/06 05:46:18.917 DEBUG|      auto_updater:0210| Checking whether to restore stateful...
2016/10/06 05:46:18.917 INFO |      auto_updater:0238| Checking if we can run devserver on the device...
2016/10/06 05:46:18.918 DEBUG|    cros_build_lib:0565| RunCommand: ssh -p 22 '-oConnectionAttempts=4' '-oUserKnownHostsFile=/dev/null' '-oProtocol=2' '-oConnectTimeout=30' '-oServerAliveCountMax=3' '-oStrictHostKeyChecking=no' '-oServerAliveInterval=10' '-oNumberOfPasswordPrompts=0' '-oIdentitiesOnly=yes' -i /tmp/ssh-tmpFHpqdc/testing_rsa root@100.115.202.233 -- echo '${PATH}'
2016/10/06 05:46:19.199 DEBUG|    cros_build_lib:0565| RunCommand: ssh -p 22 '-oConnectionAttempts=4' '-oUserKnownHostsFile=/dev/null' '-oProtocol=2' '-oConnectTimeout=30' '-oServerAliveCountMax=3' '-oStrictHostKeyChecking=no' '-oServerAliveInterval=10' '-oNumberOfPasswordPrompts=0' '-oIdentitiesOnly=yes' -i /tmp/ssh-tmpFHpqdc/testing_rsa root@100.115.202.233 -- python /mnt/stateful_partition/unencrypted/preserve/cros-update/tmp.8VHM9sm8UW/src/devserver.py --help
Warning: Permanently added '100.115.202.233' (RSA) to the list of known hosts.
[06/Oct/2016:05:47:15] DEVSERVER Import module android_build failed with error: No module named apiclient
INFO:cherrypy.error:[06/Oct/2016:05:47:15] DEVSERVER Import module android_build failed with error: No module named apiclient
....
....
<snip>
....
....
2016/10/06 05:19:16.693 DEBUG|      auto_updater:0852| The update version is not matched to the current version
2016/10/06 05:19:16.693 DEBUG|       cros_update:0186| Start CrOS update process...
2016/10/06 05:19:16.693 DEBUG|    cros_build_lib:0565| RunCommand: ssh -p 22 '-oConnectionAttempts=4' '-oUserKnownHostsFile=/dev/null' '-oProtocol=2' '-oConnectTimeout=30' '-oServerAliveCountMax=3' '-oStrictHostKeyChecking=no' '-oServerAliveInterval=10' '-oNumberOfPasswordPrompts=0' '-oIdentitiesOnly=yes' -i /tmp/ssh-tmpnlBMPh/testing_rsa root@chromeos4-row12-rack4-host17 -- mkdir -p /mnt/stateful_partition/unencrypted/preserve/cros-update/tmp.F9uTRkNDbF/static/pregenerated
Warning: Permanently added 'chromeos4-row12-rack4-host17,100.115.202.233' (RSA) to the list of known hosts.
2016/10/06 05:19:17.042 INFO |      auto_updater:0375| Copying rootfs payload to device...
2016/10/06 05:19:17.043 DEBUG|    cros_build_lib:0565| RunCommand: rsync --perms --verbose --times --compress --omit-dir-times --exclude .svn --links --rsync-path 'PATH=/usr/local/bin:/usr/local/sbin:$PATH  rsync' --recursive --rsh 'ssh -p 22 -oConnectionAttempts=4 -oUserKnownHostsFile=/dev/null -oProtocol=2 -oConnectTimeout=30 -oServerAliveCountMax=3 -oStrictHostKeyChecking=no -oServerAliveInterval=10 -oNumberOfPasswordPrompts=0 -oIdentitiesOnly=yes -i /tmp/ssh-tmpnlBMPh/testing_rsa' /home/chromeos-test/images/celes-release/R55-8868.0.0/update.gz '[root@chromeos4-row12-rack4-host17]:/mnt/stateful_partition/unencrypted/preserve/cros-update/tmp.F9uTRkNDbF/static/pregenerated'
Warning: Permanently added 'chromeos4-row12-rack4-host17,100.115.202.233' (RSA) to the list of known hosts.
sending incremental file list
update.gz
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(632) [sender=3.1.0]
rsync: [sender] write error: Broken pipe (32)
2016/10/06 05:42:58.179 DEBUG|        retry_util:0108| Encountered unexpected exception <class 'chromite.lib.timeout_util.TimeoutError'>(Timeout occurred- waited 1800 seconds.), not retrying.
2016/10/06 05:42:58.180 DEBUG|    cros_build_lib:0565| RunCommand: ssh -p 22 '-oConnectionAttempts=4' '-oUserKnownHostsFile=/dev/null' '-oProtocol=2' '-oConnectTimeout=30' '-oServerAliveCountMax=3' '-oStrictHostKeyChecking=no' '-oServerAliveInterval=10' '-oNumberOfPasswordPrompts=0' '-oIdentitiesOnly=yes' -i /tmp/ssh-tmpnlBMPh/testing_rsa root@chromeos4-row12-rack4-host17 -- rm -rf /mnt/stateful_partition/unencrypted/preserve/cros-update/tmp.F9uTRkNDbF
2016/10/06 05:42:58.622 DEBUG|       cros_update:0224| Error happens in CrOS auto-update: TimeoutError('Timeout occurred- waited 1800 seconds.',)
 

Comment 1 by rajatja@google.com, Oct 6 2016

Cc: semenzato@chromium.org
I'm not sure whether or not the "android_build failed with error: No module named apiclient" is the real error that is finally leading to the Provisioning error (rsync error). Need help in identifying an owner for this.




Mergedinto: 653145
Status: Duplicate (was: Untriaged)
rsync issue

Sign in to add a comment