Lines Matching full:logging
13 import logging
42 logging.info('executing command %s on peer',cmd)
44 logging.info('exit_status is %s', result.exit_status)
45 logging.info('stdout is %s stderr is %s', result.stdout, result.stderr)
52 logging.error('Error while running cmd %s %s', cmd, e)
71 logging.error('Getting the commit hash failed. Updating the peer %s',
75 logging.debug('commit %s found on peer %s', commit, peer.host)
82 logging.info('copy the file over to the peer')
87 logging.debug('package location is %s', bundle_path)
91 logging.error('copying the file failed %s ', sys.exc_info())
92 logging.error(str(os.listdir(cur_dir)))
96 logging.info('running make on peer')
106 logging.debug(cmd)
109 logging.info('make failed')
112 logging.info('chameleond installed on peer')
127 logging.error('restarting/starting chamleond failed')
150 logging.error('Unsupported peer %s',str(peer.host))
162 logging.info('updating chameleond succeded')
178 logging.debug(status)
180 logging.info("Update not needed on any of the peers")
187 logging.debug(status)
193 logging.error('updating peer %s failed %s', str(peer.host),
197 logging.info('%s peers updated',len([v['updated'] for v in status.values()
217 logging.error('Downloading commit file failed with %s',
222 logging.debug('content of the file is %s', content)
225 logging.info('latest commit is %s', commit)
231 logging.error('exception %s in get_latest_commit', str(e))
239 logging.debug('chamelond bundle path is %s', src_path)
240 logging.debug('bundle path in DUT is %s', dest_path)
246 logging.error('Downloading the chameleond bundle failed with %d',
251 logging.debug('file send to %s %s',host, dest_path)
254 logging.error('exception %s in download_installation_files', str(e))
264 logging.debug('File %s not found', dest_path)
268 logging.debug('Remove file %s', dest_path)
274 logging.error('Unable to delete %s on dut', dest_path)
278 logging.error('Exception %s in cleanup', str(e))