pySim TestRig

we are running a CI setup at sysmocom to test pySim against real physical smartcards and readers.

these tests are controlled by and run on a dedicated jenkins node



  • the jenkins node is run inside a KVM VM on AMD APU based hardware.
  • there are 6 Omnikey 3121 Smart Card Readers connected to a usb-hub; the resulting usbdevices are passed through to the vm.
Currently (05/2020) these types of simcards are installed and tested:
  • Fairwaves-SIM
  • fakemagicsim
  • sysmoISIM-SJA2
  • sysmosim-gr1
  • sysmoUSIM-SJS1
  • Wavemobile-SIM


The tests for pySim are executed by this jenkins job The job is triggered by gerrit and acts as build verification job for any proposed pySim changes that are pushed into gerrit for review.

The same hardware rig is also used for other tests (scheduled by jenkins), but this is out of scope for pySim.

It does so via a script
which in turn calls from the /pysim-testdata directory. holds all the information to access the cards and which output each test expects as result.

Files (0)

Updated by laforge over 1 year ago · 4 revisions

Add picture from clipboard (Maximum size: 48.8 MB)