Project

Profile

Help

Issue #713

closed

Event Listeners API: repo.publish.finish triggered before related task has finished executing

Added by mkovacik@redhat.com almost 10 years ago. Updated over 4 years ago.

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

Description

Test case screen log

Description of problem:
The repo.publish.finish http event listener gets triggered before the repo finishes publishing.
The related publish task.finish_time is always later than the request.time posted to requestb.in.

Version-Release number of selected component (if applicable):
pulp-server-2.6.0-0.7.beta.fc21.noarch

How reproducible:
Always

Steps to Reproduce:
0. set up an rpm repo with feed
1. create an http event listener:
- reports to a bin (http://requestb.in/<bin_id>)
- types: ['repo.sync.finish', 'repo.publish.finish']
2. update the event listener to types: ['repo.publish.finish']
3. publish repo yum_distributor
4. wait for spawned tasks to finish
5. collect requests posted to the bin

Actual results:
request.time < publish_task.finish_time

Expected results:
request.time >= publish_task.finish_time

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

+ This bug was cloned from Bugzilla Bug #1195434 +


Files

f043b376ce9ff8260fcb897b22f4dcbb (28.3 KB) f043b376ce9ff8260fcb897b22f4dcbb mkovacik@redhat.com, 03/01/2015 12:25 AM
Actions #1

Updated by ipanova@redhat.com almost 10 years ago

  • Triaged changed from No to Yes
  • Severity set to Low
Actions #2

Updated by ipanova@redhat.com almost 10 years ago

  • Status changed from NEW to 7

This feature has been deprecated in favor of new coming feature of amqp status notifications.

Actions #3

Updated by bmbouter almost 10 years ago

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

Updated by bmbouter almost 10 years ago

  • Severity changed from Low to 1. Low
Actions #5

Updated by bmbouter over 5 years ago

  • Tags Pulp 2 added
Actions #6

Updated by bmbouter over 4 years ago

  • Category deleted (14)

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

Also available in: Atom PDF