Changes:
------------------------------------------ Started by upstream project "master-pysim" build number 715 originally caused by: Started by timer Running as SYSTEM Building remotely on simtester in workspace https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/ [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-d68BTvbQLG0c/agent.271645 SSH_AGENT_PID=271647 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/@tmp/private_key_6577014177607258866.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 https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/.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 09ff0e2b433b7143d5b40b4494744569b805e554 (origin/master)
git config core.sparsecheckout # timeout=10 git checkout -f 09ff0e2b433b7143d5b40b4494744569b805e554 # timeout=10
Commit message: "README.md: sort dependencies, document smpp.pdu"
git rev-list --no-walk 09ff0e2b433b7143d5b40b4494744569b805e554 # timeout=10
[simtester] $ /bin/sh -xe /tmp/jenkins171243231513957035.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 881ms creator CPython3Posix(dest=https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/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: PyYAML==6.0.1, attrs==23.1.0, bidict==0.22.1, cmd2==2.4.3, colorlog==6.7.0, construct==2.10.68, decorator==5.1.1, gsm0338==1.0.0, jsonpath_ng==1.5.3, packaging==23.1, pip==20.3.4, pkg_resources==0.0.0, ply==3.11, pycryptodomex==3.18.0, pyperclip==1.8.2, pyshark==0.6, pytlv==0.71, setuptools==44.1.1, smpp.pdu==0.3, termcolor==2.3.0, wcwidth==0.2.6, 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=https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/venv + [ = cygwin ] + [ = msys ] + export VIRTUAL_ENV + _OLD_VIRTUAL_PATH=/usr/local/bin:/usr/bin:/bin:/usr/games:/home/jenkins/bin + PATH=https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/venv/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/home/jenkins/bin + export PATH + [ -z ] + [ -z ] + _OLD_VIRTUAL_PS1=$ + [ x != x ] + basename https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=test,a1=default,a3=default,a4=default,label=simtester/ws/venv + PS1=(venv) $ + export PS1 + alias pydoc + true + [ -n ] + [ -n ] + pip install -r requirements.txt Collecting git+https://github.com/hologram-io/smpp.pdu (from -r requirements.txt (line 14)) Cloning https://github.com/hologram-io/smpp.pdu to /tmp/pip-req-build-m_kaxqmj Running command git clone -q https://github.com/hologram-io/smpp.pdu /tmp/pip-req-build-m_kaxqmj 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 ./venv/lib/python3.9/site-packages (from -r requirements.txt (line 3)) (0.71) Requirement already satisfied: cmd2>=1.5 in ./venv/lib/python3.9/site-packages (from -r requirements.txt (line 4)) (2.4.3) Requirement already satisfied: jsonpath-ng in ./venv/lib/python3.9/site-packages (from -r requirements.txt (line 5)) (1.5.3) Requirement already satisfied: construct>=2.9.51 in ./venv/lib/python3.9/site-packages (from -r requirements.txt (line 6)) (2.10.68) Requirement already satisfied: bidict in ./venv/lib/python3.9/site-packages (from -r requirements.txt (line 7)) (0.22.1) Requirement already satisfied: gsm0338 in ./venv/lib/python3.9/site-packages (from -r requirements.txt (line 8)) (1.0.0) Requirement already satisfied: pyyaml>=5.1 in ./venv/lib/python3.9/site-packages (from -r requirements.txt (line 9)) (6.0.1) Requirement already satisfied: termcolor in ./venv/lib/python3.9/site-packages (from -r requirements.txt (line 10)) (2.3.0) Requirement already satisfied: colorlog in ./venv/lib/python3.9/site-packages (from -r requirements.txt (line 11)) (6.7.0) Requirement already satisfied: pycryptodomex in ./venv/lib/python3.9/site-packages (from -r requirements.txt (line 12)) (3.18.0) Requirement already satisfied: packaging in ./venv/lib/python3.9/site-packages (from -r requirements.txt (line 13)) (23.1) Requirement already satisfied: attrs>=16.3.0 in ./venv/lib/python3.9/site-packages (from cmd2>=1.5->-r requirements.txt (line 4)) (23.1.0) Requirement already satisfied: pyperclip>=1.6 in ./venv/lib/python3.9/site-packages (from cmd2>=1.5->-r requirements.txt (line 4)) (1.8.2) Requirement already satisfied: wcwidth>=0.1.7 in ./venv/lib/python3.9/site-packages (from cmd2>=1.5->-r requirements.txt (line 4)) (0.2.6) 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 ./venv/lib/python3.9/site-packages (from jsonpath-ng->-r requirements.txt (line 5)) (3.11) Requirement already satisfied: decorator in ./venv/lib/python3.9/site-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: termcolor in ./venv/lib/python3.9/site-packages (from pyshark) (2.3.0) Requirement already satisfied: packaging in ./venv/lib/python3.9/site-packages (from pyshark) (23.1) Requirement already satisfied: appdirs in /usr/lib/python3/dist-packages (from pyshark) (1.4.4) Requirement already satisfied: lxml in /usr/lib/python3/dist-packages (from pyshark) (4.6.3) + 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_filter_dict (test_construct.TestUtils) ... ok test_filter_dict_nested (test_construct.TestUtils) ... 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_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_fromBytes (test_sms.Test_AddressField) ... ok test_fromBytes_odd (test_sms.Test_AddressField) ... ok test_toBytes (test_sms.Test_AddressField) ... ok test_toBytes_odd (test_sms.Test_AddressField) ... ok test_fromBytes (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_toBytes (test_sms.Test_SMS_UDH) ... ok test_two_ie_data_tail (test_sms.Test_SMS_UDH) ... ok test_fromBytes (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 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
---------------------------------------------------------------------- Ran 84 tests in 0.835s
OK + cd pysim-testdata + ../tests/pySim-prog_test.sh pySim-prog_test - a test program to test pySim-prog.py ====================================================== Expecting to see the following cards: Fairwaves-SIM fakemagicsim sysmoISIM-SJA2 sysmosim-gr1 sysmoUSIM-SJS1 Wavemobile-SIM Number of card terminals installed: 6
== EXECUTING TEST == Probing card in terminal #0 Card is of type: Using PC/SC reader interface ../tests/pySim-prog_test.sh: line 165: Using PC/SC reader interface.data: No such file or directory Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 271647 killed; [ssh-agent] Stopped. Archiving artifacts
jenkins-notifications@lists.osmocom.org