1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-04 15:24:20 +00:00
Commit Graph

60 Commits

Author SHA1 Message Date
Adam Williamson
c3d4b29219 Enable FreeIPA replica and upgrade tests on aarch64
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-03-12 16:17:09 -07:00
Adam Williamson
ea39133fcf Enable remote logging tests on aarch64
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-03-12 16:16:15 -07:00
Guy Menanteau
85b71c809f Increase HDD size to 13G for install_package_set_kde test
to avoid failure in "disk_guided_empty" module,
at least required for PowerPC

Signed-off-by: Guy Menanteau <menantea@linux.vnet.ibm.com>
2020-03-05 09:11:27 +01:00
Guy Menanteau
fbacfa8ec5 Increase HDD size from 13 to 15G for language tests
because failing in "disk_guided_empty" module
at least for PowerPC.

Signed-off-by: Guy Menanteau <menantea@linux.vnet.ibm.com>
2020-03-05 09:11:27 +01:00
Adam Williamson
1bb38cbb16 Set gic-version=max for aarch64 qemu 'machine' arg
This is needed for qemu to run on the new aarch64 worker hosts,
per https://bugzilla.redhat.com/show_bug.cgi?id=1661976 .

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-03-03 16:41:04 -08:00
Adam Williamson
2e6cf6453d Tweak IoT initial-setup handling (only on F31)
initial-setup doesn't appear on IoT F32+, so we shouldn't expect
it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-02-20 08:38:50 -08:00
Adam Williamson
04a2c22273 Set disk size for memory_check test to 13GB
It needs more space to install Workstation.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-02-20 08:10:28 -08:00
Adam Williamson
0f8f6082eb Enable IoT testing with install and base tests
IoT is becoming a release-blocking edition for F32, so we should
be testing it for sure. We may add specific tests, but for now
let's run the install and base tests on it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-02-17 08:36:55 -08:00
Adam Williamson
07e57c638f Re-enable memory_check test (on Everything, with WS packages)
We were only running this test on the Workstation boot ISO...
then that was removed, and so we actually never ran this test at
all any more. We should run it on at least one image as check-
compose uses the output to check whether installer memory usage
has increased. I initially ran it on Workstation as that installs
the most packages; so let's run it on Everything but use the
Workstation package set.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-25 17:15:08 +01:00
Adam Williamson
2c197d520c Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.

Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.

So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.

The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.

The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.

The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-24 15:21:23 +01:00