Hi Imesh, Sorry for the late response. Yes, I had those prerequisites installed.
On Fri, May 15, 2015 at 8:05 PM, Imesh Gunaratne <im...@apache.org> wrote: > Hi Sajith, > > Did you install the prerequisites? > > pip install paho-mqtt > pip install psutil > pip install pexpect > pip install pycrypto > pip install gitpython > pip install yapsy > > On Fri, May 15, 2015 at 12:00 PM, Sajith Kariyawasam <saj...@wso2.com> > wrote: > >> Hi Devs, >> >> I did a "mvn clean install -Plive" to run PCA live tests, but ended up >> with following error.. >> >> >> Results : >> >> Tests in error: >> >> testPythonCartridgeAgent[2](org.apache.stratos.python.cartridge.agent.test.PythonCartridgeAgentTest): >> test timed out after 120000 milliseconds >> >> Tests run: 3, Failures: 0, Errors: 1, Skipped: 0 >> >> [2015-05-15 11:52:49,975] ERROR - [PythonCartridgeAgentTest] python >> /home/wso2/work/projects/stratos/stratos_git/stratos/components/org.apache.stratos.python.cartridge.agent/target/test-classes/../9fd773ef-17f3-42cf-91fd-b51d4b3a908a/cartridge.agent/agent.py >> process failed >> org.apache.commons.exec.ExecuteException: Process exited with an error: >> 143(Exit value: 143) >> at >> org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:346) >> at >> org.apache.commons.exec.DefaultExecutor.access$200(DefaultExecutor.java:46) >> at org.apache.commons.exec.DefaultExecutor$1.run(DefaultExecutor.java:181) >> Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 175.107 >> sec <<< FAILURE! >> testPythonCartridgeAgent[2](org.apache.stratos.python.cartridge.agent.test.PythonCartridgeAgentTest) >> Time elapsed: 120.073 sec <<< ERROR! >> java.lang.Exception: test timed out after 120000 milliseconds >> at java.lang.Thread.sleep(Native Method) >> at >> org.apache.stratos.python.cartridge.agent.test.PythonCartridgeAgentTest.sleep(PythonCartridgeAgentTest.java:380) >> at >> org.apache.stratos.python.cartridge.agent.test.PythonCartridgeAgentTest.testPythonCartridgeAgent(PythonCartridgeAgentTest.java:281) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:606) >> at >> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) >> at >> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) >> at >> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) >> at >> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) >> at >> org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74) >> >> Any idea whats happening? >> >> I have attached the logs for reference. >> >> Thanks, >> Sajith >> >> > > > -- > Imesh Gunaratne > > Senior Technical Lead, WSO2 > Committer & PMC Member, Apache Stratos > -- Sajith Kariyawasam *Committer and PMC member, Apache Stratos, * *WSO2 Inc.; http://wso2.com <http://wso2.com>* *Mobile: 0772269575*