osmith submitted this change.
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(-)
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 ""
To view, visit change 43139. To unsubscribe, or for help writing mail filters, visit settings.