[OSDF] Enable OSDF in ServiceMesh deployment
[optf/osdf.git] / csit / scripts / simulator_script.sh
index e146cb9..f6daab6 100755 (executable)
@@ -44,9 +44,20 @@ chmod +x ./build_sim_image.sh
 # run osdf_sim
 docker run -d --name osdf_sim -p "5000:5000"  osdf_sim:latest;
 
+#wait for docker setup a while
+sleep 10
+
+docker ps -a
+
+echo "logs of the osdf_sim"
+sudo cat `docker inspect -f '{{.LogPath}}' osdf_sim`
+
+
 OSDF_SIM_IP=`${WORKSPACE}/scripts/get-instance-ip.sh osdf_sim`
 echo "OSDF_SIM_IP=${OSDF_SIM_IP}"
 
+docker inspect osdf_sim
+
 ${WORKSPACE}/scripts/wait_for_port.sh ${OSDF_SIM_IP} 5000
 
 
@@ -54,5 +65,4 @@ ${WORKSPACE}/scripts/wait_for_port.sh ${OSDF_SIM_IP} 5000
 sleep 2
 
 echo "inspect docker things for tracing purpose"
-docker inspect osdf_sim