Project

General

Profile

action #43052

[functional][u] add test to verify default packages - chrony

Added by okurz almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
New test
Target version:
SUSE QA - Milestone 21
Start date:
2018-05-09
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Acceptance criteria

  • AC1: We have a test that verifies that chrony is active (systemd service) on our current products
  • AC2: There is a test (can be same as above) that checks that ntp is not active by default

Suggestions

Generalize tests/caasp/services_enabled.pm


Related issues

Related to openQA Tests - action #43244: [sle][functional][u] test fails in ntp_client - new test fails on sle15Rejected2018-11-01

Copied to openQA Tests - action #43340: [functional][u] add test to verify default packages - MTAResolved2018-05-09

History

#1 Updated by okurz almost 3 years ago

  • Copied from coordination #36021: [functional][u][epic] add test to verify default packages added

#2 Updated by okurz almost 3 years ago

  • Description updated (diff)
  • Status changed from New to Workable

#3 Updated by okurz almost 3 years ago

  • Description updated (diff)

#4 Updated by lnussel almost 3 years ago

moreover, verify that ntp is not even installed

#5 Updated by dheidler almost 3 years ago

  • Assignee set to dheidler

#6 Updated by dheidler almost 3 years ago

  • Status changed from Workable to In Progress

moreover, verify that ntp is not even installed

ntp is installed by default at least for SLES12SP4, Leap15.1 and Tumbleweed

#7 Updated by dheidler almost 3 years ago

SLE12SP4 doesn't use chrony.

#8 Updated by okurz almost 3 years ago

  • Subject changed from [functional][u] add test to verify default packages - chronie to [functional][u] add test to verify default packages - chrony
  • Description updated (diff)

yes, sorry. With "current products" I meant all based on a more recent codestream, e.g. openSUSE Leap 15 and greater, TW, SLE15 and greater. That excludes SLE12SP4 and SP5 for example.

#10 Updated by dheidler almost 3 years ago

  • Status changed from In Progress to Feedback

#11 Updated by okurz almost 3 years ago

PR merged.

#12 Updated by dheidler almost 3 years ago

Bug for SLE15SP1: neither chrony nor any other ntp client is enabled by default: https://bugzilla.suse.com/show_bug.cgi?id=1114201

#13 Updated by pcervinka almost 3 years ago

  • Related to action #43244: [sle][functional][u] test fails in ntp_client - new test fails on sle15 added

#15 Updated by okurz almost 3 years ago

dheidler wrote:

SLE15SP1: https://openqa.suse.de/tests/2232873#step/ntp_client/17 (failure is expected)

You might want to think about a record_soft_failure here as well though

#16 Updated by okurz almost 3 years ago

  • Copied to action #43340: [functional][u] add test to verify default packages - MTA added

#17 Updated by okurz almost 3 years ago

  • Copied from deleted (coordination #36021: [functional][u][epic] add test to verify default packages)

#18 Updated by dheidler almost 3 years ago

Seems as if it is expected that chrony is not enabled on SLE15SP1 by default.

Maybe disable it completely for sle?

 diff --git a/lib/main_common.pm b/lib/main_common.pm
 index 11754ab93..196298a42 100644
 --- a/lib/main_common.pm
 +++ b/lib/main_common.pm
 @@ -1487,9 +1487,7 @@ sub load_extra_tests_textmode {
 }
 loadtest "console/cron";
 loadtest "console/syslog";
-    unless (is_sle '<15') {
-        loadtest "console/ntp_client";
-    }
+    loadtest "console/ntp_client" if !is_sle;
 loadtest "console/mta" unless is_jeos;
 if (get_var("IPSEC")) {
 loadtest "console/ipsec_tools_h2h";

Also available in: Atom PDF