ipatests: refactor and extend tests for IPA-Samba integration

Add tests for following scenarios:
* running `ipa-client-samba --uninstall` without prior installation
* mount and access Samba share by IPA user
* mount and access Samba share by AD user
* mount samba share by one IPA user and access it by another one
* try mount samba share without kerberos authentication
* uninstall and reinstall ipa-client-samba

Relates: https://pagure.io/freeipa/issue/3999
Reviewed-By: Michal Polovka <mpolovka@redhat.com>
Reviewed-By: Alexander Bokovoy <abbra@users.noreply.github.com>
This commit is contained in:
Sergey Orlov
2019-07-29 11:14:17 +02:00
parent 1fe69f352b
commit 1d033b040d
6 changed files with 321 additions and 127 deletions

View File

@@ -11,6 +11,10 @@ topologies:
name: master_1repl_1client
cpu: 4
memory: 7400
ad_master_2client: &ad_master_2client
name: ad_master_2client
cpu: 4
memory: 12000
jobs:
fedora-30/build:
@@ -223,13 +227,13 @@ jobs:
requires: [fedora-30/build]
priority: 50
job:
class: RunPytest
class: RunADTests
args:
build_url: '{fedora-30/build_url}'
test_suite: test_integration/test_smb.py
template: *ci-master-f30
timeout: 4800
topology: *master_1repl_1client
topology: *ad_master_2client
fedora-30/replica_promotion:
requires: [fedora-30/build]

View File

@@ -27,6 +27,10 @@ topologies:
name: master_3repl_1client
cpu: 6
memory: 12900
ad_master_2client: &ad_master_2client
name: ad_master_2client
cpu: 4
memory: 12000
jobs:
fedora-29/build:
@@ -239,13 +243,13 @@ jobs:
requires: [fedora-29/build]
priority: 50
job:
class: RunPytest
class: RunADtests
args:
build_url: '{fedora-29/build_url}'
test_suite: test_integration/test_smb.py
template: *ci-master-f29
timeout: 4800
topology: *master_1repl_1client
topology: *ad_master_2client
fedora-29/test_server_del:
requires: [fedora-29/build]

View File

@@ -27,6 +27,10 @@ topologies:
name: master_3repl_1client
cpu: 6
memory: 12900
ad_master_2client: &ad_master_2client
name: ad_master_2client
cpu: 4
memory: 12000
jobs:
fedora-30/build:
@@ -239,13 +243,13 @@ jobs:
requires: [fedora-30/build]
priority: 50
job:
class: RunPytest
class: RunADTests
args:
build_url: '{fedora-30/build_url}'
test_suite: test_integration/test_smb.py
template: *ci-master-f30
timeout: 4800
topology: *master_1repl_1client
topology: *ad_master_2client
fedora-30/test_server_del:
requires: [fedora-30/build]

View File

@@ -27,6 +27,10 @@ topologies:
name: master_3repl_1client
cpu: 6
memory: 12900
ad_master_2client: &ad_master_2client
name: ad_master_2client
cpu: 4
memory: 12000
jobs:
fedora-rawhide/build:
@@ -239,13 +243,13 @@ jobs:
requires: [fedora-rawhide/build]
priority: 50
job:
class: RunPytest
class: RunADtest
args:
build_url: '{fedora-rawhide/build_url}'
test_suite: test_integration/test_smb.py
template: *ci-master-frawhide
timeout: 4800
topology: *master_1repl_1client
topology: *ad_master_2client
fedora-rawhide/test_server_del:
requires: [fedora-rawhide/build]

View File

@@ -33,6 +33,10 @@ topologies:
name: master_3repl_1client
cpu: 6
memory: 12900
ad_master_2client: &ad_master_2client
name: ad_master_2client
cpu: 4
memory: 12000
jobs:
fedora-30/build: