Skip to content

Console Output

Started by upstream project "gerrit-pysim-build" build number 1118
originally caused by:
 Started by upstream project "gerrit-pysim" build number 1117
 originally caused by:
  Triggered by Gerrit: https://gerrit.osmocom.org/c/pysim/+/36838 in silent mode.
Running as SYSTEM
Building remotely on build2-deb10build-ansible (obs osmo-gsm-tester-build osmocom-master-debian10 ttcn3-ggsn-test-kernel-git osmocom-gerrit-debian10 osmocom-gerrit repo-install-test 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.20.1'
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/38/36838/1 # timeout=10
Checking out Revision 8a12d9139769d9b622dead09382cf885d602b2ee (master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 8a12d9139769d9b622dead09382cf885d602b2ee # timeout=10
Commit message: "sysmocom_sjs2: Make sure 'Const' is imported"
 > git rev-parse FETCH_HEAD^{commit} # timeout=10
 > git rev-list --no-walk 51d3fb1ce00587a325586f8001cb88b49fc436b6 # timeout=10
[osmocom-gerrit] $ /bin/sh -xe /tmp/jenkins12054163064064633080.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 8 -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 ./pysim-testdata/ ]
+ pip3 freeze
+ grep pylint
pylint==3.2.0
+ python3 -m pylint -j0 --errors-only --disable E1102 --disable E0401 --enable W0301 pySim tests/test_apdu.py tests/test_construct.py tests/test_esim.py tests/test_esim_bsp.py tests/test_esim_saip.py tests/test_euicc.py tests/test_files.py tests/test_globalplatform.py tests/test_ota.py tests/test_sms.py tests/test_tlv.py tests/test_tlvs.py tests/test_utils.py osmo-smdpp.py pySim-prog.py pySim-read.py pySim-shell.py pySim-trace.py setup.py contrib/es2p_client.py
************* Module pySim.commands
pySim/commands.py:223:18: E0606: Possibly using variable 'skip' before assignment (possibly-used-before-assignment)
pySim/commands.py:608:39: E0606: Possibly using variable 'p2' before assignment (possibly-used-before-assignment)
************* Module pySim.euicc
pySim/euicc.py:436:31: E0606: Possibly using variable 'p_id' before assignment (possibly-used-before-assignment)
pySim/euicc.py:455:31: E0606: Possibly using variable 'p_id' before assignment (possibly-used-before-assignment)
pySim/euicc.py:473:31: E0606: Possibly using variable 'p_id' before assignment (possibly-used-before-assignment)
************* Module osmo-smdpp
osmo-smdpp.py:374:72: E0601: Using variable 'iccid_str' before assignment (used-before-assignment)
************* Module pySim-prog
pySim-prog.py:741:7: E0606: Possibly using variable 'cp' before assignment (possibly-used-before-assignment)
************* Module pySim-trace
pySim-trace.py:198:27: E0606: Possibly using variable 's' before assignment (possibly-used-before-assignment)
Build step 'Execute shell' marked build as failure
Finished: FAILURE