On CPython 2.7 on macOS, I sometimes get the following error from urllib2.urlopen:
[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)
I noticed that the error is present when the runner uses a cached build of CPython. When the runner builds CPython from source, the error is not present. It's just a guess, but may be the runner doesn't cache the certificates?
Failed builds:
All have the following in the log:
Trying to use cached built version
Restoring cached version with key CPython2.7.18x64darwin...
Cache Size: ~25 MB (25972007 B)
/usr/local/bin/gtar -xf /Users/runner/work/_temp/6e400571-a12c-479e-954c-753e8d58efd7/cache.tzst -P -C /Users/runner/work/hererocks/hererocks --delay-directory-restore --use-compress-program unzstd
Received 25972007 of 25972007 (100.0%), 24.8 MBs/sec
Cache restored successfully
CPython 2.7.18 restored from cache.
Successful builds:
All have the followin in the log:
Trying to use cached built version
Restoring cached version with key CPython2.7.18x64darwin...
Cached version not found.
Installing dependencies
Preparing sources
Applying patches to source files
Configuring makefile
Running make
Running make install
Caching built files
On CPython 2.7 on macOS, I sometimes get the following error from
urllib2.urlopen:I noticed that the error is present when the runner uses a cached build of CPython. When the runner builds CPython from source, the error is not present. It's just a guess, but may be the runner doesn't cache the certificates?
Failed builds:
All have the following in the log:
Successful builds:
All have the followin in the log: