<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Kurt is correct; the lagunitas branch (4.x code line) does not have an embedded database right now.<div class=""><br class=""></div><div class="">You should watch&nbsp;<a href="http://jira.pentaho.com/browse/MONDRIAN-2483" class="">http://jira.pentaho.com/browse/MONDRIAN-2483</a>. I may do some work in that area, specifically, adding an embedded hsqldb as the default database, but giving you chance to override if you have populated another database.&nbsp;<div class=""><br class=""></div><div class="">Julian</div><div class=""><br class=""></div><div class=""><br class=""><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 14, 2016, at 5:40 AM, Kurtis Walker &lt;<a href="mailto:kwalker@pentaho.com" class="">kwalker@pentaho.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div id="divtagdefaultwrapper" dir="ltr" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;" class=""><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 16px;" class="">Yugandha,&nbsp;</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 16px;" class="">&nbsp; Any 4.x branch or tag does not have an embedded database for running tests. &nbsp;The change that was put in last week is only on the master branch, which is the 3.x line of code. &nbsp;Since you are trying to build 4.6.0.0-R, it does not have an embedded database.</span><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 16px;" class=""><br class=""></span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 16px;" class="">Kurt</span></div><br class=""><br class=""><div style="" class=""><hr tabindex="-1" style="display: inline-block; width: 965.296875px;" class=""><div id="divRplyFwdMsg" dir="ltr" class=""><font face="Calibri, sans-serif" style="font-size: 11pt;" class=""><b class="">From:</b><span class="Apple-converted-space">&nbsp;</span><a href="mailto:mondrian-bounces@pentaho.org" class="">mondrian-bounces@pentaho.org</a> &lt;<a href="mailto:mondrian-bounces@pentaho.org" class="">mondrian-bounces@pentaho.org</a>&gt; on behalf of Yugandha Deshpande &lt;<a href="mailto:yugandha@us.ibm.com" class="">yugandha@us.ibm.com</a>&gt;<br class=""><b class="">Sent:</b><span class="Apple-converted-space">&nbsp;</span>Monday, November 14, 2016 4:22 AM<br class=""><b class="">To:</b><span class="Apple-converted-space">&nbsp;</span>Mondrian developer mailing list<br class=""><b class="">Subject:</b><span class="Apple-converted-space">&nbsp;</span>Re: [Mondrian] Mondrian Tests hang on Rhel-7.2</font><div class="">&nbsp;</div></div><div class=""><div style="margin-top: 0px; margin-bottom: 0px;" class="">Hi,<br class=""><br class="">I have not setup any alternate database. I want to use embedded db for running the test suite.<br class="">Can anyone please guide me in that?<br class="">I have done:<span class="Apple-converted-space">&nbsp;</span><br class=""><i class=""><u class="">$ cp mondrian.properties.templates mondrian.properties</u></i><br class=""><br class="">Thanks &amp; Regards,<br class="">Yugandha.<br class=""><br class=""><span id="cid:1__=8FBB0AF8DFA089E48f9e8a93df938690918c8FB@">&lt;graycol.gif&gt;</span><font color="#424282" class="">Julian Hyde ---11/14/2016 04:15:35 AM---The lagunitas branch (4.6) is very unforgiving if you have an error in the setup of the underlying d</font><br class=""><br class=""><font size="2" color="#5F5F5F" class="">From:<span class="Apple-converted-space">&nbsp;</span></font><font size="2" class="">Julian Hyde &lt;<a href="mailto:julianhyde@gmail.com" class="">julianhyde@gmail.com</a>&gt;</font><br class=""><font size="2" color="#5F5F5F" class="">To:<span class="Apple-converted-space">&nbsp;</span></font><font size="2" class="">Mondrian mailing list &lt;<a href="mailto:mondrian@pentaho.org" class="">mondrian@pentaho.org</a>&gt;</font><br class=""><font size="2" color="#5F5F5F" class="">Date:<span class="Apple-converted-space">&nbsp;</span></font><font size="2" class="">11/14/2016 04:15 AM</font><br class=""><font size="2" color="#5F5F5F" class="">Subject:<span class="Apple-converted-space">&nbsp;</span></font><font size="2" class="">Re: [Mondrian] Mondrian Tests hang on Rhel-7.2</font><br class=""><font size="2" color="#5F5F5F" class="">Sent by:<span class="Apple-converted-space">&nbsp;</span></font><font size="2" class=""><a href="mailto:mondrian-bounces@pentaho.org" class="">mondrian-bounces@pentaho.org</a></font><br class=""></div><hr width="100%" size="2" align="left" noshade="" style="color: rgb(128, 145, 165);" class=""><br class=""><br class=""><br class=""><font size="4" class="">The lagunitas branch (4.6) is very unforgiving if you have an error in the setup of the underlying database. We need to fix this.</font><br class=""><br class=""><font size="4" class="">The problem is that the test suite does not print errors until the very end. Behind the scenes each test case generates an error stack, and that error stack uses up memory, and the test suite hangs due to lack of memory, never gets to finish, so never gets to print out the error stacks that would give you a clue how to fix the problem.</font><br class=""><br class=""><font size="4" class="">To solve it, we should obsolete the mondrian.test.Main class (which buffers test output until the end) and run the tests directly using maven-surefire-plugin. And we need to run the tests by default on an embedded hsqldb instance. With those two changes, anyone will be able to download, build, and test using just</font><br class=""><br class=""><font size="4" class="">$ git clone …</font><br class=""><font size="4" class="">$ cd mondrian</font><br class=""><font size="4" class="">$ mvn install</font><br class=""><br class=""><font size="4" class="">Upgrading to junit 4 would also be good.</font><br class=""><br class=""><font size="4" class="">There are a few test failures (maybe 25 out of 3,000) but I don’t believe any of them is a serious issue, and in fact most are simple bit-rot.</font><br class=""><br class=""><font size="4" class="">Julian</font><br class=""><br class=""><ul class=""><ul class=""><font size="4" class="">On Nov 11, 2016, at 1:00 AM, Yugandha Deshpande &lt;</font><a href="https://mail.google.com/mail/?view=cm&amp;fs=1&amp;tf=1&amp;to=yugandha@us.ibm.com" target="_blank" class=""><u class=""><font size="4" color="#0000FF" class="">yugandha@us.ibm.com</font></u></a><font size="4" class="">&gt; wrote:</font><br class=""><div style="margin-top: 0px; margin-bottom: 0px;" class=""><font size="4" class="">Hi,<br class=""><br class="">The line I am interested to build is the latest stable branch, so I picked up 4.6.0.0-R tag from github.<br class="">I tried building it using<span class="Apple-converted-space">&nbsp;</span></font><b class=""><font size="4" class="">"mvn -DrunITs install"</font></b><font size="4" class=""><span class="Apple-converted-space">&nbsp;</span>, but the test cases hung.<br class="">I also tried it with simple<span class="Apple-converted-space">&nbsp;</span></font><b class=""><font size="4" class="">"mvn install"</font></b><font size="4" class="">, but it gives same issue.<br class="">I have attached a detailed log as well.<span class="Apple-converted-space">&nbsp;</span><br class=""><br class="">Thanks &amp; Regards,<br class="">Yugandha<span class="Apple-converted-space">&nbsp;</span></font></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><font size="4" class="">_______________________________________________<br class="">Mondrian mailing list</font><u class=""><font size="4" color="#0000FF" class=""><br class=""></font></u><a href="https://mail.google.com/mail/?view=cm&amp;fs=1&amp;tf=1&amp;to=Mondrian@pentaho.org" target="_blank" class=""><u class=""><font size="4" color="#0000FF" class="">Mondrian@pentaho.org</font></u></a><font size="4" class=""><br class=""></font><font size="4" class=""><a href="http://lists.pentaho.org/mailman/listinfo/mondrian" class="">http://lists.pentaho.org/mailman/listinfo/mondrian</a></font></div></ul></ul><tt class="">_______________________________________________<br class="">Mondrian mailing list<br class=""><a href="mailto:Mondrian@pentaho.org" class="">Mondrian@pentaho.org</a><br class=""></tt><tt class=""><a href="http://lists.pentaho.org/mailman/listinfo/mondrian" class="">http://lists.pentaho.org/mailman/listinfo/mondrian</a></tt><tt class=""><br class=""></tt><br class=""><br class=""></div></div></div><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Mondrian mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class=""><a href="mailto:Mondrian@pentaho.org" class="">Mondrian@pentaho.org</a></span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class=""><a href="http://lists.pentaho.org/mailman/listinfo/mondrian" class="">http://lists.pentaho.org/mailman/listinfo/mondrian</a></span></div></blockquote></div><br class=""></div></div></div></body></html>