#324 Password
Closed: not-a-bug by ngompa. Opened by fab.

The input should mention what password is needed.

$ fedora-review -b xxx
Password: 
Password: ERROR: Exception down the road...(logs in /home/fab/.cache/fedora-review.log)

It's not the FAS password or the one from https://bugzilla.redhat.com.


I've never been asked for a password from FedoraReview.

It's simply mock trying to run, add your user to the mock group

It seems that it's mock that asking for the root password.

$ cat /home/fab/.cache/fedora-review.log
01-22 22:03 root         DEBUG    fedora-review 0.6.1 f03e4e7 2016-05-02 14:21:43 +0200 started
01-22 22:03 root         DEBUG    Command  line: /usr/bin/fedora-review -b 1667278
01-22 22:03 root         DEBUG    ReviewError: 'No mock group - mock not installed or mock not in effectivegroups. Try running  "newgrp" or logging out from all your local sessions and logging back in. Or disable test using REVIEW_NO_MOCKGROUP_CHECK, see manpage'
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/FedoraReview/review_helper.py", line 237, in run
    self._do_run(outfile)
  File "/usr/lib/python2.7/site-packages/FedoraReview/review_helper.py", line 200, in _do_run
    Settings.init()
  File "/usr/lib/python2.7/site-packages/FedoraReview/settings.py", line 321, in init
    _check_mock_grp()
  File "/usr/lib/python2.7/site-packages/FedoraReview/settings.py", line 55, in _check_mock_grp
    raise ReviewError(mock_msg)
ReviewError: 'No mock group - mock not installed or mock not in effectivegroups. Try running  "newgrp" or logging out from all your local sessions and logging back in. Or disable test using REVIEW_NO_MOCKGROUP_CHECK, see manpage'
01-22 22:03 root         ERROR    ERROR: 'No mock group - mock not installed or mock not in effectivegroups. Try running  "newgrp" or logging out from all your local sessions and logging back in. Or disable test using REVIEW_NO_MOCKGROUP_CHECK, see manpage' (logs in /home/fab/.cache/fedora-review.log)
01-22 22:03 root         DEBUG    Report completed:  0.408 seconds

Anyways, there is no mentioning in the README that it's required to setup mock and there should be a proper error message: ERROR: Exception down the road... might be funny but it's not really helpful.

It's the man page iirc

Metadata Update from @ngompa:
- Issue close_status updated to: not-a-bug
- Issue status updated to: Closed (was: Open)

Metadata