Closed Bug 803664 Opened 13 years ago Closed 13 years ago

Remove screensaver package from talos build slaves

Categories

(Infrastructure & Operations Graveyard :: CIDuty, task)

x86
Linux
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jhopkins, Assigned: jhopkins)

References

Details

Attachments

(2 files)

mconley reported Thunderbird test runs having input focus taken away (thus failing tests) and upon investigation I found there was a gnome-screensaver process running on talos-r3-fed64-055. I suggest we remove gnome-screensaver package altogether via puppet. This is a bit tricky because of circular RPM dependencies. See also: bug 604465 and bug 585286
Summary: Remove screensaver from talos → Remove screensaver package from talos build slaves
I won't be around Monday so if the patch is r+'d someone can deploy before I get back.
Comment on attachment 673395 [details] [diff] [review] [puppet-manifests] remove gnome-screensaver lgtm if it tested okay in staging. Circular dependencies are a PITA :-)
Attachment #673395 - Flags: review?(kmoir) → review+
triaged to correct component.
Component: Release Engineering → Release Engineering: Machine Management
QA Contact: armenzg
Comment on attachment 673395 [details] [diff] [review] [puppet-manifests] remove gnome-screensaver Landed in http://hg.mozilla.org/build/puppet-manifests/rev/4f4a43cd1497 Needs to be deployed on puppet masters.
Attachment #673395 - Flags: checked-in+
Deployed to puppet masters and monitored slave uptake. These all behaved as expected: talos-r3-fed64-004 talos-r3-fed64-007 talos-r3-fed-017 talos-r3-fed-004 talos-r3-fed-003 One anomaly: talos-r3-fed-007 only had 1 of 3 expected packages present which I then had to remove manually.
Another spot check of about a dozen machines looks good.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
We've been hitting Mochitest-Oth oranges on Mozilla-Beta since around when this landed: https://tbpl.mozilla.org/?tree=Mozilla-Beta Last good run was from a push around 6am this morning. First bad run started at 10:13 am: https://tbpl.mozilla.org/php/getParsedLog.php?id=16421740&tree=Mozilla-Beta The failures all seem to be from waiting for paints and not receiving them, which seems like it could be related to a screensaver-config-change. (The "guilty" push appears to be unrelated -- it's a sync services change.) So I suspect this might be causing the trouble...
Also, as noted in bug 805135, the desktop-screenshots from the failure logs are fully-black -- so maybe we're still blanking the screen for some reason?
Depends on: 805170
(Filed bug 805170 for the test-timeouts mentioned in comment 9 - 10. likely will require a backout of this bug or a followup; figured I'd file a new bug for it, though, in case it ends up being independent and/or so we can track it without cluttering up this bug too much)
Depends on: 805135
This caused a problem on a newly reimaged Fedora 64 machine. This was in the Puppet log: Oct 30 10:41:17 talos-r3-fed64-002 puppetd[2357]: (//Node[talos-r3-fed64-002]/talosslave/talos_fedora/Exec[rpm -e fedora-screensaver-theme fedorainfinity-screensaver-theme gnome-screensaver]/returns) change from notrun to 0 failed: rpm -e fedora-screensaver-theme fedorainfinity-screensaver-theme gnome-screensaver returned 1 instead of 0 at /etc/puppet/manifests/os/talos_fedora.pp:10 And this came back when I ran the command by hand: error: package fedora-screensaver-theme is not installed I ran this to remove the packages manually: rpm -e fedorainfinity-screensaver-theme gnome-screensaver I think the "onlyif" needs some adjustment.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
This stems from the problem that not all machines are starting with the same set of packages installed. The puppet recipe expects all three screensaver RPMs to be present. If they aren't, the logic doesn't work. In my testing I only found 1 machine that didn't have all 3 RPMs installed and considered it an anomaly. So apparently fresh installs now only include 2 of the 3 screensaver packages?
Maybe we can separate out the packages into 3 separate installs, so we can test individually?
Patch needs testing on a fresh Fedora install.
Attachment #677418 - Flags: review?(bhearsum)
(In reply to Ben Hearsum [:bhearsum] from comment #14) > Maybe we can separate out the packages into 3 separate installs, so we can > test individually? The packages can't be handled individually due to the circular dependency they share. eg. If you try and remove one package, that will fail due to one or more other packages depending on it. The same is true for the other two packages. Therefore they all have to be removed in a single transaction.
(In reply to John Hopkins (:jhopkins) from comment #16) > (In reply to Ben Hearsum [:bhearsum] from comment #14) > > Maybe we can separate out the packages into 3 separate installs, so we can > > test individually? > > The packages can't be handled individually due to the circular dependency > they share. eg. If you try and remove one package, that will fail due to > one or more other packages depending on it. The same is true for the other > two packages. Therefore they all have to be removed in a single transaction. You can probably use --nodeps to workaround that during removal.
(In reply to Ben Hearsum [:bhearsum] from comment #17) > You can probably use --nodeps to workaround that during removal. Yes, that's possible, but it would leave the package database (at least temporarily) in an inconsistent state. We should try and avoid that.
(In reply to John Hopkins (:jhopkins) from comment #18) > (In reply to Ben Hearsum [:bhearsum] from comment #17) > > You can probably use --nodeps to workaround that during removal. > > Yes, that's possible, but it would leave the package database (at least > temporarily) in an inconsistent state. We should try and avoid that. I'm not sure that's a big issue, because Puppet will run in a loop until they all succeed, but I agree it's less than ideal. If you can make the current approach work, WFM. For testing, I suggest putting a machine in that state by hand rather than waiting for one to get there.
What is the state of this work? I still get strange failures on talos-r3-fed64-* machines as if clicks are not delivered. Was the fix backed up?
aceman: can you list some specific machine names that you are seeing missing clicks on? I'm going to be testing and deploying the attached patch this week.
talos-r3-fed64-041 talos-r3-fed64-028 talos-r3-fed64-006 talos-r3-fed-055 talos-r3-fed64-031 talos-r3-fed-032 Bug 803604 and bug 726966 are suspected to be caused by this problem. You can find more machines listed there.
None of the machines listed above have gnome screensaver RPMs installed. The other change we made was in https://bug585286.bugzilla.mozilla.org/attachment.cgi?id=674821. This patch was landed and is still in place.
Comment on attachment 677418 [details] [diff] [review] [puppet-manifests] dynamically determine which of the three packages to remove bhearsum: I've tested this patch with 0..3 screensaver RPMs and verified that it works in all of those cases on 32-bit and 64-bit talos machines. Once you've reviewed the patch I will land it. Thanks.
Attachment #677418 - Flags: review?(bhearsum) → review+
Comment on attachment 677418 [details] [diff] [review] [puppet-manifests] dynamically determine which of the three packages to remove Landed in http://hg.mozilla.org/build/puppet-manifests/rev/26d24411a10a
Attachment #677418 - Flags: checked-in+
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
Product: Release Engineering → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: