Project

Profile

Help

Issue #297

closed

Http Event Listener: repo.sync.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 pulp.sync.finish http event listener is triggered, the related repo sync task is still in running state

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

How reproducible:
Always, automated

Steps to reproduce:

  1. as in the test case
    - create an rpm repo with feed
    - create http event listener
    - POSTing to http://requestb.in/bin_id
    - update the event listener to types: ['repo.sync.finish']
    - sync the repo
    - wait till repo sync tasks finish
    - check the request bin for POSTed requests

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

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

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


Files

screen.log (34.7 KB) screen.log mkovacik@redhat.com, 02/25/2015 11:50 AM

Related issues

Related to Pulp - Issue #301: Http Event Listener: repo.sync.finish: task error not reported CLOSED - WONTFIXActions
Actions #1

Updated by mkovacik@redhat.com about 9 years ago

  • Subject changed from Http Event Listener: pulp.sync.finish fires with task in running state to Http Event Listener: repo.sync.finish fires with task in running state
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