Lines Matching refs:LOG

102     LOG(INFO) << last_command_file << " doesn't exist.";  in ParseLastCommandFile()
109 LOG(ERROR) << "Failed to read: " << last_command_file; in ParseLastCommandFile()
115 LOG(ERROR) << "Unexpected line counts in last command file: " << content; in ParseLastCommandFile()
120 LOG(ERROR) << "Failed to parse integer in: " << lines[0]; in ParseLastCommandFile()
191 LOG(INFO) << "Wrote updated marker to " << marker; in SetUpdatedMarker()
255 LOG(ERROR) << "range sink write overrun; can't write " << size << " bytes"; in Write()
382 LOG(ERROR) << "Failed to write " << write_now << " bytes."; in receive_new_data()
423 LOG(ERROR) << "No space left in output range"; in receive_brotli_new_data()
436 LOG(ERROR) << "Decompression failed with " in receive_brotli_new_data()
441 LOG(DEBUG) << "bytes to write: " << buffer_size - available_out << ", bytes consumed " in receive_brotli_new_data()
446 LOG(ERROR) << "Failed to write " << write_now << " bytes."; in receive_brotli_new_data()
554 LOG(INFO) << "unexpected contents of source blocks in cmd:\n" << params.cmdline; in PrintHashForCorruptedSourceBlocks()
566 LOG(ERROR) << "failed to parse source range in cmd:\n" << params.cmdline; in PrintHashForCorruptedSourceBlocks()
573 LOG(ERROR) << "failed to parse source range in cmd:\n" << params.cmdline; in PrintHashForCorruptedSourceBlocks()
586 LOG(ERROR) << "Failed to parse range in " << params.cmdline; in PrintHashForCorruptedSourceBlocks()
604 LOG(INFO) << "printing hash in hex for " << src.blocks() << " source blocks"; in PrintHashForCorruptedSourceBlocks()
613 LOG(INFO) << " block number: " << block_num << ", SHA-1: " << hexdigest; in PrintHashForCorruptedSourceBlocks()
622 LOG(INFO) << "printing hash in hex for stash_id: " << id; in PrintHashForCorruptedStashedBlocks()
631 LOG(INFO) << " block number: " << block_num << ", SHA-1: " << hexdigest; in PrintHashForCorruptedStashedBlocks()
639 LOG(ERROR) << "No stash saved for id: " << id; in PrintHashForMissingStashedBlocks()
643 LOG(INFO) << "print hash in hex for source blocks in missing stash: " << id; in PrintHashForMissingStashedBlocks()
647 LOG(ERROR) << "failed to read source blocks for stash: " << id; in PrintHashForMissingStashedBlocks()
664 LOG(ERROR) << "failed to verify blocks (expected " << expected << ", read " << hexdigest in VerifyBlocks()
713 LOG(INFO) << "deleting " << fn; in DeleteFile()
723 LOG(INFO) << "deleting stash " << base; in DeleteStash()
745 LOG(ERROR) << "failed to read source blocks in stash map."; in LoadStash()
749 LOG(ERROR) << "failed to verify loaded source blocks in stash map."; in LoadStash()
770 LOG(INFO) << " loading " << fn; in LoadStash()
773 LOG(ERROR) << fn << " size " << sb.st_size << " not multiple of block size " << BLOCKSIZE; in LoadStash()
794 LOG(ERROR) << "unexpected contents in " << fn; in LoadStash()
796 LOG(ERROR) << "failed to find source blocks number for stash " << id in LoadStash()
816 LOG(ERROR) << "not enough space to write stash"; in WriteStash()
831 LOG(INFO) << " skipping " << blocks << " existing blocks in " << cn; in WriteStash()
839 LOG(INFO) << " writing " << blocks << " blocks to " << cn; in WriteStash()
894 LOG(INFO) << "creating stash " << dirname; in CreateStash()
918 LOG(INFO) << "using existing stash " << dirname; in CreateStash()
1001 LOG(ERROR) << "invalid src_block_count \"" << token << "\""; in LoadSourceBlocks()
1036 LOG(ERROR) << "invalid parameter"; in LoadSourceBlocks()
1044 LOG(ERROR) << "failed to load stash " << tokens[0]; in LoadSourceBlocks()
1087 LOG(ERROR) << "missing source hash"; in LoadSrcTgtVersion3()
1098 LOG(ERROR) << "missing target hash"; in LoadSrcTgtVersion3()
1107 LOG(ERROR) << "invalid parameters"; in LoadSrcTgtVersion3()
1136 LOG(INFO) << "stashing " << *src_blocks << " overlapping blocks to " << srchash; in LoadSrcTgtVersion3()
1141 LOG(ERROR) << "failed to stash overlapping source blocks"; in LoadSrcTgtVersion3()
1164 LOG(ERROR) << "partition has unexpected contents"; in LoadSrcTgtVersion3()
1178 LOG(ERROR) << "failed to read blocks for move"; in PerformCommandMove()
1187 LOG(WARNING) << "warning: commands executed out of order [" << params.cmdname << "]"; in PerformCommandMove()
1193 LOG(INFO) << " moving " << blocks << " blocks"; in PerformCommandMove()
1199 LOG(INFO) << "skipping " << blocks << " already moved blocks"; in PerformCommandMove()
1216 LOG(ERROR) << "missing id and/or src range fields in stash command"; in PerformCommandStash()
1241 LOG(ERROR) << "failed to load source blocks for stash " << id; in PerformCommandStash()
1250 LOG(INFO) << "stashing " << blocks << " blocks to " << id; in PerformCommandStash()
1261 LOG(ERROR) << "missing stash id in free command"; in PerformCommandFree()
1277 LOG(ERROR) << "missing target blocks for zero"; in PerformCommandZero()
1284 LOG(INFO) << " zeroing " << tgt.blocks() << " blocks"; in PerformCommandZero()
1322 LOG(ERROR) << "missing target blocks for new"; in PerformCommandNew()
1330 LOG(INFO) << " writing " << tgt.blocks() << " blocks of new data"; in PerformCommandNew()
1338 LOG(ERROR) << "missing " << (tgt.blocks() * BLOCKSIZE - params.nti.writer->BytesWritten()) in PerformCommandNew()
1357 LOG(ERROR) << "missing patch offset or length for " << params.cmdname; in PerformCommandDiff()
1363 LOG(ERROR) << "invalid patch offset"; in PerformCommandDiff()
1369 LOG(ERROR) << "invalid patch len"; in PerformCommandDiff()
1378 LOG(ERROR) << "failed to read blocks for diff"; in PerformCommandDiff()
1387 LOG(WARNING) << "warning: commands executed out of order [" << params.cmdname << "]"; in PerformCommandDiff()
1393 LOG(INFO) << "patching " << blocks << " blocks to " << tgt.blocks(); in PerformCommandDiff()
1404 LOG(ERROR) << "Failed to apply image patch."; in PerformCommandDiff()
1412 LOG(ERROR) << "Failed to apply bsdiff patch."; in PerformCommandDiff()
1420 LOG(ERROR) << "Failed to fully write target blocks (range sink underrun): Missing " in PerformCommandDiff()
1426 LOG(INFO) << "skipping " << blocks << " blocks already patched to " << tgt.blocks() << " [" in PerformCommandDiff()
1453 LOG(ERROR) << "not a block device; skipping erase"; in PerformCommandErase()
1458 LOG(ERROR) << "missing target blocks for erase"; in PerformCommandErase()
1466 LOG(INFO) << " erasing " << tgt.blocks() << " blocks"; in PerformCommandErase()
1481 LOG(INFO) << "Aborting as instructed"; in PerformCommandAbort()
1495 LOG(ERROR) << "Invaild arguments count in hash computation " << params.cmdline; in PerformCommandComputeHashTree()
1502 LOG(ERROR) << "Invalid hash tree ranges in " << params.cmdline; in PerformCommandComputeHashTree()
1508 LOG(ERROR) << "Invalid source ranges in " << params.cmdline; in PerformCommandComputeHashTree()
1514 LOG(ERROR) << "Invalid hash algorithm in " << params.cmdline; in PerformCommandComputeHashTree()
1521 LOG(ERROR) << "Failed to parse salt in " << params.cmdline; in PerformCommandComputeHashTree()
1527 LOG(ERROR) << "Invalid root hash in " << params.cmdline; in PerformCommandComputeHashTree()
1534 LOG(ERROR) << "Failed to initialize hash tree computation, source " << source_ranges.ToString() in PerformCommandComputeHashTree()
1551 LOG(ERROR) << "Failed to read data in " << begin << ":" << end; in PerformCommandComputeHashTree()
1556 LOG(ERROR) << "Failed to update hash tree builder"; in PerformCommandComputeHashTree()
1563 LOG(ERROR) << "Failed to build hash tree"; in PerformCommandComputeHashTree()
1569 LOG(ERROR) << "Root hash of the verity hash tree doesn't match the expected value. Expected: " in PerformCommandComputeHashTree()
1576 LOG(ERROR) << "Failed to write hash tree to output"; in PerformCommandComputeHashTree()
1616 LOG(WARNING) << "Device " << path << " starts with dm- but is not mapped by device-mapper."; in Sha1DevicePath()
1633 LOG(INFO) << "performing " << (dryrun ? "verification" : "update"); in PerformBlockImageUpdate()
1636 LOG(INFO) << "This update is a retry."; in PerformBlockImageUpdate()
1679 LOG(ERROR) << "Block device path for " << blockdev_filename->data << " not found. " << name in PerformBlockImageUpdate()
1692 LOG(ERROR) << name << "(): no file \"" << patch_data_fn->data << "\" in package"; in PerformBlockImageUpdate()
1700 LOG(ERROR) << name << "(): no file \"" << new_data_fn->data << "\" in package"; in PerformBlockImageUpdate()
1725 LOG(INFO) << "Skipping already updated partition " << block_device_path << " based on marker"; in PerformBlockImageUpdate()
1732 LOG(ERROR) << "Failed to remove partition updated marker " << updated_marker << ": " << err; in PerformBlockImageUpdate()
1747 LOG(ERROR) << "unexpected transfer list version [" << lines[0] << "]"; in PerformBlockImageUpdate()
1751 LOG(INFO) << "blockimg version is " << params.version; in PerformBlockImageUpdate()
1765 LOG(INFO) << "maximum stash entries " << lines[2]; in PerformBlockImageUpdate()
1800 LOG(ERROR) << "pthread_create failed: " << strerror(error); in PerformBlockImageUpdate()
1839 LOG(ERROR) << "unexpected command [" << params.cmdname << "]"; in PerformBlockImageUpdate()
1848 LOG(DEBUG) << "skip executing command [" << line << "]"; in PerformBlockImageUpdate()
1856 LOG(INFO) << "Skipping already executed command: " << cmdindex in PerformBlockImageUpdate()
1862 LOG(ERROR) << "failed to execute command [" << line << "]"; in PerformBlockImageUpdate()
1877 LOG(WARNING) << "Previously executed command " << saved_last_command_index << ": " in PerformBlockImageUpdate()
1892 LOG(WARNING) << "Failed to update the last command file."; in PerformBlockImageUpdate()
1908 LOG(WARNING) << "new data receiver is still available after executing all commands."; in PerformBlockImageUpdate()
1915 LOG(WARNING) << "pthread join returned with " << strerror(ret); in PerformBlockImageUpdate()
1919 LOG(INFO) << "wrote " << params.written << " blocks; expected " << total_blocks; in PerformBlockImageUpdate()
1920 LOG(INFO) << "stashed " << params.stashed << " blocks"; in PerformBlockImageUpdate()
1921 LOG(INFO) << "max alloc needed was " << params.buffer.size(); in PerformBlockImageUpdate()
1942 LOG(WARNING) << "Failed to set updated marker; continuing"; in PerformBlockImageUpdate()
1949 LOG(INFO) << "verified partition contents; update may be resumed"; in PerformBlockImageUpdate()
2093 LOG(ERROR) << "Block device path for " << blockdev_filename->data << " not found. " << name in RangeSha1Fn()
2164 LOG(ERROR) << "Block device path for " << arg_filename->data << " not found. " << name in CheckFirstBlockFn()
2239 LOG(ERROR) << "Block device path for " << filename->data << " not found. " << name in BlockImageRecoverFn()
2245 LOG(INFO) << block_device_path << " image corrupted, attempting to recover..."; in BlockImageRecoverFn()
2293 LOG(INFO) << "..." << block_device_path << " image recovered successfully."; in BlockImageRecoverFn()