Issue #301
closedHttp Event Listener: repo.sync.finish: task error not reported
Description
Http Event Listener for the repo.sync.finish type fails to propagate related task error
How reproducible:
Always, automated
Steps to reproduce:
- create an rpm repo with a deliberately wrong feed url
- create a bin in http://requestb.in
- create an http event listener reporting to the bin.url
- update the event listener to type: ['repo.sync.finish']
- run repo sync
- wait till the repo sync tasks finishes
- assert the task finished with an error state
- check the bin.requests
Actual results
- bin.requests[0].body contains a running task call_report data
Expected results
- bin.requests[0].body contains a failed-task call_report data
Additional information
- feels like a duplicate of Issue #297
- pulp-automation test case: test_23_event_listener:EventListenerErrorTest.test_01_repo_sync_finish
- https://github.com/RedHatQE/pulp-automation/blob/master/tests/general_tests/test_23_event_listener.py
Files
Related issues
Updated by mkovacik@redhat.com about 8 years ago
- Category set to 14
- Version set to 2.6 Beta
Version:
pulp-server-2.6.0-0.7.beta.fc21.noarch
Updated by ipanova@redhat.com about 8 years ago
- Status changed from NEW to 7
Updated by bmbouter almost 3 years ago
- Category deleted (
14)
We are removing the 'API' category per open floor discussion June 16, 2020.