jayvdb created this task.
jayvdb added a subscriber: jayvdb.
jayvdb added a project: Pywikibot-tests.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  `tests.page_tests.testLinks` fails with a timeout on site `anarchopedia`
  
  ```
  ======================================================================
  ERROR: Test the different types of links from a page.
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/travis/build/jayvdb/pywikibot-core/tests/page_tests.py", line 
479, in testLinks
      for p in mainpage.imagelinks():
    File "/home/travis/build/jayvdb/pywikibot-core/pywikibot/data/api.py", line 
2720, in __iter__
      self.data = self.request.submit()
    File "/home/travis/build/jayvdb/pywikibot-core/pywikibot/data/api.py", line 
2321, in submit
      self._data = super(CachedRequest, self).submit()
    File "/home/travis/build/jayvdb/pywikibot-core/pywikibot/data/api.py", line 
1966, in submit
      self.wait()
    File "/home/travis/build/jayvdb/pywikibot-core/pywikibot/data/api.py", line 
2181, in wait
      raise TimeoutError("Maximum retries attempted without success.")
  TimeoutError: Maximum retries attempted without success.
  -------------------- >> begin captured stdout << ---------------------
   116.793s 
  --------------------- >> end captured stdout << ----------------------
  -------------------- >> begin captured logging << --------------------
  requests.packages.urllib3.connectionpool: DEBUG: "POST /api.php HTTP/1.1" 200 
None
  requests.packages.urllib3.connectionpool: DEBUG: "POST /api.php HTTP/1.1" 200 
None
  pywiki: VERBOSE: Found candidate wikipedia:en
  pywiki: VERBOSE: Found 1 wikipedia:en processes running, including this one.
  requests.packages.urllib3.connectionpool: INFO: Starting new HTTPS connection 
(1): en.wikipedia.org
  requests.packages.urllib3.connectionpool: DEBUG: "GET 
/w/api.php?maxlag=5&continue=&format=json&meta=siteinfo%7Cuserinfo&action=query&siprop=namespaces%7Cnamespacealiases%7Cgeneral&uiprop=blockinfo%7Chasmsg
 HTTP/1.1" 200 1386
  pywiki: VERBOSE: Found candidate anarchopedia:hrv
  pywiki: VERBOSE: Found 1 anarchopedia:hrv processes running, including this 
one.
  requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
(1): hrv.anarchopedia.org
  requests.packages.urllib3.connectionpool: DEBUG: "POST /api.php HTTP/1.1" 200 
3322
  requests.packages.urllib3.connectionpool: DEBUG: "POST /api.php HTTP/1.1" 200 
1497
  pywiki: VERBOSE: Site anarchopedia:hr instantiated using code bs
  py.warnings: WARNING: 
/home/travis/build/jayvdb/pywikibot-core/pywikibot/page.py:5121: UserWarning: 
Site anarchopedia:hr instantiated using different code "bs"
    link._site = pywikibot.Site(lang, source.family.name)
  pywiki: ERROR: Traceback (most recent call last):
    File "/home/travis/build/jayvdb/pywikibot-core/pywikibot/data/api.py", line 
1942, in submit
      body=body, headers=headers)
    File 
"/home/travis/build/jayvdb/pywikibot-core/pywikibot/tools/__init__.py", line 
1327, in wrapper
      return obj(*__args, **__kw)
    File "/home/travis/build/jayvdb/pywikibot-core/pywikibot/comms/http.py", 
line 247, in request
      r = fetch(baseuri, method, body, headers, **kwargs)
    File "/home/travis/build/jayvdb/pywikibot-core/pywikibot/comms/http.py", 
line 402, in fetch
      error_handling_callback(request)
    File "/home/travis/build/jayvdb/pywikibot-core/pywikibot/comms/http.py", 
line 320, in error_handling_callback
      raise request.data
  ReadTimeout: HTTPConnectionPool(host='en.anarchopedia.org', port=80): Read 
timed out. (read timeout=30)
  
  pywiki: VERBOSE: /api.php, 
inprop=protection&maxlag=5&generator=images&format=json&prop=info%7Cimageinfo%7Ccategoryinfo&titles=Main+Page&meta=userinfo&indexpageids=&action=query&gimlimit=500&iiprop=timestamp%7Cuser%7Ccomment%7Curl%7Csize%7Csha1%7Cmetadata&uiprop=blockinfo%7Chasmsg
  pywiki: WARNING: Waiting 5 seconds before retrying.
  requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
(2): en.anarchopedia.org
  pywiki: ERROR: Traceback (most recent call last):
    File "/home/travis/build/jayvdb/pywikibot-core/pywikibot/data/api.py", line 
1942, in submit
      body=body, headers=headers)
    File 
"/home/travis/build/jayvdb/pywikibot-core/pywikibot/tools/__init__.py", line 
1327, in wrapper
      return obj(*__args, **__kw)
    File "/home/travis/build/jayvdb/pywikibot-core/pywikibot/comms/http.py", 
line 247, in request
      r = fetch(baseuri, method, body, headers, **kwargs)
    File "/home/travis/build/jayvdb/pywikibot-core/pywikibot/comms/http.py", 
line 402, in fetch
      error_handling_callback(request)
    File "/home/travis/build/jayvdb/pywikibot-core/pywikibot/comms/http.py", 
line 320, in error_handling_callback
      raise request.data
  ReadTimeout: HTTPConnectionPool(host='en.anarchopedia.org', port=80): Read 
timed out. (read timeout=30)
  
  pywiki: VERBOSE: /api.php, 
inprop=protection&maxlag=5&generator=images&format=json&prop=info%7Cimageinfo%7Ccategoryinfo&titles=Main+Page&meta=userinfo&indexpageids=&action=query&gimlimit=500&iiprop=timestamp%7Cuser%7Ccomment%7Curl%7Csize%7Csha1%7Cmetadata&uiprop=blockinfo%7Chasmsg
  pywiki: WARNING: Waiting 10 seconds before retrying.
  requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
(3): en.anarchopedia.org
  pywiki: ERROR: Traceback (most recent call last):
    File "/home/travis/build/jayvdb/pywikibot-core/pywikibot/data/api.py", line 
1942, in submit
      body=body, headers=headers)
    File 
"/home/travis/build/jayvdb/pywikibot-core/pywikibot/tools/__init__.py", line 
1327, in wrapper
      return obj(*__args, **__kw)
    File "/home/travis/build/jayvdb/pywikibot-core/pywikibot/comms/http.py", 
line 247, in request
      r = fetch(baseuri, method, body, headers, **kwargs)
    File "/home/travis/build/jayvdb/pywikibot-core/pywikibot/comms/http.py", 
line 402, in fetch
      error_handling_callback(request)
    File "/home/travis/build/jayvdb/pywikibot-core/pywikibot/comms/http.py", 
line 320, in error_handling_callback
      raise request.data
  ReadTimeout: HTTPConnectionPool(host='en.anarchopedia.org', port=80): Read 
timed out. (read timeout=30)
  pywiki: VERBOSE: /api.php, 
inprop=protection&maxlag=5&generator=images&format=json&prop=info%7Cimageinfo%7Ccategoryinfo&titles=Main+Page&meta=userinfo&indexpageids=&action=query&gimlimit=500&iiprop=timestamp%7Cuser%7Ccomment%7Curl%7Csize%7Csha1%7Cmetadata&uiprop=blockinfo%7Chasmsg
  ```

TASK DETAIL
  https://phabricator.wikimedia.org/T115459

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: Aklapper, jayvdb, pywikibot-bugs-list



_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to