Lines Matching refs:logger
37 …use_kvm, logger, use_slirp=False, serial_ports=2, boot_patterns = defaultdict(str), use_ovmf=False… argument
75 self.logger = logger
105 … self.logger.debug("Created listening socket for qemu serial console on: 127.0.0.1:%s" % port)
135 self.logger.error('runqemu exited with code %d' % self.runqemu.returncode)
136 self.logger.error('Output from runqemu:\n%s' % self.getOutput(self.runqemu.stdout))
148 self.logger.error("Invalid rootfs %s" % self.rootfs)
151 self.logger.error("Invalid TMPDIR path %s" % self.tmpdir)
156 self.logger.error("Invalid DEPLOY_DIR_IMAGE path %s" % self.deploy_dir_image)
167 self.logger.debug('Using kvm for runqemu')
170 self.logger.debug('Not using kvm for runqemu')
192 self.logger.error("qemurunner: qmp.py missing, please ensure it's installed")
203 self.logger.info("QMP Available for connection at %s" % (qmp_port2))
210 self.logger.error("Failed to create listening socket: %s" % msg[1])
234 self.logger.debug('launchcmd=%s'%(launch_cmd))
270 self.logger.debug("runqemu started, pid is %s" % self.runqemu.pid)
271 self.logger.debug("waiting at most %s seconds for qemu pid (%s)" %
277 self.logger.warning("runqemu during is_alive() test")
281 self.logger.warning('runqemu exited with code %d' % self.runqemu.returncode)
283 self.logger.warning("Output from runqemu:\n%s" % self.getOutput(output))
289 self.logger.warning("runqemu after timeout")
292 self.logger.warning('runqemu exited with code %d' % self.runqemu.returncode)
295 self.logger.error("Qemu pid didn't appear in %s seconds (%s)" %
303 …self.logger.error("Status information, poll status: %s, pidfile exists: %s, pidfile contents %s, p…
309 self.logger.debug("Running processes:\n%s" % processes)
314 self.logger.error("Output from runqemu:\n%s" % op)
316 self.logger.error("No output from runqemu.\n")
322 self.logger.debug("QMP Initializing to %s" % (qmp_port))
330 … self.logger.warning("Failed to initialize qemu monitor socket: %s File: %s" % (msg, msg.filename))
333 self.logger.debug("QMP Connecting to %s" % (qmp_port))
335 self.logger.debug("QMP Port does not exist waiting for it to be created")
338 self.logger.info("QMP port does not exist yet!")
341 self.logger.warning("QMP Port still does not exist but QEMU is alive")
349 self.logger.info("QMP connected to QEMU at %s and took %s seconds" %
353 … self.logger.warning("Failed to connect qemu monitor socket: %s File: %s" % (msg, msg.filename))
356 self.logger.warning("Failed to communicate with qemu monitor: %s" % (msg))
383 self.logger.info("QMP released QEMU at %s and took %s seconds from connect" %
390 self.logger.debug("qemu started in %s seconds - qemu procces pid is %s (%s)" %
409 self.logger.debug("qemu cmdline used:\n{}".format(cmdline))
421 self.logger.error("Couldn't get ip from qemu command line and runqemu output! "
428 self.logger.debug("Target IP: %s" % self.ip)
429 self.logger.debug("Server IP: %s" % self.server_ip)
432 self.thread = LoggingThread(self.log, self.threadsock, self.logger)
435 self.logger.error("Didn't receive a console connection from qemu. "
441 self.logger.debug("Output from runqemu:\n%s", out)
442 self.logger.debug("Waiting at most %d seconds for login banner (%s)" %
462 self.logger.debug("Connection from %s:%s" % addr)
478 self.logger.debug("Reached login banner in %s seconds (%s, %s)" %
483 … self.logger.debug("QEMU socket disconnected before login banner reached. (%s)" %
491 self.logger.warning("Target didn't reach login banner in %d seconds (%s)" %
497 self.logger.warning("Last 25 lines of text:\n%s" % lines)
498 self.logger.warning("Check full boot log: %s" % self.logfile)
508 self.logger.debug("Logged as root in serial console")
514 self.logger.debug("configured ip address %s", self.ip)
516 self.logger.debug("Couldn't configure guest networking")
518 self.logger.warning("Couldn't login into serial console"
520 self.logger.warning("The output:\n%s" % output)
522 self.logger.warning("Serial console failed while trying to login")
533 self.logger.debug("Sending SIGTERM to runqemu")
542 self.logger.info("Output from runqemu:\n%s", outs.decode("utf-8"))
544 self.logger.info("Stderr from runqemu:\n%s", errs.decode("utf-8"))
546 self.logger.debug("Sending SIGKILL to runqemu")
549 self.logger.info("Output from runqemu:\n%s" % self.getOutput(self.runqemu.stdout))
580 self.logger.warning('qemu-system ended unexpectedly')
593 self.logger.warning("Restarting qemu process")
683 self.logger.warning("Qemu ended unexpectedly, dump data from host"
692 def __init__(self, logfunc, sock, logger): argument
696 self.logger = logger
713 self.logger.debug("Starting logging thread")
718 self.logger.debug("Stopping logging thread")
723 self.logger.debug("Tearing down logging thread")
744 self.logger.debug("Starting thread event loop")
754 self.logger.debug("Stop event received")
760 self.logger.debug("Connection request received")
766 self.logger.debug("Setting connection established event")