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 67c0fff15b0da7a00f5bd1cdb0eaa2a1c01359f3 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 67c0fff15b0da7a00f5bd1cdb0eaa2a1c01359f3 # timeout=10
Commit message: "pySim-shell: change Prompt character to "#" after "verify_adm""
 > git rev-list --no-walk 67c0fff15b0da7a00f5bd1cdb0eaa2a1c01359f3 # timeout=10
[simtester-sanitize] $ /bin/sh -xe /tmp/jenkins3469233237447589233.sh
+ virtualenv -p python3 venv --system-site-packages
created virtual environment CPython3.11.2.final.0-64 in 989ms
  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/jenkins3469233237447589233.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-lr_m51nw
  Running command git clone --filter=blob:none --quiet https://github.com/osmocom/asn1tools /tmp/pip-req-build-lr_m51nw
  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-wjkb7j12
  Running command git clone --filter=blob:none --quiet https://github.com/hologram-io/smpp.pdu /tmp/pip-req-build-wjkb7j12
  Resolved https://github.com/hologram-io/smpp.pdu to commit 20acc840ded958898eeb35ae9a18df9b29bdaaac
  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.7-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.6
  Using cached pyosmocom-0.0.7-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-2.5.0-py3-none-any.whl (7.8 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.0-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
  Using cached pyperclip-1.9.0-py3-none-any.whl
Collecting wcwidth
  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.19.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (82 kB)
Collecting pyparsing>=3.0.6
  Using cached pyparsing-3.2.0-py3-none-any.whl (106 kB)
Collecting pycparser
  Using cached pycparser-2.22-py3-none-any.whl (117 kB)
Collecting six
  Downloading six-1.17.0-py2.py3-none-any.whl (11 kB)
Building wheels for collected packages: asn1tools, smpp.pdu
  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=3ae97b79999d45b912786db46c2e883e448c8d6d8b1cb559023f8241adcb07f3
  Stored in directory: /tmp/pip-ephem-wheel-cache-bpvxaox_/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=d9651ccf840cafb079f3e7c6f808172b844ef4fda212d00ae54b7f4f2c7c44d1
  Stored in directory: /tmp/pip-ephem-wheel-cache-bpvxaox_/wheels/32/96/03/ef03cb1f288aec2fb1552d40911360548b181fe570b8fc2432
Successfully built asn1tools smpp.pdu
Installing collected packages: wcwidth, smpp.pdu, pyserial, pyperclip, ply, termcolor, six, pyyaml, pyparsing, pycparser, packaging, jsonpath-ng, construct, colorlog, cmd2, bitstruct, bidict, gsm0338, cffi, asn1tools, pyosmocom, cryptography
Successfully installed asn1tools-0.166.0 bidict-0.23.1 bitstruct-8.19.0 cffi-1.17.1 cmd2-2.5.7 colorlog-6.9.0 construct-2.10.70 cryptography-44.0.0 gsm0338-1.0.0 jsonpath-ng-1.7.0 packaging-24.2 ply-3.11 pycparser-2.22 pyosmocom-0.0.7 pyparsing-3.2.0 pyperclip-1.9.0 pyserial-3.5 pyyaml-6.0.2 six-1.17.0 smpp.pdu-0.3 termcolor-2.5.0 wcwidth-0.2.13
+ pip install pyshark
Collecting pyshark
  Using cached pyshark-0.6-py3-none-any.whl (41 kB)
Collecting lxml
  Using cached lxml-5.3.0-cp311-cp311-manylinux_2_28_x86_64.whl (5.0 MB)
Requirement already satisfied: termcolor in ./venv/lib/python3.11/site-packages (from pyshark) (2.5.0)
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.0 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