[petsc-dev] Wrong "failed tests" command

2019-10-21 Thread Pierre Jolivet via petsc-dev
Hello,
In this pipeline build log, https://gitlab.com/petsc/petsc/-/jobs/326525063 
, it shows that I can rerun 
failed tests using the following command:
/usr/bin/make -f gmakefile test globsearch='mat_tests-ex128_1 
mat_tests-ex37_nsize-2_mat_type-mpibaij_mat_block_size 
mat_tests-ex37_nsize-1_mat_type-mpibaij_mat_block_size mat_tests-ex128_2 
mat_tests-ex37_nsize-2_mat_type-baij_mat_block_size 
mat_tests-ex37_nsize-1_mat_type-baij_mat_block_size mat_tests-ex30_4 
mat_tests-ex37_nsize-2_mat_type-sbaij_mat_block_size mat_tests-ex18_* 
mat_tests-ex76_3 mat_tests-ex37_nsize-2_mat_type-mpisbaij_mat_block_size 
mat_tests-ex37_nsize-1_mat_type-sbaij_mat_block_size’

If used, this command does not run any of the mat_test-ex37* tests.

Thanks,
Pierre

Re: [petsc-dev] Wrong "failed tests" command

2019-10-21 Thread Smith, Barry F. via petsc-dev

  May need more work on the tester infrastructure?

> On Oct 21, 2019, at 12:30 PM, Pierre Jolivet via petsc-dev 
>  wrote:
> 
> Hello,
> In this pipeline build log, https://gitlab.com/petsc/petsc/-/jobs/326525063, 
> it shows that I can rerun failed tests using the following command:
> /usr/bin/make -f gmakefile test globsearch='mat_tests-ex128_1 
> mat_tests-ex37_nsize-2_mat_type-mpibaij_mat_block_size 
> mat_tests-ex37_nsize-1_mat_type-mpibaij_mat_block_size mat_tests-ex128_2 
> mat_tests-ex37_nsize-2_mat_type-baij_mat_block_size 
> mat_tests-ex37_nsize-1_mat_type-baij_mat_block_size mat_tests-ex30_4 
> mat_tests-ex37_nsize-2_mat_type-sbaij_mat_block_size mat_tests-ex18_* 
> mat_tests-ex76_3 mat_tests-ex37_nsize-2_mat_type-mpisbaij_mat_block_size 
> mat_tests-ex37_nsize-1_mat_type-sbaij_mat_block_size’
> 
> If used, this command does not run any of the mat_test-ex37* tests.
> 
> Thanks,
> Pierre



Re: [petsc-dev] Wrong "failed tests" command

2019-10-21 Thread Jed Brown via petsc-dev
Yeah, it's missing the numeric block size.  The following works

/usr/bin/make -f gmakefile test globsearch='mat_tests-ex128_1 
mat_tests-ex37_nsize-2_mat_type-mpibaij_mat_block_size-1'

Also, globsearch can be replaced by search in this usage.

"Smith, Barry F. via petsc-dev"  writes:

>   May need more work on the tester infrastructure?
>
>> On Oct 21, 2019, at 12:30 PM, Pierre Jolivet via petsc-dev 
>>  wrote:
>> 
>> Hello,
>> In this pipeline build log, https://gitlab.com/petsc/petsc/-/jobs/326525063, 
>> it shows that I can rerun failed tests using the following command:
>> /usr/bin/make -f gmakefile test globsearch='mat_tests-ex128_1 
>> mat_tests-ex37_nsize-2_mat_type-mpibaij_mat_block_size 
>> mat_tests-ex37_nsize-1_mat_type-mpibaij_mat_block_size mat_tests-ex128_2 
>> mat_tests-ex37_nsize-2_mat_type-baij_mat_block_size 
>> mat_tests-ex37_nsize-1_mat_type-baij_mat_block_size mat_tests-ex30_4 
>> mat_tests-ex37_nsize-2_mat_type-sbaij_mat_block_size mat_tests-ex18_* 
>> mat_tests-ex76_3 mat_tests-ex37_nsize-2_mat_type-mpisbaij_mat_block_size 
>> mat_tests-ex37_nsize-1_mat_type-sbaij_mat_block_size’
>> 
>> If used, this command does not run any of the mat_test-ex37* tests.
>> 
>> Thanks,
>> Pierre


Re: [petsc-dev] Wrong "failed tests" command

2019-10-21 Thread Scott Kruger via petsc-dev




When we created the map of directory+test+variants to targets we did not 
use enough delimiters to allow the inverse map to be determined so 
creating the proper list of target names is an ill-posed problem.   The 
globsearch was a way of trying to just catch more of them, but obviously 
it still has a bug.  I'll look at it.


Scott


On 10/21/19 12:47 PM, Jed Brown wrote:

Yeah, it's missing the numeric block size.  The following works

/usr/bin/make -f gmakefile test globsearch='mat_tests-ex128_1 
mat_tests-ex37_nsize-2_mat_type-mpibaij_mat_block_size-1'

Also, globsearch can be replaced by search in this usage.

"Smith, Barry F. via petsc-dev"  writes:


   May need more work on the tester infrastructure?


On Oct 21, 2019, at 12:30 PM, Pierre Jolivet via petsc-dev 
 wrote:

Hello,
In this pipeline build log, https://gitlab.com/petsc/petsc/-/jobs/326525063, it 
shows that I can rerun failed tests using the following command:
/usr/bin/make -f gmakefile test globsearch='mat_tests-ex128_1 
mat_tests-ex37_nsize-2_mat_type-mpibaij_mat_block_size 
mat_tests-ex37_nsize-1_mat_type-mpibaij_mat_block_size mat_tests-ex128_2 
mat_tests-ex37_nsize-2_mat_type-baij_mat_block_size 
mat_tests-ex37_nsize-1_mat_type-baij_mat_block_size mat_tests-ex30_4 
mat_tests-ex37_nsize-2_mat_type-sbaij_mat_block_size mat_tests-ex18_* 
mat_tests-ex76_3 mat_tests-ex37_nsize-2_mat_type-mpisbaij_mat_block_size 
mat_tests-ex37_nsize-1_mat_type-sbaij_mat_block_size’

If used, this command does not run any of the mat_test-ex37* tests.

Thanks,
Pierre


--
Tech-X Corporation   kru...@txcorp.com
5621 Arapahoe Ave, Suite A   Phone: (720) 974-1841
Boulder, CO 80303Fax:   (303) 448-7756


Re: [petsc-dev] Wrong "failed tests" command

2019-10-21 Thread Jed Brown via petsc-dev
Switch to search (we really don't need to invoke Python for this) and slap a % 
on the end of anything where there might be extra.

make -f gmakefile test globsearch='mat_tests-ex128_1 
mat_tests-ex37_nsize-2_mat_type-mpibaij_mat_block_size%'

Scott Kruger  writes:

> When we created the map of directory+test+variants to targets we did not 
> use enough delimiters to allow the inverse map to be determined so 
> creating the proper list of target names is an ill-posed problem.   The 
> globsearch was a way of trying to just catch more of them, but obviously 
> it still has a bug.  I'll look at it.
>
> Scott
>
>
> On 10/21/19 12:47 PM, Jed Brown wrote:
>> Yeah, it's missing the numeric block size.  The following works
>> 
>> /usr/bin/make -f gmakefile test globsearch='mat_tests-ex128_1 
>> mat_tests-ex37_nsize-2_mat_type-mpibaij_mat_block_size-1'
>> 
>> Also, globsearch can be replaced by search in this usage.
>> 
>> "Smith, Barry F. via petsc-dev"  writes:
>> 
>>>May need more work on the tester infrastructure?
>>>
 On Oct 21, 2019, at 12:30 PM, Pierre Jolivet via petsc-dev 
  wrote:

 Hello,
 In this pipeline build log, 
 https://gitlab.com/petsc/petsc/-/jobs/326525063, it shows that I can rerun 
 failed tests using the following command:
 /usr/bin/make -f gmakefile test globsearch='mat_tests-ex128_1 
 mat_tests-ex37_nsize-2_mat_type-mpibaij_mat_block_size 
 mat_tests-ex37_nsize-1_mat_type-mpibaij_mat_block_size mat_tests-ex128_2 
 mat_tests-ex37_nsize-2_mat_type-baij_mat_block_size 
 mat_tests-ex37_nsize-1_mat_type-baij_mat_block_size mat_tests-ex30_4 
 mat_tests-ex37_nsize-2_mat_type-sbaij_mat_block_size mat_tests-ex18_* 
 mat_tests-ex76_3 mat_tests-ex37_nsize-2_mat_type-mpisbaij_mat_block_size 
 mat_tests-ex37_nsize-1_mat_type-sbaij_mat_block_size’

 If used, this command does not run any of the mat_test-ex37* tests.

 Thanks,
 Pierre
>
> -- 
> Tech-X Corporation   kru...@txcorp.com
> 5621 Arapahoe Ave, Suite A   Phone: (720) 974-1841
> Boulder, CO 80303Fax:   (303) 448-7756