Project

General

Profile

TestRig » History » Version 1

roh, 05/05/2020 05:27 PM

1 1 roh
h1. pySim TestRig
2
3
we are running a CI setup at sysmocom to test pySim against real physical smartcards and readers.
4
5
these tests are controlled by https://jenkins.osmocom.org/ and run on a dedicated jenkins node https://jenkins.osmocom.org/jenkins/computer/simtester/
6
7
h2. setup
8
9
h3. hardware
10
11
this jenkins node is run inside a kvm vm on amd apu based hardware.
12
13
there are 6 Omnikey 3121 Smart Card Readers connected to a usb-hub.
14
the resulting usbdevices are passed through to the vm.
15
16
currently these types of simcards are installed and tested:
17
* Fairwaves-SIM
18
* fakemagicsim
19
* sysmoISIM-SJA2
20
* sysmosim-gr1
21
* sysmoUSIM-SJS1
22
* Wavemobile-SIM
23
24
h3. software
25
26
the tests for pySim are executed by this jenkins/gerrit job https://jenkins.osmocom.org/jenkins/job/gerrit-pysim/
27
the same hardware rig is also used for other tests (scheduled by jenkins), but this is out of scope for pySim.
28
29
it does so via a script https://git.osmocom.org/pysim/tree/contrib/jenkins.sh
30
which in turn calls https://git.osmocom.org/pysim/tree/tests/pysim-test.sh from the /pysim-testdata directory.
31
https://git.osmocom.org/pysim/tree/pysim-testdata holds all the information to access the cards and which output each test expects as result.
Add picture from clipboard (Maximum size: 48.8 MB)