summaryrefslogtreecommitdiffstats
path: root/test/csit/scripts/sdc
diff options
context:
space:
mode:
authorYuli Shlosberg <ys9693@att.com>2017-10-23 16:09:28 +0300
committerYuli Shlosberg <ys9693@att.com>2017-10-24 12:30:38 +0000
commitd2195a14af5f704c9d77b8b3031b0fac277f883d (patch)
tree70ddab4b2c54858a7333e7da9da66dcab7e2ac04 /test/csit/scripts/sdc
parent402d8ff80db70c89d4a8777e546b646913d91815 (diff)
debug csit sanity failure
Change-Id: I62072d3a949a2fe9a29f3dfe39f2baaa07721ebc Issue-Id: SDC-496 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
Diffstat (limited to 'test/csit/scripts/sdc')
-rw-r--r--test/csit/scripts/sdc/clone_and_setup_sdc_data.sh3
-rw-r--r--test/csit/scripts/sdc/start_sdc_containers.sh2
2 files changed, 3 insertions, 2 deletions
diff --git a/test/csit/scripts/sdc/clone_and_setup_sdc_data.sh b/test/csit/scripts/sdc/clone_and_setup_sdc_data.sh
index a88981299..c78ffe37c 100644
--- a/test/csit/scripts/sdc/clone_and_setup_sdc_data.sh
+++ b/test/csit/scripts/sdc/clone_and_setup_sdc_data.sh
@@ -30,12 +30,13 @@ mkdir -p ${WORKSPACE}/data/clone/
mkdir -p ${WORKSPACE}/data/logs/BE/SDC/SDC-BE
mkdir -p ${WORKSPACE}/data/logs/FE/SDC/SDC-FE
chmod -R 777 ${WORKSPACE}/data/logs
+ls -lR ${WORKSPACE}/data/logs/
cd ${WORKSPACE}/data/clone
git clone --depth 1 http://gerrit.onap.org/r/sdc -b master
-chmod -R 775 ${WORKSPACE}/data/
+chmod -R 777 ${WORKSPACE}/data/clone
# set enviroment variables
diff --git a/test/csit/scripts/sdc/start_sdc_containers.sh b/test/csit/scripts/sdc/start_sdc_containers.sh
index a1ac28b14..4db0485d5 100644
--- a/test/csit/scripts/sdc/start_sdc_containers.sh
+++ b/test/csit/scripts/sdc/start_sdc_containers.sh
@@ -54,7 +54,7 @@ echo -e ""
#start kibana
-docker run --detach --name sdc-kbn --env ENVNAME="${DEP_ENV}" --log-driver=json-file --log-opt max-size=100m --log-opt max-file=10 --ulimit memlock=-1:-1 --memory 2g --memory-swap=2g --ulimit nofile=4096:100000 --volume /etc/localtime:/etc/localtime:ro --volume ${WORKSPACE}/data/environments:/root/chef-solo/environments --publish 5601:5601 ${PREFIX}/sdc-kibana:${RELEASE}
+#docker run --detach --name sdc-kbn --env ENVNAME="${DEP_ENV}" --log-driver=json-file --log-opt max-size=100m --log-opt max-file=10 --ulimit memlock=-1:-1 --memory 2g --memory-swap=2g --ulimit nofile=4096:100000 --volume /etc/localtime:/etc/localtime:ro --volume ${WORKSPACE}/data/environments:/root/chef-solo/environments --publish 5601:5601 ${PREFIX}/sdc-kibana:${RELEASE}
#start sdc-backend
docker run --detach --name sdc-BE --env HOST_IP=${IP} --env ENVNAME="${DEP_ENV}" --env http_proxy=${http_proxy} --env https_proxy=${https_proxy} --env no_proxy=${no_proxy} --log-driver=json-file --log-opt max-size=100m --log-opt max-file=10 --ulimit memlock=-1:-1 --memory 4g --memory-swap=4g --ulimit nofile=4096:100000 --volume /etc/localtime:/etc/localtime:ro --volume ${WORKSPACE}/data/logs/BE/:/var/lib/jetty/logs --volume ${WORKSPACE}/data/environments:/root/chef-solo/environments --publish 8443:8443 --publish 8080:8080 ${PREFIX}/sdc-backend:${RELEASE}