Open MPI logo

MTT Devel Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all MTT Devel mailing list

Subject: Re: [MTT devel] race condition in SCM module
From: Mike Dubman (mike.ompi_at_[hidden])
Date: 2011-02-18 02:06:23


1. post_copy fails because does not find some files which should be already
copied.
2. In the mtt debug output, (attached in original post) you can see that
"post_copy" is executed before "copytree" has finished.

>> copytree running post_copy command:
...
...

>> copytree finished copying

On Fri, Feb 18, 2011 at 12:23 AM, Jeff Squyres <jsquyres_at_[hidden]> wrote:

> On Feb 10, 2011, at 2:36 PM, Mike Dubman wrote:
>
> > There is a race condition in SCM, Mercurial module when used from MPI GET
> phase:
> >
> > - scm_post_copy hook can be started before MPI GET completed copy of
> fetched tree into install location.
>
> How have you verified this?
>
> > - This leads to mtt failure, because post_copy starts too early (tree was
> not copied yet) and fails.
> > - adding sleeps to post_copy hook - helps.
> > - does copytree used during mtt get phase have async behave?
>
> No, it shouldn't. Everything is serial.
>
> >
> >
> > ---------------- from the mtt -d -v output ---------------------
> >
> > copytree running post_copy command:
> > ...
> > ...
> >
> > >> copytree finished copying
> >
> ----------------------------------------------------------------------------
> >
> >
> > Please suggest.
> >
> > Thanks
> >
> > M
> >
> >
> >
> > _______________________________________________
> > mtt-devel mailing list
> > mtt-devel_at_[hidden]
> > http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel
>
>
> --
> Jeff Squyres
> jsquyres_at_[hidden]
> For corporate legal information go to:
> http://www.cisco.com/web/about/doing_business/legal/cri/
>
>
> _______________________________________________
> mtt-devel mailing list
> mtt-devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel
>