Commit Graph

62 Commits

Author SHA1 Message Date
Tomáš Hozza bda943d73c
Test: install pytest from pip
pytest version available in RHEL repos (especially on el8) is too old to
be used with osbuild tests and how we execute them. In order to keep the
test implementation the same across all distributions and their
versions, install pytest from pip and not system repositories.

Related: rhbz#2174847

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-04-24 21:38:03 +02:00
Tomáš Hozza eac3dd265a
Test: simplify SRC_DIR extraction in run-unit-tests.sh
Use `spectool`, instead of `rpmdev-spectool`, because it is available
only on c9s and el9 and the intention was to keep tests implementation
the same across all distributions and their versions. This makes the
test case identical to c8s / el8.

In addition, the output from the tool differs on c8s and c9s, therefore
simplify the extraction of the SRC_DIR using only one sed command, which
produces the desired output on c8s and c9s.

Related: rhbz#2174847

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-04-24 21:02:57 +02:00
Tomáš Hozza 4d13e6b27c
Test: Rework FMF test metadata and test discovery for integration tests
Do not execute test script in the test plan, but use TMT test discovery
instead.

Related: rhbz#2174847

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-04-21 17:49:23 +02:00
Tomáš Hozza 288b280073
Test: rework execution of unit-tests
We have been running just a subset of osbuild unit tests and also not as
a root, so some of them would be skipped.

In addition, the downstream patches were never applied on sources which
were used for unit-testing. Thus if any issue with test was just
backported as a patch, this had no effect on the test result.

Rework how tests are executed by using a dedicated script which will
take care of the installation of test dependencies, preparation of
sources including application of downstream patches and execute all unit
tests.

Rework also the FMF test metadata and test discovery.

Related: rhbz#2174847

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-04-21 17:49:23 +02:00
Tomáš Hozza 52630621bc
Backport upstream test changes allowing to skip unsupported tests
Related: rhbz#2174847

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-04-21 13:30:42 +02:00
imagebuilder-bot 357f378bc7 Update to 82
Resolves: rhbz#2174847
2023-03-29 09:01:06 +00:00
imagebuilder-bot 03984e651f Update to 81
Resolves: rhbz#2132250
2023-02-27 20:17:54 +00:00
imagebuilder-bot 147e96ae08 Update to 80
Resolves: rhbz#2132250
2023-02-20 15:31:53 +00:00
Tomáš Hozza 185e3a8ba7
Test: fix the case statement patterns in `build-images.sh`
Related: rhbz#2132250

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-02-15 14:36:11 +01:00
imagebuilder-bot 82472434ee Update to 79
Resolves: rhbz#2132250
2023-02-15 13:31:20 +00:00
Tomáš Hozza 01e2f67db0
Test: rework integration test to run on all supported distros
Previously, the integration test was always skipped in c9s. Rework it to
pick the correct image manifest based on the running distro and build it
using osbuild.

Pick manifests for the latest distro versions from the upstream
osbuild-composer repository. Use qcow2 image with customizations.

Related: rhbz#2132250

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-02-15 11:57:08 +01:00
imagebuilder-bot 7f7c2d2f19 Update to 78
Resolves: rhbz#2132250
2023-02-07 16:30:34 +00:00
imagebuilder-bot 2ef9d71a6e Update to 77
Resolves: rhbz#2132250
2023-01-20 17:00:45 +00:00
imagebuilder-bot a73a36b221 Update to 76
Resolves: rhbz#2132250
2023-01-19 08:30:44 +00:00
imagebuilder-bot de5d43db5f Update to 75
Resolves: rhbz#2132250
2023-01-04 09:00:55 +00:00
imagebuilder-bot 02766cb810 Update to 74
Resolves: rhbz#2132250
2022-12-21 17:01:11 +00:00
imagebuilder-bot 284a7be831 Update to 73
Resolves: rhbz#2132250
2022-12-07 09:31:11 +00:00
imagebuilder-bot 222032cb07 Update to 72
Resolves: rhbz#2132250
2022-11-23 09:01:52 +00:00
imagebuilder-bot 54767ab95c Update to 71
Resolves: rhbz#2132250
2022-11-09 09:00:37 +00:00
imagebuilder-bots+imagebuilder-bot@redhat.com 9f45bcdb22 Update to 70
Resolves: rhbz#2132250
2022-10-26 09:01:06 +00:00
imagebuilder-bots+imagebuilder-bot@redhat.com e9b1f2469f Update to 69
Resolves: rhbz#2132250
2022-10-18 16:40:12 +00:00
imagebuilder-bot a98719b359 Update to 65
Resolves: rhbz#2059869
2022-08-26 17:31:26 +00:00
imagebuilder-bot 692e8dfd95 Update to 64
Resolves: rhbz#2059869
2022-08-18 16:30:48 +00:00
imagebuilder-bot a562e86f35 Update to 63
Resolves: rhbz#2059869
2022-08-03 09:30:31 +00:00
imagebuilder-bot e906175375 Update to 62
Resolves: rhbz#2059869
2022-07-27 11:02:19 +00:00
imagebuilder-bot 18d256f6b4 Update to 61
Resolves: rhbz#2059869
2022-07-20 09:00:25 +00:00
imagebuilder-bot 77eec5b067 Update to 60
Resolves: rhbz#2059869
2022-07-06 09:00:19 +00:00
imagebuilder-bot eaf28d4804 Update to 59
Resolves: rhbz#2059869
2022-06-22 09:00:25 +00:00
imagebuilder-bot 6a612ac6be Update to 58
Resolves: rhbz#2059869
2022-06-08 14:30:45 +00:00
imagebuilder-bot 45bb5496fb Update to 57
Resolves: rhbz#2059869
2022-05-25 19:14:06 +00:00
imagebuilder-bot 68bcaaf317 Update to 56
Resolves: rhbz#2059869
2022-05-11 14:01:02 +00:00
imagebuilder-bot 2abb1c06e2 Update to 55
Resolves: rhbz#2059869
2022-04-27 14:00:24 +00:00
imagebuilder-bot 822ae08e5f Update to 54
Resolves: rhbz#2059869
2022-04-13 13:30:36 +00:00
imagebuilder-bot ad3e3646a4 Update to 53
Resolves: rhbz#2059869
2022-03-24 08:00:24 +00:00
Simon Steinbeiss de1bddefcf Update to 52
Resolves: rhbz#2059869
2022-03-04 16:00:26 +00:00
Simon Steinbeiss d1572aba99 Update to 50
Resolves: rhbz#2011777
2022-02-27 19:30:33 +00:00
Simon Steinbeiss 7f71e7e631 Update to 49
Resolves: rhbz#2011777
2022-02-23 19:30:30 +00:00
Chloe Kaubisch 07927c9639 Update to 48
Use tmt based tests instead of STI

Resolves: rhbz#2011777
2022-02-17 17:38:20 +01:00
Jacob Kozol 0a6907053e Update to 47
Resolves: rhbz#2011777
2022-02-02 17:30:44 +00:00
Simon Steinbeiss e42880f213 Update to 46
Resolves: rhbz#2011777
2022-01-19 15:30:36 +00:00
Tomas Hozza b4063d0bc2 Update to 45
Resolves: rhbz#2011777
2022-01-07 11:30:37 +00:00
Simon Steinbeiss c67f48e9bc Update to 44
Resolves: rhbz#2011777
2021-12-16 09:30:35 +00:00
Achilleas Koutsou 3ee572d3cd Update to 43
Resolves: rhbz#2011777
2021-12-01 14:01:09 +00:00
Gianluca Zuccarelli ad1c3b966c Update to 42
Resolves: rhbz#2011777
2021-11-17 11:00:26 +00:00
Simon Steinbeiss 96abed7a28 Update to 39
Resolves: rhbz#2011777
2021-10-07 18:01:45 +02:00
Tom Gundersen 68e7687585 Update to 35
Resolves: rhbz#1972429
2021-08-29 18:41:18 +00:00
Tom Gundersen b7c0840b89 Update to 34
Resolves: rhbz#1972429
2021-08-29 17:03:27 +00:00
Tom Gundersen f4171558fe Update to 33
Resolves: rhbz#1972429
2021-08-25 21:00:38 +00:00
Tom Gundersen e2ed3cdafb Update to 32
Resolves: rhbz#1972429
2021-08-24 13:27:39 +00:00
Tom Gundersen 0f7edb2964 Update to 31
Resolves: rhbz#1972429
2021-08-23 19:48:15 +00:00