Project

General

Profile

TestRig » History » Revision 2

Revision 1 (roh, 05/05/2020 05:27 PM) → Revision 2/4 (laforge, 05/05/2020 08:20 PM)

{{>toc}} 

 h1. pySim TestRig 

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

 these tests are controlled by https://jenkins.osmocom.org/ and run on a dedicated jenkins node https://jenkins.osmocom.org/jenkins/computer/simtester/ 

 h2. setup 

 h3. hardware 

 * the this jenkins node is run inside a KVM VM kvm vm on AMD APU amd apu based hardware. 
 * 

 there are 6 Omnikey 3121 Smart Card Readers connected to a usb-hub; usb-hub. 
 the resulting usbdevices are passed through to the vm. 

 Currently (05/2020) currently these types of simcards are installed and tested: 
 * Fairwaves-SIM 
 * fakemagicsim 
 * sysmoISIM-SJA2 
 * sysmosim-gr1 
 * sysmoUSIM-SJS1 
 * Wavemobile-SIM 

 h3. software 

 the tests for pySim are executed by this jenkins/gerrit job https://jenkins.osmocom.org/jenkins/job/gerrit-pysim/ 
 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 https://git.osmocom.org/pysim/tree/contrib/jenkins.sh 
 which in turn calls https://git.osmocom.org/pysim/tree/tests/pysim-test.sh from the /pysim-testdata directory. 
 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)