Received: by 2002:ac2:51c9:0:0:0:0:0 with SMTP id u9csp474696lfm; Thu, 20 May 2021 12:53:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx7y0kx8AiFxygFGsXk5dJs10ZEcaKll4B/VMvs3p3Q09dTzgTYMEg6YEEG9cwv3b8cguk1 X-Received: by 2002:a17:906:2746:: with SMTP id a6mr6364210ejd.265.1621540417585; Thu, 20 May 2021 12:53:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621540417; cv=none; d=google.com; s=arc-20160816; b=ymt0fHbMef0Cz41tjUOGPaGL3A/ypWE07FF1TdDr93IpIxLecp6hn3Nbs0kduP83Ek +AehuRxWmsIsGTG3EKbYcMOf219Tb7AliTEPChq11CKB8LJPIMYiG49ICf9qsFts7+eV LXFTvWoN+0NgcFHJtmEwPBPk/PFWpaaSJ2vvtp3gxifIf+X9ifyc6ROk2sYO2fdKOnV/ xup6iGvzZG+w/QMKy46BpzC2bW4Ee/pQ4dVNWtlZ4mp84co9JZ0BS+LfIF9OSgcvP5TN rw+x+Rp+wlta6mBrHBX9GY4dlZnLKD/iXTWncYMeHwwf1irfkR2AK/UV1gBDKGi1tccM +pEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=hsXdu6a0CKxnojfoZgwlJU9LIBqqP75G/U6o2y2NmyE=; b=D31m8XSkzZh1cMb4pUgnA02/KEiJiTgwflX6+/pXjo5ginzQu5J1vNP9pys3y2c/pP /mrbS7GLWWkwvVyaqibOa+ww2wQDOQ2PYTjCn6tzCMt4rAu5LfJOytjhaoMg/eGVwGif ZNePKQthT9zED0oIKumzEEBy1KYP1A+g+wIom74KI6KCPWcgC7MZrYxCZhmJBDWZhl63 EmpcihrL6Ed7jN2nQCsArFv+7fNt/GAnf/hK9eDwPIkN6Fkw3x89uGQBuCP9IUZtqEq3 HSLGZSSuouSzLG1VDp73pe+3E8oGMpCRhsfjkGZMshC3EP0vEG6QRsILWtgptR+j+T3b J9dA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dwa9TQgU; spf=pass (google.com: domain of willianr@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=willianr@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com. [170.10.133.124]) by mx.google.com with ESMTPS id bl4si560519ejb.17.2021.05.20.12.53.37 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 May 2021 12:53:37 -0700 (PDT) Received-SPF: pass (google.com: domain of willianr@redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dwa9TQgU; spf=pass (google.com: domain of willianr@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=willianr@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1621540416; 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=hsXdu6a0CKxnojfoZgwlJU9LIBqqP75G/U6o2y2NmyE=; b=dwa9TQgUwvIRCvfNhZrEOoKrPy/JnHKchk4xiRx1BMEBw4tfOKgKS59ggR6LaL1R5dTz1T j8sLeTnUQPmI0qaMALUuAhkMLS0FeuvHLUblWGC12eqy3LGwoSlm8RgfAr/IstFMB7xg0M UAnrFAqrARdPDyFs3jYQ+tvEE6Inlm4= 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-222-fu9K8OoANte9oC5uOt_-wg-1; Thu, 20 May 2021 15:53:34 -0400 X-MC-Unique: fu9K8OoANte9oC5uOt_-wg-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 7E1C81005D50; Thu, 20 May 2021 19:53:33 +0000 (UTC) Received: from wrampazz.redhat.com (ovpn-113-104.rdu2.redhat.com [10.10.113.104]) by smtp.corp.redhat.com (Postfix) with ESMTP id 54FB45D74B; Thu, 20 May 2021 19:53:24 +0000 (UTC) From: Willian Rampazzo To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Cleber Rosa , Willian Rampazzo , qemu-arm@nongnu.org, Niek Linnenbank , Wainer dos Santos Moschetta , Michael Rolnik , Thomas Huth , =?UTF-8?q?Alex=20Benn=C3=A9e?= Subject: [RFC 0/1] acceptance tests: rename acceptance to system Date: Thu, 20 May 2021 16:53:21 -0300 Message-Id: <20210520195322.205691-1-willianr@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=willianr@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-TUID: bYwYmLIliUUA CI pipeline: https://gitlab.com/willianrampazzo/qemu/-/pipelines/306850452= =0D =0D Conceptually speaking, acceptance tests "are a series of specific tests=0D conducted by the customer in an attempt to uncover product errors before=0D accepting the software from the developer. Conducted by the end-user rather= =0D than software engineers, acceptance testing can range from an informal=0D =E2=80=9Ctest drive=E2=80=9D to a planned and systematically executed serie= s of scripted=0D tests" [1]. Every time Pressman refers to the term "acceptance testing," he= =0D also refers to user's agreement in the final state of an implemented featur= e.=0D Today, QEMU is not implementing user acceptance tests as described by Press= man.=0D =0D There are other three possible terms we could use to describe what is curre= ntly=0D QEMU "acceptance" tests:=0D =0D 1 - Integration tests:=0D - "Integration testing is a systematic technique for constructing the= =0D software architecture while at the same time conducting tests to= =0D uncover errors associated with interfacing. The objective is to ta= ke=0D unit-tested components and build a program structure that has been= =0D dictated by design." [2]=0D * Note: Sommerville does not have a clear definition of integration= =0D testing. He refers to incremental integration of components inside= =0D the system testing (see [3]).=0D =0D 2 - Validation tests:=0D - "Validation testing begins at the culmination of integration testin= g,=0D when individual components have been exercised, the software is=0D completely assembled as a package, and interfacing errors have bee= n=0D uncovered and corrected. At the validation or system level, the=0D distinction between different software categories disappears. Test= ing=0D focuses on user-visible actions and user-recognizable output from = the=0D system." [4]=0D - "where you expect the system to perform correctly using a set of te= st=0D cases that reflect the system=E2=80=99s expected use." [5]=0D * Note: the definition of "validation testing" from Sommerville refle= cts=0D the same definition found around the Internet, as one of the proces= ses=0D inside the "Verification & Validation (V&V)." In this concept,=0D validation testing is a high-level definition that covers unit test= ing,=0D functional testing, integration testing, system testing, and accept= ance=0D testing.=0D =0D 3 - System tests:=0D - "verifies that all elements mesh properly and that overall system= =0D function and performance is achieved." [6]=0D - "involves integrating components to create a version of the system = and=0D then testing the integrated system. System testing checks that=0D components are compatible, interact correctly, and transfer the ri= ght=0D data at the right time across their interfaces." [7]=0D =0D The tests implemented inside the QEMU "acceptance" directory depend on the= =0D software completely assembled and, sometimes, on other elements, like opera= ting=0D system images. In this case, the proposal here is to rename the current=0D "acceptance" directory to "system."=0D =0D [1] Pressman, Roger S. & Maxim, Bruce R. (2020). Software Engineering, A=0D Practitioner=E2=80=99s Approach. p. 430.=0D [2] Pressman, Roger S. & Maxim, Bruce R. (2020). Software Engineering, A=0D Practitioner=E2=80=99s Approach. Software Engineering, p. 398.=0D [3] Sommerville, Ian (2016). Software Engineering. p. 240-242.=0D [4] Pressman, Roger S. & Maxim, Bruce R. (2020). Software Engineering, A=0D Practitioner=E2=80=99s Approach. Software Engineering, p. 407.=0D [5] Sommerville, Ian (2016). Software Engineering. p. 227.=0D [6] Pressman, Roger S. & Maxim, Bruce R. (2020). Software Engineering, A=0D Practitioner=E2=80=99s Approach. Software Engineering, p. 377.=0D [7] Sommerville, Ian (2016). Software Engineering. p. 240.=0D =0D Signed-off-by: Willian Rampazzo =0D =0D Willian Rampazzo (1):=0D acceptance tests: rename acceptance to system=0D =0D .gitlab-ci.yml | 58 +++++++++----------=0D MAINTAINERS | 40 ++++++-------=0D configure | 2 +-=0D docs/devel/build-system.rst | 2 +-=0D docs/devel/testing.rst | 23 ++++----=0D docs/system/arm/orangepi.rst | 8 +--=0D tests/Makefile.include | 14 ++---=0D tests/acceptance/README.rst | 10 ----=0D tests/system/README.rst | 10 ++++=0D .../avocado_qemu/__init__.py | 2 +-=0D tests/{acceptance =3D> system}/boot_linux.py | 0=0D .../boot_linux_console.py | 0=0D tests/{acceptance =3D> system}/boot_xen.py | 0=0D tests/{acceptance =3D> system}/cpu_queries.py | 0=0D .../{acceptance =3D> system}/empty_cpu_model.py | 0=0D tests/{acceptance =3D> system}/linux_initrd.py | 2 +-=0D .../linux_ssh_mips_malta.py | 0=0D .../machine_arm_canona1100.py | 0=0D .../machine_arm_integratorcp.py | 0=0D .../machine_arm_n8x0.py | 0=0D tests/{acceptance =3D> system}/machine_avr6.py | 2 +-=0D .../machine_m68k_nextcube.py | 0=0D .../machine_microblaze.py | 0=0D .../machine_mips_loongson3v.py | 0=0D .../machine_mips_malta.py | 0=0D tests/{acceptance =3D> system}/machine_ppc.py | 0=0D .../machine_rx_gdbsim.py | 0=0D .../machine_s390_ccw_virtio.py | 0=0D .../machine_sparc64_sun4u.py | 0=0D .../machine_sparc_leon3.py | 0=0D tests/{acceptance =3D> system}/migration.py | 0=0D tests/{acceptance =3D> system}/multiprocess.py | 0=0D .../pc_cpu_hotplug_props.py | 0=0D tests/{acceptance =3D> system}/ppc_prep_40p.py | 0=0D tests/{acceptance =3D> system}/replay_kernel.py | 0=0D .../reverse_debugging.py | 0=0D tests/{acceptance =3D> system}/tcg_plugins.py | 0=0D .../{acceptance =3D> system}/tesseract_utils.py | 0=0D tests/{acceptance =3D> system}/version.py | 0=0D tests/{acceptance =3D> system}/virtio-gpu.py | 0=0D .../virtio_check_params.py | 0=0D .../{acceptance =3D> system}/virtio_version.py | 0=0D .../virtiofs_submounts.py | 0=0D .../virtiofs_submounts.py.data/cleanup.sh | 0=0D .../guest-cleanup.sh | 0=0D .../virtiofs_submounts.py.data/guest.sh | 0=0D .../virtiofs_submounts.py.data/host.sh | 0=0D tests/{acceptance =3D> system}/vnc.py | 0=0D .../x86_cpu_model_versions.py | 0=0D 49 files changed, 86 insertions(+), 87 deletions(-)=0D delete mode 100644 tests/acceptance/README.rst=0D create mode 100644 tests/system/README.rst=0D rename tests/{acceptance =3D> system}/avocado_qemu/__init__.py (99%)=0D rename tests/{acceptance =3D> system}/boot_linux.py (100%)=0D rename tests/{acceptance =3D> system}/boot_linux_console.py (100%)=0D rename tests/{acceptance =3D> system}/boot_xen.py (100%)=0D rename tests/{acceptance =3D> system}/cpu_queries.py (100%)=0D rename tests/{acceptance =3D> system}/empty_cpu_model.py (100%)=0D rename tests/{acceptance =3D> system}/linux_initrd.py (99%)=0D rename tests/{acceptance =3D> system}/linux_ssh_mips_malta.py (100%)=0D rename tests/{acceptance =3D> system}/machine_arm_canona1100.py (100%)=0D rename tests/{acceptance =3D> system}/machine_arm_integratorcp.py (100%)= =0D rename tests/{acceptance =3D> system}/machine_arm_n8x0.py (100%)=0D rename tests/{acceptance =3D> system}/machine_avr6.py (98%)=0D rename tests/{acceptance =3D> system}/machine_m68k_nextcube.py (100%)=0D rename tests/{acceptance =3D> system}/machine_microblaze.py (100%)=0D rename tests/{acceptance =3D> system}/machine_mips_loongson3v.py (100%)=0D rename tests/{acceptance =3D> system}/machine_mips_malta.py (100%)=0D rename tests/{acceptance =3D> system}/machine_ppc.py (100%)=0D rename tests/{acceptance =3D> system}/machine_rx_gdbsim.py (100%)=0D rename tests/{acceptance =3D> system}/machine_s390_ccw_virtio.py (100%)=0D rename tests/{acceptance =3D> system}/machine_sparc64_sun4u.py (100%)=0D rename tests/{acceptance =3D> system}/machine_sparc_leon3.py (100%)=0D rename tests/{acceptance =3D> system}/migration.py (100%)=0D rename tests/{acceptance =3D> system}/multiprocess.py (100%)=0D rename tests/{acceptance =3D> system}/pc_cpu_hotplug_props.py (100%)=0D rename tests/{acceptance =3D> system}/ppc_prep_40p.py (100%)=0D rename tests/{acceptance =3D> system}/replay_kernel.py (100%)=0D rename tests/{acceptance =3D> system}/reverse_debugging.py (100%)=0D rename tests/{acceptance =3D> system}/tcg_plugins.py (100%)=0D rename tests/{acceptance =3D> system}/tesseract_utils.py (100%)=0D rename tests/{acceptance =3D> system}/version.py (100%)=0D rename tests/{acceptance =3D> system}/virtio-gpu.py (100%)=0D rename tests/{acceptance =3D> system}/virtio_check_params.py (100%)=0D rename tests/{acceptance =3D> system}/virtio_version.py (100%)=0D rename tests/{acceptance =3D> system}/virtiofs_submounts.py (100%)=0D rename tests/{acceptance =3D> system}/virtiofs_submounts.py.data/cleanup.s= h (100%)=0D rename tests/{acceptance =3D> system}/virtiofs_submounts.py.data/guest-cle= anup.sh (100%)=0D rename tests/{acceptance =3D> system}/virtiofs_submounts.py.data/guest.sh = (100%)=0D rename tests/{acceptance =3D> system}/virtiofs_submounts.py.data/host.sh (= 100%)=0D rename tests/{acceptance =3D> system}/vnc.py (100%)=0D rename tests/{acceptance =3D> system}/x86_cpu_model_versions.py (100%)=0D =0D --=20=0D 2.31.1=0D =0D