Closed
Bug 833524
Opened 13 years ago
Closed 13 years ago
remove all trace of .mozpass.cfg and .android from linux builders
Categories
(Release Engineering :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mozilla, Assigned: mozilla)
References
Details
Attachments
(5 files, 2 obsolete files)
825 bytes,
patch
|
rail
:
review+
mozilla
:
checked-in-
|
Details | Diff | Splinter Review |
1.70 KB,
patch
|
mozilla
:
review+
mozilla
:
checked-in+
|
Details | Diff | Splinter Review |
5.44 KB,
patch
|
bhearsum
:
review+
mozilla
:
checked-in+
|
Details | Diff | Splinter Review |
39.57 KB,
text/plain
|
Details | |
1.11 KB,
patch
|
rail
:
review+
mozilla
:
checked-in+
|
Details | Diff | Splinter Review |
Now that bug 705807 landed, we need to clean up:
a) puppet patch to remove all .mozpass.cfg and .android/ from ~cltbld on linux builders
** write, review, land, roll out, wait to run everywhere, back out
b) remove all references to .mozpass.cfg and .android/ from docs
** new image docs first
** slave loaner docs after (a) is done.
Assignee | ||
Comment 1•13 years ago
|
||
Assignee | ||
Comment 2•13 years ago
|
||
TODO, once we remove .mozpass.cfg and .android/ everywhere:
https://intranet.mozilla.org/RelEngWiki/index.php/How_To/Clean_A_Slave_For_Shipment_Externally
Assignee | ||
Comment 3•13 years ago
|
||
_ review
_ land
_ update puppet servers
_ remove these files from puppet servers if applicable
_ write new patch (should still remove debug.keystore)
_ review
_ land (after all linux builders are updated)
_ update puppet servers
_ update above TODO wiki page
_ close bug
Attachment #705075 -
Flags: review?(rail)
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → aki
Comment 4•13 years ago
|
||
Comment on attachment 705075 [details] [diff] [review]
clean puppet part 1
Review of attachment 705075 [details] [diff] [review]:
-----------------------------------------------------------------
Could you also prepare a patch for puppetagain (http://hg.mozilla.org/build/puppet/) - we have those files on mock slaves as well.
::: os/centos.pp
@@ +76,4 @@
>
> "/home/cltbld/.android/android.keystore":
> + ensure => absent,
> + force => true;
you can remove this entry all together because the previous one should remove the whole directory.
Attachment #705075 -
Flags: review?(rail) → review+
Assignee | ||
Comment 5•13 years ago
|
||
(In reply to Rail Aliiev [:rail] from comment #4)
> Could you also prepare a patch for puppetagain
> (http://hg.mozilla.org/build/puppet/) - we have those files on mock slaves
> as well.
There doesn't seem to be any existing file that references these; creating a new directory structure / file in build/puppet is far beyond my weak puppet skills.
Assignee | ||
Comment 6•13 years ago
|
||
X puppet-manifests patch
X review
_ land <-- WE ARE HERE (might wait til morning)
_ update puppet servers
_ puppetagain patch <-- someone else?
_ review
_ land
_ update puppetagain masters
_ remove these files from puppet servers if applicable
_ write new patch (should still remove debug.keystore)
_ review
_ land (after all linux builders are updated)
_ update puppet servers
_ update above TODO wiki page
_ close bug
Comment 7•13 years ago
|
||
Since aki wasn't comfortable writing this.
Attachment #705101 -
Flags: review?(rail)
Comment 8•13 years ago
|
||
I was too quick on the draw, this uses the correct var
Attachment #705101 -
Attachment is obsolete: true
Attachment #705101 -
Flags: review?(rail)
Attachment #705103 -
Flags: review?(rail)
Comment 9•13 years ago
|
||
Comment on attachment 705103 [details] [diff] [review]
[puppetAgain] v1.1
lgtm
Attachment #705103 -
Flags: review?(rail) → review+
Assignee | ||
Comment 10•13 years ago
|
||
Assignee | ||
Comment 11•13 years ago
|
||
Comment on attachment 705104 [details] [diff] [review]
puppet-manifests with fixes
Carrying forward review.
http://hg.mozilla.org/build/puppet-manifests/rev/ed85a33b23a3
Attachment #705104 -
Flags: review+
Attachment #705104 -
Flags: checked-in+
Assignee | ||
Comment 12•13 years ago
|
||
(In reply to Aki Sasaki [:aki] from comment #6)
> X puppet-manifests patch
> X review
> X land
> X update puppet servers
> X puppetagain patch (Callek)
> X review
> _ land <-- WE ARE HERE
> _ remove these files from puppet servers if applicable
> _ write new patch (should still remove debug.keystore)
> _ review
> _ land (after all linux builders are updated)
> _ update puppet servers
> _ update above TODO wiki page
> _ close bug
Assignee | ||
Comment 13•13 years ago
|
||
Comment on attachment 705103 [details] [diff] [review]
[puppetAgain] v1.1
http://hg.mozilla.org/build/puppet/rev/f3c2cc8dc47d
Attachment #705103 -
Flags: checked-in+
Assignee | ||
Comment 14•13 years ago
|
||
X puppet-manifests patch
X review
X land
X update puppet servers
X puppetagain patch (Callek)
X review
X land
X remove these files from puppet servers if applicable
_ verify
_ write new patch (should still remove debug.keystore)
_ review
_ land (after all linux builders are updated)
_ update puppet servers
_ update above TODO wiki page
_ rm root@scl3-production-puppet:.android and .mozpass.cfg
_ close bug
We have a backup of .mozpass.cfg and .android in root@scl3-production-puppet:.
Assignee | ||
Updated•13 years ago
|
Attachment #705075 -
Attachment is obsolete: true
Assignee | ||
Comment 15•13 years ago
|
||
Attachment #705127 -
Flags: review?(bhearsum)
Updated•13 years ago
|
Attachment #705127 -
Flags: review?(bhearsum) → review+
Assignee | ||
Comment 16•13 years ago
|
||
Comment on attachment 705127 [details] [diff] [review]
remove mozpass.py from tools
http://hg.mozilla.org/build/tools/rev/2ae3f3775686
Attachment #705127 -
Flags: checked-in+
Assignee | ||
Comment 17•13 years ago
|
||
#!/bin/sh
for i in `cat foo`; do
/bin/echo -n "$i - "
ping -c 1 -o -t 5 $i 2>&1 >/dev/null
if [ $? -eq 0 ] ; then
output=`ssh -o "StrictHostKeyChecking no" -o ConnectTimeout=10 cltbld@$i ls -a 2>/dev/null`
if [ $? -eq 0 ] ; then
echo $output | egrep -q '(mozpass|android)'
if [ $? -ne 0 ] ; then
echo
else
echo 'FOUND!'
fi
fi
else
echo
fi
done
Assignee | ||
Comment 18•13 years ago
|
||
From above script.
I cleaned up all FOUND! hosts manually.
Assignee | ||
Comment 19•13 years ago
|
||
For puppetagain, we can just back out http://hg.mozilla.org/build/puppet/rev/f3c2cc8dc47d .
Attachment #706118 -
Flags: review?(rail)
Assignee | ||
Comment 20•13 years ago
|
||
X puppet-manifests patch
X review
X land
X update puppet servers
X puppetagain patch (Callek)
X review
X land
X remove these files from puppet servers if applicable
X verify -- done, depending on how paranoid you are
X write new puppet-manifests patch (should still remove debug.keystore)
_ review <-- WE ARE HERE
_ land puppet-manifests patch, backout puppetagain patch
_ update puppet servers
_ update https://intranet.mozilla.org/RelEngWiki/index.php/How_To/Clean_A_Slave_For_Shipment_Externally
_ rm root@scl3-production-puppet:.android and .mozpass.cfg
_ close bug
Comment 21•13 years ago
|
||
Comment on attachment 706118 [details] [diff] [review]
remove from puppet-manifests
Review of attachment 706118 [details] [diff] [review]:
-----------------------------------------------------------------
::: os/centos.pp
@@ +73,3 @@
> "/home/cltbld/.android/debug.keystore":
> ensure => absent,
> force => true;
Why do you need this entry?
Assignee | ||
Comment 22•13 years ago
|
||
(In reply to Rail Aliiev [:rail] from comment #21)
> ::: os/centos.pp
> @@ +73,3 @@
> > "/home/cltbld/.android/debug.keystore":
> > ensure => absent,
> > force => true;
>
> Why do you need this entry?
"_ write new patch (should still remove debug.keystore)"
~/.android/debug.keystore is automatically created if the apk isn't signed by anything else. This creates a signed dev build, which can't be installed anywhere else.
This isn't actually a critical bug until debug.keystore gets to be a year old (when it's auto-created, it's created to expire in 1 year). Then anything that uses the debug.keystore to sign anything will burn.
I thought auto-removing it would be a safer option than to hit this issue again in the future.
Comment 23•13 years ago
|
||
Comment on attachment 706118 [details] [diff] [review]
remove from puppet-manifests
Sheep it! :)
Attachment #706118 -
Flags: review?(rail) → review+
Assignee | ||
Comment 24•13 years ago
|
||
Comment on attachment 706118 [details] [diff] [review]
remove from puppet-manifests
http://hg.mozilla.org/build/puppet-manifests/rev/caf4b681e337
Attachment #706118 -
Flags: checked-in+
Assignee | ||
Comment 25•13 years ago
|
||
X puppet-manifests patch
X review
X land
X update puppet servers
X puppetagain patch (Callek)
X review
X land
X remove these files from puppet servers if applicable
X verify -- done, depending on how paranoid you are
X write new puppet-manifests patch (should still remove debug.keystore)
X review
X land puppet-manifests patch
X update puppet servers
_ backout puppetagain patch <-- WE ARE HERE
_ update https://intranet.mozilla.org/RelEngWiki/index.php/How_To/Clean_A_Slave_For_Shipment_Externally
_ rm root@scl3-production-puppet:.android and .mozpass.cfg
_ close bug
Callek thinks we should wait to remove the puppetagain patch, since we could have AWS slaves that aren't up or reachable via ssh that still have these files.
Assignee | ||
Comment 26•13 years ago
|
||
Comment on attachment 705103 [details] [diff] [review]
[puppetAgain] v1.1
Backed out,
http://hg.mozilla.org/build/puppet/rev/3c15d8fdd761
[14:11] <nthomas> what's the cut off time ?
[14:13] <aki> http://hg.mozilla.org/build/puppet/rev/f3c2cc8dc47d
[14:13] <aki> Jan 22 3pmish PST ?
[14:13] <aki> 14:43 is when it landed
[14:13] <nthomas> all fine then, the oldest launch times are Jan 29
Attachment #705103 -
Flags: checked-in+ → checked-in-
Assignee | ||
Comment 27•13 years ago
|
||
https://intranet.mozilla.org/RelEngWiki/index.php?title=How_To/Clean_A_Slave_For_Shipment_Externally&diff=1533&oldid=1515
X puppet-manifests patch
X review
X land
X update puppet servers
X puppetagain patch (Callek)
X review
X land
X remove these files from puppet servers if applicable
X verify -- done, depending on how paranoid you are
X write new puppet-manifests patch (should still remove debug.keystore)
X review
X land puppet-manifests patch
X update puppet servers
X backout puppetagain patch
X update https://intranet.mozilla.org/RelEngWiki/index.php/How_To/Clean_A_Slave_For_Shipment_Externally
X rm root@scl3-production-puppet:.android and .mozpass.cfg
X close bug <-- WE ARE HERE
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
Updated•7 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•