Merge pull request #72947 from tfc/boot-test-port-fix
Boot test port fix
This commit is contained in:
commit
6ed6d1af6a
|
@ -601,7 +601,7 @@ class Machine:
|
||||||
stdin=subprocess.DEVNULL,
|
stdin=subprocess.DEVNULL,
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.STDOUT,
|
stderr=subprocess.STDOUT,
|
||||||
shell=False,
|
shell=True,
|
||||||
cwd=self.state_dir,
|
cwd=self.state_dir,
|
||||||
env=environment,
|
env=environment,
|
||||||
)
|
)
|
||||||
|
@ -610,7 +610,7 @@ class Machine:
|
||||||
|
|
||||||
def process_serial_output():
|
def process_serial_output():
|
||||||
for line in self.process.stdout:
|
for line in self.process.stdout:
|
||||||
line = line.decode().replace("\r", "").rstrip()
|
line = line.decode("unicode_escape").replace("\r", "").rstrip()
|
||||||
eprint("{} # {}".format(self.name, line))
|
eprint("{} # {}".format(self.name, line))
|
||||||
self.logger.enqueue({"msg": line, "machine": self.name})
|
self.logger.enqueue({"msg": line, "machine": self.name})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue