Lines Matching refs:logging
7 import logging
117 logging.info('FirmwareTest initialize begin (id=%s)', self.run_id)
161 logging.info('vboot version: %d', 2 if self.fw_vboot2 else 1)
165 logging.info('mainfw_act is B. rebooting to set it A')
173 logging.info('FirmwareTest initialize done (id=%s)', self.run_id)
178 logging.info('FirmwareTest cleaning up (id=%s)', self.run_id)
194 logging.info('FirmwareTest cleanup done (id=%s)', self.run_id)
213 logging.info('System info:\n' + pprint.pformat(system_info))
231 logging.info('Try to retrieve recovery reason...')
242 logging.info('Got the recovery reason %d.', recovery_reason)
244 logging.error('Failed to get the recovery reason due to connection '
258 logging.info('Try cold reboot...')
268 logging.warn('Cold reboot doesn\'t help, still connection error.')
276 logging.info('Try restore the original firmware...')
282 logging.warn('Restoring firmware doesn\'t help, still '
288 logging.info('Try restore the original kernel...')
294 logging.warn('Restoring kernel doesn\'t help, still '
299 logging.info('Try restore the OS image...')
306 logging.info('Successfully restore OS image.')
309 logging.warn('Restoring OS image doesn\'t help, still connection '
317 logging.info('Try boot into USB image...')
372 logging.info('usb dev is %s', usb_dev)
379 logging.debug('Dumping lsb-release on USB stick:\n%s', usb_lsb)
382 logging.debug('Dumping lsb-release on DUT:\n%s', dut_lsb)
451 logging.info('Creating FAFT lockfile...')
457 logging.info('Removing FAFT lockfile...')
471 logging.info('Changing GBB flags from 0x%x to 0x%x.',
481 logging.info('Current GBB flags look good for test: 0x%x.',
494 logging.warn('Requires Chrome EC to run this test.')
503 logging.warn('Requires EC capability "%s" to run this '
549 logging.info('Copying kernel from %s to %s. Please wait...',
554 logging.info('Copying rootfs from %s to %s. Please wait...',
584 logging.info('Checking internal device boot.')
586 logging.info('Reboot into internal disk...')
661 logging.info('The test required EC is %swrite-protected. Reboot '
673 logging.info('Restore original EC write protection and reboot.')
695 logging.warn('cr50 console not supported.')
702 logging.warn('The servod is too old that ec_uart_capture '
712 logging.warn('The servod is too old that '
715 logging.info('Not a Google EC, cannot capture ec console output.')
760 logging.info('Checking power state "%s" maximum %d times.',
763 logging.info("try count: %d", retries)
795 logging.warn('Servo log file not found.')
815 logging.info('Skip modifying GBB on versions older than 1.1.')
821 logging.info('Set proper GBB flags for test.')
844 logging.info('***')
845 logging.info('*** Please manually restore the original GBB flags to: '
847 logging.info('***')
861 logging.info(
866 logging.info(
904 logging.info('Checking the integrity of kernel B and rootfs B...')
907 logging.info('Copying kernel and rootfs from A to B...')
931 logging.info("Blocking sync for %s", device)
1036 logging.info("The kernel magic is already %s.", current_magic)
1041 logging.info('Modify the kernel magic in USB, from %s to %s.',
1106 logging.info(info_msg)
1128 logging.info('Wait to ensure DUT shut down...')
1142 logging.info('System entered into G3 state..')
1143 logging.info(
1165 logging.info('Retry to get boot_id...')
1167 logging.warning('Failed to get boot_id.')
1168 logging.info('boot_id: %s', boot_id)
1190 logging.info("-[FAFT]-[ start stepstate_checker ]----------")
1192 logging.info("-[FAFT]-[ end state_checker ]----------------")
1225 logging.info('Firmware changed:')
1226 logging.info('VBOOTA is changed: %s', corrupt_VBOOTA)
1227 logging.info('VBOOTB is changed: %s', corrupt_VBOOTB)
1228 logging.info('FVMAIN is changed: %s', corrupt_FVMAIN)
1229 logging.info('FVMAINB is changed: %s', corrupt_FVMAINB)
1250 logging.info('Backup firmware stored in %s with suffix %s',
1293 logging.info('Successfully restore firmware.')
1310 logging.info('Device will update firmware with shellball %s',
1321 logging.info('No shellball given, use the original shellball and '
1328 logging.info('Writing current BIOS to: %s', bios_in_work_path)
1331 logging.info('Writing current EC to: %s', ec_in_work_path)
1346 logging.info('Kernel %s is changed', p)
1362 logging.info('Backup kernel stored in %s with suffix %s',
1397 logging.info('Successfully restored kernel.')
1408 logging.info('CGPT table is changed. Original: %r. Current: %r.',
1414 logging.info('Successfully restored CGPT table.')