Project

General

Profile

Actions

action #43052

closed

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

Added by okurz over 5 years ago. Updated over 5 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 2 (0 open2 closed)

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

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

Actions
Actions #1

Updated by okurz over 5 years ago

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

Updated by okurz over 5 years ago

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

Updated by okurz over 5 years ago

  • Description updated (diff)
Actions #4

Updated by lnussel over 5 years ago

moreover, verify that ntp is not even installed

Actions #5

Updated by dheidler over 5 years ago

  • Assignee set to dheidler
Actions #6

Updated by dheidler over 5 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

Actions #7

Updated by dheidler over 5 years ago

SLE12SP4 doesn't use chrony.

Actions #8

Updated by okurz over 5 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.

Actions #10

Updated by dheidler over 5 years ago

  • Status changed from In Progress to Feedback
Actions #11

Updated by okurz over 5 years ago

PR merged.

Actions #12

Updated by dheidler over 5 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

Actions #13

Updated by pcervinka over 5 years ago

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

Updated by okurz over 5 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

Actions #16

Updated by okurz over 5 years ago

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

Updated by okurz over 5 years ago

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

Updated by dheidler over 5 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";
Actions

Also available in: Atom PDF