#7856 Nightly test failure in test_uninstallation.py::TestUninstallBase::()::test_failed_uninstall
Closed: fixed 5 years ago by rcritten. Opened 5 years ago by frenaud.

Issue

The nightly tests fail in test_uninstallation.py::TestUninstallBase::()::test_failed_uninstall.
See the log

The test fails when calling the command

/usr/sbin/dsctl IPA-TEST remove --doit

with the error:

usage: dsctl [-h] [-v] [-j] [-l] [--remove-all [REMOVE_ALL]]
             [instance]
             {restart,start,stop,status,remove,db2index,db2bak,db2ldif,bak2db,ldif2db,backups} 
             ...
dsctl: error: unrecognized arguments: --doit
Exit code: 2
stderr: usage: dsctl [-h] [-v] [-j] [-l] [--remove-all [REMOVE_ALL]]

The issue appeared with the new 389-ds release (389-ds-base-1.4.0.21-1.fc29.x86_64) where the option name --doit was replaced with --do-it.


Metadata Update from @frenaud:
- Issue assigned to frenaud

5 years ago

Metadata Update from @frenaud:
- Issue tagged with: test-failure, tests

5 years ago

Metadata Update from @frenaud:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/2814

5 years ago

Change in 389-ds 4fd73c5d9a431dec0ac8189d6dee6e592088e3c6

Also affects dscreate option fromfile -> from-file (which we don't use).

master:

  • 0376d70 Tests: fix option name for dsctl

Metadata Update from @rcritten:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

5 years ago

The fix is needed only on the master branch, and has been committed, hence closing as fixed.

Metadata Update from @frenaud:
- Issue set to the milestone: FreeIPA 4.8

5 years ago

Login to comment on this ticket.

Metadata