[petsc-dev] I think the test system is broken in master

Balay, Satish balay at mcs.anl.gov
Wed Oct 23 16:10:48 CDT 2019


On Wed, 23 Oct 2019, Balay, Satish via petsc-dev wrote:

> On Wed, 23 Oct 2019, Matthew Knepley via petsc-dev wrote:
> 
> > On Wed, Oct 23, 2019 at 4:20 PM Balay, Satish <balay at mcs.anl.gov> wrote:
> > 
> > I am not saying the master branch tests are failing. I am saying that
> > running the
> > test system with REPLACE=1 is no longer working correctly.
> 
> ok.
> 
> > > On Wed, 23 Oct 2019, Matthew Knepley via petsc-dev wrote:
> > >
> > > > I just rebased my branch on master, and now with REPLACE=1 I am getting
> > > >
> > > > not ok diff-ksp_ksp_tutorials-ex70_fetidp # Error code: 1
> > > > #       1,2d0
> > > > #       <   DMSWARM_PIC: Using method CellDM->LocatePoints
> > > > #       <   DMSWARM_PIC: Using method CellDM->GetNeigbors
> > > > #       mv'ing ex70_fetidp.tmp -->
> > > >
> > > /var/folders/hk/tc1pd0g57l78rpt0lttc1sfh0000gn/T/petscdiff.XXXXXX.fjHMBkGr
> 
> the destination of the 'mv' is wrong. So likely a bug in REPLACE wrt testset
> [as non-testset example is working fine for me]

Actually the issue is with filter_output. And since 'mv' is done by petscdiff - it doesn't really work here..

"filter_output: grep -v atomic" gives: diff-ksp_ksp_tutorials-ex70_fetidp.sh
grep -v atomic /home/balay/petsc/src/ksp/ksp/examples/tutorials/output/ex70_fetidp.out | /home/balay/petsc/lib/petsc/bin/petscdiff -m - ex70_fetidp.tmp > diff-runex70_fetidp.out 2> diff-runex70_fetidp.out

[without filter_output:]

/home/balay/petsc/lib/petsc/bin/petscdiff -m /home/balay/petsc/src/ksp/ksp/examples/tutorials/output/ex70_fetidp.out ex70_fetidp.tmp > diff-runex70_fetidp.out 2> diff-runex70_fetidp.out


Perhaps "filter_output" codepath should be skippled when REPLACE=1 is specified [while invoking the diff]..

Satish

> 
> [and not something that recently broke - so rebase with latest master
> was not a factor - as v3.12 also has this breakage]
> 
> Scott might have to take a look at this..
> 
> Satish
> 



More information about the petsc-dev mailing list