freeipa/ipatests/prci_definitions/gating.yaml
Florence Blanc-Renaud fc4c3ac795 ipatests: add test for ipa-adtrust-install --add-agents
Add tests checking the behavior of ipa-adtrust-install when
adding trust agents:
- try calling the remote method trust_enable_agent with
a principal missing the required privilege.
- try adding a trust agent when the remote node is stopped.
The installer must detect that he's not able to run the remote
commands and print a WARNING.
- try adding a trust agent when the remote node is running.
The WARNING must not be printed as the remote configuration is done.
- try adding a trust agent with --enable-compat.
The WARNING must not be printed and the Schema Compatibility plugin
must be enabled (the entries
cn=users/groups,cn=Schema Compatibility,cn=plugins,cn=config
must contain a new attribute schema-compat-lookup-nsswitch
(=user/group).

Thanks to sorlov for the nightly test definitions and new test.

Related: https://pagure.io/freeipa/issue/7600
Co-authored-by: Sergey Orlov <sorlov@redhat.com>
Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Sergey Orlov <sorlov@redhat.com>
2020-03-05 14:40:58 +01:00

277 lines
7.6 KiB
YAML

topologies:
build: &build
name: build
cpu: 2
memory: 3800
master_1repl: &master_1repl
name: master_1repl
cpu: 4
memory: 6450
master_1repl_1client: &master_1repl_1client
name: master_1repl_1client
cpu: 4
memory: 7400
ad_master_2client: &ad_master_2client
name: ad_master_2client
cpu: 4
memory: 12000
ipaserver: &ipaserver
name: ipaserver
cpu: 2
memory: 2400
jobs:
fedora-latest/build:
requires: []
priority: 150
job:
class: Build
args:
git_repo: '{git_repo}'
git_refspec: '{git_refspec}'
template: &ci-master-latest
name: freeipa/ci-master-f31
version: 0.0.4
timeout: 1800
topology: *build
fedora-latest/test_installation_TestInstallMaster:
requires: [fedora-latest/build]
priority: 100
job:
class: RunPytest
args:
build_url: '{fedora-latest/build_url}'
test_suite: test_integration/test_installation.py::TestInstallMaster
template: *ci-master-latest
timeout: 3600
topology: *master_1repl
fedora-latest/simple_replication:
requires: [fedora-latest/build]
priority: 100
job:
class: RunPytest
args:
build_url: '{fedora-latest/build_url}'
test_suite: test_integration/test_simple_replication.py
template: *ci-master-latest
timeout: 3600
topology: *master_1repl
fedora-latest/test_caless_TestServerReplicaCALessToCAFull:
requires: [fedora-latest/build]
priority: 100
job:
class: RunPytest
args:
build_url: '{fedora-latest/build_url}'
test_suite: test_integration/test_caless.py::TestServerReplicaCALessToCAFull
template: *ci-master-latest
timeout: 3600
topology: *master_1repl
fedora-latest/test_external_ca_TestExternalCA:
requires: [fedora-latest/build]
priority: 100
job:
class: RunPytest
args:
build_url: '{fedora-latest/build_url}'
test_suite: test_integration/test_external_ca.py::TestExternalCA test_integration/test_external_ca.py::TestExternalCAConstraints
template: *ci-master-latest
timeout: 4800
topology: *master_1repl_1client
fedora-latest/test_external_ca_TestSelfExternalSelf:
requires: [fedora-latest/build]
priority: 100
job:
class: RunPytest
args:
build_url: '{fedora-latest/build_url}'
test_suite: test_integration/test_external_ca.py::TestSelfExternalSelf test_integration/test_external_ca.py::TestExternalCAInstall
template: *ci-master-latest
timeout: 3600
topology: *master_1repl
fedora-latest/external_ca_templates:
requires: [fedora-latest/build]
priority: 100
job:
class: RunPytest
args:
build_url: '{fedora-latest/build_url}'
test_suite: test_integration/test_external_ca.py::TestExternalCAProfileScenarios
template: *ci-master-latest
timeout: 3600
topology: *master_1repl
fedora-latest/test_topologies:
requires: [fedora-latest/build]
priority: 100
job:
class: RunPytest
args:
build_url: '{fedora-latest/build_url}'
test_suite: test_integration/test_topologies.py
template: *ci-master-latest
timeout: 3600
topology: *master_1repl
fedora-latest/test_sudo:
requires: [fedora-latest/build]
priority: 100
job:
class: RunPytest
args:
build_url: '{fedora-latest/build_url}'
test_suite: test_integration/test_sudo.py
template: *ci-master-latest
timeout: 4800
topology: *master_1repl_1client
fedora-latest/test_commands:
requires: [fedora-latest/build]
priority: 100
job:
class: RunPytest
args:
build_url: '{fedora-latest/build_url}'
test_suite: test_integration/test_commands.py
template: *ci-master-latest
timeout: 3600
topology: *master_1repl
fedora-latest/test_kerberos_flags:
requires: [fedora-latest/build]
priority: 100
job:
class: RunPytest
args:
build_url: '{fedora-latest/build_url}'
test_suite: test_integration/test_kerberos_flags.py
template: *ci-master-latest
timeout: 3600
topology: *master_1repl_1client
fedora-latest/test_forced_client_enrolment:
requires: [fedora-latest/build]
priority: 100
job:
class: RunPytest
args:
build_url: '{fedora-latest/build_url}'
test_suite: test_integration/test_forced_client_reenrollment.py
template: *ci-master-latest
timeout: 4800
topology: *master_1repl_1client
fedora-latest/test_advise:
requires: [fedora-latest/build]
priority: 100
job:
class: RunPytest
args:
build_url: '{fedora-latest/build_url}'
test_suite: test_integration/test_advise.py
template: *ci-master-latest
timeout: 3600
topology: *master_1repl_1client
fedora-latest/test_testconfig:
requires: [fedora-latest/build]
priority: 100
job:
class: RunPytest
args:
build_url: '{fedora-latest/build_url}'
test_suite: test_integration/test_testconfig.py
template: *ci-master-latest
timeout: 3600
topology: *master_1repl
fedora-latest/test_service_permissions:
requires: [fedora-latest/build]
priority: 100
job:
class: RunPytest
args:
build_url: '{fedora-latest/build_url}'
test_suite: test_integration/test_service_permissions.py
template: *ci-master-latest
timeout: 3600
topology: *master_1repl
fedora-latest/test_netgroup:
requires: [fedora-latest/build]
priority: 100
job:
class: RunPytest
args:
build_url: '{fedora-latest/build_url}'
test_suite: test_integration/test_netgroup.py
template: *ci-master-latest
timeout: 3600
topology: *master_1repl
fedora-latest/test_authconfig:
requires: [fedora-latest/build]
priority: 100
job:
class: RunPytest
args:
build_url: '{fedora-latest/build_url}'
test_suite: test_integration/test_authselect.py
template: *ci-master-latest
timeout: 4800
topology: *master_1repl_1client
fedora-latest/test_replica_promotion_TestSubCAkeyReplication:
requires: [fedora-latest/build]
priority: 100
job:
class: RunPytest
args:
build_url: '{fedora-latest/build_url}'
test_suite: test_integration/test_replica_promotion.py::TestSubCAkeyReplication
template: *ci-master-latest
timeout: 3600
topology: *master_1repl
fedora-latest/test_dnssec_TestInstallDNSSECFirst:
requires: [fedora-latest/build]
priority: 100
job:
class: RunPytest
args:
build_url: '{fedora-latest/build_url}'
test_suite: test_integration/test_dnssec.py::TestInstallDNSSECFirst
template: *ci-master-latest
timeout: 3600
topology: *master_1repl
fedora-latest/test_membermanager:
requires: [fedora-latest/build]
priority: 100
job:
class: RunPytest
args:
build_url: '{fedora-latest/build_url}'
test_suite: test_integration/test_membermanager.py
template: *ci-master-latest
timeout: 1800
topology: *master_1repl
fedora-latest/test_adtrust_install:
requires: [fedora-latest/build]
priority: 100
job:
class: RunPytest
args:
build_url: '{fedora-latest/build_url}'
test_suite: test_integration/test_adtrust_install.py
template: *ci-master-latest
timeout: 3600
topology: *master_1repl