Closed
Bug 657024
Opened 14 years ago
Closed 13 years ago
access clobberer internal interface via a cname
Categories
(Release Engineering :: General, enhancement, P4)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dustin, Unassigned)
References
Details
(Whiteboard: [clobberer][simple])
Attachments
(2 files)
|
22.96 KB,
patch
|
rail
:
review+
dustin
:
review+
catlee
:
checked-in+
|
Details | Diff | Splinter Review |
|
9.45 KB,
patch
|
rail
:
review+
nthomas
:
checked-in+
|
Details | Diff | Splinter Review |
clobberer currently accesses http://build.mozilla.org directly from the slaves to see if a clobber is necessary (c.f. bug 447972 and bug 599580).
Since we want to move services away from build.mozilla.org as a hostname, and also make clobberer something we can rehost at will, we should reconfigure the slaves to look to a CNAME instead. I propose
clobberer-api.build.mozilla.org
such that http(s)://clobberer-api.build.mozilla.org/FOO would be equivalent to the current http(s)://build.mozilla.org/clobberer/FOO.
Comment 1•13 years ago
|
||
Dustin: is this still desirable from an IT perspective?
Severity: minor → normal
Component: Release Engineering → Release Engineering: Automation
Priority: P4 → --
QA Contact: release → catlee
Whiteboard: [clobberer]
Updated•13 years ago
|
Severity: normal → enhancement
Priority: -- → P4
| Reporter | ||
Comment 2•13 years ago
|
||
Yes, although it should be
http://clobberer-api.pvt.build.mozilla.org
and, for the UI
https://secure.pub.build.mozilla.org/clobberer
(with a redirect from http://clobberer.pub.build.mozilla.org if desired)
| Reporter | ||
Comment 4•13 years ago
|
||
Per bug 758615, the API is now also available at
http://clobberer.pvt.build.mozilkla.org *
http://clobberer-stage.pvt.build.mozilla.org *
http://clobberer-preproduction.pvt.build.mozilla.org *
* typos corrected
please make the necessary changes to access clobberer from buildslaves at those URLs. These URLs are served from the same backend MySQL database as the existing URLs, so there's no need to be careful about coordinating this change.
There's not a hurry here, but can we un-p4-enhancement this, so that it gets done at least a week before never? :)
| Reporter | ||
Comment 5•13 years ago
|
||
Comment 6•13 years ago
|
||
I think this needs changing:
http://hg.mozilla.org/build/buildbot-configs/file/12891f876428/mozilla/production_config.py#l74
Whiteboard: [clobberer] → [clobberer][simple]
| Reporter | ||
Comment 7•13 years ago
|
||
This is blocking turning off the old clobberer, which is causing confusion like bug 772374.
| Reporter | ||
Comment 8•13 years ago
|
||
triple-checked for lack of typos:
http://clobberer.pvt.build.mozilla.org
http://clobberer-stage.pvt.build.mozilla.org
http://clobberer-preproduction.pvt.build.mozilla.org
Comment 9•13 years ago
|
||
ack -l clobberer | xargs sed -i 's,http://build.mozilla.org/clobberer,http://clobberer.pvt.build.mozilla.org,g'
ack -l stage-clobberer | xargs sed -i 's,http://build.mozilla.org/stage-clobberer,http://clobberer-stage.pvt.build.mozilla.org,g'
ack -l preproduction-clobberer | xargs sed -i 's,http://build.mozilla.org/preproduction-clobberer,http://clobberer-preproduction.pvt.build.mozilla.org,g'
Attachment #642644 -
Flags: review?(rail)
Attachment #642644 -
Flags: review?(dustin)
Updated•13 years ago
|
Attachment #642644 -
Flags: review?(rail) → review+
| Reporter | ||
Updated•13 years ago
|
Attachment #642644 -
Flags: review?(dustin) → review+
Updated•13 years ago
|
Attachment #642644 -
Flags: checked-in+
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 10•13 years ago
|
||
I'm still seeing lots of access to this on build.mozilla.org/clobberer. Did something get missed?
access_2012-07-22-23:10.12.52.20 - - [22/Jul/2012:16:02:47 -0700] "GET /clobberer/index.php?master=http%3A%2F%2Fbuildbot-master14.build.scl1.mozilla.com%3A8101%2F&slave=bld-centos6-hp-025&builddir=try-gb-armv7a-gecko-dbg&branch=try&buildername=B2G+gb_armv7a_gecko-debug+try+build HTTP/1.1" 200 - "-" "Python-urllib/2.6"
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 11•13 years ago
|
||
There's this
http://mxr.mozilla.org/build/search?string=build.mozilla.org/clobberer
but that doesn't apply to 10.12.52.20 aka bld-centos6-hp-025 doing B2G builds. There might be some inheritance from config.py that is broken, or masters in strange states.
| Reporter | ||
Comment 12•13 years ago
|
||
OK, let's get those cleaned up and I'll add some 301's so that users end up at secure.pub.b.m.o.
| Reporter | ||
Comment 13•13 years ago
|
||
There are still a bunch of these going on. I don't think it's from one specific master - the following masters are all implicated today:
[root@relengweb1.dmz.scl3 httpd]# grep clobberer build.mozilla.org/access_2012-07-30-* | sed 's/.*buildbot-master//' | sed 's/\..*//' | sort -u
12
13
14
25
30
31
32
33
34
The URLs they're using differ, too -- some have index.php, some do not.
build.mozilla.org/access_2012-07-30-22:10.250.49.187 - - [30/Jul/2012:15:01:59 -0700] "GET /clobberer?master=http%3A%2F%2Fbuildbot-master32.srv.releng.scl3.mozilla.com%3A8001%2F&slave=mw32-ix-slave14&builddir=m-in-w32-spidermonkey-warnaserr&branch=mozilla-inbound&buildername=mozilla-inbound_win32_spidermonkey-warnaserr HTTP/1.1" 301 478 "-" "Python-urllib/2.5"
build.mozilla.org/access_2012-07-30-22:10.250.49.187 - - [30/Jul/2012:15:01:59 -0700] "GET /clobberer/?master=http%3A%2F%2Fbuildbot-master32.srv.releng.scl3.mozilla.com%3A8001%2F&slave=mw32-ix-slave14&builddir=m-in-w32-spidermonkey-warnaserr&branch=mozilla-inbound&buildername=mozilla-inbound_win32_spidermonkey-warnaserr HTTP/1.1" 200 1434 "-" "Python-urllib/2.5"
build.mozilla.org/access_2012-07-30-22:10.12.40.98 - - [30/Jul/2012:15:02:24 -0700] "GET /clobberer/index.php?master=http%3A%2F%2Fbuildbot-master13.build.scl1.mozilla.com%3A8001%2F&slave=w64-ix-slave68&builddir=tb-c-cen-w64&branch=comm-central&buildername=TB+WINNT+6.1+x86-64+comm-central+build HTTP/1.1" 200 1208 "-" "Python-urllib/2.6"
build.mozilla.org/access_2012-07-30-22:10.12.40.39 - - [30/Jul/2012:15:03:48 -0700] "GET /clobberer/index.php?master=http%3A%2F%2Fbuildbot-master13.build.scl1.mozilla.com%3A8001%2F&slave=w64-ix-slave19&builddir=tb-c-cen-w32&branch=comm-central&buildername=TB+WINNT+5.2+comm-central+build HTTP/1.1" 200 1278 "-" "Python-urllib/2.6"
build.mozilla.org/access_2012-07-30-22:10.12.55.150 - - [30/Jul/2012:15:10:52 -0700] "GET /clobberer/index.php?master=http%3A%2F%2Fbuildbot-master25.build.scl1.mozilla.com%3A8001%2F&slave=bld-centos6-hp-023&builddir=m-in-gb-armv7a-gecko-dbg&branch=mozilla-inbound&buildername=B2G+gb_armv7a_gecko-debug+mozilla-inbound+build HTTP/1.1" 200 529 "-" "Python-urllib/2.6"
build.mozilla.org/access_2012-07-30-22:10.12.52.31 - - [30/Jul/2012:15:10:53 -0700] "GET /clobberer/index.php?master=http%3A%2F%2Fbuildbot-master25.build.scl1.mozilla.com%3A8001%2F&slave=bld-centos6-hp-014&builddir=m-in-gb-armv7a-gecko&branch=mozilla-inbound&buildername=B2G+gb_armv7a_gecko+mozilla-inbound+build HTTP/1.1" 200 430 "-" "Python-urllib/2.6"
build.mozilla.org/access_2012-07-30-22:10.12.52.10 - - [30/Jul/2012:15:13:46 -0700] "GET /clobberer/index.php?master=http%3A%2F%2Fbuildbot-master14.build.scl1.mozilla.com%3A8101%2F&slave=bld-centos6-hp-035&builddir=try-gb-armv7a-gecko-dbg&branch=try&buildername=B2G+gb_armv7a_gecko-debug+try+build HTTP/1.1" 200 - "-" "Python-urllib/2.6"
build.mozilla.org/access_2012-07-30-22:10.12.52.18 - - [30/Jul/2012:15:13:47 -0700] "GET /clobberer/index.php?master=http%3A%2F%2Fbuildbot-master14.build.scl1.mozilla.com%3A8101%2F&slave=bld-centos6-hp-027&builddir=try-gb-armv7a-gecko&branch=try&buildername=B2G+gb_armv7a_gecko+try+build HTTP/1.1" 200 - "-" "Python-urllib/2.6"
build.mozilla.org/access_2012-07-30-22:10.12.52.29 - - [30/Jul/2012:15:14:04 -0700] "GET /clobberer/index.php?master=http%3A%2F%2Fbuildbot-master13.build.scl1.mozilla.com%3A8001%2F&slave=bld-centos6-hp-016&builddir=srv-cen-gb-armv7a-gecko-dbg&branch=services-central&buildername=B2G+gb_armv7a_gecko-debug+services-central+build HTTP/1.1" 200 477 "-" "Python-urllib/2.6"
build.mozilla.org/access_2012-07-30-22:10.12.55.151 - - [30/Jul/2012:15:14:05 -0700] "GET /clobberer/index.php?master=http%3A%2F%2Fbuildbot-master13.build.scl1.mozilla.com%3A8001%2F&slave=bld-centos6-hp-020&builddir=srv-cen-gb-armv7a-gecko&branch=services-central&buildername=B2G+gb_armv7a_gecko+services-central+build HTTP/1.1" 200 598 "-" "Python-urllib/2.6"
Status: REOPENED → NEW
Comment 14•13 years ago
|
||
Here's a sed-style hatchet job on these scripts.
Attachment #648874 -
Flags: review?(rail)
Updated•13 years ago
|
Attachment #648874 -
Flags: review?(rail) → review+
Comment 15•13 years ago
|
||
Comment on attachment 648874 [details] [diff] [review]
Update scripts
http://hg.mozilla.org/build/tools/rev/6f6d46fd3d41 (will get picked up as soon as jobs start)
Attachment #648874 -
Flags: checked-in+
Comment 16•13 years ago
|
||
I dumped out the builders for a clean build master and can't find any occurrences of build.mozilla.org/clobberer. Meanwhile on buildbot-master12 and 13 the b2g builds are still using the old domain. As bm12 has been up since May 20 we're just going to do a graceful shutdown and restart it to resolve this. I'll take a look at the Apache logs next week and take care of that.
Comment 17•13 years ago
|
||
bm12 has been restarted.
| Reporter | ||
Comment 18•13 years ago
|
||
Still seeing problems with:
[root@relengweb1.dmz.scl3 build.mozilla.org]# grep "/clobberer" access_2012-08-06-* | sed 's/.*master=\([^&]*\)&.*/\1/' | sort -u
http%3A%2F%2Fbuildbot-master13.build.scl1.mozilla.com%3A8001%2F
http%3A%2F%2Fbuildbot-master14.build.scl1.mozilla.com%3A8101%2F
http%3A%2F%2Fbuildbot-master25.build.scl1.mozilla.com%3A8001%2F
http%3A%2F%2Fbuildbot-master32.srv.releng.scl3.mozilla.com%3A8001%2F
http%3A%2F%2Fbuildbot-master34.srv.releng.scl3.mozilla.com%3A8001%2F
http%3A%2F%2Fbuildbot-master35.srv.releng.scl3.mozilla.com%3A8101%2F
http%3A%2F%2Fdev-master01.build.scl1.mozilla.com%3A8049%2F
Thanks for working on this!
Comment 19•13 years ago
|
||
We should be in much better shape now that bug 780806 is deployed.
| Reporter | ||
Comment 20•13 years ago
|
||
Indeed, this was the last one:
access_2012-08-08-20:10.26.74.22 - - [08/Aug/2012:13:14:14 -0700] "GET /clobberer/index.php?branch=release-comm-beta HTTP/1.1" 200 15790 "http://build.mozilla.org/clobberer/index.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0.1"
Yay!
Status: NEW → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
| Assignee | ||
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
•