I made a few changes to run.py.
I hard coded the proxy variable as shown below.
# proxy = None
proxy = {'http': 'http://www-proxy.us.oracle.com:80'}
# for a in sys.argv[1:]:
# if a.startswith('--proxy='):
# proxy = {'https' : a.split('=')[1] }
# print '--- %s' %(proxy['https'])
# break
I invoked run.py. I saw the same error (by viewing regression.py in a browser):
Handshake failed
The SSL handshake could not be performed.
*Host: *raw.githubusercontent.com
*Reason: *Can't initialize server context
Then, I made the following change to run.py
# script_remote = 'https://raw.githubusercontent.com/boostorg/regression/develop/src'
script_remote = 'http://www.boost.org/doc/libs/1_57_0/tools/regression/src'
Reran run.py.
This time I was able to download the files
% ls -l boost_regression_src
total 174
-rw-rw-r-- 1 akumta staff 22459 Dec 11 19:21 collect_and_upload_logs.py
-rw-rw-r-- 1 akumta staff 23354 Dec 11 19:21 process_jam_log.py
-rw-rw-r-- 1 akumta staff 41338 Dec 11 19:21 regression.py
Does this mean there might be an issue on on the server side, that is with
https://raw.githubusercontent.com ?
Thanks,
Aparna
----- Original Message -----
From: aparna.kumta@oracle.com
To: boost-testing@lists.boost.org
Sent: Thursday, December 11, 2014 1:19:29 PM GMT -08:00 US/Canada Pacific
Subject: Re: [Boost-testing] proxy issues with downloading regression scripts
No, the quotes do not seem to help.
I modified run.py to just print the proxy as follows:
%cat run.py
#!/usr/bin/python
# Copyright Rene Rivera 2007-2013
#
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
import os
import os.path
import shutil
import sys
import urllib
proxy = None
for a in sys.argv[1:]:
if a.startswith('--proxy='):
proxy = {'https' : a.split('=')[1] }
print '--- %s' %(proxy['https'])
%
%python run.py --runner=oracle --toolsets=sun --tag=develop --proxy=http://www-proxy.us.oracle.com:80
--- http://www-proxy.us.oracle.com:80
Now it prints the proxy!
Thanks,
Aparna
----- Original Message -----
From: grafikrobot@gmail.com
To: boost-testing@lists.boost.org
Sent: Thursday, December 11, 2014 12:13:44 PM GMT -08:00 US/Canada Pacific
Subject: Re: [Boost-testing] proxy issues with downloading regression scripts