Closed
Bug 1389118
Opened 7 years ago
Closed 7 years ago
Please update Windows stylo job priorities
Categories
(Tree Management :: Treeherder: Infrastructure, enhancement, P1)
Tree Management
Treeherder: Infrastructure
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: armenzg, Assigned: emorley)
References
Details
Please set the priority of these jobs to 5.
JobPriority.objects.filter(platform='windows7-32-stylo', priority=1)
Thank you!
Same request as with bug 1386668.
Assignee | ||
Comment 1•7 years ago
|
||
So something like this?
heroku run --app treeherder-prod -- ./manage.py shell -c 'from treeherder.seta.models import JobPriority; JobPriority.objects.filter(platform="windows7-32-stylo", priority=1).update(priority=1)'
Or alternatively if we just use SQL:
UPDATE treeherder.seta_jobpriority SET priority = 5 WHERE platform = 'windows7-32-stylo' and priority = 1;
Assignee: nobody → emorley
Component: Treeherder → Treeherder: Infrastructure
Flags: needinfo?(armenzg)
Reporter | ||
Comment 2•7 years ago
|
||
Correct. The priority has to be 5.
> priority=1).update(priority=5)'
Thank you so much!
Flags: needinfo?(armenzg)
Assignee | ||
Comment 3•7 years ago
|
||
Done :-)
treeherder $ thp run -- ./manage.py shell -c 'from treeherder.seta.models import JobPriority; JobPr iority.objects.filter(platform="windows7-32-stylo", priority=1).update(priority=5)'
Running ./manage.py shell -c "from treeherder.seta.models import JobPriority; JobPriority.objects.filter(platform=\"windows7-32-stylo\", priority=1).update(priority=5)" on treeherder-prod... up, run.3460 (Standard-1X)
/tmp/memcachier-stunnel.conf
treeherder $
Status: NEW → RESOLVED
Closed: 7 years ago
Priority: -- → P1
Resolution: --- → FIXED
Reporter | ||
Comment 4•7 years ago
|
||
Thank you Ed!
Reporter | ||
Comment 5•7 years ago
|
||
*sigh*
My apologies. I forgot about the expiration date needing to be set to null as well as win10 jobs.
* windows7-32-stylo
** set expiration date to null
* windows10-64-stylo
** set expiration date to null
** set priority to 5
jmaher and I will be talking next week on how to reduce this unnecessary maintenance and disruptions.
Thanks in advance and my apologies for the distraction.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Reporter | ||
Comment 6•7 years ago
|
||
I've confirmed that the stylo jobs now show up in here:
https://treeherder.mozilla.org/api/project/autoland/seta/job-priorities/?build_system_type=taskcluster&priority=5
>>> JobPriority.objects.filter(platform="windows10-64-stylo", priority=1).update(priority=5)
83L
>>> JobPriority.objects.filter(platform="windows10-64-stylo", expiration_date__isnull=False).update(expiration_date=None)
84L
>>> JobPriority.objects.filter(platform="windows10-64-stylo", expiration_date__isnull=False)
<QuerySet []>
>>> JobPriority.objects.filter(platform="windows7-32-stylo", expiration_date__isnull=False).update(expiration_date=None)
84L
>>> JobPriority.objects.filter(platform="windows7-32-stylo", expiration_date__isnull=False)
<QuerySet []>
Status: REOPENED → RESOLVED
Closed: 7 years ago → 7 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•