action #51560
closed[sle][security][sle12sp5] Implement FIPS regression test for krb5 related cases (multi-machine)
100%
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.
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
Updated by whdu almost 5 years ago
- Description updated (diff)
- Status changed from Workable to In Progress