Project

Profile

Help

Issue #298

closed

Http Event Listener: repo.publish.finish fires with task in running state

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

When a repo.publish.finish http event listener is triggered, the relevant repo publish task is still running

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

How reproducible:
Always, automated

Steps to reproduce
- create an rpm repo with feed
- create an http event listener
- reporting to http://requestb.in/\`request_id\`
- update the event listener configuration types to: ['repo.publish.finish']
- publish the repo
- wait till repo publish tasks finish
- inspect the request bin

Actual results:
- the bin contains a request with a task call report in request.body such that task.state == 'running'

Expected results:
- the bin contains a request with a task call report in request.body such that task.state == 'finished'

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


Files

screen.log (35.4 KB) screen.log Test case screen log mkovacik@redhat.com, 02/25/2015 12:17 PM

Also available in: Atom PDF