Closed
Bug 632305
Opened 13 years ago
Closed 13 years ago
Move build-recommendations.py to zamboni and make sure it doesn't take 6 hours
Categories
(addons.mozilla.org Graveyard :: Code Quality, defect, P3)
addons.mozilla.org Graveyard
Code Quality
Tracking
(Not tracked)
RESOLVED
FIXED
5.12.11
People
(Reporter: clouserw, Assigned: jbalogh)
References
Details
(Whiteboard: [qa-])
[amo-developers] Cron <apache@mradm02> cd /data/amo/www/addons.mozilla.org-remora/bin; /usr/bin/python26 build-recommendations.py addons Traceback (most recent call last): File "build-recommendations.py", line 203, in <module> main() File "build-recommendations.py", line 199, in main return cmd() File "build-recommendations.py", line 77, in __call__ self.insert(self.correlate()) File "build-recommendations.py", line 110, in insert cursor.execute(self.q['insert'] + records) File "/usr/lib64/python2.6/site-packages/MySQLdb/cursors.py", line 173, in execute self.errorhandler(self, exc, value) File "/usr/lib64/python2.6/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler raise errorclass, errorvalue _mysql_exceptions.IntegrityError: (1452, 'Cannot add or update a child row: a foreign key constraint fails (`addons_remora/addon_recommendations`, CONSTRAINT `addon_recommendations_ibfk_1` FOREIGN KEY (`addon_id`) REFERENCES `addons` (`id`))')
Assignee | ||
Comment 1•13 years ago
|
||
<oremj> apache 30859 81.6 3.6 398792 294972 ? R 10:30 312:42 /usr/bin/python26 build-recommendations.py addons
Summary: [traceback] build-recommendations.py addons cron job → Move build-recommendations.py to zamboni and make sure it doesn't take 6 hours
Assignee | ||
Comment 3•13 years ago
|
||
git revert ae9f0de
Assignee | ||
Comment 4•13 years ago
|
||
https://github.com/jbalogh/zamboni/commit/2bcfa94 All the code is in but I'm not turning on the cron job until bug 634482 is done.
Depends on: 634482
Target Milestone: 5.12.10 → 5.12.11
Assignee | ||
Comment 5•13 years ago
|
||
Flipped the cron in https://github.com/jbalogh/zamboni/commit/19cddf7.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Whiteboard: [qa-]
Updated•8 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•