See
<https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=pylint,a1=default,a3=default,a4=default,label=osmocom-master/1368/display/redirect?page=changes>
Changes:
[pmaier(a)sysmocom.de] fixup
[pmaier(a)sysmocom.de] fixup
------------------------------------------
Started by upstream project "master-pysim" build number 1368
originally caused by:
Started by user pmaier(a)sysmocom.de
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
<https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=pylint,a1=default,a3=default,a4=default,label=osmocom-master/ws/>
[ssh-agent] Looking for ssh-agent implementation...
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-jbzV2v6ntBy5/agent.1309348
SSH_AGENT_PID=1309351
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added:
<https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=pylint,a1=default,a3=default,a4=default,label=osmocom-master/ws/@tmp/private_key_17696022076430973731.key>
(osmocom-jenkins)
[ssh-agent] Using credentials docs (OS#5798)
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning repository
https://gerrit.osmocom.org/pysim
git init
<https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=pylint,a1=default,a3=default,a4=default,label=osmocom-master/ws/>
# timeout=10
Fetching upstream changes from
https://gerrit.osmocom.org/pysim
git --version # timeout=10
git --version # 'git version 2.20.1'
git fetch --tags --force --progress --
https://gerrit.osmocom.org/pysim
+refs/heads/*:refs/remotes/origin/* # timeout=10
git config remote.origin.url
https://gerrit.osmocom.org/pysim # timeout=10
git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
Checking out Revision e2b25b198b9abdaa9eacb38526ccff0d06dd1a5a
(refs/remotes/origin/pmaier/fixapdu)
git config core.sparsecheckout # timeout=10
git checkout -f e2b25b198b9abdaa9eacb38526ccff0d06dd1a5a # timeout=10
Commit
message: "fixup"
git rev-list --no-walk
a12ea89fb68a6f00c9c3a7b9cfaadadee915274f # timeout=10
[osmocom-master] $ /bin/sh -xe
/tmp/jenkins11784014554584454642.sh
+ readlink -f /tmp/ssh-jbzV2v6ntBy5/agent.1309348
+ docker run --rm=true --cap-add SYS_PTRACE -e ASCIIDOC_WARNINGS_CHECK=1 -e HOME=/build -e
IS_MASTER_BUILD=1 -e
JOB_NAME=master-pysim/JOB_TYPE=pylint,a1=default,a3=default,a4=default,label=osmocom-master
-e MAKE=make -e OSMOPY_DEBUG_TCP_SOCKETS=1 -e OSMO_GSM_MANUALS_DIR=/opt/osmo-gsm-manuals
-e PARALLEL_MAKE=-j 8 -e PUBLISH=1 -e SSH_AUTH_SOCK=/ssh-agent -e WITH_MANUALS=1 -w /build
-i -u build -v /tmp/ssh-jbzV2v6ntBy5/agent.1309348:/ssh-agent -v
<https://jenkins.osmocom.org/jenkins/job/master-pysim/JOB_TYPE=pylint,a1=default,a3=default,a4=default,label=osmocom-master/ws/>:/build
-v /home/osmocom-build/.ssh:/home/build/.ssh:ro -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
+ [ -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 194ms
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-mbr7pc3s/smpp-pdu_3eca3b4035624c8b9fc44d9c37feddb2
Running command git clone --filter=blob:none --quiet
https://github.com/hologram-io/smpp.pdu
/tmp/pip-install-mbr7pc3s/smpp-pdu_3eca3b4035624c8b9fc44d9c37feddb2
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.7.0)
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.6 in
/usr/local/lib/python3.11/dist-packages (from pySim==1.0) (0.0.6)
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.5.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.21.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.6->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.6->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=297106
sha256=504d15762bd09f1760ea907530596cd4581e6208a081b11164ccaefd64ae9b1b
Stored in directory:
/tmp/pip-ephem-wheel-cache-_kw003x6/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 pySim.global_platform.scp
pySim/global_platform/scp.py:296:22: E0601: Using variable 'lc' before assignment
(used-before-assignment)
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 1309351 killed;
[ssh-agent] Stopped.
Archiving artifacts