From patchwork Thu May 18 16:20:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 683390 Delivered-To: patch@linaro.org Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp464918wrt; Thu, 18 May 2023 09:21:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ64MPrjgneEAtBN7KTNXMYUihtqBhZKKLkv8Bkg/IFBNVc/r9sB4dNfye01Y8dvLkT+JBmi X-Received: by 2002:a05:622a:2cf:b0:3f5:1626:6a3d with SMTP id a15-20020a05622a02cf00b003f516266a3dmr389271qtx.42.1684426911255; Thu, 18 May 2023 09:21:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684426911; cv=none; d=google.com; s=arc-20160816; b=G64V4oCvy4EWsxPRA9KXfzcY93e3E5YWnRK4ddyIbnepeScVcjmDEk4YVouQGuUJml 8pmgzIcypMvqGvoM3LrBHlJ+9o3MBDVQs4lqa6rnQY63qeizYqlsmK66C82wOqusTkbZ Ya5oEYN87NbKUEsY5EQArOWhqDgOa8x96t0lLPssMXEnYnEwvxenDAaznQxy/GkxsXpO wDqISJ+e4liTtasz6CI2wx53qsWrjRneqdJ0O9xlOJnvYeZNtEGEQ7S5ODIFATt9r5EI HA6Hl1RghsfMkihBp+5GM0TsAKkqIZeaXEx/cze1bzH7cg3UnKgs3F59X9wfthJ19NA2 IzVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=cvrSe/0m52GzDnMMDzRQNC/FD8LWFpadN65cq2Wt+xM=; b=fpNsdclZYIBdlnp1Vb1xaku3nIGuPFrxrrLFWkDqqztQ9z+90UBRwZG0ix0WAAqCSV YaAHRDGOF8IRubp9G2JhOhfFfJghtOxSO2BgHwM1puEUyORjXariCC4Ehjpt9dd3gost WPCwKwQrpnG+aE5Gcaf1jJ4Bf1lNT3EhPNoKQ8hQzhaZIsuqoVCV2Vj4dP8VElh+g8c5 i57+iXKSZLOdUnh2hCChFnwGjzi1QrmGoWWQu5ndilHFl4dhV3COZQCmeuYLYMupbbbX Yu5tHkT8q06ulKVo1g2S8gS8XZ6Ig/3nb6+wnnRklDS8WIK+PhlK1+mehpmgD5EE/4g8 1JHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XYHaabGY; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id o13-20020ac85a4d000000b003f6856c175asi1286687qta.94.2023.05.18.09.21.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 May 2023 09:21:51 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XYHaabGY; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pzgMw-0007bh-Ib; Thu, 18 May 2023 12:20:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pzgMq-0007Ys-P1 for qemu-devel@nongnu.org; Thu, 18 May 2023 12:20:41 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pzgMo-0006Oj-Qe for qemu-devel@nongnu.org; Thu, 18 May 2023 12:20:40 -0400 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-3f49bf0223cso21787265e9.1 for ; Thu, 18 May 2023 09:20:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684426837; x=1687018837; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=cvrSe/0m52GzDnMMDzRQNC/FD8LWFpadN65cq2Wt+xM=; b=XYHaabGYmEmFFCX/TZMC/qaCzxN0WXe0y5/GLkSDjp+S/J2qo6RHchB8MQtf1WOwSZ 1sDx/fWRTCmwAMVA683FXLqBIxlSEw1pU8/z/NrC/NGguiPskVbhgHlWQbV38w3xbLyO 3nA2NKXu1vMqh+ri6f1NKYwCDqzp+7cvSbIuet5sPDRQz6JIp+CYhVcgXMGBo46657W+ cJ8GU5evua0LYcKLjU6Cw4VRUP8hWf7+Ovy96/3fXLtXYZSDUYjj9vDdwCDe4K/Pr2KA KOV5XbRLSIxZ3e9GHJhKBPStEaVXzpCEFmiSCX4GiUhZeP8erle/bTk9XJURL/7bplyK gxWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684426837; x=1687018837; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cvrSe/0m52GzDnMMDzRQNC/FD8LWFpadN65cq2Wt+xM=; b=PRMuBoXkC6iW1B8pME5GNpVcO3nFO7RksETbgvlyxU3A/5PeEsE6m5mtev0h3gm9rH sg6fVsCE4EXiD/2j6rHnvDTDqzAkKX1pwokwKhAuG2GuEXtva5PCdm9jNcR0YTYcalJC IXs4C9IJ7GlEH3Oc/UFWFTXnLqhPuc4JZO9vFXkMDG7IR5DHkOg1M1zNFoLc0Ygv88hM fzLqVluqddvX0KSiCgkaAAFRM6ew8ZKLLofteg2Ns3ahr8Q1z9ylpYbvHfxPk86Hhj5G 3X97eerzkgiDh+IYJbtUPQoGMaWcpBh7ryi4Gbz05pH729R6yQV4ve2vc8aoCvCo73Nm Xe6w== X-Gm-Message-State: AC+VfDw1AskG/ha+w78ioLGMCKjPyd3doy4qPb4bM1UvuUiBlqQ3IjQo v5ac1xyhI1I7AGyNrK8l7HRIQA== X-Received: by 2002:a7b:c3cd:0:b0:3f4:271a:8aaf with SMTP id t13-20020a7bc3cd000000b003f4271a8aafmr1913348wmj.38.1684426837535; Thu, 18 May 2023 09:20:37 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id k4-20020a7bc404000000b003f4e3ed98ffsm2469035wmi.35.2023.05.18.09.20.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 May 2023 09:20:35 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id D45471FFC1; Thu, 18 May 2023 17:20:34 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Markus Armbruster , Richard Henderson , Peter Maydell , Thomas Huth , John Snow , =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Daniel_P?= =?utf-8?q?=2E_Berrang=C3=A9?= , =?utf-8?q?Marc-Andr?= =?utf-8?q?=C3=A9_Lureau?= , =?utf-8?q?Philippe?= =?utf-8?q?_Mathieu-Daud=C3=A9?= , Paolo Bonzini , Mark Cave-Ayland , Wainer dos Santos Moschetta , Cleber Rosa , Beraldo Leal Subject: [PATCH 6/8] tests/avocado: move guest output to "avocado" namespace Date: Thu, 18 May 2023 17:20:32 +0100 Message-Id: <20230518162034.1277885-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230518162034.1277885-1-alex.bennee@linaro.org> References: <20230518162034.1277885-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x333.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org It has been noted that console logs have disappeared since the update to the latest avocado. This seems to fix it. Signed-off-by: Alex Bennée --- tests/avocado/avocado_qemu/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/avocado/avocado_qemu/__init__.py b/tests/avocado/avocado_qemu/__init__.py index 33090903f1..b19f797b7b 100644 --- a/tests/avocado/avocado_qemu/__init__.py +++ b/tests/avocado/avocado_qemu/__init__.py @@ -138,7 +138,7 @@ def _console_interaction(test, success_message, failure_message, if vm is None: vm = test.vm console = vm.console_socket.makefile(mode='rb', encoding='utf-8') - console_logger = logging.getLogger('console') + console_logger = logging.getLogger('avocado.guest.console') while True: if send_string: vm.console_socket.sendall(send_string.encode()) @@ -407,7 +407,7 @@ class LinuxSSHMixIn: """Contains utility methods for interacting with a guest via SSH.""" def ssh_connect(self, username, credential, credential_is_key=True): - self.ssh_logger = logging.getLogger('ssh') + self.ssh_logger = logging.getLogger('avocado.guest.ssh') res = self.vm.command('human-monitor-command', command_line='info usernet') port = get_info_usernet_hostfwd_port(res)