Skip to content

Console Output

Started by upstream project "master-pysim" build number 1073
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-A5M3gBRe7XJR/agent.57332
SSH_AGENT_PID=57334
[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_12803275820135824634.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/jenkins6956917845720750448.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 788ms
  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.22, 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-vm2dn2os
  Running command git clone -q https://github.com/osmocom/asn1tools /tmp/pip-req-build-vm2dn2os
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-en4471dr
  Running command git clone -q https://github.com/hologram-io/smpp.pdu /tmp/pip-req-build-en4471dr
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: 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: 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: 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.22)
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: 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)
Requirement already satisfied: termcolor in /usr/local/lib/python3.9/dist-packages (from pyshark) (2.3.0)
Requirement already satisfied: packaging in /usr/local/lib/python3.9/dist-packages (from pyshark) (23.1)
+ 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 0x7f1673e3a4c0>
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 0x7f1673ae17f0>
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 0x7f1673ae1df0>
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 0x7f1673af0040>
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 0x7f1673af00d0>
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 0x7f1673af0340>
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 0x7f1673af0490>
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 0x7f1673af05e0>
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 0x7f1673af07c0>
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 3.032s

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
Error: Unresponsive card!
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 57334 killed;
[ssh-agent] Stopped.
Archiving artifacts
Sending e-mails to: jenkins-notifications@lists.osmocom.org laforge@gnumonks.org
Finished: FAILURE