talos-r4-snow-XXX machines can fail to set the screen resolution however it can recover after a while

RESOLVED INCOMPLETE

Status

RESOLVED INCOMPLETE
5 years ago
3 months ago

People

(Reporter: armenzg, Unassigned)

Tracking

Details

(Reporter)

Description

5 years ago
See bug 932480 and https://bugzilla.mozilla.org/show_bug.cgi?id=780321#c5

I think this is the reason:
> <Warning>: 3891612: (CGSLookupServerRootPort) Untrusted apps are not allowed to connect to or launch Window Server before login.

After rebooting the machine might recover.

In our case, I believe that puppet reboots our machines after two hours (for talos-r4-snow-036 it was more like 5 hours) and that is why some machines recover automatically.

Any suggestions on how to fix this?

On another note, any of you know what are the credentials to VNC into these hosts?

[root@talos-r4-snow-025.build.scl1.mozilla.com ~]# /usr/local/bin/screenresolution set 1600x1200x32
2013-10-30 09:58:59.851 screenresolution[7550:903] starting screenresolution argv=/usr/local/bin/screenresolution set 1600x1200x32 
Wed Oct 30 09:58:59 talos-r4-snow-025.build.scl1.mozilla.com screenresolution[7550] <Warning>: 3891612: (CGSLookupServerRootPort) Untrusted apps are not allowed to connect to or launch Window Server before login.
Wed Oct 30 09:58:59 talos-r4-snow-025.build.scl1.mozilla.com screenresolution[7550] <Error>: kCGErrorRangeCheck: On-demand launch of the Window Server is allowed for root user only.
Wed Oct 30 09:58:59 talos-r4-snow-025.build.scl1.mozilla.com screenresolution[7550] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
2013-10-30 09:58:59.866 screenresolution[7550:903] Error: failed to get list of active displays

* After a reboot

[root@talos-r4-snow-025.build.scl1.mozilla.com ~]#  /usr/local/bin/screenresolution set 1600x1200x32
2013-10-30 10:02:32.162 screenresolution[680:903] starting screenresolution argv=/usr/local/bin/screenresolution set 1600x1200x32 
2013-10-30 10:02:32.168 screenresolution[680:903] set mode on display 0 to 1600x1200x32
(Reporter)

Updated

5 years ago
Summary: Mac machines can fail to set the screen resolution however it can recover after a while → talos-r4-snow-XXX machines can fail to set the screen resolution however it can recover after a while
The credentials are the VNC password.  I don't recall if you have to use Apple VNC or if you have to *not* use Apple VNC for 10.6.

The error you're seeing indicates that screenresolution cannot run before the automatic login completes.  There may be a race condition between autologin and puppet running screenresolution, and a deeper look at the logs might show it.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → INCOMPLETE
(Assignee)

Updated

3 months ago
Component: Platform Support → Buildduty
Product: Release Engineering → Infrastructure & Operations
You need to log in before you can comment on or make changes to this bug.