CI tests creates/deletes DS instances. Each time it add/remove label ldap_port_t and it is a long operation.
pre labelled the CI ports is not an option as each time the instance is removed the port's label is cleared.
Preventing /usr/lib64/dirsrv/perl/DSCreate.pm:removeDSInstance to remove the label reduce the time to run CI tests per 4.
Preventing the removal can be done with a 'remove-ds.pl' option, or a environment variable (prefered),...
Metadata Update from @tbordaz: - Issue set to the milestone: CI test 1.0
There is no solution to this problem: selinux is slow to update ports. QE currently pre-label their ports instead, I personally run my tests in a container instead.
Sorry :(
Metadata Update from @firstyear: - Custom field reviewstatus adjusted to new - Issue close_status updated to: invalid - Issue status updated to: Closed (was: Open)
It's actually was fixed in 48953 using environment variables DS_SKIP_LABEL and DS_SKIP_UNLABEL for setup-ds.pl. It works perfectly with prelabeled ports.
Metadata Update from @vashirov: - Custom field reviewstatus reset (from new)
389-ds-base is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in 389-ds-base's github repository.
This issue has been cloned to Github and is available here: - https://github.com/389ds/389-ds-base/issues/1487
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.
Metadata Update from @spichugi: - Issue close_status updated to: wontfix (was: invalid)