[Mondrian] Mondrian Tests hang on Rhel-7.2

Kurtis Walker kwalker at pentaho.com
Mon Nov 14 08:40:21 EST 2016


Yugandha,

  Any 4.x branch or tag does not have an embedded database for running tests.  The change that was put in last week is only on the master branch, which is the 3.x line of code.  Since you are trying to build 4.6.0.0-R, it does not have an embedded database.


Kurt


________________________________
From: mondrian-bounces at pentaho.org <mondrian-bounces at pentaho.org> on behalf of Yugandha Deshpande <yugandha at us.ibm.com>
Sent: Monday, November 14, 2016 4:22 AM
To: Mondrian developer mailing list
Subject: Re: [Mondrian] Mondrian Tests hang on Rhel-7.2


Hi,

I have not setup any alternate database. I want to use embedded db for running the test suite.
Can anyone please guide me in that?
I have done:
$ cp mondrian.properties.templates mondrian.properties

Thanks & Regards,
Yugandha.

[Inactive hide details for Julian Hyde ---11/14/2016 04:15:35 AM---The lagunitas branch (4.6) is very unforgiving if you have an]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

From: Julian Hyde <julianhyde at gmail.com>
To: Mondrian mailing list <mondrian at pentaho.org>
Date: 11/14/2016 04:15 AM
Subject: Re: [Mondrian] Mondrian Tests hang on Rhel-7.2
Sent by: mondrian-bounces at pentaho.org

________________________________



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.

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.

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

$ git clone ...
$ cd mondrian
$ mvn install

Upgrading to junit 4 would also be good.

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.

Julian


On Nov 11, 2016, at 1:00 AM, Yugandha Deshpande <yugandha at us.ibm.com<https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=yugandha@us.ibm.com>> wrote:

Hi,

The line I am interested to build is the latest stable branch, so I picked up 4.6.0.0-R tag from github.
I tried building it using "mvn -DrunITs install" , but the test cases hung.
I also tried it with simple "mvn install", but it gives same issue.
I have attached a detailed log as well.

Thanks & Regards,
Yugandha

_______________________________________________
Mondrian mailing list
Mondrian at pentaho.org<https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=Mondrian@pentaho.org>
http://lists.pentaho.org/mailman/listinfo/mondrian

_______________________________________________
Mondrian mailing list
Mondrian at pentaho.org
http://lists.pentaho.org/mailman/listinfo/mondrian


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20161114/2985b47d/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: graycol.gif
Url : http://lists.pentaho.org/pipermail/mondrian/attachments/20161114/2985b47d/attachment.gif 


More information about the Mondrian mailing list