|
Boost Testing : |
From: K. Noel Belcourt (kbelco_at_[hidden])
Date: 2008-05-07 17:03:43
On May 7, 2008, at 3:00 PM, Rene Rivera wrote:
> K. Noel Belcourt wrote:
>> On May 7, 2008, at 10:25 AM, K. Noel Belcourt wrote:
>>
>>> On May 7, 2008, at 9:18 AM, Rene Rivera wrote:
>>>
>>>> K. Noel Belcourt wrote:
>>>>> On May 6, 2008, at 10:06 AM, K. Noel Belcourt wrote:
>>>>>
>>>>>> On May 4, 2008, at 5:28 PM, Rene Rivera wrote:
>>>>>>
>>>>>>> If you fit the above reply on the list which tester IDs you
>>>>>>> will be
>>>>>>> switching to the new PJL, so that people don't collide. To
>>>>>>> switch two
>>>>>>> things are needed:
>>>>>>>
>>>>>>> 1. Get the latest version of "run.py" if you don't update it as
>>>>>>> part of
>>>>>>> your testing
>>>>>>> <http://svn.boost.org/svn/boost/trunk/tools/regression/src/
>>>>>>> run.py>.
>>>>>>>
>>>>>>> 2. Add, or replace, "--pjl-toolset=python" when running the
>>>>>>> tests.
>>>>>> I could switch over the Sandia-gcc results since there's other
>>>>>> testers running gcc on linux. Shall I set this up for tonight's
>>>>>> runs?
>>>>> Looks like we had a problem with Sandia-gcc after the tests
>>>>> finished
>>>>> running. Any idea what happened?
>>>> I suspect you didn't update your run.py script... I mentioned you
>>>> had to
>>>> in the first email ;-)
>>
>> Now I got a new error.
>>
>> ...failed updating 723 targets...
>> ...skipped 2001 targets...
>> ...updated 79353 targets...
>> ...updated 1 target...
>> # Executing SVN command "svn --non-interactive info --xml "/var/
>> scratch2/boost/boost" >"/var/scratch2/boost/boost/svn_info.txt""
>> svn: warning: cannot set LC_CTYPE locale
>> svn: warning: environment variable LANG is en_US.UTF-8
>> svn: warning: please check that your locale name is correct
>> Traceback (most recent call last):
>> File "run.py", line 60, in ?
>> runner(root)
>> File "/var/scratch2/boost/tools_regression_src/regression.py",
>> line 189, in __init__
>> self.main()
>> File "/var/scratch2/boost/tools_regression_src/regression.py",
>> line 526, in main
>> getattr(self,action_m)()
>> File "/var/scratch2/boost/tools_regression_src/regression.py",
>> line 492, in command_regression
>> self.command_collect_logs()
>> File "/var/scratch2/boost/tools_regression_src/regression.py",
>> line 406, in command_collect_logs
>> BJamLog2Results([
>> File "/var/scratch2/boost/tools_regression_src/
>> process_jam_log.py", line 72, in __init__
>> self.add_log()
>> File "/var/scratch2/boost/tools_regression_src/
>> process_jam_log.py", line 79, in add_log
>> bjam_log = xml.dom.minidom.parse(self.input[0])
>> File "/usr/local/python/2.3.5/lib/python2.3/xml/dom/minidom.py",
>> line 1919, in parse
>> return expatbuilder.parse(file)
>> File "/usr/local/python/2.3.5/lib/python2.3/xml/dom/
>> expatbuilder.py", line 922, in parse
>> fp = open(file, 'rb')
>> IOError: [Errno 2] No such file or directory: ''
>>
>> [kbelco_at_sahp7645 boost]$ ls results/
>> bjam.xml boost
>>
>> So does this mean I need to rebuild python to have xml/dom?
>
> I don't think so, since AFAIK it's the expat minidom parsing is built
> in. So I'm not sure if you can turn if off when building Python. The
> error doesn't sound like a problem there. It looks more like it
> doesn't
> have a file to parse, the file being "bjam.xml". Way up near the
> top of
> the log output there's a line that says the bjam command it ran. Could
> you post that?
# Searching for "bjam" in "/var/scratch2/boost/tools_bjam"...
# bjam succesfully built in "/var/scratch2/boost/tools_bjam/
bin.linuxx86_64/bjam" location
# Making "/var/scratch2/boost/results" directory...
# Starting tests ("/var/scratch2/boost/tools_bjam/bin.linuxx86_64/
bjam" "-sBOOST_BUILD_PATH=/var/scratch2/boost:/var/scratch2/boost/
tools_bb" "-sBOOST_ROOT=/var/scratch2/boost/boost" "--boost=/var/
scratch2/boost/boost" "--boost-build=/var/scratch2/boost/tools_bb" "--
debug-configuration" -l300 gcc-3.4.3 gcc-4.0.1 gcc-4.2.1 gcc-4.3.0
gcc-4.3.0_gnu++0x -d1 --dump-tests --verbose-test -j4 "--build-dir=/
var/scratch2/boost/results" "--out-xml=/var/scratch2/boost/results/
bjam.xml")...
> Also there should be a "results/bjam.xml" file. Check
> that it's there and that it has some content.
The results file is there and non-zero.
[kbelco_at_sahp7645 results]$ ls -lrt
total 337668
drwxrwxr-x 3 kbelco kbelco 4096 May 7 10:36 boost
-rw-rw-r-- 1 kbelco kbelco 345420239 May 7 13:27 bjam.xml