Closed
Bug 1191930
Opened 10 years ago
Closed 9 years ago
Migrate Thunderbird from tooltool.pvt to api.pub
Categories
(Release Engineering :: Release Automation, defect)
Release Engineering
Release Automation
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Fallen, Assigned: Fallen)
References
Details
Attachments
(2 files, 1 obsolete file)
1.96 KB,
patch
|
Callek
:
review+
dustin
:
feedback+
jlund
:
checked-in-
|
Details | Diff | Splinter Review |
4.05 KB,
patch
|
Fallen
:
review+
Fallen
:
checked-in+
|
Details | Diff | Splinter Review |
(Edmund Wong (:ewong) from bug 1190124 comment #5)
> TB's releng run_tooltool step is using tooltool.pvt.build.mozilla.org and
> Firefox is using the new api.pub.build.mozilla.org.
>
> IOW, I'm guessing there's another sync issue with the api repo having
> the new gtk3.tar.xz and the tooltool.pvt (which is being phased out soon)
> doesn't.
>
> The short term solution is to copy the gtk3.tar.xz over to the tooltool repo.
> Long term... fix TB's releng run_tooltool step to use the api.pub.. if it
> is ready.. (this part, I don't know)
It was determined that moving to api.pub is the right step. It seems we just need to change the url.
Assignee | ||
Comment 1•10 years ago
|
||
Callek, is it correct that all we have to change is the following locations to the new URL?
https://mxr.mozilla.org/build/search?string=tooltool.pvt&find=buildbot-configs&tree=build
Flags: needinfo?(bugspam.Callek)
Comment 2•10 years ago
|
||
(In reply to Philipp Kewisch [:Fallen] from comment #1)
> Callek, is it correct that all we have to change is the following locations
> to the new URL?
>
> https://mxr.mozilla.org/build/search?string=tooltool.pvt&find=buildbot-
> configs&tree=build
yes, IFF nothing that is using tooltool.pvt is also trying to download private archives.
That said, the ideal is to get off tooltool.pvt anyway, and I don't know of anything in TB land that needs a private archive so we can probably go forward with this, and if anything breaks we know that is something we need to add a relengapi token to.
Flags: needinfo?(bugspam.Callek)
Assignee | ||
Comment 3•10 years ago
|
||
(In reply to Justin Wood (:Callek) from comment #2)
> (In reply to Philipp Kewisch [:Fallen] from comment #1)
> yes, IFF nothing that is using tooltool.pvt is also trying to download
> private archives.
How would I found out about this? I'm not aware of anything Thunderbird specific, except maybe that oauth file.
Assignee | ||
Comment 4•9 years ago
|
||
In addition to my question from comment 3, what is the right url? Looking at the tooltool source and api doc, it seems it would be https://api.pub.build.mozilla.org/tooltool/
I'm really just stabbing in the dark here as I don't have the environment set up to test this. Maybe someone could give me a full overview of what needs to be done?
Comment 5•9 years ago
|
||
Comment on attachment 8645345 [details] [diff] [review]
Fix - v1
Review of attachment 8645345 [details] [diff] [review]:
-----------------------------------------------------------------
That looks about right, to the extent I understand buildbot-configs.
Attachment #8645345 -
Flags: feedback?(dustin) → feedback+
Assignee | ||
Comment 6•9 years ago
|
||
Comment on attachment 8645345 [details] [diff] [review]
Fix - v1
Great, thanks for the feedback. In that case upgrading to review.
Attachment #8645345 -
Flags: review?(bugspam.Callek)
Comment 7•9 years ago
|
||
Comment on attachment 8645345 [details] [diff] [review]
Fix - v1
Review of attachment 8645345 [details] [diff] [review]:
-----------------------------------------------------------------
I'm pretty sure this is accurate, lets go for it.
Attachment #8645345 -
Flags: review?(bugspam.Callek) → review+
Assignee | ||
Comment 8•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•9 years ago
|
Component: Build Config → Release Automation
Product: Thunderbird → Release Engineering
QA Contact: bhearsum
Version: 39 → unspecified
Comment 9•9 years ago
|
||
Comment 10•9 years ago
|
||
hrm, did we address https://bugzilla.mozilla.org/show_bug.cgi?id=1166420#c12 ?
I thought we couldn't use new tooltool api on buildbot based builds yet?
Comment 11•9 years ago
|
||
Comment on attachment 8645345 [details] [diff] [review]
Fix - v1
Review of attachment 8645345 [details] [diff] [review]:
-----------------------------------------------------------------
backed out because of https://bugzilla.mozilla.org/show_bug.cgi?id=1198571 and comment 10
reconfig'd backout to all masters at 20:10 PT
Attachment #8645345 -
Flags: checked-in-
Comment 12•9 years ago
|
||
We can't use the new tooltool *authentication* on buildbot-based builds. Which means that internal-only files like the NDK and SDK aren't accessible from the new tooltool URL.
Assignee | ||
Comment 13•9 years ago
|
||
Reopening this issue since we want to migrate for Thunderbird (and leave the others alone this time).
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Summary: Migrate from tooltool.pvt to api.pub → Migrate Thunderbird from tooltool.pvt to api.pub
Assignee | ||
Comment 14•9 years ago
|
||
This patch adds the same keys to Thunderbird's GLOBAL_VARS, which IIUC overwrites the global vars defined in production_config/staging_config. If all goes well this patch would make the changes for Thunderbird only.
Attachment #8657540 -
Flags: review?(dustin)
Comment 15•9 years ago
|
||
Comment on attachment 8657540 [details] [diff] [review]
Fix - v2
I'm not a good person for a buildbot-configs review. Nick, perhaps, as module owner?
Attachment #8657540 -
Flags: review?(dustin) → review?(nthomas)
Comment 16•9 years ago
|
||
Comment on attachment 8657540 [details] [diff] [review]
Fix - v2
>diff --git a/mozilla/thunderbird_config.py b/mozilla/thunderbird_config.py
>+ 'tooltool_url_list': ['https://api.pub.build.mozilla.org/tooltool/'],
This one isn't necessary, as it's in the production and staging configs. I leave it up to you if you land the other changes in this file.
I've double checked this only affects Thunderbird jobs.
Attachment #8657540 -
Flags: review?(nthomas) → review+
Assignee | ||
Comment 17•9 years ago
|
||
(In reply to Nick Thomas [:nthomas] from comment #16)
> Comment on attachment 8657540 [details] [diff] [review]
> Fix - v2
>
> >diff --git a/mozilla/thunderbird_config.py b/mozilla/thunderbird_config.py
> >+ 'tooltool_url_list': ['https://api.pub.build.mozilla.org/tooltool/'],
>
> This one isn't necessary, as it's in the production and staging configs. I
> leave it up to you if you land the other changes in this file.
Ah yes, I see now that thunderbird_localconfig is symlinked to either production or staging config. In that case, wouldn't it make more sense to leave out the changes in the {production,staging} config files and just add it to thunderbird_config.py? Or are there other scripts that only load the production or staging config?
Flags: needinfo?(nthomas)
Comment 18•9 years ago
|
||
We could do that I guess, my comment was just following the example Firefox is setting.
Flags: needinfo?(nthomas)
Assignee | ||
Comment 19•9 years ago
|
||
Ok, then lets do what Firefox is doing :)
https://hg.mozilla.org/build/buildbot-configs/rev/e4776b864fa4
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 20•9 years ago
|
||
(patch as checked in)
Attachment #8657540 -
Attachment is obsolete: true
Attachment #8658088 -
Flags: review+
Attachment #8658088 -
Flags: checked-in+
Comment 21•9 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•