Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
#!/usr/share/openqa/script/load_templates
|
|
|
|
#
|
|
|
|
# Fedora Machines, Products, TestSuites and JobTemplates
|
|
|
|
#
|
|
|
|
# use load_templates to load the file into the database
|
|
|
|
#
|
|
|
|
{
|
|
|
|
JobTemplates => [
|
|
|
|
{
|
2017-03-02 05:10:41 +00:00
|
|
|
group_name => "Fedora Updates",
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-workstation",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "base_selinux" },
|
|
|
|
},
|
|
|
|
{
|
2017-03-02 05:10:41 +00:00
|
|
|
group_name => "Fedora Updates",
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "base_selinux" },
|
|
|
|
},
|
|
|
|
{
|
2017-03-02 05:10:41 +00:00
|
|
|
group_name => "Fedora Updates",
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 42,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-kde",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "base_selinux" },
|
|
|
|
},
|
|
|
|
{
|
2017-03-02 05:10:41 +00:00
|
|
|
group_name => "Fedora Updates",
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-workstation",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "base_services_start" },
|
|
|
|
},
|
|
|
|
{
|
2017-03-02 05:10:41 +00:00
|
|
|
group_name => "Fedora Updates",
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "base_services_start" },
|
|
|
|
},
|
|
|
|
{
|
2017-03-02 05:10:41 +00:00
|
|
|
group_name => "Fedora Updates",
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 42,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-kde",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "base_services_start" },
|
|
|
|
},
|
|
|
|
{
|
2017-03-02 05:10:41 +00:00
|
|
|
group_name => "Fedora Updates",
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-workstation",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "base_service_manipulation" },
|
|
|
|
},
|
|
|
|
{
|
2017-03-02 05:10:41 +00:00
|
|
|
group_name => "Fedora Updates",
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "base_service_manipulation" },
|
|
|
|
},
|
|
|
|
{
|
2017-03-02 05:10:41 +00:00
|
|
|
group_name => "Fedora Updates",
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 42,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-kde",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "base_service_manipulation" },
|
|
|
|
},
|
|
|
|
{
|
2017-03-02 05:10:41 +00:00
|
|
|
group_name => "Fedora Updates",
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-workstation",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "base_update_cli" },
|
|
|
|
},
|
|
|
|
{
|
2017-03-02 05:10:41 +00:00
|
|
|
group_name => "Fedora Updates",
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "base_update_cli" },
|
|
|
|
},
|
|
|
|
{
|
2017-03-02 05:10:41 +00:00
|
|
|
group_name => "Fedora Updates",
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 42,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-kde",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "base_update_cli" },
|
|
|
|
},
|
|
|
|
{
|
2017-03-02 05:10:41 +00:00
|
|
|
group_name => "Fedora Updates",
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 30,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-workstation",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "desktop_update_graphical" },
|
|
|
|
},
|
|
|
|
{
|
2017-03-02 05:10:41 +00:00
|
|
|
group_name => "Fedora Updates",
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 32,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-kde",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "desktop_update_graphical" },
|
|
|
|
},
|
|
|
|
{
|
2017-03-02 05:10:41 +00:00
|
|
|
group_name => "Fedora Updates",
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 30,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-workstation",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "desktop_terminal" },
|
|
|
|
},
|
|
|
|
{
|
2017-03-02 05:10:41 +00:00
|
|
|
group_name => "Fedora Updates",
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 32,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-kde",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "desktop_terminal" },
|
|
|
|
},
|
|
|
|
{
|
2017-03-02 05:10:41 +00:00
|
|
|
group_name => "Fedora Updates",
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 30,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-workstation",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "desktop_browser" },
|
|
|
|
},
|
|
|
|
{
|
2017-03-02 05:10:41 +00:00
|
|
|
group_name => "Fedora Updates",
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 32,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-kde",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "desktop_browser" },
|
|
|
|
},
|
2019-08-14 21:30:25 +00:00
|
|
|
{
|
|
|
|
group_name => "Fedora Updates",
|
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 30,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-workstation",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "desktop_background" },
|
|
|
|
},
|
|
|
|
{
|
|
|
|
group_name => "Fedora Updates",
|
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 32,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-kde",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "desktop_background" },
|
|
|
|
},
|
2019-12-07 00:33:09 +00:00
|
|
|
{
|
|
|
|
group_name => "Fedora Updates",
|
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 30,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-workstation",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "desktop_printing" },
|
|
|
|
},
|
|
|
|
{
|
|
|
|
group_name => "Fedora Updates",
|
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 32,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-kde",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "desktop_printing" },
|
|
|
|
},
|
2018-04-27 23:46:56 +00:00
|
|
|
{
|
|
|
|
group_name => "Fedora Updates",
|
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-workstation-upgrade",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "upgrade_desktop_encrypted_64bit" },
|
|
|
|
},
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
{
|
2017-03-02 05:10:41 +00:00
|
|
|
group_name => "Fedora Updates",
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "server_role_deploy_domain_controller" },
|
|
|
|
},
|
|
|
|
{
|
2017-03-02 05:10:41 +00:00
|
|
|
group_name => "Fedora Updates",
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "server_cockpit_default" },
|
|
|
|
},
|
|
|
|
{
|
2017-03-02 05:10:41 +00:00
|
|
|
group_name => "Fedora Updates",
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "server_cockpit_basic" },
|
|
|
|
},
|
|
|
|
{
|
2017-03-02 05:10:41 +00:00
|
|
|
group_name => "Fedora Updates",
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "realmd_join_cockpit" },
|
|
|
|
},
|
|
|
|
{
|
2017-03-02 05:10:41 +00:00
|
|
|
group_name => "Fedora Updates",
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 30,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "realmd_join_sssd" },
|
|
|
|
},
|
2018-04-20 17:12:01 +00:00
|
|
|
{
|
|
|
|
group_name => "Fedora Updates",
|
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server-upgrade",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "upgrade_server_domain_controller" },
|
|
|
|
},
|
|
|
|
{
|
|
|
|
group_name => "Fedora Updates",
|
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 30,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server-upgrade",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "upgrade_realmd_client" },
|
|
|
|
},
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
{
|
2017-03-02 05:10:41 +00:00
|
|
|
group_name => "Fedora Updates",
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "server_role_deploy_database_server" },
|
|
|
|
},
|
|
|
|
{
|
2017-03-02 05:10:41 +00:00
|
|
|
group_name => "Fedora Updates",
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "server_database_client" },
|
|
|
|
},
|
|
|
|
{
|
2017-03-02 05:10:41 +00:00
|
|
|
group_name => "Fedora Updates",
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 40,
|
2019-04-09 01:23:51 +00:00
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "server_freeipa_replication_master" },
|
|
|
|
},
|
|
|
|
{
|
|
|
|
group_name => "Fedora Updates",
|
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "server_freeipa_replication_replica" },
|
|
|
|
},
|
|
|
|
{
|
|
|
|
group_name => "Fedora Updates",
|
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "server_freeipa_replication_client" },
|
|
|
|
},
|
|
|
|
{
|
|
|
|
group_name => "Fedora Updates",
|
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 40,
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "server_firewall_default" },
|
|
|
|
},
|
2018-10-04 22:19:43 +00:00
|
|
|
{
|
|
|
|
group_name => "Fedora Updates",
|
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "advisory_boot" },
|
|
|
|
},
|
2018-08-31 20:34:12 +00:00
|
|
|
{
|
|
|
|
group_name => "Fedora Updates",
|
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
2019-01-29 14:56:01 +00:00
|
|
|
flavor => "updates-everything-boot-iso",
|
2018-08-31 20:34:12 +00:00
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "installer_build" },
|
|
|
|
},
|
2019-01-25 13:41:32 +00:00
|
|
|
{
|
|
|
|
group_name => "Fedora Updates",
|
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
2019-01-29 14:56:01 +00:00
|
|
|
flavor => "updates-everything-boot-iso",
|
2019-01-25 13:41:32 +00:00
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "support_server" },
|
|
|
|
},
|
2018-08-31 20:34:12 +00:00
|
|
|
{
|
|
|
|
group_name => "Fedora Updates",
|
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
2019-01-29 14:56:01 +00:00
|
|
|
flavor => "updates-everything-boot-iso",
|
2018-08-31 20:34:12 +00:00
|
|
|
version => "*",
|
|
|
|
},
|
2019-01-29 14:56:01 +00:00
|
|
|
test_suite => { name => "install_default_update_netinst" },
|
2018-08-31 20:34:12 +00:00
|
|
|
},
|
2019-01-29 13:23:22 +00:00
|
|
|
{
|
|
|
|
group_name => "Fedora Updates",
|
|
|
|
machine => { name => "uefi" },
|
|
|
|
prio => 41,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
2019-01-29 14:56:01 +00:00
|
|
|
flavor => "updates-everything-boot-iso",
|
2019-01-29 13:23:22 +00:00
|
|
|
version => "*",
|
|
|
|
},
|
2019-01-29 14:56:01 +00:00
|
|
|
test_suite => { name => "install_default_update_netinst" },
|
|
|
|
},
|
|
|
|
{
|
|
|
|
group_name => "Fedora Updates",
|
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-workstation-live-iso",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "live_build" },
|
|
|
|
},
|
|
|
|
{
|
|
|
|
group_name => "Fedora Updates",
|
|
|
|
machine => { name => "64bit" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-workstation-live-iso",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "install_default_update_live" },
|
|
|
|
},
|
|
|
|
{
|
|
|
|
group_name => "Fedora Updates",
|
|
|
|
machine => { name => "uefi" },
|
|
|
|
prio => 41,
|
|
|
|
product => {
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-workstation-live-iso",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "install_default_update_live" },
|
2019-01-29 13:23:22 +00:00
|
|
|
},
|
2017-08-17 08:24:42 +00:00
|
|
|
{
|
|
|
|
group_name => "Fedora PowerPC Updates",
|
|
|
|
machine => { name => "ppc64le" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "ppc64le",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "base_selinux" },
|
|
|
|
},
|
|
|
|
{
|
|
|
|
group_name => "Fedora PowerPC Updates",
|
|
|
|
machine => { name => "ppc64le" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "ppc64le",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "base_services_start" },
|
|
|
|
},
|
|
|
|
{
|
|
|
|
group_name => "Fedora PowerPC Updates",
|
|
|
|
machine => { name => "ppc64le" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "ppc64le",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "base_service_manipulation" },
|
|
|
|
},
|
|
|
|
{
|
|
|
|
group_name => "Fedora PowerPC Updates",
|
|
|
|
machine => { name => "ppc64le" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "ppc64le",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "base_update_cli" },
|
|
|
|
},
|
2018-04-27 06:56:13 +00:00
|
|
|
{
|
|
|
|
group_name => "Fedora PowerPC Updates",
|
|
|
|
machine => { name => "ppc64le" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "ppc64le",
|
|
|
|
distri => "fedora",
|
2019-03-08 12:27:06 +00:00
|
|
|
flavor => "updates-server",
|
2018-04-27 06:56:13 +00:00
|
|
|
version => "*",
|
|
|
|
},
|
2019-03-08 12:27:06 +00:00
|
|
|
test_suite => { name => "server_role_deploy_domain_controller" },
|
2018-04-27 06:56:13 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
group_name => "Fedora PowerPC Updates",
|
|
|
|
machine => { name => "ppc64le" },
|
2019-03-08 12:27:06 +00:00
|
|
|
prio => 40,
|
2018-04-27 06:56:13 +00:00
|
|
|
product => {
|
|
|
|
arch => "ppc64le",
|
|
|
|
distri => "fedora",
|
2019-03-08 12:27:06 +00:00
|
|
|
flavor => "updates-server",
|
2018-04-27 06:56:13 +00:00
|
|
|
version => "*",
|
|
|
|
},
|
2019-03-08 12:27:06 +00:00
|
|
|
test_suite => { name => "server_cockpit_default" },
|
2018-04-27 06:56:13 +00:00
|
|
|
},
|
2017-08-17 08:24:42 +00:00
|
|
|
{
|
|
|
|
group_name => "Fedora PowerPC Updates",
|
|
|
|
machine => { name => "ppc64le" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "ppc64le",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
2019-03-08 12:27:06 +00:00
|
|
|
test_suite => { name => "server_cockpit_basic" },
|
2017-08-17 08:24:42 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
group_name => "Fedora PowerPC Updates",
|
|
|
|
machine => { name => "ppc64le" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "ppc64le",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
2019-03-08 12:27:06 +00:00
|
|
|
test_suite => { name => "realmd_join_cockpit" },
|
2017-08-17 08:24:42 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
group_name => "Fedora PowerPC Updates",
|
|
|
|
machine => { name => "ppc64le" },
|
2019-03-08 12:27:06 +00:00
|
|
|
prio => 30,
|
2017-08-17 08:24:42 +00:00
|
|
|
product => {
|
|
|
|
arch => "ppc64le",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
2019-03-08 12:27:06 +00:00
|
|
|
test_suite => { name => "realmd_join_sssd" },
|
2017-08-17 08:24:42 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
group_name => "Fedora PowerPC Updates",
|
|
|
|
machine => { name => "ppc64le" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "ppc64le",
|
|
|
|
distri => "fedora",
|
2019-03-08 12:27:06 +00:00
|
|
|
flavor => "updates-server-upgrade",
|
2017-08-17 08:24:42 +00:00
|
|
|
version => "*",
|
|
|
|
},
|
2019-03-08 12:27:06 +00:00
|
|
|
test_suite => { name => "upgrade_server_domain_controller" },
|
2017-08-17 08:24:42 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
group_name => "Fedora PowerPC Updates",
|
|
|
|
machine => { name => "ppc64le" },
|
|
|
|
prio => 30,
|
|
|
|
product => {
|
|
|
|
arch => "ppc64le",
|
|
|
|
distri => "fedora",
|
2019-03-08 12:27:06 +00:00
|
|
|
flavor => "updates-server-upgrade",
|
2017-08-17 08:24:42 +00:00
|
|
|
version => "*",
|
|
|
|
},
|
2019-03-08 12:27:06 +00:00
|
|
|
test_suite => { name => "upgrade_realmd_client" },
|
2017-08-17 08:24:42 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
group_name => "Fedora PowerPC Updates",
|
|
|
|
machine => { name => "ppc64le" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "ppc64le",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "server_role_deploy_database_server" },
|
|
|
|
},
|
|
|
|
{
|
|
|
|
group_name => "Fedora PowerPC Updates",
|
|
|
|
machine => { name => "ppc64le" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "ppc64le",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "server_database_client" },
|
|
|
|
},
|
|
|
|
{
|
|
|
|
group_name => "Fedora PowerPC Updates",
|
|
|
|
machine => { name => "ppc64le" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "ppc64le",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "server_firewall_default" },
|
|
|
|
},
|
2018-04-27 06:56:13 +00:00
|
|
|
{
|
|
|
|
group_name => "Fedora PowerPC Updates",
|
2019-03-08 12:27:06 +00:00
|
|
|
machine => { name => "ppc64le" },
|
2018-04-27 06:56:13 +00:00
|
|
|
prio => 40,
|
|
|
|
product => {
|
2019-03-08 12:27:06 +00:00
|
|
|
arch => "ppc64le",
|
2018-04-27 06:56:13 +00:00
|
|
|
distri => "fedora",
|
2019-03-08 12:27:06 +00:00
|
|
|
flavor => "updates-server",
|
2018-04-27 06:56:13 +00:00
|
|
|
version => "*",
|
|
|
|
},
|
2019-03-08 12:27:06 +00:00
|
|
|
test_suite => { name => "advisory_boot" },
|
2018-04-27 06:56:13 +00:00
|
|
|
},
|
2018-10-04 23:44:15 +00:00
|
|
|
{
|
2018-03-07 03:05:04 +00:00
|
|
|
group_name => "Fedora AArch64 Updates",
|
|
|
|
machine => { name => "aarch64" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "aarch64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "base_selinux" },
|
|
|
|
},
|
|
|
|
{
|
|
|
|
group_name => "Fedora AArch64 Updates",
|
|
|
|
machine => { name => "aarch64" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "aarch64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "base_services_start" },
|
|
|
|
},
|
|
|
|
{
|
|
|
|
group_name => "Fedora AArch64 Updates",
|
|
|
|
machine => { name => "aarch64" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "aarch64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "base_service_manipulation" },
|
|
|
|
},
|
|
|
|
{
|
|
|
|
group_name => "Fedora AArch64 Updates",
|
|
|
|
machine => { name => "aarch64" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "aarch64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "base_update_cli" },
|
|
|
|
},
|
|
|
|
{
|
|
|
|
group_name => "Fedora AArch64 Updates",
|
|
|
|
machine => { name => "aarch64" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "aarch64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "server_role_deploy_domain_controller" },
|
|
|
|
},
|
|
|
|
{
|
|
|
|
group_name => "Fedora AArch64 Updates",
|
|
|
|
machine => { name => "aarch64" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "aarch64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "server_cockpit_default" },
|
|
|
|
},
|
|
|
|
{
|
|
|
|
group_name => "Fedora AArch64 Updates",
|
|
|
|
machine => { name => "aarch64" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "aarch64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "server_cockpit_basic" },
|
|
|
|
},
|
|
|
|
{
|
|
|
|
group_name => "Fedora AArch64 Updates",
|
|
|
|
machine => { name => "aarch64" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "aarch64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "realmd_join_cockpit" },
|
|
|
|
},
|
|
|
|
{
|
|
|
|
group_name => "Fedora AArch64 Updates",
|
|
|
|
machine => { name => "aarch64" },
|
|
|
|
prio => 30,
|
|
|
|
product => {
|
|
|
|
arch => "aarch64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "realmd_join_sssd" },
|
|
|
|
},
|
|
|
|
{
|
|
|
|
group_name => "Fedora AArch64 Updates",
|
|
|
|
machine => { name => "aarch64" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "aarch64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "server_role_deploy_database_server" },
|
|
|
|
},
|
|
|
|
{
|
|
|
|
group_name => "Fedora AArch64 Updates",
|
|
|
|
machine => { name => "aarch64" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "aarch64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "server_database_client" },
|
|
|
|
},
|
|
|
|
{
|
|
|
|
group_name => "Fedora AArch64 Updates",
|
|
|
|
machine => { name => "aarch64" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "aarch64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "server_firewall_default" },
|
|
|
|
},
|
2018-10-04 22:19:43 +00:00
|
|
|
{
|
|
|
|
group_name => "Fedora AArch64 Updates",
|
|
|
|
machine => { name => "aarch64" },
|
|
|
|
prio => 40,
|
|
|
|
product => {
|
|
|
|
arch => "aarch64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
test_suite => { name => "advisory_boot" },
|
|
|
|
},
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
],
|
|
|
|
Products => [
|
|
|
|
{
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-workstation",
|
|
|
|
name => "",
|
|
|
|
settings => [
|
|
|
|
{ key => "DESKTOP", value => "gnome" },
|
|
|
|
],
|
|
|
|
version => "*",
|
|
|
|
},
|
2018-04-27 23:46:56 +00:00
|
|
|
{
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-workstation-upgrade",
|
|
|
|
name => "",
|
|
|
|
settings => [
|
|
|
|
{ key => "DESKTOP", value => "gnome" },
|
|
|
|
],
|
|
|
|
version => "*",
|
|
|
|
},
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
{
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-kde",
|
|
|
|
name => "",
|
|
|
|
settings => [
|
|
|
|
{ key => "DESKTOP", value => "kde" }
|
|
|
|
],
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
name => "",
|
|
|
|
settings => [
|
|
|
|
],
|
|
|
|
version => "*",
|
|
|
|
},
|
2018-04-20 17:12:01 +00:00
|
|
|
{
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server-upgrade",
|
|
|
|
name => "",
|
|
|
|
settings => [
|
|
|
|
],
|
|
|
|
version => "*",
|
|
|
|
},
|
2017-08-17 08:24:42 +00:00
|
|
|
{
|
2019-01-29 14:56:01 +00:00
|
|
|
arch => "x86_64",
|
2017-08-17 08:24:42 +00:00
|
|
|
distri => "fedora",
|
2019-01-29 14:56:01 +00:00
|
|
|
flavor => "updates-everything-boot-iso",
|
2017-08-17 08:24:42 +00:00
|
|
|
name => "",
|
|
|
|
settings => [
|
|
|
|
],
|
|
|
|
version => "*",
|
|
|
|
},
|
2018-08-31 20:34:12 +00:00
|
|
|
{
|
|
|
|
arch => "x86_64",
|
|
|
|
distri => "fedora",
|
2019-01-29 14:56:01 +00:00
|
|
|
flavor => "updates-workstation-live-iso",
|
|
|
|
name => "",
|
|
|
|
settings => [
|
|
|
|
{ key => "LIVE", value => "1" },
|
|
|
|
{ key => "PACKAGE_SET", value => "default" },
|
|
|
|
{ key => "DESKTOP", value => "gnome" }
|
|
|
|
],
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
arch => "ppc64le",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
2018-08-31 20:34:12 +00:00
|
|
|
name => "",
|
|
|
|
settings => [
|
|
|
|
],
|
|
|
|
version => "*",
|
|
|
|
},
|
2018-04-20 17:12:01 +00:00
|
|
|
{
|
|
|
|
arch => "ppc64le",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server-upgrade",
|
|
|
|
name => "",
|
|
|
|
settings => [
|
|
|
|
],
|
|
|
|
version => "*",
|
|
|
|
},
|
|
|
|
{
|
2018-03-07 03:05:04 +00:00
|
|
|
arch => "aarch64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server",
|
|
|
|
name => "",
|
|
|
|
settings => [
|
|
|
|
],
|
|
|
|
version => "*",
|
|
|
|
},
|
2018-04-20 17:12:01 +00:00
|
|
|
{
|
|
|
|
arch => "aarch64",
|
|
|
|
distri => "fedora",
|
|
|
|
flavor => "updates-server-upgrade",
|
|
|
|
name => "",
|
|
|
|
settings => [
|
|
|
|
],
|
|
|
|
version => "*",
|
|
|
|
},
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
],
|
2018-10-04 22:19:43 +00:00
|
|
|
TestSuites => [
|
|
|
|
{
|
|
|
|
name => "advisory_boot",
|
|
|
|
settings => [
|
|
|
|
{ key => "USER_LOGIN", value => "false" },
|
|
|
|
{ key => "ROOT_PASSWORD", value => "weakpassword" },
|
|
|
|
{ key => "BOOTFROM", value => "c" },
|
|
|
|
{ key => "ADVISORY_BOOT_TEST", value => "1" },
|
|
|
|
],
|
|
|
|
},
|
2018-08-31 20:34:12 +00:00
|
|
|
{
|
|
|
|
name => "installer_build",
|
|
|
|
settings => [
|
|
|
|
{ key => "POSTINSTALL", value => "_installer_build" },
|
|
|
|
{ key => "USER_LOGIN", value => "false" },
|
|
|
|
{ key => "ROOT_PASSWORD", value => "weakpassword" },
|
|
|
|
{ key => "BOOTFROM", value => "c" },
|
2019-03-13 19:37:42 +00:00
|
|
|
{ key => "NUMDISKS", value => "2" },
|
2018-08-31 20:34:12 +00:00
|
|
|
{ key => "HDD_1", value => "disk_f%VERSION%_minimal_3_%ARCH%.img" },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2019-01-29 14:56:01 +00:00
|
|
|
name => "live_build",
|
|
|
|
settings => [
|
|
|
|
{ key => "POSTINSTALL", value => "_live_build" },
|
2019-08-29 22:35:51 +00:00
|
|
|
{ key => "GRUB_POSTINSTALL", value => "selinux=0" },
|
2019-01-29 14:56:01 +00:00
|
|
|
{ key => "USER_LOGIN", value => "false" },
|
|
|
|
{ key => "ROOT_PASSWORD", value => "weakpassword" },
|
|
|
|
{ key => "BOOTFROM", value => "c" },
|
|
|
|
{ key => "+DESKTOP", value => "" },
|
|
|
|
{ key => "+LIVE", value => "" },
|
2019-03-13 19:37:42 +00:00
|
|
|
{ key => "NUMDISKS", value => "2" },
|
2019-01-29 14:56:01 +00:00
|
|
|
{ key => "HDD_1", value => "disk_f%VERSION%_minimal_3_%ARCH%.img" },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name => "install_default_update_netinst",
|
2018-08-31 20:34:12 +00:00
|
|
|
settings => [
|
|
|
|
{ key => "INSTALL", value => "1" },
|
2019-01-25 13:41:32 +00:00
|
|
|
{ key => "INSTALL_UNLOCK", value => "support_ready" },
|
2019-01-29 09:06:16 +00:00
|
|
|
{ key => "ISO", value => "%ADVISORY_OR_TASK%-netinst-%ARCH%.iso" },
|
2019-01-25 13:41:32 +00:00
|
|
|
{ key => "NICTYPE", value => "tap" },
|
2018-08-31 20:34:12 +00:00
|
|
|
{ key => "PACKAGE_SET", value => "default" },
|
2019-11-22 20:43:18 +00:00
|
|
|
{ key => "PARALLEL_WITH", value => "support_server@%ARCH_BASE_MACHINE%" },
|
2019-01-25 13:41:32 +00:00
|
|
|
{ key => "ADD_REPOSITORY_VARIATION", value => "nfs://10.0.2.110:/opt/update_repo" },
|
2019-11-22 20:43:18 +00:00
|
|
|
{ key => "+START_AFTER_TEST", value => "installer_build@%ARCH_BASE_MACHINE%" },
|
2019-01-25 13:41:32 +00:00
|
|
|
{ key => "WORKER_CLASS", value => "tap" },
|
2018-08-31 20:34:12 +00:00
|
|
|
],
|
|
|
|
},
|
2019-01-29 14:56:01 +00:00
|
|
|
{
|
|
|
|
name => "install_default_update_live",
|
|
|
|
settings => [
|
|
|
|
{ key => "INSTALL", value => "1" },
|
|
|
|
{ key => "ISO", value => "Fedora-%SUBVARIANT%-Live-%ARCH%-%ADVISORY_OR_TASK%.iso" },
|
2019-11-22 20:43:18 +00:00
|
|
|
{ key => "+START_AFTER_TEST", value => "live_build@%ARCH_BASE_MACHINE%" },
|
2019-01-29 14:56:01 +00:00
|
|
|
],
|
|
|
|
},
|
2018-10-04 22:19:43 +00:00
|
|
|
],
|
Add support for testing updates
Summary:
This adds an entirely new workflow for testing distribution
updates. The `ADVISORY` variable is introduced: when set,
`main.pm` will load an early post-install test that sets up
a repository containing the packages from the specified update,
runs `dnf -y update`, and reboots. A new templates file is
added, `templates-updates`, which adds two new flavors called
`updates-server` and `updates-workstation`, each containing
job templates for appropriate post-install tests. Scheduler is
expected to post `ADVISORY=(update ID) HDD_1=(base image)
FLAVOR=updates-(server|workstation)`, where (base image) is one
of the stable release base disk images produced by `createhdds`
and usually used for upgrade testing. This will result in the
appropriate job templates being loaded.
We rejig postinstall test loading and static network config a
bit so that this works for both the 'compose' and 'updates' test
flows: we have to ensure we bring up networking for the tap
tests before we try and install the updates, but still allow
later adjustment of the configuration. We take advantage of the
openQA feature that was added a few months back to run the same
module multiple times, so the `_advisory_update` module can
reboot after installing the updates and the modules that take
care of bootloader, encryption and login get run again. This
looks slightly wacky in the web UI, though - it doesn't show the
later runs of each module.
We also use the recently added feature to specify `+HDD_1` in
the test suites which use a disk image uploaded by an earlier
post-install test, so the test suite value will take priority
over the value POSTed by the scheduler for those tests, and we
will use the uploaded disk image (and not the clean base image
POSTed by the scheduler) for those tests.
My intent here is to enhance the scheduler, adding a consumer
which listens out for critpath updates, and runs this test flow
for each one, then reports the results to ResultsDB where Bodhi
could query and display them. We could also add a list of other
packages to have one or both sets of update tests run on it, I
guess.
Test Plan:
Try a post something like:
HDD_1=disk_f25_server_3_x86_64.img DISTRI=fedora VERSION=25
FLAVOR=updates-server ARCH=x86_64 BUILD=FEDORA-2017-376ae2b92c
ADVISORY=FEDORA-2017-376ae2b92c CURRREL=25 PREVREL=24
Pick an appropriate `ADVISORY` (ideally, one containing some
packages which might actually be involved in the tests), and
matching `FLAVOR` and `HDD_1`. The appropriate tests should run,
a repo with the update packages should be created and enabled
(and dnf update run), and the tests should work properly. Also
test a regular compose run to make sure I didn't break anything.
Reviewers: jskladan, jsedlak
Reviewed By: jsedlak
Subscribers: tflink
Differential Revision: https://phab.qa.fedoraproject.org/D1143
2017-01-25 16:16:12 +00:00
|
|
|
}
|