aboutsummaryrefslogtreecommitdiffstats
path: root/csit/run-csit.sh
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2022-03-23 18:47:22 -0400
committerdemskeq8 <alexander.dehn@highstreet-technologies.com>2022-03-28 18:45:14 +0200
commit7958c38cea5c9402709a330030aa487062673c2d (patch)
tree28ab03ccca3374ff2550e3c1103c9d262d167bc5 /csit/run-csit.sh
parent9a9516fbf6945f5289b9c631d0882643537430fb (diff)
Migrate to phosphorus
Update to phosphorus version of parent poms Issue-ID: SDNC-1681 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: If84bf1b6cf061886d2df303a5614dfcaa9d517c9 Signed-off-by: Michael DÜrre <michael.duerre@highstreet-technologies.com> Signed-off-by: highstreetherbert <herbert.eiselt@highstreet-technologies.com> Signed-off-by: demskeq8 <alexander.dehn@highstreet-technologies.com> Former-commit-id: 6e7661adfeb903ad85f6f02fe57ef3990b55ed7e
Diffstat (limited to 'csit/run-csit.sh')
-rwxr-xr-xcsit/run-csit.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/csit/run-csit.sh b/csit/run-csit.sh
index e1b831af..32b0fa54 100755
--- a/csit/run-csit.sh
+++ b/csit/run-csit.sh
@@ -164,7 +164,10 @@ source_safely "${ROBOT_VENV}/bin/activate"
fi
WORKDIR=$(mktemp -d --suffix=-robot-workdir)
-cd "${WORKDIR}"
+chmod a+rwx "${WORKDIR}"
+echo "Additional info"
+ls -lsa "${WORKDIR}"
+id
# Add csit scripts to PATH
export PATH="${PATH}:${WORKSPACE}/docker/scripts:${WORKSPACE}/scripts:${ROBOT_VENV}/bin"
@@ -205,8 +208,9 @@ if [[ -z $ROBOT_IMAGE ]]; then
python -m robot.run -N ${TESTPLAN} -v WORKSPACE:/tmp ${ROBOT_VARIABLES} ${TESTOPTIONS} ${SUITES}
else
echo "*** TRACE **** python is running in a container"
- docker run --net="host" -v ${WORKSPACE}:${WORKSPACE} -v ${WORKDIR}:${WORKDIR} $ROBOT_IMAGE \
- python -B -m robot.run -N ${TESTPLAN} -v WORKSPACE:/tmp --outputdir ${WORKDIR} ${ROBOT_VARIABLES} ${TESTOPTIONS} ${SUITES}
+ docker run --net="host" \
+ -v ${WORKSPACE}:${WORKSPACE} -v ${WORKDIR}:${WORKDIR} $ROBOT_IMAGE \
+ python3 -B -m robot.run -N ${TESTPLAN} -v WORKSPACE:/tmp --outputdir ${WORKDIR} ${ROBOT_VARIABLES} ${TESTOPTIONS} ${SUITES}
fi
RESULT=$?
load_set