The default bug view has changed. See this FAQ.

Hg clone: "abort: error: nodename nor servname provided, or not known"

RESOLVED FIXED

Status

Release Engineering
Other
RESOLVED FIXED
5 years ago
3 years ago

People

(Reporter: dholbert, Assigned: armenzg)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

5 years ago
Red builder on m-i, with this error:
{
hg clone http://hg.mozilla.org/build/tools tools
 in dir /builds/slave/m-in-osx64/. (timeout 1320 secs)
 watching logfiles {}
 argv: ['hg', 'clone', 'http://hg.mozilla.org/build/tools', 'tools']
 environment:
[...]
abort: error: nodename nor servname provided, or not known
program finished with exit code 255
}
https://tbpl.mozilla.org/php/getParsedLog.php?id=9330727&tree=Mozilla-Inbound
OS X 10.6.2 mozilla-inbound build on 2012-02-14 10:52:53 PST for push 85f3cf72938a
(Reporter)

Comment 1

5 years ago
Other metadata from the log:
 builder: mozilla-inbound-macosx64
 slave: moz2-darwin10-slave45
(Assignee)

Updated

5 years ago
Assignee: nobody → armenzg
(Assignee)

Updated

5 years ago
Depends on: 727194
(Reporter)

Comment 2

5 years ago
(In reply to Daniel Holbert [:dholbert] from comment #0)
> hg clone http://hg.mozilla.org/build/tools tools

FWIW, I just tried this command ^ locally, and it runs fine. (hg version 2.0.2)

(It's been ~90min since the failure in comment 0, though, so this may or may not be useful information.)
It seems that this was a transient issue that IT is investigating.
It happened twice today.

Once somewhere between 10:52 & 10:54.
And another time from 11:31 to 11:33.
Investigation is still happening on the IT bug but for now we can close this one.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → WORKSFORME
Product: mozilla.org → Release Engineering
Its happening for me again right now, I got a new development machine and wanted to set this up, i've been facing issues. I am running on a network proxy and my .hrgc file looks like this

[http_proxy]
        host = 172.30.0.16:3128
[https_proxy]
        host = 172.30.0.16:3128
~                                  

Time tried : 7th September 2014 , 1:00 PM IST

$ hg clone https://hg.mozilla.org/mozilla-central
abort: error: nodename nor servname provided, or not known
Status: RESOLVED → REOPENED
Flags: needinfo?(armenzg)
Resolution: WORKSFORME → ---
Hi ShellHacker,
Which version of hg are you running?
Could you please run it with more verbosity?
Does it happen every single time you try?
Flags: needinfo?(armenzg)
I'm re-closing this bug from 2012. The issue :ShellHacker describes seems to be an hg/proxy mishap with regard to what is resolving his DNS query.

if Armen is willing to help by all means, but this bug should not be open.
Status: REOPENED → RESOLVED
Last Resolved: 5 years ago3 years ago
Resolution: --- → FIXED
I have no real expertise in the area. I was hoping to gather more info before determining who to call or if to open a new bug.

Thanks Callek!
$ hg --version
Mercurial Distributed SCM (version 3.0)
(see http://mercurial.selenic.com for more information)

Copyright (C) 2005-2014 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Yes it happens every time. 
hg pull now gets, 
abort: repository default not found!
Flags: needinfo?(armenzg)
ShellHacker, it seems that you have a recent version of Mercurial.
Could you look to see what could be wrong with your proxy setup?
As far as I can tell, I don't think there's nothing that can be done from our side and I don't have enough hg skills to help you debug it. Sorry!
Flags: needinfo?(armenzg)
You need to log in before you can comment on or make changes to this bug.