From: Jan Kiszka <jan.kiszka@siemens.com>
To: Anton Mikanovich <amikan@ilbers.de>, isar-users@googlegroups.com
Subject: Re: [PATCH v6 00/15] Update Avocado testsuite
Date: Sun, 9 May 2021 10:38:09 +0200 [thread overview]
Message-ID: <a7c9865a-a90e-7cca-66fa-2ceb9007158f@siemens.com> (raw)
In-Reply-To: <20210509064224.96072-1-amikan@ilbers.de>
On 09.05.21 08:42, 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 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 (12):
> 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
> vm_boot_test: Add automatic bitbake init
> 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 | 1 +
> scripts/ci_build.sh | 212 +++++---------------
> 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 | 208 +++++++++++++++++--
> testsuite/build_test/cibase.py | 145 ++++++++++++++
> testsuite/build_test/cibuilder.py | 90 +++++++++
> 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 | 120 +++++++++--
> 20 files changed, 1057 insertions(+), 375 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
>
Is that equivalent to 1c1c1dd00dcb8a9c312faa25d22da0a7ddb0238d
(amikan/devel)? Tried that revision, but this is what our CI said when
running fast-ci:
+ avocado run /builds/ebsy/debian/isar/testsuite/build_test/build_test.py -t fast,-repro -p build_dir=./build -p quiet=1 -p cross=1
JOB ID : 6725f043528240b81c41c00342477799b6a592f6
JOB LOG : /builds/ebsy/debian/isar/build/job-results/job-2021-05-09T08.28-6725f04/job.log
(1/7) /builds/ebsy/debian/isar/testsuite/build_test/build_test.py:CrossTest.test_cross: ERROR: dictionary update sequence element #48 has length 1; 2 is required (0.07 s)
(2/7) /builds/ebsy/debian/isar/testsuite/build_test/build_test.py:CrossTest.test_cross_bullseye: CANCEL: KFAIL (0.05 s)
(3/7) /builds/ebsy/debian/isar/testsuite/build_test/build_test.py:SdkTest.test_sdk: ERROR: dictionary update sequence element #48 has length 1; 2 is required (0.07 s)
(4/7) /builds/ebsy/debian/isar/testsuite/build_test/build_test.py:RebuildTest.test_rebuild: ERROR: dictionary update sequence element #48 has length 1; 2 is required (1.63 s)
(5/7) /builds/ebsy/debian/isar/testsuite/build_test/build_test.py:WicTest.test_wic_exclude: ERROR: dictionary update sequence element #48 has length 1; 2 is required (0.07 s)
(6/7) /builds/ebsy/debian/isar/testsuite/build_test/build_test.py:ContainerImageTest.test_nocross: ERROR: dictionary update sequence element #48 has length 1; 2 is required (0.07 s)
(7/7) /builds/ebsy/debian/isar/testsuite/build_test/build_test.py:ContainerSdkTest.test_container_sdk: ERROR: dictionary update sequence element #48 has length 1; 2 is required (0.07 s)
RESULTS : PASS 0 | ERROR 6 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 1
JOB TIME : 2.71 s
I can provide the full log if needed.
Jan
--
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2021-05-09 8:45 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-09 6:42 Anton Mikanovich
2021-05-09 6:42 ` [PATCH v6 01/15] start_vm.py: Fix target name handling Anton Mikanovich
2021-05-09 6:42 ` [PATCH v6 02/15] start_vm.py: Add output and PID file vm_start.py options Anton Mikanovich
2021-05-09 6:42 ` [PATCH v6 03/15] start_vm.py: Add MIPS support Anton Mikanovich
2021-05-09 6:42 ` [PATCH v6 04/15] start_vm.py: Fix ubuntu image name Anton Mikanovich
2021-05-09 6:42 ` [PATCH v6 05/15] vm_boot_test: Fix log file path in vm_boot_test Anton Mikanovich
2021-05-09 6:42 ` [PATCH v6 06/15] vm_boot_test: Remove external varianter Anton Mikanovich
2021-05-09 6:42 ` [PATCH v6 07/15] vm_boot_test: Improve QEMU images checking Anton Mikanovich
2021-05-09 6:42 ` [PATCH v6 08/15] build_test: Refactoring build tests cases Anton Mikanovich
2021-05-09 6:42 ` [PATCH v6 09/15] testsuite: Add Python generations for testsuite in gitignore Anton Mikanovich
2021-05-09 6:42 ` [PATCH v6 10/15] testsuite: Fix test suite prepare guide Anton Mikanovich
2021-05-09 6:42 ` [PATCH v6 11/15] gitlab-ci: Add Avocado build artifacts Anton Mikanovich
2021-05-09 6:42 ` [PATCH v6 12/15] vm_boot_test: Add automatic bitbake init Anton Mikanovich
2021-05-09 6:42 ` [PATCH v6 13/15] ci_build: Migrate to Avocado Anton Mikanovich
2021-05-09 6:42 ` [PATCH v6 14/15] vm_smoke_test: " Anton Mikanovich
2021-05-09 6:42 ` [PATCH v6 15/15] ci_build: Install Avocado if needed Anton Mikanovich
2021-05-09 10:17 ` Jan Kiszka
2021-05-09 8:38 ` Jan Kiszka [this message]
2021-05-09 9:17 ` [PATCH v6 00/15] Update Avocado testsuite Anton Mikanovich
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=a7c9865a-a90e-7cca-66fa-2ceb9007158f@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