See
<https://jenkins.osmocom.org/jenkins/job/master-pyosmocom/JOB_TYPE=pysim,a1=default,a3=default,a4=default,label=simtester/333/display/redirect>
Changes:
------------------------------------------
[...truncated 31.59 KiB...]
ok
test_03_gen_ext_auth_apdu
(test_globalplatform.SCP03_Test_AES192_03.test_03_gen_ext_auth_apdu) ...
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(808203000865df4f1a356a8879)
ok
test_04_wrap_cmd_apdu_get_eid
(test_globalplatform.SCP03_Test_AES192_03.test_04_wrap_cmd_apdu_get_eid) ...
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80e2910006bf3e035c015a00)
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.test_05_unwrap_rsp_apdu_get_eid) ...
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_06_mac_command (test_globalplatform.SCP03_Test_AES192_03.test_06_mac_command) ...
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80f22002)
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80ca006600)
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80f220020a4f0212345c054f9f70c5)
DEBUG:pySim.global_platform.scp:_get_icv(data=00000000000000000000000000000004,
is_resp=False) -> icv=2c5b3d54201922790a8fbefc7d7542e8
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80f28002024f0000)
DEBUG:pySim.global_platform.scp:_get_icv(data=00000000000000000000000000000005,
is_resp=False) -> icv=f1642ddaede08d7f4e16a839c8875fed
ok
test_01_initialize_update
(test_globalplatform.SCP03_Test_AES192_11.test_01_initialize_update) ... ok
test_02_parse_init_upd_resp
(test_globalplatform.SCP03_Test_AES192_11.test_02_parse_init_upd_resp) ...
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
0x7ff2f205f910>
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.test_03_gen_ext_auth_apdu) ...
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80821100082145ed30b146f5db)
ok
test_04_wrap_cmd_apdu_get_eid
(test_globalplatform.SCP03_Test_AES192_11.test_04_wrap_cmd_apdu_get_eid) ...
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80e2910006bf3e035c015a00)
ok
test_05_unwrap_rsp_apdu_get_eid
(test_globalplatform.SCP03_Test_AES192_11.test_05_unwrap_rsp_apdu_get_eid) ...
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_06_mac_command (test_globalplatform.SCP03_Test_AES192_11.test_06_mac_command) ...
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80f22002)
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80ca006600)
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80f220020a4f0212345c054f9f70c5)
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80f28002024f0000)
ok
test_01_initialize_update
(test_globalplatform.SCP03_Test_AES192_33.test_01_initialize_update) ... ok
test_02_parse_init_upd_resp
(test_globalplatform.SCP03_Test_AES192_33.test_02_parse_init_upd_resp) ...
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
0x7ff2f2285590>
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.test_03_gen_ext_auth_apdu) ...
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80823300089100bc22d58b45b8)
ok
test_04_wrap_cmd_apdu_get_eid
(test_globalplatform.SCP03_Test_AES192_33.test_04_wrap_cmd_apdu_get_eid) ...
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80e2910006bf3e035c015a00)
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.test_05_unwrap_rsp_apdu_get_eid) ...
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_06_mac_command (test_globalplatform.SCP03_Test_AES192_33.test_06_mac_command) ...
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80f22002)
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80ca006600)
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80f220020a4f0212345c054f9f70c5)
DEBUG:pySim.global_platform.scp:_get_icv(data=00000000000000000000000000000004,
is_resp=False) -> icv=66915264ac25c6c48618558e45b6c2d3
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80f28002024f0000)
DEBUG:pySim.global_platform.scp:_get_icv(data=00000000000000000000000000000005,
is_resp=False) -> icv=100fc7e3d717452ba03a1823f396f260
ok
test_01_initialize_update
(test_globalplatform.SCP03_Test_AES256_03.test_01_initialize_update) ... ok
test_02_parse_init_upd_resp
(test_globalplatform.SCP03_Test_AES256_03.test_02_parse_init_upd_resp) ...
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
0x7ff2f2285790>
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.test_03_gen_ext_auth_apdu) ...
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(808203000877c493b632edadaf)
ok
test_04_wrap_cmd_apdu_get_eid
(test_globalplatform.SCP03_Test_AES256_03.test_04_wrap_cmd_apdu_get_eid) ...
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80e2910006bf3e035c015a00)
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.test_05_unwrap_rsp_apdu_get_eid) ...
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_06_mac_command (test_globalplatform.SCP03_Test_AES256_03.test_06_mac_command) ...
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80f22002)
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80ca006600)
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80f220020a4f0212345c054f9f70c5)
DEBUG:pySim.global_platform.scp:_get_icv(data=00000000000000000000000000000004,
is_resp=False) -> icv=93af6a0412e8d59a29fe7298fc1352d8
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80f28002024f0000)
DEBUG:pySim.global_platform.scp:_get_icv(data=00000000000000000000000000000005,
is_resp=False) -> icv=4e54b6ff8f32aa99d447d977d3d30e7a
ok
test_01_initialize_update
(test_globalplatform.SCP03_Test_AES256_11.test_01_initialize_update) ... ok
test_02_parse_init_upd_resp
(test_globalplatform.SCP03_Test_AES256_11.test_02_parse_init_upd_resp) ...
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
0x7ff2f2183210>
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.test_03_gen_ext_auth_apdu) ...
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80821100082f2ad190eff2fafc)
ok
test_04_wrap_cmd_apdu_get_eid
(test_globalplatform.SCP03_Test_AES256_11.test_04_wrap_cmd_apdu_get_eid) ...
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80e2910006bf3e035c015a00)
ok
test_05_unwrap_rsp_apdu_get_eid
(test_globalplatform.SCP03_Test_AES256_11.test_05_unwrap_rsp_apdu_get_eid) ...
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_06_mac_command (test_globalplatform.SCP03_Test_AES256_11.test_06_mac_command) ...
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80f22002)
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80ca006600)
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80f220020a4f0212345c054f9f70c5)
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80f28002024f0000)
ok
test_01_initialize_update
(test_globalplatform.SCP03_Test_AES256_33.test_01_initialize_update) ... ok
test_02_parse_init_upd_resp
(test_globalplatform.SCP03_Test_AES256_33.test_02_parse_init_upd_resp) ...
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
0x7ff2f218f0d0>
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.test_03_gen_ext_auth_apdu) ...
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(8082330008508a0fd959d2e547)
ok
test_04_wrap_cmd_apdu_get_eid
(test_globalplatform.SCP03_Test_AES256_33.test_04_wrap_cmd_apdu_get_eid) ...
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80e2910006bf3e035c015a00)
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.test_05_unwrap_rsp_apdu_get_eid) ...
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_06_mac_command (test_globalplatform.SCP03_Test_AES256_33.test_06_mac_command) ...
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80f22002)
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80ca006600)
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80f220020a4f0212345c054f9f70c5)
DEBUG:pySim.global_platform.scp:_get_icv(data=00000000000000000000000000000004,
is_resp=False) -> icv=707aab208193fcaf550f8a0198a6a9f7
DEBUG:pySim.global_platform.scp:wrap_cmd_apdu(80f28002024f0000)
DEBUG:pySim.global_platform.scp:_get_icv(data=00000000000000000000000000000005,
is_resp=False) -> icv=8207743b0fe3c82e9096d5c5c6299c7a
ok
test_CapFile (test_javacard.TestJavacard.test_CapFile) ... ok
test_decode_resp (test_ota.SmsOtaTestCase.test_decode_resp) ... ok
test_encode_cmd (test_ota.SmsOtaTestCase.test_encode_cmd) ... ok
test_cmd_3des_ciphered (test_ota.Test_SMS_3DES.test_cmd_3des_ciphered) ... ok
test_cmd_3des_none (test_ota.Test_SMS_3DES.test_cmd_3des_none) ... ok
test_cmd_3des_signed (test_ota.Test_SMS_3DES.test_cmd_3des_signed) ... ok
test_resp_3des_ciphered (test_ota.Test_SMS_3DES.test_resp_3des_ciphered) ... ok
test_resp_3des_none (test_ota.Test_SMS_3DES.test_resp_3des_none) ... ok
test_resp_3des_signed (test_ota.Test_SMS_3DES.test_resp_3des_signed) ... ok
test_resp_3des_signed_err (test_ota.Test_SMS_3DES.test_resp_3des_signed_err)
Expect an OtaCheckError exception if the computed CC != received CC ... ok
test_cmd_aes128_ciphered (test_ota.Test_SMS_AES128.test_cmd_aes128_ciphered) ... ok
test_resp_aes128_ciphered (test_ota.Test_SMS_AES128.test_resp_aes128_ciphered) ... ok
test_from_bytes (test_sms.Test_AddressField.test_from_bytes) ... ok
test_from_bytes_odd (test_sms.Test_AddressField.test_from_bytes_odd) ... ok
test_to_bytes (test_sms.Test_AddressField.test_to_bytes) ... ok
test_to_bytes_odd (test_sms.Test_AddressField.test_to_bytes_odd) ... ok
test_from_bytes (test_sms.Test_DELIVER.test_from_bytes) ... ok
test_single_ie (test_sms.Test_SMS_UDH.test_single_ie) ... ok
test_single_ie_tail (test_sms.Test_SMS_UDH.test_single_ie_tail) ... ok
test_single_ie_value (test_sms.Test_SMS_UDH.test_single_ie_value) ... ok
test_to_bytes (test_sms.Test_SMS_UDH.test_to_bytes) ... ok
test_two_ie_data_tail (test_sms.Test_SMS_UDH.test_two_ie_data_tail) ... ok
test_from_bytes (test_sms.Test_SUBMIT.test_from_bytes) ... ok
test_de_encode_tlv (test_tlvs.TLV_IE_Test.test_de_encode_tlv)
Test the decoder and encoder for a TLV_IE. Performs first a decoder ... ok
test_decode_tlv (test_tlvs.TLV_IE_Test.test_decode_tlv)
Test the decoder for a TLV_IE. Requires the given TLV_IE subclass ... ok
test_encode_tlv (test_tlvs.TLV_IE_Test.test_encode_tlv)
Test the encoder for a TLV_IE. Requires the given TLV_IE subclass ... ok
testDecAct_allSet (test_utils.DecTestCase.testDecAct_allSet) ... ok
testDecAct_noneSet (test_utils.DecTestCase.testDecAct_noneSet) ... ok
testDecAct_onlyCdma20001xRTT (test_utils.DecTestCase.testDecAct_onlyCdma20001xRTT) ... ok
testDecAct_onlyCdma2000HRPD (test_utils.DecTestCase.testDecAct_onlyCdma2000HRPD) ... ok
testDecAct_onlyEUtran (test_utils.DecTestCase.testDecAct_onlyEUtran) ... ok
testDecAct_onlyGsm (test_utils.DecTestCase.testDecAct_onlyGsm) ... ok
testDecAct_onlyGsmCompact (test_utils.DecTestCase.testDecAct_onlyGsmCompact) ... ok
testDecAct_onlyNgRan (test_utils.DecTestCase.testDecAct_onlyNgRan) ... ok
testDecAct_onlyUtran (test_utils.DecTestCase.testDecAct_onlyUtran) ... ok
testDecMCCfromPLMN (test_utils.DecTestCase.testDecMCCfromPLMN) ... ok
testDecMCCfromPLMN_str (test_utils.DecTestCase.testDecMCCfromPLMN_str) ... ok
testDecMCCfromPLMN_unused (test_utils.DecTestCase.testDecMCCfromPLMN_unused) ... ok
testDecMCCfromPLMN_unused_str (test_utils.DecTestCase.testDecMCCfromPLMN_unused_str) ...
ok
testDecMNCfromPLMN_threeDigitMNC (test_utils.DecTestCase.testDecMNCfromPLMN_threeDigitMNC)
... ok
testDecMNCfromPLMN_threeDigitMNC_str
(test_utils.DecTestCase.testDecMNCfromPLMN_threeDigitMNC_str) ... ok
testDecMNCfromPLMN_twoDigitMNC (test_utils.DecTestCase.testDecMNCfromPLMN_twoDigitMNC) ...
ok
testDecMNCfromPLMN_twoDigitMNC_str
(test_utils.DecTestCase.testDecMNCfromPLMN_twoDigitMNC_str) ... ok
testDecMNCfromPLMN_unused (test_utils.DecTestCase.testDecMNCfromPLMN_unused) ... ok
testDecMNCfromPLMN_unused_str (test_utils.DecTestCase.testDecMNCfromPLMN_unused_str) ...
ok
testDec_msisdn (test_utils.DecTestCase.testDec_msisdn) ... ok
testDecodeSuciCalcInfo (test_utils.DecTestCase.testDecodeSuciCalcInfo) ... ok
testDecxPlmn_w_act (test_utils.DecTestCase.testDecxPlmn_w_act) ... ok
testEnc_msisdn (test_utils.DecTestCase.testEnc_msisdn) ... ok
testEncodeSuciCalcInfo (test_utils.DecTestCase.testEncodeSuciCalcInfo) ... ok
testFormatxPlmn_w_act (test_utils.DecTestCase.testFormatxPlmn_w_act) ... ok
testSplitHexStringToListOf5ByteEntries
(test_utils.DecTestCase.testSplitHexStringToListOf5ByteEntries) ... ok
test_enc_plmn (test_utils.DecTestCase.test_enc_plmn) ... ok
testSeqOfChoices (test_utils.DoTestCase.testSeqOfChoices)
A sequence of two choices with each a variety of DO/TLVs ... ok
test_encode (test_utils.TestLuhn.test_encode) ... ok
test_sanitize_iccid (test_utils.TestLuhn.test_sanitize_iccid) ... ok
test_verify (test_utils.TestLuhn.test_verify) ... ok
test_parse_command_apdu (test_utils.TestUtils.test_parse_command_apdu) ... ok
----------------------------------------------------------------------
Ran 152 tests in 1.554s
OK
+ cd tests/pySim-prog_test/
+ ./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
sysmoISIM-SJA5
sysmosim-gr1
sysmoUSIM-SJS1
Wavemobile-SIM
Number of card terminals installed: 6
== EXECUTING TEST ==
Probing card in terminal #0
Card is of type: Insert card now (or CTRL-C to cancel)
Warning: no .data file for this card, skipping...
== EXECUTING TEST ==
Probing card in terminal #1
Card is of type: Insert card now (or CTRL-C to cancel)
Warning: no .data file for this card, skipping...
== EXECUTING TEST ==
Probing card in terminal #2
Card is of type: Insert card now (or CTRL-C to cancel)
Warning: no .data file for this card, skipping...
== EXECUTING TEST ==
Probing card in terminal #3
Card is of type: Insert card now (or CTRL-C to cancel)
Warning: no .data file for this card, skipping...
== EXECUTING TEST ==
Probing card in terminal #4
Card is of type: Insert card now (or CTRL-C to cancel)
Warning: no .data file for this card, skipping...
== EXECUTING TEST ==
Probing card in terminal #5
Card is of type: Insert card now (or CTRL-C to cancel)
Warning: no .data file for this card, skipping...
Error: Card Fairwaves-SIM seen 0 times!
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 8234 killed;
[ssh-agent] Stopped.
Archiving artifacts