Skip to content
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

Adjust firewall_enabled test for SLE15 #3605

Merged
merged 1 commit into from
Sep 22, 2017

Conversation

okurz
Copy link
Member

@okurz okurz commented Sep 20, 2017

@okurz
Copy link
Member Author

okurz commented Sep 20, 2017

@yxususe before I saw you picked up the ticket this is what I prepared, would you like to review and test?

@yxususe
Copy link
Contributor

yxususe commented Sep 20, 2017

LGTM. But I'm afraid I cannot test it today, because I'm testing something else and can't always switch branches. However I see the problem that SuSEfilewall2 is extensively used in our code, which means we need to do quite some work to adapt the tests to SLE15.

assert_script_run("SuSEfirewall2 status");
if (is_jeos) {
if ((is_sle && sle_version_at_least('15')) || (is_leap && is_leap_version_at_least('15'))) {
assert_script_run('firewallctl state');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we want to test firewallctl on Tumbleweed also

@okurz
Copy link
Member Author

okurz commented Sep 21, 2017 via email

@okurz
Copy link
Member Author

okurz commented Sep 22, 2017

ok, I'm going with @yxususe's LGTM here and merge this fix for SLE15. I am pretty sure that there are many missing parts regarding firewallctl which need to be implemented anyway. I recommend therefore in this case to go forward with the changes for SLE15 as we need this fix anyway and then afterwards see about TW which is still running fine so a change is not necessary there right now.

@okurz okurz merged commit b6cbd7c into os-autoinst:master Sep 22, 2017
@okurz okurz deleted the feature/firewalld branch September 22, 2017 19:11
@andreasstieger
Copy link
Contributor

This breaks openSUSE Leap maintenance tests:

# Test died: Undefined subroutine &firewall_enabled::is_leap_version_at_least called at /var/lib/openqa/cache/openqa1-opensuse/tests/opensuse/tests/console/firewall_enabled.pm line 21.
https://openqa.opensuse.org/tests/490634#step/firewall_enabled/2
https://openqa.opensuse.org/tests/490637#step/firewall_enabled/2

okurz added a commit that referenced this pull request Sep 22, 2017
@okurz
Copy link
Member Author

okurz commented Sep 22, 2017

Sorry about that. Fixed in 7f87096, I will retrigger the tests

rwx788 pushed a commit to rwx788/os-autoinst-distri-opensuse that referenced this pull request Oct 5, 2017
yxususe pushed a commit to yxususe/os-autoinst-distri-opensuse that referenced this pull request Oct 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants