[
https://issues.apache.org/jira/browse/FINERACT-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17117643#comment-17117643
]
Awasum Yannick commented on FINERACT-1011:
------------------------------------------
Upon doing "ps aux | grep tomcat" , it showed me a list of processes running
tomcat. I then killed the tomcat process with "sudo kill -9 PID" and the
problem seems to go away and the next run of the integrationTest is seems to be
running. PID = Process ID (a number representing a running process). I wonder
if I will see this problem again or is a there a way to increase the timeout
for cargo. Let me do some research.
> Execution failed for task ':cargoStartLocal' when running IntegrationTest
> locally
> ---------------------------------------------------------------------------------
>
> Key: FINERACT-1011
> URL: https://issues.apache.org/jira/browse/FINERACT-1011
> Project: Apache Fineract
> Issue Type: Bug
> Reporter: Awasum Yannick
> Priority: Major
>
> When you run ./gradlew clean integrationTest locally (using Ubuntu 16.04,
> MySQL 5.7 on Docker), you get the error:
> Execution failed for task ':cargoStartLocal'.
> > org.codehaus.cargo.container.ContainerException: Deployable
> > [https://localhost:8443/cargocpc/index.html] failed to finish deploying
> > within the timeout period [120000]. The Deployable state is thus unknown.
> If you try to run again after the process stops you get this error:
> Execution failed for task ':cargoStartLocal'.
> > org.codehaus.cargo.container.ContainerException: Port number 8443 (defined
> > with the property cargo.servlet.port) is in use. Please free it on the
> > system or set it to a different port in the container configuration.
> It seems the timeout is short for some computers (maybe slower computers) so
> Cargo Tomcat does not start within timeout. Then on second try to run
> integration Tests, the tomcat instance is still running in the background and
> this cuases the second problem?
> I am using Ubuntu 16.04, MySQL 5.7 on Docker. RAM is 16GB. This machine is i7
> (8 CPUS). Using HDD not SSD(Maybe this is the problem) or can we do something
> to make this better? [~vorburger] or [~ptuomola] or anyone else, do you have
> any ideas, you seen this?
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)