Ondrej Chaloupka created JBTM-3275:
--------------------------------------
Summary: Quickstart XTS SSL quickstart may be stuck when container is not
started at time
Key: JBTM-3275
URL:
https://issues.redhat.com/browse/JBTM-3275
Project: JBoss Transaction Manager
Issue Type: Bug
Components: Quickstarts
Affects Versions: 5.10.3.Final
Reporter: Ondrej Chaloupka
Assignee: Ondrej Chaloupka
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-...
Otherwise exit is called but the server is hanging around and the job can't be
stopped.
The script may be stuck like
{code}
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
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)