Changes:
[pmaier@sysmocom.de] pySim/transport fix APDU/TPDU mapping
------------------------------------------ [...truncated 1.94 MiB...] "file_identifier": "6f20", "proprietary_information": { "unknown_ber_tlv_ie_d0": { "raw": "30" } }, "life_cycle_status_integer": "operational_activated", "security_attrib_compact": "1b1a1a1a1a", "file_size": 33, "short_file_identifier": null } pySIM-shell (00:MF/DF.SYSTEM/EF.SIM_AUTH_KEY)> read_binary 14aabbccddeeffaabbccddeeffaabbccdd12345678901234567890123456789012
-----------------------8<----------------------- Template: using template test_direct.template to generate file test_direct.script Executing: https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/pySim-shell.py -p 7 --script test_direct.script --noprompt > pySim-shell_test_2.log 2>&1 pySim-shell logfile content: (pySim-shell_test_2.log) -----------------------8<----------------------- Using reader PCSC[HID Global OMNIKEY 3x21 Smart Card Reader [OMNIKEY 3x21 Smart Card Reader] 07 00] Waiting for card... Info: Card is of type: UICC Detected UICC Add-on "SIM" Detected UICC Add-on "GSM-R" Detected UICC Add-on "RUIM" AIDs on card: USIM: a0000000871002ffffffff8907090000 (EF.DIR) ISIM: a0000000871004ffffffff8907090000 (EF.DIR) ADF.ISD: a000000003000000 ARA-M: a00000015141434c00 Detected CardModel: SysmocomSJA5 debug - was: False now: True { "file_descriptor": { "file_descriptor_byte": { "shareable": true, "file_type": "df", "structure": "no_info_given" }, "record_len": null, "num_of_rec": null }, "file_identifier": "a515", "proprietary_information": { "uicc_characteristics": "71", "available_memory": 353360, "supported_filesystem_commands": { "terminal_capability": true } }, "life_cycle_status_integer": "operational_activated", "security_attrib_compact": "00", "pin_status_template_do": [ { "ps_do": "70" }, { "key_reference": 1 }, { "key_reference": 129 }, { "key_reference": 10 }, { "key_reference": 11 } ] } { "file_descriptor": { "file_descriptor_byte": { "shareable": true, "file_type": "working_ef", "structure": "transparent" }, "record_len": null, "num_of_rec": null }, "file_identifier": "6f20", "proprietary_information": { "unknown_ber_tlv_ie_d0": { "raw": "30" } }, "life_cycle_status_integer": "operational_activated", "security_attrib_compact": "1b1a1a1a1a", "file_size": 33, "short_file_identifier": null } 14aabbccddeeffaabbccddeeffaabbccdd12345678901234567890123456789012
-----------------------8<----------------------- ---------------------------------------------------------------------- testcase execution done -- cleaning up ... ok
====================================================================== ERROR: test (cardinfo.test.test_case.test) ---------------------------------------------------------------------- Traceback (most recent call last): File "https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/tests/pySim-shell_test/cardinfo/test.py", line 30, in test self.runPySimShell(cardname, "test.script") File "https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/tests/pySim-shell_test/utils.py", line 270, in runPySimShell raise RuntimeError("pySim-shell exits with error code %u" % rc) RuntimeError: pySim-shell exits with error code 512
====================================================================== ERROR: test_enable_disable_profile (euicc.test.test_case.test_enable_disable_profile) ---------------------------------------------------------------------- Traceback (most recent call last): File "https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/tests/pySim-shell_test/euicc/test.py", line 62, in test_enable_disable_profile self.runPySimShell(cardname, "test_set_nickname.script") File "https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/tests/pySim-shell_test/utils.py", line 270, in runPySimShell raise RuntimeError("pySim-shell exits with error code %u" % rc) RuntimeError: pySim-shell exits with error code 512
====================================================================== ERROR: test_get_eid (euicc.test.test_case.test_get_eid) ---------------------------------------------------------------------- Traceback (most recent call last): File "https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/tests/pySim-shell_test/euicc/test.py", line 34, in test_get_eid self.runPySimShell(cardname, "test_get_eid.script") File "https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/tests/pySim-shell_test/utils.py", line 270, in runPySimShell raise RuntimeError("pySim-shell exits with error code %u" % rc) RuntimeError: pySim-shell exits with error code 512
====================================================================== ERROR: test_get_euicc_info (euicc.test.test_case.test_get_euicc_info) ---------------------------------------------------------------------- Traceback (most recent call last): File "https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/tests/pySim-shell_test/euicc/test.py", line 41, in test_get_euicc_info self.runPySimShell(cardname, "test_get_euicc_info.script") File "https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/tests/pySim-shell_test/utils.py", line 270, in runPySimShell raise RuntimeError("pySim-shell exits with error code %u" % rc) RuntimeError: pySim-shell exits with error code 512
====================================================================== ERROR: test_get_profiles_info (euicc.test.test_case.test_get_profiles_info) ---------------------------------------------------------------------- Traceback (most recent call last): File "https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/tests/pySim-shell_test/euicc/test.py", line 50, in test_get_profiles_info self.runPySimShell(cardname, "test_get_profiles_info.script") File "https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/tests/pySim-shell_test/utils.py", line 270, in runPySimShell raise RuntimeError("pySim-shell exits with error code %u" % rc) RuntimeError: pySim-shell exits with error code 512
====================================================================== ERROR: test_list_and_rm_notif (euicc.test.test_case.test_list_and_rm_notif) ---------------------------------------------------------------------- Traceback (most recent call last): File "https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/tests/pySim-shell_test/euicc/test.py", line 69, in test_list_and_rm_notif self.runPySimShell(cardname, "test_gen_notif.script") File "https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/tests/pySim-shell_test/utils.py", line 270, in runPySimShell raise RuntimeError("pySim-shell exits with error code %u" % rc) RuntimeError: pySim-shell exits with error code 512
====================================================================== ERROR: test_est_scp03_csv (gp.test.test_case.test_est_scp03_csv) ---------------------------------------------------------------------- Traceback (most recent call last): File "https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/tests/pySim-shell_test/gp/test.py", line 56, in test_est_scp03_csv self.runPySimShell(cardname, "test_est_scp03_csv.script", no_exceptions = True, add_csv = True) File "https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/tests/pySim-shell_test/utils.py", line 270, in runPySimShell raise RuntimeError("pySim-shell exits with error code %u" % rc) RuntimeError: pySim-shell exits with error code 512
====================================================================== ERROR: test_est_scp03_direct (gp.test.test_case.test_est_scp03_direct) ---------------------------------------------------------------------- Traceback (most recent call last): File "https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/tests/pySim-shell_test/gp/test.py", line 51, in test_est_scp03_direct self.runPySimShell(cardname, "test_est_scp03_direct.script", no_exceptions = True) File "https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/tests/pySim-shell_test/utils.py", line 270, in runPySimShell raise RuntimeError("pySim-shell exits with error code %u" % rc) RuntimeError: pySim-shell exits with error code 512
====================================================================== ERROR: test_get_status (gp.test.test_case.test_get_status) ---------------------------------------------------------------------- Traceback (most recent call last): File "https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/tests/pySim-shell_test/gp/test.py", line 72, in test_get_status self.runPySimShell(cardname, "test_get_status.script", no_exceptions = True, add_csv = True) File "https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/tests/pySim-shell_test/utils.py", line 270, in runPySimShell raise RuntimeError("pySim-shell exits with error code %u" % rc) RuntimeError: pySim-shell exits with error code 512
====================================================================== ERROR: test_put_delete_key (gp.test.test_case.test_put_delete_key) ---------------------------------------------------------------------- Traceback (most recent call last): File "https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/tests/pySim-shell_test/gp/test.py", line 64, in test_put_delete_key self.runPySimShell(cardname, "test_put_delete_key.script", no_exceptions = True, add_csv = True) File "https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/tests/pySim-shell_test/utils.py", line 270, in runPySimShell raise RuntimeError("pySim-shell exits with error code %u" % rc) RuntimeError: pySim-shell exits with error code 512
====================================================================== FAIL: test (authenticate.test.test_case.test) ---------------------------------------------------------------------- Traceback (most recent call last): File "https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/tests/pySim-shell_test/authenticate/test.py", line 31, in test self.assertEqualFiles("auth_result.tmp") File "https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/tests/pySim-shell_test/utils.py", line 399, in assertEqualFiles self.assertEqual(ok_file_content, out_file_content, AssertionError: '{\n "successful_3g_authentication": {[179 chars]n}\n' != '' - { - "successful_3g_authentication": { - "res": "13484811d553ab35", - "ck": "0f93c4807f4ff57c6cd348fea590c06d", - "ik": "608e7bff4856c73e363e795b165a4158", - "kc": "35f08eda84d3b377" - } - } : File comparison: content auth_result.tmp does not match content of auth_result.ok -- test failed
====================================================================== FAIL: test_est_scp02_csv (gp.test.test_case.test_est_scp02_csv) ---------------------------------------------------------------------- Traceback (most recent call last): File "https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/tests/pySim-shell_test/gp/test.py", line 41, in test_est_scp02_csv self.runPySimShell(cardname, "test_est_scp02_csv.script", no_exceptions = True, add_csv = True) File "https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/tests/pySim-shell_test/utils.py", line 288, in runPySimShell self.assertTrue(False, "Unexpected exceptions occurred!") AssertionError: False is not true : Unexpected exceptions occurred!
====================================================================== FAIL: test_est_scp02_direct (gp.test.test_case.test_est_scp02_direct) ---------------------------------------------------------------------- Traceback (most recent call last): File "https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/tests/pySim-shell_test/gp/test.py", line 35, in test_est_scp02_direct self.runPySimShell(cardname, "test_est_scp02_direct.script", no_exceptions = True) File "https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/tests/pySim-shell_test/utils.py", line 288, in runPySimShell self.assertTrue(False, "Unexpected exceptions occurred!") AssertionError: False is not true : Unexpected exceptions occurred!
---------------------------------------------------------------------- Ran 35 tests in 444.838s
FAILED (failures=3, errors=10) Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 1632919 killed; [ssh-agent] Stopped. Archiving artifacts
jenkins-notifications@lists.osmocom.org