Closed
Bug 960571
Opened 9 years ago
Closed 6 years ago
switch to https for build/test downloads and hg
Categories
(Release Engineering :: General, defect)
Tracking
(firefox27 wontfix, firefox28 fixed, firefox29 fixed, firefox-esr24 fixed, b2g18 fixed, b2g-v1.1hd fixed, b2g-v1.2 fixed, b2g-v1.3 fixed, b2g-v1.4 fixed)
People
(Reporter: catlee, Unassigned)
References
Details
(Whiteboard: [qa-])
Attachments
(16 files, 3 obsolete files)
We should change our test machinery to use https to download test/build files from ftp rather than plain http. Ideally we can roll this out slowly so WebOps can monitor load as we do this. We're hoping that we'll be able to have traffic between AWS and ftp.m.o go over the public internet in order to reduce load on the ipsec tunnel, which requires that we use https to guarantee file integrity.
Comment 1•9 years ago
|
||
(In reply to Chris AtLee [:catlee] from comment #0) > We're hoping that we'll be able to have traffic between AWS and ftp.m.o go > over the public internet in order to reduce load on the ipsec tunnel Presuming this will this help with bug 957502?
Reporter | ||
Comment 2•9 years ago
|
||
(In reply to Ed Morley [:edmorley UTC+0] from comment #1) > (In reply to Chris AtLee [:catlee] from comment #0) > > We're hoping that we'll be able to have traffic between AWS and ftp.m.o go > > over the public internet in order to reduce load on the ipsec tunnel > > Presuming this will this help with bug 957502? that's the hope!
Comment 3•9 years ago
|
||
This will switch over all post_upload-based sendchanges/triggers over to https://ftp.m.o, which isn't "rolling out slowly". Open to other ideas..? I didn't touch the candidates url because it looks like stage.m.o doesn't have https enabled.
Attachment #8366753 -
Flags: review?(nthomas)
Comment 4•9 years ago
|
||
Stop clobbering hg share dirs on differences of http vs https. Untested, but what could possibly go wrong?
Attachment #8366764 -
Flags: review?(nthomas)
Comment 5•9 years ago
|
||
Scope creep!
Summary: switch to https for build/test downloads → switch to https for build/test downloads and hg
Comment 6•9 years ago
|
||
Comment on attachment 8366753 [details] [diff] [review] post_upload_https.diff [13:35] <catlee> aki: for bug 960571 you may want to wait to get the new hostname from bug 964486 [13:35] <aki> catlee: ok. we use that to explicitly change netflows? [13:36] <catlee> yes
Attachment #8366753 -
Flags: review?(nthomas) → review-
Comment 7•9 years ago
|
||
Comment on attachment 8366753 [details] [diff] [review] post_upload_https.diff Er..
Attachment #8366753 -
Attachment is obsolete: true
Attachment #8366753 -
Flags: review-
Comment 8•9 years ago
|
||
Attachment #8366913 -
Flags: review?(nthomas)
Reporter | ||
Comment 9•9 years ago
|
||
Landed https://hg.mozilla.org/build/mozharness/rev/8ac0f103b3de to switch traffic from http://ftp to https://ftp-ssl for now.
Reporter | ||
Comment 10•9 years ago
|
||
(In reply to Chris AtLee [:catlee] from comment #9) > Landed https://hg.mozilla.org/build/mozharness/rev/8ac0f103b3de to switch > traffic from http://ftp to https://ftp-ssl for now. We still need public IPs for EC2, and routing table updates before this traffic will go over the public network.
Updated•9 years ago
|
Attachment #8366764 -
Flags: review?(nthomas) → review+
Comment 11•9 years ago
|
||
Comment on attachment 8366913 [details] [diff] [review] post_upload_https.diff I had wondered if we could set up the Apache config on http://ftp.m.o to redirect to https://ftp-ssl in some random way, but with a knob to control the proportion of the time it happens. Just for our machines preferably, which might get difficult when we're off the tunnel and the IP making the request isn't in 10.x.y.z any more. Could do something similar thing in mozharness, with much more direct control.
Attachment #8366913 -
Flags: review?(nthomas) → review+
Comment 12•9 years ago
|
||
Modifying the request I mean, pretty sure I saw a patch today that does that, just with some random() thrown in.
Reporter | ||
Comment 14•9 years ago
|
||
Use https://hg-ssl.m.o for hg access if we don't think we can switch everything over to https://hg in a reasonable timeframe.
Depends on: 965911
Comment 15•9 years ago
|
||
Comment on attachment 8366764 [details] [diff] [review] hgtool.diff Hm, in a way we *don't* want this patch if we're switching to https. We want all the http:// clones to go away.
Comment 16•9 years ago
|
||
It begins.
Assignee: nobody → aki
Attachment #8368838 -
Flags: review?(catlee)
Comment 17•9 years ago
|
||
Attachment #8368850 -
Flags: review?(jmaher)
Updated•9 years ago
|
Attachment #8368850 -
Flags: review?(jgriffin)
Comment 18•9 years ago
|
||
Attachment #8368856 -
Flags: review?(rail)
Comment 19•9 years ago
|
||
braindump : http://hg.mozilla.org/build/braindump/rev/f84539717a09
Updated•9 years ago
|
Attachment #8368856 -
Flags: review?(rail) → review+
Comment 20•9 years ago
|
||
Attachment #8368866 -
Flags: review?(bugspam.Callek)
Comment 21•9 years ago
|
||
Comment on attachment 8368856 [details] [diff] [review] autoland https://hg.mozilla.org/build/autoland/rev/6d9e50722946
Attachment #8368856 -
Flags: checked-in+
Comment 22•9 years ago
|
||
Attachment #8368868 -
Flags: review?(catlee)
Comment 23•9 years ago
|
||
Attachment #8368881 -
Flags: review?(rail)
Comment 24•9 years ago
|
||
Comment on attachment 8368850 [details] [diff] [review] mozilla-inbound-talos Review of attachment 8368850 [details] [diff] [review]: ----------------------------------------------------------------- I'm not overly familiar with this code, but I've taken a look at how it's used, and it seems like this should work fine.
Attachment #8368850 -
Flags: review?(jgriffin) → review+
Updated•9 years ago
|
Attachment #8368850 -
Flags: review?(jmaher)
Comment 25•9 years ago
|
||
with 100% less hg-internal.
Attachment #8368881 -
Attachment is obsolete: true
Attachment #8368881 -
Flags: review?(rail)
Attachment #8368896 -
Flags: review?(rail)
Updated•9 years ago
|
Attachment #8368896 -
Flags: review?(rail) → review+
Comment 26•9 years ago
|
||
Comment on attachment 8368896 [details] [diff] [review] tools https://hg.mozilla.org/build/tools/rev/935bb5461c1d
Attachment #8368896 -
Flags: checked-in+
Reporter | ||
Comment 27•9 years ago
|
||
Comment on attachment 8368838 [details] [diff] [review] b2g-inbound-https Review of attachment 8368838 [details] [diff] [review]: ----------------------------------------------------------------- and catlee saw that it was good
Attachment #8368838 -
Flags: review?(catlee) → review+
Reporter | ||
Comment 28•9 years ago
|
||
Comment on attachment 8368868 [details] [diff] [review] buildbotcustom Review of attachment 8368868 [details] [diff] [review]: ----------------------------------------------------------------- do the tests work? I'm assuming twisted's getPage handles SSL ok
Attachment #8368868 -
Flags: review?(catlee) → review+
Comment 29•9 years ago
|
||
http://hg.mozilla -> https://hg.mozilla.org removal of hg-internal http://ftp.mozilla.org -> https://ftp-ssl.mozilla.org
Attachment #8368911 -
Flags: review?(rail)
Comment 30•9 years ago
|
||
Comment on attachment 8368838 [details] [diff] [review] b2g-inbound-https https://hg.mozilla.org/integration/b2g-inbound/rev/dfd275183653
Attachment #8368838 -
Flags: checked-in+
Comment 31•9 years ago
|
||
Comment on attachment 8366764 [details] [diff] [review] hgtool.diff Obsoleting due to comment 15.
Attachment #8366764 -
Attachment is obsolete: true
Updated•9 years ago
|
Attachment #8368911 -
Flags: review?(rail) → review+
Comment 32•9 years ago
|
||
Comment on attachment 8368866 [details] [diff] [review] buildbot-configs WCPGW? :)
Attachment #8368866 -
Flags: review?(bugspam.Callek) → review+
Comment 33•9 years ago
|
||
Comment on attachment 8368911 [details] [diff] [review] mozharness https://hg.mozilla.org/build/mozharness/rev/ce76df196bb1
Attachment #8368911 -
Flags: checked-in+
Comment 34•9 years ago
|
||
Comment on attachment 8368868 [details] [diff] [review] buildbotcustom https://hg.mozilla.org/build/buildbotcustom/rev/066534659fe8
Attachment #8368868 -
Flags: checked-in+
Comment 35•9 years ago
|
||
Comment on attachment 8368866 [details] [diff] [review] buildbot-configs https://hg.mozilla.org/build/buildbot-configs/rev/7720318925fd
Attachment #8368866 -
Flags: checked-in+
Comment 36•9 years ago
|
||
Attachment #8368929 -
Flags: review?(dustin)
Comment 37•9 years ago
|
||
Attachment #8368934 -
Flags: review?(coop)
Comment 38•9 years ago
|
||
Comment on attachment 8368850 [details] [diff] [review] mozilla-inbound-talos https://hg.mozilla.org/integration/mozilla-inbound/rev/1aa0a5f405fa
Attachment #8368850 -
Flags: checked-in+
Comment 39•9 years ago
|
||
Attachment #8368942 -
Flags: review?(catlee)
Comment 40•9 years ago
|
||
Attachment #8368951 -
Flags: review?(rail)
Comment 41•9 years ago
|
||
Attachment #8368953 -
Flags: review?(dustin)
Updated•9 years ago
|
Attachment #8368951 -
Flags: review?(rail) → review+
Reporter | ||
Updated•9 years ago
|
Attachment #8368942 -
Flags: review?(catlee) → review+
Comment 42•9 years ago
|
||
Comment on attachment 8368942 [details] [diff] [review] buildapi https://hg.mozilla.org/build/buildapi/rev/73dbae9cb3db
Attachment #8368942 -
Flags: checked-in+
Comment 43•9 years ago
|
||
Comment on attachment 8368951 [details] [diff] [review] cloud-tools https://hg.mozilla.org/build/cloud-tools/rev/432b3e0b983f
Attachment #8368951 -
Flags: checked-in+
Comment 44•9 years ago
|
||
Comment on attachment 8368838 [details] [diff] [review] b2g-inbound-https [Approval Request Comment] Bug caused by (feature/regressing bug #): bug 957502 User impact if declined: More tree closures due to infrastructure load on the tunnel. We likely will not be able to redirect hg.mozilla.org traffic off the tunnel. Testing completed (on m-c, etc.): Landed on b2g-inbound. Risk to taking this patch (and alternatives if risky): Could cause some build bustage, but we should catch it relatively quickly. String or IDL/UUID changes made by this patch: None.
Attachment #8368838 -
Flags: approval-mozilla-b2g28?
Attachment #8368838 -
Flags: approval-mozilla-b2g26?
Attachment #8368838 -
Flags: approval-mozilla-b2g18?
Attachment #8368838 -
Flags: approval-mozilla-aurora?
Comment 45•9 years ago
|
||
Comment on attachment 8368850 [details] [diff] [review] mozilla-inbound-talos [Approval Request Comment] Bug caused by (feature/regressing bug #): bug 957502 User impact if declined: More tree closures due to infrastructure load on the tunnel. We likely will not be able to redirect hg.mozilla.org traffic off the tunnel. Testing completed (on m-c, etc.): Landed on mozilla-inbound. Risk to taking this patch (and alternatives if risky): Could cause some build bustage, but we should catch it relatively quickly. String or IDL/UUID changes made by this patch: None.
Attachment #8368850 -
Flags: approval-mozilla-release?
Attachment #8368850 -
Flags: approval-mozilla-esr24?
Attachment #8368850 -
Flags: approval-mozilla-beta?
Attachment #8368850 -
Flags: approval-mozilla-b2g28?
Attachment #8368850 -
Flags: approval-mozilla-b2g26?
Attachment #8368850 -
Flags: approval-mozilla-b2g18?
Attachment #8368850 -
Flags: approval-mozilla-aurora?
Comment 46•9 years ago
|
||
These are [hopefully all] the harder-to-find ones.
Attachment #8368998 -
Flags: review?(rail)
Comment 47•9 years ago
|
||
Switch over to ftp-ssl and remove mirror urls. This requires the buildbotcustom2 patch, or test-masters.sh dies on the mirror url removal.
Attachment #8368999 -
Flags: review?(rail)
Comment 48•9 years ago
|
||
Comment on attachment 8368850 [details] [diff] [review] mozilla-inbound-talos We can probably use a=testing.
Attachment #8368850 -
Flags: approval-mozilla-release?
Attachment #8368850 -
Flags: approval-mozilla-esr24?
Attachment #8368850 -
Flags: approval-mozilla-beta?
Attachment #8368850 -
Flags: approval-mozilla-b2g28?
Attachment #8368850 -
Flags: approval-mozilla-b2g26?
Attachment #8368850 -
Flags: approval-mozilla-b2g18?
Attachment #8368850 -
Flags: approval-mozilla-aurora?
Updated•9 years ago
|
Attachment #8368998 -
Flags: review?(rail) → review+
Updated•9 years ago
|
Attachment #8368999 -
Flags: review?(rail) → review+
Comment 50•9 years ago
|
||
Comment on attachment 8368998 [details] [diff] [review] buildbotcustom2 https://hg.mozilla.org/build/buildbotcustom/rev/5f7ccb6c3034
Attachment #8368998 -
Flags: checked-in+
Comment hidden (typo) |
Comment 52•9 years ago
|
||
(In reply to Aki Sasaki [:aki] from comment #51) > Comment on attachment 8368999 [details] [diff] [review] > buildbot-configs2 > > https://hg.mozilla.org/build/cloud-tools/rev/432b3e0b983f Er, https://hg.mozilla.org/build/buildbot-configs/rev/374f2d94035e
Updated•9 years ago
|
Attachment #8368934 -
Flags: review?(coop) → review+
Comment 53•9 years ago
|
||
Comment on attachment 8368934 [details] [diff] [review] partner-repacks https://hg.mozilla.org/build/partner-repacks/rev/1987c727dcec
Attachment #8368934 -
Flags: checked-in+
Updated•9 years ago
|
Attachment #8368929 -
Flags: review?(dustin) → review+
Comment 54•9 years ago
|
||
Comment on attachment 8368953 [details] [diff] [review] mozpool Review of attachment 8368953 [details] [diff] [review]: ----------------------------------------------------------------- This is comments, docs, and a human-readable link in setup.py, but I've no problem with it. It won't be necessary to ship a new version.
Attachment #8368953 -
Flags: review?(dustin) → review+
Comment 55•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/1aa0a5f405fa
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Whiteboard: [leave open]
Comment 56•9 years ago
|
||
Comment on attachment 8368953 [details] [diff] [review] mozpool https://hg.mozilla.org/build/mozpool/rev/ca7e4096de0e
Attachment #8368953 -
Flags: checked-in+
Comment 57•9 years ago
|
||
Comment on attachment 8368838 [details] [diff] [review] b2g-inbound-https let's get this in before merge.
Attachment #8368838 -
Flags: approval-mozilla-b2g28?
Attachment #8368838 -
Flags: approval-mozilla-b2g28+
Attachment #8368838 -
Flags: approval-mozilla-b2g26?
Attachment #8368838 -
Flags: approval-mozilla-b2g26+
Attachment #8368838 -
Flags: approval-mozilla-b2g18?
Attachment #8368838 -
Flags: approval-mozilla-b2g18+
Attachment #8368838 -
Flags: approval-mozilla-aurora?
Attachment #8368838 -
Flags: approval-mozilla-aurora+
Comment 58•9 years ago
|
||
Uplifted to aurora: https://hg.mozilla.org/releases/mozilla-aurora/rev/9737529dc0e2 https://hg.mozilla.org/releases/mozilla-aurora/rev/60803c5e3151 RyanVM has the other trees like a boss.
Comment 59•9 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g26_v1_2/rev/4abbfef147cb https://hg.mozilla.org/releases/mozilla-b2g26_v1_2/rev/1592ce49929c https://hg.mozilla.org/releases/mozilla-b2g18/rev/6221852afb99 https://hg.mozilla.org/releases/mozilla-b2g18/rev/65371561a833 https://hg.mozilla.org/releases/mozilla-esr24/rev/fbfcffa000a6 I'll take care of the v1.1hd branch (Helix config) when I merge b2g18 there next.
status-b2g18:
--- → fixed
status-b2g-v1.1hd:
--- → affected
status-b2g-v1.2:
--- → fixed
status-b2g-v1.3:
--- → fixed
status-b2g-v1.4:
--- → fixed
status-firefox27:
--- → wontfix
status-firefox28:
--- → fixed
status-firefox29:
--- → fixed
status-firefox-esr24:
--- → fixed
Comment 60•9 years ago
|
||
Comment on attachment 8368929 [details] [diff] [review] puppet https://hg.mozilla.org/build/puppet/rev/fc81396fae40
Attachment #8368929 -
Flags: checked-in+
Comment 61•9 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g18_v1_1_0_hd/rev/6221852afb99 https://hg.mozilla.org/releases/mozilla-b2g18_v1_1_0_hd/rev/65371561a833 With the Helix change included in the merge commit.
Comment 62•9 years ago
|
||
a mozharness patch has been merged into production :)
Comment 63•9 years ago
|
||
Comment on attachment 8366913 [details] [diff] [review] post_upload_https.diff Sending files/etc/post_upload.ini Transmitting file data . Committed revision 81800.
Attachment #8366913 -
Flags: checked-in+
Comment 64•9 years ago
|
||
http://hg.mozilla.org/build/mozharness/rev/eba30402acca landed to fix the wget ssl issue on 28.0b1. I transplanted to default: http://hg.mozilla.org/build/mozharness/rev/618b1d93dca7 then backed it out on default: http://hg.mozilla.org/build/mozharness/rev/fd61adbd8703
Comment 65•9 years ago
|
||
Merged mozharness; running a single locale nightly to test.
Comment 66•9 years ago
|
||
make wget-en-US works ok without this patch, since bug 967452's patch landed. Resolving this bug!
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
Resolution: --- → FIXED
Comment 67•9 years ago
|
||
Tbpl fix: https://hg.mozilla.org/webtools/tbpl/rev/2df551776fdf
Comment 68•9 years ago
|
||
(In reply to Aki Sasaki [:aki] from comment #67) > Tbpl fix: https://hg.mozilla.org/webtools/tbpl/rev/2df551776fdf IT rolled this out. Hitting https://bugzilla.mozilla.org/show_bug.cgi?id=967452#c9 though; backing out post_upload.py
Comment 69•9 years ago
|
||
Comment on attachment 8366913 [details] [diff] [review] post_upload_https.diff Backed out: Sending files/etc/post_upload.ini Transmitting file data . Committed revision 81811.
Attachment #8366913 -
Flags: checked-in+ → checked-in-
Comment 70•9 years ago
|
||
OSX Jetpack also hit issues. We need new wgets or smarter uses of wget. https://bugzilla.mozilla.org/show_bug.cgi?id=967452#c10
Comment 71•9 years ago
|
||
Reopening for post_upload.ini. We need to fix wget on foopies and osx, at the least, before this can reland.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Whiteboard: [leave open]
Comment 72•9 years ago
|
||
Also windows wget for jetpack. Yay
Comment 73•9 years ago
|
||
Attachment #8370971 -
Flags: review?(bhearsum)
Updated•9 years ago
|
Attachment #8370971 -
Flags: review?(bhearsum) → review+
Comment 74•9 years ago
|
||
Comment on attachment 8370971 [details] [diff] [review] fix_l10n https://hg.mozilla.org/build/buildbot-configs/rev/e7b3168ad5a2
Attachment #8370971 -
Flags: checked-in+
Comment 75•9 years ago
|
||
https://hg.mozilla.org/build/buildbot-configs/rev/e7b3168ad5a2 -> is in production
Comment 76•9 years ago
|
||
(In reply to Aki Sasaki [:aki] from comment #67) > Tbpl fix: https://hg.mozilla.org/webtools/tbpl/rev/2df551776fdf In production :)
Comment 77•9 years ago
|
||
My localized nightly just updated to 30, so we have now l10n central builds.
Comment 78•9 years ago
|
||
(In reply to Francesco Lodolo [:flod] from comment #77) > My localized nightly just updated to 30, so we have now l10n central builds. Great! I assume you're on Mac, because the Windows nightly hasn't finished yet. Windows l10n builds should be getting updates again shortly after it does though.
Comment 79•9 years ago
|
||
(In reply to Ben Hearsum [:bhearsum] from comment #78) > (In reply to Francesco Lodolo [:flod] from comment #77) > > My localized nightly just updated to 30, so we have now l10n central builds. > > Great! I assume you're on Mac, because the Windows nightly hasn't finished > yet. Windows l10n builds should be getting updates again shortly after it > does though. Windows seems to be working now too. Eg: https://aus4.mozilla.org/update/3/Firefox/14.0a1/20120222174716/WINNT_x86-msvc/de/nightly/default/default/default/update.xml
Comment 80•9 years ago
|
||
It would have been great if this change got more attention from other teams. I haven't seen any notification for it. As result our test automation for Mozmill was totally broken the whole last week given that pulsetranslator tried to grab the details via HTTP but not HTTPS. :( I know that there are most likely dozen of tools involved here, which you might not all know. But especially because of that it would be kinda helpful to get information upfront, so that enough time exists to get tools updated. Can we make sure to do that in the future? Thanks.
Depends on: 968169
Comment 81•9 years ago
|
||
Sorry about that; it didn't even cross my mind. However, it's not really clear what will and will not break external tools. Is https the main thing you're concerned about when changed, or are there other things?
Comment 82•9 years ago
|
||
Well, this time it was the HTTPS change. The update from Jgriffin for pulsetranslator made it work again. What I think could be helpful is to make an announcement in the future and cc the tools list, so people working on different tools for automation are aware of upcoming changes, which might break the current workflow.
Comment 83•9 years ago
|
||
(In reply to Henrik Skupin (:whimboo) from comment #82) > Well, this time it was the HTTPS change. The update from Jgriffin for > pulsetranslator made it work again. What I think could be helpful is to make > an announcement in the future and cc the tools list, so people working on > different tools for automation are aware of upcoming changes, which might > break the current workflow. In this particular case we were working quickly to fix tree closing issues. There was a blog post made on the 5th though: http://atlee.ca/blog/posts/aws-networks-and-burning-trees.html
Comment 84•9 years ago
|
||
This appears to have also broken Telemetry submissions since it bubbled up into the Telemetry Payload via the HISTOGRAMS_FILE_VERSION constant (which in turn comes from the "getSourceRepo" function in config/makefiles/rcs.mk) It might be worth checking other uses of getSourceRepo to see if it's likely to cause any other problems, as well as possibly updating the comment in rcs.mk to indicate that the URI can be https.
Comment 85•9 years ago
|
||
Unassigning, should someone want to take this bug while I'm out. Aiui we need to land post_upload.py again once we deal with the blocking bugs.
Assignee: aki → nobody
Reporter | ||
Updated•6 years ago
|
Status: REOPENED → RESOLVED
Closed: 9 years ago → 6 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•5 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•