Project

General

Profile

Actions

action #13252

closed

enable yast2_nis test

Added by lnussel over 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Enhancement to existing tests
Start date:
2016-08-19
Due date:
% Done:

100%

Estimated time:
Difficulty:

Description

there is a yast2 nis test but it's not used anywhere AFAICS.

Guess what is broken in Leap that we could have detected already with that ...


Related issues 1 (0 open1 closed)

Related to openQA Tests (public) - action #9900: [sle][functional][hard][opensuse][y] nis+autofsResolvedJRivrain2020-04-06

Actions
Actions #1

Updated by okurz about 8 years ago

  • Category set to New test
Actions #2

Updated by maritawerner about 8 years ago

  • Assignee set to dzedro

Jozef are you working on that?

Actions #3

Updated by dzedro about 8 years ago

I'm not sure what could this test detect as it doesn't test NIS functionality, at best it's testing UI

Actions #4

Updated by okurz about 8 years ago

  • Category changed from New test to Bugs in existing tests
  • Assignee changed from dzedro to zluo
  • Priority changed from High to Normal

yes, the test does not test NIS but that is not the problem here. The problem is that the module is not called in any main.pm. That should be fixed after checking that the test module still works. Assigning to zluo as the original author.

Actions #5

Updated by okurz about 8 years ago

Discussed with zluo: The addition to the test plan was initially rejected because we wanted to find a common solution for both SLE and openSUSE (and in the process failed to add it for any ;-) ). I suggest to do the following steps in this order:

  • add module to SLE test plan as is
  • check module works for SLE using the production NIS instance (nis.suse.de)
  • merge this test
  • next step: Add NIS server in "supportserver"
  • use supportserver in yast2_nis test instead of nis.suse.de
  • add yast2_nis for both sle and opensuse

agreed?

Actions #6

Updated by maritawerner about 8 years ago

  • Target version set to Milestone 4
Actions #7

Updated by zluo about 8 years ago

  • Category changed from Bugs in existing tests to Enhancement to existing tests
  • Status changed from New to In Progress
Actions #8

Updated by zluo about 8 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

test case works fine:
reference test (yast2_nis): https://openqa.suse.de/tests/647250

Actions #9

Updated by lnussel about 8 years ago

that one uses an internal server so that cannot be used for openSUSE. is there a separate issue to improve that?

Actions #10

Updated by zluo about 8 years ago

Since I cannot provide a working support server(using tap device) for multi machine testing. As discussed with okurz we add this simple nis test for sles only. If you know someone can help with tap device, please let me know.

Actions #11

Updated by lnussel about 8 years ago

you mean for a test setup on your workstation? I'm sure there's someone among your colleagues who could take a look at the openqa.suse.de workers to duplicate their setup on a test system.

Actions #12

Updated by zluo about 8 years ago

Unfortunately no. I tried so long and the documentation on openQA for tap setup is not really useful.

Actions #13

Updated by okurz about 8 years ago

So commit 81d71f3 makes use of the module which was previously unused. That is very good. Btw, the always latest can be found here. Thank you zluo for this.

Keep in mind that this ticket here focuses on the yast configuration interface even though it uses a nis server. There is still #9900 which @dzedro is working on and is still in progress. I will link these tickets accordingly.

As mentioned in #13252#note-5 the way to go after we now have the module used in SLE is either

  • next step: Add NIS server in "supportserver"
  • use supportserver in yast2_nis test instead of nis.suse.de
  • add yast2_nis for both sle and opensuse

OR

  • continue on tests/x11/nis_client.pm and tests/x11/nis_server.pm as started by @dzedro, see #9900

Let's concentrate on one ticket and not duplicate work. We can still later one consolidate on making yast2_nis focus more on the interface and the others on functionality and keep both for SLE as well as openSUSE.

Actions #14

Updated by okurz about 8 years ago

  • Related to action #9900: [sle][functional][hard][opensuse][y] nis+autofs added
Actions

Also available in: Atom PDF