Commit Graph

89 Commits

Author SHA1 Message Date
imagebuilder-bot
2386ce6980 Update to 105
Resolves: RHEL-1035
2024-01-31 10:03:57 +00:00
Paweł Poławski
56f6146b16 Tests: Backport upstream unit tests fixes
After recent upstream rebase few tests were failing:
* test_libc_futimes_works FAILED
* test_exports_normal FAILED
* test_exports_with_force_no_preserve_owner FAILED
* test_fat FAILED

Patches fixing those issues has been presented upstream shortly after
rebasing has been completed. This commit adds backport those fixes.

Resolves: RHEL-1770
2024-01-17 18:12:03 +01:00
imagebuilder-bot
b4e6d35d3c Update to 104
Resolves: RHEL-1035
2024-01-16 16:22:49 +00:00
imagebuilder-bot
46345603cf Update to 103
Resolves: RHEL-1035
2024-01-03 09:33:55 +00:00
imagebuilder-bot
7d493aa042 Update to 102
Resolves: RHEL-1035
2023-12-20 09:03:36 +00:00
Paweł Poławski
16e7b5de92 Tests: Update unit tests timeout
RHEL uses this repo for releases. Part of the procedure is unit testing
which takes big amount of time. On some machines default 3h time limit
may be not long enough to complete tests.

This limit has been changed to 4h now.

Resolves: RHEL-1035
2023-12-12 16:07:45 +01:00
imagebuilder-bot
86cf85c676 Update to 101
Resolves: RHEL-1035
2023-12-06 09:33:42 +00:00
imagebuilder-bot
6be03baa6f Update to 100
Resolves: RHEL-1035
2023-11-24 10:34:09 +00:00
imagebuilder-bot
fd6ad9f3ef Update to 99
Resolves: RHEL-1035
2023-11-08 09:06:27 +00:00
imagebuilder-bot
fa0287a223 Update to 98
Resolves: RHEL-1035
2023-10-25 09:33:55 +00:00
imagebuilder-bot
fd325d10a1 Update to 97
Resolves: RHEL-1035
2023-10-11 09:08:22 +00:00
imagebuilder-bot
33d2785343 Update to 96
Resolves: RHEL-1035
2023-09-27 09:33:32 +00:00
imagebuilder-bot
084ba0b075 Update to 95
Resolves: RHEL-1035
2023-09-13 08:37:21 +00:00
imagebuilder-bot
09ae25838f Update to 94
Resolves: RHEL-1035
2023-08-30 09:05:45 +00:00
imagebuilder-bot
2fef4fc652 Update to 93
Resolves: rhbz#2174847
2023-08-23 16:04:35 +00:00
imagebuilder-bot
887393a5c9 Update to 92
Resolves: rhbz#2174847
2023-08-17 12:34:36 +00:00
imagebuilder-bot
98b9c787c8 Update to 91
Resolves: rhbz#2174847
2023-08-02 16:04:39 +00:00
imagebuilder-bot
898683e92c Update to 90
Resolves: rhbz#2174847
2023-07-20 11:34:02 +00:00
imagebuilder-bot
2a2823880f Update to 89
Resolves: rhbz#2174847
2023-06-27 13:31:56 +00:00
Tomáš Hozza
90ab1b7b0c Increase unit-test duration to 3h
Related: rhbz#2174847
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-06-27 12:33:42 +02:00
Tomáš Hozza
d50917e374 Fix unit tests in RHEL CI and rebuild RPM
Also clean up the repo from unused patches and files.

Related: rhbz#2174847
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-06-23 14:30:46 +02:00
imagebuilder-bot
1bfe28214e Update to 88
Resolves: rhbz#2174847
2023-06-21 09:02:37 +00:00
imagebuilder-bot
6b21e4945f Update to 87
Resolves: rhbz#2174847
2023-06-07 09:32:02 +00:00
imagebuilder-bot
db225a0a2c
Update to 86
Resolves: rhbz#2174847
2023-05-30 14:46:48 +02:00
Tomáš Hozza
2d5873bf11
Test: unify test case implementation across c8s / c9s
Resolves: rhbz#2174847
2023-05-30 13:08:03 +02:00
imagebuilder-bot
09f8ff7118 Update to 85
Resolves: rhbz#2174847
2023-05-11 13:01:20 +00:00
imagebuilder-bot
2dad96e318 Update to 84
Resolves: rhbz#2174847
2023-04-27 14:01:28 +00:00
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