Lines Matching full:dry_run
117 def _log_info(dry_run, message, *args): argument
132 if dry_run:
316 def _exchange_labels(dry_run, hosts, target_pool, spare_pool): argument
322 If `dry_run` is true, perform no changes, but log the `atest`
325 @param dry_run Whether the logging is for a dry run or
334 _log_info(dry_run, 'Transferring %d DUTs from %s to %s.',
363 if not dry_run:
410 dry_run = arguments.dry_run
413 _log_info(dry_run, 'Balancing %s %s pool:', labels, main_pool.pool)
414 _log_info(dry_run,
425 _log_info(dry_run, 'Target is %d working DUTs; %s.',
428 _log_info(dry_run,
437 _log_info(dry_run,
444 _log_info(dry_run,
464 _log_info(arguments.dry_run, 'No exchange required.')
466 _exchange_labels(arguments.dry_run, surplus_duts,
468 _exchange_labels(arguments.dry_run, spare_duts,