Awasum Yannick created FINERACT-1011:
----------------------------------------

             Summary: 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


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)

Reply via email to