Boost logo

Boost Testing :

From: David Walthall (walthall_at_[hidden])
Date: 2008-05-08 11:50:29


Rene Rivera wrote:
> K. Noel Belcourt wrote:
>> Now I got a new error.
>>
     <error snipped>
>>
>> [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? Also there should be a "results/bjam.xml" file. Check
> that it's there and that it has some content.

Hi Rene,

I get a similar error as Noel. It looks like the problem is that
self.input[0] is an empty string. I think this would be fixed if the
line is changed to use self.input[1] since the non dashdash arguments
passed to BJamLog2Results are:
     run_type, self.regression_log
and run_type is set to '' just above to call to BJamLog2Results.

Here is the error:
...failed updating 95 targets...
...skipped 223 targets...
...updated 21025 targets...
...updated 1 target...
# Executing SVN command "svn --non-interactive info --xml
"C:\boost_testing\boost" >"C:\boost_testing\boost\svn_info.txt""
Traceback (most recent call last):
   File "run.py", line 60, in <module>
     runner(root)
   File "C:\boost_testing\tools_regression_src\regression.py", line 189,
in __init__
     self.main()
   File "C:\boost_testing\tools_regression_src\regression.py", line 526,
in main
     getattr(self,action_m)()
   File "C:\boost_testing\tools_regression_src\regression.py", line 492,
in command_regression
     self.command_collect_logs()
   File "C:\boost_testing\tools_regression_src\regression.py", line 415,
in command_collect_logs
     self.regression_log
   File "C:\boost_testing\tools_regression_src\process_jam_log.py", line
72, in __init__
     self.add_log()
   File "C:\boost_testing\tools_regression_src\process_jam_log.py", line
79, in add_log
     bjam_log = xml.dom.minidom.parse(self.input[0])
   File "C:\Python25\lib\xml\dom\minidom.py", line 1913, in parse
     return expatbuilder.parse(file)
   File "C:\Python25\lib\xml\dom\expatbuilder.py", line 922, in parse
     fp = open(file, 'rb')
IOError: [Errno 2] No such file or directory: ''

Here is the bjam command that was run:

C:\boost_testing\boost\status>"C:\boost_testing\tools_bjam\bin.ntx86\bjam.exe"
"-sBOOST_BUILD_PATH=C:\boost_testing;C:\boost_testing\tools_bb"
"-sBOOST_ROOT=C:\boost_testing\boost" "--boost=C:\boost_testing\boost"
"--boost-build=C:\boost_testing\tools_bb" "--debug-configuration" -l300
msvc-7.1 -d1 --dump-tests --verbose-test
"--build-dir=C:\boost_testing\results"
"--out-xml=C:\boost_testing\results\bjam.xml"

In addition, results\bjam.xml is present and has test result data in it.

David


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