Skip to content
Success

Console Output

Started by timer
Running as SYSTEM
Building remotely on simtester in workspace /home/jenkins/workspace/simtester-sanitize
The recommended git tool is: NONE
No credentials specified
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository https://gerrit.osmocom.org/pysim
 > git init /home/jenkins/workspace/simtester-sanitize # timeout=10
Fetching upstream changes from https://gerrit.osmocom.org/pysim
 > git --version # timeout=10
 > git --version # 'git version 2.39.5'
 > git fetch --tags --force --progress -- https://gerrit.osmocom.org/pysim +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://gerrit.osmocom.org/pysim # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision a2bfd397badd6bddff66d0a59a96e13cf4f4c9e1 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f a2bfd397badd6bddff66d0a59a96e13cf4f4c9e1 # timeout=10
Commit message: "pySim-smpp2sim.py: Simulate SMSC+CN+RAN+UE for OTA testing"
 > git rev-list --no-walk a2bfd397badd6bddff66d0a59a96e13cf4f4c9e1 # timeout=10
[simtester-sanitize] $ /bin/sh -xe /tmp/jenkins3218164071809449040.sh
+ virtualenv -p python3 venv --system-site-packages
created virtual environment CPython3.11.2.final.0-64 in 985ms
  creator CPython3Posix(dest=/home/jenkins/workspace/simtester-sanitize/venv, clear=False, no_vcs_ignore=False, global=True)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/jenkins/.local/share/virtualenv)
    added seed packages: pip==23.0.1, setuptools==66.1.1, wheel==0.38.4
  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
+ . venv/bin/activate
+ [  = /tmp/jenkins3218164071809449040.sh ]
+ deactivate nondestructive
+ unset -f pydoc
+ [ -z  ]
+ [ -z  ]
+ hash -r
+ [ -z  ]
+ unset VIRTUAL_ENV
+ [ ! nondestructive = nondestructive ]
+ VIRTUAL_ENV=/home/jenkins/workspace/simtester-sanitize/venv
+ [  = cygwin ]
+ [  = msys ]
+ export VIRTUAL_ENV
+ _OLD_VIRTUAL_PATH=/usr/local/bin:/usr/bin:/bin:/usr/games:/home/jenkins/bin
+ PATH=/home/jenkins/workspace/simtester-sanitize/venv/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/home/jenkins/bin
+ export PATH
+ [ -z  ]
+ [ -z  ]
+ _OLD_VIRTUAL_PS1=$ 
+ [ x != x ]
+ basename /home/jenkins/workspace/simtester-sanitize/venv
+ PS1=(venv) $ 
+ export PS1
+ alias pydoc
+ true
+ hash -r
+ pip install -r requirements.txt
Collecting git+https://github.com/osmocom/asn1tools (from -r requirements.txt (line 14))
  Cloning https://github.com/osmocom/asn1tools to /tmp/pip-req-build-4e079j54
  Running command git clone --filter=blob:none --quiet https://github.com/osmocom/asn1tools /tmp/pip-req-build-4e079j54
  Resolved https://github.com/osmocom/asn1tools to commit 44277cdb34959196f317b6a02af20a4a1c3c4e2d
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting git+https://github.com/hologram-io/smpp.pdu (from -r requirements.txt (line 16))
  Cloning https://github.com/hologram-io/smpp.pdu to /tmp/pip-req-build-8l8ip01h
  Running command git clone --filter=blob:none --quiet https://github.com/hologram-io/smpp.pdu /tmp/pip-req-build-8l8ip01h
  Resolved https://github.com/hologram-io/smpp.pdu to commit 20acc840ded958898eeb35ae9a18df9b29bdaaac
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting smpp.twisted3@ git+https://github.com/jookies/smpp.twisted
  Cloning https://github.com/jookies/smpp.twisted to /tmp/pip-install-tb9eoacy/smpp-twisted3_15adb5b7d0e44cbca22efa2e2fd9f42d
  Running command git clone --filter=blob:none --quiet https://github.com/jookies/smpp.twisted /tmp/pip-install-tb9eoacy/smpp-twisted3_15adb5b7d0e44cbca22efa2e2fd9f42d
  Resolved https://github.com/jookies/smpp.twisted to commit c9b266f54e44e7aff964b64cfb05ca1ecbcd7710
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Requirement already satisfied: pyscard in /usr/lib/python3/dist-packages (from -r requirements.txt (line 1)) (2.0.5)
Collecting pyserial
  Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
Requirement already satisfied: pytlv in /usr/local/lib/python3.11/dist-packages (from -r requirements.txt (line 3)) (0.71)
Collecting cmd2>=1.5
  Using cached cmd2-2.5.11-py3-none-any.whl (152 kB)
Collecting jsonpath-ng
  Using cached jsonpath_ng-1.7.0-py3-none-any.whl (30 kB)
Collecting construct>=2.10.70
  Using cached construct-2.10.70-py3-none-any.whl (63 kB)
Collecting bidict
  Using cached bidict-0.23.1-py3-none-any.whl (32 kB)
Collecting pyosmocom>=0.0.8
  Using cached pyosmocom-0.0.8-py3-none-any.whl (39 kB)
Collecting pyyaml>=5.1
  Using cached PyYAML-6.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (762 kB)
Collecting termcolor
  Using cached termcolor-3.0.1-py3-none-any.whl (7.2 kB)
Collecting colorlog
  Using cached colorlog-6.9.0-py3-none-any.whl (11 kB)
Requirement already satisfied: pycryptodomex in /usr/lib/python3/dist-packages (from -r requirements.txt (line 12)) (3.11.0)
Collecting cryptography
  Using cached cryptography-44.0.2-cp39-abi3-manylinux_2_34_x86_64.whl (4.2 MB)
Collecting packaging
  Using cached packaging-24.2-py3-none-any.whl (65 kB)
Collecting pyperclip>=1.8
  Using cached pyperclip-1.9.0-py3-none-any.whl
Collecting wcwidth>=0.2.10
  Using cached wcwidth-0.2.13-py2.py3-none-any.whl (34 kB)
Collecting ply
  Using cached ply-3.11-py2.py3-none-any.whl (49 kB)
Collecting gsm0338
  Using cached gsm0338-1.0.0-py2.py3-none-any.whl (9.7 kB)
Collecting cffi>=1.12
  Using cached cffi-1.17.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (467 kB)
Collecting bitstruct
  Using cached bitstruct-8.20.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (82 kB)
Collecting pyparsing>=3.0.6
  Using cached pyparsing-3.2.3-py3-none-any.whl (111 kB)
Collecting Twisted~=23.10.0
  Using cached twisted-23.10.0-py3-none-any.whl (3.2 MB)
Collecting smpp.pdu3~=0.4
  Using cached smpp.pdu3-0.6-py2.py3-none-any.whl (31 kB)
Collecting pycparser
  Using cached pycparser-2.22-py3-none-any.whl (117 kB)
Collecting attrs>=21.3.0
  Using cached attrs-25.3.0-py3-none-any.whl (63 kB)
Collecting automat>=0.8.0
  Using cached Automat-24.8.1-py3-none-any.whl (42 kB)
Collecting constantly>=15.1
  Using cached constantly-23.10.4-py3-none-any.whl (13 kB)
Collecting hyperlink>=17.1.1
  Using cached hyperlink-21.0.0-py2.py3-none-any.whl (74 kB)
Collecting incremental>=22.10.0
  Using cached incremental-24.7.2-py3-none-any.whl (20 kB)
Collecting typing-extensions>=4.2.0
  Downloading typing_extensions-4.13.2-py3-none-any.whl (45 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.8/45.8 kB 451.0 kB/s eta 0:00:00
Collecting zope-interface>=5
  Using cached zope.interface-7.2-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (259 kB)
Collecting six
  Using cached six-1.17.0-py2.py3-none-any.whl (11 kB)
Collecting idna>=2.5
  Using cached idna-3.10-py3-none-any.whl (70 kB)
Requirement already satisfied: setuptools>=61.0 in ./venv/lib/python3.11/site-packages (from incremental>=22.10.0->Twisted~=23.10.0->smpp.twisted3@ git+https://github.com/jookies/smpp.twisted->-r requirements.txt (line 17)) (66.1.1)
Building wheels for collected packages: asn1tools, smpp.pdu, smpp.twisted3
  Building wheel for asn1tools (setup.py): started
  Building wheel for asn1tools (setup.py): finished with status 'done'
  Created wheel for asn1tools: filename=asn1tools-0.166.0-py3-none-any.whl size=119699 sha256=09bc648639a5f71252adfc8d209af1d6a96c0ee06f15727d10f4c0a72d7a6ce0
  Stored in directory: /tmp/pip-ephem-wheel-cache-asxbw8yd/wheels/2a/6a/86/4ace26b2e8568f96ceac6272ea7db506da59e1b3c2fc4c8699
  Building wheel for smpp.pdu (setup.py): started
  Building wheel for smpp.pdu (setup.py): finished with status 'done'
  Created wheel for smpp.pdu: filename=smpp.pdu-0.3-py3-none-any.whl size=31683 sha256=bdf71a60aabb190673de2fdb262efa40351e4647fbf7d6d97b34f996e34d74e6
  Stored in directory: /tmp/pip-ephem-wheel-cache-asxbw8yd/wheels/32/96/03/ef03cb1f288aec2fb1552d40911360548b181fe570b8fc2432
  Building wheel for smpp.twisted3 (setup.py): started
  Building wheel for smpp.twisted3 (setup.py): finished with status 'done'
  Created wheel for smpp.twisted3: filename=smpp.twisted3-0.8-py3-none-any.whl size=17443 sha256=838643de3cc2aa5549b114f7f4e99367ac4d292a9880b3f6d555df2881ef4ff8
  Stored in directory: /tmp/pip-ephem-wheel-cache-asxbw8yd/wheels/b1/8c/d0/49e2933445d4bc95ec4618b6c2505efc28bb9bf6bc8d01e4a5
Successfully built asn1tools smpp.pdu smpp.twisted3
Installing collected packages: wcwidth, smpp.pdu3, smpp.pdu, pyserial, pyperclip, ply, zope-interface, typing-extensions, termcolor, six, pyyaml, pyparsing, pycparser, packaging, jsonpath-ng, incremental, idna, construct, constantly, colorlog, cmd2, bitstruct, bidict, automat, attrs, hyperlink, gsm0338, cffi, asn1tools, Twisted, pyosmocom, cryptography, smpp.twisted3
Successfully installed Twisted-23.10.0 asn1tools-0.166.0 attrs-25.3.0 automat-24.8.1 bidict-0.23.1 bitstruct-8.20.0 cffi-1.17.1 cmd2-2.5.11 colorlog-6.9.0 constantly-23.10.4 construct-2.10.70 cryptography-44.0.2 gsm0338-1.0.0 hyperlink-21.0.0 idna-3.10 incremental-24.7.2 jsonpath-ng-1.7.0 packaging-24.2 ply-3.11 pycparser-2.22 pyosmocom-0.0.8 pyparsing-3.2.3 pyperclip-1.9.0 pyserial-3.5 pyyaml-6.0.2 six-1.17.0 smpp.pdu-0.3 smpp.pdu3-0.6 smpp.twisted3-0.8 termcolor-3.0.1 typing-extensions-4.13.2 wcwidth-0.2.13 zope-interface-7.2
+ pip install pyshark
Collecting pyshark
  Using cached pyshark-0.6-py3-none-any.whl (41 kB)
Collecting lxml
  Using cached lxml-5.3.2-cp311-cp311-manylinux_2_28_x86_64.whl (5.0 MB)
Requirement already satisfied: termcolor in ./venv/lib/python3.11/site-packages (from pyshark) (3.0.1)
Requirement already satisfied: packaging in ./venv/lib/python3.11/site-packages (from pyshark) (24.2)
Collecting appdirs
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Installing collected packages: appdirs, lxml, pyshark
Successfully installed appdirs-1.4.4 lxml-5.3.2 pyshark-0.6
+ tests/card_sanitizer/card_sanitizer.py
EXCEPTION of type 'AttributeError' occurred with message: 'SimCardBase' object has no attribute '_adm_chv_num'
To enable full traceback, run the following command: 'set debug true'
Using reader PCSC[HID Global OMNIKEY 3x21 Smart Card Reader [OMNIKEY 3x21 Smart Card Reader] 01 00]
Waiting for card...
Info: Card is of type: SIM
running restore script...
Using reader PCSC[HID Global OMNIKEY 3x21 Smart Card Reader [OMNIKEY 3x21 Smart Card Reader] 02 00]
Waiting for card...
Info: Card is of type: UICC
Detected UICC Add-on "SIM"
AIDs on card:
 USIM: a0000000871002ffffffff8901030000 (EF.DIR)
 ADF.ISD: a000000003000000
found ADM1 'CAE743DB9C5B5A58' for ICCID '8988219000000117833'
running restore script...
Using reader PCSC[HID Global OMNIKEY 3x21 Smart Card Reader [OMNIKEY 3x21 Smart Card Reader] 03 00]
Waiting for card...
Info: Card is of type: UICC
Detected UICC Add-on "SIM"
AIDs on card:
 USIM: a0000000871002ffffffff8907090000 (EF.DIR)
 ADF.ISD: a000000003000000
found ADM1 '55538407' for ICCID '8988211320300000028'
running restore script...
Using reader PCSC[HID Global OMNIKEY 3x21 Smart Card Reader [OMNIKEY 3x21 Smart Card Reader] 04 00]
Waiting for card...
Info: Card is of type: UICC
Detected UICC Add-on "SIM"
AIDs on card:
 USIM: a0000000871002fff359ff89ffffffff (EF.DIR)
found ADM1 '15E31383624FDC8A' for ICCID '89445310150011013678'
running restore script...
Using reader PCSC[HID Global OMNIKEY 3x21 Smart Card Reader [OMNIKEY 3x21 Smart Card Reader] 05 00]
Waiting for card...
Info: Card is of type: UICC
Detected UICC Add-on "SIM"
Detected UICC Add-on "RUIM"
AIDs on card:
 USIM: a0000000871002ffffffff8907090000 (EF.DIR)
 ISIM: a0000000871004ffffffff8907090000 (EF.DIR)
 ADF.ISD: a000000003000000
 ARA-M: a00000015141434c00
Detected CardModel: SysmocomSJA2
found ADM1 '67225880' for ICCID '8988211000000467343'
running restore script...
EXCEPTION of type 'AttributeError' occurred with message: 'SimCardBase' object has no attribute '_adm_chv_num'
To enable full traceback, run the following command: 'set debug true'
Using reader PCSC[HID Global OMNIKEY 3x21 Smart Card Reader [OMNIKEY 3x21 Smart Card Reader] 06 00]
Waiting for card...
Info: Card is of type: SIM
running restore script...
Using reader PCSC[HID Global OMNIKEY 3x21 Smart Card Reader [OMNIKEY 3x21 Smart Card Reader] 07 00]
Waiting for card...
Info: Card is of type: UICC
Detected UICC Add-on "SIM"
Detected UICC Add-on "GSM-R"
Detected UICC Add-on "RUIM"
AIDs on card:
 USIM: a0000000871002ffffffff8907090000 (EF.DIR)
 ISIM: a0000000871004ffffffff8907090000 (EF.DIR)
 ADF.ISD: a000000003000000
 ARA-M: a00000015141434c00
Detected CardModel: SysmocomSJA5
found ADM1 '34173960' for ICCID '8949440000001155314'
running restore script...

################################################################################
# reader: 0                                                                    #
################################################################################
Unable to select EF.ICCID on card 3b9f96803f87828031e073fe211f574543753130136502 (sw1=6e, sw2=00), skipping...

################################################################################
# reader: 1                                                                    #
################################################################################
Found ATR: 3b991800118822334455667760, ICCID: 2222334455667788990
Found file: card_backup_3b991800118822334455667760_2222334455667788990.script
Executing: /home/jenkins/workspace/simtester-sanitize/pySim-shell.py -p 1 -e "verify_adm" -e "echo running restore script..." -e "run_script /home/jenkins/workspace/simtester-sanitize/tests/card_sanitizer/card_backup_3b991800118822334455667760_2222334455667788990.script > /dev/null" --noprompt --csv /home/jenkins/workspace/simtester-sanitize/tests/card_sanitizer/card_data.csv
Restore done!

################################################################################
# reader: 2                                                                    #
################################################################################
Found ATR: 3b9f96801fc78031a073be21136744220610000001a9, ICCID: 8988219000000117833
Found file: card_backup_3b9f96801fc78031a073be21136744220610000001a9_8988219000000117833.script
Executing: /home/jenkins/workspace/simtester-sanitize/pySim-shell.py -p 2 -e "verify_adm" -e "echo running restore script..." -e "run_script /home/jenkins/workspace/simtester-sanitize/tests/card_sanitizer/card_backup_3b9f96801fc78031a073be21136744220610000001a9_8988219000000117833.script > /dev/null" --noprompt --csv /home/jenkins/workspace/simtester-sanitize/tests/card_sanitizer/card_data.csv
Restore done!

################################################################################
# reader: 3                                                                    #
################################################################################
Found ATR: 3b9f96801fc78031a073be21136743200718000001a5, ICCID: 8988211320300000028
Found file: card_backup_3b9f96801fc78031a073be21136743200718000001a5_8988211320300000028.script
Executing: /home/jenkins/workspace/simtester-sanitize/pySim-shell.py -p 3 -e "verify_adm" -e "echo running restore script..." -e "run_script /home/jenkins/workspace/simtester-sanitize/tests/card_sanitizer/card_backup_3b9f96801fc78031a073be21136743200718000001a5_8988211320300000028.script > /dev/null" --noprompt --csv /home/jenkins/workspace/simtester-sanitize/tests/card_sanitizer/card_data.csv
Restore done!

################################################################################
# reader: 4                                                                    #
################################################################################
Found ATR: 3b9f95801fc78031e073f62113674d4516004301008f, ICCID: 89445310150011013678
Found file: card_backup_3b9f95801fc78031e073f62113674d4516004301008f_89445310150011013678.script
Executing: /home/jenkins/workspace/simtester-sanitize/pySim-shell.py -p 4 -e "verify_adm" -e "echo running restore script..." -e "run_script /home/jenkins/workspace/simtester-sanitize/tests/card_sanitizer/card_backup_3b9f95801fc78031e073f62113674d4516004301008f_89445310150011013678.script > /dev/null" --noprompt --csv /home/jenkins/workspace/simtester-sanitize/tests/card_sanitizer/card_data.csv
Restore done!

################################################################################
# reader: 5                                                                    #
################################################################################
Found ATR: 3b9f96801f878031e073fe211b674a4c753034054ba9, ICCID: 8988211000000467343
Found file: card_backup_3b9f96801f878031e073fe211b674a4c753034054ba9_8988211000000467343.script
Executing: /home/jenkins/workspace/simtester-sanitize/pySim-shell.py -p 5 -e "verify_adm" -e "echo running restore script..." -e "run_script /home/jenkins/workspace/simtester-sanitize/tests/card_sanitizer/card_backup_3b9f96801f878031e073fe211b674a4c753034054ba9_8988211000000467343.script > /dev/null" --noprompt --csv /home/jenkins/workspace/simtester-sanitize/tests/card_sanitizer/card_data.csv
Restore done!

################################################################################
# reader: 6                                                                    #
################################################################################
Found ATR: 3b9a940092027593110001020221, ICCID: 1122334455667788990
Found file: card_backup_3b9a940092027593110001020221_1122334455667788990.script
Executing: /home/jenkins/workspace/simtester-sanitize/pySim-shell.py -p 6 -e "verify_adm" -e "echo running restore script..." -e "run_script /home/jenkins/workspace/simtester-sanitize/tests/card_sanitizer/card_backup_3b9a940092027593110001020221_1122334455667788990.script > /dev/null" --noprompt --csv /home/jenkins/workspace/simtester-sanitize/tests/card_sanitizer/card_data.csv
Restore done!

################################################################################
# reader: 7                                                                    #
################################################################################
Found ATR: 3b9f96801f878031e073fe211b674a357530350265f8, ICCID: 8949440000001155314
Found file: card_backup_3b9f96801f878031e073fe211b674a357530350265f8_8949440000001155314.script
Executing: /home/jenkins/workspace/simtester-sanitize/pySim-shell.py -p 7 -e "verify_adm" -e "echo running restore script..." -e "run_script /home/jenkins/workspace/simtester-sanitize/tests/card_sanitizer/card_backup_3b9f96801f878031e073fe211b674a357530350265f8_8949440000001155314.script > /dev/null" --noprompt --csv /home/jenkins/workspace/simtester-sanitize/tests/card_sanitizer/card_data.csv
Restore done!
Finished: SUCCESS