Help in setupping regression tests on ARM

I've successfully run nests on x86, but on ARM I've got the following message: # Running Boost.Build tests Traceback (most recent call last): File "run.py", line 60, in <module> runner(root) File "/home/pi/boost_maintain/run_trunk/tools_regression_src/regression.py", line 205, in __init__ self.main() File "/home/pi/boost_maintain/run_trunk/tools_regression_src/regression.py", line 566, in main getattr(self,action_m)() File "/home/pi/boost_maintain/run_trunk/tools_regression_src/regression.py", line 531, in command_regression self.command_test() File "/home/pi/boost_maintain/run_trunk/tools_regression_src/regression.py", line 329, in command_test self.command_test_boost_build() File "/home/pi/boost_maintain/run_trunk/tools_regression_src/regression.py", line 369, in command_test_boost_build "boost/bin.v2/libs/any/test/any_test.test")); OSError: [Errno 2] No such file or directory: '/home/pi/boost_maintain/run_trunk/results/boost/bin.v2/libs/any/test/any_test.test' I try to run tests on RaspberryPi, it is armhf. Compilller is GCC-4.6.3, 25Gb of free space on SD card. It looks strange, that I see only a few folders in /home/pi/boost_maintain/run_trunk/results/boost/bin.v2/libs/ (there are only 6 folders) -- Best regards, Antony Polukhin

2013/1/24 Vladimir Prus <ghost@cs.msu.su>:
Tried to run b2 in conversion/test ... All tests passed successfully. May be it is running out of time? I've set timeout it to bigger value. and started the run.py. I'll tell about the results when the script finish. -- Best regards, Antony Polukhin

I've localized the problem. System was running out of memory (512MB, half of which was 'eaten' by GUI), so I disabled GUI and made swap partition bigger: dd if=/dev/zero of=/path/to/swapfile bs=1M count=4096 # For 4GB swap file sudo rasp-config # disable desktop at boot and restart sudo -s mkswap -f /path/to/swapfile swapon /path/to/swapfile It's now compiling tests (this stage may take a few more days because of swapping and slow single core CPU). Thanks for advices, the gave me ideas where to search for a problem! -- Best regards, Antony Polukhin

Now it fails with the following error: # Running Boost.Build tests # Using bjam binary in '/home/pi/boost_maintain/run_trunk/tools_bjam/bin.linuxarm' # Getting test case results out of "/home/pi/boost_maintain/run_trunk/results/bjam.log"... terminate called after throwing an instance of 'std::runtime_error' what(): locale::facet::_S_create_c_locale name not valid Aborted Traceback (most recent call last): File "run.py", line 60, in <module> runner(root) File "/home/pi/boost_maintain/run_trunk/tools_regression_src/regression.py", line 205, in __init__ self.main() File "/home/pi/boost_maintain/run_trunk/tools_regression_src/regression.py", line 566, in main getattr(self,action_m)() File "/home/pi/boost_maintain/run_trunk/tools_regression_src/regression.py", line 531, in command_regression self.command_test() File "/home/pi/boost_maintain/run_trunk/tools_regression_src/regression.py", line 333, in command_test self.command_test_process() File "/home/pi/boost_maintain/run_trunk/tools_regression_src/regression.py", line 393, in command_test_process self.regression_log ) File "/home/pi/boost_maintain/run_trunk/tools_regression/xsl_reports/utils/checked_system.py", line 21, in checked_system raise Exception( 'Command sequence "%s" failed with return code %d' % ( commands, rc ) ) Exception: Command sequence "['"/home/pi/boost_maintain/run_trunk/tools_regression/build/bin/gcc-4.6/release/process_jam_log" "/home/pi/boost_maintain/run_trunk/results" <"/home/pi/boost_maintain/run_trunk/results/bjam.log"']" failed with return code 34304 Any ideas how to fix it? -- Best regards, Antony Polukhin
participants (2)
-
Antony Polukhin
-
Vladimir Prus