From: Jan Kiszka <jan.kiszka@siemens.com>
To: Anton Mikanovich <amikan@ilbers.de>, isar-users@googlegroups.com
Subject: Re: [PATCH v8 00/17] Update Avocado testsuite
Date: Mon, 21 Jun 2021 16:57:06 +0200 [thread overview]
Message-ID: <e34280ef-007e-373a-e9e7-2d0c1df998ab@siemens.com> (raw)
In-Reply-To: <ed066d4e-68a3-3a45-793f-88382177a911@siemens.com>
On 21.06.21 08:49, Jan Kiszka wrote:
> On 02.06.21 10:09, Anton Mikanovich wrote:
>> This patchset provides implementation of build and vm_start tests
>> functionality in Python with help of Avocado framework.
>> Scripts ci_build and vm_smoke_test are rewritten to call Avocado.
>> ci_build and vm_smoke_test are left for compatibility and
>> should be replaced by direct avocado calls later.
>> Original ci_build and vm_smoke_test are renamed to *_legacy.
>> Build and run logs are hidden now until an error occurs.
>>
>> ---
>> Changes since v7:
>> - Remove code duplication.
>> - Fix build_dir parsing.
>> - Add missed protect files backup logic.
>> Changes since v6:
>> - Improve environment parsing.
>> - Protect files backup logic.
>> - Rebuild full log output option.
>> - Protect ubuntu target with KFAIL.
>> Changes since v5:
>> - Rebase on current next.
>> Changes since v4:
>> - Add container tests.
>> - Implement testcase skipping logic.
>> - Separate and protect Bullseye tests.
>> - Add checks for container dependencies.
>> - Add Ilbers repo key.
>> - Improve error handling.
>> - Fix Ubuntu qemu image name.
>> Changes since v3:
>> - Add automatic bitbake init.
>> - Fix line lengths.
>> - Fix build without repro.
>> - Fix build artifact paths.
>> - Prepare for Gitlab build.
>> - Change debug settings.
>> - Move log splitting to start_vm.
>> - Add deb package install.
>> Changes since v2:
>> - Make CI call Avocado tests.
>> - Wait less on vm_start test.
>> - Split Roman's vm_start commit.
>> - Put logs to build folder.
>> - Rearrange patches.
>> - Split build test to classes.
>> - Add test case tagging.
>> - Get rid of avocado-framework-plugin-varianter-yaml-to-mux.
>> - Get rid of python-subprocess32.
>> - Improve logging.
>> Changes since v1:
>> - Merge start_vm rebuild patches.
>> - Fix patch comments.
>>
>> Anton Mikanovich (14):
>> start_vm.py: Fix ubuntu image name
>> vm_boot_test: Fix log file path in vm_boot_test
>> vm_boot_test: Remove external varianter
>> vm_boot_test: Improve QEMU images checking
>> build_test: Refactoring build tests cases
>> testsuite: Add Python generations for testsuite in gitignore
>> testsuite: Fix test suite prepare guide
>> gitlab-ci: Add Avocado build artifacts
>> gitlab-ci: Add debug flag
>> vm_boot_test: Add automatic bitbake init
>> build_test: Protect ubuntu target with KFAIL
>> ci_build: Migrate to Avocado
>> vm_smoke_test: Migrate to Avocado
>> ci_build: Install Avocado if needed
>>
>> Roman Pletnev (3):
>> start_vm.py: Fix target name handling
>> start_vm.py: Add output and PID file vm_start.py options
>> start_vm.py: Add MIPS support
>>
>> .gitlab-ci.yml | 5 +-
>> scripts/ci_build.sh | 213 ++++----------------
>> scripts/ci_build_legacy.sh | 267 +++++++++++++++++++++++++
>> scripts/vm_smoke_test | 110 ++--------
>> scripts/vm_smoke_test_legacy | 168 ++++++++++++++++
>> testsuite/.gitignore | 1 +
>> testsuite/README.md | 21 +-
>> testsuite/build_test/build_test.py | 217 ++++++++++++++++++--
>> testsuite/build_test/cibase.py | 110 ++++++++++
>> testsuite/build_test/cibuilder.py | 103 ++++++++++
>> testsuite/build_test/run.sh | 3 -
>> testsuite/build_test/run_fast.sh | 3 +
>> testsuite/build_test/run_full.sh | 3 +
>> testsuite/build_test/variant.yaml | 22 --
>> testsuite/start_vm.py | 27 ++-
>> testsuite/vm_boot_test/run.sh | 3 -
>> testsuite/vm_boot_test/run_fast.sh | 3 +
>> testsuite/vm_boot_test/run_full.sh | 3 +
>> testsuite/vm_boot_test/variant.yaml | 22 --
>> testsuite/vm_boot_test/vm_boot_test.py | 121 +++++++++--
>> 20 files changed, 1043 insertions(+), 382 deletions(-)
>> create mode 100755 scripts/ci_build_legacy.sh
>> create mode 100755 scripts/vm_smoke_test_legacy
>> create mode 100644 testsuite/.gitignore
>> create mode 100644 testsuite/build_test/cibase.py
>> create mode 100644 testsuite/build_test/cibuilder.py
>> delete mode 100755 testsuite/build_test/run.sh
>> create mode 100755 testsuite/build_test/run_fast.sh
>> create mode 100755 testsuite/build_test/run_full.sh
>> delete mode 100644 testsuite/build_test/variant.yaml
>> delete mode 100755 testsuite/vm_boot_test/run.sh
>> create mode 100755 testsuite/vm_boot_test/run_fast.sh
>> create mode 100755 testsuite/vm_boot_test/run_full.sh
>> delete mode 100644 testsuite/vm_boot_test/variant.yaml
>>
>
> I tried that revision in our CI, but all attempts are failing,
> apparently due to connectivity issues. That would be something to blame
> on our infrastructure - if current next wouldn't pass... Retrying once
> again.
Seems there to be some changing fetch patterns, and that upset our local
proxies once again. Isar is not to blaim for the proxy mess. I was
shortly confused that do_rootfs_postprocess is always failing with
fetches, but those are related to cache_deb_src pulling all related
sources. Wasn't that tested so far, and therefore current next didn't
trigger that for us?
Jan
--
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
prev parent reply other threads:[~2021-06-21 14:57 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-02 8:09 Anton Mikanovich
2021-06-02 8:09 ` [PATCH v8 01/17] start_vm.py: Fix target name handling Anton Mikanovich
2021-06-02 8:09 ` [PATCH v8 02/17] start_vm.py: Add output and PID file vm_start.py options Anton Mikanovich
2021-06-02 8:09 ` [PATCH v8 03/17] start_vm.py: Add MIPS support Anton Mikanovich
2021-06-02 8:09 ` [PATCH v8 04/17] start_vm.py: Fix ubuntu image name Anton Mikanovich
2021-06-02 8:09 ` [PATCH v8 05/17] vm_boot_test: Fix log file path in vm_boot_test Anton Mikanovich
2021-06-02 8:09 ` [PATCH v8 06/17] vm_boot_test: Remove external varianter Anton Mikanovich
2021-06-02 8:09 ` [PATCH v8 07/17] vm_boot_test: Improve QEMU images checking Anton Mikanovich
2021-06-02 8:09 ` [PATCH v8 08/17] build_test: Refactoring build tests cases Anton Mikanovich
2021-06-02 8:09 ` [PATCH v8 09/17] testsuite: Add Python generations for testsuite in gitignore Anton Mikanovich
2021-06-02 8:09 ` [PATCH v8 10/17] testsuite: Fix test suite prepare guide Anton Mikanovich
2021-06-02 8:09 ` [PATCH v8 11/17] gitlab-ci: Add Avocado build artifacts Anton Mikanovich
2021-06-02 8:09 ` [PATCH v8 12/17] gitlab-ci: Add debug flag Anton Mikanovich
2021-06-02 8:09 ` [PATCH v8 13/17] vm_boot_test: Add automatic bitbake init Anton Mikanovich
2021-06-02 8:09 ` [PATCH v8 14/17] build_test: Protect ubuntu target with KFAIL Anton Mikanovich
2021-06-02 8:09 ` [PATCH v8 15/17] ci_build: Migrate to Avocado Anton Mikanovich
2021-06-02 8:09 ` [PATCH v8 16/17] vm_smoke_test: " Anton Mikanovich
2021-06-02 8:09 ` [PATCH v8 17/17] ci_build: Install Avocado if needed Anton Mikanovich
2021-06-21 6:49 ` [PATCH v8 00/17] Update Avocado testsuite Jan Kiszka
2021-06-21 14:57 ` Jan Kiszka [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e34280ef-007e-373a-e9e7-2d0c1df998ab@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=amikan@ilbers.de \
--cc=isar-users@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox