File obs_log_None_standard_riscv64.txt of Package failed_python-pylink-square
[ 0s] Using BUILD_ROOT=/var/cache/obs/worker/root_28/.mount
[ 0s] Using BUILD_ARCH=riscv64
[ 0s] Doing kvm build in /var/cache/obs/worker/root_28/root
[ 0s]
[ 0s]
[ 0s] i02-ch1a started "build python-pylink-square.spec" at Fri Aug 8 16:48:06 UTC 2025.
[ 0s]
[ 0s] Building failed_python-pylink-square for project 'home:lalala123:RISCV' repository 'standard' arch 'riscv64' srcmd5 '0c079576ed53446591cf8eea34756cc7'
[ 0s]
[ 0s] processing recipe /var/cache/obs/worker/root_28/.build-srcdir/python-pylink-square.spec ...
[ 0s] running changelog2spec --target rpm --file /var/cache/obs/worker/root_28/.build-srcdir/python-pylink-square.spec
[ 0s] init_buildsystem --configdir /var/run/obs/worker/28/build/configs --cachedir /var/cache/build --prepare --clean --rpmlist /var/cache/obs/worker/root_28/.build.rpmlist /var/cache/obs/worker/root_28/.build-srcdir/python-pylink-square.spec build ...
[ 1s] cycle: rpm-config-SUSE -> rpm
[ 1s] breaking dependency rpm-config-SUSE -> rpm
[ 1s] [1/29] preinstalling compat-usrmerge-tools...
[ 1s] [2/29] preinstalling system-user-root...
[ 1s] [3/29] preinstalling terminfo-base...
[ 1s] [4/29] preinstalling filesystem...
[ 1s] [5/29] preinstalling glibc...
[ 1s] [6/29] preinstalling fillup...
[ 1s] [7/29] preinstalling libacl1...
[ 1s] [8/29] preinstalling libattr1...
[ 1s] [9/29] preinstalling libbz2-1...
[ 1s] [10/29] preinstalling libcap2...
[ 1s] [11/29] preinstalling libgmp10...
[ 1s] [12/29] preinstalling libgpg-error0...
[ 1s] [13/29] preinstalling libjitterentropy3...
[ 1s] [14/29] preinstalling liblua5_4-5...
[ 1s] [15/29] preinstalling liblzma5...
[ 1s] [16/29] preinstalling libpcre2-8-0...
[ 1s] [17/29] preinstalling libpopt0...
[ 1s] [18/29] preinstalling libz1...
[ 1s] [19/29] preinstalling libzstd1...
[ 1s] [20/29] preinstalling libncurses6...
[ 2s] [21/29] preinstalling libreadline8...
[ 2s] [22/29] preinstalling libselinux1...
[ 2s] [23/29] preinstalling libgcrypt20...
[ 2s] [24/29] preinstalling bash...
[ 2s] [25/29] preinstalling bash-sh...
[ 2s] [26/29] preinstalling qemu-linux-user...
[ 2s] [27/29] preinstalling coreutils...
[ 2s] [28/29] preinstalling rpm-config-SUSE...
[ 2s] [29/29] preinstalling rpm...
[ 2s]
[ 2s] [1/18] preinstalling grep...
[ 2s] [2/18] preinstalling kernel-obs-build...
[ 2s] [3/18] preinstalling libaudit1...
[ 2s] [4/18] preinstalling libcap-ng0...
[ 2s] [5/18] preinstalling libcrypt1...
[ 2s] [6/18] preinstalling libeconf0...
[ 2s] [7/18] preinstalling libgcc_s1...
[ 2s] [8/18] preinstalling libsmartcols1...
[ 2s] [9/18] preinstalling libuuid1...
[ 2s] [10/18] preinstalling libblkid1...
[ 2s] [11/18] preinstalling perl-base...
[ 2s] [12/18] preinstalling permctl...
[ 2s] [13/18] preinstalling libmount1...
[ 2s] [14/18] preinstalling permissions-config...
[ 2s] [15/18] preinstalling libfdisk1...
[ 2s] [16/18] preinstalling permissions...
[ 2s] [17/18] preinstalling pam...
[ 2s] [18/18] preinstalling util-linux...
[ 2s] copying packages...
[ 3s] reordering...cycle: lua54 -> lua-interpreter
[ 3s] breaking dependency lua54 -> lua-interpreter
[ 3s] cycle: binutils -> libctf0
[ 3s] breaking dependency libctf0 -> binutils
[ 3s] cycle: python311-base -> libpython3_11-1_0
[ 3s] breaking dependency python311-base -> libpython3_11-1_0
[ 3s] cycle: python312-base -> libpython3_12-1_0
[ 3s] breaking dependency python312-base -> libpython3_12-1_0
[ 3s] cycle: python313-base -> libpython3_13-1_0
[ 3s] breaking dependency python313-base -> libpython3_13-1_0
[ 3s] cycle: rpm-config-SUSE -> rpm
[ 3s] breaking dependency rpm-config-SUSE -> rpm
[ 3s] done
[ 3s] Detected virtio-serial support
[ 4s] booting kvm...
[ 4s] ### VM INTERACTION START ###
[ 4s] Using virtio-serial support and enabling console input
[ 4s] /usr/bin/qemu-kvm -nodefaults -no-reboot -nographic -vga none -cpu host -M pc,accel=kvm,usb=off,dump-guest-core=off,vmport=off -sandbox on -bios /usr/share/qemu/qboot.rom -object rng-random,filename=/dev/random,id=rng0 -device virtio-rng-pci,rng=rng0 -object iothread,id=io0 -run-with user=qemu -net none -kernel /var/cache/obs/worker/root_28/.mount/boot/kernel -initrd /var/cache/obs/worker/root_28/.mount/boot/initrd -append root=/dev/disk/by-id/virtio-0 rootfstype=ext4 rootflags=noatime elevator=noop nmi_watchdog=0 rw ia32_emulation=1 oops=panic panic=1 quiet console=hvc0 init=/.build/initvm.x86_64 -m 16384 -drive file=/var/cache/obs/worker/root_28/root,format=raw,if=none,id=disk,cache=unsafe,aio=io_uring -device virtio-blk-pci,iothread=io0,drive=disk,serial=0 -drive file=/var/cache/obs/worker/root_28/swap,format=raw,if=none,id=swap,cache=unsafe,aio=io_uring -device virtio-blk-pci,iothread=io0,drive=swap,serial=1 -device virtio-serial,max_ports=2 -device virtconsole,chardev=virtiocon0 -chardev stdio,mux=on,id=virtiocon0 -mon chardev=virtiocon0 -chardev socket,id=monitor,server=on,wait=off,path=/var/cache/obs/worker/root_28/root.qemu/monitor -mon chardev=monitor,mode=readline -smp 4
[ 5s] [!p]104[?7h[ 0.550010][ T1] systemd[1]: Failed to start Virtual Console Setup.
[ 5s] [[0;1;31mFAILED[0m] Failed to start [0;1;39mVirtual Console Setup[0m.
[ 7s] [6n[32766;32766H[6n[!p]104[?7h### VM INTERACTION END ###
[ 7s] 2nd stage started in virtual machine
[ 7s] ^[[24;10R^[[24;80Rmachine type: riscv64
[ 7s] Linux version: 6.15.8-1-default #1 SMP PREEMPT_DYNAMIC Thu Jul 24 07:19:58 UTC 2025 (e03d052)
[ 7s] Time: Fri Aug 8 16:48:12 UTC 2025
[ 7s] Increasing log level from now on...
[ 7s] [ 2.705414][ T570] sysrq: Changing Loglevel
[ 7s] [ 2.705506][ T570] sysrq: Loglevel set to 4
[ 7s] Enable sysrq operations
[ 7s] Setting up swapspace version 1, size = 4 GiB (4294963200 bytes)
[ 7s] no label, UUID=55b30af8-7aa8-44c5-a8f1-8423d52c0902
[ 7s] WARNING: udev not running, creating extra device nodes
[ 8s] logging output to //.build.log...
[ 8s] processing recipe //.build-srcdir/python-pylink-square.spec ...
[ 8s] init_buildsystem --configdir /.build/configs --cachedir /var/cache/build //.build-srcdir/python-pylink-square.spec build ...
[ 8s] initializing rpm db...
[ 8s] querying package ids...
[ 15s] [1/174] cumulate compat-usrmerge-tools-84.87-5.5
[ 15s] [2/174] cumulate crypto-policies-20250124.4d262e7-1.1
[ 15s] [3/174] cumulate file-magic-5.46-4.1
[ 15s] [4/174] cumulate kernel-obs-build-6.15.8-1.1
[ 15s] [5/174] cumulate pkgconf-m4-2.2.0-1.1
[ 15s] [6/174] cumulate python-rpm-macros-20241120.6ae645f-1.2
[ 15s] [7/174] cumulate system-user-root-20190513-2.4
[ 15s] [8/174] cumulate terminfo-base-6.5.20250726-79.1
[ 15s] [9/174] cumulate filesystem-84.87-18.1
[ 15s] [10/174] cumulate glibc-2.41-3.1
[ 15s] [11/174] cumulate diffutils-3.12-1.1
[ 15s] [12/174] cumulate envsubst-mini-0.22.5-8.1
[ 15s] [13/174] cumulate fillup-1.42-281.1
[ 15s] [14/174] cumulate glibc-gconv-modules-extra-2.41-3.1
[ 15s] [15/174] cumulate glibc-locale-base-2.41-3.1
[ 15s] [16/174] cumulate libacl1-2.3.2-2.1
[ 15s] [17/174] cumulate libalternatives1-1.2+31.da24cd4-1.1
[ 15s] [18/174] cumulate libatomic1-15.1.1+git10189-1.1
[ 15s] [19/174] cumulate libattr1-2.5.2-1.1
[ 15s] [20/174] cumulate libaudit1-4.0.2-4.1
[ 15s] [21/174] cumulate libbz2-1-1.0.8-5.3
[ 15s] [22/174] cumulate libcap-ng0-0.8.5-1.1
[ 15s] [23/174] cumulate libcap2-2.75-1.1
[ 15s] [24/174] cumulate libcrypt1-4.4.38-1.1
[ 15s] [25/174] cumulate libeconf0-0.7.10-1.1
[ 15s] [26/174] cumulate libexpat1-2.6.1-1.1
[ 15s] [27/174] cumulate libffi8-3.4.7-1.1
[ 15s] [28/174] cumulate libgcc_s1-15.1.1+git10189-1.1
[ 15s] [29/174] cumulate libgdbm6-1.24-2.1
[ 15s] [30/174] cumulate libgmp10-6.3.0-5.1
[ 15s] [31/174] cumulate libgomp1-15.1.1+git10189-1.1
[ 15s] [32/174] cumulate libgpg-error0-1.55-1.1
[ 15s] [33/174] cumulate libitm1-15.1.1+git10189-1.1
[ 15s] [34/174] cumulate libjitterentropy3-3.6.3-1.1
[ 15s] [35/174] cumulate liblua5_4-5-5.4.8-3.1
[ 15s] [36/174] cumulate liblz1-1.15-1.1
[ 15s] [37/174] cumulate liblz4-1-1.10.0-2.1
[ 15s] [38/174] cumulate liblzma5-5.8.1-1.1
[ 15s] [39/174] cumulate libmpdec4-4.0.1-2.1
[ 15s] [40/174] cumulate libpcre2-8-0-10.45-2.1
[ 15s] [41/174] cumulate libpkgconf5-2.2.0-1.1
[ 15s] [42/174] cumulate libpopt0-1.19-1.4
[ 15s] [43/174] cumulate libseccomp2-2.6.0-2.1
[ 15s] [44/174] cumulate libsmartcols1-2.41.1-2.1
[ 15s] [45/174] cumulate libuuid1-2.41.1-2.1
[ 15s] [46/174] cumulate libz1-1.3.1-1.1
[ 15s] [47/174] cumulate libzstd1-1.5.7-3.1
[ 15s] [48/174] cumulate patch-2.8-1.1
[ 15s] [49/174] cumulate update-alternatives-1.22.21-1.1
[ 15s] [50/174] cumulate which-2.23-1.1
[ 15s] [51/174] cumulate libncurses6-6.5.20250726-79.1
[ 15s] [52/174] cumulate alts-1.2+31.da24cd4-1.1
[ 15s] [53/174] cumulate libblkid1-2.41.1-2.1
[ 15s] [54/174] cumulate libctf-nobfd0-2.43-10.1
[ 15s] [55/174] cumulate libgdbm_compat4-1.24-2.1
[ 15s] [56/174] cumulate libisl23-0.27-1.1
[ 15s] [57/174] cumulate libmpfr6-4.2.2-1.1
[ 15s] [58/174] cumulate libreadline8-8.2.13-2.1
[ 15s] [59/174] cumulate libselinux1-3.9-2.1
[ 15s] [60/174] cumulate libstdc++6-15.1.1+git10189-1.1
[ 15s] [61/174] cumulate libsystemd0-mini-257.7-6.2
[ 15s] [62/174] cumulate ncurses-utils-6.5.20250726-79.1
[ 15s] [63/174] cumulate perl-base-5.42.0-1.1
[ 15s] [64/174] cumulate pkgconf-2.2.0-1.1
[ 15s] [65/174] cumulate libelf1-0.192-2.1
[ 15s] [66/174] cumulate libgcrypt20-1.11.1-3.1
[ 15s] [67/174] cumulate libxml2-2-2.13.8-3.1
[ 15s] [68/174] cumulate libopenssl3-3.5.1-2.1
[ 15s] [69/174] cumulate permctl-1699_20250120-1.2
[ 15s] [70/174] cumulate libmagic1-5.46-4.1
[ 15s] [71/174] cumulate build-mkbaselibs-20250708-1.1
[ 15s] [72/174] cumulate bash-5.2.37-20.1
[ 15s] [73/174] cumulate dwz-0.15-6.1
[ 15s] [74/174] cumulate findutils-4.10.0-2.1
[ 15s] [75/174] cumulate libproc2-1-4.0.5-2.1
[ 15s] [76/174] cumulate fdupes-2.4.0-1.1
[ 15s] [77/174] cumulate file-5.46-4.1
[ 15s] [78/174] cumulate libasan8-15.1.1+git10189-1.1
[ 15s] [79/174] cumulate libfdisk1-2.41.1-2.1
[ 15s] [80/174] cumulate liblsan0-15.1.1+git10189-1.1
[ 15s] [81/174] cumulate libmount1-2.41.1-2.1
[ 15s] [82/174] cumulate libmpc3-1.3.1-1.5
[ 15s] [83/174] cumulate libtsan2-15.1.1+git10189-1.1
[ 15s] [84/174] cumulate libubsan1-15.1.1+git10189-1.1
[ 15s] [85/174] cumulate sed-4.9-2.2
[ 15s] [86/174] cumulate tar-1.35-4.1
[ 15s] [87/174] cumulate libdw1-0.192-2.1
[ 15s] [88/174] cumulate perl-5.42.0-1.1
[ 15s] [89/174] cumulate libarchive13-3.8.1-1.1
[ 15s] [90/174] cumulate bash-sh-5.2.37-20.1
[ 15s] [91/174] cumulate brp-check-suse-84.87+git20230324.8680ce4-1.1
[ 15s] [92/174] cumulate perl-rpm-packaging-1.2-1.1
[ 15s] [93/174] cumulate libasm1-0.192-2.1
[ 15s] [94/174] cumulate procps-4.0.5-2.1
[ 15s] [95/174] cumulate cpp15-15.1.1+git10189-1.1
[ 15s] [96/174] cumulate qemu-linux-user-10.0.2-84.2
[ 15s] [97/174] cumulate cpio-2.15-6.1
[ 15s] [98/174] cumulate cpp-15-1.1
[ 15s] [99/174] cumulate gzip-1.14-1.1
[ 15s] [100/174] cumulate make-4.4.1-3.1
[ 15s] [101/174] cumulate bzip2-1.0.8-5.3
[ 15s] [102/174] cumulate grep-3.12-1.1
[ 15s] [103/174] cumulate pkgconf-pkg-config-2.2.0-1.1
[ 15s] [104/174] cumulate xz-5.8.1-1.1
[ 15s] [105/174] cumulate gettext-runtime-mini-0.22.5-8.1
[ 15s] [106/174] cumulate gawk-5.3.2-1.1
[ 15s] [107/174] cumulate coreutils-9.7-3.1
[ 15s] [108/174] cumulate elfutils-0.192-2.1
[ 15s] [109/174] cumulate systemd-rpm-macros-26-1.1
[ 15s] [110/174] cumulate libxcrypt-devel-4.4.38-1.1
[ 15s] [111/174] cumulate linux-glibc-devel-6.15-1.1
[ 15s] [112/174] cumulate permissions-config-1699_20250120-1.2
[ 15s] [113/174] cumulate polkit-default-privs-1550+20250721.f1b71a3-1.1
[ 15s] [114/174] cumulate gettext-tools-mini-0.22.5-8.1
[ 15s] [115/174] cumulate aaa_base-84.87+git20250429.1cad3bc-1.1
[ 15s] [116/174] cumulate aaa_base-malloccheck-84.87+git20250429.1cad3bc-1.1
[ 15s] [117/174] cumulate permissions-1699_20250120-1.2
[ 15s] [118/174] cumulate glibc-devel-2.41-3.1
[ 15s] [119/174] cumulate rpmlint-mini-2.7.0+git20250710.a7f0a67c-18.38
[ 15s] [120/174] cumulate pam-1.7.1-1.1
[ 15s] [121/174] cumulate post-build-checks-84.87+git20250725.0c3a172-1.1
[ 15s] [122/174] cumulate util-linux-2.41.1-2.1
[ 15s] [123/174] cumulate rpm-config-SUSE-20250423-1.1
[ 15s] [124/174] cumulate libctf0-2.43-10.1
[ 15s] [125/174] cumulate lua54-5.4.8-3.1
[ 15s] [126/174] cumulate python313-base-3.13.5-7.1
[ 15s] [127/174] cumulate python311-base-3.11.13-7.1
[ 15s] [128/174] cumulate python312-base-3.12.11-4.1
[ 15s] [129/174] cumulate compat-usrmerge-build-84.87-5.5
[ 15s] [130/174] cumulate python311-iniconfig-2.1.0-1.1
[ 15s] [131/174] cumulate python311-packaging-25.0-1.1
[ 15s] [132/174] cumulate python311-pluggy-1.6.0-1.1
[ 15s] [133/174] cumulate python312-iniconfig-2.1.0-1.1
[ 15s] [134/174] cumulate python312-packaging-25.0-1.1
[ 15s] [135/174] cumulate python312-pluggy-1.6.0-1.1
[ 15s] [136/174] cumulate python313-iniconfig-2.1.0-1.1
[ 15s] [137/174] cumulate python313-packaging-25.0-1.1
[ 15s] [138/174] cumulate python313-pluggy-1.6.0-1.1
[ 15s] [139/174] cumulate libpython3_11-1_0-3.11.13-7.1
[ 15s] [140/174] cumulate libpython3_12-1_0-3.12.11-4.1
[ 15s] [141/174] cumulate libpython3_13-1_0-3.13.5-7.1
[ 15s] [142/174] cumulate lua-interpreter-5-2.1
[ 15s] [143/174] cumulate python311-setuptools-70.0.0-1.1
[ 15s] [144/174] cumulate python311-six-1.17.0-1.3
[ 15s] [145/174] cumulate python312-setuptools-70.0.0-1.1
[ 15s] [146/174] cumulate python312-six-1.17.0-1.3
[ 15s] [147/174] cumulate python313-setuptools-70.0.0-1.1
[ 15s] [148/174] cumulate python313-six-1.17.0-1.3
[ 15s] [149/174] cumulate python311-Pygments-2.19.2-2.1
[ 15s] [150/174] cumulate python311-psutil-7.0.0-1.1
[ 15s] [151/174] cumulate python311-wheel-0.45.1-2.1
[ 15s] [152/174] cumulate python312-Pygments-2.19.2-2.1
[ 15s] [153/174] cumulate python312-psutil-7.0.0-1.1
[ 15s] [154/174] cumulate python312-wheel-0.45.1-2.1
[ 15s] [155/174] cumulate python313-Pygments-2.19.2-2.1
[ 15s] [156/174] cumulate python313-psutil-7.0.0-1.1
[ 15s] [157/174] cumulate python313-wheel-0.45.1-2.1
[ 15s] [158/174] cumulate python311-pip-24.2-1.1
[ 15s] [159/174] cumulate python312-pip-24.2-1.1
[ 15s] [160/174] cumulate python313-pip-24.2-1.1
[ 15s] [161/174] cumulate binutils-2.43-10.1
[ 15s] [162/174] cumulate rpm-4.20.1-6.1
[ 15s] [163/174] cumulate python-rpm-packaging-20210526+a18ca48-1.6
[ 15s] [164/174] cumulate python311-pytest-8.4.1-1.1
[ 15s] [165/174] cumulate python312-pytest-8.4.1-1.1
[ 15s] [166/174] cumulate python313-pytest-8.4.1-1.1
[ 15s] [167/174] cumulate build-compare-20240801T083050.024a3a7-1.1
[ 15s] [168/174] cumulate librpmbuild10-4.20.1-6.1
[ 15s] [169/174] cumulate debugedit-5.1-1.1
[ 15s] [170/174] cumulate gcc15-15.1.1+git10189-1.1
[ 15s] [171/174] cumulate gcc15-PIE-15.1.1+git10189-1.1
[ 15s] [172/174] cumulate gcc-15-1.1
[ 15s] [173/174] cumulate gcc-PIE-15-1.1
[ 15s] [174/174] cumulate rpm-build-4.20.1-6.1
[ 15s] now installing cumulated packages
[ 16s] Preparing... ########################################
[ 16s] Updating / installing...
[ 16s] system-user-root-20190513-2.4 ########################################
[ 16s] terminfo-base-6.5.20250726-79.1 ########################################
[ 16s] python-rpm-macros-20241120.6ae645f-1.2########################################
[ 16s] pkgconf-m4-2.2.0-1.1 ########################################
[ 17s] file-magic-5.46-4.1 ########################################
[ 17s] crypto-policies-20250124.4d262e7-1.1 ########################################
[ 17s] compat-usrmerge-tools-84.87-5.5 ########################################
[ 17s] filesystem-84.87-18.1 ########################################
[ 17s] glibc-2.41-3.1 ########################################
[ 17s] libz1-1.3.1-1.1 ########################################
[ 17s] libbz2-1-1.0.8-5.3 ########################################
[ 17s] libgcc_s1-15.1.1+git10189-1.1 ########################################
[ 18s] liblzma5-5.8.1-1.1 ########################################
[ 18s] libstdc++6-15.1.1+git10189-1.1 ########################################
[ 18s] libzstd1-1.5.7-3.1 ########################################
[ 18s] libelf1-0.192-2.1 ########################################
[ 18s] libcrypt1-4.4.38-1.1 ########################################
[ 18s] libgmp10-6.3.0-5.1 ########################################
[ 18s] perl-base-5.42.0-1.1 ########################################
[ 18s] libacl1-2.3.2-2.1 ########################################
[ 19s] libcap2-2.75-1.1 ########################################
[ 19s] libuuid1-2.41.1-2.1 ########################################
[ 19s] libmpfr6-4.2.2-1.1 ########################################
[ 19s] libdw1-0.192-2.1 ########################################
[ 19s] fillup-1.42-281.1 ########################################
[ 19s] update-alternatives-1.22.21-1.1 ########################################
[ 19s] libncurses6-6.5.20250726-79.1 ########################################
[ 19s] libreadline8-8.2.13-2.1 ########################################
[ 19s] bash-5.2.37-20.1 ########################################
[ 19s] bash-sh-5.2.37-20.1 ########################################
[ 19s] xz-5.8.1-1.1 ########################################
[ 19s] gawk-5.3.2-1.1 ########################################
[ 19s] cpio-2.15-6.1 ########################################
[ 19s] libeconf0-0.7.10-1.1 ########################################
[ 20s] libblkid1-2.41.1-2.1 ########################################
[ 20s] libexpat1-2.6.1-1.1 ########################################
[ 20s] libffi8-3.4.7-1.1 ########################################
[ 20s] libgomp1-15.1.1+git10189-1.1 ########################################
[ 20s] liblua5_4-5-5.4.8-3.1 ########################################
[ 20s] libmpdec4-4.0.1-2.1 ########################################
[ 20s] libpopt0-1.19-1.4 ########################################
[ 20s] libmpc3-1.3.1-1.5 ########################################
[ 20s] libsystemd0-mini-257.7-6.2 ########################################
[ 20s] permctl-1699_20250120-1.2 ########################################
[ 20s] libisl23-0.27-1.1 ########################################
[ 24s] cpp15-15.1.1+git10189-1.1 ########################################
[ 24s] dwz-0.15-6.1 ########################################
[ 24s] diffutils-3.12-1.1 ########################################
[ 24s] libaudit1-4.0.2-4.1 ########################################
[ 24s] libgdbm6-1.24-2.1 ########################################
[ 24s] libjitterentropy3-3.6.3-1.1 ########################################
[ 25s] libopenssl3-3.5.1-2.1 ########################################
[ 27s] python313-base-3.13.5-7.1 ########################################
[ 28s] libpython3_13-1_0-3.13.5-7.1 ########################################
[ 31s] python311-base-3.11.13-7.1 ########################################
[ 31s] libpython3_11-1_0-3.11.13-7.1 ########################################
[ 33s] python312-base-3.12.11-4.1 ########################################
[ 34s] libpython3_12-1_0-3.12.11-4.1 ########################################
[ 34s] python313-packaging-25.0-1.1 ########################################
[ 34s] libpcre2-8-0-10.45-2.1 ########################################
[ 34s] libselinux1-3.9-2.1 ########################################
[ 34s] sed-4.9-2.2 ########################################
[ 34s] grep-3.12-1.1 ########################################
[ 34s] findutils-4.10.0-2.1 ########################################
[ 34s] libmount1-2.41.1-2.1 ########################################
[ 34s] tar-1.35-4.1 ########################################
[ 34s] python-rpm-packaging-20210526+a18ca48-########################################
[ 34s] python312-iniconfig-2.1.0-1.1 ########################################
[ 34s] python312-packaging-25.0-1.1 ########################################
[ 34s] python312-pluggy-1.6.0-1.1 ########################################
[ 35s] python312-setuptools-70.0.0-1.1 ########################################
[ 35s] python311-iniconfig-2.1.0-1.1 ########################################
[ 35s] python311-packaging-25.0-1.1 ########################################
[ 35s] python311-pluggy-1.6.0-1.1 ########################################
[ 36s] python311-setuptools-70.0.0-1.1 ########################################
[ 36s] python313-iniconfig-2.1.0-1.1 ########################################
[ 36s] python313-pluggy-1.6.0-1.1 ########################################
[ 36s] python313-setuptools-70.0.0-1.1 ########################################
[ 36s] libgdbm_compat4-1.24-2.1 ########################################
[ 40s] perl-5.42.0-1.1 ########################################
[ 40s] perl-rpm-packaging-1.2-1.1 ########################################
[ 40s] cpp-15-1.1 ########################################
[ 40s] libproc2-1-4.0.5-2.1 ########################################
[ 40s] procps-4.0.5-2.1 ########################################
[ 40s] libfdisk1-2.41.1-2.1 ########################################
[ 40s] gzip-1.14-1.1 ########################################
[ 40s] make-4.4.1-3.1 ########################################
[ 40s] bzip2-1.0.8-5.3 ########################################
[ 40s] ncurses-utils-6.5.20250726-79.1 ########################################
[ 40s] libasm1-0.192-2.1 ########################################
[ 40s] elfutils-0.192-2.1 ########################################
[ 40s] libasan8-15.1.1+git10189-1.1 ########################################
[ 40s] liblsan0-15.1.1+git10189-1.1 ########################################
[ 41s] libtsan2-15.1.1+git10189-1.1 ########################################
[ 41s] libubsan1-15.1.1+git10189-1.1 ########################################
[ 41s] libxml2-2-2.13.8-3.1 ########################################
[ 41s] libctf-nobfd0-2.43-10.1 ########################################
[ 41s] libctf0-2.43-10.1 ########################################
[ 44s] binutils-2.43-10.1 ########################################
[ 44s] update-alternatives: using /usr/bin/ld.bfd to provide /usr/bin/ld (ld) in auto mode
[ 45s] envsubst-mini-0.22.5-8.1 ########################################
[ 45s] gettext-runtime-mini-0.22.5-8.1 ########################################
[ 45s] glibc-gconv-modules-extra-2.41-3.1 ########################################
[ 46s] gettext-tools-mini-0.22.5-8.1 ########################################
[ 46s] glibc-locale-base-2.41-3.1 ########################################
[ 46s] libalternatives1-1.2+31.da24cd4-1.1 ########################################
[ 46s] alts-1.2+31.da24cd4-1.1 ########################################
[ 46s] lua-interpreter-5-2.1 ########################################
[ 46s] lua54-5.4.8-3.1 ########################################
[ 47s] python311-Pygments-2.19.2-2.1 ########################################
[ 48s] python312-Pygments-2.19.2-2.1 ########################################
[ 49s] python313-Pygments-2.19.2-2.1 ########################################
[ 49s] libatomic1-15.1.1+git10189-1.1 ########################################
[ 49s] libattr1-2.5.2-1.1 ########################################
[ 49s] coreutils-9.7-3.1 ########################################
[ 49s] aaa_base-84.87+git20250429.1cad3bc-1.1########################################
[ 49s] Updating /etc/sysconfig/language ...
[ 49s] Updating /etc/sysconfig/proxy ...
[ 50s] aaa_base-malloccheck-84.87+git20250429########################################
[ 50s] systemd-rpm-macros-26-1.1 ########################################
[ 50s] linux-glibc-devel-6.15-1.1 ########################################
[ 50s] permissions-config-1699_20250120-1.2 ########################################
[ 50s] Updating /etc/sysconfig/security ...
[ 50s] Checking permissions and ownerships - using the permissions files
[ 50s] /usr/share/permissions/permissions
[ 50s] /usr/share/permissions/permissions.easy
[ 50s] /etc/permissions.local
[ 50s] /usr/sbin/unix_chkpwd: setting to root:shadow 4755 (wrong owner/group root:root)
[ 50s] permissions-1699_20250120-1.2 ########################################
[ 51s] pam-1.7.1-1.1 ########################################
[ 51s] polkit-default-privs-1550+20250721.f1b########################################
[ 51s] Updating /etc/sysconfig/security ...
[ 51s] can't open /etc/polkit-1/rules.d/90-default-privs.rules.new: No such file or directory
[ 51s] warning: %post(polkit-default-privs-1550+20250721.f1b71a3-1.1.noarch) scriptlet failed, exit status 2
[ 51s] debugedit-5.1-1.1 ########################################
[ 51s] libcap-ng0-0.8.5-1.1 ########################################
[ 52s] libgpg-error0-1.55-1.1 ########################################
[ 52s] libgcrypt20-1.11.1-3.1 ########################################
[ 52s] rpm-config-SUSE-20250423-1.1 ########################################
[ 52s] rpm-4.20.1-6.1 ########################################
[ 52s] Updating /etc/sysconfig/services ...
[ 53s] libitm1-15.1.1+git10189-1.1 ########################################
[ 53s] liblz1-1.15-1.1 ########################################
[ 53s] libmagic1-5.46-4.1 ########################################
[ 53s] librpmbuild10-4.20.1-6.1 ########################################
[ 53s] liblz4-1-1.10.0-2.1 ########################################
[ 53s] libarchive13-3.8.1-1.1 ########################################
[ 53s] libpkgconf5-2.2.0-1.1 ########################################
[ 53s] pkgconf-2.2.0-1.1 ########################################
[ 53s] pkgconf-pkg-config-2.2.0-1.1 ########################################
[ 53s] libxcrypt-devel-4.4.38-1.1 ########################################
[ 53s] glibc-devel-2.41-3.1 ########################################
[ 74s] gcc15-15.1.1+git10189-1.1 ########################################
[ 74s] gcc15-PIE-15.1.1+git10189-1.1 ########################################
[ 74s] gcc-15-1.1 ########################################
[ 74s] libseccomp2-2.6.0-2.1 ########################################
[ 74s] file-5.46-4.1 ########################################
[ 74s] libsmartcols1-2.41.1-2.1 ########################################
[ 74s] util-linux-2.41.1-2.1 ########################################
[ 75s] patch-2.8-1.1 ########################################
[ 75s] which-2.23-1.1 ########################################
[ 75s] rpm-build-4.20.1-6.1 ########################################
[ 75s] build-compare-20240801T083050.024a3a7-########################################
[ 75s] gcc-PIE-15-1.1 ########################################
[ 77s] rpmlint-mini-2.7.0+git20250710.a7f0a67########################################
[ 77s] post-build-checks-84.87+git20250725.0c########################################
[ 78s] python311-pip-24.2-1.1 ########################################
[ 79s] python312-pip-24.2-1.1 ########################################
[ 80s] python313-pip-24.2-1.1 ########################################
[ 81s] python313-pytest-8.4.1-1.1 ########################################
[ 81s] python312-pytest-8.4.1-1.1 ########################################
[ 82s] python311-pytest-8.4.1-1.1 ########################################
[ 82s] compat-usrmerge-build-84.87-5.5 ########################################
[ 82s] python311-wheel-0.45.1-2.1 ########################################
[ 82s] python312-wheel-0.45.1-2.1 ########################################
[ 82s] python313-wheel-0.45.1-2.1 ########################################
[ 83s] python311-psutil-7.0.0-1.1 ########################################
[ 83s] python312-psutil-7.0.0-1.1 ########################################
[ 83s] python313-psutil-7.0.0-1.1 ########################################
[ 83s] brp-check-suse-84.87+git20230324.8680c########################################
[ 83s] python312-six-1.17.0-1.3 ########################################
[ 83s] python311-six-1.17.0-1.3 ########################################
[ 83s] python313-six-1.17.0-1.3 ########################################
[ 88s] qemu-linux-user-10.0.2-84.2 ########################################
[ 89s] build-mkbaselibs-20250708-1.1 ########################################
[ 89s] fdupes-2.4.0-1.1 ########################################
[ 90s] kernel-obs-build-6.15.8-1.1 ########################################
[ 94s] now finalizing build dir...
[ 94s] ... running 01-add_abuild_user_to_trusted_group
[ 95s] ... running 02-set_timezone_to_utc
[ 95s] ... running 03-set-permissions-secure
[ 95s] ... running 11-hack_uname_version_to_kernel_version
[ 97s] setting SOURCE_DATE_EPOCH_MTIME to 1702587915
[ 103s] -----------------------------------------------------------------
[ 103s] I have the following modifications for python-pylink-square.spec:
[ 103s] 22c22
[ 103s] < Release: 0
[ 103s] ---
[ 103s] > Release: 1.1
[ 107s] build target is riscv64-suse-linux
[ 107s] -----------------------------------------------------------------
[ 107s] ----- building python-pylink-square.spec (user abuild)
[ 107s] -----------------------------------------------------------------
[ 107s] -----------------------------------------------------------------
[ 110s] setting SOURCE_DATE_EPOCH_MTIME to 1702587915
[ 110s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --target=riscv64-suse-linux --undefine _enable_debug_packages --define 'disturl obs://build.opensuse.org/home:lalala123:RISCV/standard/0c079576ed53446591cf8eea34756cc7-failed_python-pylink-square' /home/abuild/rpmbuild/SOURCES/python-pylink-square.spec
[ 110s] Building target platforms: riscv64-suse-linux
[ 110s] Building for target riscv64-suse-linux
[ 139s] using SOURCE_DATE_EPOCH with value 1702587914 as build time
[ 139s] Executing(%mkbuilddir): /usr/bin/env QEMU_STACK_SIZE=64M /usr/bin/bash -e /var/tmp/rpm-tmp.fDCwmV
[ 140s] Executing(%prep): /usr/bin/env QEMU_STACK_SIZE=64M /usr/bin/bash -e /var/tmp/rpm-tmp.KZMKBn
[ 140s] + umask 022
[ 140s] + cd /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build
[ 140s] + cd /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build
[ 140s] + rm -rf pylink-square-1.2.0
[ 140s] + /usr/lib/rpm/rpmuncompress -x /home/abuild/rpmbuild/SOURCES/pylink-square-1.2.0.tar.gz
[ 140s] + STATUS=0
[ 140s] + '[' 0 -ne 0 ']'
[ 140s] + cd pylink-square-1.2.0
[ 140s] + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
[ 140s] + RPM_EC=0
[ 140s] ++ jobs -p
[ 140s] + exit 0
[ 140s] Executing(%build): /usr/bin/env QEMU_STACK_SIZE=64M /usr/bin/bash -e /var/tmp/rpm-tmp.4nesTL
[ 140s] + umask 022
[ 140s] + cd /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build
[ 140s] + /usr/bin/rm -rf /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT
[ 140s] ++ dirname /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT
[ 140s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build
[ 140s] + /usr/bin/mkdir /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT
[ 140s] + cd pylink-square-1.2.0
[ 140s] + ref=/usr/lib/rpm
[ 140s] + mints=0
[ 140s] + case $(uname -m) in
[ 140s] ++ uname -m
[ 140s] + mints=20160911
[ 140s] + for s in guess sub
[ 140s] ++ find -maxdepth 8 -name config.guess
[ 140s] + for s in guess sub
[ 140s] ++ find -maxdepth 8 -name config.sub
[ 141s] ++ '[' -f _current_flavor ']'
[ 141s] ++ true
[ 141s] + last_flavor=
[ 141s] + '[' -z '' ']'
[ 141s] + last_flavor=tmp
[ 141s] + '[' tmp '!=' python311 ']'
[ 141s] + '[' -d build ']'
[ 141s] + '[' -d _build.python311 ']'
[ 141s] + echo python311
[ 141s] + python_flavor=python311
[ 141s] + myargs=
[ 141s] + '[' -f './dist/*-none-any.whl' ']'
[ 141s] + /usr/bin/python3.11 -mpip wheel --verbose --progress-bar off --disable-pip-version-check --use-pep517 --no-build-isolation --no-deps --wheel-dir ./build .
[ 144s] WARNING: Disabling truststore because of missing certificates
[ 144s] Processing /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/pylink-square-1.2.0
[ 144s] Preparing metadata (pyproject.toml): started
[ 144s] Running command Preparing metadata (pyproject.toml)
[ 146s] /usr/lib/python3.11/site-packages/setuptools/dist.py:476: SetuptoolsDeprecationWarning: Invalid dash-separated options
[ 146s] !!
[ 146s]
[ 146s] ********************************************************************************
[ 146s] Usage of dash-separated 'description-file' will not be supported in future
[ 146s] versions. Please use the underscore name 'description_file' instead.
[ 146s]
[ 146s] This deprecation is overdue, please update your project and remove deprecated
[ 146s] calls to avoid build errors in the future.
[ 146s]
[ 146s] See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
[ 146s] ********************************************************************************
[ 146s]
[ 146s] !!
[ 146s] opt = self.warn_dash_deprecation(opt, section)
[ 146s] running dist_info
[ 146s] creating /tmp/pip-modern-metadata-u370_q8b/pylink_square.egg-info
[ 146s] writing /tmp/pip-modern-metadata-u370_q8b/pylink_square.egg-info/PKG-INFO
[ 146s] writing dependency_links to /tmp/pip-modern-metadata-u370_q8b/pylink_square.egg-info/dependency_links.txt
[ 146s] writing entry points to /tmp/pip-modern-metadata-u370_q8b/pylink_square.egg-info/entry_points.txt
[ 146s] writing requirements to /tmp/pip-modern-metadata-u370_q8b/pylink_square.egg-info/requires.txt
[ 146s] writing top-level names to /tmp/pip-modern-metadata-u370_q8b/pylink_square.egg-info/top_level.txt
[ 146s] writing manifest file '/tmp/pip-modern-metadata-u370_q8b/pylink_square.egg-info/SOURCES.txt'
[ 146s] reading manifest file '/tmp/pip-modern-metadata-u370_q8b/pylink_square.egg-info/SOURCES.txt'
[ 146s] reading manifest template 'MANIFEST.in'
[ 146s] warning: no previously-included files matching '*.pyc' found anywhere in distribution
[ 146s] warning: no previously-included files matching '*.o' found anywhere in distribution
[ 146s] warning: no previously-included files matching '*.bin' found anywhere in distribution
[ 146s] warning: no previously-included files matching '*.elf' found anywhere in distribution
[ 146s] adding license file 'LICENSE.md'
[ 146s] writing manifest file '/tmp/pip-modern-metadata-u370_q8b/pylink_square.egg-info/SOURCES.txt'
[ 146s] creating '/tmp/pip-modern-metadata-u370_q8b/pylink_square-1.2.0.dist-info'
[ 147s] Preparing metadata (pyproject.toml): finished with status 'done'
[ 147s] Building wheels for collected packages: pylink-square
[ 147s] Building wheel for pylink-square (pyproject.toml): started
[ 147s] Running command Building wheel for pylink-square (pyproject.toml)
[ 148s] /usr/lib/python3.11/site-packages/setuptools/dist.py:476: SetuptoolsDeprecationWarning: Invalid dash-separated options
[ 148s] !!
[ 148s]
[ 148s] ********************************************************************************
[ 148s] Usage of dash-separated 'description-file' will not be supported in future
[ 148s] versions. Please use the underscore name 'description_file' instead.
[ 148s]
[ 148s] This deprecation is overdue, please update your project and remove deprecated
[ 148s] calls to avoid build errors in the future.
[ 148s]
[ 148s] See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
[ 148s] ********************************************************************************
[ 148s]
[ 148s] !!
[ 148s] opt = self.warn_dash_deprecation(opt, section)
[ 148s] running bdist_wheel
[ 148s] running build
[ 148s] running build_py
[ 148s] creating build/lib
[ 148s] creating build/lib/pylink
[ 148s] copying pylink/__init__.py -> build/lib/pylink
[ 148s] copying pylink/__main__.py -> build/lib/pylink
[ 148s] copying pylink/binpacker.py -> build/lib/pylink
[ 148s] copying pylink/decorators.py -> build/lib/pylink
[ 148s] copying pylink/enums.py -> build/lib/pylink
[ 148s] copying pylink/errors.py -> build/lib/pylink
[ 148s] copying pylink/jlink.py -> build/lib/pylink
[ 148s] copying pylink/jlock.py -> build/lib/pylink
[ 148s] copying pylink/library.py -> build/lib/pylink
[ 148s] copying pylink/registers.py -> build/lib/pylink
[ 148s] copying pylink/structs.py -> build/lib/pylink
[ 148s] copying pylink/threads.py -> build/lib/pylink
[ 148s] copying pylink/util.py -> build/lib/pylink
[ 148s] creating build/lib/pylink/protocols
[ 148s] copying pylink/protocols/__init__.py -> build/lib/pylink/protocols
[ 148s] copying pylink/protocols/swd.py -> build/lib/pylink/protocols
[ 148s] creating build/lib/pylink/unlockers
[ 148s] copying pylink/unlockers/__init__.py -> build/lib/pylink/unlockers
[ 148s] copying pylink/unlockers/unlock_kinetis.py -> build/lib/pylink/unlockers
[ 149s] running build_scripts
[ 149s] creating build/scripts-3.11
[ 149s] copying and adjusting examples/pylink-rtt -> build/scripts-3.11
[ 149s] copying and adjusting examples/pylink-swv -> build/scripts-3.11
[ 149s] changing mode of build/scripts-3.11/pylink-rtt from 644 to 755
[ 149s] changing mode of build/scripts-3.11/pylink-swv from 644 to 755
[ 149s] installing to build/bdist.linux-riscv64/wheel
[ 149s] running install
[ 149s] running install_lib
[ 149s] creating build/bdist.linux-riscv64
[ 149s] creating build/bdist.linux-riscv64/wheel
[ 149s] creating build/bdist.linux-riscv64/wheel/pylink
[ 149s] copying build/lib/pylink/__init__.py -> build/bdist.linux-riscv64/wheel/pylink
[ 149s] copying build/lib/pylink/__main__.py -> build/bdist.linux-riscv64/wheel/pylink
[ 149s] copying build/lib/pylink/binpacker.py -> build/bdist.linux-riscv64/wheel/pylink
[ 149s] copying build/lib/pylink/decorators.py -> build/bdist.linux-riscv64/wheel/pylink
[ 149s] copying build/lib/pylink/enums.py -> build/bdist.linux-riscv64/wheel/pylink
[ 149s] copying build/lib/pylink/errors.py -> build/bdist.linux-riscv64/wheel/pylink
[ 149s] copying build/lib/pylink/jlink.py -> build/bdist.linux-riscv64/wheel/pylink
[ 149s] copying build/lib/pylink/jlock.py -> build/bdist.linux-riscv64/wheel/pylink
[ 149s] copying build/lib/pylink/library.py -> build/bdist.linux-riscv64/wheel/pylink
[ 149s] copying build/lib/pylink/registers.py -> build/bdist.linux-riscv64/wheel/pylink
[ 149s] copying build/lib/pylink/structs.py -> build/bdist.linux-riscv64/wheel/pylink
[ 149s] copying build/lib/pylink/threads.py -> build/bdist.linux-riscv64/wheel/pylink
[ 149s] copying build/lib/pylink/util.py -> build/bdist.linux-riscv64/wheel/pylink
[ 149s] creating build/bdist.linux-riscv64/wheel/pylink/protocols
[ 149s] copying build/lib/pylink/protocols/__init__.py -> build/bdist.linux-riscv64/wheel/pylink/protocols
[ 149s] copying build/lib/pylink/protocols/swd.py -> build/bdist.linux-riscv64/wheel/pylink/protocols
[ 149s] creating build/bdist.linux-riscv64/wheel/pylink/unlockers
[ 149s] copying build/lib/pylink/unlockers/__init__.py -> build/bdist.linux-riscv64/wheel/pylink/unlockers
[ 149s] copying build/lib/pylink/unlockers/unlock_kinetis.py -> build/bdist.linux-riscv64/wheel/pylink/unlockers
[ 149s] running install_egg_info
[ 149s] running egg_info
[ 149s] writing pylink_square.egg-info/PKG-INFO
[ 149s] writing dependency_links to pylink_square.egg-info/dependency_links.txt
[ 149s] writing entry points to pylink_square.egg-info/entry_points.txt
[ 149s] writing requirements to pylink_square.egg-info/requires.txt
[ 149s] writing top-level names to pylink_square.egg-info/top_level.txt
[ 149s] reading manifest file 'pylink_square.egg-info/SOURCES.txt'
[ 149s] reading manifest template 'MANIFEST.in'
[ 149s] warning: no previously-included files matching '*.pyc' found anywhere in distribution
[ 149s] warning: no previously-included files matching '*.o' found anywhere in distribution
[ 149s] warning: no previously-included files matching '*.bin' found anywhere in distribution
[ 149s] warning: no previously-included files matching '*.elf' found anywhere in distribution
[ 149s] adding license file 'LICENSE.md'
[ 149s] writing manifest file 'pylink_square.egg-info/SOURCES.txt'
[ 149s] Copying pylink_square.egg-info to build/bdist.linux-riscv64/wheel/pylink_square-1.2.0-py3.11.egg-info
[ 149s] running install_scripts
[ 149s] creating build/bdist.linux-riscv64/wheel/pylink_square-1.2.0.data
[ 149s] creating build/bdist.linux-riscv64/wheel/pylink_square-1.2.0.data/scripts
[ 149s] copying build/scripts-3.11/pylink-rtt -> build/bdist.linux-riscv64/wheel/pylink_square-1.2.0.data/scripts
[ 149s] copying build/scripts-3.11/pylink-swv -> build/bdist.linux-riscv64/wheel/pylink_square-1.2.0.data/scripts
[ 149s] changing mode of build/bdist.linux-riscv64/wheel/pylink_square-1.2.0.data/scripts/pylink-rtt to 755
[ 149s] changing mode of build/bdist.linux-riscv64/wheel/pylink_square-1.2.0.data/scripts/pylink-swv to 755
[ 149s] creating build/bdist.linux-riscv64/wheel/pylink_square-1.2.0.dist-info/WHEEL
[ 149s] creating '/tmp/pip-wheel-ua4o9a0p/.tmp-_3tidkxm/pylink_square-1.2.0-py2.py3-none-any.whl' and adding 'build/bdist.linux-riscv64/wheel' to it
[ 149s] adding 'pylink/__init__.py'
[ 149s] adding 'pylink/__main__.py'
[ 149s] adding 'pylink/binpacker.py'
[ 149s] adding 'pylink/decorators.py'
[ 149s] adding 'pylink/enums.py'
[ 149s] adding 'pylink/errors.py'
[ 149s] adding 'pylink/jlink.py'
[ 149s] adding 'pylink/jlock.py'
[ 149s] adding 'pylink/library.py'
[ 149s] adding 'pylink/registers.py'
[ 149s] adding 'pylink/structs.py'
[ 149s] adding 'pylink/threads.py'
[ 149s] adding 'pylink/util.py'
[ 149s] adding 'pylink/protocols/__init__.py'
[ 149s] adding 'pylink/protocols/swd.py'
[ 149s] adding 'pylink/unlockers/__init__.py'
[ 149s] adding 'pylink/unlockers/unlock_kinetis.py'
[ 149s] adding 'pylink_square-1.2.0.data/scripts/pylink-rtt'
[ 149s] adding 'pylink_square-1.2.0.data/scripts/pylink-swv'
[ 149s] adding 'pylink_square-1.2.0.dist-info/LICENSE.md'
[ 149s] adding 'pylink_square-1.2.0.dist-info/METADATA'
[ 149s] adding 'pylink_square-1.2.0.dist-info/WHEEL'
[ 149s] adding 'pylink_square-1.2.0.dist-info/entry_points.txt'
[ 149s] adding 'pylink_square-1.2.0.dist-info/top_level.txt'
[ 149s] adding 'pylink_square-1.2.0.dist-info/RECORD'
[ 149s] removing build/bdist.linux-riscv64/wheel
[ 149s] Building wheel for pylink-square (pyproject.toml): finished with status 'done'
[ 149s] Created wheel for pylink-square: filename=pylink_square-1.2.0-py2.py3-none-any.whl size=82365 sha256=f06ff7cee5cd063e3b19141de5bffc0b64146338de2a32e09db96c8e3a530cb9
[ 149s] Stored in directory: /home/abuild/.cache/pip/wheels/6b/89/60/4cfc4408df100dbeee33432668cb4fdd6b27e9f998d424a308
[ 149s] Successfully built pylink-square
[ 149s] + '[' -f ./build/pylink_square-1.2.0-py2.py3-none-any.whl ']'
[ 149s] + mkdir -p ./dist
[ 150s] + cp ./build/pylink_square-1.2.0-py2.py3-none-any.whl ./dist/
[ 150s] ++ '[' -f _current_flavor ']'
[ 150s] ++ cat _current_flavor
[ 150s] + last_flavor=python311
[ 150s] + '[' -z python311 ']'
[ 150s] + '[' python311 '!=' python312 ']'
[ 150s] + '[' -d build ']'
[ 150s] + mv build _build.python311
[ 150s] + '[' -d _build.python312 ']'
[ 150s] + echo python312
[ 150s] + python_flavor=python312
[ 150s] + myargs=
[ 150s] + '[' -f ./dist/pylink_square-1.2.0-py2.py3-none-any.whl ']'
[ 150s] + echo 'Already found a compatible wheel in ./dist'
[ 150s] Already found a compatible wheel in ./dist
[ 150s] + mkdir -p ./build
[ 150s] + cp ./dist/pylink_square-1.2.0-py2.py3-none-any.whl ./build/
[ 150s] ++ '[' -f _current_flavor ']'
[ 150s] ++ cat _current_flavor
[ 150s] + last_flavor=python312
[ 150s] + '[' -z python312 ']'
[ 150s] + '[' python312 '!=' python313 ']'
[ 150s] + '[' -d build ']'
[ 150s] + mv build _build.python312
[ 150s] + '[' -d _build.python313 ']'
[ 150s] + echo python313
[ 150s] + python_flavor=python313
[ 150s] + myargs=
[ 150s] + '[' -f ./dist/pylink_square-1.2.0-py2.py3-none-any.whl ']'
[ 150s] + echo 'Already found a compatible wheel in ./dist'
[ 150s] Already found a compatible wheel in ./dist
[ 150s] + mkdir -p ./build
[ 150s] + cp ./dist/pylink_square-1.2.0-py2.py3-none-any.whl ./build/
[ 150s] + RPM_EC=0
[ 150s] ++ jobs -p
[ 150s] + exit 0
[ 150s] Executing(%install): /usr/bin/env QEMU_STACK_SIZE=64M /usr/bin/bash -e /var/tmp/rpm-tmp.nF2fhH
[ 150s] + umask 022
[ 150s] + cd /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build
[ 150s] + /usr/bin/rm -rf /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT
[ 150s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build
[ 150s] + /usr/bin/mkdir /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT
[ 150s] + cd pylink-square-1.2.0
[ 150s] ++ '[' -f _current_flavor ']'
[ 150s] ++ cat _current_flavor
[ 150s] + last_flavor=python313
[ 150s] + '[' -z python313 ']'
[ 150s] + '[' python313 '!=' python311 ']'
[ 150s] + '[' -d build ']'
[ 150s] + mv build _build.python313
[ 150s] + '[' -d _build.python311 ']'
[ 150s] + mv _build.python311 build
[ 150s] + echo python311
[ 150s] + python_flavor=python311
[ 150s] + myargs=
[ 150s] + havereq=0
[ 150s] + '[' -n '' ']'
[ 150s] + '[' 0 -eq 0 ']'
[ 150s] + ls ./build/pylink_square-1.2.0-py2.py3-none-any.whl
[ 150s] ./build/pylink_square-1.2.0-py2.py3-none-any.whl
[ 150s] + for w in ./build/*.whl
[ 150s] ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/'
[ 150s] +++ basename ./build/pylink_square-1.2.0-py2.py3-none-any.whl
[ 150s] ++ echo pylink_square-1.2.0-py2.py3-none-any.whl
[ 150s] + myargs=' pylink_square==1.2.0'
[ 150s] + /usr/bin/python3.11 -mpip install --verbose --progress-bar off --disable-pip-version-check --root /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT --no-compile --ignore-installed --no-deps --no-index --find-links ./build pylink_square==1.2.0
[ 154s] Using pip 24.2 from /usr/lib/python3.11/site-packages/pip (python 3.11)
[ 154s] WARNING: Disabling truststore because of missing certificates
[ 154s] Looking in links: ./build
[ 154s] Processing ./build/pylink_square-1.2.0-py2.py3-none-any.whl
[ 154s] Installing collected packages: pylink_square
[ 155s] changing mode of /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink to 755
[ 155s] WARNING: The script pylink is installed in '/home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin' which is not on PATH.
[ 155s] Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
[ 155s] Successfully installed pylink_square-1.2.0
[ 155s] + for d in /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib64/python3.11/site-packages
[ 155s] + '[' -d /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages ']'
[ 155s] + find /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages -iname '*.pyc' -delete
[ 155s] + find /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages -iname '*.py' -print0
[ 155s] + xargs -0 /usr/bin/python3.11 -c '
[ 155s] import sys, py_compile
[ 155s] for f in sys.argv[1:]:
[ 155s] fp=f[len("/home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT"):]
[ 155s] print("Generating cached byte-code for " + str(fp))
[ 155s] if sys.version[0] == "2":
[ 155s] py_compile.compile(f, dfile=fp)
[ 155s] else:
[ 155s] for o in [0, 1]:
[ 155s] py_compile.compile(f, dfile=fp, optimize=o)
[ 155s] '
[ 156s] Generating cached byte-code for /usr/lib/python3.11/site-packages/pylink/__init__.py
[ 156s] Generating cached byte-code for /usr/lib/python3.11/site-packages/pylink/__main__.py
[ 156s] Generating cached byte-code for /usr/lib/python3.11/site-packages/pylink/binpacker.py
[ 156s] Generating cached byte-code for /usr/lib/python3.11/site-packages/pylink/decorators.py
[ 156s] Generating cached byte-code for /usr/lib/python3.11/site-packages/pylink/enums.py
[ 156s] Generating cached byte-code for /usr/lib/python3.11/site-packages/pylink/errors.py
[ 156s] Generating cached byte-code for /usr/lib/python3.11/site-packages/pylink/jlink.py
[ 156s] Generating cached byte-code for /usr/lib/python3.11/site-packages/pylink/jlock.py
[ 156s] Generating cached byte-code for /usr/lib/python3.11/site-packages/pylink/library.py
[ 156s] Generating cached byte-code for /usr/lib/python3.11/site-packages/pylink/registers.py
[ 156s] Generating cached byte-code for /usr/lib/python3.11/site-packages/pylink/structs.py
[ 156s] Generating cached byte-code for /usr/lib/python3.11/site-packages/pylink/threads.py
[ 156s] Generating cached byte-code for /usr/lib/python3.11/site-packages/pylink/util.py
[ 156s] Generating cached byte-code for /usr/lib/python3.11/site-packages/pylink/protocols/__init__.py
[ 156s] Generating cached byte-code for /usr/lib/python3.11/site-packages/pylink/protocols/swd.py
[ 156s] Generating cached byte-code for /usr/lib/python3.11/site-packages/pylink/unlockers/__init__.py
[ 156s] Generating cached byte-code for /usr/lib/python3.11/site-packages/pylink/unlockers/unlock_kinetis.py
[ 156s] + for d in /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib64/python3.11/site-packages
[ 156s] + '[' -d /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib64/python3.11/site-packages ']'
[ 156s] + myargs='/home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/* /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/sbin/*'
[ 156s] + for f in ${myargs}
[ 156s] + '[' -f /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink -a -x /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink -a -w /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink ']'
[ 156s] ++ dirname /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink
[ 156s] + pushd /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin
[ 156s] ~/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin ~/rpmbuild/BUILD/python-pylink-square-1.2.0-build/pylink-square-1.2.0
[ 156s] ++ realpath /usr/bin/python3.11
[ 156s] ++ basename /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink
[ 156s] + sed -i --follow-symlinks '1s@#\!.*python\S*@#\!/usr/bin/python3.11@' pylink
[ 156s] + popd
[ 156s] ~/rpmbuild/BUILD/python-pylink-square-1.2.0-build/pylink-square-1.2.0
[ 156s] + for f in ${myargs}
[ 156s] + '[' -f /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-rtt -a -x /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-rtt -a -w /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-rtt ']'
[ 156s] ++ dirname /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-rtt
[ 156s] + pushd /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin
[ 156s] ~/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin ~/rpmbuild/BUILD/python-pylink-square-1.2.0-build/pylink-square-1.2.0
[ 156s] ++ realpath /usr/bin/python3.11
[ 156s] ++ basename /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-rtt
[ 156s] + sed -i --follow-symlinks '1s@#\!.*python\S*@#\!/usr/bin/python3.11@' pylink-rtt
[ 156s] + popd
[ 156s] ~/rpmbuild/BUILD/python-pylink-square-1.2.0-build/pylink-square-1.2.0
[ 156s] + for f in ${myargs}
[ 156s] + '[' -f /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-swv -a -x /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-swv -a -w /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-swv ']'
[ 156s] ++ dirname /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-swv
[ 156s] + pushd /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin
[ 156s] ~/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin ~/rpmbuild/BUILD/python-pylink-square-1.2.0-build/pylink-square-1.2.0
[ 156s] ++ realpath /usr/bin/python3.11
[ 156s] ++ basename /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-swv
[ 156s] + sed -i --follow-symlinks '1s@#\!.*python\S*@#\!/usr/bin/python3.11@' pylink-swv
[ 156s] + popd
[ 156s] ~/rpmbuild/BUILD/python-pylink-square-1.2.0-build/pylink-square-1.2.0
[ 156s] + for f in ${myargs}
[ 156s] + '[' -f '/home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/sbin/*' -a -x '/home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/sbin/*' -a -w '/home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/sbin/*' ']'
[ 156s] ++ '[' -f _current_flavor ']'
[ 156s] ++ cat _current_flavor
[ 157s] + last_flavor=python311
[ 157s] + '[' -z python311 ']'
[ 157s] + '[' python311 '!=' python312 ']'
[ 157s] + '[' -d build ']'
[ 157s] + mv build _build.python311
[ 157s] + '[' -d _build.python312 ']'
[ 157s] + mv _build.python312 build
[ 157s] + echo python312
[ 157s] + python_flavor=python312
[ 157s] + myargs=
[ 157s] + havereq=0
[ 157s] + '[' -n '' ']'
[ 157s] + '[' 0 -eq 0 ']'
[ 157s] + ls ./build/pylink_square-1.2.0-py2.py3-none-any.whl
[ 157s] ./build/pylink_square-1.2.0-py2.py3-none-any.whl
[ 157s] + for w in ./build/*.whl
[ 157s] ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/'
[ 157s] +++ basename ./build/pylink_square-1.2.0-py2.py3-none-any.whl
[ 157s] ++ echo pylink_square-1.2.0-py2.py3-none-any.whl
[ 157s] + myargs=' pylink_square==1.2.0'
[ 157s] + /usr/bin/python3.12 -mpip install --verbose --progress-bar off --disable-pip-version-check --root /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT --no-compile --ignore-installed --no-deps --no-index --find-links ./build pylink_square==1.2.0
[ 160s] Using pip 24.2 from /usr/lib/python3.12/site-packages/pip (python 3.12)
[ 160s] WARNING: Disabling truststore because of missing certificates
[ 161s] Looking in links: ./build
[ 161s] Processing ./build/pylink_square-1.2.0-py2.py3-none-any.whl
[ 161s] Installing collected packages: pylink_square
[ 161s] changing mode of /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink to 755
[ 161s] WARNING: The script pylink is installed in '/home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin' which is not on PATH.
[ 161s] Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
[ 161s] Successfully installed pylink_square-1.2.0
[ 161s] + for d in /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib64/python3.12/site-packages
[ 161s] + '[' -d /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages ']'
[ 161s] + find /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages -iname '*.pyc' -delete
[ 162s] + find /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages -iname '*.py' -print0
[ 162s] + xargs -0 /usr/bin/python3.12 -c '
[ 162s] import sys, py_compile
[ 162s] for f in sys.argv[1:]:
[ 162s] fp=f[len("/home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT"):]
[ 162s] print("Generating cached byte-code for " + str(fp))
[ 162s] if sys.version[0] == "2":
[ 162s] py_compile.compile(f, dfile=fp)
[ 162s] else:
[ 162s] for o in [0, 1]:
[ 162s] py_compile.compile(f, dfile=fp, optimize=o)
[ 162s] '
[ 163s] Generating cached byte-code for /usr/lib/python3.12/site-packages/pylink/__init__.py
[ 163s] Generating cached byte-code for /usr/lib/python3.12/site-packages/pylink/__main__.py
[ 163s] Generating cached byte-code for /usr/lib/python3.12/site-packages/pylink/binpacker.py
[ 163s] Generating cached byte-code for /usr/lib/python3.12/site-packages/pylink/decorators.py
[ 163s] Generating cached byte-code for /usr/lib/python3.12/site-packages/pylink/enums.py
[ 163s] Generating cached byte-code for /usr/lib/python3.12/site-packages/pylink/errors.py
[ 163s] Generating cached byte-code for /usr/lib/python3.12/site-packages/pylink/jlink.py
[ 163s] Generating cached byte-code for /usr/lib/python3.12/site-packages/pylink/jlock.py
[ 163s] Generating cached byte-code for /usr/lib/python3.12/site-packages/pylink/library.py
[ 163s] Generating cached byte-code for /usr/lib/python3.12/site-packages/pylink/registers.py
[ 163s] Generating cached byte-code for /usr/lib/python3.12/site-packages/pylink/structs.py
[ 163s] Generating cached byte-code for /usr/lib/python3.12/site-packages/pylink/threads.py
[ 163s] Generating cached byte-code for /usr/lib/python3.12/site-packages/pylink/util.py
[ 163s] Generating cached byte-code for /usr/lib/python3.12/site-packages/pylink/protocols/__init__.py
[ 163s] Generating cached byte-code for /usr/lib/python3.12/site-packages/pylink/protocols/swd.py
[ 163s] Generating cached byte-code for /usr/lib/python3.12/site-packages/pylink/unlockers/__init__.py
[ 163s] Generating cached byte-code for /usr/lib/python3.12/site-packages/pylink/unlockers/unlock_kinetis.py
[ 163s] + for d in /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib64/python3.12/site-packages
[ 163s] + '[' -d /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib64/python3.12/site-packages ']'
[ 163s] + myargs='/home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/* /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/sbin/*'
[ 163s] + for f in ${myargs}
[ 163s] + '[' -f /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink -a -x /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink -a -w /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink ']'
[ 163s] ++ dirname /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink
[ 163s] + pushd /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin
[ 163s] ~/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin ~/rpmbuild/BUILD/python-pylink-square-1.2.0-build/pylink-square-1.2.0
[ 163s] ++ realpath /usr/bin/python3.12
[ 163s] ++ basename /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink
[ 163s] + sed -i --follow-symlinks '1s@#\!.*python\S*@#\!/usr/bin/python3.12@' pylink
[ 163s] + popd
[ 163s] ~/rpmbuild/BUILD/python-pylink-square-1.2.0-build/pylink-square-1.2.0
[ 163s] + for f in ${myargs}
[ 163s] + '[' -f /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-rtt -a -x /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-rtt -a -w /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-rtt ']'
[ 163s] ++ dirname /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-rtt
[ 163s] + pushd /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin
[ 163s] ~/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin ~/rpmbuild/BUILD/python-pylink-square-1.2.0-build/pylink-square-1.2.0
[ 163s] ++ realpath /usr/bin/python3.12
[ 163s] ++ basename /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-rtt
[ 163s] + sed -i --follow-symlinks '1s@#\!.*python\S*@#\!/usr/bin/python3.12@' pylink-rtt
[ 163s] + popd
[ 163s] ~/rpmbuild/BUILD/python-pylink-square-1.2.0-build/pylink-square-1.2.0
[ 163s] + for f in ${myargs}
[ 163s] + '[' -f /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-swv -a -x /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-swv -a -w /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-swv ']'
[ 163s] ++ dirname /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-swv
[ 163s] + pushd /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin
[ 163s] ~/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin ~/rpmbuild/BUILD/python-pylink-square-1.2.0-build/pylink-square-1.2.0
[ 163s] ++ realpath /usr/bin/python3.12
[ 163s] ++ basename /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-swv
[ 163s] + sed -i --follow-symlinks '1s@#\!.*python\S*@#\!/usr/bin/python3.12@' pylink-swv
[ 163s] + popd
[ 163s] ~/rpmbuild/BUILD/python-pylink-square-1.2.0-build/pylink-square-1.2.0
[ 163s] + for f in ${myargs}
[ 163s] + '[' -f '/home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/sbin/*' -a -x '/home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/sbin/*' -a -w '/home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/sbin/*' ']'
[ 163s] ++ '[' -f _current_flavor ']'
[ 163s] ++ cat _current_flavor
[ 163s] + last_flavor=python312
[ 163s] + '[' -z python312 ']'
[ 163s] + '[' python312 '!=' python313 ']'
[ 163s] + '[' -d build ']'
[ 163s] + mv build _build.python312
[ 163s] + '[' -d _build.python313 ']'
[ 163s] + mv _build.python313 build
[ 163s] + echo python313
[ 163s] + python_flavor=python313
[ 163s] + myargs=
[ 163s] + havereq=0
[ 163s] + '[' -n '' ']'
[ 163s] + '[' 0 -eq 0 ']'
[ 163s] + ls ./build/pylink_square-1.2.0-py2.py3-none-any.whl
[ 164s] ./build/pylink_square-1.2.0-py2.py3-none-any.whl
[ 164s] + for w in ./build/*.whl
[ 164s] ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/'
[ 164s] +++ basename ./build/pylink_square-1.2.0-py2.py3-none-any.whl
[ 164s] ++ echo pylink_square-1.2.0-py2.py3-none-any.whl
[ 164s] + myargs=' pylink_square==1.2.0'
[ 164s] + /usr/bin/python3.13 -mpip install --verbose --progress-bar off --disable-pip-version-check --root /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT --no-compile --ignore-installed --no-deps --no-index --find-links ./build pylink_square==1.2.0
[ 167s] Using pip 24.2 from /usr/lib/python3.13/site-packages/pip (python 3.13)
[ 167s] WARNING: Disabling truststore because of missing certificates
[ 168s] Looking in links: ./build
[ 168s] Processing ./build/pylink_square-1.2.0-py2.py3-none-any.whl
[ 168s] Installing collected packages: pylink_square
[ 168s] changing mode of /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink to 755
[ 168s] WARNING: The script pylink is installed in '/home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin' which is not on PATH.
[ 168s] Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
[ 168s] Successfully installed pylink_square-1.2.0
[ 168s] + for d in /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib64/python3.13/site-packages
[ 168s] + '[' -d /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages ']'
[ 168s] + find /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages -iname '*.pyc' -delete
[ 168s] + find /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages -iname '*.py' -print0
[ 168s] + xargs -0 /usr/bin/python3.13 -c '
[ 168s] import sys, py_compile
[ 168s] for f in sys.argv[1:]:
[ 168s] fp=f[len("/home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT"):]
[ 168s] print("Generating cached byte-code for " + str(fp))
[ 168s] if sys.version[0] == "2":
[ 168s] py_compile.compile(f, dfile=fp)
[ 168s] else:
[ 168s] for o in [0, 1]:
[ 168s] py_compile.compile(f, dfile=fp, optimize=o)
[ 168s] '
[ 170s] Generating cached byte-code for /usr/lib/python3.13/site-packages/pylink/__init__.py
[ 170s] Generating cached byte-code for /usr/lib/python3.13/site-packages/pylink/__main__.py
[ 170s] Generating cached byte-code for /usr/lib/python3.13/site-packages/pylink/binpacker.py
[ 170s] Generating cached byte-code for /usr/lib/python3.13/site-packages/pylink/decorators.py
[ 170s] Generating cached byte-code for /usr/lib/python3.13/site-packages/pylink/enums.py
[ 170s] Generating cached byte-code for /usr/lib/python3.13/site-packages/pylink/errors.py
[ 170s] Generating cached byte-code for /usr/lib/python3.13/site-packages/pylink/jlink.py
[ 170s] Generating cached byte-code for /usr/lib/python3.13/site-packages/pylink/jlock.py
[ 170s] Generating cached byte-code for /usr/lib/python3.13/site-packages/pylink/library.py
[ 170s] Generating cached byte-code for /usr/lib/python3.13/site-packages/pylink/registers.py
[ 170s] Generating cached byte-code for /usr/lib/python3.13/site-packages/pylink/structs.py
[ 170s] Generating cached byte-code for /usr/lib/python3.13/site-packages/pylink/threads.py
[ 170s] Generating cached byte-code for /usr/lib/python3.13/site-packages/pylink/util.py
[ 170s] Generating cached byte-code for /usr/lib/python3.13/site-packages/pylink/protocols/__init__.py
[ 170s] Generating cached byte-code for /usr/lib/python3.13/site-packages/pylink/protocols/swd.py
[ 170s] Generating cached byte-code for /usr/lib/python3.13/site-packages/pylink/unlockers/__init__.py
[ 170s] Generating cached byte-code for /usr/lib/python3.13/site-packages/pylink/unlockers/unlock_kinetis.py
[ 170s] + for d in /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib64/python3.13/site-packages
[ 170s] + '[' -d /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib64/python3.13/site-packages ']'
[ 170s] + myargs='/home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/* /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/sbin/*'
[ 170s] + for f in ${myargs}
[ 170s] + '[' -f /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink -a -x /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink -a -w /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink ']'
[ 170s] ++ dirname /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink
[ 170s] + pushd /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin
[ 170s] ~/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin ~/rpmbuild/BUILD/python-pylink-square-1.2.0-build/pylink-square-1.2.0
[ 170s] ++ realpath /usr/bin/python3.13
[ 170s] ++ basename /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink
[ 170s] + sed -i --follow-symlinks '1s@#\!.*python\S*@#\!/usr/bin/python3.13@' pylink
[ 170s] + popd
[ 170s] ~/rpmbuild/BUILD/python-pylink-square-1.2.0-build/pylink-square-1.2.0
[ 170s] + for f in ${myargs}
[ 170s] + '[' -f /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-rtt -a -x /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-rtt -a -w /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-rtt ']'
[ 170s] ++ dirname /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-rtt
[ 170s] + pushd /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin
[ 170s] ~/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin ~/rpmbuild/BUILD/python-pylink-square-1.2.0-build/pylink-square-1.2.0
[ 170s] ++ realpath /usr/bin/python3.13
[ 170s] ++ basename /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-rtt
[ 170s] + sed -i --follow-symlinks '1s@#\!.*python\S*@#\!/usr/bin/python3.13@' pylink-rtt
[ 170s] + popd
[ 170s] ~/rpmbuild/BUILD/python-pylink-square-1.2.0-build/pylink-square-1.2.0
[ 170s] + for f in ${myargs}
[ 170s] + '[' -f /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-swv -a -x /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-swv -a -w /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-swv ']'
[ 170s] ++ dirname /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-swv
[ 170s] + pushd /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin
[ 170s] ~/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin ~/rpmbuild/BUILD/python-pylink-square-1.2.0-build/pylink-square-1.2.0
[ 170s] ++ realpath /usr/bin/python3.13
[ 170s] ++ basename /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-swv
[ 170s] + sed -i --follow-symlinks '1s@#\!.*python\S*@#\!/usr/bin/python3.13@' pylink-swv
[ 170s] + popd
[ 170s] ~/rpmbuild/BUILD/python-pylink-square-1.2.0-build/pylink-square-1.2.0
[ 170s] + for f in ${myargs}
[ 170s] + '[' -f '/home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/sbin/*' -a -x '/home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/sbin/*' -a -w '/home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/sbin/*' ']'
[ 170s] + cp /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-rtt /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-rtt-3.11
[ 170s] ++ realpath /usr/bin/python3.11
[ 170s] + sed -ri '1s@#!.*python\S*@#!/usr/bin/python3.11@' /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-rtt-3.11
[ 170s] + cp /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-rtt /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-rtt-3.12
[ 170s] ++ realpath /usr/bin/python3.12
[ 170s] + sed -ri '1s@#!.*python\S*@#!/usr/bin/python3.12@' /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-rtt-3.12
[ 170s] + cp /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-rtt /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-rtt-3.13
[ 170s] ++ realpath /usr/bin/python3.13
[ 170s] + sed -ri '1s@#!.*python\S*@#!/usr/bin/python3.13@' /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-rtt-3.13
[ 170s] + rm -f /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-rtt
[ 171s] + alternative_target=/usr/bin/pylink-rtt
[ 171s] + [[ /usr/bin/pylink-rtt == /usr/share/man* ]]
[ 171s] + '[' 0 -eq 1 ']'
[ 171s] + mkdir -p /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/etc/alternatives
[ 171s] + touch /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/etc/alternatives/pylink-rtt
[ 171s] + ln -sf /etc/alternatives/pylink-rtt /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-rtt
[ 171s] + cp /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-swv /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-swv-3.11
[ 171s] ++ realpath /usr/bin/python3.11
[ 171s] + sed -ri '1s@#!.*python\S*@#!/usr/bin/python3.11@' /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-swv-3.11
[ 171s] + cp /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-swv /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-swv-3.12
[ 171s] ++ realpath /usr/bin/python3.12
[ 171s] + sed -ri '1s@#!.*python\S*@#!/usr/bin/python3.12@' /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-swv-3.12
[ 171s] + cp /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-swv /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-swv-3.13
[ 171s] ++ realpath /usr/bin/python3.13
[ 171s] + sed -ri '1s@#!.*python\S*@#!/usr/bin/python3.13@' /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-swv-3.13
[ 171s] + rm -f /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-swv
[ 171s] + alternative_target=/usr/bin/pylink-swv
[ 171s] + [[ /usr/bin/pylink-swv == /usr/share/man* ]]
[ 171s] + '[' 0 -eq 1 ']'
[ 171s] + mkdir -p /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/etc/alternatives
[ 171s] + touch /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/etc/alternatives/pylink-swv
[ 171s] + ln -sf /etc/alternatives/pylink-swv /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-swv
[ 171s] + cp /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-3.11
[ 171s] ++ realpath /usr/bin/python3.11
[ 171s] + sed -ri '1s@#!.*python\S*@#!/usr/bin/python3.11@' /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-3.11
[ 171s] + cp /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-3.12
[ 171s] ++ realpath /usr/bin/python3.12
[ 171s] + sed -ri '1s@#!.*python\S*@#!/usr/bin/python3.12@' /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-3.12
[ 171s] + cp /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-3.13
[ 171s] ++ realpath /usr/bin/python3.13
[ 172s] + sed -ri '1s@#!.*python\S*@#!/usr/bin/python3.13@' /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink-3.13
[ 172s] + rm -f /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink
[ 172s] + alternative_target=/usr/bin/pylink
[ 172s] + [[ /usr/bin/pylink == /usr/share/man* ]]
[ 172s] + '[' 0 -eq 1 ']'
[ 172s] + mkdir -p /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/etc/alternatives
[ 172s] + touch /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/etc/alternatives/pylink
[ 172s] + ln -sf /etc/alternatives/pylink /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/bin/pylink
[ 172s] ++ '[' -f _current_flavor ']'
[ 172s] ++ cat _current_flavor
[ 172s] + last_flavor=python313
[ 172s] + '[' -z python313 ']'
[ 172s] + '[' python313 '!=' python311 ']'
[ 172s] + '[' -d build ']'
[ 172s] + mv build _build.python313
[ 172s] + '[' -d _build.python311 ']'
[ 172s] + mv _build.python311 build
[ 172s] + echo python311
[ 172s] + python_flavor=python311
[ 172s] + /usr/lib/rpm/fdupes_wrapper /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/__pycache__/util.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/__pycache__/util.cpython-311.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/__pycache__/threads.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/__pycache__/threads.cpython-311.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/__pycache__/structs.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/__pycache__/structs.cpython-311.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/__pycache__/registers.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/__pycache__/registers.cpython-311.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/__pycache__/library.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/__pycache__/library.cpython-311.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/__pycache__/jlock.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/__pycache__/jlock.cpython-311.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/__pycache__/jlink.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/__pycache__/jlink.cpython-311.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/__pycache__/errors.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/__pycache__/errors.cpython-311.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/__pycache__/enums.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/__pycache__/enums.cpython-311.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/__pycache__/decorators.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/__pycache__/decorators.cpython-311.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/__pycache__/binpacker.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/__pycache__/binpacker.cpython-311.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/__pycache__/__main__.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/__pycache__/__main__.cpython-311.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/__pycache__/__init__.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/__pycache__/__init__.cpython-311.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/unlockers/__pycache__/unlock_kinetis.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/unlockers/__pycache__/unlock_kinetis.cpython-311.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/unlockers/__pycache__/__init__.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/unlockers/__pycache__/__init__.cpython-311.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/protocols/__pycache__/swd.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/protocols/__pycache__/swd.cpython-311.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/protocols/__pycache__/__init__.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages/pylink/protocols/__pycache__/__init__.cpython-311.pyc
[ 172s] ++ '[' -f _current_flavor ']'
[ 172s] ++ cat _current_flavor
[ 172s] + last_flavor=python311
[ 172s] + '[' -z python311 ']'
[ 172s] + '[' python311 '!=' python312 ']'
[ 172s] + '[' -d build ']'
[ 172s] + mv build _build.python311
[ 172s] + '[' -d _build.python312 ']'
[ 172s] + mv _build.python312 build
[ 172s] + echo python312
[ 172s] + python_flavor=python312
[ 172s] + /usr/lib/rpm/fdupes_wrapper /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/__pycache__/util.cpython-312.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/__pycache__/util.cpython-312.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/__pycache__/threads.cpython-312.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/__pycache__/threads.cpython-312.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/__pycache__/structs.cpython-312.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/__pycache__/structs.cpython-312.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/__pycache__/registers.cpython-312.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/__pycache__/registers.cpython-312.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/__pycache__/library.cpython-312.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/__pycache__/library.cpython-312.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/__pycache__/jlock.cpython-312.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/__pycache__/jlock.cpython-312.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/__pycache__/jlink.cpython-312.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/__pycache__/jlink.cpython-312.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/__pycache__/errors.cpython-312.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/__pycache__/errors.cpython-312.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/__pycache__/enums.cpython-312.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/__pycache__/enums.cpython-312.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/__pycache__/decorators.cpython-312.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/__pycache__/decorators.cpython-312.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/__pycache__/binpacker.cpython-312.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/__pycache__/binpacker.cpython-312.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/__pycache__/__main__.cpython-312.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/__pycache__/__main__.cpython-312.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/__pycache__/__init__.cpython-312.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/__pycache__/__init__.cpython-312.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/unlockers/__pycache__/unlock_kinetis.cpython-312.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/unlockers/__pycache__/unlock_kinetis.cpython-312.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/unlockers/__pycache__/__init__.cpython-312.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/unlockers/__pycache__/__init__.cpython-312.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/protocols/__pycache__/swd.cpython-312.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/protocols/__pycache__/swd.cpython-312.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/protocols/__pycache__/__init__.cpython-312.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/pylink/protocols/__pycache__/__init__.cpython-312.pyc
[ 172s] ++ '[' -f _current_flavor ']'
[ 172s] ++ cat _current_flavor
[ 172s] + last_flavor=python312
[ 172s] + '[' -z python312 ']'
[ 172s] + '[' python312 '!=' python313 ']'
[ 172s] + '[' -d build ']'
[ 172s] + mv build _build.python312
[ 172s] + '[' -d _build.python313 ']'
[ 172s] + mv _build.python313 build
[ 172s] + echo python313
[ 172s] + python_flavor=python313
[ 172s] + /usr/lib/rpm/fdupes_wrapper /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/__pycache__/util.cpython-313.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/__pycache__/util.cpython-313.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/__pycache__/threads.cpython-313.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/__pycache__/threads.cpython-313.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/__pycache__/structs.cpython-313.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/__pycache__/structs.cpython-313.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/__pycache__/registers.cpython-313.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/__pycache__/registers.cpython-313.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/__pycache__/library.cpython-313.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/__pycache__/library.cpython-313.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/__pycache__/jlock.cpython-313.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/__pycache__/jlock.cpython-313.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/__pycache__/jlink.cpython-313.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/__pycache__/jlink.cpython-313.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/__pycache__/errors.cpython-313.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/__pycache__/errors.cpython-313.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/__pycache__/enums.cpython-313.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/__pycache__/enums.cpython-313.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/__pycache__/decorators.cpython-313.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/__pycache__/decorators.cpython-313.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/__pycache__/binpacker.cpython-313.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/__pycache__/binpacker.cpython-313.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/__pycache__/__main__.cpython-313.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/__pycache__/__main__.cpython-313.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/__pycache__/__init__.cpython-313.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/__pycache__/__init__.cpython-313.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/unlockers/__pycache__/unlock_kinetis.cpython-313.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/unlockers/__pycache__/unlock_kinetis.cpython-313.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/unlockers/__pycache__/__init__.cpython-313.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/unlockers/__pycache__/__init__.cpython-313.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/protocols/__pycache__/swd.cpython-313.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/protocols/__pycache__/swd.cpython-313.pyc
[ 172s] Linking /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/protocols/__pycache__/__init__.cpython-313.opt-1.pyc -> /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pylink/protocols/__pycache__/__init__.cpython-313.pyc
[ 172s] + /usr/lib/rpm/brp-compress
[ 172s] + /usr/lib/rpm/brp-suse
[ 173s] calling /usr/lib/rpm/brp-suse.d/brp-05-permissions
[ 173s] calling /usr/lib/rpm/brp-suse.d/brp-15-strip-debug
[ 173s] calling /usr/lib/rpm/brp-suse.d/brp-25-symlink
[ 173s] calling /usr/lib/rpm/brp-suse.d/brp-50-generate-fips-hmac
[ 173s] calling /usr/lib/rpm/brp-suse.d/brp-75-ar
[ 173s] Executing(%check): /usr/bin/env QEMU_STACK_SIZE=64M /usr/bin/bash -e /var/tmp/rpm-tmp.PuKawN
[ 173s] + umask 022
[ 173s] + cd /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build
[ 173s] + cd pylink-square-1.2.0
[ 173s] + find tests -type f -exec sed -i 's/from mock/from unittest.mock/g' '{}' +
[ 174s] + find tests -type f -exec sed -i 's/import mock/import unittest.mock as mock/g' '{}' +
[ 174s] + IGNORED_CHECKS=test_initialize_windows
[ 174s] + IGNORED_CHECKS='test_initialize_windows or test_unlock_kinetis_read_fail'
[ 174s] + IGNORED_CHECKS='test_initialize_windows or test_unlock_kinetis_read_fail or test_unlock_kinetis_success'
[ 174s] + set +x
[ 174s] Using libalternatives variant 311 for pip in XDG_CONFIG_HOME during Python 3.11 expansions.
[ 174s] Using libalternatives variant 311 for pip3 in XDG_CONFIG_HOME during Python 3.11 expansions.
[ 174s] Using libalternatives variant 311 for py.test in XDG_CONFIG_HOME during Python 3.11 expansions.
[ 174s] Using libalternatives variant 311 for pygmentize in XDG_CONFIG_HOME during Python 3.11 expansions.
[ 174s] Using libalternatives variant 311 for pytest in XDG_CONFIG_HOME during Python 3.11 expansions.
[ 174s] Using libalternatives variant 311 for wheel in XDG_CONFIG_HOME during Python 3.11 expansions.
[ 175s] Using alternative pylink-3.11 for pylink in ./build/flavorbin during Python 3.11 expansions.
[ 175s] Using alternative pylink-rtt-3.11 for pylink-rtt in ./build/flavorbin during Python 3.11 expansions.
[ 175s] Using alternative pylink-swv-3.11 for pylink-swv in ./build/flavorbin during Python 3.11 expansions.
[ 175s] Using libalternatives variant 312 for pip in XDG_CONFIG_HOME during Python 3.12 expansions.
[ 175s] Using libalternatives variant 312 for pip3 in XDG_CONFIG_HOME during Python 3.12 expansions.
[ 175s] Using libalternatives variant 312 for py.test in XDG_CONFIG_HOME during Python 3.12 expansions.
[ 176s] Using libalternatives variant 312 for pygmentize in XDG_CONFIG_HOME during Python 3.12 expansions.
[ 176s] Using libalternatives variant 312 for pytest in XDG_CONFIG_HOME during Python 3.12 expansions.
[ 176s] Using libalternatives variant 312 for wheel in XDG_CONFIG_HOME during Python 3.12 expansions.
[ 176s] Using alternative pylink-3.12 for pylink in ./build/flavorbin during Python 3.12 expansions.
[ 176s] Using alternative pylink-rtt-3.12 for pylink-rtt in ./build/flavorbin during Python 3.12 expansions.
[ 177s] Using alternative pylink-swv-3.12 for pylink-swv in ./build/flavorbin during Python 3.12 expansions.
[ 177s] Using alternative pylink-3.13 for pylink in ./build/flavorbin during Python 3.13 expansions.
[ 177s] Using alternative pylink-rtt-3.13 for pylink-rtt in ./build/flavorbin during Python 3.13 expansions.
[ 178s] Using alternative pylink-swv-3.13 for pylink-swv in ./build/flavorbin during Python 3.13 expansions.
[ 178s] + export PATH=/home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/pylink-square-1.2.0/build/flavorbin:/usr/local/bin:/usr/bin:/bin
[ 178s] + PATH=/home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/pylink-square-1.2.0/build/flavorbin:/usr/local/bin:/usr/bin:/bin
[ 178s] ++ '[' -f _current_flavor ']'
[ 178s] ++ cat _current_flavor
[ 178s] + last_flavor=python313
[ 178s] + '[' -z python313 ']'
[ 178s] + '[' python313 '!=' python311 ']'
[ 178s] + '[' -d build ']'
[ 178s] + mv build _build.python313
[ 178s] + '[' -d _build.python311 ']'
[ 178s] + mv _build.python311 build
[ 178s] + echo python311
[ 178s] + python_flavor=python311
[ 178s] + PYTHONPATH=/home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.11/site-packages
[ 178s] + PYTHONDONTWRITEBYTECODE=1
[ 178s] + pytest-3.11 --ignore=_build.python311 --ignore=_build.python312 --ignore=_build.python313 -v -k 'not (test_initialize_windows or test_unlock_kinetis_read_fail or test_unlock_kinetis_success)'
[ 179s] ============================= test session starts ==============================
[ 179s] platform linux -- Python 3.11.13, pytest-8.4.1, pluggy-1.6.0 -- /usr/bin/python3.11
[ 179s] cachedir: .pytest_cache
[ 179s] rootdir: /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/pylink-square-1.2.0
[ 182s] collecting ... collected 442 items / 4 deselected / 438 selected
[ 182s]
[ 182s] tests/unit/protocols/test_swd.py::TestSerialWireDebug::test_swd_read_request_initialize PASSED [ 0%]
[ 182s] tests/unit/protocols/test_swd.py::TestSerialWireDebug::test_swd_read_request_send_ack PASSED [ 0%]
[ 182s] tests/unit/protocols/test_swd.py::TestSerialWireDebug::test_swd_read_request_send_ack_parity_mismatch PASSED [ 0%]
[ 182s] tests/unit/protocols/test_swd.py::TestSerialWireDebug::test_swd_read_request_send_nack PASSED [ 0%]
[ 182s] tests/unit/protocols/test_swd.py::TestSerialWireDebug::test_swd_response_ack PASSED [ 1%]
[ 182s] tests/unit/protocols/test_swd.py::TestSerialWireDebug::test_swd_response_fault PASSED [ 1%]
[ 182s] tests/unit/protocols/test_swd.py::TestSerialWireDebug::test_swd_response_invalid PASSED [ 1%]
[ 182s] tests/unit/protocols/test_swd.py::TestSerialWireDebug::test_swd_response_wait PASSED [ 1%]
[ 182s] tests/unit/protocols/test_swd.py::TestSerialWireDebug::test_swd_write_request_initialize PASSED [ 2%]
[ 182s] tests/unit/protocols/test_swd.py::TestSerialWireDebug::test_swd_write_request_send PASSED [ 2%]
[ 182s] tests/unit/test_binpacker.py::TestBinpacker::test_pack PASSED [ 2%]
[ 182s] tests/unit/test_binpacker.py::TestBinpacker::test_pack_infer_size PASSED [ 2%]
[ 182s] tests/unit/test_binpacker.py::TestBinpacker::test_pack_invalid PASSED [ 2%]
[ 182s] tests/unit/test_binpacker.py::TestBinpacker::test_pack_size_invalid PASSED [ 3%]
[ 182s] tests/unit/test_binpacker.py::TestBinpacker::test_pack_size_valid PASSED [ 3%]
[ 182s] tests/unit/test_decorators.py::TestDecorators::test_async_decorator_exception PASSED [ 3%]
[ 182s] tests/unit/test_decorators.py::TestDecorators::test_async_decorator_invalid PASSED [ 3%]
[ 182s] tests/unit/test_decorators.py::TestDecorators::test_async_decorator_join PASSED [ 4%]
[ 182s] tests/unit/test_decorators.py::TestDecorators::test_async_decorator_sync_call PASSED [ 4%]
[ 182s] tests/unit/test_enums.py::TestEnums::test_jlink_data_event_errors PASSED [ 4%]
[ 182s] tests/unit/test_enums.py::TestEnums::test_jlink_erase_errors PASSED [ 4%]
[ 182s] tests/unit/test_enums.py::TestEnums::test_jlink_flash_errors PASSED [ 5%]
[ 182s] tests/unit/test_enums.py::TestEnums::test_jlink_global_errors PASSED [ 5%]
[ 182s] tests/unit/test_enums.py::TestEnums::test_jlink_global_errors_unspecified PASSED [ 5%]
[ 182s] tests/unit/test_enums.py::TestEnums::test_jlink_read_errors PASSED [ 5%]
[ 182s] tests/unit/test_enums.py::TestEnums::test_jlink_write_errors PASSED [ 5%]
[ 182s] tests/unit/test_errors.py::TestErrors::test_jlink_exception_with_code PASSED [ 6%]
[ 182s] tests/unit/test_errors.py::TestErrors::test_jlink_exception_with_message PASSED [ 6%]
[ 182s] tests/unit/test_jlink.py::TestJLink::test_cp15_present_returns_true PASSED [ 6%]
[ 182s] tests/unit/test_jlink.py::TestJLink::test_cp15_register_read_raises_exception_if_CP15_ReadEx_fails PASSED [ 6%]
[ 182s] tests/unit/test_jlink.py::TestJLink::test_cp15_register_read_returns_result_from_JLINKARM_CP15_ReadEx PASSED [ 7%]
[ 182s] tests/unit/test_jlink.py::TestJLink::test_cp15_register_write_raises_exception_if_CP15_WriteEx_fails PASSED [ 7%]
[ 182s] tests/unit/test_jlink.py::TestJLink::test_cp15_register_write_success PASSED [ 7%]
[ 182s] tests/unit/test_jlink.py::TestJLink::test_jlinK_erase_failed PASSED [ 7%]
[ 182s] tests/unit/test_jlink.py::TestJLink::test_jlink_add_license PASSED [ 7%]
[ 182s] tests/unit/test_jlink.py::TestJLink::test_jlink_add_license_failure PASSED [ 8%]
[ 182s] tests/unit/test_jlink.py::TestJLink::test_jlink_breakpoint_clear PASSED [ 8%]
[ 182s] tests/unit/test_jlink.py::TestJLink::test_jlink_breakpoint_find PASSED [ 8%]
[ 182s] tests/unit/test_jlink.py::TestJLink::test_jlink_breakpoint_info PASSED [ 8%]
[ 182s] tests/unit/test_jlink.py::TestJLink::test_jlink_breakpoint_set PASSED [ 9%]
[ 182s] tests/unit/test_jlink.py::TestJLink::test_jlink_builtin_licenses_empty PASSED [ 9%]
[ 182s] tests/unit/test_jlink.py::TestJLink::test_jlink_builtin_licenses_fail_to_read PASSED [ 9%]
[ 182s] tests/unit/test_jlink.py::TestJLink::test_jlink_capabilities PASSED [ 9%]
[ 182s] tests/unit/test_jlink.py::TestJLink::test_jlink_clear_error PASSED [ 10%]
[ 182s] tests/unit/test_jlink.py::TestJLink::test_jlink_close PASSED [ 10%]
[ 182s] tests/unit/test_jlink.py::TestJLink::test_jlink_close_context_manager PASSED [ 10%]
[ 182s] tests/unit/test_jlink.py::TestJLink::test_jlink_code_memory_read_invalid PASSED [ 10%]
[ 182s] tests/unit/test_jlink.py::TestJLink::test_jlink_code_memory_read_success PASSED [ 10%]
[ 182s] tests/unit/test_jlink.py::TestJLink::test_jlink_comm_supported PASSED [ 11%]
[ 182s] tests/unit/test_jlink.py::TestJLink::test_jlink_compatible_firmware_version PASSED [ 11%]
[ 182s] tests/unit/test_jlink.py::TestJLink::test_jlink_compile_date PASSED [ 11%]
[ 182s] tests/unit/test_jlink.py::TestJLink::test_jlink_connect_adaptive PASSED [ 11%]
[ 182s] tests/unit/test_jlink.py::TestJLink::test_jlink_connect_auto PASSED [ 12%]
[ 182s] tests/unit/test_jlink.py::TestJLink::test_jlink_connect_failed PASSED [ 12%]
[ 182s] tests/unit/test_jlink.py::TestJLink::test_jlink_connect_speed PASSED [ 12%]
[ 182s] tests/unit/test_jlink.py::TestJLink::test_jlink_connect_speed_invalid PASSED [ 12%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_connect_supported_device_not_found PASSED [ 13%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_connect_verbose PASSED [ 13%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_connected PASSED [ 13%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_connected_emulators PASSED [ 13%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_connection_required_is_connected PASSED [ 13%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_connection_required_not_connected PASSED [ 14%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_core_cpu PASSED [ 14%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_core_id PASSED [ 14%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_core_name PASSED [ 14%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_coresight_configure_jtag PASSED [ 15%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_coresight_configure_swd PASSED [ 15%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_coresight_read_failure PASSED [ 15%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_coresight_read_success PASSED [ 15%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_coresight_write_failure PASSED [ 15%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_coresight_write_success PASSED [ 16%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_cpu_capability PASSED [ 16%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_cpu_halt_reasons_failure PASSED [ 16%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_cpu_halt_reasons_success PASSED [ 16%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_cpu_speed_error PASSED [ 17%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_cpu_speed_success PASSED [ 17%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_custom_licenses_empty PASSED [ 17%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_custom_licenses_fail_to_read PASSED [ 17%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_detailed_log_handler PASSED [ 18%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_device_family PASSED [ 18%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_disable_dialog_boxes PASSED [ 18%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_disable_software_breakpoints PASSED [ 18%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_disassemble_instruction_failed PASSED [ 18%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_disassemble_instruction_invalid_address PASSED [ 19%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_disassemble_instruction_success PASSED [ 19%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_enable_dialog_boxes PASSED [ 19%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_enable_software_breakpoints PASSED [ 19%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_erase_failed_to_halt PASSED [ 20%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_erase_license_success PASSED [ 20%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_erase_licenses_failed PASSED [ 20%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_erase_success PASSED [ 20%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_error PASSED [ 21%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_error_handler PASSED [ 21%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_etm_register_read PASSED [ 21%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_etm_register_write PASSED [ 21%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_etm_supported_arm_7_9_supported PASSED [ 21%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_etm_supported_cortex_m_supported PASSED [ 22%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_etm_supported_not_supported PASSED [ 22%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_exec_command_error_code PASSED [ 22%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_exec_command_error_string PASSED [ 22%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_exec_command_success PASSED [ 23%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_extended_capabilities PASSED [ 23%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_features_has_features PASSED [ 23%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_features_no_features PASSED [ 23%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_firmware_newer PASSED [ 23%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_firmware_outdated PASSED [ 24%]
[ 183s] tests/unit/test_jlink.py::TestJLink::test_jlink_firmware_version PASSED [ 24%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_flash_fail_to_flash PASSED [ 24%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_flash_file_fail_to_flash PASSED [ 24%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_flash_file_success PASSED [ 25%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_flash_invalid_flags PASSED [ 25%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_flash_success PASSED [ 25%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_flash_write_access_width PASSED [ 25%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_get_device_index PASSED [ 26%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_gpio_get_failure PASSED [ 26%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_gpio_get_success PASSED [ 26%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_gpio_properties_failure PASSED [ 26%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_gpio_properties_success PASSED [ 26%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_gpio_set_failure PASSED [ 27%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_gpio_set_length_mismatch PASSED [ 27%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_gpio_set_success PASSED [ 27%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_halt_failure PASSED [ 27%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_halt_success PASSED [ 28%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_halted_on_error PASSED [ 28%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_halted_on_success PASSED [ 28%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_hardware_breakpoint_set PASSED [ 28%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_hardware_info_invalid PASSED [ 28%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_hardware_info_valid PASSED [ 29%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_hardware_status_invalid PASSED [ 29%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_hardware_status_valid PASSED [ 29%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_hardware_version PASSED [ 29%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_has_extended_capability PASSED [ 30%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_has_oem PASSED [ 30%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_ice_register_read_success PASSED [ 30%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_ice_register_write_success PASSED [ 30%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_index PASSED [ 31%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_initialize_invalid_dll PASSED [ 31%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_initialize_no_lib PASSED [ 31%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_initialize_provided_dll PASSED [ 31%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_interface_required_correct_interface PASSED [ 31%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_interface_required_wrong_interface PASSED [ 32%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_invalidate_firmware PASSED [ 32%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_ir_len PASSED [ 32%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_jtag_configure PASSED [ 32%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_jtag_create_clock PASSED [ 33%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_jtag_flush PASSED [ 33%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_jtag_send_invalid_bits PASSED [ 33%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_jtag_send_success PASSED [ 33%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_log_handler PASSED [ 34%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_read_access PASSED [ 34%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_read_byte_halfword_word PASSED [ 34%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_read_failure PASSED [ 34%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_read_invalid_access PASSED [ 34%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_read_longword PASSED [ 35%]
[ 184s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_read_unzoned PASSED [ 35%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_read_zoned PASSED [ 35%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_write_access_width PASSED [ 35%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_write_failure PASSED [ 36%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_write_invalid_access PASSED [ 36%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_write_long_word PASSED [ 36%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_write_no_access_width PASSED [ 36%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_write_unzoned PASSED [ 36%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_write_zoned PASSED [ 37%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_zones_empty PASSED [ 37%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_zones_failure PASSED [ 37%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_zones_success PASSED [ 37%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_minimum_required PASSED [ 38%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_no_oem PASSED [ 38%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_num_active_breakpoints PASSED [ 38%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_num_active_watchpoints PASSED [ 38%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_num_available_breakpoints PASSED [ 39%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_num_available_watchpoints PASSED [ 39%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_num_connected_emulators PASSED [ 39%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_num_memory_zones PASSED [ 39%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_num_supported_devices PASSED [ 39%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_oem_failed PASSED [ 40%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_dll_failed PASSED [ 40%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_dll_failed_context_manager PASSED [ 40%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_ethernet PASSED [ 40%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_ethernet_and_serial_number PASSED [ 41%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_ethernet_and_serial_number_context_manager PASSED [ 41%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_ethernet_context_manager PASSED [ 41%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_ethernet_failed PASSED [ 41%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_ethernet_failed_context_manager PASSED [ 42%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_lock_failed PASSED [ 42%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_lock_failed_context_manager PASSED [ 42%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_required_is_opened PASSED [ 42%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_required_no_emu PASSED [ 42%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_required_not_open PASSED [ 43%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_serial_number PASSED [ 43%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_serial_number_context_manager PASSED [ 43%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_serial_number_context_manager_manual PASSED [ 43%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_serial_number_failed PASSED [ 44%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_serial_number_failed_context_manager PASSED [ 44%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_tunnel PASSED [ 44%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_tunnel_context_manager PASSED [ 44%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_unspecified PASSED [ 44%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_unspecified_context_manager PASSED [ 45%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_opened PASSED [ 45%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_power_off PASSED [ 45%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_power_on PASSED [ 45%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_product_name_empty PASSED [ 46%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_register_list PASSED [ 46%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_register_name PASSED [ 46%]
[ 185s] tests/unit/test_jlink.py::TestJLink::test_jlink_register_read_multiple_failure PASSED [ 46%]
[ 186s] tests/unit/test_jlink.py::TestJLink::test_jlink_register_read_multiple_from_name_failure PASSED [ 47%]
[ 188s] tests/unit/test_jlink.py::TestJLink::test_jlink_register_read_multiple_from_name_success PASSED [ 47%]
[ 188s] tests/unit/test_jlink.py::TestJLink::test_jlink_register_read_multiple_success PASSED [ 47%]
[ 188s] tests/unit/test_jlink.py::TestJLink::test_jlink_register_read_single PASSED [ 47%]
[ 188s] tests/unit/test_jlink.py::TestJLink::test_jlink_register_read_single_from_name PASSED [ 47%]
[ 188s] tests/unit/test_jlink.py::TestJLink::test_jlink_register_write_multiple_failure PASSED [ 48%]
[ 188s] tests/unit/test_jlink.py::TestJLink::test_jlink_register_write_multiple_from_name_success PASSED [ 48%]
[ 188s] tests/unit/test_jlink.py::TestJLink::test_jlink_register_write_multiple_success PASSED [ 48%]
[ 188s] tests/unit/test_jlink.py::TestJLink::test_jlink_register_write_single_failure PASSED [ 48%]
[ 188s] tests/unit/test_jlink.py::TestJLink::test_jlink_register_write_single_from_name_success PASSED [ 49%]
[ 188s] tests/unit/test_jlink.py::TestJLink::test_jlink_register_write_single_success PASSED [ 49%]
[ 188s] tests/unit/test_jlink.py::TestJLink::test_jlink_reset_fail PASSED [ 49%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_reset_halt PASSED [ 49%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_reset_inits_registers PASSED [ 50%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_reset_no_halt PASSED [ 50%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_reset_pulls_reset PASSED [ 50%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_reset_pulls_trst PASSED [ 50%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_reset_tap PASSED [ 50%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_restart_invalid_instructions PASSED [ 51%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_restart_not_halted PASSED [ 51%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_restarted PASSED [ 51%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_scan_chain_len PASSED [ 51%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_scan_len PASSED [ 52%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_serial_number PASSED [ 52%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_big_endian PASSED [ 52%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_etb_trace PASSED [ 52%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_etm_trace PASSED [ 52%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_little_endian PASSED [ 53%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_max_speed PASSED [ 53%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_reset_pin PASSED [ 53%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_reset_strategy PASSED [ 53%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_speed_adaptive PASSED [ 54%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_speed_auto PASSED [ 54%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_speed_non_number PASSED [ 54%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_speed_speed PASSED [ 54%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_speed_too_fast PASSED [ 55%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_speed_too_slow PASSED [ 55%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_tck_pin PASSED [ 55%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_tdi_pin PASSED [ 55%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_tif_failed PASSED [ 55%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_tif_success PASSED [ 56%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_tif_unsupported PASSED [ 56%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_tms_pin PASSED [ 56%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_trace_source PASSED [ 56%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_trst_pin PASSED [ 57%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_vector_catch PASSED [ 57%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_software_breakpoint_set PASSED [ 57%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_speed_getter PASSED [ 57%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_speed_info PASSED [ 57%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_step PASSED [ 58%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_strace_clear_failed PASSED [ 58%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_strace_clear_success PASSED [ 58%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_strace_configure_failed PASSED [ 58%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_strace_configure_invalid_width PASSED [ 59%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_strace_configure_success PASSED [ 59%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_strace_read_failed PASSED [ 59%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_strace_read_invalid_instruction_count PASSED [ 59%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_strace_read_success PASSED [ 60%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_strace_set_buffer_size_failed PASSED [ 60%]
[ 189s] tests/unit/test_jlink.py::TestJLink::test_jlink_strace_set_buffer_size_success PASSED [ 60%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_strace_start_failed PASSED [ 60%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_strace_start_success PASSED [ 60%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_strace_stop_failed PASSED [ 61%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_strace_stop_success PASSED [ 61%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_strace_trace_data_access_event PASSED [ 61%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_strace_trace_events PASSED [ 61%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_supported_device PASSED [ 62%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_supported_tifs PASSED [ 62%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_swd_read16 PASSED [ 62%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_swd_read32 PASSED [ 62%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_swd_read8 PASSED [ 63%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_swd_sync PASSED [ 63%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_swd_write16 PASSED [ 63%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_swd_write32 PASSED [ 63%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_swd_write8 PASSED [ 63%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_swd_write_fail PASSED [ 64%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_swd_write_success PASSED [ 64%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_swo_disable PASSED [ 64%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_swo_enable PASSED [ 64%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_swo_flush PASSED [ 65%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_swo_get_supported_speeds PASSED [ 65%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_swo_num_bytes_in_buffer PASSED [ 65%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_swo_read PASSED [ 65%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_swo_read_stimulus PASSED [ 65%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_swo_read_stimulus_invalid PASSED [ 66%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_swo_set_emu_buffer_size PASSED [ 66%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_swo_set_host_buffer_size PASSED [ 66%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_swo_speed_info PASSED [ 66%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_swo_start PASSED [ 67%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_swo_stop PASSED [ 67%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_sync_firmware_in_sync PASSED [ 67%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_sync_firmware_newer PASSED [ 67%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_sync_firmware_outdated PASSED [ 68%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_target_connected PASSED [ 68%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_test PASSED [ 68%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_tif PASSED [ 68%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_buffer_capacity PASSED [ 68%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_flush_failed PASSED [ 69%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_flush_success PASSED [ 69%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_format PASSED [ 69%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_max_buffer_capacity PASSED [ 69%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_min_buffer_capacity PASSED [ 70%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_read_failed PASSED [ 70%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_read_success PASSED [ 70%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_region PASSED [ 70%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_region_count PASSED [ 71%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_sample_count PASSED [ 71%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_set_buffer_capacity PASSED [ 71%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_set_format PASSED [ 71%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_start_failed PASSED [ 71%]
[ 190s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_start_success PASSED [ 72%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_stop_failed PASSED [ 72%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_stop_success PASSED [ 72%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_jlink_unlock_kinetis PASSED [ 72%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_jlink_update_firmware PASSED [ 73%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_jlink_version PASSED [ 73%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_jlink_warning_handler PASSED [ 73%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_jlink_watchpoint_clear PASSED [ 73%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_jlink_watchpoint_info_failure PASSED [ 73%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_jlink_watchpoint_info_success PASSED [ 74%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_jlink_watchpoint_set_failure PASSED [ 74%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_jlink_watchpoint_set_invalid_access PASSED [ 74%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_jlink_watchpoint_set_success PASSED [ 74%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_rtt_control_forwards_command_to_RTTERMINAL_Control PASSED [ 75%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_rtt_control_forwards_none_config_to_RTTERMINAL_Control PASSED [ 75%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_rtt_control_raises_error_if_RTTERMINAL_Control_fails PASSED [ 75%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_rtt_control_wraps_config_in_byref_before_calling_Control PASSED [ 75%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_rtt_get_buf_descriptor_calls_control_with_struct PASSED [ 76%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_rtt_get_num_down_buffers_calls_control_with_cmd_and_dir PASSED [ 76%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_rtt_get_num_down_buffers_returns_result_from_control PASSED [ 76%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_rtt_get_num_up_buffers_calls_control_with_cmd_and_dir PASSED [ 76%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_rtt_get_num_up_buffers_returns_result_from_control PASSED [ 76%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_rtt_get_status_returns_result_from_control PASSED [ 77%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_rtt_read_forwards_buffer_index_to_RTTERMINAL_Read PASSED [ 77%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_rtt_read_raises_exception_if_RTTERMINAL_Read_fails PASSED [ 77%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_rtt_read_returns_list_sized_from_RTTERMINAL_Read PASSED [ 77%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_rtt_read_returns_partial_payload_when_underfilled PASSED [ 78%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_rtt_start_calls_rtt_control_with_START_command PASSED [ 78%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_rtt_stop_calls_rtt_control_with_STOP_command PASSED [ 78%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_rtt_write_converts_byte_list_to_ctype_array PASSED [ 78%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_rtt_write_forwards_buffer_index_to_RTTERMINAL_Write PASSED [ 78%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_rtt_write_raises_exception_if_RTTERMINAL_Write_fails PASSED [ 79%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_rtt_write_returns_result_from_RTTERMINAL_Write PASSED [ 79%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_set_log_file_raises_exception_if_SetLogFile_fails PASSED [ 79%]
[ 191s] tests/unit/test_jlink.py::TestJLink::test_set_log_file_success PASSED [ 79%]
[ 191s] tests/unit/test_jlock.py::TestJLock::test_jlock_acquire_bad_file PASSED [ 80%]
[ 191s] tests/unit/test_jlock.py::TestJLock::test_jlock_acquire_exists PASSED [ 80%]
[ 191s] tests/unit/test_jlock.py::TestJLock::test_jlock_acquire_invalid_pid PASSED [ 80%]
[ 191s] tests/unit/test_jlock.py::TestJLock::test_jlock_acquire_old_pid PASSED [ 80%]
[ 191s] tests/unit/test_jlock.py::TestJLock::test_jlock_acquire_os_error PASSED [ 81%]
[ 191s] tests/unit/test_jlock.py::TestJLock::test_jlock_init_and_delete PASSED [ 81%]
[ 191s] tests/unit/test_jlock.py::TestJLock::test_jlock_release_acquired PASSED [ 81%]
[ 191s] tests/unit/test_jlock.py::TestJLock::test_jlock_release_not_held PASSED [ 81%]
[ 191s] tests/unit/test_library.py::TestLibrary::test_cygwin PASSED [ 81%]
[ 191s] tests/unit/test_library.py::TestLibrary::test_darwin_4_98_e PASSED [ 82%]
[ 191s] tests/unit/test_library.py::TestLibrary::test_darwin_5_0_0 PASSED [ 82%]
[ 191s] tests/unit/test_library.py::TestLibrary::test_darwin_6_0_0 PASSED [ 82%]
[ 192s] tests/unit/test_library.py::TestLibrary::test_darwin_empty PASSED [ 82%]
[ 192s] tests/unit/test_library.py::TestLibrary::test_dll_getter PASSED [ 83%]
[ 192s] tests/unit/test_library.py::TestLibrary::test_initialiaze_no PASSED [ 83%]
[ 192s] tests/unit/test_library.py::TestLibrary::test_initialize_default PASSED [ 83%]
[ 192s] tests/unit/test_library.py::TestLibrary::test_initialize_with_path PASSED [ 83%]
[ 192s] tests/unit/test_library.py::TestLibrary::test_linux_4_98_e PASSED [ 84%]
[ 192s] tests/unit/test_library.py::TestLibrary::test_linux_6_10_0_32bit PASSED [ 84%]
[ 192s] tests/unit/test_library.py::TestLibrary::test_linux_6_10_0_64bit PASSED [ 84%]
[ 192s] tests/unit/test_library.py::TestLibrary::test_linux_dl_oserror PASSED [ 84%]
[ 192s] tests/unit/test_library.py::TestLibrary::test_linux_dl_unavailable PASSED [ 84%]
[ 192s] tests/unit/test_library.py::TestLibrary::test_linux_empty PASSED [ 85%]
[ 192s] tests/unit/test_library.py::TestLibrary::test_linux_glibc_unavailable PASSED [ 85%]
[ 192s] tests/unit/test_library.py::TestLibrary::test_load PASSED [ 85%]
[ 192s] tests/unit/test_library.py::TestLibrary::test_unload_darwin_linux PASSED [ 85%]
[ 192s] tests/unit/test_library.py::TestLibrary::test_unload_no_library PASSED [ 86%]
[ 192s] tests/unit/test_library.py::TestLibrary::test_unload_windows PASSED [ 86%]
[ 192s] tests/unit/test_library.py::TestLibrary::test_windows_4_98_e PASSED [ 86%]
[ 192s] tests/unit/test_library.py::TestLibrary::test_windows_5_10_0 PASSED [ 86%]
[ 192s] tests/unit/test_library.py::TestLibrary::test_windows_empty PASSED [ 86%]
[ 193s] tests/unit/test_library.py::TestLibrary::test_windows_jlinkarm PASSED [ 87%]
[ 193s] tests/unit/test_main.py::TestMain::test_emulator_list_command PASSED [ 87%]
[ 193s] tests/unit/test_main.py::TestMain::test_emulator_supported_command PASSED [ 87%]
[ 193s] tests/unit/test_main.py::TestMain::test_emulator_test_command PASSED [ 87%]
[ 193s] tests/unit/test_main.py::TestMain::test_erase_command PASSED [ 88%]
[ 193s] tests/unit/test_main.py::TestMain::test_firmware_downgrade_command PASSED [ 88%]
[ 193s] tests/unit/test_main.py::TestMain::test_firmware_upgrade_command PASSED [ 88%]
[ 193s] tests/unit/test_main.py::TestMain::test_flash_command PASSED [ 88%]
[ 193s] tests/unit/test_main.py::TestMain::test_help PASSED [ 89%]
[ 193s] tests/unit/test_main.py::TestMain::test_help_argv PASSED [ 89%]
[ 193s] tests/unit/test_main.py::TestMain::test_info_pin_command PASSED [ 89%]
[ 193s] tests/unit/test_main.py::TestMain::test_info_product_command PASSED [ 89%]
[ 193s] tests/unit/test_main.py::TestMain::test_license_add_command PASSED [ 89%]
[ 193s] tests/unit/test_main.py::TestMain::test_license_erase_command PASSED [ 90%]
[ 193s] tests/unit/test_main.py::TestMain::test_license_list_command PASSED [ 90%]
[ 193s] tests/unit/test_main.py::TestMain::test_main_jlinkexception PASSED [ 90%]
[ 193s] tests/unit/test_main.py::TestMain::test_new_command_fail_validation PASSED [ 90%]
[ 193s] tests/unit/test_main.py::TestMain::test_new_command_method_not_implemented PASSED [ 91%]
[ 193s] tests/unit/test_main.py::TestMain::test_unlock_command PASSED [ 91%]
[ 194s] tests/unit/test_main.py::TestMain::test_verbosity PASSED [ 91%]
[ 194s] tests/unit/test_main.py::TestMain::test_version_command PASSED [ 91%]
[ 194s] tests/unit/test_structs.py::TestStructs::test_jlink_breakpoint_info PASSED [ 92%]
[ 194s] tests/unit/test_structs.py::TestStructs::test_jlink_connect_info PASSED [ 92%]
[ 194s] tests/unit/test_structs.py::TestStructs::test_jlink_data_event PASSED [ 92%]
[ 194s] tests/unit/test_structs.py::TestStructs::test_jlink_device_info PASSED [ 92%]
[ 194s] tests/unit/test_structs.py::TestStructs::test_jlink_flash_area PASSED [ 92%]
[ 194s] tests/unit/test_structs.py::TestStructs::test_jlink_gpio_descriptor PASSED [ 93%]
[ 194s] tests/unit/test_structs.py::TestStructs::test_jlink_hardware_status PASSED [ 93%]
[ 194s] tests/unit/test_structs.py::TestStructs::test_jlink_memory_zone PASSED [ 93%]
[ 194s] tests/unit/test_structs.py::TestStructs::test_jlink_moe_info PASSED [ 93%]
[ 194s] tests/unit/test_structs.py::TestStructs::test_jlink_ram_area PASSED [ 94%]
[ 194s] tests/unit/test_structs.py::TestStructs::test_jlink_rtt_terminal_buf_desc PASSED [ 94%]
[ 194s] tests/unit/test_structs.py::TestStructs::test_jlink_rtt_terminal_start PASSED [ 94%]
[ 194s] tests/unit/test_structs.py::TestStructs::test_jlink_rtt_terminal_stat PASSED [ 94%]
[ 194s] tests/unit/test_structs.py::TestStructs::test_jlink_speed_info PASSED [ 94%]
[ 194s] tests/unit/test_structs.py::TestStructs::test_jlink_strace_event_info PASSED [ 95%]
[ 194s] tests/unit/test_structs.py::TestStructs::test_jlink_swo_speed_info PASSED [ 95%]
[ 194s] tests/unit/test_structs.py::TestStructs::test_jlink_swo_start_info PASSED [ 95%]
[ 194s] tests/unit/test_structs.py::TestStructs::test_jlink_trace_data PASSED [ 95%]
[ 194s] tests/unit/test_structs.py::TestStructs::test_jlink_trace_region PASSED [ 96%]
[ 194s] tests/unit/test_structs.py::TestStructs::test_jlink_watchpoint_info PASSED [ 96%]
[ 194s] tests/unit/test_threads.py::TestThreads::test_thread PASSED [ 96%]
[ 194s] tests/unit/test_util.py::TestUtil::test_calculate_parity PASSED [ 96%]
[ 194s] tests/unit/test_util.py::TestUtil::test_calculate_parity_invalid PASSED [ 97%]
[ 194s] tests/unit/test_util.py::TestUtil::test_flash_progress_callback PASSED [ 97%]
[ 194s] tests/unit/test_util.py::TestUtil::test_is_integer PASSED [ 97%]
[ 194s] tests/unit/test_util.py::TestUtil::test_is_natural PASSED [ 97%]
[ 194s] tests/unit/test_util.py::TestUtil::test_is_os_64bit PASSED [ 97%]
[ 194s] tests/unit/test_util.py::TestUtil::test_noop PASSED [ 98%]
[ 194s] tests/unit/test_util.py::TestUtil::test_progress_bar PASSED [ 98%]
[ 194s] tests/unit/test_util.py::TestUtil::test_unsecure_hook_dialog PASSED [ 98%]
[ 194s] tests/unit/unlockers/test_unlock.py::TestUnlock::test_unlock_supported PASSED [ 98%]
[ 194s] tests/unit/unlockers/test_unlock.py::TestUnlock::test_unlock_unsupported PASSED [ 99%]
[ 194s] tests/unit/unlockers/test_unlock_kinetis.py::TestUnlockKinetis::test_unlock_kinetis_disconnected PASSED [ 99%]
[ 194s] tests/unit/unlockers/test_unlock_kinetis.py::TestUnlockKinetis::test_unlock_kinetis_identify_failed PASSED [ 99%]
[ 194s] tests/unit/unlockers/test_unlock_kinetis.py::TestUnlockKinetis::test_unlock_kinetis_jtag PASSED [ 99%]
[ 194s] tests/unit/unlockers/test_unlock_kinetis.py::TestUnlockKinetis::test_unlock_kinetis_unsupported_tif PASSED [100%]
[ 194s]
[ 194s] =============================== warnings summary ===============================
[ 194s] tests/unit/test_library.py::TestLibrary::test_linux_dl_oserror
[ 194s] /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/pylink-square-1.2.0/tests/unit/test_library.py:1073: DeprecationWarning: Please use assertEqual instead.
[ 194s] self.assertEquals(2, mock_find_library.call_count)
[ 194s]
[ 194s] tests/unit/test_library.py::TestLibrary::test_linux_dl_oserror
[ 194s] /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/pylink-square-1.2.0/tests/unit/test_library.py:1074: DeprecationWarning: Please use assertEqual instead.
[ 194s] self.assertEquals(2, mock_load_library.call_count)
[ 194s]
[ 194s] tests/unit/test_library.py::TestLibrary::test_linux_dl_unavailable
[ 194s] /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/pylink-square-1.2.0/tests/unit/test_library.py:1032: DeprecationWarning: Please use assertEqual instead.
[ 194s] self.assertEquals(2, mock_find_library.call_count)
[ 194s]
[ 194s] tests/unit/test_library.py::TestLibrary::test_linux_dl_unavailable
[ 194s] /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/pylink-square-1.2.0/tests/unit/test_library.py:1034: DeprecationWarning: Please use assertEqual instead.
[ 194s] self.assertEquals(2, mock_load_library.call_count)
[ 194s]
[ 194s] tests/unit/test_library.py::TestLibrary::test_linux_glibc_unavailable
[ 194s] /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/pylink-square-1.2.0/tests/unit/test_library.py:988: DeprecationWarning: Please use assertEqual instead.
[ 194s] self.assertEquals(0, mock_dlinfo_ctr.call_count)
[ 194s]
[ 194s] tests/unit/test_library.py::TestLibrary::test_linux_glibc_unavailable
[ 194s] /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/pylink-square-1.2.0/tests/unit/test_library.py:990: DeprecationWarning: Please use assertEqual instead.
[ 194s] self.assertEquals(1, mock_load_library.call_count)
[ 194s]
[ 194s] -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
[ 194s] ================ 438 passed, 4 deselected, 6 warnings in 14.59s ================
[ 194s] ++ '[' -f _current_flavor ']'
[ 194s] ++ cat _current_flavor
[ 194s] + last_flavor=python311
[ 194s] + '[' -z python311 ']'
[ 194s] + '[' python311 '!=' python312 ']'
[ 194s] + '[' -d build ']'
[ 194s] + mv build _build.python311
[ 194s] + '[' -d _build.python312 ']'
[ 194s] + mv _build.python312 build
[ 194s] + echo python312
[ 194s] + python_flavor=python312
[ 194s] + PYTHONPATH=/home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages
[ 194s] + PYTHONDONTWRITEBYTECODE=1
[ 194s] + pytest-3.12 --ignore=_build.python311 --ignore=_build.python312 --ignore=_build.python313 -v -k 'not (test_initialize_windows or test_unlock_kinetis_read_fail or test_unlock_kinetis_success)'
[ 196s] ============================= test session starts ==============================
[ 196s] platform linux -- Python 3.12.11, pytest-8.4.1, pluggy-1.6.0 -- /usr/bin/python3.12
[ 196s] cachedir: .pytest_cache
[ 196s] rootdir: /home/abuild/rpmbuild/BUILD/python-pylink-square-1.2.0-build/pylink-square-1.2.0
[ 200s] collecting ... collected 442 items / 4 deselected / 438 selected
[ 200s]
[ 200s] tests/unit/protocols/test_swd.py::TestSerialWireDebug::test_swd_read_request_initialize PASSED [ 0%]
[ 200s] tests/unit/protocols/test_swd.py::TestSerialWireDebug::test_swd_read_request_send_ack PASSED [ 0%]
[ 200s] tests/unit/protocols/test_swd.py::TestSerialWireDebug::test_swd_read_request_send_ack_parity_mismatch PASSED [ 0%]
[ 200s] tests/unit/protocols/test_swd.py::TestSerialWireDebug::test_swd_read_request_send_nack PASSED [ 0%]
[ 200s] tests/unit/protocols/test_swd.py::TestSerialWireDebug::test_swd_response_ack PASSED [ 1%]
[ 200s] tests/unit/protocols/test_swd.py::TestSerialWireDebug::test_swd_response_fault PASSED [ 1%]
[ 200s] tests/unit/protocols/test_swd.py::TestSerialWireDebug::test_swd_response_invalid PASSED [ 1%]
[ 200s] tests/unit/protocols/test_swd.py::TestSerialWireDebug::test_swd_response_wait PASSED [ 1%]
[ 200s] tests/unit/protocols/test_swd.py::TestSerialWireDebug::test_swd_write_request_initialize PASSED [ 2%]
[ 200s] tests/unit/protocols/test_swd.py::TestSerialWireDebug::test_swd_write_request_send PASSED [ 2%]
[ 200s] tests/unit/test_binpacker.py::TestBinpacker::test_pack PASSED [ 2%]
[ 200s] tests/unit/test_binpacker.py::TestBinpacker::test_pack_infer_size PASSED [ 2%]
[ 200s] tests/unit/test_binpacker.py::TestBinpacker::test_pack_invalid PASSED [ 2%]
[ 200s] tests/unit/test_binpacker.py::TestBinpacker::test_pack_size_invalid PASSED [ 3%]
[ 200s] tests/unit/test_binpacker.py::TestBinpacker::test_pack_size_valid PASSED [ 3%]
[ 200s] tests/unit/test_decorators.py::TestDecorators::test_async_decorator_exception PASSED [ 3%]
[ 200s] tests/unit/test_decorators.py::TestDecorators::test_async_decorator_invalid PASSED [ 3%]
[ 200s] tests/unit/test_decorators.py::TestDecorators::test_async_decorator_join PASSED [ 4%]
[ 200s] tests/unit/test_decorators.py::TestDecorators::test_async_decorator_sync_call PASSED [ 4%]
[ 200s] tests/unit/test_enums.py::TestEnums::test_jlink_data_event_errors PASSED [ 4%]
[ 200s] tests/unit/test_enums.py::TestEnums::test_jlink_erase_errors PASSED [ 4%]
[ 200s] tests/unit/test_enums.py::TestEnums::test_jlink_flash_errors PASSED [ 5%]
[ 200s] tests/unit/test_enums.py::TestEnums::test_jlink_global_errors PASSED [ 5%]
[ 200s] tests/unit/test_enums.py::TestEnums::test_jlink_global_errors_unspecified PASSED [ 5%]
[ 200s] tests/unit/test_enums.py::TestEnums::test_jlink_read_errors PASSED [ 5%]
[ 200s] tests/unit/test_enums.py::TestEnums::test_jlink_write_errors PASSED [ 5%]
[ 200s] tests/unit/test_errors.py::TestErrors::test_jlink_exception_with_code PASSED [ 6%]
[ 200s] tests/unit/test_errors.py::TestErrors::test_jlink_exception_with_message PASSED [ 6%]
[ 200s] tests/unit/test_jlink.py::TestJLink::test_cp15_present_returns_true PASSED [ 6%]
[ 200s] tests/unit/test_jlink.py::TestJLink::test_cp15_register_read_raises_exception_if_CP15_ReadEx_fails PASSED [ 6%]
[ 200s] tests/unit/test_jlink.py::TestJLink::test_cp15_register_read_returns_result_from_JLINKARM_CP15_ReadEx PASSED [ 7%]
[ 200s] tests/unit/test_jlink.py::TestJLink::test_cp15_register_write_raises_exception_if_CP15_WriteEx_fails PASSED [ 7%]
[ 201s] tests/unit/test_jlink.py::TestJLink::test_cp15_register_write_success FAILED [ 7%]
[ 201s] tests/unit/test_jlink.py::TestJLink::test_jlinK_erase_failed PASSED [ 7%]
[ 201s] tests/unit/test_jlink.py::TestJLink::test_jlink_add_license PASSED [ 7%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_add_license_failure PASSED [ 8%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_breakpoint_clear PASSED [ 8%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_breakpoint_find PASSED [ 8%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_breakpoint_info PASSED [ 8%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_breakpoint_set PASSED [ 9%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_builtin_licenses_empty PASSED [ 9%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_builtin_licenses_fail_to_read PASSED [ 9%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_capabilities PASSED [ 9%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_clear_error PASSED [ 10%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_close PASSED [ 10%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_close_context_manager PASSED [ 10%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_code_memory_read_invalid PASSED [ 10%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_code_memory_read_success PASSED [ 10%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_comm_supported PASSED [ 11%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_compatible_firmware_version PASSED [ 11%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_compile_date PASSED [ 11%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_connect_adaptive PASSED [ 11%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_connect_auto PASSED [ 12%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_connect_failed PASSED [ 12%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_connect_speed PASSED [ 12%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_connect_speed_invalid PASSED [ 12%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_connect_supported_device_not_found PASSED [ 13%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_connect_verbose PASSED [ 13%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_connected PASSED [ 13%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_connected_emulators PASSED [ 13%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_connection_required_is_connected PASSED [ 13%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_connection_required_not_connected PASSED [ 14%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_core_cpu PASSED [ 14%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_core_id PASSED [ 14%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_core_name PASSED [ 14%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_coresight_configure_jtag PASSED [ 15%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_coresight_configure_swd PASSED [ 15%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_coresight_read_failure PASSED [ 15%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_coresight_read_success PASSED [ 15%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_coresight_write_failure PASSED [ 15%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_coresight_write_success PASSED [ 16%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_cpu_capability PASSED [ 16%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_cpu_halt_reasons_failure PASSED [ 16%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_cpu_halt_reasons_success PASSED [ 16%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_cpu_speed_error PASSED [ 17%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_cpu_speed_success PASSED [ 17%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_custom_licenses_empty PASSED [ 17%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_custom_licenses_fail_to_read PASSED [ 17%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_detailed_log_handler PASSED [ 18%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_device_family PASSED [ 18%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_disable_dialog_boxes PASSED [ 18%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_disable_software_breakpoints PASSED [ 18%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_disassemble_instruction_failed PASSED [ 18%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_disassemble_instruction_invalid_address PASSED [ 19%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_disassemble_instruction_success PASSED [ 19%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_enable_dialog_boxes PASSED [ 19%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_enable_software_breakpoints PASSED [ 19%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_erase_failed_to_halt PASSED [ 20%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_erase_license_success PASSED [ 20%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_erase_licenses_failed PASSED [ 20%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_erase_success PASSED [ 20%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_error PASSED [ 21%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_error_handler PASSED [ 21%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_etm_register_read PASSED [ 21%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_etm_register_write PASSED [ 21%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_etm_supported_arm_7_9_supported PASSED [ 21%]
[ 202s] tests/unit/test_jlink.py::TestJLink::test_jlink_etm_supported_cortex_m_supported PASSED [ 22%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_etm_supported_not_supported PASSED [ 22%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_exec_command_error_code PASSED [ 22%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_exec_command_error_string PASSED [ 22%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_exec_command_success PASSED [ 23%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_extended_capabilities PASSED [ 23%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_features_has_features PASSED [ 23%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_features_no_features PASSED [ 23%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_firmware_newer PASSED [ 23%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_firmware_outdated PASSED [ 24%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_firmware_version PASSED [ 24%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_flash_fail_to_flash PASSED [ 24%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_flash_file_fail_to_flash PASSED [ 24%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_flash_file_success PASSED [ 25%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_flash_invalid_flags PASSED [ 25%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_flash_success PASSED [ 25%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_flash_write_access_width PASSED [ 25%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_get_device_index PASSED [ 26%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_gpio_get_failure PASSED [ 26%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_gpio_get_success PASSED [ 26%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_gpio_properties_failure PASSED [ 26%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_gpio_properties_success PASSED [ 26%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_gpio_set_failure PASSED [ 27%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_gpio_set_length_mismatch PASSED [ 27%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_gpio_set_success PASSED [ 27%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_halt_failure PASSED [ 27%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_halt_success PASSED [ 28%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_halted_on_error PASSED [ 28%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_halted_on_success PASSED [ 28%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_hardware_breakpoint_set PASSED [ 28%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_hardware_info_invalid PASSED [ 28%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_hardware_info_valid PASSED [ 29%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_hardware_status_invalid PASSED [ 29%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_hardware_status_valid PASSED [ 29%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_hardware_version PASSED [ 29%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_has_extended_capability PASSED [ 30%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_has_oem PASSED [ 30%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_ice_register_read_success PASSED [ 30%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_ice_register_write_success PASSED [ 30%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_index PASSED [ 31%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_initialize_invalid_dll PASSED [ 31%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_initialize_no_lib PASSED [ 31%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_initialize_provided_dll PASSED [ 31%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_interface_required_correct_interface PASSED [ 31%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_interface_required_wrong_interface PASSED [ 32%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_invalidate_firmware PASSED [ 32%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_ir_len PASSED [ 32%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_jtag_configure PASSED [ 32%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_jtag_create_clock PASSED [ 33%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_jtag_flush PASSED [ 33%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_jtag_send_invalid_bits PASSED [ 33%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_jtag_send_success PASSED [ 33%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_log_handler PASSED [ 34%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_read_access PASSED [ 34%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_read_byte_halfword_word PASSED [ 34%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_read_failure PASSED [ 34%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_read_invalid_access PASSED [ 34%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_read_longword PASSED [ 35%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_read_unzoned PASSED [ 35%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_read_zoned PASSED [ 35%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_write_access_width PASSED [ 35%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_write_failure PASSED [ 36%]
[ 203s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_write_invalid_access PASSED [ 36%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_write_long_word PASSED [ 36%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_write_no_access_width PASSED [ 36%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_write_unzoned PASSED [ 36%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_write_zoned PASSED [ 37%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_zones_empty PASSED [ 37%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_zones_failure PASSED [ 37%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_memory_zones_success PASSED [ 37%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_minimum_required PASSED [ 38%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_no_oem PASSED [ 38%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_num_active_breakpoints PASSED [ 38%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_num_active_watchpoints PASSED [ 38%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_num_available_breakpoints PASSED [ 39%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_num_available_watchpoints PASSED [ 39%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_num_connected_emulators PASSED [ 39%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_num_memory_zones PASSED [ 39%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_num_supported_devices PASSED [ 39%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_oem_failed PASSED [ 40%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_dll_failed PASSED [ 40%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_dll_failed_context_manager PASSED [ 40%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_ethernet PASSED [ 40%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_ethernet_and_serial_number PASSED [ 41%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_ethernet_and_serial_number_context_manager PASSED [ 41%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_ethernet_context_manager PASSED [ 41%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_ethernet_failed PASSED [ 41%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_ethernet_failed_context_manager PASSED [ 42%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_lock_failed PASSED [ 42%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_lock_failed_context_manager PASSED [ 42%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_required_is_opened PASSED [ 42%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_required_no_emu PASSED [ 42%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_required_not_open PASSED [ 43%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_serial_number PASSED [ 43%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_serial_number_context_manager PASSED [ 43%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_serial_number_context_manager_manual PASSED [ 43%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_serial_number_failed PASSED [ 44%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_serial_number_failed_context_manager PASSED [ 44%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_tunnel PASSED [ 44%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_tunnel_context_manager PASSED [ 44%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_unspecified PASSED [ 44%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_open_unspecified_context_manager PASSED [ 45%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_opened PASSED [ 45%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_power_off PASSED [ 45%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_power_on PASSED [ 45%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_product_name_empty PASSED [ 46%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_register_list PASSED [ 46%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_register_name PASSED [ 46%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_register_read_multiple_failure PASSED [ 46%]
[ 204s] tests/unit/test_jlink.py::TestJLink::test_jlink_register_read_multiple_from_name_failure PASSED [ 47%]
[ 207s] tests/unit/test_jlink.py::TestJLink::test_jlink_register_read_multiple_from_name_success PASSED [ 47%]
[ 207s] tests/unit/test_jlink.py::TestJLink::test_jlink_register_read_multiple_success PASSED [ 47%]
[ 207s] tests/unit/test_jlink.py::TestJLink::test_jlink_register_read_single PASSED [ 47%]
[ 207s] tests/unit/test_jlink.py::TestJLink::test_jlink_register_read_single_from_name PASSED [ 47%]
[ 207s] tests/unit/test_jlink.py::TestJLink::test_jlink_register_write_multiple_failure PASSED [ 48%]
[ 208s] tests/unit/test_jlink.py::TestJLink::test_jlink_register_write_multiple_from_name_success PASSED [ 48%]
[ 208s] tests/unit/test_jlink.py::TestJLink::test_jlink_register_write_multiple_success PASSED [ 48%]
[ 208s] tests/unit/test_jlink.py::TestJLink::test_jlink_register_write_single_failure PASSED [ 48%]
[ 208s] tests/unit/test_jlink.py::TestJLink::test_jlink_register_write_single_from_name_success PASSED [ 49%]
[ 208s] tests/unit/test_jlink.py::TestJLink::test_jlink_register_write_single_success PASSED [ 49%]
[ 208s] tests/unit/test_jlink.py::TestJLink::test_jlink_reset_fail PASSED [ 49%]
[ 208s] tests/unit/test_jlink.py::TestJLink::test_jlink_reset_halt PASSED [ 49%]
[ 208s] tests/unit/test_jlink.py::TestJLink::test_jlink_reset_inits_registers PASSED [ 50%]
[ 208s] tests/unit/test_jlink.py::TestJLink::test_jlink_reset_no_halt PASSED [ 50%]
[ 208s] tests/unit/test_jlink.py::TestJLink::test_jlink_reset_pulls_reset PASSED [ 50%]
[ 208s] tests/unit/test_jlink.py::TestJLink::test_jlink_reset_pulls_trst PASSED [ 50%]
[ 208s] tests/unit/test_jlink.py::TestJLink::test_jlink_reset_tap PASSED [ 50%]
[ 208s] tests/unit/test_jlink.py::TestJLink::test_jlink_restart_invalid_instructions PASSED [ 51%]
[ 208s] tests/unit/test_jlink.py::TestJLink::test_jlink_restart_not_halted PASSED [ 51%]
[ 209s] tests/unit/test_jlink.py::TestJLink::test_jlink_restarted FAILED [ 51%]
[ 209s] tests/unit/test_jlink.py::TestJLink::test_jlink_scan_chain_len PASSED [ 51%]
[ 209s] tests/unit/test_jlink.py::TestJLink::test_jlink_scan_len PASSED [ 52%]
[ 209s] tests/unit/test_jlink.py::TestJLink::test_jlink_serial_number PASSED [ 52%]
[ 209s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_big_endian PASSED [ 52%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_etb_trace PASSED [ 52%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_etm_trace PASSED [ 52%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_little_endian PASSED [ 53%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_max_speed PASSED [ 53%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_reset_pin PASSED [ 53%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_reset_strategy PASSED [ 53%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_speed_adaptive PASSED [ 54%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_speed_auto PASSED [ 54%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_speed_non_number PASSED [ 54%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_speed_speed PASSED [ 54%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_speed_too_fast PASSED [ 55%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_speed_too_slow PASSED [ 55%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_tck_pin PASSED [ 55%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_tdi_pin PASSED [ 55%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_tif_failed PASSED [ 55%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_tif_success PASSED [ 56%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_tif_unsupported PASSED [ 56%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_tms_pin PASSED [ 56%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_trace_source PASSED [ 56%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_trst_pin PASSED [ 57%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_set_vector_catch PASSED [ 57%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_software_breakpoint_set PASSED [ 57%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_speed_getter PASSED [ 57%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_speed_info PASSED [ 57%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_step PASSED [ 58%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_strace_clear_failed PASSED [ 58%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_strace_clear_success PASSED [ 58%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_strace_configure_failed PASSED [ 58%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_strace_configure_invalid_width PASSED [ 59%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_strace_configure_success PASSED [ 59%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_strace_read_failed PASSED [ 59%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_strace_read_invalid_instruction_count PASSED [ 59%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_strace_read_success PASSED [ 60%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_strace_set_buffer_size_failed PASSED [ 60%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_strace_set_buffer_size_success PASSED [ 60%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_strace_start_failed PASSED [ 60%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_strace_start_success PASSED [ 60%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_strace_stop_failed PASSED [ 61%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_strace_stop_success PASSED [ 61%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_strace_trace_data_access_event PASSED [ 61%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_strace_trace_events PASSED [ 61%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_supported_device PASSED [ 62%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_supported_tifs PASSED [ 62%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_swd_read16 PASSED [ 62%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_swd_read32 PASSED [ 62%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_swd_read8 PASSED [ 63%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_swd_sync PASSED [ 63%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_swd_write16 PASSED [ 63%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_swd_write32 PASSED [ 63%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_swd_write8 PASSED [ 63%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_swd_write_fail PASSED [ 64%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_swd_write_success PASSED [ 64%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_swo_disable PASSED [ 64%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_swo_enable PASSED [ 64%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_swo_flush PASSED [ 65%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_swo_get_supported_speeds PASSED [ 65%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_swo_num_bytes_in_buffer PASSED [ 65%]
[ 210s] tests/unit/test_jlink.py::TestJLink::test_jlink_swo_read PASSED [ 65%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_swo_read_stimulus PASSED [ 65%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_swo_read_stimulus_invalid PASSED [ 66%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_swo_set_emu_buffer_size PASSED [ 66%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_swo_set_host_buffer_size PASSED [ 66%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_swo_speed_info PASSED [ 66%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_swo_start PASSED [ 67%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_swo_stop PASSED [ 67%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_sync_firmware_in_sync PASSED [ 67%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_sync_firmware_newer PASSED [ 67%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_sync_firmware_outdated PASSED [ 68%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_target_connected PASSED [ 68%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_test PASSED [ 68%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_tif PASSED [ 68%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_buffer_capacity PASSED [ 68%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_flush_failed PASSED [ 69%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_flush_success PASSED [ 69%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_format PASSED [ 69%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_max_buffer_capacity PASSED [ 69%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_min_buffer_capacity PASSED [ 70%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_read_failed PASSED [ 70%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_read_success PASSED [ 70%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_region PASSED [ 70%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_region_count PASSED [ 71%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_sample_count PASSED [ 71%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_set_buffer_capacity PASSED [ 71%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_set_format PASSED [ 71%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_start_failed PASSED [ 71%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_start_success PASSED [ 72%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_stop_failed PASSED [ 72%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_trace_stop_success PASSED [ 72%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_unlock_kinetis PASSED [ 72%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_update_firmware PASSED [ 73%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_version PASSED [ 73%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_warning_handler PASSED [ 73%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_watchpoint_clear PASSED [ 73%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_watchpoint_info_failure PASSED [ 73%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_watchpoint_info_success PASSED [ 74%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_watchpoint_set_failure PASSED [ 74%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_watchpoint_set_invalid_access PASSED [ 74%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_jlink_watchpoint_set_success PASSED [ 74%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_rtt_control_forwards_command_to_RTTERMINAL_Control PASSED [ 75%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_rtt_control_forwards_none_config_to_RTTERMINAL_Control PASSED [ 75%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_rtt_control_raises_error_if_RTTERMINAL_Control_fails PASSED [ 75%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_rtt_control_wraps_config_in_byref_before_calling_Control PASSED [ 75%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_rtt_get_buf_descriptor_calls_control_with_struct PASSED [ 76%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_rtt_get_num_down_buffers_calls_control_with_cmd_and_dir PASSED [ 76%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_rtt_get_num_down_buffers_returns_result_from_control PASSED [ 76%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_rtt_get_num_up_buffers_calls_control_with_cmd_and_dir PASSED [ 76%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_rtt_get_num_up_buffers_returns_result_from_control PASSED [ 76%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_rtt_get_status_returns_result_from_control PASSED [ 77%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_rtt_read_forwards_buffer_index_to_RTTERMINAL_Read PASSED [ 77%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_rtt_read_raises_exception_if_RTTERMINAL_Read_fails PASSED [ 77%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_rtt_read_returns_list_sized_from_RTTERMINAL_Read PASSED [ 77%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_rtt_read_returns_partial_payload_when_underfilled PASSED [ 78%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_rtt_start_calls_rtt_control_with_START_command PASSED [ 78%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_rtt_stop_calls_rtt_control_with_STOP_command PASSED [ 78%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_rtt_write_converts_byte_list_to_ctype_array PASSED [ 78%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_rtt_write_forwards_buffer_index_to_RTTERMINAL_Write PASSED [ 78%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_rtt_write_raises_exception_if_RTTERMINAL_Write_fails PASSED [ 79%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_rtt_write_returns_result_from_RTTERMINAL_Write PASSED [ 79%]
[ 211s] tests/unit/test_jlink.py::TestJLink::test_set_log_file_raises_exception_if_SetLogFile_fails PASSED [ 79%]
[ 213s] tests/unit/test_jlink.py::TestJLink::test_set_log_file_success FAILED [ 79%]
[ 213s] tests/unit/test_jlock.py::TestJLock::test_jlock_acquire_bad_file PASSED [ 80%]
[ 213s] tests/unit/test_jlock.py::TestJLock::test_jlock_acquire_exists PASSED [ 80%]
[ 213s] tests/unit/test_jlock.py::TestJLock::test_jlock_acquire_invalid_pid PASSED [ 80%]
[ 213s] tests/unit/test_jlock.py::TestJLock::test_jlock_acquire_old_pid PASSED [ 80%]
[ 213s] tests/unit/test_jlock.py::TestJLock::test_jlock_acquire_os_error PASSED [ 81%]
[ 213s] tests/unit/test_jlock.py::TestJLock::test_jlock_init_and_delete PASSED [ 81%]
[ 213s] tests/unit/test_jlock.py::TestJLock::test_jlock_release_acquired PASSED [ 81%]
[ 213s] tests/unit/test_jlock.py::TestJLock::test_jlock_release_not_held PASSED [ 81%]
[ 213s] tests/unit/test_library.py::TestLibrary::test_cygwin PASSED [ 81%]
[ 213s] tests/unit/test_library.py::TestLibrary::test_darwin_4_98_e PASSED [ 82%]
[ 213s] tests/unit/test_library.py::TestLibrary::test_darwin_5_0_0 PASSED [ 82%]
[ 213s] tests/unit/test_library.py::TestLibrary::test_darwin_6_0_0 PASSED [ 82%]
[ 213s] tests/unit/test_library.py::TestLibrary::test_darwin_empty PASSED [ 82%]
[ 213s] tests/unit/test_library.py::TestLibrary::test_dll_getter PASSED [ 83%]
[ 213s] tests/unit/test_library.py::TestLibrary::test_initialiaze_no PASSED [ 83%]
[ 213s] tests/unit/test_library.py::TestLibrary::test_initialize_default PASSED [ 83%]
[ 213s] tests/unit/test_library.py::TestLibrary::test_initialize_with_path PASSED [ 83%]
[ 213s] tests/unit/test_library.py::TestLibrary::test_linux_4_98_e PASSED [ 84%]
[ 213s] tests/unit/test_library.py::TestLibrary::test_linux_6_10_0_32bit PASSED [ 84%]
[ 214s] tests/unit/test_library.py::TestLibrary::test_linux_6_10_0_64bit PASSED [ 84%]
[ 214s] tests/unit/test_library.py::TestLibrary::test_linux_dl_oserror FAILED [ 84%]
[ 214s] tests/unit/test_library.py::TestLibrary::test_linux_dl_unavailable FAILED [ 84%]
[ 214s] tests/unit/test_library.py::TestLibrary::test_linux_empty PASSED [ 85%]
[ 214s] tests/unit/test_library.py::TestLibrary::test_linux_glibc_unavailable FAILED [ 85%]
[ 214s] tests/unit/test_library.py::TestLibrary::test_load PASSED [ 85%]
[ 214s] tests/unit/test_library.py::TestLibrary::test_unload_darwin_linux PASSED [ 85%]
[ 214s] tests/unit/test_library.py::TestLibrary::test_unload_no_library PASSED [ 86%]
[ 214s] tests/unit/test_library.py::TestLibrary::test_unload_windows PASSED [ 86%]
[ 215s] tests/unit/test_library.py::TestLibrary::test_windows_4_98_e PASSED [ 86%]
[ 215s] tests/unit/test_library.py::TestLibrary::test_windows_5_10_0 PASSED [ 86%]
[ 215s] tests/unit/test_library.py::TestLibrary::test_windows_empty PASSED [ 86%]
[ 215s] tests/unit/test_library.py::TestLibrary::test_windows_jlinkarm PASSED [ 87%]
[ 215s] tests/unit/test_main.py::TestMain::test_emulator_list_command PASSED [ 87%]
[ 215s] tests/unit/test_main.py::TestMain::test_emulator_supported_command PASSED [ 87%]
[ 215s] tests/unit/test_main.py::TestMain::test_emulator_test_command PASSED [ 87%]
[ 215s] tests/unit/test_main.py::TestMain::test_erase_command PASSED [ 88%]
[ 215s] tests/unit/test_main.py::TestMain::test_firmware_downgrade_command PASSED [ 88%]
[ 215s] tests/unit/test_main.py::TestMain::test_firmware_upgrade_command PASSED [ 88%]
[ 215s] tests/unit/test_main.py::TestMain::test_flash_command PASSED [ 88%]
[ 215s] tests/unit/test_main.py::TestMain::test_help PASSED [ 89%]
[ 215s] tests/unit/test_main.py::TestMain::test_help_argv PASSED [ 89%]
[ 215s] tests/unit/test_main.py::TestMain::test_info_pin_command PASSED [ 89%]
[ 215s] tests/unit/test_main.py::TestMain::test_info_product_command PASSED [ 89%]
[ 215s] tests/unit/test_main.py::TestMain::test_license_add_command PASSED [ 89%]
[ 215s] tests/unit/test_main.py::TestMain::test_license_erase_command PASSED [ 90%]
[ 215s] tests/unit/test_main.py::TestMain::test_license_list_command PASSED [ 90%]
[ 215s] tests/unit/test_main.py::TestMain::test_main_jlinkexception PASSED [ 90%]
[ 215s] tests/unit/test_main.py::TestMain::test_new_command_fail_validation PASSED [ 90%]
[ 215s] tests/unit/test_main.py::TestMain::test_new_command_method_not_implemented PASSED [ 91%]
[ 216s] tests/unit/test_main.py::TestMain::test_unlock_command PASSED [ 91%]
[ 216s] tests/unit/test_main.py::TestMain::test_verbosity PASSED [ 91%]
[ 216s] tests/unit/test_main.py::TestMain::test_version_command PASSED [ 91%]
[ 216s] tests/unit/test_structs.py::TestStructs::test_jlink_breakpoint_info PASSED [ 92%]
[ 216s] tests/unit/test_structs.py::TestStructs::test_jlink_connect_info PASSED [ 92%]
[ 216s] tests/unit/test_structs.py::TestStructs::test_jlink_data_event PASSED [ 92%]
[ 216s] tests/unit/test_structs.py::TestStructs::test_jlink_device_info PASSED [ 92%]
[ 216s] tests/unit/test_structs.py::TestStructs::test_jlink_flash_area PASSED [ 92%]
[ 216s] tests/unit/test_structs.py::TestStructs::test_jlink_gpio_descriptor PASSED [ 93%]
[ 216s] tests/unit/test_structs.py::TestStructs::test_jlink_hardware_status PASSED [ 93%]
[ 216s] tests/unit/test_structs.py::TestStructs::test_jlink_memory_zone PASSED [ 93%]
[ 216s] tests/unit/test_structs.py::TestStructs::test_jlink_moe_info PASSED [ 93%]
[ 216s] tests/unit/test_structs.py::TestStructs::test_jlink_ram_area PASSED [ 94%]
[ 216s] tests/unit/test_structs.py::TestStructs::test_jlink_rtt_terminal_buf_desc PASSED [ 94%]
[ 216s] tests/unit/test_structs.py::TestStructs::test_jlink_rtt_terminal_start PASSED [ 94%]
[ 216s] tests/unit/test_structs.py::TestStructs::test_jlink_rtt_terminal_stat PASSED [ 94%]
[ 216s] tests/unit/test_structs.py::TestStructs::test_jlink_speed_info PASSED [ 94%]
[ 216s] tests/unit/test_structs.py::TestStructs::test_jlink_strace_event_info PASSED [ 95%]
[ 216s] tests/unit/test_structs.py::TestStructs::test_jlink_swo_speed_info PASSED [ 95%]
[ 216s] tests/unit/test_structs.py::TestStructs::test_jlink_swo_start_info PASSED [ 95%]
[ 216s] tests/unit/test_structs.py::TestStructs::test_jlink_trace_data PASSED [ 95%]
[ 216s] tests/unit/test_structs.py::TestStructs::test_jlink_trace_region PASSED [ 96%]
[ 216s] tests/unit/test_structs.py::TestStructs::test_jlink_watchpoint_info PASSED [ 96%]
[ 216s] tests/unit/test_threads.py::TestThreads::test_thread PASSED [ 96%]
[ 216s] tests/unit/test_util.py::TestUtil::test_calculate_parity PASSED [ 96%]
[ 216s] tests/unit/test_util.py::TestUtil::test_calculate_parity_invalid PASSED [ 97%]
[ 216s] tests/unit/test_util.py::TestUtil::test_flash_progress_callback PASSED [ 97%]
[ 216s] tests/unit/test_util.py::TestUtil::test_is_integer PASSED [ 97%]
[ 216s] tests/unit/test_util.py::TestUtil::test_is_natural PASSED [ 97%]
[ 216s] tests/unit/test_util.py::TestUtil::test_is_os_64bit PASSED [ 97%]
[ 216s] tests/unit/test_util.py::TestUtil::test_noop PASSED [ 98%]
[ 216s] tests/unit/test_util.py::TestUtil::test_progress_bar PASSED [ 98%]
[ 216s] tests/unit/test_util.py::TestUtil::test_unsecure_hook_dialog PASSED [ 98%]
[ 216s] tests/unit/unlockers/test_unlock.py::TestUnlock::test_unlock_supported PASSED [ 98%]
[ 216s] tests/unit/unlockers/test_unlock.py::TestUnlock::test_unlock_unsupported PASSED [ 99%]
[ 216s] tests/unit/unlockers/test_unlock_kinetis.py::TestUnlockKinetis::test_unlock_kinetis_disconnected PASSED [ 99%]
[ 216s] tests/unit/unlockers/test_unlock_kinetis.py::TestUnlockKinetis::test_unlock_kinetis_identify_failed PASSED [ 99%]
[ 216s] tests/unit/unlockers/test_unlock_kinetis.py::TestUnlockKinetis::test_unlock_kinetis_jtag PASSED [ 99%]
[ 216s] tests/unit/unlockers/test_unlock_kinetis.py::TestUnlockKinetis::test_unlock_kinetis_unsupported_tif PASSED [100%]
[ 216s]
[ 216s] =================================== FAILURES ===================================
[ 216s] __________________ TestJLink.test_cp15_register_write_success __________________
[ 216s]
[ 216s] self = <tests.unit.test_jlink.TestJLink testMethod=test_cp15_register_write_success>
[ 216s]
[ 216s] def test_cp15_register_write_success(self):
[ 216s] """Tests that cp15_register_write uses provided parameters.
[ 216s] Args:
[ 216s] self (TestJLink): the ``TestJLink`` instance
[ 216s]
[ 216s] Returns:
[ 216s] ``None``
[ 216s] """
[ 216s] args = [1, 2, 3, 4, 5]
[ 216s]
[ 216s] self.dll.JLINKARM_CP15_WriteEx.return_value = 0
[ 216s] actual = self.jlink.cp15_register_write(*args)
[ 216s] > assert self.dll.JLINKARM_CP15_WriteEx.called_once_with(*args)
[ 216s] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 216s]
[ 216s] tests/unit/test_jlink.py:6221:
[ 216s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[ 216s]
[ 216s] self = <Mock name='mock.dll().JLINKARM_CP15_WriteEx' id='140036510730144'>
[ 216s] name = 'called_once_with'
[ 216s]
[ 216s] def __getattr__(self, name):
[ 216s] if name in {'_mock_methods', '_mock_unsafe'}:
[ 216s] raise AttributeError(name)
[ 216s] elif self._mock_methods is not None:
[ 216s] if name not in self._mock_methods or name in _all_magics:
[ 216s] raise AttributeError("Mock object has no attribute %r" % name)
[ 216s] elif _is_magic(name):
[ 216s] raise AttributeError(name)
[ 216s] if not self._mock_unsafe and (not self._mock_methods or name not in self._mock_methods):
[ 216s] if name.startswith(('assert', 'assret', 'asert', 'aseert', 'assrt')) or name in _ATTRIB_DENY_LIST:
[ 216s] > raise AttributeError(
[ 216s] f"{name!r} is not a valid assertion. Use a spec "
[ 216s] f"for the mock if {name!r} is meant to be an attribute.")
[ 216s] E AttributeError: 'called_once_with' is not a valid assertion. Use a spec for the mock if 'called_once_with' is meant to be an attribute.. Did you mean: 'assert_called_once_with'?
[ 216s]
[ 216s] /usr/lib64/python3.12/unittest/mock.py:665: AttributeError
[ 216s] ________________________ TestJLink.test_jlink_restarted ________________________
[ 216s]
[ 216s] self = <tests.unit.test_jlink.TestJLink testMethod=test_jlink_restarted>
[ 216s]
[ 216s] def test_jlink_restarted(self):
[ 216s] """Tests J-Link ``restart()`` successfully restarting the target.
[ 216s]
[ 216s] Args:
[ 216s] self (TestJLink): the ``TestJLink`` instance
[ 216s]
[ 216s] Returns:
[ 216s] ``None``
[ 216s] """
[ 216s] self.jlink.halted = mock.Mock()
[ 216s] self.jlink.halted.return_value = True
[ 216s]
[ 216s] self.assertEqual(True, self.jlink.restart())
[ 216s] > self.dll.JLINKARM_GoEx.called_once_with(0, 0)
[ 216s] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 216s]
[ 216s] tests/unit/test_jlink.py:2974:
[ 216s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[ 216s]
[ 216s] self = <Mock name='mock.dll().JLINKARM_GoEx' id='140036487452848'>
[ 216s] name = 'called_once_with'
[ 216s]
[ 216s] def __getattr__(self, name):
[ 216s] if name in {'_mock_methods', '_mock_unsafe'}:
[ 216s] raise AttributeError(name)
[ 216s] elif self._mock_methods is not None:
[ 216s] if name not in self._mock_methods or name in _all_magics:
[ 216s] raise AttributeError("Mock object has no attribute %r" % name)
[ 216s] elif _is_magic(name):
[ 216s] raise AttributeError(name)
[ 216s] if not self._mock_unsafe and (not self._mock_methods or name not in self._mock_methods):
[ 216s] if name.startswith(('assert', 'assret', 'asert', 'aseert', 'assrt')) or name in _ATTRIB_DENY_LIST:
[ 216s] > raise AttributeError(
[ 216s] f"{name!r} is not a valid assertion. Use a spec "
[ 216s] f"for the mock if {name!r} is meant to be an attribute.")
[ 216s] E AttributeError: 'called_once_with' is not a valid assertion. Use a spec for the mock if 'called_once_with' is meant to be an attribute.. Did you mean: 'assert_called_once_with'?
[ 216s]
[ 216s] /usr/lib64/python3.12/unittest/mock.py:665: AttributeError
[ 216s] _____________________ TestJLink.test_set_log_file_success ______________________
[ 216s]
[ 216s] self = <tests.unit.test_jlink.TestJLink testMethod=test_set_log_file_success>
[ 216s]
[ 216s] def test_set_log_file_success(self):
[ 216s] """Tests that set_log_file uses provided parameters.
[ 216s]
[ 216s] Args:
[ 216s] self (TestJLink): the ``TestJLink`` instance
[ 216s]
[ 216s] Returns:
[ 216s] ``None``
[ 216s] """
[ 216s] args = ['my/file/path']
[ 216s] self.dll.JLINKARM_SetLogFile.return_value = 0
[ 216s] self.jlink.set_log_file(*args)
[ 216s] > assert self.dll.JLINKARM_SetLogFile.called_once_with(*args)
[ 216s] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 216s]
[ 216s] tests/unit/test_jlink.py:6247:
[ 216s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[ 216s]
[ 216s] self = <Mock name='mock.dll().JLINKARM_SetLogFile' id='140036391320800'>
[ 216s] name = 'called_once_with'
[ 216s]
[ 216s] def __getattr__(self, name):
[ 216s] if name in {'_mock_methods', '_mock_unsafe'}:
[ 216s] raise AttributeError(name)
[ 216s] elif self._mock_methods is not None:
[ 216s] if name not in self._mock_methods or name in _all_magics:
[ 216s] raise AttributeError("Mock object has no attribute %r" % name)
[ 216s] elif _is_magic(name):
[ 216s] raise AttributeError(name)
[ 216s] if not self._mock_unsafe and (not self._mock_methods or name not in self._mock_methods):
[ 216s] if name.startswith(('assert', 'assret', 'asert', 'aseert', 'assrt')) or name in _ATTRIB_DENY_LIST:
[ 216s] > raise AttributeError(
[ 216s] f"{name!r} is not a valid assertion. Use a spec "
[ 216s] f"for the mock if {name!r} is meant to be an attribute.")
[ 216s] E AttributeError: 'called_once_with' is not a valid assertion. Use a spec for the mock if 'called_once_with' is meant to be an attribute.. Did you mean: 'assert_called_once_with'?
[ 216s]
[ 216s] /usr/lib64/python3.12/unittest/mock.py:665: AttributeError
[ 216s] ______________________ TestLibrary.test_linux_dl_oserror _______________________
[ 216s]
[ 216s] self = <tests.unit.test_library.TestLibrary testMethod=test_linux_dl_oserror>
[ 216s] mock_load_library = <MagicMock name='LoadLibrary' id='140036508795248'>
[ 216s] mock_find_library = <MagicMock name='find_library' id='140036510832864'>
[ 216s] mock_libc_ver = <MagicMock name='libc_ver' id='140036484485760'>
[ 216s]
[ 216s] @mock.patch('os.name', new='posix')
[ 216s] @mock.patch('sys.platform', new='linux')
[ 216s] @mock.patch('pylink.platform.libc_ver', return_value=('glibc', '2.34'))
[ 216s] @mock.patch('ctypes.util.find_library')
[ 216s] @mock.patch('ctypes.cdll.LoadLibrary')
[ 216s] def test_linux_dl_oserror(self, mock_load_library, mock_find_library, mock_libc_ver):
[ 216s] """Confirms ctype API exceptions actually propagate from JLinkarmDlInfo to call site.
[ 216s]
[ 216s] Test case:
[ 216s] - initial find_library('jlinkarm') succeeds
[ 216s] - the host system presents itself as GNU/Linux, and we successfully load libdl
[ 216s] - but loading libdl raises OSError
[ 216s] """
[ 216s]
[ 216s] mock_find_library.side_effect = [
[ 216s] # find_library('jlinkarm')
[ 216s] 'libjlinkarm.so.6',
[ 216s] # find_library('dl')
[ 216s] 'libdl.so.2'
[ 216s] ]
[ 216s] mock_load_library.side_effect = [
[ 216s] # load JLink DLL
[ 216s] mock.Mock(),
[ 216s] # load libdl
[ 216s] OSError()
[ 216s] ]
[ 216s]
[ 216s] with self.assertRaises(OSError):
[ 216s] lib = library.Library()
[ 216s] lib.unload = mock.Mock()
[ 216s]
[ 216s] mock_find_library.assert_any_call(library.Library.JLINK_SDK_OBJECT)
[ 216s] mock_find_library.assert_any_call('dl')
[ 216s] > self.assertEquals(2, mock_find_library.call_count)
[ 216s] ^^^^^^^^^^^^^^^^^
[ 216s] E AttributeError: 'TestLibrary' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?
[ 216s]
[ 216s] tests/unit/test_library.py:1073: AttributeError
[ 216s] ____________________ TestLibrary.test_linux_dl_unavailable _____________________
[ 216s]
[ 216s] self = <tests.unit.test_library.TestLibrary testMethod=test_linux_dl_unavailable>
[ 216s] mock_load_library = <MagicMock name='LoadLibrary' id='140036484492480'>
[ 216s] mock_find_library = <MagicMock name='find_library' id='140036484482592'>
[ 216s] mock_libc_ver = <MagicMock name='libc_ver' id='140036484496224'>
[ 216s] mock_is_os_64bit = <MagicMock name='is_os_64bit' id='140036391314368'>
[ 216s] mock_os = <MagicMock name='os' id='140036391318592'>
[ 216s] mock_open = <MagicMock name='open' id='140036391308368'>
[ 216s]
[ 216s] @mock.patch('os.name', new='posix')
[ 216s] @mock.patch('sys.platform', new='linux')
[ 216s] @mock.patch('tempfile.NamedTemporaryFile', new=mock.Mock())
[ 216s] @mock.patch('os.remove', new=mock.Mock())
[ 216s] @mock.patch('pylink.library.open')
[ 216s] @mock.patch('pylink.library.os')
[ 216s] @mock.patch('pylink.util.is_os_64bit', return_value=True)
[ 216s] @mock.patch('pylink.platform.libc_ver', return_value=('glibc', '2.34'))
[ 216s] @mock.patch('ctypes.util.find_library')
[ 216s] @mock.patch('ctypes.cdll.LoadLibrary')
[ 216s] def test_linux_dl_unavailable(self, mock_load_library, mock_find_library, mock_libc_ver,
[ 216s] mock_is_os_64bit, mock_os, mock_open):
[ 216s] """Confirms we successfully fallback to the "search by file name" code path when libdl is
[ 216s] unavailable despite the host system presenting itself as POSIX (GNU/Linux).
[ 216s]
[ 216s] Test case:
[ 216s] - initial find_library('jlinkarm') succeeds
[ 216s] - the host system presents itself as GNU/Linux, but does not provide libdl
[ 216s] - we should then skip the dlinfo() dance and proceed
[ 216s] to the "search by file name" code path, aka find_library_linux()
[ 216s] - and "successfully load" a mock library file from /opt/SEGGER/JLink
[ 216s] """
[ 216s] mock_find_library.side_effect = [
[ 216s] # find_library('jlinkarm')
[ 216s] 'libjlinkarm.so.6',
[ 216s] # find_library('dl')
[ 216s] None
[ 216s] ]
[ 216s]
[ 216s] directories = [
[ 216s] '/opt/SEGGER/JLink/libjlinkarm.so.6'
[ 216s] ]
[ 216s] self.mock_directories(mock_os, directories, '/')
[ 216s]
[ 216s] lib = library.Library()
[ 216s] lib.unload = mock.Mock()
[ 216s]
[ 216s] mock_find_library.assert_any_call(library.Library.JLINK_SDK_OBJECT)
[ 216s] mock_find_library.assert_any_call('dl')
[ 216s] > self.assertEquals(2, mock_find_library.call_count)
[ 216s] ^^^^^^^^^^^^^^^^^
[ 216s] E AttributeError: 'TestLibrary' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?
[ 216s]
[ 216s] tests/unit/test_library.py:1032: AttributeError
[ 216s] ___________________ TestLibrary.test_linux_glibc_unavailable ___________________
[ 216s]
[ 216s] self = <tests.unit.test_library.TestLibrary testMethod=test_linux_glibc_unavailable>
[ 216s] mock_load_library = <MagicMock name='LoadLibrary' id='140036488168752'>
[ 216s] mock_dlinfo_ctr = <MagicMock name='__init__' id='140036490464768'>
[ 216s] mock_find_library = <MagicMock name='find_library' id='140036490475952'>
[ 216s] mock_libc_ver = <MagicMock name='libc_ver' id='140036490476480'>
[ 216s] mock_is_os_64bit = <MagicMock name='is_os_64bit' id='140036490471584'>
[ 216s] mock_os = <MagicMock name='os' id='140036490538752'>
[ 216s] mock_open = <MagicMock name='open' id='140036509526080'>
[ 216s]
[ 216s] @mock.patch('os.name', new='posix')
[ 216s] @mock.patch('sys.platform', new='linux')
[ 216s] @mock.patch('tempfile.NamedTemporaryFile', new=mock.Mock())
[ 216s] @mock.patch('os.remove', new=mock.Mock())
[ 216s] @mock.patch('pylink.library.open')
[ 216s] @mock.patch('pylink.library.os')
[ 216s] @mock.patch('pylink.util.is_os_64bit', return_value=True)
[ 216s] @mock.patch('pylink.platform.libc_ver', return_value=('libc', '1.0'))
[ 216s] @mock.patch('ctypes.util.find_library', return_value='libjlinkarm.so.7')
[ 216s] @mock.patch('pylink.library.JLinkarmDlInfo.__init__')
[ 216s] @mock.patch('ctypes.cdll.LoadLibrary')
[ 216s] def test_linux_glibc_unavailable(self, mock_load_library, mock_dlinfo_ctr, mock_find_library,
[ 216s] mock_libc_ver, mock_is_os_64bit, mock_os, mock_open):
[ 216s] """Confirms the whole JLinkarmDlInfo code path is not involved when GNU libc
[ 216s] extensions are unavailable on a Linux system, and that we'll successfully fallback
[ 216s] to the "search by file name".
[ 216s]
[ 216s] Test case:
[ 216s] - initial find_library('jlinkarm') succeeds
[ 216s] - but the host system does not provide GNU libc extensions
[ 216s] - we should then skip the dlinfo() dance and proceed
[ 216s] to the "search by file name" code path, aka find_library_linux()
[ 216s] - and "successfully load" a mock library file from /opt/SEGGER/JLink
[ 216s] """
[ 216s] directories = [
[ 216s] # Library.find_library_linux() should find this.
[ 216s] '/opt/SEGGER/JLink/libjlinkarm.so.6'
[ 216s] ]
[ 216s] self.mock_directories(mock_os, directories, '/')
[ 216s]
[ 216s] lib = library.Library()
[ 216s] lib.unload = mock.Mock()
[ 216s]
[ 216s] mock_find_library.assert_called_once_with(library.Library.JLINK_SDK_OBJECT)
[ 216s] # JLinkarmDlInfo has not been instantiated.
[ 216s] > self.assertEquals(0, mock_dlinfo_ctr.call_count)
[ 216s] ^^^^^^^^^^^^^^^^^
[ 216s] E AttributeError: 'TestLibrary' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?
[ 216s]
[ 216s] tests/unit/test_library.py:988: AttributeError
[ 216s] =========================== short test summary info ============================
[ 216s] FAILED tests/unit/test_jlink.py::TestJLink::test_cp15_register_write_success
[ 216s] FAILED tests/unit/test_jlink.py::TestJLink::test_jlink_restarted - AttributeE...
[ 216s] FAILED tests/unit/test_jlink.py::TestJLink::test_set_log_file_success - Attri...
[ 216s] FAILED tests/unit/test_library.py::TestLibrary::test_linux_dl_oserror - Attri...
[ 216s] FAILED tests/unit/test_library.py::TestLibrary::test_linux_dl_unavailable - A...
[ 216s] FAILED tests/unit/test_library.py::TestLibrary::test_linux_glibc_unavailable
[ 216s] ================= 6 failed, 432 passed, 4 deselected in 19.68s =================
[ 216s] error: Bad exit status from /var/tmp/rpm-tmp.PuKawN (%check)
[ 216s]
[ 216s] RPM build errors:
[ 216s] Bad exit status from /var/tmp/rpm-tmp.PuKawN (%check)
[ 216s] ### VM INTERACTION START ###
[ 217s] mount: /: mount point is busy.
[ 217s] dmesg(1) may have more information after failed mount system call.
[ 217s] Warning: 'remount -o ro /' failed. Triple Syncing..
[ 217s] [ 212.437447][ T1] sysrq: Power Off
[ 217s] ### VM INTERACTION END ###
[ 217s]
[ 217s] i02-ch1a failed "build python-pylink-square.spec" at Fri Aug 8 16:51:43 UTC 2025.
[ 217s]