You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Fedora 30 with createrepo_c-0.12.2-1.fc30.x86_64, createrepo prints to stderr by default. And mockchain determines createrepo failure by its stderr output. So mockchain always fails.
It seems better to test createrepo exit code instead.
Output of rpm -q mock
mock-1.4.14-1.fc30.noarch
Steps to reproduce issue
Run mockchain with -l option
The text was updated successfully, but these errors were encountered:
I temporary remove the sys.exit() when we createrepo_c prints something to STDERR.
Mockchain will still print the error (which may confuse user), but it will proceed further. I will talk to createrepo_c about this. I will leave this open until the final solution, but this error is no more fatal.
Almost year from last update. I'd propose to close this. The mockchain.py code
disappeared, and now we only react on exit status. Which is exactly what this
issue was about.... there's --error-exit-val createrepo_c option. But using that
would be different topic. Feel free to reopen and provide more data what should
happen here.
Short description of the problem
On Fedora 30 with createrepo_c-0.12.2-1.fc30.x86_64, createrepo prints to stderr by default. And mockchain determines createrepo failure by its stderr output. So mockchain always fails.
It seems better to test createrepo exit code instead.
Output of
rpm -q mock
mock-1.4.14-1.fc30.noarch
Steps to reproduce issue
The text was updated successfully, but these errors were encountered: