Hide Forgot
Description of problem: When new version of task introduces duplicate "Requires", upload to beaker fails with 500 Internal error in WEBUI is used. If "bkradd" is used it ends with: Exception: <Fault 1: "<class 'bkr.common.bexceptions.BX'>:u'Cannot import duplicate task tmp-scratch-jstancek2-1.0-6.noarch.rpm'"> Version-Release number of selected component (if applicable): 0.8 How reproducible: 100% Steps to Reproduce: 1. add duplicate "Requires" to task, for example: + @echo "Requires: rusers" >> $(METADATA) + @echo "Requires: rusers" >> $(METADATA) 2. upload modified task to beaker 3. upload fails -> PROBLEM Actual results: fails with no clue what happened, new rpm can be found at /rpms, but task record is not updated Expected results: upload works without issues or fails and gives more useful message Additional info: It seems to work if you add duplicate requires separately. 1. add one, upload to beaker 2. add another, upload to beaker