rlib/rvmprof/test/test_file.py::test_same_file
def test_same_file():
shared = RVMPROF.join('src', 'shared')
files = get_list_of_files(shared)
assert files, 'cannot find any C file, probably the directory is wrong?'
no_matches = []
print
for file in files:
path = file.relto(shared)
url = github_raw_file("vmprof/vmprof-python", "src/%s" % path)
> source = urllib2.urlopen(url).read()
rlib/rvmprof/test/test_file.py:33:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/urllib2.py:154: in urlopen
return opener.open(url, data, timeout)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/urllib2.py:435: in open
response = meth(req, response)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/urllib2.py:548: in http_response
'http', request, response, code, msg, hdrs)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/urllib2.py:473: in error
return self._call_chain(*args)
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/urllib2.py:407: in _call_chain
result = func(*args)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <urllib2.HTTPDefaultErrorHandler instance at 0x0000000150cc46a0>
req = <urllib2.Request instance at 0x0000000151738b60>
fp = <addinfourl at 5661495520 whose fp = <socket._fileobject object at 0x00000001706ba100>>
code = 429, msg = 'Too Many Requests'
hdrs = <httplib.HTTPMessage instance at 0x00000001705b6160>
def http_error_default(self, req, fp, code, msg, hdrs):
> raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
E HTTPError: HTTP Error 429: Too Many Requests
../../../../oss/pypy-arm64-buildbot/lib-python/2.7/urllib2.py:556: HTTPError
---------- Captured stdout call ----------
src/shared/libbacktrace/internal.h matches
src/shared/libbacktrace/print.c matches
src/shared/libbacktrace/btest.c matches
src/shared/libbacktrace/posix.c matches
src/shared/libbacktrace/backtrace.h matches
src/shared/libbacktrace/mmap.c matches
src/shared/libbacktrace/state.c matches
src/shared/libbacktrace/sort.c matches
src/shared/libbacktrace/atomic.c matches
src/shared/libbacktrace/ansidecl.h matches
src/shared/libbacktrace/alloc.c matches
(somefailed=True in rlib/rvmprof/test/test_file.py)
builder: rpython-macos-arm64 build #294+
test: rlib/rvmprof/test/test_file.py::test_same_file