Good point. If the mtt client couldn't contact the
database, then Test Builds and Test Runs will not contain
their required mpi_install and test_build ID's (you'll see
FOREIGN KEY constraint errors in the output).
Not being able to contact the database is an Abort condition
at startup, but we need to sit in a waiting loop if we can't
get these prior phase ID's, right?
OR to avoid the waiting loop *and* make it robust, we could
point to a filename containing the data of a prior phase
submission in the absence of database connectivity. Then we
would need to add logic to mtt-submit so that we re-submit
prior phases in cases of missing prior phase ID's.
On Thu, Mar/01/2007 01:20:53PM, Jeff Squyres wrote:
> Ethan -
> Will this work to submit results for phases that don't have
> corresponding prior phase IDs?
> I.e., if I did an MPI install, Test build, and Test run phases -- and
> none of them were successfully submitted -- will submitted the test
> build/run data work, since they don't have a corresponding ID for the
> MPI install phase?
> On Mar 1, 2007, at 12:40 PM, Ethan Mallove wrote:
> > I just added a client/mtt-submit script to the mtt/trunk SVN
> > repository which will help you. You'll need to use it like
> > this:
> > $ client/mtt-submit -f '/directory/where/results/are/*.txt' -g -u
> > cisco -p <cisco-password>
> > /directory/where/results/are/ is specified in your INI file
> > as mttdatabase_debug_filename.
> > CAUTION: Use this script with care! For example, you could
> > end up with duplicate test results in the database if you
> > used mtt-submit twice on the same file.
> > -Ethan
> > On Thu, Mar/01/2007 08:40:17AM, Bill D'amico wrote:
> >> We had a proxy server fail during the night and may have had some
> >> results get lost. Jeff asked me to check for existence of a
> >> resubmission script - is there one, and if so where is it?
> >> --
> >> Bill D'Amico
> >> bdamico_at_[hidden]
> >> Server virtualization Business Unit
> >> References
> >> 1. mailto:bdamico_at_[hidden]
> >> _______________________________________________
> >> mtt-users mailing list
> >> mtt-users_at_[hidden]
> >> http://www.open-mpi.org/mailman/listinfo.cgi/mtt-users
> > _______________________________________________
> > mtt-users mailing list
> > mtt-users_at_[hidden]
> > http://www.open-mpi.org/mailman/listinfo.cgi/mtt-users
> Jeff Squyres
> Server Virtualization Business Unit
> Cisco Systems
> mtt-users mailing list