From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2E70BC4707F for ; Fri, 28 May 2021 02:36:05 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AD4D7613B6 for ; Fri, 28 May 2021 02:36:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AD4D7613B6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:54184 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmSLz-0007WB-Qn for qemu-devel@archiver.kernel.org; Thu, 27 May 2021 22:36:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmSIh-00073n-WF for qemu-devel@nongnu.org; Thu, 27 May 2021 22:32:40 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:20435) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmSIe-0007bw-3N for qemu-devel@nongnu.org; Thu, 27 May 2021 22:32:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1622169154; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JOZOOsQ1XvXtoiNH3YPqDp5qg8nh3e5RWIUCj6Oo8zg=; b=SCd4GREeAs0Rdp05VlS9gwJuVc92jEqJLowXOTpzzZL92Z7xu2kZQOp4w0iBs7HuQolyRb eXyIGu7jDCqVC07KYrkhTJdYiJP1rf8i4JTDvKK1E68QYWPdKMZ1MyYYhvYGWbaq25d5gK w5mxPsjyzUlHXQVcGc3XuLgCye3bpg0= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-367-mDCnmMuAOvejucxOrpH3mQ-1; Thu, 27 May 2021 22:32:31 -0400 X-MC-Unique: mDCnmMuAOvejucxOrpH3mQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id F238B107ACC7; Fri, 28 May 2021 02:32:29 +0000 (UTC) Received: from scv.redhat.com (ovpn-116-137.rdu2.redhat.com [10.10.116.137]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9E24FE17B; Fri, 28 May 2021 02:32:21 +0000 (UTC) From: John Snow To: qemu-devel@nongnu.org Subject: [PULL 00/44] Python patches Date: Thu, 27 May 2021 22:31:36 -0400 Message-Id: <20210528023220.417057-1-jsnow@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=jsnow@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=216.205.24.124; envelope-from=jsnow@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -31 X-Spam_score: -3.2 X-Spam_bar: --- X-Spam_report: (-3.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.374, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kevin Wolf , Peter Maydell , Thomas Huth , Eduardo Habkost , qemu-block@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Max Reitz , Willian Rampazzo , Cleber Rosa , John Snow , Aurelien Jarno Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" The following changes since commit c8616fc7670b884de5f74d2767aade224c1c5c3a= :=0D =0D Merge remote-tracking branch 'remotes/philmd/tags/gitlab-ci-20210527' int= o staging (2021-05-27 16:32:57 +0100)=0D =0D are available in the Git repository at:=0D =0D https://gitlab.com/jsnow/qemu.git tags/python-pull-request=0D =0D for you to fetch changes up to faa40e297406445ab8814844bd9aa532a7538cde:=0D =0D gitlab: add python linters to CI (2021-05-27 18:11:17 -0400)=0D =0D ----------------------------------------------------------------=0D Python pull request=0D =0D Python packaging & CI implementation=0D Acceptance tests sent w/ Cleber's blessing.=0D New CI tests send w/ stsquad's RB.=0D =0D --js=0D =0D ----------------------------------------------------------------=0D =0D Cleber Rosa (12):=0D Python: expose QEMUMachine's temporary directory=0D tests/acceptance/virtiofs_submounts.py: add missing accel tag=0D tests/acceptance/virtiofs_submounts.py: evaluate string not length=0D Python: add utility function for retrieving port redirection=0D Acceptance Tests: move useful ssh methods to base class=0D Acceptance Tests: add port redirection for ssh by default=0D Acceptance Tests: make username/password configurable=0D Acceptance Tests: set up SSH connection by default after boot for=0D LinuxTest=0D tests/acceptance/virtiofs_submounts.py: remove launch_vm()=0D Acceptance Tests: add basic documentation on LinuxTest base class=0D Acceptance Tests: introduce CPU hotplug test=0D tests/acceptance/virtiofs_submounts.py: fix setup of SSH pubkey=0D =0D John Snow (31):=0D python/console_socket: avoid one-letter variable=0D python/machine: use subprocess.DEVNULL instead of=0D open(os.path.devnull)=0D python/machine: use subprocess.run instead of subprocess.Popen=0D python/console_socket: Add a pylint ignore=0D python/machine: Disable pylint warning for open() in _pre_launch=0D python/machine: disable warning for Popen in _launch()=0D python/machine: Trim line length to below 80 chars=0D iotests/297: add --namespace-packages to mypy arguments=0D python: create qemu packages=0D python: add qemu package installer=0D python: add VERSION file=0D python: add directory structure README.rst files=0D python: add MANIFEST.in=0D python: Add pipenv support=0D python: add pylint import exceptions=0D python: move pylintrc into setup.cfg=0D python: add pylint to pipenv=0D python: move flake8 config to setup.cfg=0D python: add excluded dirs to flake8 config=0D python: Add flake8 to pipenv=0D python: move mypy.ini into setup.cfg=0D python: add mypy to pipenv=0D python: move .isort.cfg into setup.cfg=0D python/qemu: add isort to pipenv=0D python/qemu: add qemu package itself to pipenv=0D python: add devel package requirements to setuptools=0D python: add avocado-framework and tests=0D python: add Makefile for some common tasks=0D python: add .gitignore=0D python: add tox support=0D gitlab: add python linters to CI=0D =0D Willian Rampazzo (1):=0D acceptance tests: bump Avocado version to 88.1=0D =0D docs/devel/testing.rst | 26 +++=0D python/PACKAGE.rst | 43 ++++=0D python/README.rst | 58 +++++=0D python/qemu/README.rst | 8 +=0D python/qemu/machine/README.rst | 9 +=0D python/qemu/qmp/README.rst | 9 +=0D python/qemu/utils/README.rst | 7 +=0D .gitlab-ci.d/containers.yml | 5 +=0D .gitlab-ci.d/static_checks.yml | 21 ++=0D python/.gitignore | 16 ++=0D python/MANIFEST.in | 3 +=0D python/Makefile | 48 ++++=0D python/Pipfile | 13 ++=0D python/Pipfile.lock | 231 ++++++++++++++++++++=0D python/VERSION | 1 +=0D python/avocado.cfg | 10 +=0D python/mypy.ini | 4 -=0D python/qemu/.flake8 | 2 -=0D python/qemu/.isort.cfg | 7 -=0D python/qemu/__init__.py | 11 -=0D python/qemu/machine/__init__.py | 36 +++=0D python/qemu/{ =3D> machine}/console_socket.py | 11 +-=0D python/qemu/{ =3D> machine}/machine.py | 68 ++++--=0D python/qemu/{ =3D> machine}/qtest.py | 9 +-=0D python/qemu/pylintrc | 58 -----=0D python/qemu/{qmp.py =3D> qmp/__init__.py} | 12 +-=0D python/qemu/utils/__init__.py | 45 ++++=0D python/qemu/{ =3D> utils}/accel.py | 0=0D python/setup.cfg | 102 +++++++++=0D python/setup.py | 23 ++=0D python/tests/flake8.sh | 2 +=0D python/tests/isort.sh | 2 +=0D python/tests/mypy.sh | 2 +=0D python/tests/pylint.sh | 2 +=0D tests/acceptance/avocado_qemu/__init__.py | 69 +++++-=0D tests/acceptance/boot_linux.py | 18 +-=0D tests/acceptance/hotplug_cpu.py | 37 ++++=0D tests/acceptance/info_usernet.py | 29 +++=0D tests/acceptance/linux_ssh_mips_malta.py | 42 +---=0D tests/acceptance/virtio-gpu.py | 2 +-=0D tests/acceptance/virtiofs_submounts.py | 71 +-----=0D tests/docker/dockerfiles/python.docker | 18 ++=0D tests/qemu-iotests/297 | 1 +=0D tests/qemu-iotests/300 | 4 +-=0D tests/qemu-iotests/iotests.py | 4 +-=0D tests/requirements.txt | 2 +-=0D tests/vm/aarch64vm.py | 2 +-=0D tests/vm/basevm.py | 8 +-=0D 48 files changed, 965 insertions(+), 246 deletions(-)=0D create mode 100644 python/PACKAGE.rst=0D create mode 100644 python/README.rst=0D create mode 100644 python/qemu/README.rst=0D create mode 100644 python/qemu/machine/README.rst=0D create mode 100644 python/qemu/qmp/README.rst=0D create mode 100644 python/qemu/utils/README.rst=0D create mode 100644 python/.gitignore=0D create mode 100644 python/MANIFEST.in=0D create mode 100644 python/Makefile=0D create mode 100644 python/Pipfile=0D create mode 100644 python/Pipfile.lock=0D create mode 100644 python/VERSION=0D create mode 100644 python/avocado.cfg=0D delete mode 100644 python/mypy.ini=0D delete mode 100644 python/qemu/.flake8=0D delete mode 100644 python/qemu/.isort.cfg=0D delete mode 100644 python/qemu/__init__.py=0D create mode 100644 python/qemu/machine/__init__.py=0D rename python/qemu/{ =3D> machine}/console_socket.py (94%)=0D rename python/qemu/{ =3D> machine}/machine.py (93%)=0D rename python/qemu/{ =3D> machine}/qtest.py (95%)=0D delete mode 100644 python/qemu/pylintrc=0D rename python/qemu/{qmp.py =3D> qmp/__init__.py} (96%)=0D create mode 100644 python/qemu/utils/__init__.py=0D rename python/qemu/{ =3D> utils}/accel.py (100%)=0D create mode 100644 python/setup.cfg=0D create mode 100755 python/setup.py=0D create mode 100755 python/tests/flake8.sh=0D create mode 100755 python/tests/isort.sh=0D create mode 100755 python/tests/mypy.sh=0D create mode 100755 python/tests/pylint.sh=0D create mode 100644 tests/acceptance/hotplug_cpu.py=0D create mode 100644 tests/acceptance/info_usernet.py=0D create mode 100644 tests/docker/dockerfiles/python.docker=0D =0D --=20=0D 2.31.1=0D =0D