Skip to content

Console Output

Started by upstream project "master-pysim" build number 1050
originally caused by:
 Started by timer
Running as SYSTEM
Building remotely on simtester in workspace /home/jenkins/workspace/master-pysim/JOB_TYPE/test/a1/default/a3/default/a4/default/label/simtester
[ssh-agent] Looking for ssh-agent implementation...
[ssh-agent]   Exec ssh-agent (binary ssh-agent on a remote machine)
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-4sS8HSTGA5Rd/agent.122875
SSH_AGENT_PID=122877
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/workspace/master-pysim/JOB_TYPE/test/a1/default/a3/default/a4/default/label/simtester@tmp/private_key_13502358071574392083.key (osmocom-jenkins)
[ssh-agent] Using credentials docs (OS#5798)
The recommended git tool is: NONE
No credentials specified
 > git rev-parse --resolve-git-dir /home/jenkins/workspace/master-pysim/JOB_TYPE/test/a1/default/a3/default/a4/default/label/simtester/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://gerrit.osmocom.org/pysim # timeout=10
Fetching upstream changes from https://gerrit.osmocom.org/pysim
 > git --version # timeout=10
 > git --version # 'git version 2.30.2'
 > git fetch --tags --force --progress -- https://gerrit.osmocom.org/pysim +refs/heads/*:refs/remotes/origin/* # timeout=10
Checking out Revision 1d1ba8e4cc0cb8c1f862dad04b26e5d4786b924d (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 1d1ba8e4cc0cb8c1f862dad04b26e5d4786b924d # timeout=10
Commit message: "esim.esp2: Allow HTTP methods other than POST"
 > git rev-list --no-walk 1d1ba8e4cc0cb8c1f862dad04b26e5d4786b924d # timeout=10
[simtester] $ /bin/sh -xe /tmp/jenkins14319173167719572809.sh
+ /usr/bin/timeout 30m ./contrib/jenkins.sh
+ export PYTHONUNBUFFERED=1
+ [ ! -d ./pysim-testdata/ ]
+ virtualenv -p python3 venv --system-site-packages
created virtual environment CPython3.9.2.final.0-64 in 798ms
  creator CPython3Posix(dest=/home/jenkins/workspace/master-pysim/JOB_TYPE/test/a1/default/a3/default/a4/default/label/simtester/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: asn1tools==0.166.0, bitstruct==8.19.0, cffi==1.16.0, cryptography==42.0.5, pip==20.3.4, pkg_resources==0.0.0, pycparser==2.21, pyparsing==3.1.2, pyshark==0.6, setuptools==44.1.1, wheel==0.34.2
  activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator
+ . venv/bin/activate
+ [  = ./contrib/jenkins.sh ]
+ deactivate nondestructive
+ unset -f pydoc
+ [ -z  ]
+ [ -z  ]
+ [ -n  ]
+ [ -n  ]
+ [ -z  ]
+ unset VIRTUAL_ENV
+ [ ! nondestructive = nondestructive ]
+ VIRTUAL_ENV=/home/jenkins/workspace/master-pysim/JOB_TYPE/test/a1/default/a3/default/a4/default/label/simtester/venv
+ [  = cygwin ]
+ [  = msys ]
+ export VIRTUAL_ENV
+ _OLD_VIRTUAL_PATH=/usr/local/bin:/usr/bin:/bin:/usr/games:/home/jenkins/bin
+ PATH=/home/jenkins/workspace/master-pysim/JOB_TYPE/test/a1/default/a3/default/a4/default/label/simtester/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/master-pysim/JOB_TYPE/test/a1/default/a3/default/a4/default/label/simtester/venv
+ PS1=(venv) $ 
+ export PS1
+ alias pydoc
+ true
+ [ -n  ]
+ [ -n  ]
+ 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-rukstxdt
  Running command git clone -q https://github.com/osmocom/asn1tools /tmp/pip-req-build-rukstxdt
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-i1m8bog3
  Running command git clone -q https://github.com/hologram-io/smpp.pdu /tmp/pip-req-build-i1m8bog3
Requirement already satisfied: pyscard in /usr/lib/python3/dist-packages (from -r requirements.txt (line 1)) (2.0.0)
Requirement already satisfied: pyserial in /usr/lib/python3/dist-packages (from -r requirements.txt (line 2)) (3.5b0)
Requirement already satisfied: pytlv in /usr/local/lib/python3.9/dist-packages (from -r requirements.txt (line 3)) (0.71)
Requirement already satisfied: cmd2>=1.5 in /usr/local/lib/python3.9/dist-packages (from -r requirements.txt (line 4)) (2.4.3)
Requirement already satisfied: jsonpath-ng in /usr/local/lib/python3.9/dist-packages (from -r requirements.txt (line 5)) (1.5.3)
Requirement already satisfied: construct>=2.9.51 in /usr/local/lib/python3.9/dist-packages (from -r requirements.txt (line 6)) (2.10.68)
Requirement already satisfied: bidict in /usr/local/lib/python3.9/dist-packages (from -r requirements.txt (line 7)) (0.22.1)
Requirement already satisfied: gsm0338 in /usr/local/lib/python3.9/dist-packages (from -r requirements.txt (line 8)) (1.0.0)
Requirement already satisfied: pyyaml>=5.1 in /usr/local/lib/python3.9/dist-packages (from -r requirements.txt (line 9)) (6.0.1)
Requirement already satisfied: termcolor in /usr/local/lib/python3.9/dist-packages (from -r requirements.txt (line 10)) (2.3.0)
Requirement already satisfied: colorlog in /usr/local/lib/python3.9/dist-packages (from -r requirements.txt (line 11)) (6.7.0)
Requirement already satisfied: pycryptodomex in /usr/local/lib/python3.9/dist-packages (from -r requirements.txt (line 12)) (3.18.0)
Requirement already satisfied: cryptography in ./venv/lib/python3.9/site-packages (from -r requirements.txt (line 13)) (42.0.5)
Requirement already satisfied: packaging in /usr/local/lib/python3.9/dist-packages (from -r requirements.txt (line 15)) (23.1)
Requirement already satisfied: bitstruct in ./venv/lib/python3.9/site-packages (from asn1tools==0.166.0->-r requirements.txt (line 14)) (8.19.0)
Requirement already satisfied: pyparsing>=3.0.6 in ./venv/lib/python3.9/site-packages (from asn1tools==0.166.0->-r requirements.txt (line 14)) (3.1.2)
Requirement already satisfied: attrs>=16.3.0 in /usr/local/lib/python3.9/dist-packages (from cmd2>=1.5->-r requirements.txt (line 4)) (23.1.0)
Requirement already satisfied: wcwidth>=0.1.7 in /usr/local/lib/python3.9/dist-packages (from cmd2>=1.5->-r requirements.txt (line 4)) (0.2.6)
Requirement already satisfied: pyperclip>=1.6 in /usr/local/lib/python3.9/dist-packages (from cmd2>=1.5->-r requirements.txt (line 4)) (1.8.2)
Requirement already satisfied: cffi>=1.12 in ./venv/lib/python3.9/site-packages (from cryptography->-r requirements.txt (line 13)) (1.16.0)
Requirement already satisfied: pycparser in ./venv/lib/python3.9/site-packages (from cffi>=1.12->cryptography->-r requirements.txt (line 13)) (2.21)
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from gsm0338->-r requirements.txt (line 8)) (1.16.0)
Requirement already satisfied: ply in /usr/local/lib/python3.9/dist-packages (from jsonpath-ng->-r requirements.txt (line 5)) (3.11)
Requirement already satisfied: decorator in /usr/local/lib/python3.9/dist-packages (from jsonpath-ng->-r requirements.txt (line 5)) (5.1.1)
+ pip install pyshark
Requirement already satisfied: pyshark in ./venv/lib/python3.9/site-packages (0.6)
Requirement already satisfied: packaging in /usr/local/lib/python3.9/dist-packages (from pyshark) (23.1)
Requirement already satisfied: termcolor in /usr/local/lib/python3.9/dist-packages (from pyshark) (2.3.0)
Requirement already satisfied: lxml in /usr/lib/python3/dist-packages (from pyshark) (4.6.3)
Requirement already satisfied: appdirs in /usr/lib/python3/dist-packages (from pyshark) (1.4.4)
+ python -m unittest discover -v -s tests/
test_successful (test_apdu.TestApdu) ... ok
test_successful_method (test_apdu.TestApdu)
Test overloading of the success property with a custom method. ... ok
test_2g (test_apdu.TestUsimAuth) ... ok
test_3g (test_apdu.TestUsimAuth) ... ok
test_3g_sync (test_apdu.TestUsimAuth) ... ok
test_vgcs (test_apdu.TestUsimAuth) ... ok
test_GreedyInt_decoder (test_construct.TestGreedyInt) ... ok
test_GreedyInt_encoder (test_construct.TestGreedyInt) ... ok
test_examples (test_construct.TestTrailerAdapter) ... ok
test_data_decode (test_construct.TestUcs2Adapter) ... ok
test_data_encode (test_construct.TestUcs2Adapter) ... ok
test_example1_decode (test_construct.TestUcs2Adapter) ... ok
test_example2_decode (test_construct.TestUcs2Adapter) ... ok
test_example3_decode (test_construct.TestUcs2Adapter) ... ok
test_filter_dict (test_construct.TestUtils) ... ok
test_filter_dict_nested (test_construct.TestUtils) ... ok
test_de_encode (test_esim.TestActivationCode) ... ok
test_mode51 (test_esim.TestECKA) ... ok
test_kdf (test_esim_bsp.BSP_Test) ... ok
test_ciphering (test_esim_bsp.BSP_Test_mode51) ... ok
test_kdf (test_esim_bsp.BSP_Test_mode51) ... ok
test_decrypt_and_mac_verify (test_esim_bsp.TestBSPdecode) ... ok
test_personalization (test_esim_saip.SaipTest)
Test some of the personalization operations. ... ok
test_reencode_pe (test_esim_saip.SaipTest)
Test that we can decode and re-encode reach individual ProfileElement. ... ok
test_reencode_sequence (test_esim_saip.SaipTest)
Test that we can decode and re-encode the entire DER encoded UPP. ... ok
test_sequence_helpers (test_esim_saip.SaipTest)
Verify that the convenience helpers worked as expected. ... ok
test_eid_encode_with_30digits (test_euicc.TestEid) ... ok
test_eid_encode_with_32_digits (test_euicc.TestEid) ... ok
test_eid_encode_with_wrong_csum (test_euicc.TestEid) ... ok
test_eid_verify (test_euicc.TestEid) ... ok
test_eid_verify_wrong (test_euicc.TestEid) ... ok
test_de_encode_record (test_files.LinFixed_Test)
Test the decoder and encoder for a linear-fixed EF.  Performs first a decoder ... ok
test_decode_record (test_files.LinFixed_Test)
Test the decoder for a linear-fixed EF.  Requires the given LinFixedEF subclass ... ok
test_encode_record (test_files.LinFixed_Test)
Test the encoder for a linear-fixed EF.  Requires the given LinFixedEF subclass ... ok
test_de_encode_record (test_files.TransRecEF_Test)
Test the decoder and encoder for a transparent record-oriented EF.  Performs first a decoder ... ok
test_decode_record (test_files.TransRecEF_Test)
Test the decoder for a transparent record-oriented EF.  Requires the given TransRecEF subclass ... ok
test_encode_record (test_files.TransRecEF_Test)
Test the encoder for a transparent record-oriented EF.  Requires the given TransRecEF subclass ... ok
test_de_encode_file (test_files.TransparentEF_Test)
Test the decoder and encoder for a transparent EF.  Performs first a decoder ... ok
test_decode_file (test_files.TransparentEF_Test)
Test the decoder for a transparent EF.  Requires the given TransparentEF subclass ... ok
test_encode_file (test_files.TransparentEF_Test)
Test the encoder for a transparent EF.  Requires the given TransparentEF subclass ... ok
test_mutual_auth_fail_card_cryptogram (test_globalplatform.SCP02_Auth_Test) ... DEBUG:pySim.global_platform.scp:Scp02SessionKeys(CTR=1, ICV=None, ENC=1ba074b31f72a6c44fe8f5d9afe4da2f, D-ENC=511db767812597722109c867f9d7257a, MAC-C=29a69328e60494982632039ddd47a2f1, MAC-R=fdf8a06c38fa7a54123c80ab9087bf25)
DEBUG:pySim.global_platform.scp:host_challenge(40a62c37fa6304f8), card_challenge(6b4524abee7c)
DEBUG:pySim.global_platform.scp:mac_3des(00016b4524abee7c40a62c37fa6304f8) -> ba6961667737c5bc
DEBUG:pySim.global_platform.scp:mac_3des(40a62c37fa6304f800016b4524abee7c) -> f32ea3838bc148f3
DEBUG:pySim.global_platform.scp:host_cryptogram(ba6961667737c5bc), card_cryptogram(f32ea3838bc148f3)
ok
test_mutual_auth_success (test_globalplatform.SCP02_Auth_Test) ... DEBUG:pySim.global_platform.scp:Scp02SessionKeys(CTR=1, ICV=None, ENC=1ba074b31f72a6c44fe8f5d9afe4da2f, D-ENC=511db767812597722109c867f9d7257a, MAC-C=29a69328e60494982632039ddd47a2f1, MAC-R=fdf8a06c38fa7a54123c80ab9087bf25)
DEBUG:pySim.global_platform.scp:host_challenge(40a62c37fa6304f8), card_challenge(6b4524abee7c)
DEBUG:pySim.global_platform.scp:mac_3des(00016b4524abee7c40a62c37fa6304f8) -> ba6961667737c5bc
DEBUG:pySim.global_platform.scp:mac_3des(40a62c37fa6304f800016b4524abee7c) -> f32ea3838bc148f3
DEBUG:pySim.global_platform.scp:host_cryptogram(ba6961667737c5bc), card_cryptogram(f32ea3838bc148f3)
DEBUG:pySim.global_platform.scp:mac_1des(8482010010ba6961667737c5bc,icv=0000000000000000) -> ebece14c7d6a4376
ok
test_mac_command (test_globalplatform.SCP02_Test) ... DEBUG:pySim.global_platform.scp:Scp02SessionKeys(CTR=1, ICV=None, ENC=1ba074b31f72a6c44fe8f5d9afe4da2f, D-ENC=511db767812597722109c867f9d7257a, MAC-C=29a69328e60494982632039ddd47a2f1, MAC-R=fdf8a06c38fa7a54123c80ab9087bf25)
DEBUG:pySim.global_platform.scp:host_challenge(40a62c37fa6304f8), card_challenge(6b4524abee7c)
DEBUG:pySim.global_platform.scp:mac_3des(00016b4524abee7c40a62c37fa6304f8) -> ba6961667737c5bc
DEBUG:pySim.global_platform.scp:mac_3des(40a62c37fa6304f800016b4524abee7c) -> f32ea3838bc148f3
DEBUG:pySim.global_platform.scp:host_cryptogram(ba6961667737c5bc), card_cryptogram(f32ea3838bc148f3)
DEBUG:pySim.global_platform.scp:mac_1des(8482010010ba6961667737c5bc,icv=0000000000000000) -> ebece14c7d6a4376
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80f28002024f00)
DEBUG:pySim.global_platform.scp:mac_1des(84f280020a4f00,icv=6bcd3240a7d221aa) -> b21aafa3eb2d1672
ok
test_kcv (test_globalplatform.SCP03_KCV_Test) ... ok
test_01_initialize_update (test_globalplatform.SCP03_Test_AES128_03) ... ok
test_02_parse_init_upd_resp (test_globalplatform.SCP03_Test_AES128_03) ... DEBUG:pySim.global_platform.scp:scp03_kdf(constant=04, context=8e1552d0513c60f330760cd2c47c1dd3, base_key=000102030405060708090a0b0c0d0e0f, l=128)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=06, context=8e1552d0513c60f330760cd2c47c1dd3, base_key=101112131415161718191a1b1c1d1e1f, l=128)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=07, context=8e1552d0513c60f330760cd2c47c1dd3, base_key=101112131415161718191a1b1c1d1e1f, l=128)
DEBUG:pySim.global_platform.scp:<pySim.global_platform.scp.Scp03SessionKeys object at 0x7f50f6c7d730>
DEBUG:pySim.global_platform.scp:host_challenge(8e1552d0513c60f3), card_challenge(30760cd2c47c1dd3)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=00, context=8e1552d0513c60f330760cd2c47c1dd3, base_key=59b76ddff91dba0515a9644de3a48863, l=64)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=01, context=8e1552d0513c60f330760cd2c47c1dd3, base_key=59b76ddff91dba0515a9644de3a48863, l=64)
DEBUG:pySim.global_platform.scp:host_cryptogram(fd4721a14d9b0700), card_cryptogram(95065fe5ead8a9d7)
ok
test_03_gen_ext_auth_apdu (test_globalplatform.SCP03_Test_AES128_03) ... ok
test_04_wrap_cmd_apdu_get_eid (test_globalplatform.SCP03_Test_AES128_03) ... DEBUG:pySim.global_platform.scp:_get_icv(data=00000000000000000000000000000001, is_resp=False) -> icv=c70915b2ee6711aa326658fc9cd93ae9
ok
test_05_unwrap_rsp_apdu_get_eid (test_globalplatform.SCP03_Test_AES128_03) ... DEBUG:pySim.global_platform.scp:unwrap_rsp_apdu(sw=bytearray(b'\x90\x00'), rsp_apdu=bytearray(b'\xbf>\x12Z\x10\x89\x88!\x19\x90\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05'))
ok
test_01_initialize_update (test_globalplatform.SCP03_Test_AES128_11) ... ok
test_02_parse_init_upd_resp (test_globalplatform.SCP03_Test_AES128_11) ... DEBUG:pySim.global_platform.scp:scp03_kdf(constant=04, context=b13e5f938fc108c43eb51047495b249f, base_key=000102030405060708090a0b0c0d0e0f, l=128)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=06, context=b13e5f938fc108c43eb51047495b249f, base_key=101112131415161718191a1b1c1d1e1f, l=128)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=07, context=b13e5f938fc108c43eb51047495b249f, base_key=101112131415161718191a1b1c1d1e1f, l=128)
DEBUG:pySim.global_platform.scp:<pySim.global_platform.scp.Scp03SessionKeys object at 0x7f50f6c7d790>
DEBUG:pySim.global_platform.scp:host_challenge(b13e5f938fc108c4), card_challenge(3eb51047495b249f)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=00, context=b13e5f938fc108c43eb51047495b249f, base_key=8b2635556e987a6b84f43d9ffc197d3f, l=64)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=01, context=b13e5f938fc108c43eb51047495b249f, base_key=8b2635556e987a6b84f43d9ffc197d3f, l=64)
DEBUG:pySim.global_platform.scp:host_cryptogram(7d5f5826a993ebc8), card_cryptogram(66c484c1d2ef1948)
ok
test_03_gen_ext_auth_apdu (test_globalplatform.SCP03_Test_AES128_11) ... ok
test_04_wrap_cmd_apdu_get_eid (test_globalplatform.SCP03_Test_AES128_11) ... ok
test_05_unwrap_rsp_apdu_get_eid (test_globalplatform.SCP03_Test_AES128_11) ... DEBUG:pySim.global_platform.scp:unwrap_rsp_apdu(sw=bytearray(b'\x90\x00'), rsp_apdu=bytearray(b'\xbf>\x12Z\x10\x89\x88!\x19\x90\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x97\x1b\xe6\x89\x92\xdb\xbd\xfa'))
ok
test_01_initialize_update (test_globalplatform.SCP03_Test_AES128_33) ... ok
test_02_parse_init_upd_resp (test_globalplatform.SCP03_Test_AES128_33) ... DEBUG:pySim.global_platform.scp:scp03_kdf(constant=04, context=fdf38259a1e0de443b1aca81e821f219, base_key=000102030405060708090a0b0c0d0e0f, l=128)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=06, context=fdf38259a1e0de443b1aca81e821f219, base_key=101112131415161718191a1b1c1d1e1f, l=128)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=07, context=fdf38259a1e0de443b1aca81e821f219, base_key=101112131415161718191a1b1c1d1e1f, l=128)
DEBUG:pySim.global_platform.scp:<pySim.global_platform.scp.Scp03SessionKeys object at 0x7f50f6c7df70>
DEBUG:pySim.global_platform.scp:host_challenge(fdf38259a1e0de44), card_challenge(3b1aca81e821f219)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=00, context=fdf38259a1e0de443b1aca81e821f219, base_key=0415f56cbb9e488bb171b2b66081f004, l=64)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=01, context=fdf38259a1e0de443b1aca81e821f219, base_key=0415f56cbb9e488bb171b2b66081f004, l=64)
DEBUG:pySim.global_platform.scp:host_cryptogram(8c36f96bcc00724a), card_cryptogram(081cdc01c26b372d)
ok
test_03_gen_ext_auth_apdu (test_globalplatform.SCP03_Test_AES128_33) ... ok
test_04_wrap_cmd_apdu_get_eid (test_globalplatform.SCP03_Test_AES128_33) ... DEBUG:pySim.global_platform.scp:_get_icv(data=00000000000000000000000000000001, is_resp=False) -> icv=2130ff8bbb48c9be46f5b4fd6945003d
ok
test_05_unwrap_rsp_apdu_get_eid (test_globalplatform.SCP03_Test_AES128_33) ... DEBUG:pySim.global_platform.scp:unwrap_rsp_apdu(sw=bytearray(b'\x90\x00'), rsp_apdu=bytearray(b'\xf3\xba+\x10\x13\xaab$\xf5\xe1\xc18\xd7\x18\x05\xc5i\xe5C\x9bGWb`\xb7_\xc0!\xb2P\x97\xcb.h\xf8\xa0\x14Iu\xb9'))
DEBUG:pySim.global_platform.scp:_get_icv(data=80000000000000000000000000000001, is_resp=True) -> icv=a266877da5962d0da9c186b20337fb68
DEBUG:pySim.global_platform.scp:decrypted: bf3e125a10898821199000000000000000000000058000000000000000000000
DEBUG:pySim.global_platform.scp:response_data: bf3e125a1089882119900000000000000000000005
ok
test_01_initialize_update (test_globalplatform.SCP03_Test_AES192_03) ... ok
test_02_parse_init_upd_resp (test_globalplatform.SCP03_Test_AES192_03) ... DEBUG:pySim.global_platform.scp:scp03_kdf(constant=04, context=69c65da8202bf19fb570a67be3844671, base_key=000102030405060708090a0b0c0d0e0f0001020304050607, l=192)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=06, context=69c65da8202bf19fb570a67be3844671, base_key=101112131415161718191a1b1c1d1e1f1011121314151617, l=192)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=07, context=69c65da8202bf19fb570a67be3844671, base_key=101112131415161718191a1b1c1d1e1f1011121314151617, l=192)
DEBUG:pySim.global_platform.scp:<pySim.global_platform.scp.Scp03SessionKeys object at 0x7f50f6ca70a0>
DEBUG:pySim.global_platform.scp:host_challenge(69c65da8202bf19f), card_challenge(b570a67be3844671)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=00, context=69c65da8202bf19fb570a67be3844671, base_key=787c55691bf5f22f567f8905b9b74242dc6c92a94f050232, l=64)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=01, context=69c65da8202bf19fb570a67be3844671, base_key=787c55691bf5f22f567f8905b9b74242dc6c92a94f050232, l=64)
DEBUG:pySim.global_platform.scp:host_cryptogram(65df4f1a356a8879), card_cryptogram(7729d6dd3d2ec5b1)
ok
test_03_gen_ext_auth_apdu (test_globalplatform.SCP03_Test_AES192_03) ... ok
test_04_wrap_cmd_apdu_get_eid (test_globalplatform.SCP03_Test_AES192_03) ... DEBUG:pySim.global_platform.scp:_get_icv(data=00000000000000000000000000000001, is_resp=False) -> icv=295afe76882e5ab0ee690befcf2ef778
ok
test_05_unwrap_rsp_apdu_get_eid (test_globalplatform.SCP03_Test_AES192_03) ... DEBUG:pySim.global_platform.scp:unwrap_rsp_apdu(sw=bytearray(b'\x90\x00'), rsp_apdu=bytearray(b'\xbf>\x12Z\x10\x89\x88!\x19\x90\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05'))
ok
test_01_initialize_update (test_globalplatform.SCP03_Test_AES192_11) ... ok
test_02_parse_init_upd_resp (test_globalplatform.SCP03_Test_AES192_11) ... DEBUG:pySim.global_platform.scp:scp03_kdf(constant=04, context=7396430b768b085b8cfc23522ffdbf1e, base_key=000102030405060708090a0b0c0d0e0f0001020304050607, l=192)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=06, context=7396430b768b085b8cfc23522ffdbf1e, base_key=101112131415161718191a1b1c1d1e1f1011121314151617, l=192)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=07, context=7396430b768b085b8cfc23522ffdbf1e, base_key=101112131415161718191a1b1c1d1e1f1011121314151617, l=192)
DEBUG:pySim.global_platform.scp:<pySim.global_platform.scp.Scp03SessionKeys object at 0x7f50f6ca7130>
DEBUG:pySim.global_platform.scp:host_challenge(7396430b768b085b), card_challenge(8cfc23522ffdbf1e)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=00, context=7396430b768b085b8cfc23522ffdbf1e, base_key=15e4303d3157d8d1dd283b7321434ae83fc80ac9b12e3daf, l=64)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=01, context=7396430b768b085b8cfc23522ffdbf1e, base_key=15e4303d3157d8d1dd283b7321434ae83fc80ac9b12e3daf, l=64)
DEBUG:pySim.global_platform.scp:host_cryptogram(2145ed30b146f5db), card_cryptogram(5df5542cac8fd866)
ok
test_03_gen_ext_auth_apdu (test_globalplatform.SCP03_Test_AES192_11) ... ok
test_04_wrap_cmd_apdu_get_eid (test_globalplatform.SCP03_Test_AES192_11) ... ok
test_05_unwrap_rsp_apdu_get_eid (test_globalplatform.SCP03_Test_AES192_11) ... DEBUG:pySim.global_platform.scp:unwrap_rsp_apdu(sw=bytearray(b'\x90\x00'), rsp_apdu=bytearray(b'\xbf>\x12Z\x10\x89\x88!\x19\x90\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x16/\xbd3\xe0I@\xa9'))
ok
test_01_initialize_update (test_globalplatform.SCP03_Test_AES192_33) ... ok
test_02_parse_init_upd_resp (test_globalplatform.SCP03_Test_AES192_33) ... DEBUG:pySim.global_platform.scp:scp03_kdf(constant=04, context=9b3f2eef0e8c9374f6bb305a15bae1a6, base_key=000102030405060708090a0b0c0d0e0f0001020304050607, l=192)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=06, context=9b3f2eef0e8c9374f6bb305a15bae1a6, base_key=101112131415161718191a1b1c1d1e1f1011121314151617, l=192)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=07, context=9b3f2eef0e8c9374f6bb305a15bae1a6, base_key=101112131415161718191a1b1c1d1e1f1011121314151617, l=192)
DEBUG:pySim.global_platform.scp:<pySim.global_platform.scp.Scp03SessionKeys object at 0x7f50f6ca73a0>
DEBUG:pySim.global_platform.scp:host_challenge(9b3f2eef0e8c9374), card_challenge(f6bb305a15bae1a6)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=00, context=9b3f2eef0e8c9374f6bb305a15bae1a6, base_key=436682192ffc13c9399ca38c1adac01498ec77fe1fb560a9, l=64)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=01, context=9b3f2eef0e8c9374f6bb305a15bae1a6, base_key=436682192ffc13c9399ca38c1adac01498ec77fe1fb560a9, l=64)
DEBUG:pySim.global_platform.scp:host_cryptogram(9100bc22d58b45b8), card_cryptogram(8f79fb08212fbed7)
ok
test_03_gen_ext_auth_apdu (test_globalplatform.SCP03_Test_AES192_33) ... ok
test_04_wrap_cmd_apdu_get_eid (test_globalplatform.SCP03_Test_AES192_33) ... DEBUG:pySim.global_platform.scp:_get_icv(data=00000000000000000000000000000001, is_resp=False) -> icv=8dfc8944578cf519b96fa2f3d0540929
ok
test_05_unwrap_rsp_apdu_get_eid (test_globalplatform.SCP03_Test_AES192_33) ... DEBUG:pySim.global_platform.scp:unwrap_rsp_apdu(sw=bytearray(b'\x90\x00'), rsp_apdu=bytearray(b'\xc0Qv\xc1\xb6\xf7*\xaeP\xc3,\xbe\xe6;\x0e\x95\x99\x89(\xfdM\xfb+\xe9\xf2\x7f\xfd\xe8\xc8GoY\t\xb4\x80\\\xc4\x03\x95\x99'))
DEBUG:pySim.global_platform.scp:_get_icv(data=80000000000000000000000000000001, is_resp=True) -> icv=dffa9a2aa40de538b5919545a699f2f6
DEBUG:pySim.global_platform.scp:decrypted: bf3e125a10898821199000000000000000000000058000000000000000000000
DEBUG:pySim.global_platform.scp:response_data: bf3e125a1089882119900000000000000000000005
ok
test_01_initialize_update (test_globalplatform.SCP03_Test_AES256_03) ... ok
test_02_parse_init_upd_resp (test_globalplatform.SCP03_Test_AES256_03) ... DEBUG:pySim.global_platform.scp:scp03_kdf(constant=04, context=c6066990fc426e1d8682cd81bbd8919f, base_key=000102030405060708090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f, l=256)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=06, context=c6066990fc426e1d8682cd81bbd8919f, base_key=101112131415161718191a1b1c1d1e1f101112131415161718191a1b1c1d1e1f, l=256)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=07, context=c6066990fc426e1d8682cd81bbd8919f, base_key=101112131415161718191a1b1c1d1e1f101112131415161718191a1b1c1d1e1f, l=256)
DEBUG:pySim.global_platform.scp:<pySim.global_platform.scp.Scp03SessionKeys object at 0x7f50f6ca74f0>
DEBUG:pySim.global_platform.scp:host_challenge(c6066990fc426e1d), card_challenge(8682cd81bbd8919f)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=00, context=c6066990fc426e1d8682cd81bbd8919f, base_key=309b7e14a014a190dd01e21756a8010d01568b058971f803f7d77be42c6cb45b, l=64)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=01, context=c6066990fc426e1d8682cd81bbd8919f, base_key=309b7e14a014a190dd01e21756a8010d01568b058971f803f7d77be42c6cb45b, l=64)
DEBUG:pySim.global_platform.scp:host_cryptogram(77c493b632edadaf), card_cryptogram(2de3f2664581f118)
ok
test_03_gen_ext_auth_apdu (test_globalplatform.SCP03_Test_AES256_03) ... ok
test_04_wrap_cmd_apdu_get_eid (test_globalplatform.SCP03_Test_AES256_03) ... DEBUG:pySim.global_platform.scp:_get_icv(data=00000000000000000000000000000001, is_resp=False) -> icv=f23382fb921338b0d02abf13bcddb773
ok
test_05_unwrap_rsp_apdu_get_eid (test_globalplatform.SCP03_Test_AES256_03) ... DEBUG:pySim.global_platform.scp:unwrap_rsp_apdu(sw=bytearray(b'\x90\x00'), rsp_apdu=bytearray(b'\xbf>\x12Z\x10\x89\x88!\x19\x90\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05'))
ok
test_01_initialize_update (test_globalplatform.SCP03_Test_AES256_11) ... ok
test_02_parse_init_upd_resp (test_globalplatform.SCP03_Test_AES256_11) ... DEBUG:pySim.global_platform.scp:scp03_kdf(constant=04, context=11666d57866c6f5453ea8847efa7674e, base_key=000102030405060708090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f, l=256)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=06, context=11666d57866c6f5453ea8847efa7674e, base_key=101112131415161718191a1b1c1d1e1f101112131415161718191a1b1c1d1e1f, l=256)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=07, context=11666d57866c6f5453ea8847efa7674e, base_key=101112131415161718191a1b1c1d1e1f101112131415161718191a1b1c1d1e1f, l=256)
DEBUG:pySim.global_platform.scp:<pySim.global_platform.scp.Scp03SessionKeys object at 0x7f50f6ca7640>
DEBUG:pySim.global_platform.scp:host_challenge(11666d57866c6f54), card_challenge(53ea8847efa7674e)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=00, context=11666d57866c6f5453ea8847efa7674e, base_key=80546fe2b8e72587efa3f1be7df30b0fb0146b795f8f131d8b32ac5200f5dbec, l=64)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=01, context=11666d57866c6f5453ea8847efa7674e, base_key=80546fe2b8e72587efa3f1be7df30b0fb0146b795f8f131d8b32ac5200f5dbec, l=64)
DEBUG:pySim.global_platform.scp:host_cryptogram(2f2ad190eff2fafc), card_cryptogram(41498a4d66cf0dee)
ok
test_03_gen_ext_auth_apdu (test_globalplatform.SCP03_Test_AES256_11) ... ok
test_04_wrap_cmd_apdu_get_eid (test_globalplatform.SCP03_Test_AES256_11) ... ok
test_05_unwrap_rsp_apdu_get_eid (test_globalplatform.SCP03_Test_AES256_11) ... DEBUG:pySim.global_platform.scp:unwrap_rsp_apdu(sw=bytearray(b'\x90\x00'), rsp_apdu=bytearray(b'\xbf>\x12Z\x10\x89\x88!\x19\x90\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x80\x12\xdd\x7f\x01\xf1\xc4\xc1'))
ok
test_01_initialize_update (test_globalplatform.SCP03_Test_AES256_33) ... ok
test_02_parse_init_upd_resp (test_globalplatform.SCP03_Test_AES256_33) ... DEBUG:pySim.global_platform.scp:scp03_kdf(constant=04, context=97b2055fe58599fda8439a22cedf045f, base_key=000102030405060708090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f, l=256)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=06, context=97b2055fe58599fda8439a22cedf045f, base_key=101112131415161718191a1b1c1d1e1f101112131415161718191a1b1c1d1e1f, l=256)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=07, context=97b2055fe58599fda8439a22cedf045f, base_key=101112131415161718191a1b1c1d1e1f101112131415161718191a1b1c1d1e1f, l=256)
DEBUG:pySim.global_platform.scp:<pySim.global_platform.scp.Scp03SessionKeys object at 0x7f50f6ca7790>
DEBUG:pySim.global_platform.scp:host_challenge(97b2055fe58599fd), card_challenge(a8439a22cedf045f)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=00, context=97b2055fe58599fda8439a22cedf045f, base_key=0607c530eb8e7b6e781a70b349370db8728c4b6ed29a24e5461864c142f98fec, l=64)
DEBUG:pySim.global_platform.scp:scp03_kdf(constant=01, context=97b2055fe58599fda8439a22cedf045f, base_key=0607c530eb8e7b6e781a70b349370db8728c4b6ed29a24e5461864c142f98fec, l=64)
DEBUG:pySim.global_platform.scp:host_cryptogram(508a0fd959d2e547), card_cryptogram(a9f1903b2834f26e)
ok
test_03_gen_ext_auth_apdu (test_globalplatform.SCP03_Test_AES256_33) ... ok
test_04_wrap_cmd_apdu_get_eid (test_globalplatform.SCP03_Test_AES256_33) ... DEBUG:pySim.global_platform.scp:_get_icv(data=00000000000000000000000000000001, is_resp=False) -> icv=bcaf73883e649908dcad6ebcaf5a3c41
ok
test_05_unwrap_rsp_apdu_get_eid (test_globalplatform.SCP03_Test_AES256_33) ... DEBUG:pySim.global_platform.scp:unwrap_rsp_apdu(sw=bytearray(b'\x90\x00'), rsp_apdu=bytearray(b'\xea\x90\xdb\xfad\x8ag\xc5\xebj\xbcW\xf8S\x0b\x97\xd0\xcdVG\xc5\xe8s \x16\xb5R\x03\xb0x\xdd*\xce\x7f\x8b\xc5\xd1\xc1\xcd\x99'))
DEBUG:pySim.global_platform.scp:_get_icv(data=80000000000000000000000000000001, is_resp=True) -> icv=3dc50f8cecdf2361db2de3d475e8c3e7
DEBUG:pySim.global_platform.scp:decrypted: bf3e125a10898821199000000000000000000000058000000000000000000000
DEBUG:pySim.global_platform.scp:response_data: bf3e125a1089882119900000000000000000000005
ok
test_decode_resp (test_ota.SmsOtaTestCase) ... ok
test_encode_cmd (test_ota.SmsOtaTestCase) ... ok
test_cmd_3des_ciphered (test_ota.Test_SMS_3DES) ... ok
test_cmd_3des_none (test_ota.Test_SMS_3DES) ... ok
test_cmd_3des_signed (test_ota.Test_SMS_3DES) ... ok
test_resp_3des_ciphered (test_ota.Test_SMS_3DES) ... ok
test_resp_3des_none (test_ota.Test_SMS_3DES) ... ok
test_resp_3des_signed (test_ota.Test_SMS_3DES) ... ok
test_resp_3des_signed_err (test_ota.Test_SMS_3DES)
Expect an OtaCheckError exception if the computed CC != received CC ... ok
test_cmd_aes128_ciphered (test_ota.Test_SMS_AES128) ... ok
test_resp_aes128_ciphered (test_ota.Test_SMS_AES128) ... ok
test_from_bytes (test_sms.Test_AddressField) ... ok
test_from_bytes_odd (test_sms.Test_AddressField) ... ok
test_to_bytes (test_sms.Test_AddressField) ... ok
test_to_bytes_odd (test_sms.Test_AddressField) ... ok
test_from_bytes (test_sms.Test_DELIVER) ... ok
test_single_ie (test_sms.Test_SMS_UDH) ... ok
test_single_ie_tail (test_sms.Test_SMS_UDH) ... ok
test_single_ie_value (test_sms.Test_SMS_UDH) ... ok
test_to_bytes (test_sms.Test_SMS_UDH) ... ok
test_two_ie_data_tail (test_sms.Test_SMS_UDH) ... ok
test_from_bytes (test_sms.Test_SUBMIT) ... ok
test_IE_empty (test_tlv.TestIE) ... ok
test_IE_from_bytes (test_tlv.TestIE) ... ok
test_XC_constr_class (test_tlv.TestTranscodable)
Transcodable derived class with _construct class variable ... ok
test_XC_constr_instance (test_tlv.TestTranscodable)
Transcodable derived class with _construct instance variable ... ok
test_XC_method_instance (test_tlv.TestTranscodable)
Transcodable derived class with _{from,to}_bytes() methods ... ok
test_camel_to_snake (test_tlv.TestUtils) ... ok
test_flatten_dict_lists (test_tlv.TestUtils) ... ok
test_flatten_dict_lists_nested (test_tlv.TestUtils) ... ok
test_flatten_dict_lists_nodict (test_tlv.TestUtils) ... ok
test_de_encode_tlv (test_tlvs.TLV_IE_Test)
Test the decoder and encoder for a TLV_IE.  Performs first a decoder ... ok
test_decode_tlv (test_tlvs.TLV_IE_Test)
Test the decoder for a TLV_IE.  Requires the given TLV_IE subclass ... ok
test_encode_tlv (test_tlvs.TLV_IE_Test)
Test the encoder for a TLV_IE.  Requires the given TLV_IE subclass ... ok
testDecAct_allSet (test_utils.DecTestCase) ... ok
testDecAct_noneSet (test_utils.DecTestCase) ... ok
testDecAct_onlyCdma20001xRTT (test_utils.DecTestCase) ... ok
testDecAct_onlyCdma2000HRPD (test_utils.DecTestCase) ... ok
testDecAct_onlyEUtran (test_utils.DecTestCase) ... ok
testDecAct_onlyGsm (test_utils.DecTestCase) ... ok
testDecAct_onlyGsmCompact (test_utils.DecTestCase) ... ok
testDecAct_onlyNgRan (test_utils.DecTestCase) ... ok
testDecAct_onlyUtran (test_utils.DecTestCase) ... ok
testDecMCCfromPLMN (test_utils.DecTestCase) ... ok
testDecMCCfromPLMN_str (test_utils.DecTestCase) ... ok
testDecMCCfromPLMN_unused (test_utils.DecTestCase) ... ok
testDecMCCfromPLMN_unused_str (test_utils.DecTestCase) ... ok
testDecMNCfromPLMN_threeDigitMNC (test_utils.DecTestCase) ... ok
testDecMNCfromPLMN_threeDigitMNC_str (test_utils.DecTestCase) ... ok
testDecMNCfromPLMN_twoDigitMNC (test_utils.DecTestCase) ... ok
testDecMNCfromPLMN_twoDigitMNC_str (test_utils.DecTestCase) ... ok
testDecMNCfromPLMN_unused (test_utils.DecTestCase) ... ok
testDecMNCfromPLMN_unused_str (test_utils.DecTestCase) ... ok
testDec_msisdn (test_utils.DecTestCase) ... ok
testDecodeSuciCalcInfo (test_utils.DecTestCase) ... ok
testDecxPlmn_w_act (test_utils.DecTestCase) ... ok
testEnc_msisdn (test_utils.DecTestCase) ... ok
testEncodeSuciCalcInfo (test_utils.DecTestCase) ... ok
testFormatxPlmn_w_act (test_utils.DecTestCase) ... ok
testSplitHexStringToListOf5ByteEntries (test_utils.DecTestCase) ... ok
test_enc_plmn (test_utils.DecTestCase) ... ok
testSeqOfChoices (test_utils.DoTestCase)
A sequence of two choices with each a variety of DO/TLVs ... ok
test_BerTlvLenDec (test_utils.TestBerTlv) ... ok
test_BerTlvLenEnc (test_utils.TestBerTlv) ... ok
test_BerTlvParseOne (test_utils.TestBerTlv) ... ok
test_BerTlvTagDec (test_utils.TestBerTlv) ... ok
test_ComprTlvTagDec (test_utils.TestComprTlv) ... ok
test_ComprTlvTagEnc (test_utils.TestComprTlv) ... ok
testDgiTlvLenDec (test_utils.TestDgiTlv) ... ok
test_DgiTlvLenEnc (test_utils.TestDgiTlv) ... ok
test_encode (test_utils.TestLuhn) ... ok
test_sanitize_iccid (test_utils.TestLuhn) ... ok
test_verify (test_utils.TestLuhn) ... ok

----------------------------------------------------------------------
Ran 162 tests in 2.052s

OK
+ cd pysim-testdata
+ ../tests/pySim-prog_test.sh
pySim-prog_test - a test program to test pySim-prog.py
======================================================
Expecting to see the following cards:
Fairwaves-SIM
fakemagicsim
sysmoISIM-SJA2
sysmosim-gr1
sysmoUSIM-SJS1
Wavemobile-SIM
Number of card terminals installed: 6

== EXECUTING TEST ==
Probing card in terminal #0
Card is of type: sysmosim-gr1
Using PC/SC reader interface
Ready for Programming: Insert card now (or CTRL-C to cancel)
Generated card parameters :
 > Name     : Magic
 > SMSP     : e1ffffffffffffffffffffffff0581005155f5ffffffffffff000000
 > ICCID    : 1122334455667788990
 > MCC/MNC  : 001/01
 > IMSI     : 001010000000102
 > Ki       : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
 > OPC      : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
 > ACC      : None
 > ADM1(hex): 4444444444444444
 > OPMODE   : None
Programming ...
Programming successful: Remove card from reader

Verifying card ...
Card contents match the test data -- success!

== EXECUTING TEST ==
Probing card in terminal #1
Card is of type: Fairwaves-SIM
Using PC/SC reader interface
Ready for Programming: Insert card now (or CTRL-C to cancel)
Generated card parameters :
 > Name     : Magic
 > SMSP     : e1ffffffffffffffffffffffff0581005155f5ffffffffffff000000
 > ICCID    : 1122334455667788990
 > MCC/MNC  : 001/01
 > IMSI     : 001010000000111
 > Ki       : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
 > OPC      : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
 > ACC      : None
 > ADM1(hex): CAE743DB9C5B5A58
 > OPMODE   : None
Programming ...
Programming successful: Remove card from reader

Verifying card ...
Card contents match the test data -- success!

== EXECUTING TEST ==
Probing card in terminal #2
Card is of type: sysmoUSIM-SJS1
Using PC/SC reader interface
Ready for Programming: Insert card now (or CTRL-C to cancel)
Generated card parameters :
 > Name     : Magic
 > SMSP     : e1ffffffffffffffffffffffff0581005155f5ffffffffffff000000
 > ICCID    : 1122334455667788990
 > MCC/MNC  : 001/01
 > IMSI     : 001010000000102
 > Ki       : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
 > OPC      : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
 > ACC      : None
 > ADM1(hex): 3535353338343037
 > OPMODE   : None
Programming ...
Programming successful: Remove card from reader

Verifying card ...
Card contents match the test data -- success!

== EXECUTING TEST ==
Probing card in terminal #3
Card is of type: Wavemobile-SIM
Using PC/SC reader interface
Ready for Programming: Insert card now (or CTRL-C to cancel)
Generated card parameters :
 > Name     : Magic
 > SMSP     : e1ffffffffffffffffffffffff0581005155f5ffffffffffff000000
 > ICCID    : 1122334455667788990
 > MCC/MNC  : 001/01
 > IMSI     : 001010000000102
 > Ki       : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
 > OPC      : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
 > ACC      : None
 > ADM1(hex): 15E31383624FDC8A
 > OPMODE   : None
Programming ...
Warning: Programming of the ICCID is not implemented for this type of card.
Warning: Programming of the KI is not implemented for this type of card.
Warning: Programming of the OPc is not implemented for this type of card.
Programming successful: Remove card from reader

Verifying card ...
Card contents match the test data -- success!

== EXECUTING TEST ==
Probing card in terminal #4
Card is of type: sysmoISIM-SJA2
Using PC/SC reader interface
Ready for Programming: Insert card now (or CTRL-C to cancel)
Generated card parameters :
 > Name     : Magic
 > SMSP     : e1ffffffffffffffffffffffff0581005155f5ffffffffffff000000
 > ICCID    : 1122334455667788990
 > MCC/MNC  : 001/01
 > IMSI     : 001010000000102
 > Ki       : AABBCCDDEEFFAABBCCDDEEFFAABBCCDD
 > OPC      : 12345678901234567890123456789012
 > ACC      : None
 > ADM1(hex): 3637323235383830
 > OPMODE   : None
Programming ...
Warning: Programming of the ICCID is not implemented for this type of card.
Programming successful: Remove card from reader

Verifying card ...
Card contents match the test data -- success!

== EXECUTING TEST ==
Probing card in terminal #5
Card is of type: fakemagicsim
Using PC/SC reader interface
Ready for Programming: Insert card now (or CTRL-C to cancel)
Generated card parameters :
 > Name     : Magic
 > SMSP     : e1ffffffffffffffffffffffff0581005155f5ffffffffffff000000
 > ICCID    : 1122334455667788990
 > MCC/MNC  : 001/01
 > IMSI     : 001010000000102
 > Ki       : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
 > OPC      : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
 > ACC      : None
 > ADM1(hex): 3030303030303030
 > OPMODE   : None
Programming ...
Programming successful: Remove card from reader

Verifying card ...
Card contents match the test data -- success!

All cards seen -- everything ok!
+ ../tests/pySim-trace_test.sh
pySim-trace_test - a test program to test pySim-trace.py
========================================================
INFO     root: Opening source gsmtap-pyshark-pcap...
Detected UICC Add-on "SIM"
Detected UICC Add-on "GSM-R"
Detected UICC Add-on "RUIM"
Can't read AIDs from SIM -- 'list' object has no attribute 'lower'
warning: EF.DIR seems to be empty!
 ISIM: a0000000871004
 USIM: a0000000871002
INFO     root: Entering main loop...
CardReset(3b9f96801f878031e073fe211b674a4c753034054ba9)
===============================
00 READ BINARY      MF/EF.ICCID                         -        9000 {'iccid': '8988211000000465008'}
===============================
00 READ BINARY      MF/EF.PL                            -        9000 [None, None, None, None, None]
===============================
00 TERMINAL PROFILE                                     -        9000 {'p1': 0, 'p2': 0, 'cmd': 'ffffffff7f9d00dfbf00001fe2000000c36b000700004000500000000008'}
===============================
00 READ RECORD      MF/EF.DIR                           01       9000 {'application_template': [{'application_id': b'\xa0\x00\x00\x00\x87\x10\x02\xff\xff\xff\xff\x89\x07\t\x00\x00'}, {'application_label': 'USim1'}, {'discretionary_template': b'\xa0\x0c\x80\x01\x17\x81\x02_`\x82\x03EAP'}]}
===============================
00 READ RECORD      MF/EF.DIR                           02       9000 {'application_template': [{'application_id': b'\xa0\x00\x00\x00\x87\x10\x04\xff\xff\xff\xff\x89\x07\t\x00\x00'}, {'application_label': 'ISim1'}]}
===============================
00 READ RECORD      MF/EF.DIR                           03       9000 {'application_template': None}
===============================
00 READ RECORD      MF/EF.DIR                           04       9000 {'application_template': None}
===============================
00 READ RECORD      MF/EF.DIR                           05       9000 {'application_template': None}
===============================
00 READ RECORD      MF/EF.DIR                           06       9000 {'application_template': None}
===============================
00 READ RECORD      MF/EF.DIR                           07       9000 {'application_template': None}
===============================
00 READ RECORD      MF/EF.DIR                           08       9000 {'application_template': None}
===============================
00 MANAGE CHANNEL                                       01       9000 {'mode': 'open_channel', 'created_channel': 1}
===============================
00 READ RECORD      MF/ADF.USIM/EF.ECC                  01       9000 None
===============================
00 READ RECORD      MF/ADF.USIM/EF.ECC                  02       9000 None
===============================
00 READ RECORD      MF/ADF.USIM/EF.ECC                  03       9000 None
===============================
00 READ RECORD      MF/ADF.USIM/EF.ECC                  04       9000 None
===============================
00 READ RECORD      MF/ADF.USIM/EF.ECC                  05       9000 None
===============================
00 READ BINARY      MF/ADF.USIM/EF.LI                   -        9000 [None, None, None, None, None]
===============================
00 UNBLOCK PIN                                          -        63ca {'scope': 'global_mf', 'referenced_data_nr': 1, 'mode': 'check_remaining_attempts', 'remaining_attempts': 10}
===============================
00 VERIFY PIN                                           -        63c3 {'scope': 'global_mf', 'referenced_data_nr': 1, 'mode': 'check_remaining_attempts', 'remaining_attempts': 3}
===============================
00 UNBLOCK PIN                                          -        63ca {'scope': 'specific_df_adf', 'referenced_data_nr': 1, 'mode': 'check_remaining_attempts', 'remaining_attempts': 10}
===============================
00 VERIFY PIN                                           -        63c3 {'scope': 'specific_df_adf', 'referenced_data_nr': 1, 'mode': 'check_remaining_attempts', 'remaining_attempts': 3}
===============================
00 READ BINARY      MF/ADF.USIM/EF.AD                   -        9000 {'ms_operation_mode': 'normal', 'additional_info': {'ciphering_indicator': False, 'csg_display_control': False, 'prose_services': False, 'extended_drx': False}, 'rfu': 0, 'mnc_len': 2, 'extensions': b''}
===============================
00 READ BINARY      MF/ADF.USIM/EF.IMSI                 -        9000 {'imsi': '901700000046734'}
===============================
00 READ BINARY      MF/ADF.USIM/EF.ACC                  -        9000 {'ACC0': True, 'ACC1': False, 'ACC2': False, 'ACC3': False, 'ACC4': False, 'ACC5': False, 'ACC6': False, 'ACC7': False, 'ACC8': False, 'ACC9': False, 'ACC10': False, 'ACC11': False, 'ACC12': False, 'ACC13': False, 'ACC14': False, 'ACC15': False}
===============================
00 READ BINARY      MF/ADF.USIM/EF.LOCI                 -        9000 {'tmsi': 'ffffffff', 'lai': {'mcc_mnc': 'fff-ff', 'lac': 'fffe'}, 'rfu': 255, 'lu_status': 3}
===============================
00 READ BINARY      MF/ADF.USIM/EF.PSLOCI               -        9000 {'ptmsi': 'ffffffff', 'ptmsi_sig': 'ffffff', 'rai': 'ffff00fffeff', 'rau_status': 2}
===============================
00 READ BINARY      MF/ADF.USIM/EF.UST                  -        9000 {1: {'activated': False, 'description': 'Local Phone Book'}, 2: {'activated': True, 'description': 'Fixed Dialling Numbers (FDN)'}, 3: {'activated': True, 'description': 'Extension 2'}, 4: {'activated': True, 'description': 'Service Dialling Numbers (SDN)'}, 5: {'activated': True, 'description': 'Extension3'}, 6: {'activated': True, 'description': 'Barred Dialling Numbers (BDN)'}, 7: {'activated': False, 'description': 'Extension4'}, 8: {'activated': True, 'description': 'Outgoing Call Information (OCI and OCT)'}, 9: {'activated': True, 'description': 'Incoming Call Information (ICI and ICT)'}, 10: {'activated': True, 'description': 'Short Message Storage (SMS)'}, 11: {'activated': True, 'description': 'Short Message Status Reports (SMSR)'}, 12: {'activated': True, 'description': 'Short Message Service Parameters (SMSP)'}, 13: {'activated': True, 'description': 'Advice of Charge (AoC)'}, 14: {'activated': True, 'description': 'Capability Configuration Parameters 2 (CCP2)'}, 15: {'activated': True, 'description': 'Cell Broadcast Message Identifier'}, 16: {'activated': True, 'description': 'Cell Broadcast Message Identifier Ranges'}, 17: {'activated': True, 'description': 'Group Identifier Level 1'}, 18: {'activated': True, 'description': 'Group Identifier Level 2'}, 19: {'activated': True, 'description': 'Service Provider Name'}, 20: {'activated': True, 'description': 'User controlled PLMN selector with Access Technology'}, 21: {'activated': True, 'description': 'MSISDN'}, 22: {'activated': False, 'description': 'Image (IMG)'}, 23: {'activated': False, 'description': 'Support of Localised Service Areas (SoLSA)'}, 24: {'activated': True, 'description': 'Enhanced Multi-Level Precedence and Pre-emption Service'}, 25: {'activated': True, 'description': 'Automatic Answer for eMLPP'}, 26: {'activated': False, 'description': 'RFU'}, 27: {'activated': True, 'description': 'GSM Access'}, 28: {'activated': True, 'description': 'Data download via SMS-PP'}, 29: {'activated': True, 'description': 'Data download via SMS-CB'}, 30: {'activated': False, 'description': 'Call Control by USIM'}, 31: {'activated': False, 'description': 'MO-SMS Control by USIM'}, 32: {'activated': True, 'description': 'RUN AT COMMAND command'}, 33: {'activated': True, 'description': 'shall be set to 1'}, 34: {'activated': True, 'description': 'Enabled Services Table'}, 35: {'activated': True, 'description': 'APN Control List (ACL)'}, 36: {'activated': False, 'description': 'Depersonalisation Control Keys'}, 37: {'activated': False, 'description': 'Co-operative Network List'}, 38: {'activated': True, 'description': 'GSM security context'}, 39: {'activated': True, 'description': 'CPBCCH Information'}, 40: {'activated': True, 'description': 'Investigation Scan'}, 41: {'activated': False, 'description': 'MexE'}, 42: {'activated': True, 'description': 'Operator controlled PLMN selector with Access Technology'}, 43: {'activated': True, 'description': 'HPLMN selector with Access Technology'}, 44: {'activated': True, 'description': 'Extension 5'}, 45: {'activated': True, 'description': 'PLMN Network Name'}, 46: {'activated': True, 'description': 'Operator PLMN List'}, 47: {'activated': False, 'description': 'Mailbox Dialling Numbers'}, 48: {'activated': False, 'description': 'Message Waiting Indication Status'}, 49: {'activated': False, 'description': 'Call Forwarding Indication Status'}, 50: {'activated': False, 'description': 'Reserved and shall be ignored'}, 51: {'activated': True, 'description': 'Service Provider Display Information'}, 52: {'activated': False, 'description': 'Multimedia Messaging Service (MMS)'}, 53: {'activated': False, 'description': 'Extension 8'}, 54: {'activated': False, 'description': 'Call control on GPRS by USIM'}, 55: {'activated': False, 'description': 'MMS User Connectivity Parameters'}, 56: {'activated': False, 'description': "Network's indication of alerting in the MS (NIA)"}, 57: {'activated': False, 'description': 'VGCS Group Identifier List (EFVGCS and EFVGCSS)'}, 58: {'activated': False, 'description': 'VBS Group Identifier List (EFVBS and EFVBSS)'}, 59: {'activated': False, 'description': 'Pseudonym'}, 60: {'activated': True, 'description': 'User Controlled PLMN selector for I-WLAN access'}, 61: {'activated': False, 'description': 'Operator Controlled PLMN selector for I-WLAN access'}, 62: {'activated': False, 'description': 'User controlled WSID list'}, 63: {'activated': False, 'description': 'Operator controlled WSID list'}, 64: {'activated': False, 'description': 'VGCS security'}, 65: {'activated': False, 'description': 'VBS security'}, 66: {'activated': False, 'description': 'WLAN Reauthentication Identity'}, 67: {'activated': False, 'description': 'Multimedia Messages Storage'}, 68: {'activated': False, 'description': 'Generic Bootstrapping Architecture (GBA)'}, 69: {'activated': False, 'description': 'MBMS security'}, 70: {'activated': False, 'description': 'Data download via USSD and USSD application mode'}, 71: {'activated': True, 'description': 'Equivalent HPLMN'}, 72: {'activated': False, 'description': 'Additional TERMINAL PROFILE after UICC activation'}, 73: {'activated': True, 'description': 'Equivalent HPLMN Presentation Indication'}, 74: {'activated': False, 'description': 'Last RPLMN Selection Indication'}, 75: {'activated': False, 'description': 'OMA BCAST Smart Card Profile'}, 76: {'activated': False, 'description': 'GBA-based Local Key Establishment Mechanism'}, 77: {'activated': False, 'description': 'Terminal Applications'}, 78: {'activated': False, 'description': 'Service Provider Name Icon'}, 79: {'activated': False, 'description': 'PLMN Network Name Icon'}, 80: {'activated': False, 'description': 'Connectivity Parameters for USIM IP connections'}, 81: {'activated': False, 'description': 'Home I-WLAN Specific Identifier List'}, 82: {'activated': False, 'description': 'I-WLAN Equivalent HPLMN Presentation Indication'}, 83: {'activated': False, 'description': 'I-WLAN HPLMN Priority Indication'}, 84: {'activated': False, 'description': 'I-WLAN Last Registered PLMN'}, 85: {'activated': True, 'description': 'EPS Mobility Management Information'}, 86: {'activated': True, 'description': 'Allowed CSG Lists and corresponding indications'}, 87: {'activated': True, 'description': 'Call control on EPS PDN connection by USIM'}, 88: {'activated': False, 'description': 'HPLMN Direct Access'}, 89: {'activated': True, 'description': 'eCall Data'}, 90: {'activated': True, 'description': 'Operator CSG Lists and corresponding indications'}, 91: {'activated': False, 'description': 'Support for SM-over-IP'}, 92: {'activated': False, 'description': 'Support of CSG Display Control'}, 93: {'activated': True, 'description': 'Communication Control for IMS by USIM'}, 94: {'activated': True, 'description': 'Extended Terminal Applications'}, 95: {'activated': False, 'description': 'Support of UICC access to IMS'}, 96: {'activated': False, 'description': 'Non-Access Stratum configuration by USIM'}, 97: {'activated': False, 'description': 'PWS configuration by USIM'}, 98: {'activated': False, 'description': 'RFU'}, 99: {'activated': False, 'description': 'URI support by UICC'}, 100: {'activated': False, 'description': 'Extended EARFCN support'}, 101: {'activated': False, 'description': 'ProSe'}, 102: {'activated': False, 'description': 'USAT Application Pairing'}, 103: {'activated': False, 'description': 'Media Type support'}, 104: {'activated': False, 'description': 'IMS call disconnection cause'}, 105: {'activated': False, 'description': 'URI support for MO SHORT MESSAGE CONTROL'}, 106: {'activated': False, 'description': 'ePDG configuration Information support'}, 107: {'activated': False, 'description': 'ePDG configuration Information configured'}, 108: {'activated': False, 'description': 'ACDC support'}, 109: {'activated': False, 'description': 'MCPTT'}, 110: {'activated': False, 'description': 'ePDG configuration Information for Emergency Service support'}, 111: {'activated': False, 'description': 'ePDG configuration Information for Emergency Service configured'}, 112: {'activated': False, 'description': 'eCall Data over IMS'}, 113: {'activated': False, 'description': 'URI support for SMS-PP DOWNLOAD as defined in 3GPP TS 31.111 [12]'}, 114: {'activated': False, 'description': 'From Preferred'}, 115: {'activated': False, 'description': 'IMS configuration data'}, 116: {'activated': False, 'description': 'TV configuration'}, 117: {'activated': False, 'description': '3GPP PS Data Off'}, 118: {'activated': False, 'description': '3GPP PS Data Off Service List'}, 119: {'activated': False, 'description': 'V2X'}, 120: {'activated': False, 'description': 'XCAP Configuration Data'}, 121: {'activated': False, 'description': 'EARFCN list for MTC/NB-IOT UEs'}, 122: {'activated': True, 'description': '5GS Mobility Management Information'}, 123: {'activated': True, 'description': '5G Security Parameters'}, 124: {'activated': True, 'description': 'Subscription identifier privacy support'}, 125: {'activated': False, 'description': 'SUCI calculation by the USIM'}, 126: {'activated': True, 'description': 'UAC Access Identities support'}, 127: {'activated': False, 'description': 'Expect control plane-based Steering of Roaming information during initial registration in VPLMN'}, 128: {'activated': False, 'description': 'Call control on PDU Session by USIM'}, 129: {'activated': False, 'description': '5GS Operator PLMN List'}, 130: {'activated': False, 'description': 'Support for SUPI of type NSI or GLI or GCI'}, 131: {'activated': False, 'description': '3GPP PS Data Off separate Home and Roaming lists'}, 132: {'activated': False, 'description': 'Support for URSP by USIM'}, 133: {'activated': False, 'description': '5G Security Parameters extended'}, 134: {'activated': False, 'description': 'MuD and MiD configuration data'}, 135: {'activated': False, 'description': 'Support for Trusted non-3GPP access networks by USIM'}, 136: {'activated': False, 'description': 'Support for multiple records of NAS security context storage for multiple registration'}, 137: {'activated': False, 'description': 'Pre-configured CAG information list'}, 138: {'activated': False, 'description': 'SOR-CMCI storage in USIM'}, 139: {'activated': False, 'description': '5G ProSe'}, 140: {'activated': False, 'description': 'Storage of disaster roaming information in USIM'}, 141: {'activated': False, 'description': 'Pre-configured eDRX parameters'}, 142: {'activated': False, 'description': '5G NSWO support'}, 143: {'activated': False, 'description': 'PWS configuration for SNPN in USIM'}, 144: {'activated': False, 'description': 'Multiplier Coefficient for Higher Priority PLMN search via NG-RAN satellite access'}, 145: {'activated': False, 'description': 'K_AUSF derivation configuration'}, 146: {'activated': False, 'description': 'Network Identifier for SNPN (NID)'}, 147: {'activated': False}, 148: {'activated': False}, 149: {'activated': False}, 150: {'activated': False}, 151: {'activated': False}, 152: {'activated': False}, 153: {'activated': False}, 154: {'activated': False}, 155: {'activated': False}, 156: {'activated': False}, 157: {'activated': False}, 158: {'activated': False}, 159: {'activated': False}, 160: {'activated': False}}
===============================
00 READ BINARY      MF/ADF.USIM/EF.EPSLOCI              -        9000 {'guti': '0bf6ffffffffffffffffffff', 'last_visited_registered_tai': 'fffffffffe', 'eps_update_status': 'not_updated'}
===============================
00 READ BINARY      MF/ADF.USIM/EF.Keys                 -        9000 {'ksi': 7, 'ck': 'ffffffffffffffffffffffffffffffff', 'ik': 'ffffffffffffffffffffffffffffffff'}
===============================
00 READ BINARY      MF/ADF.USIM/EF.KeysPS               -        9000 {'ksi': 7, 'ck': 'ffffffffffffffffffffffffffffffff', 'ik': 'ffffffffffffffffffffffffffffffff'}
===============================
00 READ RECORD      MF/ADF.USIM/EF.EPSNSC               01       9000 {'eps_nas__security__context': [{'ksi_asme': 7}, {'k_asme': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}, {'uplink_nas_count': 4294967295}, {'downlink_nas_count': 4294967295}, {'i_dof_nas_algorithms': '00'}]}
===============================
00 READ BINARY      MF/ADF.USIM/EF.START-HFN            -        9000 {'start_cs': 0, 'start_ps': 0}
===============================
00 READ BINARY      MF/ADF.USIM/EF.THRESHOLD            -        9000 {'max_start': 16777215}
===============================
00 READ BINARY      MF/ADF.USIM/DF.GSM-ACCESS/EF.Kc     -        9000 {'kc': 'ffffffffffffffff', 'cksn': 7}
===============================
00 READ BINARY      MF/ADF.USIM/DF.GSM-ACCESS/EF.KcGPRS -        9000 {'kc': 'ffffffffffffffff', 'cksn': 7}
===============================
00 READ BINARY      MF/ADF.USIM/EF.EST                  -        9000 {1: {'activated': False, 'description': 'Fixed Dialling Numbers (FDN)'}, 2: {'activated': False, 'description': 'Barred Dialling Numbers (BDN)'}, 3: {'activated': False, 'description': 'APN Control List (ACL)'}, 4: {'activated': False}, 5: {'activated': False}, 6: {'activated': False}, 7: {'activated': False}, 8: {'activated': False}, 9: {'activated': False}, 10: {'activated': False}, 11: {'activated': False}, 12: {'activated': False}, 13: {'activated': False}, 14: {'activated': False}, 15: {'activated': False}, 16: {'activated': False}, 17: {'activated': False}, 18: {'activated': False}, 19: {'activated': False}, 20: {'activated': False}, 21: {'activated': False}, 22: {'activated': False}, 23: {'activated': False}, 24: {'activated': False}, 25: {'activated': False}, 26: {'activated': False}, 27: {'activated': False}, 28: {'activated': False}, 29: {'activated': False}, 30: {'activated': False}, 31: {'activated': False}, 32: {'activated': False}, 33: {'activated': False}, 34: {'activated': False}, 35: {'activated': False}, 36: {'activated': False}, 37: {'activated': False}, 38: {'activated': False}, 39: {'activated': False}, 40: {'activated': False}, 41: {'activated': False}, 42: {'activated': False}, 43: {'activated': False}, 44: {'activated': False}, 45: {'activated': False}, 46: {'activated': False}, 47: {'activated': False}, 48: {'activated': False}, 49: {'activated': False}, 50: {'activated': False}, 51: {'activated': False}, 52: {'activated': False}, 53: {'activated': False}, 54: {'activated': False}, 55: {'activated': False}, 56: {'activated': False}, 57: {'activated': False}, 58: {'activated': False}, 59: {'activated': False}, 60: {'activated': False}, 61: {'activated': False}, 62: {'activated': False}, 63: {'activated': False}, 64: {'activated': False}, 65: {'activated': False}, 66: {'activated': False}, 67: {'activated': False}, 68: {'activated': False}, 69: {'activated': False}, 70: {'activated': False}, 71: {'activated': False}, 72: {'activated': False}}
===============================
00 READ BINARY      MF/ADF.USIM/EF.GID1                 -        9000 {'raw': 'ffffffffffffffffffff'}
===============================
00 READ BINARY      MF/ADF.USIM/EF.GID2                 -        9000 {'raw': 'ffffffffffffffffffff'}
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6f16
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6f16 (7fff/6f16)
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6f14 (7fff/6f14)
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6f14 (7fff/6f14)
00 READ BINARY      MF/ADF.USIM/EF.NETPAR               -        9000 {'raw': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}
===============================
00 READ BINARY      MF/ADF.USIM/EF.HPPLMN               -        9000 5
===============================
00 READ BINARY      MF/ADF.USIM/EF.HPLMNwAcT            -        9000 [{'mcc': '001', 'mnc': '01', 'act': ['E-UTRAN NB-S1', 'E-UTRAN WB-S1', 'EC-GSM-IoT', 'GSM', 'GSM COMPACT', 'NG-RAN', 'UTRAN', 'cdma2000 1xRTT', 'cdma2000 HRPD']}, None, None, None, None, None, None, None, None, None, None, None]
===============================
00 READ BINARY      MF/ADF.USIM/EF.PLMNwAcT             -        9000 [{'mcc': '001', 'mnc': '01', 'act': ['E-UTRAN NB-S1', 'E-UTRAN WB-S1', 'EC-GSM-IoT', 'GSM', 'GSM COMPACT', 'NG-RAN', 'UTRAN', 'cdma2000 1xRTT', 'cdma2000 HRPD']}, None, None, None, None, None, None, None, None, None, None, None]
===============================
00 READ BINARY      MF/ADF.USIM/EF.OPLMNwAcT            -        9000 [{'mcc': '001', 'mnc': '01', 'act': ['E-UTRAN NB-S1', 'E-UTRAN WB-S1', 'EC-GSM-IoT', 'GSM', 'GSM COMPACT', 'NG-RAN', 'UTRAN', 'cdma2000 1xRTT', 'cdma2000 HRPD']}, None, None, None, None, None, None, None, None, None, None, None]
===============================
00 READ BINARY      MF/ADF.USIM/EF.FPLMN                -        9000 [{'mcc': '262', 'mnc': '01'}, {'mcc': '262', 'mnc': '02'}, {'mcc': '262', 'mnc': '03'}, None]
===============================
00 READ BINARY      MF/ADF.USIM/EF.CBMID                -        9000 [[65535], [65535], [65535], [65535], [65535], [65535], [65535], [65535], [65535], [65535]]
===============================
00 READ RECORD      MF/ADF.USIM/EF.ACM                  01       9000 {'raw': '000000'}
===============================
00 READ BINARY      MF/ADF.USIM/EF.ACMmax               -        9000 {'acm_max': 0}
===============================
00 READ BINARY      MF/ADF.USIM/EF.EHPLMN               -        9000 [{'mcc': '001', 'mnc': '01'}, None, None, None]
===============================
00 READ BINARY      MF/ADF.USIM/EF.EHPLMNPI             -        9000 {'presentation_ind': 'display_all'}
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6fc3
00 READ BINARY      MF/ADF.USIM/EF.EHPLMNPI             -        9000 {'presentation_ind': 'no_preference'}
===============================
00 READ BINARY      MF/ADF.USIM/EF.SPN                  -        9000 {'rfu': 0, 'hide_in_oplmn': True, 'show_in_hplmn': True, 'spn': 'Magic'}
===============================
00 READ BINARY      MF/ADF.USIM/EF.SPDI                 -        9000 {'raw': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}
===============================
00 SEARCH RECORD    MF/ADF.USIM/EF.PNN                  01       9000 {'cmd': {'file': 'currently_selected_ef', 'mode': 'forward_search', 'record_number': 1, 'search_string': 'ffffffffffffffffffffffffffffffffffffffffffffffff'}, 'rsp': {'body': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], 'sw': '9000'}}
===============================
00 SEARCH RECORD    MF/ADF.USIM/EF.OPL                  01       9000 {'cmd': {'file': 'currently_selected_ef', 'mode': 'forward_search', 'record_number': 1, 'search_string': 'ffffffffffffffff'}, 'rsp': {'body': [1], 'sw': '9000'}}
===============================
00 GET STATUS                                           -        9000 {'p1': 1, 'p2': 1, 'cmd': '8410a0000000871002ffffffff8907090000'}
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6f15 (7fff/6f15)
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6f15 (7fff/6f15)
00 READ RECORD      MF/ADF.USIM/EF.ARR                  03       9000 [[{'access_mode': ['read_search_compare']}, {'control_reference_template': 'PIN1'}], [{'access_mode': ['activate_file_or_record', 'deactivate_file_or_record', 'update_erase']}, {'control_reference_template': 'ADM1'}], [{'command_header': {'INS': 212}}, {'control_reference_template': 'ADM1'}]]
===============================
00 READ RECORD      MF/DF.TELECOM/DF.PHONEBOOK/EF.PBR   01       9000 {'raw': 'a81ec0034f3a01c1034f3202c3034f5414c5034f0904c6034f5212c9034f2109a90ac4034f1108ca034f500daa14c2034f4a03c7034f4b06c8034f5313cb034f4f16ffffff'}
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 7f66 (7fff/7f66/5f30/4f36)
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 5f30 (7fff/7f66/5f30/4f36)
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 4f36 (7fff/7f66/5f30/4f36)
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 7f66 (7fff/7f66/5f30/4f36)
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 5f30 (7fff/7f66/5f30/4f36)
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 4f36 (7fff/7f66/5f30/4f36)
00 READ RECORD      MF/ADF.USIM/EF.MSISDN               01       9000 {'msisdn': None}
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6f16
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6f16 (7fff/6f16)
00 UPDATE RECORD    MF/ADF.USIM/EF.EPSNSC               01       9000 {'eps_nas__security__context': [{'ksi_asme': 7}, {'k_asme': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}, {'uplink_nas_count': 4294967295}, {'downlink_nas_count': 4294967295}, {'i_dof_nas_algorithms': '00'}]}
===============================
00 UPDATE BINARY    MF/ADF.USIM/EF.EPSLOCI              -        9000 {'guti': '0bf6ffffffffffffffffffff', 'last_visited_registered_tai': 'fffffffffe', 'eps_update_status': 'not_updated'}
===============================
00 UPDATE RECORD    MF/ADF.USIM/EF.EPSNSC               01       9000 {'eps_nas__security__context': [{'ksi_asme': 7}, {'k_asme': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}, {'uplink_nas_count': 4294967295}, {'downlink_nas_count': 4294967295}, {'i_dof_nas_algorithms': '00'}]}
===============================
00 READ BINARY      MF/ADF.USIM/EF.CBMI                 -        9000 [[65535], [65535], [65535], [65535], [65535], [65535], [65535], [65535], [65535], [65535]]
===============================
00 READ BINARY      MF/ADF.USIM/EF.CBMIR                -        9000 [[{'lower': 65535, 'upper': 65535}], [{'lower': 65535, 'upper': 65535}], [{'lower': 65535, 'upper': 65535}], [{'lower': 65535, 'upper': 65535}], [{'lower': 65535, 'upper': 65535}]]
===============================
00 READ BINARY      MF/ADF.USIM/EF.SMSS                 -        9000 {'last_used_tpmr': 255, 'memory_capacity_exceeded': False}
===============================
00 READ RECORD      MF/ADF.USIM/EF.ARR                  04       9000 [[{'access_mode': ['update_erase', 'read_search_compare']}, {'control_reference_template': 'PIN1'}], [{'access_mode': ['activate_file_or_record', 'deactivate_file_or_record']}, {'control_reference_template': 'ADM1'}], [{'command_header': {'INS': 212}}, {'control_reference_template': 'ADM1'}]]
===============================
00 SEARCH RECORD    MF/ADF.USIM/EF.SMSP                 01       9000 {'cmd': {'file': 'currently_selected_ef', 'mode': 'forward_search', 'record_number': 1, 'search_string': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}, 'rsp': {'body': [2], 'sw': '9000'}}
===============================
00 READ RECORD      MF/ADF.USIM/EF.SMSP                 01       9000 {'alpha_id': '', 'parameter_indicators': {'tp_dest_addr': False, 'tp_sc_addr': True, 'tp_pid': True, 'tp_dcs': True, 'tp_vp': True}, 'tp_dest_addr': {'length': 255, 'ton_npi': {'ext': True, 'type_of_number': 'reserved_for_extension', 'numbering_plan_id': 'reserved_for_extension'}, 'call_number': ''}, 'tp_sc_addr': {'length': 5, 'ton_npi': {'ext': True, 'type_of_number': 'unknown', 'numbering_plan_id': 'isdn_e164'}, 'call_number': '0015555f'}, 'tp_pid': '00', 'tp_dcs': '00', 'tp_vp_minutes': 5}
===============================
00 SEARCH RECORD    MF/ADF.USIM/EF.SMS                  01       9000 {'cmd': {'file': 'currently_selected_ef', 'mode': 'forward_search', 'record_number': 1, 'search_string': '00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}, 'rsp': {'body': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30], 'sw': '9000'}}
===============================
00 SEARCH RECORD    MF/ADF.USIM/EF.SMSR                 01       6a83 {'cmd': {'file': 'currently_selected_ef', 'mode': 'forward_search', 'record_number': 1, 'search_string': '00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}, 'rsp': {'sw': '6a83'}}
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6f14
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6f14 (7fff/6f14)
00 READ RECORD      MF/ADF.USIM/EF.SMSR                 01       9000 {'sms_record_id': 255, 'sms_status_report': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6f15
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6f15 (7fff/6f15)
00 READ RECORD      MF/ADF.USIM/EF.SMSR                 02       9000 {'sms_record_id': 255, 'sms_status_report': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}
===============================
00 READ RECORD      MF/ADF.USIM/EF.SMSR                 03       9000 {'sms_record_id': 255, 'sms_status_report': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}
===============================
00 READ RECORD      MF/ADF.USIM/EF.SMSR                 04       9000 {'sms_record_id': 255, 'sms_status_report': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}
===============================
00 READ RECORD      MF/ADF.USIM/EF.SMSR                 05       9000 {'sms_record_id': 255, 'sms_status_report': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}
===============================
00 READ RECORD      MF/ADF.USIM/EF.SMSR                 06       9000 {'sms_record_id': 255, 'sms_status_report': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}
===============================
00 READ RECORD      MF/ADF.USIM/EF.SMSR                 07       9000 {'sms_record_id': 255, 'sms_status_report': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}
===============================
00 READ RECORD      MF/ADF.USIM/EF.SMSR                 08       9000 {'sms_record_id': 255, 'sms_status_report': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}
===============================
00 READ RECORD      MF/ADF.USIM/EF.SMSR                 09       9000 {'sms_record_id': 255, 'sms_status_report': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}
===============================
00 READ RECORD      MF/ADF.USIM/EF.SMSR                 10       9000 {'sms_record_id': 255, 'sms_status_report': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}
===============================
00 READ RECORD      MF/ADF.USIM/EF.SMSR                 11       9000 {'sms_record_id': 255, 'sms_status_report': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}
===============================
00 READ RECORD      MF/ADF.USIM/EF.SMSR                 12       9000 {'sms_record_id': 255, 'sms_status_report': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}
===============================
00 READ RECORD      MF/ADF.USIM/EF.SMSR                 13       9000 {'sms_record_id': 255, 'sms_status_report': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}
===============================
00 READ RECORD      MF/ADF.USIM/EF.SMSR                 14       9000 {'sms_record_id': 255, 'sms_status_report': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}
===============================
00 READ RECORD      MF/ADF.USIM/EF.SMSR                 15       9000 {'sms_record_id': 255, 'sms_status_report': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}
===============================
00 READ RECORD      MF/ADF.USIM/EF.SMSR                 16       9000 {'sms_record_id': 255, 'sms_status_report': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}
===============================
00 READ RECORD      MF/ADF.USIM/EF.SMSR                 17       9000 {'sms_record_id': 255, 'sms_status_report': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}
===============================
00 READ RECORD      MF/ADF.USIM/EF.SMSR                 18       9000 {'sms_record_id': 255, 'sms_status_report': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}
===============================
00 READ RECORD      MF/ADF.USIM/EF.SMSR                 19       9000 {'sms_record_id': 255, 'sms_status_report': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}
===============================
00 READ RECORD      MF/ADF.USIM/EF.SMSR                 20       9000 {'sms_record_id': 255, 'sms_status_report': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 4f3a (7f10/5f3a/4f3a)
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 4f4a (7f10/5f3a/4f4a)
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6f17 (7fff/6f17)
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6f17 (7fff/6f17)
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 4f53
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 4f50 (7f10/5f3a/4f50)
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 4f54
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 4f52
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 4f11 (7f10/5f3a/4f11)
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 4f32
00 SEARCH RECORD    MF/ADF.USIM/EF.FDN                  01       9000 {'cmd': {'file': 'currently_selected_ef', 'mode': 'forward_search', 'record_number': 1, 'search_string': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}, 'rsp': {'body': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20], 'sw': '9000'}}
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 4f21 (7f10/5f3a/4f21)
00 READ RECORD      MF/ADF.USIM/EF.FDN                  01       9000 {'alpha_id': '', 'len_of_bcd': 255, 'ton_npi': {'ext': True, 'type_of_number': 'reserved_for_extension', 'numbering_plan_id': 'reserved_for_extension'}, 'dialing_nr': '', 'cap_conf_id': 255, 'ext2_record_id': 255}
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 4f09 (7f10/5f3a/4f09)
00 SEARCH RECORD    MF/ADF.USIM/EF.SDN                  01       9000 {'cmd': {'file': 'currently_selected_ef', 'mode': 'forward_search', 'record_number': 1, 'search_string': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}, 'rsp': {'body': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20], 'sw': '9000'}}
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 4f4b (7f10/5f3a/4f4b)
00 READ RECORD      MF/ADF.USIM/EF.SDN                  01       9000 {'alpha_id': '', 'len_of_bcd': 255, 'ton_npi': {'ext': True, 'type_of_number': 'reserved_for_extension', 'numbering_plan_id': 'reserved_for_extension'}, 'dialing_nr': '', 'cap_conf_id': 255, 'ext3_record_id': 255}
===============================
00 SEARCH RECORD    MF/DF.TELECOM/EF.FDN                01       9000 {'cmd': {'file': 'currently_selected_ef', 'mode': 'forward_search', 'record_number': 1, 'search_string': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}, 'rsp': {'body': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20], 'sw': '9000'}}
===============================
00 SEARCH RECORD    MF/ADF.USIM/EF.MSISDN               01       9000 {'cmd': {'file': 'currently_selected_ef', 'mode': 'forward_search', 'record_number': 1, 'search_string': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}, 'rsp': {'body': [2, 3, 4, 5, 6], 'sw': '9000'}}
===============================
00 READ RECORD      MF/DF.TELECOM/EF.FDN                01       9000 {'alpha_id': '', 'len_of_bcd': 255, 'ton_npi': {'ext': True, 'type_of_number': 'reserved_for_extension', 'numbering_plan_id': 'reserved_for_extension'}, 'dialing_nr': '', 'cap_conf_id': 255, 'ext2_record_id': 255}
===============================
00 READ RECORD      MF/ADF.USIM/EF.MSISDN               01       9000 {'msisdn': None}
===============================
00 SEARCH RECORD    MF/DF.TELECOM/EF.SDN                01       9000 {'cmd': {'file': 'currently_selected_ef', 'mode': 'forward_search', 'record_number': 1, 'search_string': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}, 'rsp': {'body': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20], 'sw': '9000'}}
===============================
00 READ RECORD      MF/DF.TELECOM/EF.SDN                01       9000 {'alpha_id': '', 'len_of_bcd': 255, 'ton_npi': {'ext': True, 'type_of_number': 'reserved_for_extension', 'numbering_plan_id': 'reserved_for_extension'}, 'dialing_nr': '', 'cap_conf_id': 255, 'ext3_record_id': 255}
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 4f53
00 SEARCH RECORD    MF/DF.TELECOM/DF.PHONEBOOK          01       6a83 {'cmd': {'file': 'currently_selected_ef', 'mode': 'forward_search', 'record_number': 1, 'search_string': 'ffffffffffffffffffffffffffffffff'}, 'rsp': {'sw': '6a83'}}
===============================
00 READ RECORD      MF/DF.TELECOM/DF.PHONEBOOK          01       9000 47726f75702031ffffffffffffffffff
===============================
00 READ RECORD      MF/DF.TELECOM/DF.PHONEBOOK          02       9000 47726f75702032ffffffffffffffffff
===============================
00 READ RECORD      MF/DF.TELECOM/DF.PHONEBOOK          03       9000 47726f75702033ffffffffffffffffff
===============================
00 READ RECORD      MF/DF.TELECOM/DF.PHONEBOOK          04       9000 47726f75702034ffffffffffffffffff
===============================
00 READ RECORD      MF/DF.TELECOM/DF.PHONEBOOK          05       9000 47726f75702035ffffffffffffffffff
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 4f4b
00 SEARCH RECORD    MF/DF.TELECOM/DF.PHONEBOOK          01       6a83 {'cmd': {'file': 'currently_selected_ef', 'mode': 'forward_search', 'record_number': 1, 'search_string': 'ffffffffffffffffffff'}, 'rsp': {'sw': '6a83'}}
===============================
00 READ RECORD      MF/DF.TELECOM/DF.PHONEBOOK          01       9000 576f726bffffffffffff
===============================
00 READ RECORD      MF/DF.TELECOM/DF.PHONEBOOK          02       9000 486f6d65ffffffffffff
===============================
00 READ RECORD      MF/DF.TELECOM/DF.PHONEBOOK          03       9000 4d6f62696c65ffffffff
===============================
00 READ RECORD      MF/DF.TELECOM/DF.PHONEBOOK          04       9000 466178ffffffffffffff
===============================
00 READ RECORD      MF/DF.TELECOM/DF.PHONEBOOK          05       9000 4d61696effffffffffff
===============================
00 READ RECORD      MF/DF.TELECOM/DF.PHONEBOOK          06       9000 5061676572ffffffffff
===============================
00 READ RECORD      MF/DF.TELECOM/DF.PHONEBOOK          07       9000 456d61696cffffffffff
===============================
00 READ RECORD      MF/DF.TELECOM/DF.PHONEBOOK          08       9000 54656d70ffffffffffff
===============================
00 READ RECORD      MF/DF.TELECOM/DF.PHONEBOOK          09       9000 4f6666696365ffffffff
===============================
00 READ RECORD      MF/DF.TELECOM/DF.PHONEBOOK          10       9000 4f7468657273ffffffff
===============================
00 READ BINARY      MF/DF.TELECOM/DF.PHONEBOOK/EF.PSC   -        9000 {'raw': '00000000'}
===============================
00 READ BINARY      MF/DF.TELECOM/DF.PHONEBOOK/EF.PUID  -        9000 {'raw': '0000'}
===============================
00 READ BINARY      MF/DF.TELECOM/DF.PHONEBOOK/EF.CC    -        9000 {'raw': '0000'}
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 4f09
00 SEARCH RECORD    MF/DF.TELECOM/DF.PHONEBOOK/EF.CC    01       9000 {'cmd': {'file': 'currently_selected_ef', 'mode': 'forward_search', 'record_number': 1, 'search_string': '0000'}, 'rsp': {'body': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250], 'sw': '9000'}}
===============================
00 READ RECORD      MF/DF.TELECOM/DF.PHONEBOOK/EF.CC    01       9000 0000
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 4f21
00 SEARCH RECORD    MF/DF.TELECOM/DF.PHONEBOOK/EF.CC    01       9000 {'cmd': {'file': 'currently_selected_ef', 'mode': 'forward_search', 'record_number': 1, 'search_string': '0000'}, 'rsp': {'body': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250], 'sw': '9000'}}
===============================
00 READ RECORD      MF/DF.TELECOM/DF.PHONEBOOK/EF.CC    01       9000 0000
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 4f50
00 SEARCH RECORD    MF/DF.TELECOM/DF.PHONEBOOK/EF.CC    01       9000 {'cmd': {'file': 'currently_selected_ef', 'mode': 'forward_search', 'record_number': 1, 'search_string': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}, 'rsp': {'body': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150], 'sw': '9000'}}
===============================
00 READ RECORD      MF/DF.TELECOM/DF.PHONEBOOK/EF.CC    01       9000 ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 4f54
00 SEARCH RECORD    MF/DF.TELECOM/DF.PHONEBOOK/EF.CC    01       9000 {'cmd': {'file': 'currently_selected_ef', 'mode': 'forward_search', 'record_number': 1, 'search_string': 'ffffffffffffffffffffffffffffffffffff'}, 'rsp': {'body': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250], 'sw': '9000'}}
===============================
00 READ RECORD      MF/DF.TELECOM/DF.PHONEBOOK/EF.CC    01       9000 ffffffffffffffffffffffffffffffffffff
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 4f52
00 SEARCH RECORD    MF/DF.TELECOM/DF.PHONEBOOK/EF.CC    01       9000 {'cmd': {'file': 'currently_selected_ef', 'mode': 'forward_search', 'record_number': 1, 'search_string': '000000'}, 'rsp': {'body': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250], 'sw': '9000'}}
===============================
00 READ RECORD      MF/DF.TELECOM/DF.PHONEBOOK/EF.CC    01       9000 000000
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 4f11
00 SEARCH RECORD    MF/DF.TELECOM/DF.PHONEBOOK/EF.CC    01       9000 {'cmd': {'file': 'currently_selected_ef', 'mode': 'forward_search', 'record_number': 1, 'search_string': 'ffffffffffffffffffffffffffffffffff'}, 'rsp': {'body': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250], 'sw': '9000'}}
===============================
00 READ RECORD      MF/DF.TELECOM/DF.PHONEBOOK/EF.CC    01       9000 ffffffffffffffffffffffffffffffffff
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 4f32
00 SEARCH RECORD    MF/DF.TELECOM/DF.PHONEBOOK/EF.CC    01       9000 {'cmd': {'file': 'currently_selected_ef', 'mode': 'forward_search', 'record_number': 1, 'search_string': 'ffff'}, 'rsp': {'body': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250], 'sw': '9000'}}
===============================
00 READ RECORD      MF/DF.TELECOM/DF.PHONEBOOK/EF.CC    01       9000 ffff
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 4f3a
00 SEARCH RECORD    MF/DF.TELECOM/DF.PHONEBOOK/EF.CC    01       9000 {'cmd': {'file': 'currently_selected_ef', 'mode': 'forward_search', 'record_number': 1, 'search_string': 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'}, 'rsp': {'body': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250], 'sw': '9000'}}
===============================
00 READ RECORD      MF/DF.TELECOM/DF.PHONEBOOK/EF.CC    01       9000 ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
===============================
01 UNBLOCK PIN                                          -        63ca {'scope': 'global_mf', 'referenced_data_nr': 1, 'mode': 'check_remaining_attempts', 'remaining_attempts': 10}
===============================
01 VERIFY PIN                                           -        63c3 {'scope': 'global_mf', 'referenced_data_nr': 1, 'mode': 'check_remaining_attempts', 'remaining_attempts': 3}
===============================
01 UNBLOCK PIN                                          -        63ca {'scope': 'specific_df_adf', 'referenced_data_nr': 1, 'mode': 'check_remaining_attempts', 'remaining_attempts': 10}
===============================
01 VERIFY PIN                                           -        63c3 {'scope': 'specific_df_adf', 'referenced_data_nr': 1, 'mode': 'check_remaining_attempts', 'remaining_attempts': 3}
===============================
00 READ RECORD      MF/EF.ARR                           02       9000 [[{'access_mode': ['read_search_compare']}, {'always': None}], [{'access_mode': ['update_erase']}, {'never': None}], [{'access_mode': ['activate_file_or_record', 'deactivate_file_or_record']}, {'control_reference_template': 'ADM1'}], [{'command_header': {'INS': 212}}, {'control_reference_template': 'ADM1'}]]
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 7f43
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 7f43
00 READ RECORD      MF/ADF.USIM/EF.ARR                  06       9000 [[{'access_mode': ['read_search_compare']}, {'always': None}], [{'access_mode': ['activate_file_or_record', 'deactivate_file_or_record', 'update_erase']}, {'control_reference_template': 'ADM1'}], [{'command_header': {'INS': 212}}, {'control_reference_template': 'ADM1'}]]
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6f11
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6f11 (7fff/6f11)
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6f13 (7fff/6f13)
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6f13 (7fff/6f13)
00 MANAGE CHANNEL                                       02       9000 {'mode': 'open_channel', 'created_channel': 2}
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN AID a00000015141434c00
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6f16
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6f16 (7fff/6f16)
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6f15 (7fff/6f15)
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6f15 (7fff/6f15)
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 7f43
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 7f43
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6fe5
01 READ RECORD      MF/ADF.ISIM/EF.ARR                  03       9000 [[{'access_mode': ['read_search_compare']}, {'control_reference_template': 'PIN1'}], [{'access_mode': ['activate_file_or_record', 'deactivate_file_or_record', 'update_erase']}, {'control_reference_template': 'ADM1'}], [{'command_header': {'INS': 212}}, {'control_reference_template': 'ADM1'}]]
===============================
01 READ RECORD      MF/ADF.ISIM/EF.ARR                  03       9000 [[{'access_mode': ['read_search_compare']}, {'control_reference_template': 'PIN1'}], [{'access_mode': ['activate_file_or_record', 'deactivate_file_or_record', 'update_erase']}, {'control_reference_template': 'ADM1'}], [{'command_header': {'INS': 212}}, {'control_reference_template': 'ADM1'}]]
===============================
CardReset(3b9f96801f878031e073fe211b674a4c753034054ba9)
===============================
00 READ BINARY      MF/EF.ICCID                         -        9000 {'iccid': '8988211000000465008'}
===============================
00 TERMINAL PROFILE                                     -        9000 {'p1': 0, 'p2': 0, 'cmd': 'ffffffff7f9d00dfbf00001fe2000000c36b000700004000500000000008'}
===============================
00 MANAGE CHANNEL                                       01       9000 {'mode': 'open_channel', 'created_channel': 1}
===============================
00 MANAGE CHANNEL                                       02       9000 {'mode': 'open_channel', 'created_channel': 2}
===============================
00 MANAGE CHANNEL                                       02       9000 {'mode': 'close_channel', 'closed_channel': 2}
===============================
CardReset(3b9f96801f878031e073fe211b674a4c753034054ba9)
===============================
00 READ BINARY      MF/EF.ICCID                         -        9000 {'iccid': '8988211000000465008'}
===============================
00 TERMINAL PROFILE                                     -        9000 {'p1': 0, 'p2': 0, 'cmd': 'ffffffff7f9d00dfbf00001fe2000000c36b000700004000500000000008'}
===============================
00 MANAGE CHANNEL                                       01       9000 {'mode': 'open_channel', 'created_channel': 1}
===============================
CardReset(3b9f96801f878031e073fe211b674a4c753034054ba9)
===============================
00 READ BINARY      MF/EF.ICCID                         -        9000 {'iccid': '8988211000000465008'}
===============================
00 TERMINAL PROFILE                                     -        9000 {'p1': 0, 'p2': 0, 'cmd': 'ffffffff7f9d00dfbf00001fe2000000c36b000700004000500000000008'}
===============================
00 MANAGE CHANNEL                                       01       9000 {'mode': 'open_channel', 'created_channel': 1}
===============================
01 READ RECORD      MF/ADF.ISIM/EF.ARR                  03       9000 [[{'access_mode': ['read_search_compare']}, {'control_reference_template': 'PIN1'}], [{'access_mode': ['activate_file_or_record', 'deactivate_file_or_record', 'update_erase']}, {'control_reference_template': 'ADM1'}], [{'command_header': {'INS': 212}}, {'control_reference_template': 'ADM1'}]]
===============================
01 READ RECORD      MF/ADF.ISIM/EF.ARR                  03       9000 [[{'access_mode': ['read_search_compare']}, {'control_reference_template': 'PIN1'}], [{'access_mode': ['activate_file_or_record', 'deactivate_file_or_record', 'update_erase']}, {'control_reference_template': 'ADM1'}], [{'command_header': {'INS': 212}}, {'control_reference_template': 'ADM1'}]]
===============================
01 READ RECORD      MF/ADF.ISIM/EF.ARR                  03       9000 [[{'access_mode': ['read_search_compare']}, {'control_reference_template': 'PIN1'}], [{'access_mode': ['activate_file_or_record', 'deactivate_file_or_record', 'update_erase']}, {'control_reference_template': 'ADM1'}], [{'command_header': {'INS': 212}}, {'control_reference_template': 'ADM1'}]]
===============================
01 READ RECORD      MF/ADF.ISIM/EF.ARR                  04       9000 [[{'access_mode': ['update_erase', 'read_search_compare']}, {'control_reference_template': 'PIN1'}], [{'access_mode': ['activate_file_or_record', 'deactivate_file_or_record']}, {'control_reference_template': 'ADM1'}], [{'command_header': {'INS': 212}}, {'control_reference_template': 'ADM1'}]]
===============================
00 READ RECORD      MF/ADF.USIM/EF.MBI                  01       9000 {'mbi_voicemail': 255, 'mbi_fax': 255, 'mbi_email': 255, 'mbi_other': 255, 'mbi_videocall': None}
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6fe5 (7f10/6fe5)
00 READ RECORD      MF/DF.TELECOM                       01       9000 ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
===============================
01 READ BINARY      MF/ADF.ISIM/EF.IMPI                 -        9000 {'nai': ''}
===============================
01 READ RECORD      MF/ADF.ISIM/EF.IMPU                 01       9000 {'impu': ''}
===============================
01 READ BINARY      MF/ADF.ISIM/EF.DOMAIN               -        9000 {'domain': ''}
===============================
01 READ RECORD      MF/ADF.ISIM/EF.P-CSCF               01       9000 {'pcscf_address': None}
===============================
01 READ BINARY      MF/ADF.ISIM/EF.IST                  -        9000 {1: {'activated': True, 'description': 'P-CSCF address'}, 2: {'activated': False, 'description': 'Generic Bootstrapping Architecture (GBA)'}, 3: {'activated': False, 'description': 'HTTP Digest'}, 4: {'activated': True, 'description': 'GBA-based Local Key Establishment Mechanism'}, 5: {'activated': True, 'description': 'Support of P-CSCF discovery for IMS Local Break Out'}, 6: {'activated': False, 'description': 'Short Message Storage (SMS)'}, 7: {'activated': False, 'description': 'Short Message Status Reports (SMSR)'}, 8: {'activated': False, 'description': 'Support for SM-over-IP including data download via SMS-PP as defined in TS 31.111 [31]'}, 9: {'activated': False, 'description': 'Communication Control for IMS by ISIM'}, 10: {'activated': True, 'description': 'Support of UICC access to IMS'}, 11: {'activated': False, 'description': 'URI support by UICC'}, 12: {'activated': False, 'description': 'Media Type support'}, 13: {'activated': False, 'description': 'IMS call disconnection cause'}, 14: {'activated': False, 'description': 'URI support for MO SHORT MESSAGE CONTROL'}, 15: {'activated': False, 'description': 'MCPTT'}, 16: {'activated': False, 'description': 'URI support for SMS-PP DOWNLOAD as defined in 3GPP TS 31.111 [31]'}, 17: {'activated': False, 'description': 'From Preferred'}, 18: {'activated': False, 'description': 'IMS configuration data'}, 19: {'activated': False, 'description': 'XCAP Configuration Data'}, 20: {'activated': False, 'description': 'WebRTC URI'}, 21: {'activated': False, 'description': 'MuD and MiD configuration data'}, 22: {'activated': False}, 23: {'activated': False}, 24: {'activated': False}}
===============================
01 READ BINARY      MF/ADF.ISIM/EF.GBABP                -        9000 None
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6f17
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6f17 (7fff/6f17)
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6f17
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6f17 (7fff/6f17)
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6f14 (7fff/6f14)
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6f14 (7fff/6f14)
01 READ RECORD      MF/ADF.ISIM/EF.IMPU                 02       9000 {'impu': None}
===============================
01 READ RECORD      MF/ADF.ISIM/EF.P-CSCF               02       9000 {'pcscf_address': {'type_of_address': 255, 'address': None}}
===============================
00 MANAGE CHANNEL                                       02       9000 {'mode': 'open_channel', 'created_channel': 2}
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN AID a00000015141434c00
00 READ RECORD      MF/ADF.USIM/EF.MSISDN               01       9000 {'msisdn': None}
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6f18
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN FID 6f18 (7fff/6f18)
01 READ RECORD      MF/ADF.ISIM/EF.IMPU                 03       9000 {'impu': None}
===============================
01 READ RECORD      MF/ADF.ISIM/EF.P-CSCF               03       9000 {'pcscf_address': {'type_of_address': 255, 'address': None}}
===============================
00 UPDATE BINARY    MF/ADF.USIM/EF.CBMI                 -        9000 [[65535], [65535], [65535], [65535], [65535], [65535], [65535], [65535], [65535], [65535]]
===============================
CardReset(3b9f96801f878031e073fe211b674a4c753034054ba9)
===============================
00 READ BINARY      MF/EF.ICCID                         -        9000 {'iccid': '8988211000000465008'}
===============================
00 TERMINAL PROFILE                                     -        9000 {'p1': 0, 'p2': 0, 'cmd': 'ffffffff7f9d00dfbf00001fe2000000c36b000700004000500000000008'}
===============================
00 MANAGE CHANNEL                                       01       9000 {'mode': 'open_channel', 'created_channel': 1}
===============================
00 MANAGE CHANNEL                                       02       9000 {'mode': 'open_channel', 'created_channel': 2}
===============================
00 MANAGE CHANNEL                                       02       9000 {'mode': 'close_channel', 'closed_channel': 2}
===============================
CardReset(3b9f96801f878031e073fe211b674a4c753034054ba9)
===============================
00 READ BINARY      MF/EF.ICCID                         -        9000 {'iccid': '8988211000000465008'}
===============================
00 TERMINAL PROFILE                                     -        9000 {'p1': 0, 'p2': 0, 'cmd': 'ffffffff7f9d00dfbf00001fe2000000c36b000700004000500000000008'}
===============================
00 MANAGE CHANNEL                                       01       9000 {'mode': 'open_channel', 'created_channel': 1}
===============================
CardReset(3b9f96801f878031e073fe211b674a4c753034054ba9)
===============================
00 READ BINARY      MF/EF.ICCID                         -        9000 {'iccid': '8988211000000465008'}
===============================
00 TERMINAL PROFILE                                     -        9000 {'p1': 0, 'p2': 0, 'cmd': 'ffffffff7f9d00dfbf00001fe2000000c36b000700004000500000000008'}
===============================
00 MANAGE CHANNEL                                       01       9000 {'mode': 'open_channel', 'created_channel': 1}
===============================
01 READ RECORD      MF/ADF.ISIM/EF.IMPU                 04       9000 {'impu': None}
===============================
01 READ RECORD      MF/ADF.ISIM/EF.P-CSCF               04       9000 {'pcscf_address': {'type_of_address': 255, 'address': None}}
===============================
00 UPDATE BINARY    MF/ADF.USIM/EF.CBMIR                -        9000 [[{'lower': 65535, 'upper': 65535}], [{'lower': 65535, 'upper': 65535}], [{'lower': 65535, 'upper': 65535}], [{'lower': 65535, 'upper': 65535}], [{'lower': 65535, 'upper': 65535}]]
===============================
01 READ RECORD      MF/ADF.ISIM/EF.IMPU                 05       9000 {'impu': None}
===============================
01 READ RECORD      MF/ADF.ISIM/EF.P-CSCF               05       9000 {'pcscf_address': {'type_of_address': 255, 'address': None}}
===============================
01 READ RECORD      MF/ADF.ISIM/EF.IMPU                 06       9000 {'impu': None}
===============================
01 READ RECORD      MF/ADF.ISIM/EF.P-CSCF               06       9000 {'pcscf_address': {'type_of_address': 255, 'address': None}}
===============================
01 READ RECORD      MF/ADF.ISIM/EF.IMPU                 07       9000 {'impu': None}
===============================
01 READ RECORD      MF/ADF.ISIM/EF.P-CSCF               07       9000 {'pcscf_address': {'type_of_address': 255, 'address': None}}
===============================
01 READ RECORD      MF/ADF.ISIM/EF.IMPU                 08       9000 {'impu': None}
===============================
01 READ RECORD      MF/ADF.ISIM/EF.P-CSCF               08       9000 {'pcscf_address': {'type_of_address': 255, 'address': None}}
===============================
00 MANAGE CHANNEL                                       02       9000 {'mode': 'open_channel', 'created_channel': 2}
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN AID a00000015141434c00
CardReset(3b9f96801f878031e073fe211b674a4c753034054ba9)
===============================
00 READ BINARY      MF/EF.ICCID                         -        9000 {'iccid': '8988211000000465008'}
===============================
00 TERMINAL PROFILE                                     -        9000 {'p1': 0, 'p2': 0, 'cmd': 'ffffffff7f9d00dfbf00001fe2000000c36b000700004000500000000008'}
===============================
00 MANAGE CHANNEL                                       01       9000 {'mode': 'open_channel', 'created_channel': 1}
===============================
00 MANAGE CHANNEL                                       02       9000 {'mode': 'open_channel', 'created_channel': 2}
===============================
00 MANAGE CHANNEL                                       02       9000 {'mode': 'close_channel', 'closed_channel': 2}
===============================
CardReset(3b9f96801f878031e073fe211b674a4c753034054ba9)
===============================
00 READ BINARY      MF/EF.ICCID                         -        9000 {'iccid': '8988211000000465008'}
===============================
00 TERMINAL PROFILE                                     -        9000 {'p1': 0, 'p2': 0, 'cmd': 'ffffffff7f9d00dfbf00001fe2000000c36b000700004000500000000008'}
===============================
00 MANAGE CHANNEL                                       01       9000 {'mode': 'open_channel', 'created_channel': 1}
===============================
CardReset(3b9f96801f878031e073fe211b674a4c753034054ba9)
===============================
00 READ BINARY      MF/EF.ICCID                         -        9000 {'iccid': '8988211000000465008'}
===============================
00 TERMINAL PROFILE                                     -        9000 {'p1': 0, 'p2': 0, 'cmd': 'ffffffff7f9d00dfbf00001fe2000000c36b000700004000500000000008'}
===============================
00 MANAGE CHANNEL                                       01       9000 {'mode': 'open_channel', 'created_channel': 1}
===============================
00 MANAGE CHANNEL                                       02       9000 {'mode': 'open_channel', 'created_channel': 2}
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN AID a00000015141434c00
CardReset(3b9f96801f878031e073fe211b674a4c753034054ba9)
===============================
00 READ BINARY      MF/EF.ICCID                         -        9000 {'iccid': '8988211000000465008'}
===============================
00 TERMINAL PROFILE                                     -        9000 {'p1': 0, 'p2': 0, 'cmd': 'ffffffff7f9d00dfbf00001fe2000000c36b000700004000500000000008'}
===============================
00 MANAGE CHANNEL                                       01       9000 {'mode': 'open_channel', 'created_channel': 1}
===============================
00 MANAGE CHANNEL                                       02       9000 {'mode': 'open_channel', 'created_channel': 2}
===============================
00 MANAGE CHANNEL                                       02       9000 {'mode': 'close_channel', 'closed_channel': 2}
===============================
00 GET STATUS                                           -        9000 {'p1': 0, 'p2': 12}
===============================
CardReset(3b9f96801f878031e073fe211b674a4c753034054ba9)
===============================
00 READ BINARY      MF/EF.ICCID                         -        9000 {'iccid': '8988211000000465008'}
===============================
00 TERMINAL PROFILE                                     -        9000 {'p1': 0, 'p2': 0, 'cmd': 'ffffffff7f9d00dfbf00001fe2000000c36b000700004000500000000008'}
===============================
00 MANAGE CHANNEL                                       01       9000 {'mode': 'open_channel', 'created_channel': 1}
===============================
CardReset(3b9f96801f878031e073fe211b674a4c753034054ba9)
===============================
00 READ BINARY      MF/EF.ICCID                         -        9000 {'iccid': '8988211000000465008'}
===============================
00 TERMINAL PROFILE                                     -        9000 {'p1': 0, 'p2': 0, 'cmd': 'ffffffff7f9d00dfbf00001fe2000000c36b000700004000500000000008'}
===============================
00 MANAGE CHANNEL                                       01       9000 {'mode': 'open_channel', 'created_channel': 1}
===============================
00 MANAGE CHANNEL                                       02       9000 {'mode': 'open_channel', 'created_channel': 2}
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN AID a00000015141434c00
CardReset(3b9f96801f878031e073fe211b674a4c753034054ba9)
===============================
00 READ BINARY      MF/EF.ICCID                         -        9000 {'iccid': '8988211000000465008'}
===============================
00 TERMINAL PROFILE                                     -        9000 {'p1': 0, 'p2': 0, 'cmd': 'ffffffff7f9d00dfbf00001fe2000000c36b000700004000500000000008'}
===============================
00 MANAGE CHANNEL                                       01       9000 {'mode': 'open_channel', 'created_channel': 1}
===============================
00 MANAGE CHANNEL                                       02       9000 {'mode': 'open_channel', 'created_channel': 2}
===============================
00 MANAGE CHANNEL                                       02       9000 {'mode': 'close_channel', 'closed_channel': 2}
===============================
CardReset(3b9f96801f878031e073fe211b674a4c753034054ba9)
===============================
00 READ BINARY      MF/EF.ICCID                         -        9000 {'iccid': '8988211000000465008'}
===============================
00 TERMINAL PROFILE                                     -        9000 {'p1': 0, 'p2': 0, 'cmd': 'ffffffff7f9d00dfbf00001fe2000000c36b000700004000500000000008'}
===============================
00 MANAGE CHANNEL                                       01       9000 {'mode': 'open_channel', 'created_channel': 1}
===============================
CardReset(3b9f96801f878031e073fe211b674a4c753034054ba9)
===============================
00 READ BINARY      MF/EF.ICCID                         -        9000 {'iccid': '8988211000000465008'}
===============================
00 TERMINAL PROFILE                                     -        9000 {'p1': 0, 'p2': 0, 'cmd': 'ffffffff7f9d00dfbf00001fe2000000c36b000700004000500000000008'}
===============================
00 MANAGE CHANNEL                                       01       9000 {'mode': 'open_channel', 'created_channel': 1}
===============================
00 MANAGE CHANNEL                                       02       9000 {'mode': 'open_channel', 'created_channel': 2}
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN AID a00000015141434c00
CardReset(3b9f96801f878031e073fe211b674a4c753034054ba9)
===============================
00 READ BINARY      MF/EF.ICCID                         -        9000 {'iccid': '8988211000000465008'}
===============================
00 TERMINAL PROFILE                                     -        9000 {'p1': 0, 'p2': 0, 'cmd': 'ffffffff7f9d00dfbf00001fe2000000c36b000700004000500000000008'}
===============================
00 MANAGE CHANNEL                                       01       9000 {'mode': 'open_channel', 'created_channel': 1}
===============================
00 MANAGE CHANNEL                                       02       9000 {'mode': 'open_channel', 'created_channel': 2}
===============================
00 MANAGE CHANNEL                                       02       9000 {'mode': 'close_channel', 'closed_channel': 2}
===============================
CardReset(3b9f96801f878031e073fe211b674a4c753034054ba9)
===============================
00 READ BINARY      MF/EF.ICCID                         -        9000 {'iccid': '8988211000000465008'}
===============================
00 TERMINAL PROFILE                                     -        9000 {'p1': 0, 'p2': 0, 'cmd': 'ffffffff7f9d00dfbf00001fe2000000c36b000700004000500000000008'}
===============================
00 MANAGE CHANNEL                                       01       9000 {'mode': 'open_channel', 'created_channel': 1}
===============================
CardReset(3b9f96801f878031e073fe211b674a4c753034054ba9)
===============================
00 READ BINARY      MF/EF.ICCID                         -        9000 {'iccid': '8988211000000465008'}
===============================
00 TERMINAL PROFILE                                     -        9000 {'p1': 0, 'p2': 0, 'cmd': 'ffffffff7f9d00dfbf00001fe2000000c36b000700004000500000000008'}
===============================
00 MANAGE CHANNEL                                       01       9000 {'mode': 'open_channel', 'created_channel': 1}
===============================
00 MANAGE CHANNEL                                       02       9000 {'mode': 'open_channel', 'created_channel': 2}
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN AID a00000015141434c00
CardReset(3b9f96801f878031e073fe211b674a4c753034054ba9)
===============================
00 READ BINARY      MF/EF.ICCID                         -        9000 {'iccid': '8988211000000465008'}
===============================
00 TERMINAL PROFILE                                     -        9000 {'p1': 0, 'p2': 0, 'cmd': 'ffffffff7f9d00dfbf00001fe2000000c36b000700004000500000000008'}
===============================
00 MANAGE CHANNEL                                       01       9000 {'mode': 'open_channel', 'created_channel': 1}
===============================
00 MANAGE CHANNEL                                       02       9000 {'mode': 'open_channel', 'created_channel': 2}
===============================
00 MANAGE CHANNEL                                       02       9000 {'mode': 'close_channel', 'closed_channel': 2}
===============================
CardReset(3b9f96801f878031e073fe211b674a4c753034054ba9)
===============================
00 READ BINARY      MF/EF.ICCID                         -        9000 {'iccid': '8988211000000465008'}
===============================
00 TERMINAL PROFILE                                     -        9000 {'p1': 0, 'p2': 0, 'cmd': 'ffffffff7f9d00dfbf00001fe2000000c36b000700004000500000000008'}
===============================
00 MANAGE CHANNEL                                       01       9000 {'mode': 'open_channel', 'created_channel': 1}
===============================
CardReset(3b9f96801f878031e073fe211b674a4c753034054ba9)
===============================
00 READ BINARY      MF/EF.ICCID                         -        9000 {'iccid': '8988211000000465008'}
===============================
00 TERMINAL PROFILE                                     -        9000 {'p1': 0, 'p2': 0, 'cmd': 'ffffffff7f9d00dfbf00001fe2000000c36b000700004000500000000008'}
===============================
00 MANAGE CHANNEL                                       01       9000 {'mode': 'open_channel', 'created_channel': 1}
===============================
00 GET STATUS                                           -        9000 {'p1': 0, 'p2': 12}
===============================
00 MANAGE CHANNEL                                       02       9000 {'mode': 'open_channel', 'created_channel': 2}
===============================
WARNING  pySim.apdu.ts_102_221: SELECT UNKNOWN AID a00000015141434c00
CardReset(3b9f96801f878031e073fe211b674a4c753034054ba9)
===============================
00 READ BINARY      MF/EF.ICCID                         -        9000 {'iccid': '8988211000000465008'}
===============================
00 TERMINAL PROFILE                                     -        9000 {'p1': 0, 'p2': 0, 'cmd': 'ffffffff7f9d00dfbf00001fe2000000c36b000700004000500000000008'}
===============================
00 MANAGE CHANNEL                                       01       9000 {'mode': 'open_channel', 'created_channel': 1}
===============================
00 MANAGE CHANNEL                                       02       9000 {'mode': 'open_channel', 'created_channel': 2}
===============================
00 MANAGE CHANNEL                                       02       9000 {'mode': 'close_channel', 'closed_channel': 2}
===============================
CardReset(3b9f96801f878031e073fe211b674a4c753034054ba9)
===============================
00 READ BINARY      MF/EF.ICCID                         -        9000 {'iccid': '8988211000000465008'}
===============================
00 TERMINAL PROFILE                                     -        9000 {'p1': 0, 'p2': 0, 'cmd': 'ffffffff7f9d00dfbf00001fe2000000c36b000700004000500000000008'}
===============================
00 MANAGE CHANNEL                                       01       9000 {'mode': 'open_channel', 'created_channel': 1}
===============================
CardReset(3b9f96801f878031e073fe211b674a4c753034054ba9)
===============================
00 READ BINARY      MF/EF.ICCID                         -        9000 {'iccid': '8988211000000465008'}
===============================
00 TERMINAL PROFILE                                     -        9000 {'p1': 0, 'p2': 0, 'cmd': 'ffffffff7f9d00dfbf00001fe2000000c36b000700004000500000000008'}
===============================
00 MANAGE CHANNEL                                       01       9000 {'mode': 'open_channel', 'created_channel': 1}
===============================
00 GET STATUS                                           -        9000 {'p1': 0, 'p2': 12}
===============================
00 GET STATUS                                           -        9000 {'p1': 0, 'p2': 12}
===============================
00 GET STATUS                                           -        9000 {'p1': 0, 'p2': 12}
===============================
00 GET STATUS                                           -        9000 {'p1': 0, 'p2': 12}
===============================
00 GET STATUS                                           -        9000 {'p1': 0, 'p2': 12}
===============================
00 GET STATUS                                           -        9000 {'p1': 0, 'p2': 12}
===============================
00 GET STATUS                                           -        9000 {'p1': 0, 'p2': 12}
===============================
00 GET STATUS                                           -        9000 {'p1': 0, 'p2': 12}
===============================
682 APDUs parsed, stop iteration.

========================================================
trace parsed without problems -- everything ok!
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 122877 killed;
[ssh-agent] Stopped.
Archiving artifacts
‘**/core’ doesn’t match anything: ‘**’ exists but not ‘**/core’
No artifacts found that match the file pattern "**/core, **/testsuite.log, **/workspace.tar.xz". Configuration error?
Finished: SUCCESS