Project

Profile

Help

Issue #303

Http Event Listener: repo.publish.finish not triggered in error case: wrong distributor id

Added by mkovacik@redhat.com almost 7 years ago. Updated over 1 year 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 repo.publish.finish Event Listener not triggered in error case: wrong distributor id was provided when issuing a repo publish call

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

How reproducible:
Always, automated

Steps to reproduce:
- create an rpm repo with a feed
- create a bin at http://requestb.in/
- create an event listener reporting to bin.url
- update the event listener to types: ['repo.publish.finish']
- trigger a repo publish with a wrong/non-existent distributor id
- make sure the publish task failed
- check the request bin

Actual results:
- no requests POSTed

Expected results:
- the bin contains a request POSTed by Pulp http event listener such that
- request.body:Task.state is 'error'
- request.body:Task.id is publish_task.id

Additional Information:
- pulp-automation test case: test_23_event_listener:EventListenerErrorTest.test_02_repo_publish_finish
- https://github.com/RedHatQE/pulp-automation/blob/master/tests/general_tests/test_23_event_listener.py

screen.log (22.9 KB) screen.log Test case screen log mkovacik@redhat.com, 02/25/2015 05:07 PM

History

#1 Updated by ipanova@redhat.com over 6 years ago

  • Status changed from NEW to 7

#2 Updated by dkliban@redhat.com over 6 years ago

  • Triaged changed from No to Yes

#3 Updated by bmbouter over 6 years ago

  • Status changed from 7 to CLOSED - WONTFIX

#4 Updated by bmbouter over 2 years ago

  • Severity set to 2. Medium

#5 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

#6 Updated by bmbouter over 1 year ago

  • Category deleted (14)

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

Please register to edit this issue

Also available in: Atom PDF