2015-01-20 14:48 GMT+01:00 singh.janmejay <[email protected]>:
> This is very nice. > > In case of multiple-instances, $0 will still have the test-file name, isn't > it? Can't we always use $0 (including single case)? > > It looked like it didn't work all the time, probably due to the fact that I "source ..." some shell files. But I haven't yet looked deeper into it. > The travis build run off my PR seems to have failed with the exact same > pattern, but its working well on my Ubuntu testbox with the patch. > > When I can commit the new testbench, we can rerun the test and see if we get some more information. Rainer > @Thomas: can you please try this on your setup? > > On Tue, Jan 20, 2015 at 7:10 PM, Rainer Gerhards <[email protected] > > > wrote: > > > 2015-01-20 14:36 GMT+01:00 singh.janmejay <[email protected]>: > > > > > Does it automatically run with valgrind once it sees a failure? > > > > > > > > yeah, right now, it'll do three things (in that order): > > > > - get gdb full stacktrace > > - run under valgrind > > - run with debug output turned on under valgrind (in combined mode) > > > > I'll post a sample build when I got it fully working. > > > > We need to tweak the test shell scripts, because they need to tell the > diag > > system their name for the re-runs (if I can't find a simpler way to do > it). > > > > This covers all single-instance tests. Tests with multiple instances > would > > need more advanced logic, but at least instance 1 can be covered. > > > > Rainer > > > > I see > > > > > > +++echo re-running under valgrind control > > > > > > > > > If that is what it is, its super awesome. > > > > > > On Tue, Jan 20, 2015 at 7:02 PM, Rainer Gerhards < > > [email protected] > > > > > > > wrote: > > > > > > > 2015-01-20 14:30 GMT+01:00 singh.janmejay <[email protected] > >: > > > > > > > > > Fixed here: https://github.com/rsyslog/rsyslog/pull/214 > > > > > > > > > > > > > > I'll wait a moment with the merge so that I can complete my > auto-debug > > > > features inside the testbench. Looks like it is almost complete. But > we > > > > need to make some modifications to the tests. > > > > > > > > Another thing to note for future Ubuntu-12.04: it runs a patched > > version > > > of > > > > > json-c 0.9. > > > > > > > > > > > > > > noted > > > > > > > > Rainer > > > > > > > > > > > > > > On Tue, Jan 20, 2015 at 5:28 PM, Rainer Gerhards < > > > > [email protected] > > > > > > > > > > > wrote: > > > > > > > > > > > This is probably more useful: > > > > > > > > > > > > https://travis-ci.org/rsyslog/rsyslog/builds/47637367 > > > > > > > > > > > > The next builds will probably have less information as I am now > > back > > > to > > > > > > triggering this automatically... > > > > > > > > > > > > Rainer > > > > > > > > > > > > 2015-01-20 11:33 GMT+01:00 Rainer Gerhards < > > [email protected] > > > >: > > > > > > > > > > > > > 2015-01-20 11:23 GMT+01:00 singh.janmejay < > > > [email protected] > > > > >: > > > > > > > > > > > > > >> That will be very useful indeed. > > > > > > >> > > > > > > >> > > > > > > > That's an interim result, the first one that's partially > usable. > > > > > > > > > > > > > > https://travis-ci.org/rsyslog/rsyslog/builds/47629134 > > > > > > > > > > > > > > Better ones are upcoming, still working on it. But I thought > it's > > > > > useful > > > > > > > for you. > > > > > > > > > > > > > > Rainer > > > > > > > > > > > > > > > > > > > > >> On Tue, Jan 20, 2015 at 3:49 PM, Rainer Gerhards < > > > > > > >> [email protected]> > > > > > > >> wrote: > > > > > > >> > > > > > > >> > 2015-01-19 23:45 GMT+01:00 Thomas D. <[email protected]>: > > > > > > >> > > > > > > > >> > > Hi, > > > > > > >> > > > > > > > > >> > > Rainer wrote: > > > > > > >> > > > On all of my environments as well. That's one of those > > cases > > > > > where > > > > > > >> the > > > > > > >> > > > problem occurs in a very specific setting only. We now > > need > > > to > > > > > > find > > > > > > >> our > > > > > > >> > > > how to debug that under Travis. ... > > > > > > >> > > > > > > > > >> > > It is not Travis-specific. I see the same failure on my > > local > > > > > Ubuntu > > > > > > >> > 12.04 > > > > > > >> > > box I created to mirror Travis :) > > > > > > >> > > > > > > > > >> > > Clean Ubuntu 12.04.5... just run the same commands from > the > > > > > > >> ".travis.xml" > > > > > > >> > > file -> Reproducible. > > > > > > >> > > > > > > > > >> > > > > > > > >> > Well, what I tried to say on the phone was that it is > specific > > > to > > > > > "the > > > > > > >> > environment that is used by Travis". Of course, we can > mirror > > > > > > everything > > > > > > >> > travis does, but that's another burden to do continuously. > > > What I > > > > > am > > > > > > >> > currently trying instead is getting the testbench to > > > automatically > > > > > > emit > > > > > > >> > more error information into the log that's visible via > > Travis. I > > > > > think > > > > > > >> that > > > > > > >> > would be useful in many cases and maybe help solve such > issues > > > > > > quicker. > > > > > > >> > > > > > > > >> > I've already a ton of VMs of different platforms in > different > > > > > versions > > > > > > >> and > > > > > > >> > it really is no joy maintaining all that... > > > > > > >> > > > > > > > >> > Rainer > > > > > > >> > _______________________________________________ > > > > > > >> > rsyslog mailing list > > > > > > >> > http://lists.adiscon.net/mailman/listinfo/rsyslog > > > > > > >> > http://www.rsyslog.com/professional-services/ > > > > > > >> > What's up with rsyslog? Follow > https://twitter.com/rgerhards > > > > > > >> > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED > > by > > > a > > > > > > myriad > > > > > > >> > of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT > > POST > > > if > > > > > you > > > > > > >> > DON'T LIKE THAT. > > > > > > >> > > > > > > > >> > > > > > > >> > > > > > > >> > > > > > > >> -- > > > > > > >> Regards, > > > > > > >> Janmejay > > > > > > >> http://codehunk.wordpress.com > > > > > > >> _______________________________________________ > > > > > > >> rsyslog mailing list > > > > > > >> http://lists.adiscon.net/mailman/listinfo/rsyslog > > > > > > >> http://www.rsyslog.com/professional-services/ > > > > > > >> What's up with rsyslog? Follow https://twitter.com/rgerhards > > > > > > >> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED > by > > a > > > > > myriad > > > > > > >> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT > POST > > if > > > > you > > > > > > >> DON'T LIKE THAT. > > > > > > >> > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > rsyslog mailing list > > > > > > http://lists.adiscon.net/mailman/listinfo/rsyslog > > > > > > http://www.rsyslog.com/professional-services/ > > > > > > What's up with rsyslog? Follow https://twitter.com/rgerhards > > > > > > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a > > > > myriad > > > > > > of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST > if > > > you > > > > > > DON'T LIKE THAT. > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Regards, > > > > > Janmejay > > > > > http://codehunk.wordpress.com > > > > > _______________________________________________ > > > > > rsyslog mailing list > > > > > http://lists.adiscon.net/mailman/listinfo/rsyslog > > > > > http://www.rsyslog.com/professional-services/ > > > > > What's up with rsyslog? Follow https://twitter.com/rgerhards > > > > > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a > > > myriad > > > > > of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if > > you > > > > > DON'T LIKE THAT. > > > > > > > > > _______________________________________________ > > > > rsyslog mailing list > > > > http://lists.adiscon.net/mailman/listinfo/rsyslog > > > > http://www.rsyslog.com/professional-services/ > > > > What's up with rsyslog? Follow https://twitter.com/rgerhards > > > > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a > > myriad > > > > of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if > you > > > > DON'T LIKE THAT. > > > > > > > > > > > > > > > > -- > > > Regards, > > > Janmejay > > > http://codehunk.wordpress.com > > > _______________________________________________ > > > rsyslog mailing list > > > http://lists.adiscon.net/mailman/listinfo/rsyslog > > > http://www.rsyslog.com/professional-services/ > > > What's up with rsyslog? Follow https://twitter.com/rgerhards > > > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a > myriad > > > of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you > > > DON'T LIKE THAT. > > > > > _______________________________________________ > > rsyslog mailing list > > http://lists.adiscon.net/mailman/listinfo/rsyslog > > http://www.rsyslog.com/professional-services/ > > What's up with rsyslog? Follow https://twitter.com/rgerhards > > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad > > of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you > > DON'T LIKE THAT. > > > > > > -- > Regards, > Janmejay > http://codehunk.wordpress.com > _______________________________________________ > rsyslog mailing list > http://lists.adiscon.net/mailman/listinfo/rsyslog > http://www.rsyslog.com/professional-services/ > What's up with rsyslog? Follow https://twitter.com/rgerhards > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad > of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you > DON'T LIKE THAT. > _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

