Boost logo

Boost Testing :

Subject: Re: [Boost-testing] proxy issues with downloading regression scripts
From: Aparna Kumta (aparna.kumta_at_[hidden])
Date: 2015-10-16 15:26:14


On 10/16/15 11:56, Blower, Melanie wrote:
> Aparna, Can you share with me how you solved your proxy problem? I stopped work on this (plenty of other stuff to do!) but when I try again today I am have problems out of the box,
Melanie,
  I had to work around this issue by using 'wget' command to copy the
*.py (run.py regression.py collect_and_upload_logs.py
process_jam_log.py) files.

Then when I invoke
python run.py ...
  I use '--skip-script-download'

This prevents downloading the *.py files mentioned above.

Thanks,

Aparna

>
> --- http://proxy-us.intel.com:911
> Traceback (most recent call last):
> File "./run.py", line 70, in <module>
> from regression import runner
> File "/localext3/mblower/sandbox/_boost_runner-proxy-s/boost_regression_src/regression.py", line 1
> <HTML><HEAD>
> ^
> SyntaxError: invalid syntax
>
> -----Original Message-----
> From: Boost-Testing [mailto:boost-testing-bounces_at_[hidden]] On Behalf Of Aparna Kumta
> Sent: Friday, December 12, 2014 1:28 PM
> To: Running Boost regression tests
> Subject: Re: [Boost-testing] proxy issues with downloading regression scripts
>
> Melanie, it is comforting to know that I am not the only one seeing this issue :-).
>
> Thanks,
>
> Aparna
>
>
>
> On 12/12/14 06:26, Blower, Melanie wrote:
>> I also got replies like Aparna when I tried to use the run.py script that I downloaded from the boost url (not the new beta version). I couldn't get the proxy settings to work on the run.py invocation, but when I used proxy settings in ~/.subversion/servers some of the checkout was successful but other things failed subsequently. I'll try the beta run.py and use these directions.
>> --Melanie
>>
>> -----Original Message-----
>> From: Boost-Testing [mailto:boost-testing-bounces_at_[hidden]] On
>> Behalf Of Niklas Angare
>> Sent: Friday, December 12, 2014 5:05 AM
>> To: boost-testing_at_[hidden]
>> Subject: Re: [Boost-testing] proxy issues with downloading regression
>> scripts
>>
>> "Aparna Kumta"<aparna.kumta_at_[hidden]> wrote:
>>> 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
>> ...
>>> Does this mean there might be an issue on on the server side, that is
>>> with https://raw.githubusercontent.com ?
>> The critical difference is that the problematic one begins with https. Doing HTTPS (SSL) through a proxy is no simple matter. Your IT folks' assertion that it should work if it works in the browser is almost certainly false for HTTPS.
>>
>> Since you're having so much trouble with the proxy, you should simply patch your run.py to replace https with http.
>>
>> Regards,
>>
>> Niklas Angare
>>
>>
>>
>> _______________________________________________
>> Boost-Testing mailing list
>> Boost-Testing_at_[hidden]
>> http://lists.boost.org/mailman/listinfo.cgi/boost-testing
>> _______________________________________________
>> Boost-Testing mailing list
>> Boost-Testing_at_[hidden]
>> http://lists.boost.org/mailman/listinfo.cgi/boost-testing
> _______________________________________________
> Boost-Testing mailing list
> Boost-Testing_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-testing
> _______________________________________________
> Boost-Testing mailing list
> Boost-Testing_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-testing


Boost-testing list run by mbergal at meta-comm.com