Bug 53746 - Wrong return code from "univention-app dev-test-setup"
Wrong return code from "univention-app dev-test-setup"
Status: NEW
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-09-06 10:41 CEST by Jürn Brodersen
Modified: 2021-09-06 10:41 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.034
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jürn Brodersen univentionstaff 2021-09-06 10:41:34 CEST
Wrong return code from "univention-app dev-test-setup"

The `return ret_code != 0` in management/univention-appcenter/python/appcenter-dev/actions/test_appcenter.py:DevTestSetup seems to be wrong.

If the the ret_code was `0` it gets returned as `False`, which I think gets converted to an `sys.exit(1)` in management/univention-appcenter/scripts/univention-app