From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7075593626590380032 X-Received: by 2002:a17:907:961f:b0:6db:c8f3:dc72 with SMTP id gb31-20020a170907961f00b006dbc8f3dc72mr13740732ejc.92.1647415018411; Wed, 16 Mar 2022 00:16:58 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:906:6a07:b0:6db:d3f5:96cc with SMTP id qw7-20020a1709066a0700b006dbd3f596ccls653793ejc.7.gmail; Wed, 16 Mar 2022 00:16:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtBMLQYJDy6EpQiDA7taoaNmqwW+q4VvPq+xgv9RYA+JFsVMN7xHZCldHFGm27X1kxwjLH X-Received: by 2002:a17:907:7b86:b0:6da:8a95:35bf with SMTP id ne6-20020a1709077b8600b006da8a9535bfmr25039227ejc.652.1647415017531; Wed, 16 Mar 2022 00:16:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647415017; cv=none; d=google.com; s=arc-20160816; b=W8hZeiklxvOsh/5hhtTYcMxi4ovHetnk7jfGPngGN5k8wG18grB2MuuR2LCaU6K/GS 3NAc0M1zzIl7ow8gjmgeEGKe0V56HQIzGnaNYIUi02Pwuk8xmWiSV+IRR3zKSalqdeky LbNrXiWYpMNsqXNeKzS+bibF/jdj5knOl4VDOb47Tr+q7dJ0Q7Iou5zkiBzcczgQ4lEF 4apK0yHZZGk0t2UFGdYEYTFK0LFf5X217Vdf0I55N4l1oGgKJML89Ug0GNGTamzS+BcQ SdcIboAzpFd4rE5mHj0spmesfzO589CcV2B4UCBbapBwxv2RHOtFnXdsNBrO49ggiyr7 TTjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from; bh=TkCKUNyDGG8bUz0wHbRBq5K5I2uT1zT95Y29ftv62xk=; b=unyA6Z2HQ029M8uqsW8l3k9QNwAoEA4gvMTMl2fcNb9h3b9ca9N1czoeGkPeAcwc+K fP4JazuQACuPKrKhM32a/bQAZGTa0+96sxHqCQHCjC+/YC8R20LiX+JavohlNAH/3ZZo Klh912y4LbsujNhfyd2n4p6JN8SnkD7r9tiPluG9j08kQMm5GUhvOUAEomXFDtDdrrP5 0nZiwsU2zEwmCzwDCs8JLxFggw5cOI+v4PGYzRy6srMDug/Njoj8B9avwomq+KKz0ugC WX3RoLVVoN7QArUt/o8fRfXqIB41sZE8TUyQJS3toR4T5bxsA4Aq0t9JQyjIXR24vgut 3NQQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id m16-20020a509310000000b0041641784d3fsi33572eda.3.2022.03.16.00.16.57 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 Mar 2022 00:16:57 -0700 (PDT) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from localhost.localdomain (mm-14-51-214-37.mgts.dynamic.pppoe.byfly.by [37.214.51.14] (may be forged)) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPSA id 22G7GtBK021311 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 16 Mar 2022 08:16:56 +0100 From: Anton Mikanovich To: isar-users@googlegroups.com Cc: Anton Mikanovich Subject: [PATCH v3 0/7] Unify build and run test cases Date: Wed, 16 Mar 2022 10:16:40 +0300 Message-Id: <20220316071647.8919-1-amikan@ilbers.de> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: 5zTZcfGWMPPW Make both build and start_vm CI tests run from one entry point to be able to manage CI in more flexible way. Also move QEMU boot logs into subdir to not flood ./build. Changes since v2: - Move timeout setting to unified test. Changes since v1: - Fix key paths for repro test. Anton Mikanovich (7): CI: Reorganize testsuite folders CI: Migrate all tests to one location CI: Adopt vm_start test logging CI: Do not run QEMU start tests from Gitlab CI: Rename build_test.py to citest.py CI: Change QEMU boot logs format CI: Add timeout setting to ci_build .gitlab-ci.yml | 4 +- scripts/ci_build.sh | 21 ++- scripts/vm_smoke_test | 4 +- testsuite/README.md | 26 +++- testsuite/build_test/run_fast.sh | 3 - testsuite/build_test/run_full.sh | 3 - testsuite/{build_test => }/cibase.py | 4 +- testsuite/{build_test => }/cibuilder.py | 80 ++++++++++- .../{build_test/build_test.py => citest.py} | 46 ++++++ testsuite/{ => keys}/base-apt/test_priv.key | 0 testsuite/{ => keys}/base-apt/test_pub.key | 0 testsuite/vm_boot_test/run_fast.sh | 3 - testsuite/vm_boot_test/run_full.sh | 3 - testsuite/vm_boot_test/vm_boot_test.py | 133 ------------------ 14 files changed, 172 insertions(+), 158 deletions(-) delete mode 100755 testsuite/build_test/run_fast.sh delete mode 100755 testsuite/build_test/run_full.sh rename testsuite/{build_test => }/cibase.py (97%) mode change 100644 => 100755 rename testsuite/{build_test => }/cibuilder.py (69%) mode change 100644 => 100755 rename testsuite/{build_test/build_test.py => citest.py} (87%) mode change 100644 => 100755 rename testsuite/{ => keys}/base-apt/test_priv.key (100%) rename testsuite/{ => keys}/base-apt/test_pub.key (100%) delete mode 100755 testsuite/vm_boot_test/run_fast.sh delete mode 100755 testsuite/vm_boot_test/run_full.sh delete mode 100644 testsuite/vm_boot_test/vm_boot_test.py -- 2.17.1