Open MPI logo

MTT Devel Mailing List Archives

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

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

Hi guys,

There is a race condition in SCM, Mercurial module when used from MPI GET

- scm_post_copy hook can be started before MPI GET completed copy of fetched
tree into install location.
- 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?

---------------- from the mtt -d -v output ---------------------

copytree running post_copy command:

>> copytree finished copying

Please suggest.