Closed Bug 1188988 Opened 10 years ago Closed 10 years ago

./mach mercurial-setup fails at mqext step

Categories

(Firefox Build System :: Mach Core, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1164315

People

(Reporter: armenzg, Unassigned)

Details

Would you like to activate bzpost? [Y/n] n ================================================================================ Ensuring mqext extension is up to date... abort: certificate for bitbucket.org has unexpected fingerprint 46:de:34:e7:9b:18:cd:7f:ae:fd:8b:e3:bc:f4:1a:5e:38:d7:ac:24 (check hostfingerprint configuration) ================================================================================ Error running mach: ['mercurial-setup'] The error occurred in code that was called by the mach command. This is either a bug in the called code itself or in the way that mach is calling it. You should consider filing a bug for this issue. If filing a bug, please include the full output of mach, including this error message. The details of the failure are as follows: CalledProcessError: Command '[u'/usr/local/bin/hg', u'--config', u'hostfingerprints.bitbucket.org=45:ad:ae:1a:cf:0e:73:47:06:07:e0:88:f5:cc:10:e5:fa:1c:f7:99', u'--config', u'hostfingerprints.bugzilla.mozilla.org=47:13:a2:14:0c:46:45:53:12:0d:e5:36:16:a5:60:26:3e:da:3a:60', u'--config', u'hostfingerprints.hg.mozilla.org=af:27:b9:34:47:4e:e5:98:01:f6:83:2b:51:c9:aa:d8:df:fb:1a:27', u'pull', u'https://bitbucket.org/sfink/mqext']' returned non-zero exit status 255 File "/home/armenzg/repos/mozilla-central/tools/mercurial/mach_commands.py", line 42, in mercurial_bootstrap result = wizard.run(map(os.path.expanduser, config_paths)) File "/home/armenzg/repos/mozilla-central/tools/mercurial/hgsetup/wizard.py", line 296, in run 'Ensuring mqext extension is up to date...') File "/home/armenzg/repos/mozilla-central/tools/mercurial/hgsetup/update.py", line 84, in update_mercurial_repo update_mercurial_repo, hostfingerprints=HOST_FINGERPRINTS) File "/home/armenzg/repos/mozilla-central/tools/mercurial/hgsetup/update.py", line 90, in _update_repo fn(binary, url, dest, branch, *args, **kwargs) File "/home/armenzg/repos/mozilla-central/python/mozversioncontrol/mozversioncontrol/repoupdate.py", line 24, in update_mercurial_repo subprocess.check_call(args + ['pull', repo], cwd=path) File "/usr/local/lib/python2.7/subprocess.py", line 540, in check_call raise CalledProcessError(retcode, cmd)
The certificate listed in code is the proper one and was updated in 521cd645b1af / bug 1164315. If you are getting this error, your mozilla-central is over 2 months out of date and needs to be pulled / updated.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
True! Should we tell users to update to the latest central before the command works? armenzg@armenzg-thinkpad:~/repos/mozilla-central$ hg id c4efe7244ef3 beta/tip
Perhaps. FWIW, I want to move the bulk of mercurial-setup's logic to the version-control-tools repo. There, we have proper testing of CLI tools and we have access to more Mercurial utility APIs, so we can build a much better experience.
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.