ReleaseEngineering/How To/Resolution issues r4

From MozillaWiki
Jump to: navigation, search

If a rev4 machine doesn't have the correct resolution, you need to reboot it a special way.

Run:

pmset schedule wakeorpoweron "`date -v+4M "+%m/%d/%y %H:%M:%S"`" && shutdown -h now

This schedules the machine to start in 4 minutes then turns it off.

John has used this:

curl -LO http://build.mozilla.org/builds/last-job-per-slave.txt
for i in $(grep "talos-r4" last-job-per-slave.txt | grep "days," | cut -f1 -d " " | sed -e "s/$/.build.mozilla.org/" | xargs) ; do date=`date -v+4M "+%m/%d/%y %H:%M:%S"` ; ssh root@$i -o ConnectTimeout=2 "pmset schedule wakeorpoweron \"$date\"" ; done