{"action":"created","issue":{"url":"https://api.github.com/repos/statsmodels/statsmodels/issues/2233","labels_url":"https://api.github.com/repos/statsmodels/statsmodels/issues/2233/labels{/name}","comments_url":"https://api.github.com/repos/statsmodels/statsmodels/issues/2233/comments","events_url":"https://api.github.com/repos/statsmodels/statsmodels/issues/2233/events","html_url":"https://github.com/statsmodels/statsmodels/issues/2233","id":56911411,"number":2233,"title":"TST: webuse test failure on python-xy Ubuntu","user":{"login":"josef-pkt","id":440735,"avatar_url":"https://avatars.githubusercontent.com/u/440735?v=3","gravatar_id":"","url":"https://api.github.com/users/josef-pkt","html_url":"https://github.com/josef-pkt","followers_url":"https://api.github.com/users/josef-pkt/followers","following_url":"https://api.github.com/users/josef-pkt/following{/other_user}","gists_url":"https://api.github.com/users/josef-pkt/gists{/gist_id}","starred_url":"https://api.github.com/users/josef-pkt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josef-pkt/subscriptions","organizations_url":"https://api.github.com/users/josef-pkt/orgs","repos_url":"https://api.github.com/users/josef-pkt/repos","events_url":"https://api.github.com/users/josef-pkt/events{/privacy}","received_events_url":"https://api.github.com/users/josef-pkt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/statsmodels/statsmodels/labels/comp-datasets","name":"comp-datasets","color":"ededed"},{"url":"https://api.github.com/repos/statsmodels/statsmodels/labels/prio-high","name":"prio-high","color":"e10c02"},{"url":"https://api.github.com/repos/statsmodels/statsmodels/labels/type-test","name":"type-test","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/statsmodels/statsmodels/milestones/7","labels_url":"https://api.github.com/repos/statsmodels/statsmodels/milestones/7/labels","id":756183,"number":7,"title":"0.7","description":"","creator":{"login":"josef-pkt","id":440735,"avatar_url":"https://avatars.githubusercontent.com/u/440735?v=3","gravatar_id":"","url":"https://api.github.com/users/josef-pkt","html_url":"https://github.com/josef-pkt","followers_url":"https://api.github.com/users/josef-pkt/followers","following_url":"https://api.github.com/users/josef-pkt/following{/other_user}","gists_url":"https://api.github.com/users/josef-pkt/gists{/gist_id}","starred_url":"https://api.github.com/users/josef-pkt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josef-pkt/subscriptions","organizations_url":"https://api.github.com/users/josef-pkt/orgs","repos_url":"https://api.github.com/users/josef-pkt/repos","events_url":"https://api.github.com/users/josef-pkt/events{/privacy}","received_events_url":"https://api.github.com/users/josef-pkt/received_events","type":"User","site_admin":false},"open_issues":109,"closed_issues":54,"state":"open","created_at":"2014-08-16T23:51:52Z","updated_at":"2015-02-07T13:34:38Z","due_on":null,"closed_at":null},"comments":16,"created_at":"2015-02-07T13:34:38Z","updated_at":"2015-02-08T01:02:31Z","closed_at":null,"body":"We get two test failures across all Ubuntu machines in python-xy testing\r\ne.g. https://launchpadlibrarian.net/196880479/buildlog_ubuntu-vivid-i386.statsmodels_0.7.0~ppa25~revno-1812~ubuntu15.04.1_FAILEDTOBUILD.txt.gz\r\n\r\nis this a permission error, or disabled feature on a test server?\r\nthere is also a test for `get_rdataset` that uses `urlopen` and doesn't fail\r\n\r\nwhat does pandas do?\r\n\r\n```\r\n======================================================================\r\nERROR: statsmodels.datasets.tests.test_utils.test_webuse\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/dist-packages/nose/case.py\", line 197, in runTest\r\n    self.test(*self.arg)\r\n  File \"/build/buildd/statsmodels-0.7.0~ppa25~revno/debian/python-statsmodels/usr/lib/python2.7/dist-packages/statsmodels/datasets/tests/test_utils.py\", line 26, in test_webuse\r\n    res1 = webuse('macrodata', baseurl=base_gh, as_df=False)\r\n  File \"/build/buildd/statsmodels-0.7.0~ppa25~revno/debian/python-statsmodels/usr/lib/python2.7/dist-packages/statsmodels/datasets/utils.py\", line 47, in webuse\r\n    dta = urlopen(url)\r\n  File \"/usr/lib/python2.7/urllib2.py\", line 154, in urlopen\r\n    return opener.open(url, data, timeout)\r\n  File \"/usr/lib/python2.7/urllib2.py\", line 431, in open\r\n    response = self._open(req, data)\r\n  File \"/usr/lib/python2.7/urllib2.py\", line 449, in _open\r\n    '_open', req)\r\n  File \"/usr/lib/python2.7/urllib2.py\", line 409, in _call_chain\r\n    result = func(*args)\r\n  File \"/usr/lib/python2.7/urllib2.py\", line 1227, in http_open\r\n    return self.do_open(httplib.HTTPConnection, req)\r\n  File \"/usr/lib/python2.7/urllib2.py\", line 1197, in do_open\r\n    raise URLError(err)\r\nURLError: <urlopen error [Errno -2] Name or service not known>\r\n\r\n======================================================================\r\nERROR: statsmodels.datasets.tests.test_utils.test_webuse_pandas\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/dist-packages/nose/case.py\", line 197, in runTest\r\n    self.test(*self.arg)\r\n  File \"/build/buildd/statsmodels-0.7.0~ppa25~revno/debian/python-statsmodels/usr/lib/python2.7/dist-packages/statsmodels/datasets/tests/test_utils.py\", line 36, in test_webuse_pandas\r\n    res1 = webuse('macrodata', baseurl=base_gh)\r\n  File \"/build/buildd/statsmodels-0.7.0~ppa25~revno/debian/python-statsmodels/usr/lib/python2.7/dist-packages/statsmodels/datasets/utils.py\", line 47, in webuse\r\n    dta = urlopen(url)\r\n  File \"/usr/lib/python2.7/urllib2.py\", line 154, in urlopen\r\n    return opener.open(url, data, timeout)\r\n  File \"/usr/lib/python2.7/urllib2.py\", line 431, in open\r\n    response = self._open(req, data)\r\n  File \"/usr/lib/python2.7/urllib2.py\", line 449, in _open\r\n    '_open', req)\r\n  File \"/usr/lib/python2.7/urllib2.py\", line 409, in _call_chain\r\n    result = func(*args)\r\n  File \"/usr/lib/python2.7/urllib2.py\", line 1227, in http_open\r\n    return self.do_open(httplib.HTTPConnection, req)\r\n  File \"/usr/lib/python2.7/urllib2.py\", line 1197, in do_open\r\n    raise URLError(err)\r\nURLError: <urlopen error [Errno -2] Name or service not known>\r\n\r\n----------------------------------------------------------------------\r\nRan 3428 tests in 645.599s\r\n\r\nFAILED (SKIP=24, errors=2)\r\n```"},"comment":{"url":"https://api.github.com/repos/statsmodels/statsmodels/issues/comments/73391451","html_url":"https://github.com/statsmodels/statsmodels/issues/2233#issuecomment-73391451","issue_url":"https://api.github.com/repos/statsmodels/statsmodels/issues/2233","id":73391451,"user":{"login":"saketkc","id":682153,"avatar_url":"https://avatars.githubusercontent.com/u/682153?v=3","gravatar_id":"","url":"https://api.github.com/users/saketkc","html_url":"https://github.com/saketkc","followers_url":"https://api.github.com/users/saketkc/followers","following_url":"https://api.github.com/users/saketkc/following{/other_user}","gists_url":"https://api.github.com/users/saketkc/gists{/gist_id}","starred_url":"https://api.github.com/users/saketkc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saketkc/subscriptions","organizations_url":"https://api.github.com/users/saketkc/orgs","repos_url":"https://api.github.com/users/saketkc/repos","events_url":"https://api.github.com/users/saketkc/events{/privacy}","received_events_url":"https://api.github.com/users/saketkc/received_events","type":"User","site_admin":false},"created_at":"2015-02-08T01:02:31Z","updated_at":"2015-02-08T01:02:31Z","body":"On a side note,  `get_rdataset` tests pass because it is cached, right?\r\nhttps://github.com/statsmodels/statsmodels/blob/master/statsmodels/datasets/tests/raw.github.com%2Cvincentarelbundock%2CRdatasets%2Cmaster%2Ccsv%2Ccar%2CDuncan.csv.zip\r\n\r\nOn another note, do you think it makes sense to enable 'verbose' setting for all `urllib2` requests while testing?\r\n"}}