Closed
Bug 1162275
Opened 9 years ago
Closed 9 years ago
Thunderbird is missing mozharness pinning
Categories
(Release Engineering :: Release Automation: Other, defect)
Release Engineering
Release Automation: Other
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Fallen, Assigned: Fallen)
Details
Attachments
(5 files)
758 bytes,
patch
|
rail
:
review+
|
Details | Diff | Splinter Review |
824 bytes,
patch
|
rail
:
review+
mshal
:
checked-in+
|
Details | Diff | Splinter Review |
2.96 KB,
patch
|
armenzg
:
review+
rkent
:
checked-in+
|
Details | Diff | Splinter Review |
2.01 KB,
patch
|
rail
:
review+
rkent
:
checked-in+
|
Details | Diff | Splinter Review |
1.10 KB,
patch
|
rail
:
review+
rail
:
feedback+
rkent
:
checked-in+
|
Details | Diff | Splinter Review |
Thunderbird is not configured for mozharness pinning, therefore we always use production, which started failing recently.
Assignee | ||
Comment 1•9 years ago
|
||
This might fix it. Unfortunately its seems there is no buildbot property with the mozilla revision, so I will use the default branch for getting the file.
Attachment #8602355 -
Flags: review?(rail)
Comment 2•9 years ago
|
||
Comment on attachment 8602355 [details] [diff] [review] Fix - v1 lgtm
Attachment #8602355 -
Flags: review?(rail) → review+
Assignee | ||
Comment 3•9 years ago
|
||
https://hg.mozilla.org/build/buildbot-configs/rev/285aa773a8aa
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment 4•9 years ago
|
||
This should fix the test failures: Traceback (most recent call last): File "/home/travis/build/mozilla/build-buildbot-configs/.tox/braindump/buildbot-related/dump_master_json.py", line 111, in dump_master c = loadMaster(path) File "/home/travis/build/mozilla/build-buildbot-configs/.tox/braindump/buildbot-related/dump_master_json.py", line 26, in loadMaster execfile(path, g, g) File "/home/travis/build/mozilla/build-buildbot-configs/test-output/bm81-build_scheduler/master.cfg", line 6, in <module> import thunderbird_config File "/home/travis/build/mozilla/build-buildbot-configs/test-output/bm81-build_scheduler/thunderbird_config.py", line 1066, in <module> for _, branch in items_at_least(BRANCHES, 'gecko_version', 30): NameError: name 'items_at_least' is not defined
Attachment #8602828 -
Flags: review?(rail)
Updated•9 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•9 years ago
|
Attachment #8602828 -
Flags: review?(rail) → review+
Comment 5•9 years ago
|
||
Comment on attachment 8602828 [details] [diff] [review] thunderbird-import https://hg.mozilla.org/build/buildbot-configs/rev/171dd9aa58fd
Attachment #8602828 -
Flags: checked-in+
Comment 6•9 years ago
|
||
In production: https://hg.mozilla.org/build/buildbot-configs/rev/171dd9aa58fd
Comment 7•9 years ago
|
||
I don't see any evidence this is working in current comm-esr38 or comm-beta builds.
Comment 8•9 years ago
|
||
I've lost my initial analysis. I think we don't use ScriptFactory for TB builds (bug NightlyScriptFactory), hence, pinning cannot be used. For test jobs we should be able to fix it by adding that same block to mozilla-tests/thunderbid_config.py rail: does this analysis make sense to you? misc.py changes => http://hg.mozilla.org/build/buildbotcustom/diff/cb6ce28989c2/misc.py Original bug: bug 1110286 armenzg@armenzg-thinkpad:~/repos/hg/buildbotcustom$ grep -r "script_repo_manifest" . ./process/factory.py: def __init__(self, scriptRepo, scriptName, script_repo_manifest=None, ./process/factory.py: if script_repo_manifest: ./process/factory.py: '--manifest-url %s' % script_repo_manifest)], ./process/factory.py: if script_repo_manifest: ./process/factory.py: '--manifest-url %s' % script_repo_manifest)], ./misc.py: script_repo_manifest=config.get('script_repo_manifest'), ./misc.py: script_repo_manifest=None, is_debug=None): ./misc.py: script_repo_manifest=script_repo_manifest, ./misc.py: script_repo_manifest=None): ./misc.py: script_repo_manifest=script_repo_manifest, ./misc.py: 'script_repo_manifest': branch_config.get( ./misc.py: 'script_repo_manifest'), ./misc.py: test_builder_kwargs['script_repo_manifest'] = branch_config.get('script_repo_manifest')
Comment 9•9 years ago
|
||
(In reply to Armen Zambrano G. (:armenzg - Toronto) from comment #8) > I've lost my initial analysis. > > I think we don't use ScriptFactory for TB builds (bug NightlyScriptFactory), > hence, pinning cannot be used. Sounds correct to me. We have not switched to mozharness based builds for TB.
Comment 10•9 years ago
|
||
So what is the next step forward, and who is going to do it?
Comment 11•9 years ago
|
||
(In reply to Armen Zambrano G. (:armenzg - Toronto) from comment #8) > I think we don't use ScriptFactory for TB builds (bug NightlyScriptFactory), > hence, pinning cannot be used. I'm not an expert here, but I don't understand that conclusion from my reading of the code. yes 'mozharness_desktop_build' is not set for Thunderbird builds, but 'mozharness_config' is (for example http://mxr.mozilla.org/build/source/buildbot-configs/mozilla-tests/thunderbird_config.py#66) If 'mozharness_config' is set, then the factory we use is: factory = makeMHFactory(config, pf, signingServers=secrets.get(pf.get('dep_signing_servers')), use_credentials_file=True) which uses ScriptFactory. Or is there something I am missing here?
Comment 12•9 years ago
|
||
The change landed on this bug was for *mozilla*/thunderbid_config.py (that entails builds) and *mozilla-tests*/thunderbid_config.py does not contain for/loop, hence, not activating the pinning for *test* jobs. Steps: * Back out previous change * Land the same change but for mozilla-tests Outcome: * Pinning for test jobs will be activated
Comment 13•9 years ago
|
||
The original change was done IIRC to solve some issues with the Lightning repacks. Do we really need to back out the original change, or can the code be in both mozilla/ and mozilla-tests/ ?
Comment 14•9 years ago
|
||
It can be in both. We should, however, add a comment saying that the pinning block there does not affect TB builds.
Comment 15•9 years ago
|
||
Sorry to keep bugging you, but one more question. The original patch only uses the default mozilla-* rev, while in practice we typically build from a branch. Is there any way from within the thunderbird_config.py code to get access to current mozilla-* rev used for the build?
Comment 16•9 years ago
|
||
I don't believe that we need to deal with the issue of the mozilla branch at the moment, so let's try to get this in so that we can proceed with our release. Thanks for all of your assistance!
Attachment #8615514 -
Flags: review?(armenzg)
Updated•9 years ago
|
Attachment #8615514 -
Flags: review?(armenzg) → review+
Comment 17•9 years ago
|
||
I have not touched these code often in the last year so my answers can be very limited. In Firefox, we substitute both the repo_name and gecko revision: https://hg.mozilla.org/%(repo_path)s/raw-file/%(revision)s/testing/mozharness/mozharness.json' I don't know if it would be substituted for the TB jobs. Let's start with default and see.
Comment 18•9 years ago
|
||
Comment on attachment 8615514 [details] [diff] [review] add mozharness pinning in mozilla-test thunderbird configurations https://hg.mozilla.org/build/buildbot-configs/rev/664bea6866b7
Attachment #8615514 -
Flags: checked-in+
Comment 19•9 years ago
|
||
xpcshell test runs failed because of missing moz_repo_path I believe this is what is needed to define them.
Attachment #8615775 -
Flags: review?(armenzg)
Updated•9 years ago
|
Attachment #8615775 -
Flags: review?(armenzg) → review+
Comment 20•9 years ago
|
||
Comment on attachment 8615775 [details] [diff] [review] define moz_repo_path in testing https://hg.mozilla.org/build/buildbot-configs/rev/57f0c1c2a0d4
Attachment #8615775 -
Flags: checked-in+
Comment 21•9 years ago
|
||
Thanks rail for taking the review! I was 1/2 day out.
Comment 23•9 years ago
|
||
Comment on attachment 8616218 [details] [diff] [review] moz_repo_path.diff Yeah, something like that. Not sure if that's the right place though. There are some other places where the properties set.
Attachment #8616218 -
Flags: feedback?(rail) → feedback+
Updated•9 years ago
|
Attachment #8616218 -
Flags: review+
Comment 24•9 years ago
|
||
Comment on attachment 8616218 [details] [diff] [review] moz_repo_path.diff https://hg.mozilla.org/build/buildbotcustom/rev/f4b84fac7878
Attachment #8616218 -
Flags: checked-in+
Comment 25•9 years ago
|
||
In production: https://hg.mozilla.org/build/buildbotcustom/rev/f4b84fac7878
Assignee | ||
Comment 26•9 years ago
|
||
Has been in production for a while, looks like this is good. Marking fixed.
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•