Skip to content
Failed

Console Output

Started by upstream project "gerrit-pysim-build" build number 1935
originally caused by:
 Started by upstream project "gerrit-pysim" build number 1945
 originally caused by:
  Triggered by Gerrit: https://gerrit.osmocom.org/c/pysim/+/38118 in silent mode.
Running as SYSTEM
Building remotely on build4-deb12build-ansible (ttcn3 obs ttcn3_with_linux_6.1_or_higher qemu io_uring osmocom-gerrit coverity osmocom-master) in workspace /home/osmocom-build/jenkins/workspace/gerrit-pysim-build/JOB_TYPE/pylint/a1/default/a3/default/a4/default/label/osmocom-gerrit
The recommended git tool is: NONE
using credential d5eda5e9-b59d-44ba-88d2-43473cb6e42d
 > git rev-parse --resolve-git-dir /home/osmocom-build/jenkins/workspace/gerrit-pysim-build/JOB_TYPE/pylint/a1/default/a3/default/a4/default/label/osmocom-gerrit/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url ssh://jenkins@gerrit.osmocom.org:29418/pysim # timeout=10
Fetching upstream changes from ssh://jenkins@gerrit.osmocom.org:29418/pysim
 > git --version # timeout=10
 > git --version # 'git version 2.39.2'
using GIT_SSH to set credentials gerrit.osmocom.org
Verifying host key using known hosts file, will automatically accept unseen keys
 > git fetch --tags --force --progress -- ssh://jenkins@gerrit.osmocom.org:29418/pysim refs/changes/18/38118/12 # timeout=10
Checking out Revision 7e5611d4bb93f2178eb5b39a21c950b12414245d (master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 7e5611d4bb93f2178eb5b39a21c950b12414245d # timeout=10
Commit message: "utils: move enc_msisdn and dec_msisdn to legacy/utils.py"
 > git rev-parse FETCH_HEAD^{commit} # timeout=10
 > git rev-list --no-walk 452c8d0e33dda2be73cd0ce72901554fd52ca546 # timeout=10
[osmocom-gerrit] $ /bin/sh -xe /tmp/jenkins12654120718911035862.sh
+ docker run --rm=true --cap-add SYS_PTRACE -e ASCIIDOC_WARNINGS_CHECK=1 -e HOME=/build -e JOB_NAME=gerrit-pysim-build/JOB_TYPE=pylint,a1=default,a3=default,a4=default,label=osmocom-gerrit -e MAKE=make -e OSMOPY_DEBUG_TCP_SOCKETS=1 -e OSMO_GSM_MANUALS_DIR=/opt/osmo-gsm-manuals -e PARALLEL_MAKE=-j 12 -e WITH_MANUALS=1 -w /build -i -u build -v /home/osmocom-build/jenkins/workspace/gerrit-pysim-build/JOB_TYPE/pylint/a1/default/a3/default/a4/default/label/osmocom-gerrit:/build -e JOB_TYPE=pylint osmocom-build/debian-bookworm-build /usr/bin/timeout 30m /build/contrib/jenkins.sh
+ export PYTHONUNBUFFERED=1
+ [ ! -d ./tests/ ]
+ [ -z  ]
+ osmo-clean-workspace.sh
+ chmod -R +w .
+ git checkout -f HEAD
+ git clean -dxf
Removing .cache/
Removing .local/
Removing build/
Removing pySim.egg-info/
Removing venv/
+ [ -d  ]
+ [ -d layer1-headers ]
+ pip3 freeze
+ grep pylint
pylint==2.16.2
+ virtualenv -p python3 venv --system-site-packages
created virtual environment CPython3.11.2.final.0-64 in 88ms
  creator CPython3Posix(dest=/build/venv, clear=False, no_vcs_ignore=False, global=True)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv)
    added seed packages: pip==23.0.1, setuptools==66.1.1, wheel==0.38.4
  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
+ . venv/bin/activate
+ [  = /build/contrib/jenkins.sh ]
+ deactivate nondestructive
+ unset -f pydoc
+ [ -z  ]
+ [ -z  ]
+ hash -r
+ [ -z  ]
+ unset VIRTUAL_ENV
+ [ ! nondestructive = nondestructive ]
+ VIRTUAL_ENV=/build/venv
+ [  = cygwin ]
+ [  = msys ]
+ export VIRTUAL_ENV
+ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ PATH=/build/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export PATH
+ [ -z  ]
+ [ -z  ]
+ _OLD_VIRTUAL_PS1=$ 
+ [ x != x ]
+ basename /build/venv
+ PS1=(venv) $ 
+ export PS1
+ alias pydoc
+ true
+ hash -r
+ pip install .
Processing /build
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting smpp.pdu@ git+https://github.com/hologram-io/smpp.pdu
  Cloning https://github.com/hologram-io/smpp.pdu to /tmp/pip-install-lfpvtify/smpp-pdu_ba5305b1fa1d4bad946459abb1e6419e
  Running command git clone --filter=blob:none --quiet https://github.com/hologram-io/smpp.pdu /tmp/pip-install-lfpvtify/smpp-pdu_ba5305b1fa1d4bad946459abb1e6419e
  Resolved https://github.com/hologram-io/smpp.pdu to commit 20acc840ded958898eeb35ae9a18df9b29bdaaac
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Requirement already satisfied: pyscard in /usr/local/lib/python3.11/dist-packages (from pySim==1.0) (2.1.1)
Requirement already satisfied: pyserial in /usr/local/lib/python3.11/dist-packages (from pySim==1.0) (3.5)
Requirement already satisfied: pytlv in /usr/local/lib/python3.11/dist-packages (from pySim==1.0) (0.71)
Requirement already satisfied: cmd2>=1.5.0 in /usr/local/lib/python3.11/dist-packages (from pySim==1.0) (2.4.3)
Requirement already satisfied: jsonpath-ng in /usr/local/lib/python3.11/dist-packages (from pySim==1.0) (1.6.1)
Requirement already satisfied: construct>=2.10.70 in /usr/local/lib/python3.11/dist-packages (from pySim==1.0) (2.10.70)
Requirement already satisfied: bidict in /usr/local/lib/python3.11/dist-packages (from pySim==1.0) (0.23.1)
Requirement already satisfied: pyosmocom>=0.0.3 in /usr/local/lib/python3.11/dist-packages (from pySim==1.0) (0.0.4)
Requirement already satisfied: pyyaml>=5.1 in /usr/lib/python3/dist-packages (from pySim==1.0) (6.0)
Requirement already satisfied: termcolor in /usr/local/lib/python3.11/dist-packages (from pySim==1.0) (2.4.0)
Requirement already satisfied: colorlog in /usr/local/lib/python3.11/dist-packages (from pySim==1.0) (6.8.2)
Requirement already satisfied: pycryptodomex in /usr/local/lib/python3.11/dist-packages (from pySim==1.0) (3.20.0)
Requirement already satisfied: packaging in /usr/local/lib/python3.11/dist-packages (from pySim==1.0) (24.1)
Requirement already satisfied: attrs>=16.3.0 in /usr/local/lib/python3.11/dist-packages (from cmd2>=1.5.0->pySim==1.0) (24.2.0)
Requirement already satisfied: pyperclip>=1.6 in /usr/local/lib/python3.11/dist-packages (from cmd2>=1.5.0->pySim==1.0) (1.9.0)
Requirement already satisfied: wcwidth>=0.1.7 in /usr/local/lib/python3.11/dist-packages (from cmd2>=1.5.0->pySim==1.0) (0.2.13)
Requirement already satisfied: gsm0338 in /usr/local/lib/python3.11/dist-packages (from pyosmocom>=0.0.3->pySim==1.0) (1.0.0)
Requirement already satisfied: ply in /usr/local/lib/python3.11/dist-packages (from jsonpath-ng->pySim==1.0) (3.11)
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from gsm0338->pyosmocom>=0.0.3->pySim==1.0) (1.16.0)
Building wheels for collected packages: pySim
  Building wheel for pySim (pyproject.toml): started
  Building wheel for pySim (pyproject.toml): finished with status 'done'
  Created wheel for pySim: filename=pySim-1.0-py3-none-any.whl size=296082 sha256=317922e4c4472611d29d571beabd54cd893bce8e57f19c4adcf9662819af2439
  Stored in directory: /tmp/pip-ephem-wheel-cache-kjlsnxcg/wheels/de/58/76/633f094fc07d1863c26645e86c4bc9a1104f2a5bea1d5c5943
Successfully built pySim
Installing collected packages: pySim
Successfully installed pySim-1.0
+ python3 -m pylint -j0 --errors-only --disable E1102 --disable E0401 --enable W0301 pySim tests/unittests/test_apdu.py tests/unittests/test_esim.py tests/unittests/test_esim_bsp.py tests/unittests/test_esim_saip.py tests/unittests/test_euicc.py tests/unittests/test_files.py tests/unittests/test_globalplatform.py tests/unittests/test_ota.py tests/unittests/test_sms.py tests/unittests/test_tlvs.py tests/unittests/test_utils.py osmo-smdpp.py pySim-prog.py pySim-read.py pySim-shell.py pySim-trace.py setup.py contrib/csv-encrypt-columns.py contrib/eidtool.py contrib/es2p_client.py contrib/es9p_client.py contrib/fsdump-diff-apply.py contrib/saip-tool.py contrib/sim-rest-client.py contrib/sim-rest-server.py contrib/unber.py
************* Module test_files
tests/unittests/test_files.py:423:8: E0102: function already defined line 348 (function-redefined)
tests/unittests/test_files.py:437:8: E0102: function already defined line 362 (function-redefined)
tests/unittests/test_files.py:447:8: E0102: function already defined line 372 (function-redefined)
Build step 'Execute shell' marked build as failure
Finished: FAILURE