ReleaseEngineering/How To/Resolution issues r4

From MozillaWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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