osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/43139?usp=email )
Change subject: tests: 06_test_simcards: restart pcscd first ......................................................................
tests: 06_test_simcards: restart pcscd first
We found that the pcscd can crash while flashing the octsim firmware. Restart the pcscd after the firmware is flashed, right before we use pcscd.
Related: OS#7022 Related: osmo-ci I9bcbbba156de0cea1f7fa49bfaeb99e6f1f90647 Change-Id: Ibfd8aae789b4b0269bc6f21bfe2b2a5c38bc7cd2 --- M tests/sysmo-octsim/06_test_simcards.sh 1 file changed, 5 insertions(+), 0 deletions(-)
Approvals: Jenkins Builder: Verified jolly: Looks good to me, but someone else must approve laforge: Looks good to me, approved
diff --git a/tests/sysmo-octsim/06_test_simcards.sh b/tests/sysmo-octsim/06_test_simcards.sh index fae4963..a32451a 100755 --- a/tests/sysmo-octsim/06_test_simcards.sh +++ b/tests/sysmo-octsim/06_test_simcards.sh @@ -5,6 +5,11 @@ sleep 1 ./get_installed_version.sh
+# OS#7022: restart pcscd right before using it through pySim-read.py, as it may +# have crashed during flashing +sudo /etc/osmo-ccid-firmware-tests/restart-pcscd.sh +sleep 5 + echo "card slot 0 - pysimread" $PYSIMREAD -p 0 echo ""