Description of problem: The recipe.files() returns duplicate logs which causes OSError: [Errno 17] File exists in beaker-transfer daemon. Version-Release number of selected component (if applicable): 23 How reproducible: Easy Steps to Reproduce: check the logs for 483436#task5612659 on the production site Actual results: It has two debug/.task_beah_raw records when clicking on the logs icon Expected results: Only one record should be shown. Additional info: See bug 1368509 for what happened in beaker-transfer.
(In reply to matt jia from comment #0) > Description of problem: > > The recipe.files() returns duplicate logs which causes > > OSError: [Errno 17] File exists > It turns out this task(483436) has reported two results with same filename. select recipe_task_id, filename from Beaker.log_recipe_task where recipe_task_id = 5612659 ; recipe_task_id | filename ----------------+---------------------- 5612659 | .task_beah_raw 5612659 | .task_beah_raw 5612659 | journal.xml 5612659 | TESTOUT.log 5612659 | task_beah_unexpected 5612659 | messages 5612659 | current.log 5612659 | task_output_stdout 5612659 | task_log (9 rows) Should we allow this? It does not make senses to me that one task have two logs with same name.
It should be impossible. We currently cannot explain how it is happening. We've seen it twice before. *** This bug has been marked as a duplicate of bug 963492 ***