Project

General

Profile

Actions

action #47846

closed

[functional][y] openSUSE ROOTONLY=1 test

Added by okurz about 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
New test
Target version:
SUSE QA - Milestone 23
Start date:
2019-02-13
Due date:
2019-03-12
% Done:

0%

Estimated time:
Difficulty:

Description

Motivation

#45053

Acceptance criteria

  • AC1: We have an automatic test skipping user creation, root only

Related issues 2 (0 open2 closed)

Related to openQA Tests - action #48101: [opensuse] test fails in user_settingsResolvedokurz2019-02-19

Actions
Blocks qe-yam - action #45053: Test installation over ssh as root on Tumbleweed with latest update forbidding root-password loginRejected2018-12-12

Actions
Actions #1

Updated by okurz about 5 years ago

Before going further with assumptions in #45053 let me try out first what happens if I actually schedule a scenario with ROOTONLY=1 on o3 as we currently do not have that at all, as can be seen on https://openqa.opensuse.org/admin/test_suites

openqa-clone-job --skip-chained-deps --within-instance https://openqa.opensuse.org 851523 _GROUP="Development Tumbleweed" TEST=rootonly ROOTONLY=1 INSTALLONLY=1 INSTALLATION_VALIDATION=sshd

Created job #852926: opensuse-Tumbleweed-DVD-x86_64-Build20190209-gnome@64bit -> https://openqa.opensuse.org/t852926

I meant INSTALLATION_VALIDATION=console/sshd

openqa-clone-job --skip-chained-deps --within-instance https://openqa.opensuse.org 851523 _GROUP="Development Tumbleweed" TEST=rootonly ROOTONLY=1 INSTALLONLY=1 INSTALLATION_VALIDATION=console/sshd

Created job #852927: opensuse-Tumbleweed-DVD-x86_64-Build20190209-gnome@64bit -> https://openqa.opensuse.org/t852927

Actions #2

Updated by okurz about 5 years ago

  • Blocks action #45053: Test installation over ssh as root on Tumbleweed with latest update forbidding root-password login added
Actions #3

Updated by okurz about 5 years ago

New needle "user_settings-inst-rootonly-selected-20190213" created. Apparently there was "user_settings-inst-rootonly-selected-20170630" not used for long. https://openqa.opensuse.org/admin/needles reports "Last Match" as "never".

-> https://openqa.opensuse.org/tests/852929

Actions #4

Updated by okurz about 5 years ago

Looks good so far, fails in first_boot because the display manager asking for username is not expected. That we should be able to fix with

openqa-clone-job --skip-chained-deps --within-instance https://openqa.opensuse.org 851523 _GROUP="Development Tumbleweed" TEST=rootonly ROOTONLY=1 INSTALLONLY=1 INSTALLATION_VALIDATION=console/sshd NOAUTOLOGIN=1

Created job #853430: opensuse-Tumbleweed-DVD-x86_64-Build20190209-gnome@64bit -> https://openqa.opensuse.org/t853430

Actions #5

Updated by okurz about 5 years ago

fails in https://openqa.opensuse.org/tests/853430#step/system_prepare/4 because the system tries to configure permissions for "bernhard" which does not make sense on ROOTONLY=1

-> https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/6784

openqa-clone-job --skip-chained-deps --within-instance https://openqa.opensuse.org 851523 _GROUP="Development Tumbleweed" TEST=rootonly ROOTONLY=1 INSTALLONLY=1 INSTALLATION_VALIDATION=console/sshd NOAUTOLOGIN=1 CASEDIR=https://github.com/okurz/os-autoinst-distri-opensuse#feature/rootonly

-> https://openqa.opensuse.org/tests/853698 is fine

Waiting for merge of PR before adding the scenario.

Actions #6

Updated by okurz about 5 years ago

  • Status changed from In Progress to Feedback
Actions #7

Updated by okurz about 5 years ago

Added testsuite "rootonly" on o3, added scenario to Development Tumbleweed and Development Leap

Actions #8

Updated by okurz about 5 years ago

  • Related to action #48101: [opensuse] test fails in user_settings added
Actions #9

Updated by okurz about 5 years ago

Added to build validation job group for Tumbleweed after the scenario showed three soft-failed jobs in a row. Leap pending, https://openqa.opensuse.org/tests/859769

Actions #10

Updated by okurz about 5 years ago

new needle created, waiting for https://openqa.opensuse.org/tests/861764

Actions #11

Updated by okurz about 5 years ago

Actions #12

Updated by okurz about 5 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF