<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Jun 6, 2016 at 11:57 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
In order to allow decent pre-testing before merging to next I had Jason write a shell script to talk to a Jenkins server and organize a Jenkins server to accept such tests with decent turn around. Little did I know how rigid Jenkins is in how it wants to do things; so the final result was just too cumbersome to deal with websites and job numbers ....<br>
<br>
I'd like us to try again this time with just ssh and simple scripts (Jenkins is just not suitable). From the user point of view one would be in a git branch such as<br>
<br>
~/Src/petsc (my-cool-branch=)<br>
$ ./bin/submittest options<br>
<br>
depending on options and a configuration file it would launch a series of tests on the local machine or any another machine you have ssh keys for. It could even have an option like --merge-to-next where in the tests it merges the branch into next automatically before running the tests. The jobs would all be run (even on the local machine) off of other clones so wouldn't interfere with your own work. By default it would run a few cases that usually mess up, a complex, a quad precision, a c++, a 64 bit integer etc. this will catch most basic errors.<br></blockquote><div><br></div><div>I like this very much. I would also be happy with just email responses, although I do not see why we don't just use the current filter for the nightly runs on it.</div><div>Just let me know what we have and I will start using it.</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The biggest API question I have is how to "get the results back to you". Should it email results from each job as it comes (or just failures), try to batch the results from all jobs together. Is email even always possible from the crazy machine it is sshing to? Do we have copy the results back from remote machines and put in some magic place you can read? How to tell you they are done? A text message? Update some website? I think I would be happy with an email on each failure (I can start fixing stuff right away) and a final email once all tests are done telling me they are all done. So I know the tests are all done). What about advanced things liking killing tests you've started because you already got a failure and fixed it and resubmitted. This could get complex; or not. I know, let's use XXX to do this.<br>
<span class="HOEnZb"><font color="#888888"><br>
Barry<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
> On Jun 6, 2016, at 4:44 PM, Matthew Knepley <<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>> wrote:<br>
><br>
> On Mon, Jun 6, 2016 at 7:08 PM, Satish Balay <<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>> wrote:<br>
> On Mon, 6 Jun 2016, Matthew Knepley wrote:<br>
><br>
> > On Mon, Jun 6, 2016 at 5:27 PM, Satish Balay <<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>> wrote:<br>
> ><br>
> > > Matt,<br>
> > ><br>
> > > Per integration workflow - all feature branches should be tested<br>
> > > locally (and be complete) - before merged to next [next is for<br>
> > > integration testing - not feature testing]<br>
> > ><br>
> > > You could have used (modified):<br>
> > ><br>
> > > config/examples/arch-linux-xsdk-dbg.py<br>
> > > config/examples/arch-osx-xsdk-opt.py<br>
> > ><br>
> > > Yeah - we don't have automatic 'feature branch test before integration<br>
> > > testing' workflow - so currently this has to be done manually.<br>
> ><br>
> ><br>
> > I don't really have the OS/compiler options available to test things<br>
> > exhaustively, so I am<br>
> > using next for this. I think this is acceptable right now.<br>
><br>
> Well then the feature is not yet ready for next - and could have<br>
> waited until it was ready.<br>
><br>
> I do nto agree here. Just because some Git nerd thinks that 'next' should be<br>
> that way does not mean it is what makes us most productive. I think we are way<br>
> more productive using the nightly tests as a way to discover bugs. I cannot waste<br>
> my personal time running a bunch of tests on my own slow laptop before pushing.<br>
><br>
> Matt<br>
><br>
> If it was for someone to use - then they could have used the<br>
> feature-branch..<br>
><br>
> The workflow requires the feature to be complete - and minimally<br>
> tested - before merge to next.. We do ocassionally take shortcuts -<br>
> but this sometimes this results in extended broken next...<br>
><br>
> Satish<br>
><br>
><br>
><br>
><br>
><br>
> --<br>
> What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
> -- Norbert Wiener<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div>
</div></div>