Go to file
Stanislav Levin a2d4e2a61f Make use of Azure Pipeline slicing
The unit tests execution time within Azure Pipelines(AP) is not
balanced. One test job(Base) takes ~13min, while another(XMLRPC)
~28min. Fortunately, AP supports slicing:

> An agent job can be used to run a suite of tests in parallel. For
example, you can run a large suite of 1000 tests on a single agent.
Or, you can use two agents and run 500 tests on each one in parallel.
To leverage slicing, the tasks in the job should be smart enough to
understand the slice they belong to.

>The step that runs the tests in a job needs to know which test slice
should be run. The variables System.JobPositionInPhase and
System.TotalJobsInPhase can be used for this purpose.

Thus, to support this pytest should know how to split the test suite
into groups(slices). For this, a new internal pytest plugin was added.

About plugin.
- Tests within a slice are grouped by test modules because not all of
the tests within the module are independent from each other.
- Slices are balanced by the number of tests within test module.
- To run some module within its own environment there is a dedicated
slice option (could help with extremely slow tests)

Examples.
- To split `test_cmdline` tests into 2 slices and run the first one:

ipa-run-tests --slices=2 --slice-num=1 test_cmdline

- To split tests into 2 slices, then to move one module out to its own slice
and run the second one:

ipa-run-tests --slices=2 --slice-dedicated=test_cmdline/test_cli.py \
    --slice-num=2 test_cmdline

Fixes: https://pagure.io/freeipa/issue/8008
Signed-off-by: Stanislav Levin <slev@altlinux.org>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2019-07-16 13:23:21 +03:00
asn1 fix minor spelling mistakes 2017-05-19 09:52:46 +02:00
client ipa-client-samba: a tool to configure Samba domain member on IPA client 2019-06-29 11:00:28 +03:00
contrib Update mod_nss cipher list so there is overlap with a 4.x master 2019-02-04 09:12:29 +01:00
daemons kdb: support SMB services on IPA domain members 2019-06-29 11:00:28 +03:00
doc Add SMB attributes for users 2019-07-01 13:21:21 +02:00
init Move ipa's systemd tmpfiles from /var/run to /run 2018-10-15 10:04:33 +02:00
install Fix test_webui.test_selinuxusermap 2019-07-15 14:41:23 +03:00
ipaclient ipa-client-samba: a tool to configure Samba domain member on IPA client 2019-06-29 11:00:28 +03:00
ipalib Use system-wide crypto policy for TLS ciphers 2019-07-02 16:38:00 +02:00
ipaplatform Fix test_webui.test_selinuxusermap 2019-07-15 14:41:23 +03:00
ipapython upgrade: remove ipaCert and key from /etc/httpd/alias 2019-07-15 17:08:21 +03:00
ipaserver upgrade: remove ipaCert and key from /etc/httpd/alias 2019-07-15 17:08:21 +03:00
ipatests Make use of Azure Pipeline slicing 2019-07-16 13:23:21 +03:00
po translations: update from Zanata Spanish and Ukrainian translations 2019-07-02 10:36:28 +03:00
pypi Cleanup shebang and executable bit 2018-07-05 19:46:42 +02:00
util Compile IPA modules with C11 extensions 2019-02-07 12:33:45 +01:00
.freeipa-pr-ci.yaml Making nigthly test definition editable by FreeIPA's contributors 2018-07-27 09:50:06 +02:00
.git-commit-template git-commit-template: update ticket url to use pagure.io instead of fedorahosted.org 2017-03-28 13:10:08 +02:00
.gitignore ipa-client-samba: a tool to configure Samba domain member on IPA client 2019-06-29 11:00:28 +03:00
.lgtm.yml Improve Python configuration for LGTM 2018-10-26 18:04:23 +02:00
.mailmap Update mailmap 2019-04-24 09:47:31 +02:00
.test_runner_config.yaml Enable firewall in the tests for PR CI 2019-01-11 20:01:54 +01:00
.tox-install.sh Resolve tox substitutions to absolute paths 2019-06-16 20:32:31 +03:00
.travis_run_task.sh Make pycodestyle results identical 2019-05-28 10:01:23 +03:00
.travis.yml Simplify ipa-run-tests script 2019-07-16 13:23:21 +03:00
.wheelconstraints.in Use pylint 1.7.5 with fix for bad python3 import 2017-12-19 13:28:06 +01:00
ACI.txt ipaserver.plugins.service: add service-add-smb to set up an SMB service 2019-06-29 11:00:28 +03:00
API.txt Add SMB attributes for users 2019-07-01 13:21:21 +02:00
autogen.sh build tweaks - use automake's foreign mode, avoid creating empty files to satisfy gnu mode - run autoreconf -f to ensure that everything matches 2010-11-29 11:39:55 -05:00
BUILD.txt Update builddep command in BUILD.txt 2018-07-17 16:52:31 +02:00
CODE_OF_CONDUCT.md Changing Django's CoC to reflect FreeIPA CoC 2018-03-26 09:51:25 +02:00
configure.ac Increase default debug level of certmonger 2019-06-24 10:00:37 +02:00
Contributors.txt Update list of contributors and sort them alphabetically 2019-04-24 09:47:31 +02:00
COPYING Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
COPYING.openssl Add a clear OpenSSL exception. 2015-02-23 16:25:54 +01:00
freeipa.doap.rdf Adding modified DOAP file 2018-06-22 11:02:40 -04:00
freeipa.spec.in ipa-client-samba: a tool to configure Samba domain member on IPA client 2019-06-29 11:00:28 +03:00
ipa.in Replace PYTHONSHEBANG with valid shebang 2019-06-24 09:35:57 +02:00
ipasetup.py.in Address inconsistent-return-statements 2018-11-13 13:37:58 +01:00
make-doc Make an ipa-tests package 2013-06-17 19:22:50 +02:00
make-test Use pytest conftest.py and drop pytest.ini 2017-01-05 17:37:02 +01:00
makeaci.in Replace PYTHONSHEBANG with valid shebang 2019-06-24 09:35:57 +02:00
makeapi.in Replace PYTHONSHEBANG with valid shebang 2019-06-24 09:35:57 +02:00
Makefile.am Simplify ipa-run-tests script 2019-07-16 13:23:21 +03:00
Makefile.python.am Add PYTHON_INSTALL_EXTRA_OPTIONS and --install-layout=deb 2017-03-15 13:48:23 +01:00
Makefile.pythonscripts.am Replace PYTHONSHEBANG with valid shebang 2019-06-24 09:35:57 +02:00
makerpms.sh Fix unnecessary usrmerge assumptions 2019-04-17 13:56:05 +02:00
pylint_plugins.py constants: add ca_renewal container 2019-05-29 12:49:27 +10:00
pylintrc Forbid imports of ipaserver and install packages 2019-05-16 13:20:38 +02:00
README.md README: Update link to freeipa-devel archive 2019-03-20 17:32:43 +01:00
server.m4 Correcting detect typo in server.m4 2018-04-05 11:25:01 +02:00
tox.ini Make python-ldap optional for PyPI packages 2019-04-26 12:53:23 +02:00
VERSION.m4 Set git master to 4.9.0 2019-07-03 09:40:11 +03:00
zanata.xml Zanata: exlude testing ipa.pot file 2016-11-21 14:47:47 +01:00

FreeIPA Server

FreeIPA allows Linux administrators to centrally manage identity, authentication and access control aspects of Linux and UNIX systems by providing simple to install and use command line and web based management tools.

FreeIPA is built on top of well known Open Source components and standard protocols with a very strong focus on ease of management and automation of installation and configuration tasks.

FreeIPA can seamlessly integrate into an Active Directory environment via cross-realm Kerberos trust or user synchronization.

Benefits

FreeIPA:

  • Allows all your users to access all the machines with the same credentials and security settings
  • Allows users to access personal files transparently from any machine in an authenticated and secure way
  • Uses an advanced grouping mechanism to restrict network access to services and files only to specific users
  • Allows central management of security mechanisms like passwords, SSH Public Keys, SUDO rules, Keytabs, Access Control Rules
  • Enables delegation of selected administrative tasks to other power users
  • Integrates into Active Directory environments

Components

The FreeIPA project provides unified installation and management tools for the following components:

Project Website

Releases, announcements and other information can be found on the IPA server project page at http://www.freeipa.org/ .

Documentation

The most up-to-date documentation can be found at http://freeipa.org/page/Documentation .

Quick Start

To get started quickly, start here: http://www.freeipa.org/page/Quick_Start_Guide

For developers

Licensing

Please see the file called COPYING.

Contacts