{"action":"created","issue":{"url":"https://api.github.com/repos/incf-nidash/nidm/issues/303","labels_url":"https://api.github.com/repos/incf-nidash/nidm/issues/303/labels{/name}","comments_url":"https://api.github.com/repos/incf-nidash/nidm/issues/303/comments","events_url":"https://api.github.com/repos/incf-nidash/nidm/issues/303/events","html_url":"https://github.com/incf-nidash/nidm/issues/303","id":68808909,"number":303,"title":"tests should be usable offline","user":{"login":"yarikoptic","id":39889,"avatar_url":"https://avatars.githubusercontent.com/u/39889?v=3","gravatar_id":"","url":"https://api.github.com/users/yarikoptic","html_url":"https://github.com/yarikoptic","followers_url":"https://api.github.com/users/yarikoptic/followers","following_url":"https://api.github.com/users/yarikoptic/following{/other_user}","gists_url":"https://api.github.com/users/yarikoptic/gists{/gist_id}","starred_url":"https://api.github.com/users/yarikoptic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yarikoptic/subscriptions","organizations_url":"https://api.github.com/users/yarikoptic/orgs","repos_url":"https://api.github.com/users/yarikoptic/repos","events_url":"https://api.github.com/users/yarikoptic/events{/privacy}","received_events_url":"https://api.github.com/users/yarikoptic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-15T23:26:33Z","updated_at":"2015-04-16T07:21:40Z","closed_at":null,"body":"```\r\n$> http_proxy=http://127.0.0.1:9/ https_proxy=http://127.0.0.1:9/ nosetests -s -v nidm/nidm-results \r\ntest_check_attributes (test.TestExamplesMatchVocabulary.TestExamples) ... ok\r\ntest_check_classes (test.TestExamplesMatchVocabulary.TestExamples) ... ok\r\nFailure: Exception (Too many retry (16)) ... ERROR\r\ntest_check_consistency (test.TestTermsReadmeMatchVocabulary.TestTermsReadmeMatchVocabulary) ... ok\r\ntest_fsl_ex001 (test.test_examples_match_templates.TestExamplesMatchTemplates) ... ok\r\ntest_fsl_ex002 (test.test_examples_match_templates.TestExamplesMatchTemplates) ... ok\r\ntest_fsl_ex003 (test.test_examples_match_templates.TestExamplesMatchTemplates) ... ok\r\ntest_fsl_results (test.test_examples_match_templates.TestExamplesMatchTemplates) ... ok\r\ntest_spm_ex001 (test.test_examples_match_templates.TestExamplesMatchTemplates) ... ok\r\ntest_spm_ex002 (test.test_examples_match_templates.TestExamplesMatchTemplates) ... ok\r\ntest_spm_ex003 (test.test_examples_match_templates.TestExamplesMatchTemplates) ... ok\r\ntest_spm_ex004 (test.test_examples_match_templates.TestExamplesMatchTemplates) ... ok\r\ntest_spm_results (test.test_examples_match_templates.TestExamplesMatchTemplates) ... ok\r\ntest_unit_examples (test.test_examples_match_templates.TestExamplesMatchTemplates) ... ok\r\n\r\n======================================================================\r\nERROR: Failure: Exception (Too many retry (16))\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/dist-packages/nose/loader.py\", line 519, in makeTest\r\n    return self._makeTest(obj, parent)\r\n  File \"/usr/lib/python2.7/dist-packages/nose/loader.py\", line 566, in _makeTest\r\n    return self.loadTestsFromTestCase(obj)\r\n  File \"/usr/lib/python2.7/dist-packages/nose/loader.py\", line 490, in loadTestsFromTestCase\r\n    return super(TestLoader, self).loadTestsFromTestCase(testCaseClass)\r\n  File \"/usr/lib/python2.7/unittest/loader.py\", line 56, in loadTestsFromTestCase\r\n    loaded_suite = self.suiteClass(map(testCaseClass, testCaseNames))\r\n  File \"/home/yoh/proj/nidm/nidm/nidm-results/test/TestProvStoreLinks.py\", line 30, in __init__\r\n    ttl_from_provn_file_url = get_turtle(provn_file)\r\n  File \"/home/yoh/proj/nidm/nidm/nidm-results/test/TestCommons.py\", line 88, in get_turtle\r\n    raise Exception(\"Too many retry (\"+str(retry)+\")\")\r\nException: Too many retry (16)\r\n\r\n----------------------------------------------------------------------\r\nRan 14 tests in 8.640s\r\n\r\nFAILED (errors=1)\r\n```\r\n\r\nConsider using https://github.com/kevin1024/vcrpy  or https://github.com/sigmavirus24/betamax or at least skip the test if website is not reachable"},"comment":{"url":"https://api.github.com/repos/incf-nidash/nidm/issues/comments/93663871","html_url":"https://github.com/incf-nidash/nidm/issues/303#issuecomment-93663871","issue_url":"https://api.github.com/repos/incf-nidash/nidm/issues/303","id":93663871,"user":{"login":"cmaumet","id":5374264,"avatar_url":"https://avatars.githubusercontent.com/u/5374264?v=3","gravatar_id":"","url":"https://api.github.com/users/cmaumet","html_url":"https://github.com/cmaumet","followers_url":"https://api.github.com/users/cmaumet/followers","following_url":"https://api.github.com/users/cmaumet/following{/other_user}","gists_url":"https://api.github.com/users/cmaumet/gists{/gist_id}","starred_url":"https://api.github.com/users/cmaumet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmaumet/subscriptions","organizations_url":"https://api.github.com/users/cmaumet/orgs","repos_url":"https://api.github.com/users/cmaumet/repos","events_url":"https://api.github.com/users/cmaumet/events{/privacy}","received_events_url":"https://api.github.com/users/cmaumet/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T07:21:40Z","updated_at":"2015-04-16T07:21:40Z","body":"@yarikoptic: I typically run the tests on my machine before pushing (the only part that is meant to require access to the ProvStore, when tests are run locally, is the test that check the links to the Prov Store... - so this part could be improved). \r\n\r\nThe error you are reporting should not typically be raised locally (how did you start this test?). This timeout was discussed in #254 and is usually solved by re-launching the test suite..."}}