Closed
Bug 734099
Opened 13 years ago
Closed 13 years ago
Rewrite priorityjobs service
Categories
(Socorro Graveyard :: Middleware, defect)
Socorro Graveyard
Middleware
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: adrian, Assigned: adrian)
References
Details
File is webapp-php/application/models/priorityjobs.php.
Assignee | ||
Updated•13 years ago
|
Assignee | ||
Comment 1•13 years ago
|
||
I think I'm done working on this bug, but I am stuck now on how to QA it. I have unit tests that work, but I'd like to find steps for anyone to reproduce in a VM or on dev/stage. Brandon, do you have a suggestion?
Comment 2•13 years ago
|
||
The method Rob and I used to QA it last time was to stop the processors. This way, anything you put into the priority queue isn't picked up. Then, you can call the service externally and test it, and check the results in the queue table.
Assignee | ||
Updated•13 years ago
|
Target Milestone: 2.5.2 → 3
Assignee | ||
Updated•13 years ago
|
Target Milestone: 3 → 4
Assignee | ||
Comment 3•13 years ago
|
||
Pull request: https://github.com/mozilla/socorro/pull/468
Steps to QA
-----------
1. Stop the processors
2. Send a new crash report into Socorro
3. Empty the priorityjobs table in PostgreSQL
4. Try to hit report/index for the uuid of the recently sent crash report
5. Verify that this uuid was added to the priorityjobs list in PostgreSQL.
Target Milestone: 4 → 5
Comment 4•13 years ago
|
||
Commits pushed to master at https://github.com/mozilla/socorro
https://github.com/mozilla/socorro/commit/06d99360318d47bbb01e3c5ff43b14972aca8372
Fixes bug 734099 - Rewrote priorityjobs middleware service.
https://github.com/mozilla/socorro/commit/f2f2ad3f5f788d9a212647d7a5d62a4bb4c66ca7
Merge pull request #468 from AdrianGaudebert/734099-priority-jobs-service
Fixes bug 734099 - Rewrote priorityjobs middleware service.
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 5•13 years ago
|
||
There is a bug in the way I instantiate the Priorityjobs class from the getCrash service. Surprisingly that exception was caught and never made it to logs, which explains why it took so long to find it... Will send a bug fix in a few minutes.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 6•13 years ago
|
||
Commits pushed to master at https://github.com/mozilla/socorro
https://github.com/mozilla/socorro/commit/e52314c59b1df961acc03b11f5847fcff8aabe20
Fixes bug 734099 - Instantiated the Priorityjobs class as it should be.
https://github.com/mozilla/socorro/commit/489796ae5953343e919da160cd7be4b820b95e9f
Merge pull request #494 from AdrianGaudebert/734099-priority-jobs-service
Fixes bug 734099 - Instantiated the Priorityjobs class as it should be.
Updated•13 years ago
|
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
Comment 7•13 years ago
|
||
Commit pushed to stage at https://github.com/mozilla/socorro
https://github.com/mozilla/socorro/commit/39d8663b8a6ce7702140752d48b9dd6bcabed087
Fixes bug 734099 - Instantiated the Priorityjobs class as it should be.
Comment 8•13 years ago
|
||
Bumping to verified on stage: thx adrian and mpressman for testifying and getting this verified.
09:46 adrian: mbrandt: I am going to send a crash that will not get processed (because it has an unknown product)
09:46 adrian: mbrandt: then you will try to hit that crash via the UI
09:46 mrmiller: ted: okay, I think that's what I'm going to do on my end then... I don't think we're going to be getting that many logs anyhow
09:46 adrian: mbrandt: that will insert that crash in the priorityjobs queue and show you a "pending" page
09:53 adrian: mbrandt: then it gets processed, and then you can see details about that crash in the UI
09:54 mbrandt: adrian: thanks - I just wanted to make sure the model in my brain was correct :)
09:54 mbrandt often times its not
09:54 ted: mrmiller: definitely interested to hear your results
09:54 adrian: mbrandt: priorityjobs is a queue that processors watch, and as its name says, they get processed faster.
please try to access https://crash-stats.allizom.org/report/index/5d17e718-6767-46ad-93d3-1f2932120411
09:48 adrian: mbrandt: mpressman: SUCCESS
Status: RESOLVED → VERIFIED
Updated•9 years ago
|
Product: Socorro → Socorro Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•