Details
-
Bug
-
Resolution: Done
-
Minor
-
5.10.3.Final
-
None
Description
The quickstart XTS over SSL defines wrongly a way how the timeout to wait on container is done. When timeout happens it has to try to stop the container if it would be still in progress of starting. It's needed to be stopped first.
https://github.com/jbosstm/quickstart/blob/5.10.4.Final/XTS/ssl/xts-over-ssh.sh#L46
Otherwise exit is called but the server is hanging around and the job can't be stopped.
The script may be stuck like
INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:10090/management INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:10090 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 20.0.0.Beta1-SNAPSHOT (WildFly Core 11.0.0.Final) started in 18797ms - Started 380 of 646 services (392 services are lazy, passive or on-demand) "result" => "running" + RETURN_CODE=0 ++ date +%s + '[' 24 -gt 20 ']' + NOT_TIMEOUTED=false + '[' 0 -ne 0 ']' + false + echo 'Timeout 20s exceeded when waiting for container at port 10090' + exit 2 Timeout 20s exceeded when waiting for container at port 10090