Project

General

Profile

Actions

action #51560

closed

[sle][security][sle12sp5] Implement FIPS regression test for krb5 related cases (multi-machine)

Added by whdu almost 5 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
New test
Target version:
-
Start date:
2019-05-17
Due date:
% Done:

100%

Estimated time:
(Total: 24.00 h)
Difficulty:

Description

Krb5 related cases include "krb5" and "NFSv4 with krb5 authentication and gss api". We test all of them in one set of testsuites.

The cases will focus on cryptographic function for Krb5, especially for FIPS regression verification. It does NOT cover all aspects.

Design

Krb5 require at least three machines (therefor three testsuites) - KDC, Server and Client. The test connection will be initiated on client machine. The idea is to config the relationship of these testsuites with PARALLEL_WITH, add all of them to the same job group and trigger together as multi-machine testing.

For each machine, a 'preparation' script will be run at first. The dependency between them shown below:

Testsuite | Cases in Testsuite
----------+------------------------------------------------------------------------------------------------
KDC       | krb5_crypt_prepare -> krb5_crypt_setup_kdc --------------------------------------------------->
 ^        |
Server    | krb5_crypt_prepare -> krb5_crypt_setup_server -> krb5_crypt_ssh_server -> krb5_crypt_nfs_server
 ^        |
Client    | krb5_crypt_prepare -> krb5_crypt_setup_client -> krb5_crypt_ssh_client -> krb5_crypt_nfs_client

The character "^" shows the parent/child dependency relation between testsuites, 'Sever' is the child of 'KDC', and 'Client' is the child of 'Server'.

There will have several locks(mutex) in the code to sync the running progress of task between three machines.

Tasks

We set three sub tasks here for each machines(testsuites).The scripts will be put into tests/security/krb5/ directory.

A separate krb5crypt package will be created in lib/ to setup common variables for these cases, so that we do not need to define the same ones in each cases.

Workload

The main workload for this task is include investigation for krb5 mechanism and openQA multi-machine testing, as well as deploy the multi-machine network configurations in local developing environment.

The workload of the coding for these scripts will be distributed to each sub tasks.


Subtasks 3 (0 open3 closed)

action #51563: [sle][security][sle12sp5] Implement FIPS regression test for krb5 - KDCResolvedwhdu2019-05-17

Actions
action #51566: [sle][security][sle12sp5] Implement FIPS regression test for krb5 - ServerResolvedwhdu2019-05-17

Actions
action #51569: [sle][security][sle12sp5] Implement FIPS regression test for krb5 - ClientResolvedwhdu2019-05-17

Actions

Related issues 1 (0 open1 closed)

Related to openQA Tests - action #52388: [sle][security][sle12sp5] Implement FIPS regression test for NFSv4 with krb5 authentication and gss apiResolvedwhdu2019-06-05

Actions
Actions #1

Updated by whdu almost 5 years ago

  • Related to action #52388: [sle][security][sle12sp5] Implement FIPS regression test for NFSv4 with krb5 authentication and gss api added
Actions #2

Updated by whdu almost 5 years ago

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

Updated by whdu almost 5 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF