1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-30 01:23:08 +00:00
Commit Graph

695 Commits

Author SHA1 Message Date
Lukas Ruzicka
37524c0e2b Fix syntax. 2018-06-28 15:55:13 +02:00
Lukas Ruzicka
ef0e6ab593 Try to refresh package db. 2018-06-28 15:50:24 +02:00
Lukas Ruzicka
cac403544a Try to refresh package db. 2018-06-28 15:49:14 +02:00
Lukas Ruzicka
6b683362bd Fix the waiting. 2018-06-28 15:42:02 +02:00
Lukas Ruzicka
500835c492 Fix wait times. 2018-06-28 15:03:01 +02:00
Lukas Ruzicka
0f715ce1f0 Try different sleep. 2018-06-28 14:34:40 +02:00
Lukas Ruzicka
9657ca9ebe Make the test return to graphics. 2018-06-28 14:26:08 +02:00
Lukas Ruzicka
abd22b996e Change sleep time. 2018-06-28 14:17:01 +02:00
Lukas Ruzicka
6d3dc64f6d Update tests. 2018-06-28 14:05:56 +02:00
Lukas Ruzicka
350ab09ee5 Added checks and asserts. 2018-06-28 13:11:46 +02:00
Lukas Ruzicka
23c55dc8bc Add needles for the upgrade test- 2018-06-28 13:10:32 +02:00
Lukas Ruzicka
502ec3d945 Branch out the test based on update test. 2018-06-28 11:34:03 +02:00
Lukas Ruzicka
7a461b2647 Update needle areas. 2018-06-28 11:33:08 +02:00
Lukas Ruzicka
97eecbb1b6 Make longer time out. 2018-06-27 14:59:22 +02:00
Lukas Ruzicka
d85a8577fc Add needles to assert. 2018-06-27 13:56:18 +02:00
Lukas Ruzicka
320370866d Run Gnome Software 2018-06-27 13:11:13 +02:00
Lukas Ruzicka
9cda308488 Add needle to assert logged in system. 2018-06-27 13:04:55 +02:00
Lukas Ruzicka
4e54961509 Add login into system. 2018-06-27 12:42:15 +02:00
Lukas Ruzicka
e402d5d819 Add needles to assert. 2018-06-27 12:35:39 +02:00
Lukas Ruzicka
796455e205 Add login into system. 2018-06-27 12:11:34 +02:00
Lukas Ruzicka
43596423ee Add login into system. 2018-06-27 11:55:59 +02:00
Lukas Ruzicka
80aeb39b33 Add login into system. 2018-06-27 11:50:37 +02:00
Lukas Ruzicka
1c1da2590c Add login into system. 2018-06-27 11:47:33 +02:00
Lukas Ruzicka
0931b2270a Try another screen. 2018-06-27 10:51:33 +02:00
Lukas Ruzicka
cdd9b3d528 Add checker. 2018-06-27 10:44:56 +02:00
Lukas Ruzicka
57c0a1a2a3 Fix syntax. 2018-06-27 10:38:45 +02:00
Lukas Ruzicka
f610617fc6 Add login line. 2018-06-27 10:08:51 +02:00
Lukas Ruzicka
efa70c86fb Clean dnf stuff. 2018-06-27 09:49:09 +02:00
Lukas Ruzicka
25b0567558 Fork the test. 2018-06-25 16:28:50 +02:00
Adam Williamson
baf0023fe5 Add some variant KDE network notification needles
Sometimes it shows up highlighted in blue. Whatevs.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-06-20 16:42:14 -07:00
Adam Williamson
faef957bac Revert workaround for RHBZ#1553935 now it's fixed
We don't need this any more, so let's remove the complication.
2018-06-18 11:02:08 -07:00
Adam Williamson
b1140dafde Same workaround as last commit, for device type
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-06-15 14:34:56 -07:00
Adam Williamson
9b7a9c9cd8 Work around a partition scheme selection bug on aarch64
Sometimes on aarch64 clicking the partition scheme drop-down
just doesn't seem to make the menu appear, instead the button
goes active but that's all. It's very unlikely we'll be able
to track down why as this doesn't happen in manual testing on
aarch64 (according to @pwhalen), so instead let's just work
around it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-06-15 13:40:13 -07:00
Adam Williamson
6324db0b87 Fix some minor syntax errors in previous commit
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-06-13 10:11:53 -07:00
Lukas Ruzicka
8897fe45a6 Add test for Arabic installation (revisited). 2018-06-13 11:56:26 +02:00
Adam Williamson
bd1b951f71 Bump a magic sleep a bit
Seems we need to wait a bit longer for this stupid transition
to happen on aarch64...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-06-11 15:59:44 -07:00
Adam Williamson
c3d6e8bdbd Add yet another download_complete variant needle
Sometimes this is pressed down, sometimes it isn't, sometimes
it's blue, I'm losing track...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-06-04 17:34:48 -07:00
Adam Williamson
459120aae4 Add several new variant needles for KDE (new background)
These all are caused by a new desktop background and bits of
KDE desktop chrome apparently becoming translucent.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-06-04 17:33:43 -07:00
Adam Williamson
ce0efcd8df Bump HDDSIZEGB for Workstation-boot-iso i386
Did this for x86_64 last year, but forgot about i386.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-06-04 16:17:23 -07:00
Adam Williamson
7de1c4837a Go back to 'std' video driver for UEFI tests
This should be safe now we finally figured out #1518464.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-06-04 11:08:07 -07:00
Adam Williamson
06fbeca281 Avoid unconditional wait for Timbuktu screen in _boot_to_anaconda
The way this currently works, the test unconditionally waits 60
seconds for the "Timbuktu screen" (the warning dialog shown on
pre-release images) to appear when anaconda is starting up, even
if it's testing an image where it doesn't show up. Now we test
Atomic nightlies and live respins and stuff this happens quite a
lot, so let's avoid it. This way if the hub appears during those
60 seconds we'll spot it right away and continue, otherwise we
behave the same as before.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-05-24 14:18:21 -07:00
Adam Williamson
05c9f4fbcd Make sure all check_screen calls have explicit timeout
Upstream is gonna change the default from 30 to 0, it seems:
https://github.com/os-autoinst/os-autoinst/pull/965
so let's go ahead and change these two cases where we have no
explicit timeout to have one.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-05-24 14:17:24 -07:00
Adam Williamson
33ac181955 Use mirrorlist instead of baseurl for updates tests
The reason we have all this horrible code to use the commented-
out baseurl lines in the repo files instead of the metalinks
that are usually used is a timing issue with the metalink
system. As a protection against stale mirrors, the metalink
system sends the package manager a list of mirrors *and a list
of recent checksums for the repo metadata*. The package manager
goes out and gets the metadata from the first mirror on the
list, then checksums it; if the checksum isn't on the list of
checksums it got from mirrormanager, it assumes that means the
mirror is stale, and tries the next on the list instead.

The problem is that MM's list of checksums is currently only
updated once an hour (by a cron job). So we kept running into
a problem where, when a test ran just after one of the repos
had been regenerated, the infra mirror it's supposed to use
would be rejected because the checksum wasn't on the list - but
not because the mirror was stale, but because it was too fresh,
it had got the new packages and metadata but mirrormanager's
list of checksums hadn't been updated to include the checksum
for the latest metadata.

All this baseurl munging code was getting ridiculous, though,
what with the tests getting more complicated and errors showing
up in the actual repo files and stuff. It occurred to me that
instead of using the baseurl we can just use the 'mirrorlist'
system instead of 'metalink'. mirrorlist is the dumber, older
system which just provides the package manager a list of mirrors
and nothing else - the whole stale-mirror-detection-checksum
thing does not happen with mirrorlists, the package manager just
tries all the mirrors in order and uses the first that works.
And happily, it's very easy to convert the metalink URLs into
mirrorlist URLs, and it saves all that faffing around trying to
fix up baseurls.

Also, adjust upgrade_boot to do the s/metalink/mirrorlist/
substitution, so upgrade tests don't run into the timing issue
in the steps before the main repo_setup run is done by
upgrade_run, and adjust repo_setup_compose to sub this line out
later.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-05-18 16:41:13 -07:00
Michel Normand
d661eaaad4 New needles encrypted tests, blue background bypass brc#1551662
The background is now blue for ppc64le, so add related needles as bypass.
no such problem with ppc64 (BE)

problem initially detected on Rawhide compose 20180204
but still present on f28 compose 20180302
             and Rawhide compose 20180513

Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
2018-05-16 12:55:29 +02:00
Adam Williamson
307f3a0d58 Add needles to handle console login with 'white on grey' colors
https://bugzilla.redhat.com/show_bug.cgi?id=1403365 has been
around approximately forever and I still haven't managed to
debug it; let's just make needles for it, as it's not really a
critical bug, the system still *works*.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-05-14 18:47:49 -07:00
Adam Williamson
891fb57140 Add yet another layout_us-gdm variant
Really not sure why the appearance of this needle seems to change
so much, but oh well.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-05-14 18:46:55 -07:00
Adam Williamson
085cc7d281 Add variant console passphrase needle for i386
For quite a while on i386 the 'enter passphrase' console screen
has used bright white text, for some reason. Let's just have a
variant needle for this instead of worrying too hard about why.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-05-14 18:45:24 -07:00
Adam Williamson
8754611eef Extend some boot timeouts in upgrade tests
Sometimes rebooting during upgrade tests seems to take longer
than these timeouts allow, so let's bump them a bit.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-05-11 09:02:21 -07:00
Adam Williamson
c69b01f447 Add variant install_lang_inactive needle
Different font kerning, for some reason. Hope I don't have a
huge needle retake here...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-05-09 23:27:38 -07:00
Adam Williamson
c074fe5e34 Add some more variant needles (passphrase entry, Firefox)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-05-07 16:24:36 -07:00