Boost logo

Boost Testing :

From: K. Noel Belcourt (kbelco_at_[hidden])
Date: 2007-10-30 17:05:51


On Oct 29, 2007, at 7:53 PM, Rene Rivera wrote:

> K. Noel Belcourt wrote:
>> On Oct 29, 2007, at 5:15 PM, Rene Rivera wrote:
>>
>>> K. Noel Belcourt wrote:
>>>> IOError: [Errno socket error] (110, 'Connection timed out')
>>> Hm, I'd suspect something with the proxy. Since the bare run.py
>>> doesn't
>>> use proxy. Instead it relies on the the usually easy read access for
>>> HTTP. I'm guessing your firewall doesn't even allow HTTP/GET without
>>> going through the proxy?
>>
>> Yes.
>
> OK then :-) I just made some minor edits to run.py to make it use the
> --proxy option. Tell me if it works.

Hi Rene,

The fix for the proxy appears to be okay but I found this error after
the tests completed running (in the post processing phase).

# Searching for "process_jam_log" in "/var/scratch2/boost/
tools_regression/build"...
# process_jam_log succesfully built in "/var/scratch2/boost/
tools_regression/build/bin/gcc-3.4.3/release/process_jam_log" location
# Making "/var/scratch2/boost/results" directory...
# Starting tests ("/var/scratch2/boost/tools_bjam/bin.linuxx86/bjam"
"-sBOOST_BUILD_PATH=/var/scratch2/boost:/var/scratch2/boost/tools_bb"
"-sBOOST_ROOT=/var/scratch2/boost/boost" "--boost=/var/scratch2/boost/
boost" -l300 gcc-3.4.3 gcc-4.0.1 gcc-4.2.1 -d2 --dump-tests -j4 -
l300 "--build-dir=/var/scratch2/boost/results" >>"/var/scratch2/boost/
results/bjam.log" 2>&1)...

# Getting test case results out of "/var/scratch2/boost/results/
bjam.log"...
boost_root: /var/scratch2/boost/boost
locate_root: /var/scratch2/boost/results
*****Warning - can't open output file: /var/scratch2/boost/results/p/
bin/var/scratch2/boost/results/boost/bin.v2/libs/python/test/
builtin_converters.test/gcc-3.4.3/debug/test_log.xml

The problem here is that the path to the test_log.xml has an invalid
path prepended to it (/var/scratch2/boost/results/p/bin) is
invalid. The rest of the path is okay.

Here's the rest of the output.

*****Warning - can't open output file: /var/scratch2/boost/results/p/
bin/var/scratch2/boost/results/boost/bin.v2/libs/python/test/
map_indexing_suite.test/gcc-3.4.3/debug/test_log.xml
*****Warning - can't open output file: /var/scratch2/boost/results/p/
bin/var/scratch2/boost/results/boost/bin.v2/libs/python/test/
builtin_converters.test/gcc-4.0.1/debug/test_log.xml
*****Warning - can't open output file: /var/scratch2/boost/results/p/
bin/var/scratch2/boost/results/boost/bin.v2/libs/python/test/
map_indexing_suite.test/gcc-4.0.1/debug/test_log.xml
*****Warning - can't open output file: /var/scratch2/boost/results/p/
bin/var/scratch2/boost/results/boost/bin.v2/libs/python/test/
builtin_converters.test/gcc-4.2.1/debug/test_log.xml
*****Warning - can't open output file: /var/scratch2/boost/results/p/
bin/var/scratch2/boost/results/boost/bin.v2/libs/python/test/
map_indexing_suite.test/gcc-4.2.1/debug/test_log.xml
no errors detected
# Executing SVN command "svn --non-interactive info --xml "/var/
scratch2/boost/boost" >/var/scratch2/boost/boost/svn_info.txt"
Subcommand 'info' doesn't accept option '--non-interactive'
Type 'svn help info' for usage.
Traceback (most recent call last):
   File "run.py", line 51, in ?
     runner(root)
   File "/var/scratch2/boost/tools_regression_src/regression.py",
line 180, in __init__
     self.main()
   File "/var/scratch2/boost/tools_regression_src/regression.py",
line 466, in main
     getattr(self,action_m)()
   File "/var/scratch2/boost/tools_regression_src/regression.py",
line 432, in command_regression
     self.command_collect_logs()
   File "/var/scratch2/boost/tools_regression_src/regression.py",
line 352, in command_collect_logs
     self.svn_command( 'info --xml "%s" >%s' %
(self.boost_root,svn_info_file) )
   File "/var/scratch2/boost/tools_regression_src/regression.py",
line 663, in svn_command
     raise Exception( 'SVN command "%s" failed with code %d' % ( cmd,
rc ) )
Exception: SVN command "svn --non-interactive info --xml "/var/
scratch2/boost/boost" >/var/scratch2/boost/boost/svn_info.txt" failed
with code 256

Thanks.

-- Noel


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