Project

Profile

Help

Issue #301

closed

Http Event Listener: repo.sync.finish: task error not reported

Added by mkovacik@redhat.com about 9 years ago. Updated almost 4 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.6 Beta
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

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

screen.log (24.6 KB) screen.log Test case screen log mkovacik@redhat.com, 02/25/2015 04:18 PM

Related issues

Related to Pulp - Issue #297: Http Event Listener: repo.sync.finish fires with task in running stateCLOSED - WONTFIXActions
Actions #1

Updated by mkovacik@redhat.com about 9 years ago

  • Category set to 14
  • Version set to 2.6 Beta

Version:
pulp-server-2.6.0-0.7.beta.fc21.noarch

Actions #2

Updated by ipanova@redhat.com about 9 years ago

  • Status changed from NEW to 7
Actions #3

Updated by dkliban@redhat.com about 9 years ago

  • Triaged changed from No to Yes
Actions #4

Updated by bmbouter about 9 years ago

  • Status changed from 7 to CLOSED - WONTFIX
Actions #5

Updated by bmbouter almost 5 years ago

  • Severity set to 2. Medium
Actions #6

Updated by bmbouter almost 5 years ago

  • Tags Pulp 2 added
Actions #7

Updated by bmbouter almost 4 years ago

  • Category deleted (14)

We are removing the 'API' category per open floor discussion June 16, 2020.

Also available in: Atom PDF