New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFC] Implement module for Slowroll testing #18422
base: master
Are you sure you want to change the base?
Conversation
Great PR! Please pay attention to the following items before merging: Files matching
This is an automatically generated QA checklist based on modified files. |
tests/update/slowroll_repos.pm
Outdated
assert_script_run "zypper -n --gpg-auto-import-keys ar --refresh --disable http://cdn.opensuse.org/slowroll/repo/src-oss/ base-src-oss"; | ||
assert_script_run "zypper -n --gpg-auto-import-keys ar --refresh --disable https://download.opensuse.org/debug/slowroll/repo/oss/ base-oss-debug"; | ||
assert_script_run "zypper -n --gpg-auto-import-keys ar --refresh http://codecs.opensuse.org/openh264/openSUSE_Tumbleweed/ h264"; | ||
assert_script_run "zypper -n --gpg-auto-import-keys ar --refresh -p 70 http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Slowroll/Essentials/ packmam"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would simply leave those out until they are needed
tests/update/slowroll_repos.pm
Outdated
sub run { | ||
my $self = shift; | ||
select_serial_terminal; | ||
# select_console 'root-console'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
tests/update/slowroll_repos.pm
Outdated
use serial_terminal 'select_serial_terminal'; | ||
use utils 'zypper_call'; | ||
sub run { | ||
my $self = shift; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
use testapi; | ||
use serial_terminal 'select_serial_terminal'; | ||
use utils 'zypper_call'; | ||
sub run { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sub run { | |
sub run { |
tests/update/slowroll_repos.pm
Outdated
@@ -0,0 +1,32 @@ | |||
# SUSE's openQA tests | |||
# | |||
# Copyright 2024 SUSE LLC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Copyright 2024 SUSE LLC | |
# Copyright SUSE LLC |
# SPDX-License-Identifier: FSFAP | ||
|
||
# Summary: Add slowroll repos in the system | ||
# Maintainer: Yiannis Bonatakis <ybonatakis@suse.com> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@foursixnine IMHO this could/should be core-team, ok?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@b10n1k Can you clarify? I don't see a change, or comment here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As the author i used myself. But this can change later when @foursixnine clarify the @okurz 's question
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine, let's keep as is for now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lib/main_common.pm
Outdated
@@ -2820,6 +2820,8 @@ sub load_system_update_tests { | |||
} | |||
else { | |||
loadtest "update/zypper_clear_repos"; | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Slowroll is Beta. Repos are provided in download.o.o for testing. This commit introduce a new module which adds those repos in the system. it should be used after the main installation. The update and staging repos are the most interesting to test. Signed-off-by: Ioannis Bonatakis <ybonatakis@suse.com>
# SPDX-License-Identifier: FSFAP | ||
|
||
# Summary: Add slowroll repos in the system | ||
# Maintainer: Yiannis Bonatakis <ybonatakis@suse.com> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine, let's keep as is for now
sub run { | ||
select_serial_terminal; | ||
assert_script_run "rm /etc/zypp/repos.d/*"; | ||
assert_script_run "zypper -n --gpg-auto-import-keys ar --refresh http://cdn.opensuse.org/slowroll/repo/oss/ base-oss"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now those repos as discussed in a ticket (or was it jitsi) are wrong as they should come from openQA for the to be tested state, not the released repos
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a side question, why a new test module, when we could use the same or rehuse the same from leap?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this whole change is not correct and should not be merged. Repos must be added by openQA same as for e.g. Tumbleweed and Leap
@b10n1k let us pick this next week instead |
Slowroll is Beta. Repos are provided in download.o.o for testing. This commit introduce a new module which adds those repos in the system. it should be used after the main installation. The update and staging repos are the most interesting to test.
[type description here, PLEASE, REMOVE THIS LINE, PLACEHOLDER, BEFORE SUBMITTING THIS PULL REQUEST]