Hi Ethan, Thanks for your answer!
I run client/mtt with debug model, and found mtt script exited in following code section of lib/MTT/Module.pm.
32 my $str = "require $module";
33 Debug("Evaluating: $str\n");
34 my $check = eval $str;
When require error occured, $str was set to "MTT::Test::Specify::Simple
Simple". This is not a valid Perl module, so mtt failed. I had no time to probe why/where such value was got. I just modified Module.pm to work around the issue.
[root@host MTT]# !diff
diff primary/Module.pm ./lib/MTT/Module.pm
31a32,38
> if ($module =~ m/Simple/)
> {
> if (length($module) > 26)
> {
> ($module) = $module =~ m/(.*::Simple)/;
> }
> }
With this workaround, $str was changed back to "MTT::Test::Specify::Simple", and mtt script could continue. Ater all the tests finished, I found some MTT cases failed. For those failed cases, who will probe it? Or how can I probe them? Here list one section that returned error.
| command | mpirun -np 2 --mca btl tcp,self --prefix /LTC/MTT/installs/Urs4/install |
| | t_win |
| duration | 0 seconds |
| exit_value | 1 |
| result_message | Failed; exit status: 1 |
| result_stdout | WIN_BASIC: passed |
| | WIN_OVERLAP: passed |
| | WIN_OVERLAP2: passed |
| | WIN_OVERLAP3: passed |
| | LOCK_EPOCH: passed |
| | FENCE_EPOCH: failed |
| | MISC: passed |
| | POST_EPOCH: passed |
| | WIN_BASIC: passed |
| | WIN_OVERLAP: passed |
| | WIN_OVERLAP2: passed |
| | WIN_OVERLAP3: passed |
| | LOCK_EPOCH: passed |
| | FENCE_EPOCH: passed |
| | MISC: passed |
| | POST_EPOCH: passed |
| | t_win: FAILED 1 |
| start_timestamp | Tue May 13 04:54:59 2008 |
| test_name | t_win |
| variant | 2 |
Wen Hao Wang (ÍõÎÄê»)
Software Engineer
IBM China Software Development Laboratory
Email: wangwhao@cn.ibm.com
Tel: 86-10-82451055
Fax: 86-10-82782244 ext. 2312
Address: 5/F, Deshi Building, No.9 East Road Shangdi, Haidian District, Beijing, 100085, P.R.China
Ethan Mallove <ethan.mallove@sun.com>
Sent by: mtt-users-bounces@open-mpi.org 2008-05-12 22:33
|
|