def METHOD_NAME(self):
    try:
        serialconn = pexpect.spawn(self.serialcontrol_cmd, env=self.origenv, logfile=sys.stdout)
        serialconn.expect("login:", timeout=120)
        serialconn.close()
    except pexpect.ExceptionPexpect as e:
        bb.fatal('Serial interaction failed: %s' % str(e))