{"action":"created","issue":{"url":"https://api.github.com/repos/IntelAI/mlt/issues/327","repository_url":"https://api.github.com/repos/IntelAI/mlt","labels_url":"https://api.github.com/repos/IntelAI/mlt/issues/327/labels{/name}","comments_url":"https://api.github.com/repos/IntelAI/mlt/issues/327/comments","events_url":"https://api.github.com/repos/IntelAI/mlt/issues/327/events","html_url":"https://github.com/IntelAI/mlt/issues/327","id":338371134,"node_id":"MDU6SXNzdWUzMzgzNzExMzQ=","number":327,"title":"mlt build failing: collecting docopt fails with NewConnectionError","user":{"login":"phunt","id":15702,"node_id":"MDQ6VXNlcjE1NzAy","avatar_url":"https://avatars3.githubusercontent.com/u/15702?v=4","gravatar_id":"","url":"https://api.github.com/users/phunt","html_url":"https://github.com/phunt","followers_url":"https://api.github.com/users/phunt/followers","following_url":"https://api.github.com/users/phunt/following{/other_user}","gists_url":"https://api.github.com/users/phunt/gists{/gist_id}","starred_url":"https://api.github.com/users/phunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phunt/subscriptions","organizations_url":"https://api.github.com/users/phunt/orgs","repos_url":"https://api.github.com/users/phunt/repos","events_url":"https://api.github.com/users/phunt/events{/privacy}","received_events_url":"https://api.github.com/users/phunt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-04T20:35:53Z","updated_at":"2018-07-05T03:43:42Z","closed_at":null,"author_association":"NONE","body":"<!--\r\n- Please search the issues list before creating a new one.\r\n- Focus on the user's problem; save solutions for proposal(s).\r\n-->\r\nmlt build is failing on the hello world app. I searched the prior issues but cannot find this mentioned. I did run into the registry issue initially but fixed that by running a local docker registry, here is my mlt config\r\n\r\nmlt itself was installed/run using \"pip install mlt\"\r\n\r\n$ python -V\r\nPython 2.7.5\r\n\r\n$ mlt config list\r\nParameter Name                Value\r\n----------------------------  --------------\r\nnamespace                     root\r\nname                          my-app\r\ntemplate_parameters.greeting  Hi\r\nregistry                      localhost:5000\r\n\r\n\r\n## Add an importance label!\r\n\r\n## Anything else we need to know?\r\n\r\nHere is the output of mlt build:\r\n\r\n$ mlt build\r\nStarting build my-app:3fce0f62-4c62-4139-bda5-06abc6a4ba9c\r\nBuilding / (Elapsed Time: 0:06:42)\r\nSending build context to Docker daemon 71.17 kB\r\nStep 1/7 : FROM python:3\r\n ---> ce54ff8f2af6\r\nStep 2/7 : ADD requirements.txt /src/deps/requirements.txt\r\n ---> Using cache\r\n ---> 3852ecc4ef92\r\nStep 3/7 : RUN pip install -r /src/deps/requirements.txt\r\n ---> Running in e6b2d9120ef7\r\nCollecting docopt (from -r /src/deps/requirements.txt (line 1))\r\n  Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ff9f7f90898>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/docopt/\r\n  Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ff9f72306a0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/docopt/\r\n  Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ff9f7230eb8>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/docopt/\r\n  Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ff9f7230cc0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/docopt/\r\n  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ff9f7230b70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/docopt/\r\n  Could not find a version that satisfies the requirement docopt (from -r /src/deps/requirements.txt (line 1)) (from versions: )\r\nNo matching distribution found for docopt (from -r /src/deps/requirements.txt (line 1))\r\n\r\nThe command '/bin/sh -c pip install -r /src/deps/requirements.txt' returned a non-zero code: 1\r\nmake: *** [build] Error 1\r\n\r\n<!-- Background, figures, solution hints, etc. -->\r\n\r\nThis is a centos7 host running in AWS.\r\n\r\n## Meta\r\n"},"comment":{"url":"https://api.github.com/repos/IntelAI/mlt/issues/comments/402598638","html_url":"https://github.com/IntelAI/mlt/issues/327#issuecomment-402598638","issue_url":"https://api.github.com/repos/IntelAI/mlt/issues/327","id":402598638,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjU5ODYzOA==","user":{"login":"ashahba","id":12436063,"node_id":"MDQ6VXNlcjEyNDM2MDYz","avatar_url":"https://avatars3.githubusercontent.com/u/12436063?v=4","gravatar_id":"","url":"https://api.github.com/users/ashahba","html_url":"https://github.com/ashahba","followers_url":"https://api.github.com/users/ashahba/followers","following_url":"https://api.github.com/users/ashahba/following{/other_user}","gists_url":"https://api.github.com/users/ashahba/gists{/gist_id}","starred_url":"https://api.github.com/users/ashahba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashahba/subscriptions","organizations_url":"https://api.github.com/users/ashahba/orgs","repos_url":"https://api.github.com/users/ashahba/repos","events_url":"https://api.github.com/users/ashahba/events{/privacy}","received_events_url":"https://api.github.com/users/ashahba/received_events","type":"User","site_admin":false},"created_at":"2018-07-05T03:43:42Z","updated_at":"2018-07-05T03:43:42Z","author_association":"MEMBER","body":"@phunt it's possible that you are running into this issue:\r\nhttps://github.com/moby/moby/issues/26330\r\n\r\nI would just try running:\r\n```\r\npip install docopt\r\n```\r\ninside an interactive docker session.\r\nIf that errors out, then it's worth disabling `dnsmask` as described in that ticket like this:\r\n\r\n```\r\nsudo vim /etc/NetworkManager/NetworkManager.conf\r\ncomment out dns=dnsmasq -> #dns=dnsmasq\r\nsudo service network-manager restart (or reboot VM in this case)\r\n``` \r\n\r\nand trying again to see if that solves the problem."}}
{"actor":{"display_login":"ashahba"}}