See <https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=defau…>
Changes:
------------------------------------------
[...truncated 19.66 KiB...]
DEBUG:pySim.global_platform.scp:<pySim.global_platform.scp.Scp03SessionKeys object at 0x7f1004e24750>
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.test_03_gen_ext_auth_apdu) ... ok
test_04_wrap_cmd_apdu_get_eid (test_globalplatform.SCP03_Test_AES128_33.test_04_wrap_cmd_apdu_get_eid) ... 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.test_05_unwrap_rsp_apdu_get_eid) ... 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.test_01_initialize_update) ... ok
test_02_parse_init_upd_resp (test_globalplatform.SCP03_Test_AES192_03.test_02_parse_init_upd_resp) ... 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 0x7f1004d80290>
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.test_03_gen_ext_auth_apdu) ... 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:_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_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 0x7f1004e24b90>
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) ... ok
test_04_wrap_cmd_apdu_get_eid (test_globalplatform.SCP03_Test_AES192_11.test_04_wrap_cmd_apdu_get_eid) ... 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_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 0x7f1004c77710>
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) ... 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:_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_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 0x7f1004e268d0>
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) ... 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:_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_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 0x7f1004e385d0>
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) ... ok
test_04_wrap_cmd_apdu_get_eid (test_globalplatform.SCP03_Test_AES256_11.test_04_wrap_cmd_apdu_get_eid) ... 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_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 0x7f1004b41290>
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) ... 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:_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_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
----------------------------------------------------------------------
Ran 140 tests in 1.486s
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: 8
== EXECUTING TEST ==
Probing card in terminal #0
Warning: Unresponsive card, trying next terminal...
== EXECUTING TEST ==
Probing card in terminal #1
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 : 2222334455667788990
> MCC/MNC : 001/01
> IMSI : 001010000000102
> Ki : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
> OPC : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
> ACC : None
> ADM1(hex): 4444444444444444
> OPMODE : None
Programming ...
Warning: the database format of recent OsmoHLR versions is not compatible with pySim-prog!
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: 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 ...
Warning: the database format of recent OsmoHLR versions is not compatible with pySim-prog!
Programming successful: Remove card from reader
Verifying card ...
Traceback (most recent call last):
File "<https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=defau…",> line 91, in <module>
(res, sw) = sl.send_apdu(scc.cla_byte + "a4" + scc.sel_ctrl + "02" + "3f00")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=defau…",> line 220, in send_apdu
raise ValueError('unexpected response data, incorrect APDU case use used (4 vs. 3)')
ValueError: unexpected response data, incorrect APDU case use used (4 vs. 3)
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 1600280 killed;
[ssh-agent] Stopped.
Archiving artifacts