0s autopkgtest [08:09:06]: starting date and time: 2024-11-13 08:09:06+0000 0s autopkgtest [08:09:06]: git checkout: 0acbae0a WIP show VirtSubproc stderr in real-time 0s autopkgtest [08:09:06]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.3ea2fhcu/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults,src:python3-stdlib-extensions --apt-upgrade bpack --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@lcy02-47.secgroup --name adt-plucky-amd64-bpack-20241113-080906-juju-7f2275-prod-proposed-migration-environment-2-d03188e6-7400-4e23-942a-36f44abeb2be --image adt/ubuntu-plucky-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 93s autopkgtest [08:10:39]: testbed dpkg architecture: amd64 93s autopkgtest [08:10:39]: testbed apt version: 2.9.8 93s autopkgtest [08:10:39]: @@@@@@@@@@@@@@@@@@@@ test bed setup 93s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 93s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 93s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [76.4 kB] 93s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 93s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [848 kB] 93s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [65.2 kB] 93s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [111 kB] 93s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [32.6 kB] 93s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [637 kB] 93s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [255 kB] 93s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [13.0 kB] 93s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [37.7 kB] 93s Fetched 2171 kB in 0s (7412 kB/s) 93s Reading package lists... 95s Reading package lists... 95s Building dependency tree... 95s Reading state information... 95s Calculating upgrade... 96s The following NEW packages will be installed: 96s python3.13-gdbm 96s The following packages will be upgraded: 96s libgpgme11t64 libpython3-stdlib python3 python3-gdbm python3-minimal 96s 5 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 96s Need to get 253 kB of archives. 96s After this operation, 147 kB of additional disk space will be used. 96s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-minimal amd64 3.12.7-1 [27.4 kB] 96s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3 amd64 3.12.7-1 [24.0 kB] 96s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libpython3-stdlib amd64 3.12.7-1 [10.0 kB] 96s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13-gdbm amd64 3.13.0-2 [31.3 kB] 96s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-gdbm amd64 3.12.7-1 [8642 B] 96s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 libgpgme11t64 amd64 1.23.2-5ubuntu4 [152 kB] 96s Fetched 253 kB in 0s (10.1 MB/s) 96s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75541 files and directories currently installed.) 96s Preparing to unpack .../python3-minimal_3.12.7-1_amd64.deb ... 96s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 96s Setting up python3-minimal (3.12.7-1) ... 97s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75541 files and directories currently installed.) 97s Preparing to unpack .../python3_3.12.7-1_amd64.deb ... 97s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 97s Preparing to unpack .../libpython3-stdlib_3.12.7-1_amd64.deb ... 97s Unpacking libpython3-stdlib:amd64 (3.12.7-1) over (3.12.6-0ubuntu1) ... 97s Selecting previously unselected package python3.13-gdbm. 97s Preparing to unpack .../python3.13-gdbm_3.13.0-2_amd64.deb ... 97s Unpacking python3.13-gdbm (3.13.0-2) ... 97s Preparing to unpack .../python3-gdbm_3.12.7-1_amd64.deb ... 97s Unpacking python3-gdbm:amd64 (3.12.7-1) over (3.12.6-1ubuntu1) ... 97s Preparing to unpack .../libgpgme11t64_1.23.2-5ubuntu4_amd64.deb ... 97s Unpacking libgpgme11t64:amd64 (1.23.2-5ubuntu4) over (1.18.0-4.1ubuntu4) ... 97s Setting up libgpgme11t64:amd64 (1.23.2-5ubuntu4) ... 97s Setting up python3.13-gdbm (3.13.0-2) ... 97s Setting up libpython3-stdlib:amd64 (3.12.7-1) ... 97s Setting up python3 (3.12.7-1) ... 97s Setting up python3-gdbm:amd64 (3.12.7-1) ... 97s Processing triggers for man-db (2.12.1-3) ... 98s Processing triggers for libc-bin (2.40-1ubuntu3) ... 98s Reading package lists... 98s Building dependency tree... 98s Reading state information... 99s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 99s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 99s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 99s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 99s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 100s Reading package lists... 100s Reading package lists... 100s Building dependency tree... 100s Reading state information... 101s Calculating upgrade... 101s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 101s Reading package lists... 101s Building dependency tree... 101s Reading state information... 102s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 103s autopkgtest [08:10:49]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 13:41:20 UTC 2024 103s autopkgtest [08:10:49]: @@@@@@@@@@@@@@@@@@@@ apt-source bpack 103s Get:1 http://ftpmaster.internal/ubuntu plucky/universe bpack 1.1.0-2 (dsc) [3063 B] 103s Get:2 http://ftpmaster.internal/ubuntu plucky/universe bpack 1.1.0-2 (tar) [62.0 kB] 103s Get:3 http://ftpmaster.internal/ubuntu plucky/universe bpack 1.1.0-2 (diff) [3532 B] 103s gpgv: Signature made Tue Jun 18 21:16:10 2024 UTC 103s gpgv: using RSA key 8182DE417056408D614650D16750F10AE88D4AF1 103s gpgv: Can't check signature: No public key 103s dpkg-source: warning: cannot verify inline signature for ./bpack_1.1.0-2.dsc: no acceptable signature found 104s autopkgtest [08:10:50]: testing package bpack version 1.1.0-2 104s autopkgtest [08:10:50]: build not needed 104s autopkgtest [08:10:50]: test pybuild-autopkgtest: preparing testbed 105s Reading package lists... 105s Building dependency tree... 105s Reading state information... 105s Starting pkgProblemResolver with broken count: 0 105s Starting 2 pkgProblemResolver with broken count: 0 105s Done 106s The following additional packages will be installed: 106s autoconf automake autopoint autotools-dev build-essential cpp cpp-14 106s cpp-14-x86-64-linux-gnu cpp-x86-64-linux-gnu debhelper debugedit 106s dh-autoreconf dh-python dh-strip-nondeterminism docutils-common dwz 106s fonts-font-awesome fonts-lato g++ g++-14 g++-14-x86-64-linux-gnu 106s g++-x86-64-linux-gnu gcc gcc-14 gcc-14-x86-64-linux-gnu gcc-x86-64-linux-gnu 106s gettext intltool-debian libarchive-zip-perl libasan8 libblas3 libcc1-0 106s libdebhelper-perl libfile-stripnondeterminism-perl libgcc-14-dev 106s libgfortran5 libgomp1 libhwasan0 libisl23 libitm1 libjs-jquery 106s libjs-sphinxdoc libjs-underscore libjson-perl liblapack3 liblsan0 libmpc3 106s libpython3.13-minimal libpython3.13-stdlib libquadmath0 libstdc++-14-dev 106s libtool libtsan2 libubsan1 m4 po-debconf pybuild-plugin-autopkgtest 106s pybuild-plugin-pyproject python-bpack-doc python3-alabaster python3-all 106s python3-bitarray python3-bitstruct python3-bpack python3-build 106s python3-defusedxml python3-docutils python3-imagesize python3-iniconfig 106s python3-installer python3-numpy python3-packaging python3-pluggy 106s python3-pyproject-hooks python3-pytest python3-roman python3-snowballstemmer 106s python3-sphinx python3-sphinx-rtd-theme python3-sphinxcontrib.jquery 106s python3-toml python3-wheel python3.13 python3.13-minimal sgml-base 106s sphinx-common sphinx-rtd-theme-common xml-core 106s Suggested packages: 106s autoconf-archive gnu-standards autoconf-doc cpp-doc gcc-14-locales 106s cpp-14-doc dh-make flit g++-multilib g++-14-multilib gcc-14-doc gcc-multilib 106s manpages-dev flex bison gdb gcc-doc gcc-14-multilib gdb-x86-64-linux-gnu 106s gettext-doc libasprintf-dev libgettextpo-dev libstdc++-14-doc libtool-doc 106s gfortran | fortran95-compiler gcj-jdk m4-doc libmail-box-perl www-browser 106s python3-pip python3-venv python-build-doc docutils-doc fonts-linuxlibertine 106s | ttf-linux-libertine texlive-lang-french texlive-latex-base 106s texlive-latex-recommended python-installer-doc gfortran python-numpy-doc 106s python3-dev python3-stemmer dvipng dvisvgm fonts-freefont-otf 106s imagemagick-6.q16 latexmk libjs-mathjax sphinx-doc tex-gyre 106s texlive-fonts-extra texlive-fonts-recommended texlive-latex-extra 106s texlive-plain-generic python3.13-venv python3.13-doc binfmt-support 106s sgml-base-doc 106s Recommended packages: 106s libarchive-cpio-perl javascript-common libjson-xs-perl libltdl-dev 106s libmail-sendmail-perl libpaper-utils python3-pil 106s The following NEW packages will be installed: 106s autoconf automake autopkgtest-satdep autopoint autotools-dev build-essential 106s cpp cpp-14 cpp-14-x86-64-linux-gnu cpp-x86-64-linux-gnu debhelper debugedit 106s dh-autoreconf dh-python dh-strip-nondeterminism docutils-common dwz 106s fonts-font-awesome fonts-lato g++ g++-14 g++-14-x86-64-linux-gnu 106s g++-x86-64-linux-gnu gcc gcc-14 gcc-14-x86-64-linux-gnu gcc-x86-64-linux-gnu 106s gettext intltool-debian libarchive-zip-perl libasan8 libblas3 libcc1-0 106s libdebhelper-perl libfile-stripnondeterminism-perl libgcc-14-dev 106s libgfortran5 libgomp1 libhwasan0 libisl23 libitm1 libjs-jquery 106s libjs-sphinxdoc libjs-underscore libjson-perl liblapack3 liblsan0 libmpc3 106s libpython3.13-minimal libpython3.13-stdlib libquadmath0 libstdc++-14-dev 106s libtool libtsan2 libubsan1 m4 po-debconf pybuild-plugin-autopkgtest 106s pybuild-plugin-pyproject python-bpack-doc python3-alabaster python3-all 106s python3-bitarray python3-bitstruct python3-bpack python3-build 106s python3-defusedxml python3-docutils python3-imagesize python3-iniconfig 106s python3-installer python3-numpy python3-packaging python3-pluggy 106s python3-pyproject-hooks python3-pytest python3-roman python3-snowballstemmer 106s python3-sphinx python3-sphinx-rtd-theme python3-sphinxcontrib.jquery 106s python3-toml python3-wheel python3.13 python3.13-minimal sgml-base 106s sphinx-common sphinx-rtd-theme-common xml-core 106s 0 upgraded, 89 newly installed, 0 to remove and 0 not upgraded. 106s Need to get 92.1 MB/92.1 MB of archives. 106s After this operation, 325 MB of additional disk space will be used. 106s Get:1 /tmp/autopkgtest.fRmfMO/1-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [844 B] 106s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 fonts-lato all 2.015-1 [2781 kB] 106s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13-minimal amd64 3.13.0-2 [879 kB] 106s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13-minimal amd64 3.13.0-2 [2188 kB] 106s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 sgml-base all 1.31 [11.4 kB] 106s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 m4 amd64 1.4.19-4build1 [244 kB] 106s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 autoconf all 2.72-3 [382 kB] 106s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 autotools-dev all 20220109.1 [44.9 kB] 106s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 automake all 1:1.16.5-1.3ubuntu1 [558 kB] 106s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 autopoint all 0.22.5-2 [616 kB] 106s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 libisl23 amd64 0.27-1 [685 kB] 106s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 libmpc3 amd64 1.3.1-1build2 [55.3 kB] 106s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14-x86-64-linux-gnu amd64 14.2.0-8ubuntu1 [11.9 MB] 106s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14 amd64 14.2.0-8ubuntu1 [1030 B] 106s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [5452 B] 106s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp amd64 4:14.1.0-2ubuntu1 [22.4 kB] 106s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 libcc1-0 amd64 14.2.0-8ubuntu1 [47.6 kB] 106s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 libgomp1 amd64 14.2.0-8ubuntu1 [148 kB] 106s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 libitm1 amd64 14.2.0-8ubuntu1 [29.1 kB] 106s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 libasan8 amd64 14.2.0-8ubuntu1 [2998 kB] 106s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 liblsan0 amd64 14.2.0-8ubuntu1 [1317 kB] 106s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 libtsan2 amd64 14.2.0-8ubuntu1 [2732 kB] 106s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 libubsan1 amd64 14.2.0-8ubuntu1 [1177 kB] 106s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 libhwasan0 amd64 14.2.0-8ubuntu1 [1634 kB] 106s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 libquadmath0 amd64 14.2.0-8ubuntu1 [153 kB] 106s Get:26 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-14-dev amd64 14.2.0-8ubuntu1 [2814 kB] 106s Get:27 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14-x86-64-linux-gnu amd64 14.2.0-8ubuntu1 [23.3 MB] 106s Get:28 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14 amd64 14.2.0-8ubuntu1 [528 kB] 106s Get:29 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [1214 B] 106s Get:30 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc amd64 4:14.1.0-2ubuntu1 [5000 B] 106s Get:31 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++-14-dev amd64 14.2.0-8ubuntu1 [2504 kB] 106s Get:32 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14-x86-64-linux-gnu amd64 14.2.0-8ubuntu1 [13.3 MB] 107s Get:33 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14 amd64 14.2.0-8ubuntu1 [19.9 kB] 107s Get:34 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [966 B] 107s Get:35 http://ftpmaster.internal/ubuntu plucky/main amd64 g++ amd64 4:14.1.0-2ubuntu1 [1100 B] 107s Get:36 http://ftpmaster.internal/ubuntu plucky/main amd64 build-essential amd64 12.10ubuntu1 [4928 B] 107s Get:37 http://ftpmaster.internal/ubuntu plucky/main amd64 libdebhelper-perl all 13.20ubuntu1 [94.2 kB] 107s Get:38 http://ftpmaster.internal/ubuntu plucky/main amd64 libtool all 2.4.7-7build1 [166 kB] 107s Get:39 http://ftpmaster.internal/ubuntu plucky/main amd64 dh-autoreconf all 20 [16.1 kB] 107s Get:40 http://ftpmaster.internal/ubuntu plucky/main amd64 libarchive-zip-perl all 1.68-1 [90.2 kB] 107s Get:41 http://ftpmaster.internal/ubuntu plucky/main amd64 libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 107s Get:42 http://ftpmaster.internal/ubuntu plucky/main amd64 dh-strip-nondeterminism all 1.14.0-1 [5058 B] 107s Get:43 http://ftpmaster.internal/ubuntu plucky/main amd64 debugedit amd64 1:5.1-1 [46.9 kB] 107s Get:44 http://ftpmaster.internal/ubuntu plucky/main amd64 dwz amd64 0.15-1build6 [115 kB] 107s Get:45 http://ftpmaster.internal/ubuntu plucky/main amd64 gettext amd64 0.22.5-2 [948 kB] 107s Get:46 http://ftpmaster.internal/ubuntu plucky/main amd64 intltool-debian all 0.35.0+20060710.6 [23.2 kB] 107s Get:47 http://ftpmaster.internal/ubuntu plucky/main amd64 po-debconf all 1.0.21+nmu1 [233 kB] 107s Get:48 http://ftpmaster.internal/ubuntu plucky/main amd64 debhelper all 13.20ubuntu1 [893 kB] 107s Get:49 http://ftpmaster.internal/ubuntu plucky/universe amd64 dh-python all 6.20241024 [112 kB] 107s Get:50 http://ftpmaster.internal/ubuntu plucky/main amd64 xml-core all 0.19 [20.3 kB] 107s Get:51 http://ftpmaster.internal/ubuntu plucky/main amd64 docutils-common all 0.21.2+dfsg-2 [131 kB] 107s Get:52 http://ftpmaster.internal/ubuntu plucky/main amd64 fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 107s Get:53 http://ftpmaster.internal/ubuntu plucky/main amd64 libblas3 amd64 3.12.0-3build2 [247 kB] 107s Get:54 http://ftpmaster.internal/ubuntu plucky/main amd64 libgfortran5 amd64 14.2.0-8ubuntu1 [909 kB] 107s Get:55 http://ftpmaster.internal/ubuntu plucky/main amd64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 107s Get:56 http://ftpmaster.internal/ubuntu plucky/main amd64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 107s Get:57 http://ftpmaster.internal/ubuntu plucky/main amd64 libjs-sphinxdoc all 7.4.7-4 [158 kB] 107s Get:58 http://ftpmaster.internal/ubuntu plucky/main amd64 libjson-perl all 4.10000-1 [81.9 kB] 107s Get:59 http://ftpmaster.internal/ubuntu plucky/main amd64 liblapack3 amd64 3.12.0-3build2 [2668 kB] 107s Get:60 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13-stdlib amd64 3.13.0-2 [2107 kB] 107s Get:61 http://ftpmaster.internal/ubuntu plucky/universe amd64 pybuild-plugin-autopkgtest all 6.20241024 [1746 B] 107s Get:62 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-packaging all 24.1-1 [41.4 kB] 107s Get:63 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pyproject-hooks all 1.2.0-1 [10.2 kB] 107s Get:64 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-toml all 0.10.2-1 [16.5 kB] 107s Get:65 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-wheel all 0.44.0-1 [54.2 kB] 107s Get:66 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-build all 1.2.2-1 [31.0 kB] 107s Get:67 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-installer all 0.7.0+dfsg1-3 [17.4 kB] 107s Get:68 http://ftpmaster.internal/ubuntu plucky/universe amd64 pybuild-plugin-pyproject all 6.20241024 [1728 B] 107s Get:69 http://ftpmaster.internal/ubuntu plucky/main amd64 sphinx-rtd-theme-common all 3.0.1+dfsg-1 [1012 kB] 107s Get:70 http://ftpmaster.internal/ubuntu plucky/universe amd64 python-bpack-doc all 1.1.0-2 [100 kB] 107s Get:71 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13 amd64 3.13.0-2 [719 kB] 107s Get:72 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-all amd64 3.12.7-1 [890 B] 107s Get:73 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-bitarray amd64 2.9.2-1build1 [149 kB] 107s Get:74 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-bitstruct amd64 8.19.0-1 [24.7 kB] 107s Get:75 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-bpack all 1.1.0-2 [34.5 kB] 107s Get:76 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-defusedxml all 0.7.1-2 [42.0 kB] 107s Get:77 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-roman all 4.2-1 [10.0 kB] 107s Get:78 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-docutils all 0.21.2+dfsg-2 [409 kB] 107s Get:79 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-imagesize all 1.4.1-1 [6844 B] 107s Get:80 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-iniconfig all 1.1.1-2 [6024 B] 107s Get:81 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-numpy amd64 1:1.26.4+ds-11build1 [4479 kB] 107s Get:82 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pluggy all 1.5.0-1 [21.0 kB] 107s Get:83 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pytest all 8.3.3-1 [251 kB] 107s Get:84 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-snowballstemmer all 2.2.0-4build1 [59.8 kB] 107s Get:85 http://ftpmaster.internal/ubuntu plucky/main amd64 sphinx-common all 7.4.7-4 [775 kB] 107s Get:86 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-alabaster all 0.7.16-0.1 [18.5 kB] 107s Get:87 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-sphinx all 7.4.7-4 [593 kB] 107s Get:88 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-sphinxcontrib.jquery all 4.1-5 [6678 B] 107s Get:89 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-sphinx-rtd-theme all 3.0.1+dfsg-1 [23.5 kB] 107s Fetched 92.1 MB in 1s (115 MB/s) 107s Selecting previously unselected package fonts-lato. 107s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75548 files and directories currently installed.) 107s Preparing to unpack .../00-fonts-lato_2.015-1_all.deb ... 107s Unpacking fonts-lato (2.015-1) ... 107s Selecting previously unselected package libpython3.13-minimal:amd64. 107s Preparing to unpack .../01-libpython3.13-minimal_3.13.0-2_amd64.deb ... 107s Unpacking libpython3.13-minimal:amd64 (3.13.0-2) ... 107s Selecting previously unselected package python3.13-minimal. 107s Preparing to unpack .../02-python3.13-minimal_3.13.0-2_amd64.deb ... 107s Unpacking python3.13-minimal (3.13.0-2) ... 108s Selecting previously unselected package sgml-base. 108s Preparing to unpack .../03-sgml-base_1.31_all.deb ... 108s Unpacking sgml-base (1.31) ... 108s Selecting previously unselected package m4. 108s Preparing to unpack .../04-m4_1.4.19-4build1_amd64.deb ... 108s Unpacking m4 (1.4.19-4build1) ... 108s Selecting previously unselected package autoconf. 108s Preparing to unpack .../05-autoconf_2.72-3_all.deb ... 108s Unpacking autoconf (2.72-3) ... 108s Selecting previously unselected package autotools-dev. 108s Preparing to unpack .../06-autotools-dev_20220109.1_all.deb ... 108s Unpacking autotools-dev (20220109.1) ... 108s Selecting previously unselected package automake. 108s Preparing to unpack .../07-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 108s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 108s Selecting previously unselected package autopoint. 108s Preparing to unpack .../08-autopoint_0.22.5-2_all.deb ... 108s Unpacking autopoint (0.22.5-2) ... 108s Selecting previously unselected package libisl23:amd64. 108s Preparing to unpack .../09-libisl23_0.27-1_amd64.deb ... 108s Unpacking libisl23:amd64 (0.27-1) ... 108s Selecting previously unselected package libmpc3:amd64. 108s Preparing to unpack .../10-libmpc3_1.3.1-1build2_amd64.deb ... 108s Unpacking libmpc3:amd64 (1.3.1-1build2) ... 108s Selecting previously unselected package cpp-14-x86-64-linux-gnu. 108s Preparing to unpack .../11-cpp-14-x86-64-linux-gnu_14.2.0-8ubuntu1_amd64.deb ... 108s Unpacking cpp-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 108s Selecting previously unselected package cpp-14. 108s Preparing to unpack .../12-cpp-14_14.2.0-8ubuntu1_amd64.deb ... 108s Unpacking cpp-14 (14.2.0-8ubuntu1) ... 108s Selecting previously unselected package cpp-x86-64-linux-gnu. 108s Preparing to unpack .../13-cpp-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 108s Unpacking cpp-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 108s Selecting previously unselected package cpp. 108s Preparing to unpack .../14-cpp_4%3a14.1.0-2ubuntu1_amd64.deb ... 108s Unpacking cpp (4:14.1.0-2ubuntu1) ... 108s Selecting previously unselected package libcc1-0:amd64. 108s Preparing to unpack .../15-libcc1-0_14.2.0-8ubuntu1_amd64.deb ... 108s Unpacking libcc1-0:amd64 (14.2.0-8ubuntu1) ... 108s Selecting previously unselected package libgomp1:amd64. 108s Preparing to unpack .../16-libgomp1_14.2.0-8ubuntu1_amd64.deb ... 108s Unpacking libgomp1:amd64 (14.2.0-8ubuntu1) ... 108s Selecting previously unselected package libitm1:amd64. 108s Preparing to unpack .../17-libitm1_14.2.0-8ubuntu1_amd64.deb ... 108s Unpacking libitm1:amd64 (14.2.0-8ubuntu1) ... 108s Selecting previously unselected package libasan8:amd64. 108s Preparing to unpack .../18-libasan8_14.2.0-8ubuntu1_amd64.deb ... 108s Unpacking libasan8:amd64 (14.2.0-8ubuntu1) ... 108s Selecting previously unselected package liblsan0:amd64. 108s Preparing to unpack .../19-liblsan0_14.2.0-8ubuntu1_amd64.deb ... 108s Unpacking liblsan0:amd64 (14.2.0-8ubuntu1) ... 108s Selecting previously unselected package libtsan2:amd64. 108s Preparing to unpack .../20-libtsan2_14.2.0-8ubuntu1_amd64.deb ... 108s Unpacking libtsan2:amd64 (14.2.0-8ubuntu1) ... 109s Selecting previously unselected package libubsan1:amd64. 109s Preparing to unpack .../21-libubsan1_14.2.0-8ubuntu1_amd64.deb ... 109s Unpacking libubsan1:amd64 (14.2.0-8ubuntu1) ... 109s Selecting previously unselected package libhwasan0:amd64. 109s Preparing to unpack .../22-libhwasan0_14.2.0-8ubuntu1_amd64.deb ... 109s Unpacking libhwasan0:amd64 (14.2.0-8ubuntu1) ... 109s Selecting previously unselected package libquadmath0:amd64. 109s Preparing to unpack .../23-libquadmath0_14.2.0-8ubuntu1_amd64.deb ... 109s Unpacking libquadmath0:amd64 (14.2.0-8ubuntu1) ... 109s Selecting previously unselected package libgcc-14-dev:amd64. 109s Preparing to unpack .../24-libgcc-14-dev_14.2.0-8ubuntu1_amd64.deb ... 109s Unpacking libgcc-14-dev:amd64 (14.2.0-8ubuntu1) ... 109s Selecting previously unselected package gcc-14-x86-64-linux-gnu. 109s Preparing to unpack .../25-gcc-14-x86-64-linux-gnu_14.2.0-8ubuntu1_amd64.deb ... 109s Unpacking gcc-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 109s Selecting previously unselected package gcc-14. 109s Preparing to unpack .../26-gcc-14_14.2.0-8ubuntu1_amd64.deb ... 109s Unpacking gcc-14 (14.2.0-8ubuntu1) ... 109s Selecting previously unselected package gcc-x86-64-linux-gnu. 109s Preparing to unpack .../27-gcc-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 109s Unpacking gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 109s Selecting previously unselected package gcc. 109s Preparing to unpack .../28-gcc_4%3a14.1.0-2ubuntu1_amd64.deb ... 109s Unpacking gcc (4:14.1.0-2ubuntu1) ... 109s Selecting previously unselected package libstdc++-14-dev:amd64. 109s Preparing to unpack .../29-libstdc++-14-dev_14.2.0-8ubuntu1_amd64.deb ... 109s Unpacking libstdc++-14-dev:amd64 (14.2.0-8ubuntu1) ... 110s Selecting previously unselected package g++-14-x86-64-linux-gnu. 110s Preparing to unpack .../30-g++-14-x86-64-linux-gnu_14.2.0-8ubuntu1_amd64.deb ... 110s Unpacking g++-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 110s Selecting previously unselected package g++-14. 110s Preparing to unpack .../31-g++-14_14.2.0-8ubuntu1_amd64.deb ... 110s Unpacking g++-14 (14.2.0-8ubuntu1) ... 110s Selecting previously unselected package g++-x86-64-linux-gnu. 110s Preparing to unpack .../32-g++-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 110s Unpacking g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 110s Selecting previously unselected package g++. 110s Preparing to unpack .../33-g++_4%3a14.1.0-2ubuntu1_amd64.deb ... 110s Unpacking g++ (4:14.1.0-2ubuntu1) ... 110s Selecting previously unselected package build-essential. 110s Preparing to unpack .../34-build-essential_12.10ubuntu1_amd64.deb ... 110s Unpacking build-essential (12.10ubuntu1) ... 110s Selecting previously unselected package libdebhelper-perl. 110s Preparing to unpack .../35-libdebhelper-perl_13.20ubuntu1_all.deb ... 110s Unpacking libdebhelper-perl (13.20ubuntu1) ... 110s Selecting previously unselected package libtool. 110s Preparing to unpack .../36-libtool_2.4.7-7build1_all.deb ... 110s Unpacking libtool (2.4.7-7build1) ... 110s Selecting previously unselected package dh-autoreconf. 110s Preparing to unpack .../37-dh-autoreconf_20_all.deb ... 110s Unpacking dh-autoreconf (20) ... 110s Selecting previously unselected package libarchive-zip-perl. 110s Preparing to unpack .../38-libarchive-zip-perl_1.68-1_all.deb ... 110s Unpacking libarchive-zip-perl (1.68-1) ... 110s Selecting previously unselected package libfile-stripnondeterminism-perl. 110s Preparing to unpack .../39-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 110s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 110s Selecting previously unselected package dh-strip-nondeterminism. 110s Preparing to unpack .../40-dh-strip-nondeterminism_1.14.0-1_all.deb ... 110s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 110s Selecting previously unselected package debugedit. 110s Preparing to unpack .../41-debugedit_1%3a5.1-1_amd64.deb ... 110s Unpacking debugedit (1:5.1-1) ... 110s Selecting previously unselected package dwz. 110s Preparing to unpack .../42-dwz_0.15-1build6_amd64.deb ... 110s Unpacking dwz (0.15-1build6) ... 110s Selecting previously unselected package gettext. 110s Preparing to unpack .../43-gettext_0.22.5-2_amd64.deb ... 110s Unpacking gettext (0.22.5-2) ... 110s Selecting previously unselected package intltool-debian. 110s Preparing to unpack .../44-intltool-debian_0.35.0+20060710.6_all.deb ... 110s Unpacking intltool-debian (0.35.0+20060710.6) ... 110s Selecting previously unselected package po-debconf. 110s Preparing to unpack .../45-po-debconf_1.0.21+nmu1_all.deb ... 110s Unpacking po-debconf (1.0.21+nmu1) ... 110s Selecting previously unselected package debhelper. 110s Preparing to unpack .../46-debhelper_13.20ubuntu1_all.deb ... 110s Unpacking debhelper (13.20ubuntu1) ... 110s Selecting previously unselected package dh-python. 110s Preparing to unpack .../47-dh-python_6.20241024_all.deb ... 110s Unpacking dh-python (6.20241024) ... 110s Selecting previously unselected package xml-core. 110s Preparing to unpack .../48-xml-core_0.19_all.deb ... 110s Unpacking xml-core (0.19) ... 111s Selecting previously unselected package docutils-common. 111s Preparing to unpack .../49-docutils-common_0.21.2+dfsg-2_all.deb ... 111s Unpacking docutils-common (0.21.2+dfsg-2) ... 111s Selecting previously unselected package fonts-font-awesome. 111s Preparing to unpack .../50-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 111s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 111s Selecting previously unselected package libblas3:amd64. 111s Preparing to unpack .../51-libblas3_3.12.0-3build2_amd64.deb ... 111s Unpacking libblas3:amd64 (3.12.0-3build2) ... 111s Selecting previously unselected package libgfortran5:amd64. 111s Preparing to unpack .../52-libgfortran5_14.2.0-8ubuntu1_amd64.deb ... 111s Unpacking libgfortran5:amd64 (14.2.0-8ubuntu1) ... 111s Selecting previously unselected package libjs-jquery. 111s Preparing to unpack .../53-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 111s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 111s Selecting previously unselected package libjs-underscore. 111s Preparing to unpack .../54-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 111s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 111s Selecting previously unselected package libjs-sphinxdoc. 111s Preparing to unpack .../55-libjs-sphinxdoc_7.4.7-4_all.deb ... 111s Unpacking libjs-sphinxdoc (7.4.7-4) ... 111s Selecting previously unselected package libjson-perl. 111s Preparing to unpack .../56-libjson-perl_4.10000-1_all.deb ... 111s Unpacking libjson-perl (4.10000-1) ... 111s Selecting previously unselected package liblapack3:amd64. 111s Preparing to unpack .../57-liblapack3_3.12.0-3build2_amd64.deb ... 111s Unpacking liblapack3:amd64 (3.12.0-3build2) ... 111s Selecting previously unselected package libpython3.13-stdlib:amd64. 111s Preparing to unpack .../58-libpython3.13-stdlib_3.13.0-2_amd64.deb ... 111s Unpacking libpython3.13-stdlib:amd64 (3.13.0-2) ... 111s Selecting previously unselected package pybuild-plugin-autopkgtest. 111s Preparing to unpack .../59-pybuild-plugin-autopkgtest_6.20241024_all.deb ... 111s Unpacking pybuild-plugin-autopkgtest (6.20241024) ... 111s Selecting previously unselected package python3-packaging. 111s Preparing to unpack .../60-python3-packaging_24.1-1_all.deb ... 111s Unpacking python3-packaging (24.1-1) ... 111s Selecting previously unselected package python3-pyproject-hooks. 111s Preparing to unpack .../61-python3-pyproject-hooks_1.2.0-1_all.deb ... 111s Unpacking python3-pyproject-hooks (1.2.0-1) ... 111s Selecting previously unselected package python3-toml. 111s Preparing to unpack .../62-python3-toml_0.10.2-1_all.deb ... 111s Unpacking python3-toml (0.10.2-1) ... 111s Selecting previously unselected package python3-wheel. 111s Preparing to unpack .../63-python3-wheel_0.44.0-1_all.deb ... 111s Unpacking python3-wheel (0.44.0-1) ... 111s Selecting previously unselected package python3-build. 111s Preparing to unpack .../64-python3-build_1.2.2-1_all.deb ... 111s Unpacking python3-build (1.2.2-1) ... 111s Selecting previously unselected package python3-installer. 111s Preparing to unpack .../65-python3-installer_0.7.0+dfsg1-3_all.deb ... 111s Unpacking python3-installer (0.7.0+dfsg1-3) ... 111s Selecting previously unselected package pybuild-plugin-pyproject. 111s Preparing to unpack .../66-pybuild-plugin-pyproject_6.20241024_all.deb ... 111s Unpacking pybuild-plugin-pyproject (6.20241024) ... 111s Selecting previously unselected package sphinx-rtd-theme-common. 111s Preparing to unpack .../67-sphinx-rtd-theme-common_3.0.1+dfsg-1_all.deb ... 111s Unpacking sphinx-rtd-theme-common (3.0.1+dfsg-1) ... 111s Selecting previously unselected package python-bpack-doc. 111s Preparing to unpack .../68-python-bpack-doc_1.1.0-2_all.deb ... 111s Unpacking python-bpack-doc (1.1.0-2) ... 111s Selecting previously unselected package python3.13. 111s Preparing to unpack .../69-python3.13_3.13.0-2_amd64.deb ... 111s Unpacking python3.13 (3.13.0-2) ... 111s Selecting previously unselected package python3-all. 111s Preparing to unpack .../70-python3-all_3.12.7-1_amd64.deb ... 111s Unpacking python3-all (3.12.7-1) ... 111s Selecting previously unselected package python3-bitarray. 111s Preparing to unpack .../71-python3-bitarray_2.9.2-1build1_amd64.deb ... 111s Unpacking python3-bitarray (2.9.2-1build1) ... 112s Selecting previously unselected package python3-bitstruct. 112s Preparing to unpack .../72-python3-bitstruct_8.19.0-1_amd64.deb ... 112s Unpacking python3-bitstruct (8.19.0-1) ... 112s Selecting previously unselected package python3-bpack. 112s Preparing to unpack .../73-python3-bpack_1.1.0-2_all.deb ... 112s Unpacking python3-bpack (1.1.0-2) ... 112s Selecting previously unselected package python3-defusedxml. 112s Preparing to unpack .../74-python3-defusedxml_0.7.1-2_all.deb ... 112s Unpacking python3-defusedxml (0.7.1-2) ... 112s Selecting previously unselected package python3-roman. 112s Preparing to unpack .../75-python3-roman_4.2-1_all.deb ... 112s Unpacking python3-roman (4.2-1) ... 112s Selecting previously unselected package python3-docutils. 112s Preparing to unpack .../76-python3-docutils_0.21.2+dfsg-2_all.deb ... 112s Unpacking python3-docutils (0.21.2+dfsg-2) ... 112s Selecting previously unselected package python3-imagesize. 112s Preparing to unpack .../77-python3-imagesize_1.4.1-1_all.deb ... 112s Unpacking python3-imagesize (1.4.1-1) ... 112s Selecting previously unselected package python3-iniconfig. 112s Preparing to unpack .../78-python3-iniconfig_1.1.1-2_all.deb ... 112s Unpacking python3-iniconfig (1.1.1-2) ... 112s Selecting previously unselected package python3-numpy. 112s Preparing to unpack .../79-python3-numpy_1%3a1.26.4+ds-11build1_amd64.deb ... 112s Unpacking python3-numpy (1:1.26.4+ds-11build1) ... 112s Selecting previously unselected package python3-pluggy. 112s Preparing to unpack .../80-python3-pluggy_1.5.0-1_all.deb ... 112s Unpacking python3-pluggy (1.5.0-1) ... 112s Selecting previously unselected package python3-pytest. 112s Preparing to unpack .../81-python3-pytest_8.3.3-1_all.deb ... 112s Unpacking python3-pytest (8.3.3-1) ... 112s Selecting previously unselected package python3-snowballstemmer. 112s Preparing to unpack .../82-python3-snowballstemmer_2.2.0-4build1_all.deb ... 112s Unpacking python3-snowballstemmer (2.2.0-4build1) ... 112s Selecting previously unselected package sphinx-common. 112s Preparing to unpack .../83-sphinx-common_7.4.7-4_all.deb ... 112s Unpacking sphinx-common (7.4.7-4) ... 112s Selecting previously unselected package python3-alabaster. 112s Preparing to unpack .../84-python3-alabaster_0.7.16-0.1_all.deb ... 112s Unpacking python3-alabaster (0.7.16-0.1) ... 112s Selecting previously unselected package python3-sphinx. 112s Preparing to unpack .../85-python3-sphinx_7.4.7-4_all.deb ... 112s Unpacking python3-sphinx (7.4.7-4) ... 112s Selecting previously unselected package python3-sphinxcontrib.jquery. 112s Preparing to unpack .../86-python3-sphinxcontrib.jquery_4.1-5_all.deb ... 112s Unpacking python3-sphinxcontrib.jquery (4.1-5) ... 112s Selecting previously unselected package python3-sphinx-rtd-theme. 112s Preparing to unpack .../87-python3-sphinx-rtd-theme_3.0.1+dfsg-1_all.deb ... 112s Unpacking python3-sphinx-rtd-theme (3.0.1+dfsg-1) ... 112s Selecting previously unselected package autopkgtest-satdep. 112s Preparing to unpack .../88-1-autopkgtest-satdep.deb ... 112s Unpacking autopkgtest-satdep (0) ... 112s Setting up dh-python (6.20241024) ... 112s Setting up python3-iniconfig (1.1.1-2) ... 113s Setting up fonts-lato (2.015-1) ... 113s Setting up python3-defusedxml (0.7.1-2) ... 113s Setting up libarchive-zip-perl (1.68-1) ... 113s Setting up python3-alabaster (0.7.16-0.1) ... 113s Setting up libdebhelper-perl (13.20ubuntu1) ... 113s Setting up m4 (1.4.19-4build1) ... 113s Setting up libgomp1:amd64 (14.2.0-8ubuntu1) ... 113s Setting up python3-wheel (0.44.0-1) ... 113s Setting up python3-bpack (1.1.0-2) ... 114s Setting up libpython3.13-minimal:amd64 (3.13.0-2) ... 114s Setting up python3-bitarray (2.9.2-1build1) ... 114s Setting up python3-roman (4.2-1) ... 114s Setting up autotools-dev (20220109.1) ... 114s Setting up libblas3:amd64 (3.12.0-3build2) ... 114s update-alternatives: using /usr/lib/x86_64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/x86_64-linux-gnu/libblas.so.3 (libblas.so.3-x86_64-linux-gnu) in auto mode 114s Setting up python3-packaging (24.1-1) ... 114s Setting up python3-pyproject-hooks (1.2.0-1) ... 114s Setting up python3-snowballstemmer (2.2.0-4build1) ... 115s Setting up libquadmath0:amd64 (14.2.0-8ubuntu1) ... 115s Setting up libmpc3:amd64 (1.3.1-1build2) ... 115s Setting up autopoint (0.22.5-2) ... 115s Setting up python3-toml (0.10.2-1) ... 115s Setting up python3-installer (0.7.0+dfsg1-3) ... 115s Setting up libgfortran5:amd64 (14.2.0-8ubuntu1) ... 115s Setting up python3-bitstruct (8.19.0-1) ... 116s Setting up autoconf (2.72-3) ... 116s Setting up python3-pluggy (1.5.0-1) ... 116s Setting up libubsan1:amd64 (14.2.0-8ubuntu1) ... 116s Setting up dwz (0.15-1build6) ... 116s Setting up libhwasan0:amd64 (14.2.0-8ubuntu1) ... 116s Setting up libasan8:amd64 (14.2.0-8ubuntu1) ... 116s Setting up libjson-perl (4.10000-1) ... 116s Setting up debugedit (1:5.1-1) ... 116s Setting up python3.13-minimal (3.13.0-2) ... 117s Setting up sgml-base (1.31) ... 117s Setting up libtsan2:amd64 (14.2.0-8ubuntu1) ... 117s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 117s Setting up libisl23:amd64 (0.27-1) ... 117s Setting up python3-build (1.2.2-1) ... 117s Setting up libpython3.13-stdlib:amd64 (3.13.0-2) ... 117s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 117s Setting up sphinx-rtd-theme-common (3.0.1+dfsg-1) ... 117s Setting up libcc1-0:amd64 (14.2.0-8ubuntu1) ... 117s Setting up liblsan0:amd64 (14.2.0-8ubuntu1) ... 117s Setting up libitm1:amd64 (14.2.0-8ubuntu1) ... 117s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 117s Setting up python3-imagesize (1.4.1-1) ... 117s Setting up automake (1:1.16.5-1.3ubuntu1) ... 117s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 117s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 117s Setting up liblapack3:amd64 (3.12.0-3build2) ... 117s update-alternatives: using /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/x86_64-linux-gnu/liblapack.so.3 (liblapack.so.3-x86_64-linux-gnu) in auto mode 117s Setting up gettext (0.22.5-2) ... 117s Setting up python3.13 (3.13.0-2) ... 118s Setting up pybuild-plugin-pyproject (6.20241024) ... 118s Setting up python3-pytest (8.3.3-1) ... 119s Setting up python3-all (3.12.7-1) ... 119s Setting up intltool-debian (0.35.0+20060710.6) ... 119s Setting up cpp-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 119s Setting up python3-numpy (1:1.26.4+ds-11build1) ... 123s Setting up libjs-sphinxdoc (7.4.7-4) ... 123s Setting up cpp-14 (14.2.0-8ubuntu1) ... 123s Setting up dh-strip-nondeterminism (1.14.0-1) ... 123s Setting up xml-core (0.19) ... 123s Setting up libgcc-14-dev:amd64 (14.2.0-8ubuntu1) ... 123s Setting up libstdc++-14-dev:amd64 (14.2.0-8ubuntu1) ... 123s Setting up cpp-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 123s Setting up po-debconf (1.0.21+nmu1) ... 123s Setting up python-bpack-doc (1.1.0-2) ... 123s Setting up sphinx-common (7.4.7-4) ... 123s Setting up cpp (4:14.1.0-2ubuntu1) ... 123s Setting up gcc-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 123s Setting up gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 123s Setting up gcc-14 (14.2.0-8ubuntu1) ... 123s Setting up g++-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 123s Setting up g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 123s Setting up g++-14 (14.2.0-8ubuntu1) ... 123s Setting up libtool (2.4.7-7build1) ... 123s Setting up gcc (4:14.1.0-2ubuntu1) ... 123s Setting up dh-autoreconf (20) ... 123s Setting up g++ (4:14.1.0-2ubuntu1) ... 123s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 123s Setting up build-essential (12.10ubuntu1) ... 123s Setting up debhelper (13.20ubuntu1) ... 123s Setting up pybuild-plugin-autopkgtest (6.20241024) ... 123s Processing triggers for libc-bin (2.40-1ubuntu3) ... 123s Processing triggers for systemd (256.5-2ubuntu4) ... 123s Processing triggers for man-db (2.12.1-3) ... 124s Processing triggers for install-info (7.1.1-1) ... 124s Processing triggers for sgml-base (1.31) ... 124s Setting up docutils-common (0.21.2+dfsg-2) ... 125s Processing triggers for sgml-base (1.31) ... 125s Setting up python3-docutils (0.21.2+dfsg-2) ... 125s Setting up python3-sphinx (7.4.7-4) ... 127s Setting up python3-sphinxcontrib.jquery (4.1-5) ... 127s Setting up python3-sphinx-rtd-theme (3.0.1+dfsg-1) ... 127s Setting up autopkgtest-satdep (0) ... 130s (Reading database ... 81590 files and directories currently installed.) 130s Removing autopkgtest-satdep (0) ... 130s autopkgtest [08:11:16]: test pybuild-autopkgtest: pybuild-autopkgtest 130s autopkgtest [08:11:16]: test pybuild-autopkgtest: [----------------------- 130s pybuild-autopkgtest 131s I: pybuild base:311: cd /tmp/autopkgtest.fRmfMO/autopkgtest_tmp/build; python3.13 -m pytest --pyargs bpack 132s ============================= test session starts ============================== 132s platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 132s rootdir: /tmp/autopkgtest.fRmfMO/autopkgtest_tmp/build 132s configfile: pyproject.toml 132s plugins: typeguard-4.4.1 132s collected 1701 items / 2 skipped 132s 132s tests/test_backends_codec.py .s.sFsFs..ss....sFFssFFFFs..ss....FFssFFFFF [ 2%] 134s sFFsFs.s.sFsFsFFFsF.s.sFsFsFFsFFFFFFsFFsFFsFFsFFsFFsFFFFFFFFFFFF [ 6%] 134s tests/test_codecs.py FF [ 6%] 134s tests/test_desctiptor_utils.py ......................... [ 7%] 134s tests/test_field_descriptor.py ......................................... [ 10%] 134s ............... [ 11%] 134s tests/test_packbits.py .........s.ss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ss.ss [ 14%] 134s .sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 18%] 134s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 22%] 134s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 26%] 134s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 30%] 134s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 35%] 134s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 39%] 134s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 43%] 134s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 47%] 134s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 52%] 134s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 56%] 134s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 60%] 134s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 64%] 134s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 69%] 134s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 73%] 134s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 77%] 134s ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 81%] 134s ssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 85%] 135s tests/test_record_descriptor.py ........................................ [ 87%] 135s ................... [ 88%] 135s tests/test_typing.py ................................................... [ 91%] 135s ........................................................................ [ 95%] 135s .................................................... [ 98%] 135s tests/test_utils.py .................... [100%] 135s 135s =================================== FAILURES =================================== 135s ________________________________ test_attrs[bs] ________________________________ 135s 135s backend = 135s 135s @pytest.mark.parametrize("backend", ALL_BACKENDS) 135s def test_attrs(backend): 135s codec = getattr(backend, "codec", backend.decoder) 135s 135s > @codec 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:60: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s ________________________________ test_attrs[st] ________________________________ 135s 135s backend = 135s 135s @pytest.mark.parametrize("backend", ALL_BACKENDS) 135s def test_attrs(backend): 135s codec = getattr(backend, "codec", backend.decoder) 135s 135s > @codec 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:60: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s ___________________________ test_decoder_func[st BE] ___________________________ 135s 135s backend = 135s Record = 135s encoded_data = b'\x00\x01\xff\x01\x00\x02\xff\xfe\x00\x02\x00\x00\x00\x04\xff\xff\xff\xfc\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00...\xff\xff\xff\xff\xff\xff\xf8\x00\x00\x00\x00\x00\x00\x00\x08I\x00B\xc8\x00\x00@\x8f@\x00\x00\x00\x00\x00abcABCxxxx1234' 135s 135s @pytest.mark.parametrize( 135s "backend, Record, encoded_data", 135s [ 135s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 135s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 135s pytest.param( 135s bpack_np, 135s ByteRecordBe, 135s BYTE_ENCODED_DATA_BE, 135s id="np BE", 135s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 135s ), 135s pytest.param( 135s bpack_np, 135s ByteRecordLe, 135s BYTE_ENCODED_DATA_LE, 135s id="np LE", 135s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordBeMsb, 135s BIT_ENCODED_DATA_BE_MSB, 135s id="bs BE MSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordLeMsb, 135s BIT_ENCODED_DATA_LE_MSB, 135s id="bs LE MSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordBeLsb, 135s BIT_ENCODED_DATA_BE_LSB, 135s id="bs BE LSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordLeLsb, 135s BIT_ENCODED_DATA_LE_LSB, 135s id="bs LE LSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_ba, 135s BitRecordBeMsb, 135s BIT_ENCODED_DATA_BE_MSB, 135s id="ba BE MSB", 135s marks=pytest.mark.skipif(not bpack_ba, reason="not available"), 135s ), 135s ], 135s ) 135s def test_decoder_func(backend, Record, encoded_data): # noqa: N803 135s decoded_data = Record() 135s 135s > record_type = backend.decoder(Record) 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:601: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s ___________________________ test_decoder_func[st LE] ___________________________ 135s 135s backend = 135s Record = 135s encoded_data = b'\x00\x01\xff\x01\x02\x00\xfe\xff\x02\x00\x04\x00\x00\x00\xfc\xff\xff\xff\x04\x00\x00\x00\x08\x00\x00\x00\x00\x00\x00...\xff\xff\xff\xff\xff\xff\xff\x08\x00\x00\x00\x00\x00\x00\x00\x00I\x00\x00\xc8B\x00\x00\x00\x00\x00@\x8f@abcABCxxxx1234' 135s 135s @pytest.mark.parametrize( 135s "backend, Record, encoded_data", 135s [ 135s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 135s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 135s pytest.param( 135s bpack_np, 135s ByteRecordBe, 135s BYTE_ENCODED_DATA_BE, 135s id="np BE", 135s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 135s ), 135s pytest.param( 135s bpack_np, 135s ByteRecordLe, 135s BYTE_ENCODED_DATA_LE, 135s id="np LE", 135s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordBeMsb, 135s BIT_ENCODED_DATA_BE_MSB, 135s id="bs BE MSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordLeMsb, 135s BIT_ENCODED_DATA_LE_MSB, 135s id="bs LE MSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordBeLsb, 135s BIT_ENCODED_DATA_BE_LSB, 135s id="bs BE LSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordLeLsb, 135s BIT_ENCODED_DATA_LE_LSB, 135s id="bs LE LSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_ba, 135s BitRecordBeMsb, 135s BIT_ENCODED_DATA_BE_MSB, 135s id="ba BE MSB", 135s marks=pytest.mark.skipif(not bpack_ba, reason="not available"), 135s ), 135s ], 135s ) 135s def test_decoder_func(backend, Record, encoded_data): # noqa: N803 135s decoded_data = Record() 135s 135s > record_type = backend.decoder(Record) 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:601: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s _________________________ test_decoder_func[bs BE MSB] _________________________ 135s 135s backend = 135s Record = 135s encoded_data = b'\xc8\x00?\x80\x00\x00abcABC\x07\xff\xff\xffH\x00\x80\x00\x00\x00\xc8\x00\x80\x00\x00\x00' 135s 135s @pytest.mark.parametrize( 135s "backend, Record, encoded_data", 135s [ 135s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 135s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 135s pytest.param( 135s bpack_np, 135s ByteRecordBe, 135s BYTE_ENCODED_DATA_BE, 135s id="np BE", 135s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 135s ), 135s pytest.param( 135s bpack_np, 135s ByteRecordLe, 135s BYTE_ENCODED_DATA_LE, 135s id="np LE", 135s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordBeMsb, 135s BIT_ENCODED_DATA_BE_MSB, 135s id="bs BE MSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordLeMsb, 135s BIT_ENCODED_DATA_LE_MSB, 135s id="bs LE MSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordBeLsb, 135s BIT_ENCODED_DATA_BE_LSB, 135s id="bs BE LSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordLeLsb, 135s BIT_ENCODED_DATA_LE_LSB, 135s id="bs LE LSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_ba, 135s BitRecordBeMsb, 135s BIT_ENCODED_DATA_BE_MSB, 135s id="ba BE MSB", 135s marks=pytest.mark.skipif(not bpack_ba, reason="not available"), 135s ), 135s ], 135s ) 135s def test_decoder_func(backend, Record, encoded_data): # noqa: N803 135s decoded_data = Record() 135s 135s > record_type = backend.decoder(Record) 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:601: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s _________________________ test_decoder_func[bs LE MSB] _________________________ 135s 135s backend = 135s Record = 135s encoded_data = b'\xc0\x80\x00\x00\x80?abcABC\x0f\xff\xff\x7f@\x80\x00\x00\x00\x80\xc0\x80\x00\x00\x00\x80' 135s 135s @pytest.mark.parametrize( 135s "backend, Record, encoded_data", 135s [ 135s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 135s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 135s pytest.param( 135s bpack_np, 135s ByteRecordBe, 135s BYTE_ENCODED_DATA_BE, 135s id="np BE", 135s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 135s ), 135s pytest.param( 135s bpack_np, 135s ByteRecordLe, 135s BYTE_ENCODED_DATA_LE, 135s id="np LE", 135s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordBeMsb, 135s BIT_ENCODED_DATA_BE_MSB, 135s id="bs BE MSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordLeMsb, 135s BIT_ENCODED_DATA_LE_MSB, 135s id="bs LE MSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordBeLsb, 135s BIT_ENCODED_DATA_BE_LSB, 135s id="bs BE LSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordLeLsb, 135s BIT_ENCODED_DATA_LE_LSB, 135s id="bs LE LSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_ba, 135s BitRecordBeMsb, 135s BIT_ENCODED_DATA_BE_MSB, 135s id="ba BE MSB", 135s marks=pytest.mark.skipif(not bpack_ba, reason="not available"), 135s ), 135s ], 135s ) 135s def test_decoder_func(backend, Record, encoded_data): # noqa: N803 135s decoded_data = Record() 135s 135s > record_type = backend.decoder(Record) 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:601: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s _________________________ test_decoder_func[bs BE LSB] _________________________ 135s 135s backend = 135s Record = 135s encoded_data = b'\x90\x01\x00\x00\x01\xfc\xc6F\x86\xc2B\x82\x0f\xff\xff\xfe\x10\x01\x00\x00\x00\x01\x90\x01\x00\x00\x00\x01' 135s 135s @pytest.mark.parametrize( 135s "backend, Record, encoded_data", 135s [ 135s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 135s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 135s pytest.param( 135s bpack_np, 135s ByteRecordBe, 135s BYTE_ENCODED_DATA_BE, 135s id="np BE", 135s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 135s ), 135s pytest.param( 135s bpack_np, 135s ByteRecordLe, 135s BYTE_ENCODED_DATA_LE, 135s id="np LE", 135s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordBeMsb, 135s BIT_ENCODED_DATA_BE_MSB, 135s id="bs BE MSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordLeMsb, 135s BIT_ENCODED_DATA_LE_MSB, 135s id="bs LE MSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordBeLsb, 135s BIT_ENCODED_DATA_BE_LSB, 135s id="bs BE LSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordLeLsb, 135s BIT_ENCODED_DATA_LE_LSB, 135s id="bs LE LSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_ba, 135s BitRecordBeMsb, 135s BIT_ENCODED_DATA_BE_MSB, 135s id="ba BE MSB", 135s marks=pytest.mark.skipif(not bpack_ba, reason="not available"), 135s ), 135s ], 135s ) 135s def test_decoder_func(backend, Record, encoded_data): # noqa: N803 135s decoded_data = Record() 135s 135s > record_type = backend.decoder(Record) 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:601: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s _________________________ test_decoder_func[bs LE LSB] _________________________ 135s 135s backend = 135s Record = 135s encoded_data = b'\x91\x00\xfc\x01\x00\x00\xc6F\x86\xc2B\x82\x0e\xff\xff\xff\x11\x00\x01\x00\x00\x00\x91\x00\x01\x00\x00\x00' 135s 135s @pytest.mark.parametrize( 135s "backend, Record, encoded_data", 135s [ 135s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 135s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 135s pytest.param( 135s bpack_np, 135s ByteRecordBe, 135s BYTE_ENCODED_DATA_BE, 135s id="np BE", 135s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 135s ), 135s pytest.param( 135s bpack_np, 135s ByteRecordLe, 135s BYTE_ENCODED_DATA_LE, 135s id="np LE", 135s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordBeMsb, 135s BIT_ENCODED_DATA_BE_MSB, 135s id="bs BE MSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordLeMsb, 135s BIT_ENCODED_DATA_LE_MSB, 135s id="bs LE MSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordBeLsb, 135s BIT_ENCODED_DATA_BE_LSB, 135s id="bs BE LSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordLeLsb, 135s BIT_ENCODED_DATA_LE_LSB, 135s id="bs LE LSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_ba, 135s BitRecordBeMsb, 135s BIT_ENCODED_DATA_BE_MSB, 135s id="ba BE MSB", 135s marks=pytest.mark.skipif(not bpack_ba, reason="not available"), 135s ), 135s ], 135s ) 135s def test_decoder_func(backend, Record, encoded_data): # noqa: N803 135s decoded_data = Record() 135s 135s > record_type = backend.decoder(Record) 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:601: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s ___________________________ test_encoder_func[st BE] ___________________________ 135s 135s backend = 135s Record = 135s encoded_data = b'\x00\x01\xff\x01\x00\x02\xff\xfe\x00\x02\x00\x00\x00\x04\xff\xff\xff\xfc\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00...\xff\xff\xff\xff\xff\xff\xf8\x00\x00\x00\x00\x00\x00\x00\x08I\x00B\xc8\x00\x00@\x8f@\x00\x00\x00\x00\x00abcABCxxxx1234' 135s 135s @pytest.mark.parametrize( 135s "backend, Record, encoded_data", 135s [ 135s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 135s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 135s pytest.param( 135s bpack_np, 135s ByteRecordBe, 135s BYTE_ENCODED_DATA_BE, 135s id="np BE", 135s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 135s ), 135s pytest.param( 135s bpack_np, 135s ByteRecordLe, 135s BYTE_ENCODED_DATA_LE, 135s id="np LE", 135s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordBeMsb, 135s BIT_ENCODED_DATA_BE_MSB, 135s id="bs BE MSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordLeMsb, 135s BIT_ENCODED_DATA_LE_MSB, 135s id="bs LE MSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordBeLsb, 135s BIT_ENCODED_DATA_BE_LSB, 135s id="bs BE LSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordLeLsb, 135s BIT_ENCODED_DATA_LE_LSB, 135s id="bs LE LSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s ], 135s ) 135s def test_encoder_func(backend, Record, encoded_data): # noqa: N803 135s record = Record() 135s 135s > record_type = backend.encoder(Record) 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:732: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s ___________________________ test_encoder_func[st LE] ___________________________ 135s 135s backend = 135s Record = 135s encoded_data = b'\x00\x01\xff\x01\x02\x00\xfe\xff\x02\x00\x04\x00\x00\x00\xfc\xff\xff\xff\x04\x00\x00\x00\x08\x00\x00\x00\x00\x00\x00...\xff\xff\xff\xff\xff\xff\xff\x08\x00\x00\x00\x00\x00\x00\x00\x00I\x00\x00\xc8B\x00\x00\x00\x00\x00@\x8f@abcABCxxxx1234' 135s 135s @pytest.mark.parametrize( 135s "backend, Record, encoded_data", 135s [ 135s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 135s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 135s pytest.param( 135s bpack_np, 135s ByteRecordBe, 135s BYTE_ENCODED_DATA_BE, 135s id="np BE", 135s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 135s ), 135s pytest.param( 135s bpack_np, 135s ByteRecordLe, 135s BYTE_ENCODED_DATA_LE, 135s id="np LE", 135s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordBeMsb, 135s BIT_ENCODED_DATA_BE_MSB, 135s id="bs BE MSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordLeMsb, 135s BIT_ENCODED_DATA_LE_MSB, 135s id="bs LE MSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordBeLsb, 135s BIT_ENCODED_DATA_BE_LSB, 135s id="bs BE LSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordLeLsb, 135s BIT_ENCODED_DATA_LE_LSB, 135s id="bs LE LSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s ], 135s ) 135s def test_encoder_func(backend, Record, encoded_data): # noqa: N803 135s record = Record() 135s 135s > record_type = backend.encoder(Record) 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:732: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s _________________________ test_encoder_func[bs BE MSB] _________________________ 135s 135s backend = 135s Record = 135s encoded_data = b'\xc8\x00?\x80\x00\x00abcABC\x07\xff\xff\xffH\x00\x80\x00\x00\x00\xc8\x00\x80\x00\x00\x00' 135s 135s @pytest.mark.parametrize( 135s "backend, Record, encoded_data", 135s [ 135s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 135s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 135s pytest.param( 135s bpack_np, 135s ByteRecordBe, 135s BYTE_ENCODED_DATA_BE, 135s id="np BE", 135s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 135s ), 135s pytest.param( 135s bpack_np, 135s ByteRecordLe, 135s BYTE_ENCODED_DATA_LE, 135s id="np LE", 135s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordBeMsb, 135s BIT_ENCODED_DATA_BE_MSB, 135s id="bs BE MSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordLeMsb, 135s BIT_ENCODED_DATA_LE_MSB, 135s id="bs LE MSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordBeLsb, 135s BIT_ENCODED_DATA_BE_LSB, 135s id="bs BE LSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordLeLsb, 135s BIT_ENCODED_DATA_LE_LSB, 135s id="bs LE LSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s ], 135s ) 135s def test_encoder_func(backend, Record, encoded_data): # noqa: N803 135s record = Record() 135s 135s > record_type = backend.encoder(Record) 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:732: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s _________________________ test_encoder_func[bs LE MSB] _________________________ 135s 135s backend = 135s Record = 135s encoded_data = b'\xc0\x80\x00\x00\x80?abcABC\x0f\xff\xff\x7f@\x80\x00\x00\x00\x80\xc0\x80\x00\x00\x00\x80' 135s 135s @pytest.mark.parametrize( 135s "backend, Record, encoded_data", 135s [ 135s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 135s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 135s pytest.param( 135s bpack_np, 135s ByteRecordBe, 135s BYTE_ENCODED_DATA_BE, 135s id="np BE", 135s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 135s ), 135s pytest.param( 135s bpack_np, 135s ByteRecordLe, 135s BYTE_ENCODED_DATA_LE, 135s id="np LE", 135s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordBeMsb, 135s BIT_ENCODED_DATA_BE_MSB, 135s id="bs BE MSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordLeMsb, 135s BIT_ENCODED_DATA_LE_MSB, 135s id="bs LE MSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordBeLsb, 135s BIT_ENCODED_DATA_BE_LSB, 135s id="bs BE LSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordLeLsb, 135s BIT_ENCODED_DATA_LE_LSB, 135s id="bs LE LSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s ], 135s ) 135s def test_encoder_func(backend, Record, encoded_data): # noqa: N803 135s record = Record() 135s 135s > record_type = backend.encoder(Record) 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:732: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s _________________________ test_encoder_func[bs BE LSB] _________________________ 135s 135s backend = 135s Record = 135s encoded_data = b'\x90\x01\x00\x00\x01\xfc\xc6F\x86\xc2B\x82\x0f\xff\xff\xfe\x10\x01\x00\x00\x00\x01\x90\x01\x00\x00\x00\x01' 135s 135s @pytest.mark.parametrize( 135s "backend, Record, encoded_data", 135s [ 135s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 135s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 135s pytest.param( 135s bpack_np, 135s ByteRecordBe, 135s BYTE_ENCODED_DATA_BE, 135s id="np BE", 135s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 135s ), 135s pytest.param( 135s bpack_np, 135s ByteRecordLe, 135s BYTE_ENCODED_DATA_LE, 135s id="np LE", 135s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordBeMsb, 135s BIT_ENCODED_DATA_BE_MSB, 135s id="bs BE MSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordLeMsb, 135s BIT_ENCODED_DATA_LE_MSB, 135s id="bs LE MSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordBeLsb, 135s BIT_ENCODED_DATA_BE_LSB, 135s id="bs BE LSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordLeLsb, 135s BIT_ENCODED_DATA_LE_LSB, 135s id="bs LE LSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s ], 135s ) 135s def test_encoder_func(backend, Record, encoded_data): # noqa: N803 135s record = Record() 135s 135s > record_type = backend.encoder(Record) 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:732: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s _________________________ test_encoder_func[bs LE LSB] _________________________ 135s 135s backend = 135s Record = 135s encoded_data = b'\x91\x00\xfc\x01\x00\x00\xc6F\x86\xc2B\x82\x0e\xff\xff\xff\x11\x00\x01\x00\x00\x00\x91\x00\x01\x00\x00\x00' 135s 135s @pytest.mark.parametrize( 135s "backend, Record, encoded_data", 135s [ 135s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 135s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 135s pytest.param( 135s bpack_np, 135s ByteRecordBe, 135s BYTE_ENCODED_DATA_BE, 135s id="np BE", 135s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 135s ), 135s pytest.param( 135s bpack_np, 135s ByteRecordLe, 135s BYTE_ENCODED_DATA_LE, 135s id="np LE", 135s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordBeMsb, 135s BIT_ENCODED_DATA_BE_MSB, 135s id="bs BE MSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordLeMsb, 135s BIT_ENCODED_DATA_LE_MSB, 135s id="bs LE MSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordBeLsb, 135s BIT_ENCODED_DATA_BE_LSB, 135s id="bs BE LSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_bs, 135s BitRecordLeLsb, 135s BIT_ENCODED_DATA_LE_LSB, 135s id="bs LE LSB", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s ], 135s ) 135s def test_encoder_func(backend, Record, encoded_data): # noqa: N803 135s record = Record() 135s 135s > record_type = backend.encoder(Record) 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:732: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s ___________________ test_bit_decoder_decorator_frombytes[bs] ___________________ 135s 135s backend = 135s 135s @pytest.mark.parametrize("backend", BITS_BACKENDS) 135s def test_bit_decoder_decorator_frombytes(backend): 135s > @backend.decoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:747: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s ____________________ test_bit_encoder_decorator_tobytes[bs] ____________________ 135s 135s backend = 135s 135s @pytest.mark.parametrize( 135s "backend", 135s [ 135s pytest.param( 135s bpack_bs, 135s id="bs", 135s marks=skipif(not bpack_bs, reason="not available"), 135s ) 135s ], 135s ) 135s def test_bit_encoder_decorator_tobytes(backend): 135s > @backend.encoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:783: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s __________________ test_byte_decoder_decorator_frombytes[st] ___________________ 135s 135s backend = 135s 135s @pytest.mark.parametrize("backend", BYTES_BACKENDS) 135s def test_byte_decoder_decorator_frombytes(backend): 135s > @backend.decoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:805: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s ___________________ test_byte_encoder_decorator_tobytes[st] ____________________ 135s 135s backend = 135s 135s @pytest.mark.parametrize("backend", BYTES_BACKENDS) 135s def test_byte_encoder_decorator_tobytes(backend): 135s > @backend.encoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:825: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s _______________ test_byte_decoder_native_byteorder_frombytes[st] _______________ 135s 135s backend = 135s 135s @pytest.mark.parametrize("backend", BYTES_BACKENDS) 135s def test_byte_decoder_native_byteorder_frombytes(backend): 135s size = 4 135s value = 1 135s 135s > @backend.decoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:862: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s ________________ test_byte_encoder_native_byteorder_tobytes[st] ________________ 135s 135s backend = 135s 135s @pytest.mark.parametrize("backend", BYTES_BACKENDS) 135s def test_byte_encoder_native_byteorder_tobytes(backend): 135s size = 4 135s value = 1 135s 135s > @backend.encoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:876: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s _______________ test_bit_decoder_native_byteorder_frombytes[bs] ________________ 135s 135s backend = 135s 135s @pytest.mark.parametrize( 135s "backend", 135s [ 135s pytest.param( 135s bpack_bs, 135s id="bs", 135s marks=skipif(not bpack_bs, reason="not available"), 135s ) 135s ], 135s ) 135s def test_bit_decoder_native_byteorder_frombytes(backend): 135s size = 64 135s value = 1 135s 135s > @backend.decoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:900: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s ________________ test_bit_encoder_native_byteorder_tobytes[bs] _________________ 135s 135s backend = 135s 135s @pytest.mark.parametrize( 135s "backend", 135s [ 135s pytest.param( 135s bpack_bs, 135s id="bs", 135s marks=skipif(not bpack_bs, reason="not available"), 135s ) 135s ], 135s ) 135s def test_bit_encoder_native_byteorder_tobytes(backend): 135s size = 64 135s value = 1 135s 135s > @backend.encoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:927: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s _______________ test_bit_decoder_default_byteorder_frombytes[bs] _______________ 135s 135s backend = 135s 135s @pytest.mark.parametrize("backend", BITS_BACKENDS) 135s def test_bit_decoder_default_byteorder_frombytes(backend): 135s size = 64 135s value = 1 135s 135s > @backend.decoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:946: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s ________________ test_bit_encoder_default_byteorder_tobytes[bs] ________________ 135s 135s backend = 135s 135s @pytest.mark.parametrize( 135s "backend", 135s [ 135s pytest.param( 135s bpack_bs, 135s id="bs", 135s marks=skipif(not bpack_bs, reason="not available"), 135s ) 135s ], 135s ) 135s def test_bit_encoder_default_byteorder_tobytes(backend): 135s size = 64 135s value = 1 135s 135s > @backend.encoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:974: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s _________________________ test_enum_decoding_bytes[bs] _________________________ 135s 135s backend = 135s 135s @pytest.mark.parametrize("backend", ALL_BACKENDS) 135s def test_enum_decoding_bytes(backend): 135s class EStrEnumType(enum.Enum): 135s A = "a" 135s B = "b" 135s 135s class EBytesEnumType(enum.Enum): 135s A = b"a" 135s B = b"b" 135s 135s class EIntEnumType(enum.Enum): 135s A = 1 135s B = 2 135s 135s class EFlagEnumType(enum.Enum): 135s A = 1 135s B = 2 135s 135s if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: 135s bitorder = None 135s ssize = 1 135s isize = 1 135s encoded_data = b"".join( 135s [ 135s EStrEnumType.A.value.encode("ascii"), 135s EBytesEnumType.A.value, 135s EIntEnumType.A.value.to_bytes(1, "little", signed=False), 135s EFlagEnumType.A.value.to_bytes(1, "little", signed=False), 135s ] 135s ) 135s else: 135s bitorder = bpack.EBitOrder.MSB 135s ssize = 8 135s isize = 4 135s encoded_data = b"".join( 135s [ 135s EStrEnumType.A.value.encode("ascii"), 135s EBytesEnumType.A.value, 135s bytes([0b00010001]), 135s ] 135s ) 135s 135s > @backend.decoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1055: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s _________________________ test_enum_decoding_bytes[st] _________________________ 135s 135s backend = 135s 135s @pytest.mark.parametrize("backend", ALL_BACKENDS) 135s def test_enum_decoding_bytes(backend): 135s class EStrEnumType(enum.Enum): 135s A = "a" 135s B = "b" 135s 135s class EBytesEnumType(enum.Enum): 135s A = b"a" 135s B = b"b" 135s 135s class EIntEnumType(enum.Enum): 135s A = 1 135s B = 2 135s 135s class EFlagEnumType(enum.Enum): 135s A = 1 135s B = 2 135s 135s if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: 135s bitorder = None 135s ssize = 1 135s isize = 1 135s encoded_data = b"".join( 135s [ 135s EStrEnumType.A.value.encode("ascii"), 135s EBytesEnumType.A.value, 135s EIntEnumType.A.value.to_bytes(1, "little", signed=False), 135s EFlagEnumType.A.value.to_bytes(1, "little", signed=False), 135s ] 135s ) 135s else: 135s bitorder = bpack.EBitOrder.MSB 135s ssize = 8 135s isize = 4 135s encoded_data = b"".join( 135s [ 135s EStrEnumType.A.value.encode("ascii"), 135s EBytesEnumType.A.value, 135s bytes([0b00010001]), 135s ] 135s ) 135s 135s > @backend.decoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1055: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s _________________________ test_enum_encoding_bytes[st] _________________________ 135s 135s backend = 135s 135s @pytest.mark.parametrize( 135s "backend", 135s [ 135s pytest.param(bpack.st, id="st"), 135s pytest.param( 135s bpack_bs, 135s id="bs", 135s marks=skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_np, 135s id="np", 135s marks=skipif(not bpack_np, reason="not available"), 135s ), 135s ], 135s ) 135s def test_enum_encoding_bytes(backend): 135s class EStrEnumType(enum.Enum): 135s A = "a" 135s B = "b" 135s 135s class EBytesEnumType(enum.Enum): 135s A = b"a" 135s B = b"b" 135s 135s class EIntEnumType(enum.Enum): 135s A = 1 135s B = 2 135s 135s class EFlagEnumType(enum.Enum): 135s A = 1 135s B = 2 135s 135s if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: 135s bitorder = None 135s ssize = 1 135s isize = 1 135s encoded_data = [ 135s EStrEnumType.A.value.encode("ascii"), 135s EBytesEnumType.A.value, 135s EIntEnumType.A.value.to_bytes(1, "little", signed=False), 135s EFlagEnumType.A.value.to_bytes(1, "little", signed=False), 135s ] 135s encoded_data = b"".join(encoded_data) 135s else: 135s bitorder = bpack.EBitOrder.MSB 135s ssize = 8 135s isize = 4 135s encoded_data = [ 135s EStrEnumType.A.value.encode("ascii"), 135s EBytesEnumType.A.value, 135s bytes([0b00010001]), 135s ] 135s encoded_data = b"".join(encoded_data) 135s 135s > @backend.encoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1126: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s _________________________ test_enum_encoding_bytes[bs] _________________________ 135s 135s backend = 135s 135s @pytest.mark.parametrize( 135s "backend", 135s [ 135s pytest.param(bpack.st, id="st"), 135s pytest.param( 135s bpack_bs, 135s id="bs", 135s marks=skipif(not bpack_bs, reason="not available"), 135s ), 135s pytest.param( 135s bpack_np, 135s id="np", 135s marks=skipif(not bpack_np, reason="not available"), 135s ), 135s ], 135s ) 135s def test_enum_encoding_bytes(backend): 135s class EStrEnumType(enum.Enum): 135s A = "a" 135s B = "b" 135s 135s class EBytesEnumType(enum.Enum): 135s A = b"a" 135s B = b"b" 135s 135s class EIntEnumType(enum.Enum): 135s A = 1 135s B = 2 135s 135s class EFlagEnumType(enum.Enum): 135s A = 1 135s B = 2 135s 135s if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: 135s bitorder = None 135s ssize = 1 135s isize = 1 135s encoded_data = [ 135s EStrEnumType.A.value.encode("ascii"), 135s EBytesEnumType.A.value, 135s EIntEnumType.A.value.to_bytes(1, "little", signed=False), 135s EFlagEnumType.A.value.to_bytes(1, "little", signed=False), 135s ] 135s encoded_data = b"".join(encoded_data) 135s else: 135s bitorder = bpack.EBitOrder.MSB 135s ssize = 8 135s isize = 4 135s encoded_data = [ 135s EStrEnumType.A.value.encode("ascii"), 135s EBytesEnumType.A.value, 135s bytes([0b00010001]), 135s ] 135s encoded_data = b"".join(encoded_data) 135s 135s > @backend.encoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1126: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s ___________________________ test_decode_sequence[st] ___________________________ 135s 135s backend = 135s 135s @pytest.mark.parametrize( 135s "backend", 135s [ 135s pytest.param(bpack.st, id="st"), 135s pytest.param( 135s bpack_bs, 135s id="bs", 135s marks=skipif(not bpack_bs, reason="not available"), 135s ), 135s ], 135s ) 135s def test_decode_sequence(backend): 135s if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: 135s bitorder = None 135s size = 1 135s repeat = 2 135s encoded_data = bytes([3, 3, 4, 4]) 135s else: 135s bitorder = bpack.EBitOrder.MSB 135s size = 4 135s repeat = 2 135s encoded_data = bytes([0b00110011, 0b01000100]) 135s 135s > @backend.decoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1166: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s ___________________________ test_decode_sequence[bs] ___________________________ 135s 135s backend = 135s 135s @pytest.mark.parametrize( 135s "backend", 135s [ 135s pytest.param(bpack.st, id="st"), 135s pytest.param( 135s bpack_bs, 135s id="bs", 135s marks=skipif(not bpack_bs, reason="not available"), 135s ), 135s ], 135s ) 135s def test_decode_sequence(backend): 135s if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: 135s bitorder = None 135s size = 1 135s repeat = 2 135s encoded_data = bytes([3, 3, 4, 4]) 135s else: 135s bitorder = bpack.EBitOrder.MSB 135s size = 4 135s repeat = 2 135s encoded_data = bytes([0b00110011, 0b01000100]) 135s 135s > @backend.decoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1166: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s ___________________________ test_encode_sequence[st] ___________________________ 135s 135s backend = 135s 135s @pytest.mark.parametrize( 135s "backend", 135s [ 135s pytest.param(bpack.st, id="st"), 135s pytest.param( 135s bpack_bs, 135s id="bs", 135s marks=skipif(not bpack_bs, reason="not available"), 135s ), 135s ], 135s ) 135s def test_encode_sequence(backend): 135s if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: 135s bitorder = None 135s size = 1 135s repeat = 2 135s encoded_data = bytes([3, 3, 4, 4]) 135s else: 135s bitorder = bpack.EBitOrder.MSB 135s size = 4 135s repeat = 2 135s encoded_data = bytes([0b00110011, 0b01000100]) 135s 135s > @backend.encoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1208: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s ___________________________ test_encode_sequence[bs] ___________________________ 135s 135s backend = 135s 135s @pytest.mark.parametrize( 135s "backend", 135s [ 135s pytest.param(bpack.st, id="st"), 135s pytest.param( 135s bpack_bs, 135s id="bs", 135s marks=skipif(not bpack_bs, reason="not available"), 135s ), 135s ], 135s ) 135s def test_encode_sequence(backend): 135s if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: 135s bitorder = None 135s size = 1 135s repeat = 2 135s encoded_data = bytes([3, 3, 4, 4]) 135s else: 135s bitorder = bpack.EBitOrder.MSB 135s size = 4 135s repeat = 2 135s encoded_data = bytes([0b00110011, 0b01000100]) 135s 135s > @backend.encoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1208: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s _______________ TestNestedRecord.test_nested_record_decoder[st] ________________ 135s 135s self = 135s backend = 135s 135s def test_nested_record_decoder(self, backend): 135s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 135s 135s > @backend.decoder # NOTE: this is a decoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1260: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s _______________ TestNestedRecord.test_nested_record_decoder[bs] ________________ 135s 135s self = 135s backend = 135s 135s def test_nested_record_decoder(self, backend): 135s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 135s 135s > @backend.decoder # NOTE: this is a decoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1260: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s _______________ TestNestedRecord.test_nested_record_encoder[st] ________________ 135s 135s self = 135s backend = 135s 135s def test_nested_record_encoder(self, backend): 135s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 135s 135s > @backend.encoder # NOTE: this is an encoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1279: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s _______________ TestNestedRecord.test_nested_record_encoder[bs] ________________ 135s 135s self = 135s backend = 135s 135s def test_nested_record_encoder(self, backend): 135s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 135s 135s > @backend.encoder # NOTE: this is an encoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1279: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s ______________ TestNestedRecord.test_nested_record_frombytes[st] _______________ 135s 135s self = 135s backend = 135s 135s def test_nested_record_frombytes(self, backend): 135s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 135s 135s # NOTE: this time the inner record is not a decoder 135s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 135s class Record: 135s field_1: int = bpack.field(size=4, default=1) 135s field_2: int = bpack.field(size=4, default=2) 135s 135s > @backend.decoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1305: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s ______________ TestNestedRecord.test_nested_record_frombytes[bs] _______________ 135s 135s self = 135s backend = 135s 135s def test_nested_record_frombytes(self, backend): 135s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 135s 135s # NOTE: this time the inner record is not a decoder 135s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 135s class Record: 135s field_1: int = bpack.field(size=4, default=1) 135s field_2: int = bpack.field(size=4, default=2) 135s 135s > @backend.decoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1305: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s _______________ TestNestedRecord.test_nested_record_tobytes[st] ________________ 135s 135s self = 135s backend = 135s 135s def test_nested_record_tobytes(self, backend): 135s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 135s 135s # NOTE: this time the inner record is not a decoder 135s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 135s class Record: 135s field_1: int = bpack.field(size=4, default=1) 135s field_2: int = bpack.field(size=4, default=2) 135s 135s > @backend.encoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1324: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s _______________ TestNestedRecord.test_nested_record_tobytes[bs] ________________ 135s 135s self = 135s backend = 135s 135s def test_nested_record_tobytes(self, backend): 135s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 135s 135s # NOTE: this time the inner record is not a decoder 135s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 135s class Record: 135s field_1: int = bpack.field(size=4, default=1) 135s field_2: int = bpack.field(size=4, default=2) 135s 135s > @backend.encoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1324: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s __________ TestNestedRecord.test_nested_record_decoder_with_order[st] __________ 135s 135s self = 135s backend = 135s 135s def test_nested_record_decoder_with_order(self, backend): 135s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 135s if backend.Decoder.baseunits is bpack.EBaseUnits.BITS: 135s kwargs = dict(bitorder=">", byteorder=">") 135s else: 135s # TODO: use the default byteorder (see get_encoded_data) 135s kwargs = dict(byteorder=bpack.EByteOrder.LE) 135s 135s > @backend.decoder # NOTE: this is a decoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1343: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s __________ TestNestedRecord.test_nested_record_decoder_with_order[bs] __________ 135s 135s self = 135s backend = 135s 135s def test_nested_record_decoder_with_order(self, backend): 135s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 135s if backend.Decoder.baseunits is bpack.EBaseUnits.BITS: 135s kwargs = dict(bitorder=">", byteorder=">") 135s else: 135s # TODO: use the default byteorder (see get_encoded_data) 135s kwargs = dict(byteorder=bpack.EByteOrder.LE) 135s 135s > @backend.decoder # NOTE: this is a decoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1343: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s __________ TestNestedRecord.test_nested_record_encoder_with_order[st] __________ 135s 135s self = 135s backend = 135s 135s def test_nested_record_encoder_with_order(self, backend): 135s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 135s if backend.Decoder.baseunits is bpack.EBaseUnits.BITS: 135s kwargs = dict(bitorder=">", byteorder=">") 135s else: 135s # TODO: use the default byteorder (see get_encoded_data) 135s kwargs = dict(byteorder=bpack.EByteOrder.LE) 135s 135s > @backend.encoder # NOTE: this is a encoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1367: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s __________ TestNestedRecord.test_nested_record_encoder_with_order[bs] __________ 135s 135s self = 135s backend = 135s 135s def test_nested_record_encoder_with_order(self, backend): 135s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 135s if backend.Decoder.baseunits is bpack.EBaseUnits.BITS: 135s kwargs = dict(bitorder=">", byteorder=">") 135s else: 135s # TODO: use the default byteorder (see get_encoded_data) 135s kwargs = dict(byteorder=bpack.EByteOrder.LE) 135s 135s > @backend.encoder # NOTE: this is a encoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1367: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s ________ TestMultiNestedRecord.test_decode_nested_record_two_levels[st] ________ 135s 135s self = 135s backend = 135s 135s def test_decode_nested_record_two_levels(self, backend): 135s class EEnum(enum.Enum): 135s ONE = 1 135s FOUR = 4 135s 135s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 135s class RecordLevel02: 135s field_01: EEnum = bpack.field(size=4, default=EEnum.ONE) 135s field_02: int = bpack.field(size=4, default=2) 135s 135s > @backend.decoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1454: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s ________ TestMultiNestedRecord.test_decode_nested_record_two_levels[bs] ________ 135s 135s self = 135s backend = 135s 135s def test_decode_nested_record_two_levels(self, backend): 135s class EEnum(enum.Enum): 135s ONE = 1 135s FOUR = 4 135s 135s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 135s class RecordLevel02: 135s field_01: EEnum = bpack.field(size=4, default=EEnum.ONE) 135s field_02: int = bpack.field(size=4, default=2) 135s 135s > @backend.decoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1454: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s ________ TestMultiNestedRecord.test_encode_nested_record_two_levels[st] ________ 135s 135s self = 135s backend = 135s 135s def test_encode_nested_record_two_levels(self, backend): 135s class EEnum(enum.Enum): 135s ONE = 1 135s FOUR = 4 135s 135s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 135s class RecordLevel02: 135s field_01: EEnum = bpack.field(size=4, default=EEnum.ONE) 135s field_02: int = bpack.field(size=4, default=2) 135s 135s > @backend.codec 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1478: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s ________ TestMultiNestedRecord.test_encode_nested_record_two_levels[bs] ________ 135s 135s self = 135s backend = 135s 135s def test_encode_nested_record_two_levels(self, backend): 135s class EEnum(enum.Enum): 135s ONE = 1 135s FOUR = 4 135s 135s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 135s class RecordLevel02: 135s field_01: EEnum = bpack.field(size=4, default=EEnum.ONE) 135s field_02: int = bpack.field(size=4, default=2) 135s 135s > @backend.codec 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1478: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s _______ TestMultiNestedRecord.test_decode_nested_record_three_levels[st] _______ 135s 135s self = 135s backend = 135s 135s def test_decode_nested_record_three_levels(self, backend): 135s class EEnum(enum.Enum): 135s ONE = 1 135s TWO = 2 135s SEVEN = 7 135s 135s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 135s class RecordLevel03: 135s field_001: EEnum = bpack.field(size=4, default=EEnum.ONE) 135s field_002: int = bpack.field(size=4, default=2) 135s 135s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 135s class RecordLevel02: 135s field_01: int = bpack.field(size=4, default=1) 135s field_02: RecordLevel03 = bpack.field( 135s default_factory=functools.partial(RecordLevel03, EEnum.TWO, 3) 135s ) 135s field_03: int = bpack.field(size=4, default=4) 135s 135s > @backend.decoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1511: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s _______ TestMultiNestedRecord.test_decode_nested_record_three_levels[bs] _______ 135s 135s self = 135s backend = 135s 135s def test_decode_nested_record_three_levels(self, backend): 135s class EEnum(enum.Enum): 135s ONE = 1 135s TWO = 2 135s SEVEN = 7 135s 135s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 135s class RecordLevel03: 135s field_001: EEnum = bpack.field(size=4, default=EEnum.ONE) 135s field_002: int = bpack.field(size=4, default=2) 135s 135s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 135s class RecordLevel02: 135s field_01: int = bpack.field(size=4, default=1) 135s field_02: RecordLevel03 = bpack.field( 135s default_factory=functools.partial(RecordLevel03, EEnum.TWO, 3) 135s ) 135s field_03: int = bpack.field(size=4, default=4) 135s 135s > @backend.decoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1511: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s _______ TestMultiNestedRecord.test_encode_nested_record_three_levels[st] _______ 135s 135s self = 135s backend = 135s 135s def test_encode_nested_record_three_levels(self, backend): 135s class EEnum(enum.Enum): 135s ONE = 1 135s TWO = 2 135s SEVEN = 7 135s 135s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 135s class RecordLevel03: 135s field_001: EEnum = bpack.field(size=4, default=EEnum.ONE) 135s field_002: int = bpack.field(size=4, default=2) 135s 135s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 135s class RecordLevel02: 135s field_01: int = bpack.field(size=4, default=1) 135s field_02: RecordLevel03 = bpack.field( 135s default_factory=functools.partial(RecordLevel03, EEnum.TWO, 3) 135s ) 135s field_03: int = bpack.field(size=4, default=4) 135s 135s > @backend.codec 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1546: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s _______ TestMultiNestedRecord.test_encode_nested_record_three_levels[bs] _______ 135s 135s self = 135s backend = 135s 135s def test_encode_nested_record_three_levels(self, backend): 135s class EEnum(enum.Enum): 135s ONE = 1 135s TWO = 2 135s SEVEN = 7 135s 135s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 135s class RecordLevel03: 135s field_001: EEnum = bpack.field(size=4, default=EEnum.ONE) 135s field_002: int = bpack.field(size=4, default=2) 135s 135s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 135s class RecordLevel02: 135s field_01: int = bpack.field(size=4, default=1) 135s field_02: RecordLevel03 = bpack.field( 135s default_factory=functools.partial(RecordLevel03, EEnum.TWO, 3) 135s ) 135s field_03: int = bpack.field(size=4, default=4) 135s 135s > @backend.codec 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1546: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s _______ TestMultiNestedRecord.test_decode_nested_record_four_levels[st] ________ 135s 135s self = 135s backend = 135s 135s def test_decode_nested_record_four_levels(self, backend): 135s class EEnum(enum.Enum): 135s ONE = 1 135s THREE = 3 135s TEN = 10 135s 135s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 135s class RecordLevel04: 135s field_0001: EEnum = bpack.field(size=4, default=EEnum.ONE) 135s field_0002: int = bpack.field(size=4, default=2) 135s 135s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 135s class RecordLevel03: 135s field_001: int = bpack.field(size=4, default=1) 135s field_002: RecordLevel04 = bpack.field( 135s default_factory=RecordLevel04 135s ) 135s field_003: int = bpack.field(size=4, default=3) 135s 135s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 135s class RecordLevel02: 135s field_01: int = bpack.field(size=4, default=1) 135s field_02: RecordLevel03 = bpack.field( 135s default_factory=functools.partial( 135s RecordLevel03, 2, RecordLevel04(EEnum.THREE, 4), 5 135s ) 135s ) 135s field_03: int = bpack.field(size=4, default=6) 135s 135s > @backend.decoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1591: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s _______ TestMultiNestedRecord.test_decode_nested_record_four_levels[bs] ________ 135s 135s self = 135s backend = 135s 135s def test_decode_nested_record_four_levels(self, backend): 135s class EEnum(enum.Enum): 135s ONE = 1 135s THREE = 3 135s TEN = 10 135s 135s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 135s class RecordLevel04: 135s field_0001: EEnum = bpack.field(size=4, default=EEnum.ONE) 135s field_0002: int = bpack.field(size=4, default=2) 135s 135s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 135s class RecordLevel03: 135s field_001: int = bpack.field(size=4, default=1) 135s field_002: RecordLevel04 = bpack.field( 135s default_factory=RecordLevel04 135s ) 135s field_003: int = bpack.field(size=4, default=3) 135s 135s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 135s class RecordLevel02: 135s field_01: int = bpack.field(size=4, default=1) 135s field_02: RecordLevel03 = bpack.field( 135s default_factory=functools.partial( 135s RecordLevel03, 2, RecordLevel04(EEnum.THREE, 4), 5 135s ) 135s ) 135s field_03: int = bpack.field(size=4, default=6) 135s 135s > @backend.decoder 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1591: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s _______ TestMultiNestedRecord.test_encode_nested_record_four_levels[st] ________ 135s 135s self = 135s backend = 135s 135s def test_encode_nested_record_four_levels(self, backend): 135s class EEnum(enum.Enum): 135s ONE = 1 135s THREE = 3 135s TEN = 10 135s 135s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 135s class RecordLevel04: 135s field_0001: EEnum = bpack.field(size=4, default=EEnum.ONE) 135s field_0002: int = bpack.field(size=4, default=2) 135s 135s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 135s class RecordLevel03: 135s field_001: int = bpack.field(size=4, default=1) 135s field_002: RecordLevel04 = bpack.field( 135s default_factory=RecordLevel04 135s ) 135s field_003: int = bpack.field(size=4, default=3) 135s 135s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 135s class RecordLevel02: 135s field_01: int = bpack.field(size=4, default=1) 135s field_02: RecordLevel03 = bpack.field( 135s default_factory=functools.partial( 135s RecordLevel03, 2, RecordLevel04(EEnum.THREE, 4), 5 135s ) 135s ) 135s field_03: int = bpack.field(size=4, default=6) 135s 135s > @backend.codec 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1639: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s _______ TestMultiNestedRecord.test_encode_nested_record_four_levels[bs] ________ 135s 135s self = 135s backend = 135s 135s def test_encode_nested_record_four_levels(self, backend): 135s class EEnum(enum.Enum): 135s ONE = 1 135s THREE = 3 135s TEN = 10 135s 135s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 135s class RecordLevel04: 135s field_0001: EEnum = bpack.field(size=4, default=EEnum.ONE) 135s field_0002: int = bpack.field(size=4, default=2) 135s 135s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 135s class RecordLevel03: 135s field_001: int = bpack.field(size=4, default=1) 135s field_002: RecordLevel04 = bpack.field( 135s default_factory=RecordLevel04 135s ) 135s field_003: int = bpack.field(size=4, default=3) 135s 135s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 135s class RecordLevel02: 135s field_01: int = bpack.field(size=4, default=1) 135s field_02: RecordLevel03 = bpack.field( 135s default_factory=functools.partial( 135s RecordLevel03, 2, RecordLevel04(EEnum.THREE, 4), 5 135s ) 135s ) 135s field_03: int = bpack.field(size=4, default=6) 135s 135s > @backend.codec 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1639: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s ____________________________ test_codec_helpers[st] ____________________________ 135s 135s backend = 135s 135s @pytest.mark.parametrize( 135s "backend", 135s [ 135s pytest.param(bpack.st, id="st"), 135s pytest.param( 135s bpack_bs, 135s id="bs", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s ], 135s ) 135s def test_codec_helpers(backend): 135s > @backend.codec 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_codecs.py:27: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s ____________________________ test_codec_helpers[bs] ____________________________ 135s 135s backend = 135s 135s @pytest.mark.parametrize( 135s "backend", 135s [ 135s pytest.param(bpack.st, id="st"), 135s pytest.param( 135s bpack_bs, 135s id="bs", 135s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 135s ), 135s ], 135s ) 135s def test_codec_helpers(backend): 135s > @backend.codec 135s 135s /usr/lib/python3/dist-packages/bpack/tests/test_codecs.py:27: 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 135s return wrap(cls) 135s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 135s return func(klass, **kwargs) 135s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 135s decode_func = bpack.utils.create_fn( 135s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 135s 135s name = 'frombytes', args = ('cls', 'data') 135s body = ['return cls.__bpack_decoder__.decode(data)'] 135s 135s def create_fn( 135s name, 135s args, 135s body, 135s *, 135s globals=None, # noqa: A002 135s locals=None, # noqa: A002 135s return_type=dataclasses.MISSING, 135s ): 135s """Create a function object.""" 135s > return dataclasses._create_fn( 135s name, 135s args, 135s body, 135s globals=globals, 135s locals=locals, 135s return_type=return_type, 135s ) 135s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 135s 135s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 135s =============================== warnings summary =============================== 135s ../../../../usr/lib/python3/dist-packages/bpack/tests/test_decoder_np.py:9 135s /usr/lib/python3/dist-packages/bpack/tests/test_decoder_np.py:9: PytestDeprecationWarning: 135s Module 'bpack.np' was found, but when imported by pytest it raised: 135s ImportError('Error importing numpy: you should not try to import numpy from\n its source directory; please exit the numpy source tree, and relaunch\n your python interpreter from there.') 135s In pytest 9.1 this warning will become an error by default. 135s You can fix the underlying problem, or alternatively overwrite this behavior and silence this warning by passing exc_type=ImportError explicitly. 135s See https://docs.pytest.org/en/stable/deprecations.html#pytest-importorskip-default-behavior-regarding-importerror 135s bpack_np = pytest.importorskip("bpack.np") 135s 135s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 135s =========================== short test summary info ============================ 135s FAILED tests/test_backends_codec.py::test_attrs[bs] - AttributeError: module ... 135s FAILED tests/test_backends_codec.py::test_attrs[st] - AttributeError: module ... 135s FAILED tests/test_backends_codec.py::test_decoder_func[st BE] - AttributeErro... 135s FAILED tests/test_backends_codec.py::test_decoder_func[st LE] - AttributeErro... 135s FAILED tests/test_backends_codec.py::test_decoder_func[bs BE MSB] - Attribute... 135s FAILED tests/test_backends_codec.py::test_decoder_func[bs LE MSB] - Attribute... 135s FAILED tests/test_backends_codec.py::test_decoder_func[bs BE LSB] - Attribute... 135s FAILED tests/test_backends_codec.py::test_decoder_func[bs LE LSB] - Attribute... 135s FAILED tests/test_backends_codec.py::test_encoder_func[st BE] - AttributeErro... 135s FAILED tests/test_backends_codec.py::test_encoder_func[st LE] - AttributeErro... 135s FAILED tests/test_backends_codec.py::test_encoder_func[bs BE MSB] - Attribute... 135s FAILED tests/test_backends_codec.py::test_encoder_func[bs LE MSB] - Attribute... 135s FAILED tests/test_backends_codec.py::test_encoder_func[bs BE LSB] - Attribute... 135s FAILED tests/test_backends_codec.py::test_encoder_func[bs LE LSB] - Attribute... 135s FAILED tests/test_backends_codec.py::test_bit_decoder_decorator_frombytes[bs] 135s FAILED tests/test_backends_codec.py::test_bit_encoder_decorator_tobytes[bs] 135s FAILED tests/test_backends_codec.py::test_byte_decoder_decorator_frombytes[st] 135s FAILED tests/test_backends_codec.py::test_byte_encoder_decorator_tobytes[st] 135s FAILED tests/test_backends_codec.py::test_byte_decoder_native_byteorder_frombytes[st] 135s FAILED tests/test_backends_codec.py::test_byte_encoder_native_byteorder_tobytes[st] 135s FAILED tests/test_backends_codec.py::test_bit_decoder_native_byteorder_frombytes[bs] 135s FAILED tests/test_backends_codec.py::test_bit_encoder_native_byteorder_tobytes[bs] 135s FAILED tests/test_backends_codec.py::test_bit_decoder_default_byteorder_frombytes[bs] 135s FAILED tests/test_backends_codec.py::test_bit_encoder_default_byteorder_tobytes[bs] 135s FAILED tests/test_backends_codec.py::test_enum_decoding_bytes[bs] - Attribute... 135s FAILED tests/test_backends_codec.py::test_enum_decoding_bytes[st] - Attribute... 135s FAILED tests/test_backends_codec.py::test_enum_encoding_bytes[st] - Attribute... 135s FAILED tests/test_backends_codec.py::test_enum_encoding_bytes[bs] - Attribute... 135s FAILED tests/test_backends_codec.py::test_decode_sequence[st] - AttributeErro... 135s FAILED tests/test_backends_codec.py::test_decode_sequence[bs] - AttributeErro... 135s FAILED tests/test_backends_codec.py::test_encode_sequence[st] - AttributeErro... 135s FAILED tests/test_backends_codec.py::test_encode_sequence[bs] - AttributeErro... 135s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_decoder[st] 135s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_decoder[bs] 135s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_encoder[st] 135s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_encoder[bs] 135s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_frombytes[st] 135s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_frombytes[bs] 135s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_tobytes[st] 135s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_tobytes[bs] 135s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_decoder_with_order[st] 135s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_decoder_with_order[bs] 135s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_encoder_with_order[st] 135s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_encoder_with_order[bs] 135s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_decode_nested_record_two_levels[st] 135s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_decode_nested_record_two_levels[bs] 135s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_encode_nested_record_two_levels[st] 135s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_encode_nested_record_two_levels[bs] 135s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_decode_nested_record_three_levels[st] 135s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_decode_nested_record_three_levels[bs] 135s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_encode_nested_record_three_levels[st] 135s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_encode_nested_record_three_levels[bs] 135s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_decode_nested_record_four_levels[st] 135s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_decode_nested_record_four_levels[bs] 135s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_encode_nested_record_four_levels[st] 135s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_encode_nested_record_four_levels[bs] 135s FAILED tests/test_codecs.py::test_codec_helpers[st] - AttributeError: module ... 135s FAILED tests/test_codecs.py::test_codec_helpers[bs] - AttributeError: module ... 135s =========== 58 failed, 376 passed, 1269 skipped, 1 warning in 3.62s ============ 135s E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest.fRmfMO/autopkgtest_tmp/build; python3.13 -m pytest --pyargs bpack 135s I: pybuild base:311: cd /tmp/autopkgtest.fRmfMO/autopkgtest_tmp/build; python3.12 -m pytest --pyargs bpack 136s ============================= test session starts ============================== 136s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 136s rootdir: /tmp/autopkgtest.fRmfMO/autopkgtest_tmp/build 136s configfile: pyproject.toml 136s plugins: typeguard-4.4.1 136s collected 1709 items 136s 136s tests/test_backends_codec.py ........................................... [ 2%] 136s ................................................................ [ 6%] 136s tests/test_codecs.py .. [ 6%] 136s tests/test_decoder_ba.py ....... [ 6%] 136s tests/test_decoder_np.py . [ 6%] 136s tests/test_desctiptor_utils.py ......................... [ 8%] 136s tests/test_field_descriptor.py ......................................... [ 10%] 136s ............... [ 11%] 136s tests/test_packbits.py ................................................. [ 14%] 136s ........................................................................ [ 18%] 136s ........................................................................ [ 22%] 137s ........................................................................ [ 27%] 137s ........................................................................ [ 31%] 137s ........................................................................ [ 35%] 138s ........................................................................ [ 39%] 138s ........................................................................ [ 43%] 138s ........................................................................ [ 48%] 139s ........................................................................ [ 52%] 139s ........................................................................ [ 56%] 139s ........................................................................ [ 60%] 139s ........................................................................ [ 65%] 139s ........................................................................ [ 69%] 140s ........................................................................ [ 73%] 140s ........................................................................ [ 77%] 140s ........................................................................ [ 81%] 140s ........................................................ [ 85%] 140s tests/test_record_descriptor.py ........................................ [ 87%] 140s ................... [ 88%] 140s tests/test_typing.py ................................................... [ 91%] 140s ........................................................................ [ 95%] 141s .................................................... [ 98%] 141s tests/test_utils.py .................... [100%] 141s 141s ============================= 1709 passed in 5.48s ============================= 141s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p "3.13 3.12" returned exit code 13 141s make: *** [/tmp/SLDBL3h4Ep/run:4: pybuild-autopkgtest] Error 25 141s pybuild-autopkgtest: error: /tmp/SLDBL3h4Ep/run pybuild-autopkgtest returned exit code 2 141s autopkgtest [08:11:27]: test pybuild-autopkgtest: -----------------------] 141s pybuild-autopkgtest FAIL non-zero exit status 25 141s autopkgtest [08:11:27]: test pybuild-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 141s autopkgtest [08:11:27]: @@@@@@@@@@@@@@@@@@@@ summary 141s pybuild-autopkgtest FAIL non-zero exit status 25 155s virt: nova [W] Skipping flock for amd64 155s virt: Creating nova instance adt-plucky-amd64-bpack-20241113-080906-juju-7f2275-prod-proposed-migration-environment-2-d03188e6-7400-4e23-942a-36f44abeb2be from image adt/ubuntu-plucky-amd64-server-20241113.img (UUID 76b850f9-98f4-4b79-af06-fa11000b95b2)...