0s autopkgtest [20:31:56]: starting date and time: 2024-11-23 20:31:56+0000 0s autopkgtest [20:31:56]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [20:31:56]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.f2_0eo5d/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults --apt-upgrade bpack --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-arm64-18.secgroup --name adt-plucky-arm64-bpack-20241123-203156-juju-7f2275-prod-proposed-migration-environment-20-0f6ecb66-c69c-4284-a37a-715fe9b0a66b --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --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/ 69s autopkgtest [20:33:05]: testbed dpkg architecture: arm64 69s autopkgtest [20:33:05]: testbed apt version: 2.9.8 69s autopkgtest [20:33:05]: @@@@@@@@@@@@@@@@@@@@ test bed setup 70s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 71s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [930 kB] 71s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [54.8 kB] 71s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9704 B] 71s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [13.6 kB] 71s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [87.1 kB] 71s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 71s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [796 kB] 71s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [19.3 kB] 71s Fetched 2043 kB in 1s (2377 kB/s) 71s Reading package lists... 74s Reading package lists... 74s Building dependency tree... 74s Reading state information... 75s Calculating upgrade... 75s The following package was automatically installed and is no longer required: 75s libsgutils2-1.46-2 75s Use 'sudo apt autoremove' to remove it. 75s The following NEW packages will be installed: 75s libsgutils2-1.48 75s The following packages will be upgraded: 75s bash bpftrace curl debconf debconf-i18n distro-info fwupd-signed 75s gir1.2-girepository-2.0 gir1.2-glib-2.0 hostname libaudit-common libaudit1 75s libcurl3t64-gnutls libcurl4t64 libgirepository-1.0-1 libglib2.0-0t64 75s libglib2.0-data libpam-modules libpam-modules-bin libpam-runtime libpam0g 75s libplymouth5 libpython3-stdlib libselinux1 libsemanage-common libsemanage2 75s linux-base lxd-installer openssh-client openssh-server openssh-sftp-server 75s plymouth plymouth-theme-ubuntu-text python3 python3-blinker python3-dbus 75s python3-debconf python3-gi python3-jsonschema-specifications python3-minimal 75s python3-rpds-py python3-yaml sg3-utils sg3-utils-udev vim-common vim-tiny 75s xxd 75s 47 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 75s Need to get 11.7 MB of archives. 75s After this operation, 2983 kB of additional disk space will be used. 75s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 bash arm64 5.2.32-1ubuntu2 [791 kB] 76s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 hostname arm64 3.25 [11.0 kB] 76s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 libaudit-common all 1:4.0.2-2ubuntu1 [6578 B] 76s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libaudit1 arm64 1:4.0.2-2ubuntu1 [54.2 kB] 76s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 debconf-i18n all 1.5.87ubuntu1 [204 kB] 76s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-minimal arm64 3.12.7-1 [27.4 kB] 76s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3 arm64 3.12.7-1 [24.0 kB] 76s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libpython3-stdlib arm64 3.12.7-1 [10.0 kB] 76s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-debconf all 1.5.87ubuntu1 [4156 B] 76s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 debconf all 1.5.87ubuntu1 [124 kB] 76s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 libpam0g arm64 1.5.3-7ubuntu4 [68.6 kB] 76s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 libselinux1 arm64 3.7-3ubuntu1 [81.6 kB] 76s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libpam-modules-bin arm64 1.5.3-7ubuntu4 [50.4 kB] 76s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libpam-modules arm64 1.5.3-7ubuntu4 [285 kB] 76s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 openssh-sftp-server arm64 1:9.9p1-3ubuntu2 [36.8 kB] 76s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 openssh-server arm64 1:9.9p1-3ubuntu2 [524 kB] 76s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 openssh-client arm64 1:9.9p1-3ubuntu2 [920 kB] 76s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 libpam-runtime all 1.5.3-7ubuntu4 [40.8 kB] 76s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 libsemanage-common all 3.7-2build1 [7186 B] 76s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libsemanage2 arm64 3.7-2build1 [92.2 kB] 76s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 distro-info arm64 1.12 [19.4 kB] 76s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 gir1.2-girepository-2.0 arm64 1.82.0-2 [25.2 kB] 76s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 gir1.2-glib-2.0 arm64 2.82.2-3 [182 kB] 76s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 libglib2.0-0t64 arm64 2.82.2-3 [1560 kB] 76s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 libgirepository-1.0-1 arm64 1.82.0-2 [83.0 kB] 76s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 libglib2.0-data all 2.82.2-3 [51.7 kB] 76s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-dbus arm64 1.3.2-5build4 [109 kB] 76s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-gi arm64 3.50.0-3build1 [279 kB] 76s Get:29 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-yaml arm64 6.0.2-1build1 [164 kB] 76s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 vim-tiny arm64 2:9.1.0861-1ubuntu1 [805 kB] 76s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 vim-common all 2:9.1.0861-1ubuntu1 [395 kB] 76s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 xxd arm64 2:9.1.0861-1ubuntu1 [67.3 kB] 76s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 libplymouth5 arm64 24.004.60-2ubuntu3 [141 kB] 76s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 plymouth-theme-ubuntu-text arm64 24.004.60-2ubuntu3 [9914 B] 76s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 plymouth arm64 24.004.60-2ubuntu3 [135 kB] 76s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 bpftrace arm64 0.21.2-2ubuntu3 [1854 kB] 76s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 curl arm64 8.9.1-2ubuntu3 [235 kB] 76s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 libcurl4t64 arm64 8.9.1-2ubuntu3 [365 kB] 76s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 fwupd-signed arm64 1.55+1.7-1 [30.9 kB] 76s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 libcurl3t64-gnutls arm64 8.9.1-2ubuntu3 [359 kB] 76s Get:41 http://ftpmaster.internal/ubuntu plucky/main arm64 libsgutils2-1.48 arm64 1.48-0ubuntu1 [118 kB] 76s Get:42 http://ftpmaster.internal/ubuntu plucky/main arm64 linux-base all 4.10.1ubuntu1 [34.8 kB] 76s Get:43 http://ftpmaster.internal/ubuntu plucky/main arm64 lxd-installer all 10 [5264 B] 76s Get:44 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-blinker all 1.9.0-1 [10.7 kB] 76s Get:45 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-rpds-py arm64 0.21.0-2ubuntu1 [302 kB] 76s Get:46 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-jsonschema-specifications all 2023.12.1-2 [9116 B] 76s Get:47 http://ftpmaster.internal/ubuntu plucky/main arm64 sg3-utils arm64 1.48-0ubuntu1 [999 kB] 76s Get:48 http://ftpmaster.internal/ubuntu plucky/main arm64 sg3-utils-udev all 1.48-0ubuntu1 [6608 B] 77s Preconfiguring packages ... 77s Fetched 11.7 MB in 1s (9602 kB/s) 77s (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 ... 80002 files and directories currently installed.) 77s Preparing to unpack .../bash_5.2.32-1ubuntu2_arm64.deb ... 77s Unpacking bash (5.2.32-1ubuntu2) over (5.2.32-1ubuntu1) ... 77s Setting up bash (5.2.32-1ubuntu2) ... 77s update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode 78s (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 ... 80002 files and directories currently installed.) 78s Preparing to unpack .../hostname_3.25_arm64.deb ... 78s Unpacking hostname (3.25) over (3.23+nmu2ubuntu2) ... 78s Setting up hostname (3.25) ... 78s (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 ... 80002 files and directories currently installed.) 78s Preparing to unpack .../libaudit-common_1%3a4.0.2-2ubuntu1_all.deb ... 78s Unpacking libaudit-common (1:4.0.2-2ubuntu1) over (1:4.0.1-1ubuntu2) ... 78s Setting up libaudit-common (1:4.0.2-2ubuntu1) ... 78s (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 ... 80002 files and directories currently installed.) 78s Preparing to unpack .../libaudit1_1%3a4.0.2-2ubuntu1_arm64.deb ... 78s Unpacking libaudit1:arm64 (1:4.0.2-2ubuntu1) over (1:4.0.1-1ubuntu2) ... 78s Setting up libaudit1:arm64 (1:4.0.2-2ubuntu1) ... 78s (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 ... 80002 files and directories currently installed.) 78s Preparing to unpack .../debconf-i18n_1.5.87ubuntu1_all.deb ... 78s Unpacking debconf-i18n (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 78s Preparing to unpack .../python3-minimal_3.12.7-1_arm64.deb ... 78s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 78s Setting up python3-minimal (3.12.7-1) ... 78s (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 ... 80002 files and directories currently installed.) 78s Preparing to unpack .../python3_3.12.7-1_arm64.deb ... 78s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 78s Preparing to unpack .../libpython3-stdlib_3.12.7-1_arm64.deb ... 78s Unpacking libpython3-stdlib:arm64 (3.12.7-1) over (3.12.6-0ubuntu1) ... 78s Preparing to unpack .../python3-debconf_1.5.87ubuntu1_all.deb ... 78s Unpacking python3-debconf (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 79s Preparing to unpack .../debconf_1.5.87ubuntu1_all.deb ... 79s Unpacking debconf (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 79s Setting up debconf (1.5.87ubuntu1) ... 79s (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 ... 80002 files and directories currently installed.) 79s Preparing to unpack .../libpam0g_1.5.3-7ubuntu4_arm64.deb ... 79s Unpacking libpam0g:arm64 (1.5.3-7ubuntu4) over (1.5.3-7ubuntu2) ... 79s Setting up libpam0g:arm64 (1.5.3-7ubuntu4) ... 79s (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 ... 80002 files and directories currently installed.) 79s Preparing to unpack .../libselinux1_3.7-3ubuntu1_arm64.deb ... 79s Unpacking libselinux1:arm64 (3.7-3ubuntu1) over (3.5-2ubuntu5) ... 79s Setting up libselinux1:arm64 (3.7-3ubuntu1) ... 79s (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 ... 80002 files and directories currently installed.) 79s Preparing to unpack .../libpam-modules-bin_1.5.3-7ubuntu4_arm64.deb ... 79s Unpacking libpam-modules-bin (1.5.3-7ubuntu4) over (1.5.3-7ubuntu2) ... 79s Setting up libpam-modules-bin (1.5.3-7ubuntu4) ... 80s pam_namespace.service is a disabled or a static unit not running, not starting it. 80s (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 ... 80002 files and directories currently installed.) 80s Preparing to unpack .../libpam-modules_1.5.3-7ubuntu4_arm64.deb ... 80s Unpacking libpam-modules:arm64 (1.5.3-7ubuntu4) over (1.5.3-7ubuntu2) ... 80s Setting up libpam-modules:arm64 (1.5.3-7ubuntu4) ... 80s (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 ... 80002 files and directories currently installed.) 80s Preparing to unpack .../openssh-sftp-server_1%3a9.9p1-3ubuntu2_arm64.deb ... 80s Unpacking openssh-sftp-server (1:9.9p1-3ubuntu2) over (1:9.7p1-7ubuntu5) ... 80s Preparing to unpack .../openssh-server_1%3a9.9p1-3ubuntu2_arm64.deb ... 80s Unpacking openssh-server (1:9.9p1-3ubuntu2) over (1:9.7p1-7ubuntu5) ... 80s Preparing to unpack .../openssh-client_1%3a9.9p1-3ubuntu2_arm64.deb ... 80s Unpacking openssh-client (1:9.9p1-3ubuntu2) over (1:9.7p1-7ubuntu5) ... 80s Preparing to unpack .../libpam-runtime_1.5.3-7ubuntu4_all.deb ... 80s Unpacking libpam-runtime (1.5.3-7ubuntu4) over (1.5.3-7ubuntu2) ... 80s Setting up libpam-runtime (1.5.3-7ubuntu4) ... 81s (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 ... 80004 files and directories currently installed.) 81s Preparing to unpack .../libsemanage-common_3.7-2build1_all.deb ... 81s Unpacking libsemanage-common (3.7-2build1) over (3.5-1build6) ... 81s Setting up libsemanage-common (3.7-2build1) ... 81s (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 ... 80003 files and directories currently installed.) 81s Preparing to unpack .../libsemanage2_3.7-2build1_arm64.deb ... 81s Unpacking libsemanage2:arm64 (3.7-2build1) over (3.5-1build6) ... 81s Setting up libsemanage2:arm64 (3.7-2build1) ... 81s (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 ... 80003 files and directories currently installed.) 81s Preparing to unpack .../00-distro-info_1.12_arm64.deb ... 81s Unpacking distro-info (1.12) over (1.9) ... 81s Preparing to unpack .../01-gir1.2-girepository-2.0_1.82.0-2_arm64.deb ... 81s Unpacking gir1.2-girepository-2.0:arm64 (1.82.0-2) over (1.80.1-4) ... 81s Preparing to unpack .../02-gir1.2-glib-2.0_2.82.2-3_arm64.deb ... 81s Unpacking gir1.2-glib-2.0:arm64 (2.82.2-3) over (2.82.1-0ubuntu1) ... 81s Preparing to unpack .../03-libglib2.0-0t64_2.82.2-3_arm64.deb ... 81s Unpacking libglib2.0-0t64:arm64 (2.82.2-3) over (2.82.1-0ubuntu1) ... 81s Preparing to unpack .../04-libgirepository-1.0-1_1.82.0-2_arm64.deb ... 81s Unpacking libgirepository-1.0-1:arm64 (1.82.0-2) over (1.80.1-4) ... 81s Preparing to unpack .../05-libglib2.0-data_2.82.2-3_all.deb ... 81s Unpacking libglib2.0-data (2.82.2-3) over (2.82.1-0ubuntu1) ... 81s Preparing to unpack .../06-python3-dbus_1.3.2-5build4_arm64.deb ... 81s Unpacking python3-dbus (1.3.2-5build4) over (1.3.2-5build3) ... 81s Preparing to unpack .../07-python3-gi_3.50.0-3build1_arm64.deb ... 81s Unpacking python3-gi (3.50.0-3build1) over (3.50.0-3) ... 81s Preparing to unpack .../08-python3-yaml_6.0.2-1build1_arm64.deb ... 81s Unpacking python3-yaml (6.0.2-1build1) over (6.0.2-1) ... 82s Preparing to unpack .../09-vim-tiny_2%3a9.1.0861-1ubuntu1_arm64.deb ... 82s Unpacking vim-tiny (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 82s Preparing to unpack .../10-vim-common_2%3a9.1.0861-1ubuntu1_all.deb ... 82s Unpacking vim-common (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 82s Preparing to unpack .../11-xxd_2%3a9.1.0861-1ubuntu1_arm64.deb ... 82s Unpacking xxd (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 82s Preparing to unpack .../12-libplymouth5_24.004.60-2ubuntu3_arm64.deb ... 82s Unpacking libplymouth5:arm64 (24.004.60-2ubuntu3) over (24.004.60-1ubuntu11) ... 82s Preparing to unpack .../13-plymouth-theme-ubuntu-text_24.004.60-2ubuntu3_arm64.deb ... 82s Unpacking plymouth-theme-ubuntu-text (24.004.60-2ubuntu3) over (24.004.60-1ubuntu11) ... 82s Preparing to unpack .../14-plymouth_24.004.60-2ubuntu3_arm64.deb ... 82s Unpacking plymouth (24.004.60-2ubuntu3) over (24.004.60-1ubuntu11) ... 82s Preparing to unpack .../15-bpftrace_0.21.2-2ubuntu3_arm64.deb ... 82s Unpacking bpftrace (0.21.2-2ubuntu3) over (0.21.2-2ubuntu2) ... 82s Preparing to unpack .../16-curl_8.9.1-2ubuntu3_arm64.deb ... 82s Unpacking curl (8.9.1-2ubuntu3) over (8.9.1-2ubuntu2) ... 82s Preparing to unpack .../17-libcurl4t64_8.9.1-2ubuntu3_arm64.deb ... 82s Unpacking libcurl4t64:arm64 (8.9.1-2ubuntu3) over (8.9.1-2ubuntu2) ... 82s Preparing to unpack .../18-fwupd-signed_1.55+1.7-1_arm64.deb ... 82s Unpacking fwupd-signed (1.55+1.7-1) over (1.54+1.6-1build1) ... 82s Preparing to unpack .../19-libcurl3t64-gnutls_8.9.1-2ubuntu3_arm64.deb ... 82s Unpacking libcurl3t64-gnutls:arm64 (8.9.1-2ubuntu3) over (8.9.1-2ubuntu2) ... 82s Selecting previously unselected package libsgutils2-1.48:arm64. 82s Preparing to unpack .../20-libsgutils2-1.48_1.48-0ubuntu1_arm64.deb ... 82s Unpacking libsgutils2-1.48:arm64 (1.48-0ubuntu1) ... 82s Preparing to unpack .../21-linux-base_4.10.1ubuntu1_all.deb ... 82s Unpacking linux-base (4.10.1ubuntu1) over (4.5ubuntu9) ... 82s Preparing to unpack .../22-lxd-installer_10_all.deb ... 82s Unpacking lxd-installer (10) over (9) ... 82s Preparing to unpack .../23-python3-blinker_1.9.0-1_all.deb ... 83s Unpacking python3-blinker (1.9.0-1) over (1.8.2-1) ... 83s Preparing to unpack .../24-python3-rpds-py_0.21.0-2ubuntu1_arm64.deb ... 83s Unpacking python3-rpds-py (0.21.0-2ubuntu1) over (0.20.0-0ubuntu3) ... 83s Preparing to unpack .../25-python3-jsonschema-specifications_2023.12.1-2_all.deb ... 83s Unpacking python3-jsonschema-specifications (2023.12.1-2) over (2023.12.1-1ubuntu1) ... 83s Preparing to unpack .../26-sg3-utils_1.48-0ubuntu1_arm64.deb ... 83s Unpacking sg3-utils (1.48-0ubuntu1) over (1.46-3ubuntu5) ... 83s Preparing to unpack .../27-sg3-utils-udev_1.48-0ubuntu1_all.deb ... 83s Unpacking sg3-utils-udev (1.48-0ubuntu1) over (1.46-3ubuntu5) ... 83s Setting up distro-info (1.12) ... 83s Setting up linux-base (4.10.1ubuntu1) ... 83s Setting up libcurl4t64:arm64 (8.9.1-2ubuntu3) ... 83s Setting up bpftrace (0.21.2-2ubuntu3) ... 83s Setting up openssh-client (1:9.9p1-3ubuntu2) ... 83s Setting up libcurl3t64-gnutls:arm64 (8.9.1-2ubuntu3) ... 83s Setting up fwupd-signed (1.55+1.7-1) ... 83s Setting up libsgutils2-1.48:arm64 (1.48-0ubuntu1) ... 83s Setting up debconf-i18n (1.5.87ubuntu1) ... 83s Setting up xxd (2:9.1.0861-1ubuntu1) ... 83s Setting up libglib2.0-0t64:arm64 (2.82.2-3) ... 83s No schema files found: doing nothing. 83s Setting up libglib2.0-data (2.82.2-3) ... 83s Setting up vim-common (2:9.1.0861-1ubuntu1) ... 83s Setting up gir1.2-glib-2.0:arm64 (2.82.2-3) ... 83s Setting up lxd-installer (10) ... 84s Setting up libplymouth5:arm64 (24.004.60-2ubuntu3) ... 84s Setting up libgirepository-1.0-1:arm64 (1.82.0-2) ... 84s Setting up curl (8.9.1-2ubuntu3) ... 84s Setting up libpython3-stdlib:arm64 (3.12.7-1) ... 84s Setting up sg3-utils (1.48-0ubuntu1) ... 84s Setting up openssh-sftp-server (1:9.9p1-3ubuntu2) ... 84s Setting up openssh-server (1:9.9p1-3ubuntu2) ... 84s Installing new version of config file /etc/ssh/moduli ... 84s Replacing config file /etc/ssh/sshd_config with new version 85s Setting up plymouth (24.004.60-2ubuntu3) ... 85s update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic 85s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 101s flash-kernel: deferring update (trigger activated) 101s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 102s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 102s Setting up python3 (3.12.7-1) ... 102s Setting up vim-tiny (2:9.1.0861-1ubuntu1) ... 102s Setting up sg3-utils-udev (1.48-0ubuntu1) ... 103s update-initramfs: deferring update (trigger activated) 103s Setting up plymouth-theme-ubuntu-text (24.004.60-2ubuntu3) ... 103s update-initramfs: deferring update (trigger activated) 103s Setting up gir1.2-girepository-2.0:arm64 (1.82.0-2) ... 103s Setting up python3-gi (3.50.0-3build1) ... 103s Setting up python3-rpds-py (0.21.0-2ubuntu1) ... 103s Setting up python3-jsonschema-specifications (2023.12.1-2) ... 103s Setting up python3-blinker (1.9.0-1) ... 103s Setting up python3-dbus (1.3.2-5build4) ... 103s Setting up python3-debconf (1.5.87ubuntu1) ... 103s Setting up python3-yaml (6.0.2-1build1) ... 103s Processing triggers for man-db (2.13.0-1) ... 105s Processing triggers for debianutils (5.21) ... 105s Processing triggers for install-info (7.1.1-1) ... 105s Processing triggers for initramfs-tools (0.142ubuntu35) ... 105s update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic 105s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 119s System running in EFI mode, skipping. 119s Processing triggers for libc-bin (2.40-1ubuntu3) ... 119s Processing triggers for ufw (0.36.2-8) ... 119s Processing triggers for flash-kernel (3.107ubuntu13) ... 119s System running in EFI mode, skipping. 120s Reading package lists... 120s Building dependency tree... 120s Reading state information... 120s The following packages will be REMOVED: 121s libsgutils2-1.46-2* 121s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 121s After this operation, 314 kB disk space will be freed. 121s (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 ... 80037 files and directories currently installed.) 121s Removing libsgutils2-1.46-2:arm64 (1.46-3ubuntu5) ... 121s Processing triggers for libc-bin (2.40-1ubuntu3) ... 121s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 122s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 122s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 122s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 123s Reading package lists... 123s Reading package lists... 123s Building dependency tree... 123s Reading state information... 124s Calculating upgrade... 124s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 124s Reading package lists... 124s Building dependency tree... 124s Reading state information... 125s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 125s autopkgtest [20:34:01]: rebooting testbed after setup commands that affected boot 129s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 151s autopkgtest [20:34:27]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 154s autopkgtest [20:34:30]: @@@@@@@@@@@@@@@@@@@@ apt-source bpack 157s Get:1 http://ftpmaster.internal/ubuntu plucky/universe bpack 1.1.0-2 (dsc) [3063 B] 157s Get:2 http://ftpmaster.internal/ubuntu plucky/universe bpack 1.1.0-2 (tar) [62.0 kB] 157s Get:3 http://ftpmaster.internal/ubuntu plucky/universe bpack 1.1.0-2 (diff) [3532 B] 157s gpgv: Signature made Tue Jun 18 21:16:10 2024 UTC 157s gpgv: using RSA key 8182DE417056408D614650D16750F10AE88D4AF1 157s gpgv: Can't check signature: No public key 157s dpkg-source: warning: cannot verify inline signature for ./bpack_1.1.0-2.dsc: no acceptable signature found 157s autopkgtest [20:34:33]: testing package bpack version 1.1.0-2 157s autopkgtest [20:34:33]: build not needed 158s autopkgtest [20:34:34]: test pybuild-autopkgtest: preparing testbed 159s Reading package lists... 159s Building dependency tree... 159s Reading state information... 160s Starting pkgProblemResolver with broken count: 0 160s Starting 2 pkgProblemResolver with broken count: 0 160s Done 160s The following additional packages will be installed: 160s autoconf automake autopoint autotools-dev build-essential cpp cpp-14 160s cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu debhelper debugedit 160s dh-autoreconf dh-python dh-strip-nondeterminism docutils-common dwz 160s fonts-font-awesome fonts-lato g++ g++-14 g++-14-aarch64-linux-gnu 160s g++-aarch64-linux-gnu gcc gcc-14 gcc-14-aarch64-linux-gnu 160s gcc-aarch64-linux-gnu gettext intltool-debian libarchive-zip-perl libasan8 160s libblas3 libcc1-0 libdebhelper-perl libfile-stripnondeterminism-perl 160s libgcc-14-dev libgfortran5 libgomp1 libhwasan0 libisl23 libitm1 libjs-jquery 160s libjs-sphinxdoc libjs-underscore libjson-perl liblapack3 liblsan0 libmpc3 160s libpython3.13-minimal libpython3.13-stdlib libstdc++-14-dev libtool libtsan2 160s libubsan1 m4 po-debconf pybuild-plugin-autopkgtest pybuild-plugin-pyproject 160s python-bpack-doc python3-alabaster python3-all python3-bitarray 160s python3-bitstruct python3-bpack python3-build python3-defusedxml 160s python3-docutils python3-imagesize python3-iniconfig python3-installer 160s python3-numpy python3-packaging python3-pluggy python3-pyproject-hooks 160s python3-pytest python3-roman python3-snowballstemmer python3-sphinx 160s python3-sphinx-rtd-theme python3-sphinxcontrib.jquery python3-toml 160s python3-wheel python3.13 python3.13-minimal sgml-base sphinx-common 160s sphinx-rtd-theme-common xml-core 160s Suggested packages: 160s autoconf-archive gnu-standards autoconf-doc cpp-doc gcc-14-locales 160s cpp-14-doc dh-make flit gcc-14-doc gcc-multilib manpages-dev flex bison gdb 160s gcc-doc gdb-aarch64-linux-gnu gettext-doc libasprintf-dev libgettextpo-dev 160s libstdc++-14-doc libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc 160s libmail-box-perl www-browser python3-pip python3-venv python-build-doc 160s docutils-doc fonts-linuxlibertine | ttf-linux-libertine texlive-lang-french 160s texlive-latex-base texlive-latex-recommended python-installer-doc gfortran 160s python-numpy-doc python3-dev python3-stemmer dvipng dvisvgm 160s fonts-freefont-otf imagemagick-6.q16 latexmk libjs-mathjax sphinx-doc 160s tex-gyre texlive-fonts-extra texlive-fonts-recommended texlive-latex-extra 160s texlive-plain-generic python3.13-venv python3.13-doc binfmt-support 160s sgml-base-doc 160s Recommended packages: 160s libarchive-cpio-perl javascript-common libjson-xs-perl libltdl-dev 160s libmail-sendmail-perl libpaper-utils python3-pil 160s The following NEW packages will be installed: 160s autoconf automake autopkgtest-satdep autopoint autotools-dev build-essential 160s cpp cpp-14 cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu debhelper 160s debugedit dh-autoreconf dh-python dh-strip-nondeterminism docutils-common 160s dwz fonts-font-awesome fonts-lato g++ g++-14 g++-14-aarch64-linux-gnu 160s g++-aarch64-linux-gnu gcc gcc-14 gcc-14-aarch64-linux-gnu 160s gcc-aarch64-linux-gnu gettext intltool-debian libarchive-zip-perl libasan8 160s libblas3 libcc1-0 libdebhelper-perl libfile-stripnondeterminism-perl 160s libgcc-14-dev libgfortran5 libgomp1 libhwasan0 libisl23 libitm1 libjs-jquery 160s libjs-sphinxdoc libjs-underscore libjson-perl liblapack3 liblsan0 libmpc3 160s libpython3.13-minimal libpython3.13-stdlib libstdc++-14-dev libtool libtsan2 160s libubsan1 m4 po-debconf pybuild-plugin-autopkgtest pybuild-plugin-pyproject 160s python-bpack-doc python3-alabaster python3-all python3-bitarray 160s python3-bitstruct python3-bpack python3-build python3-defusedxml 160s python3-docutils python3-imagesize python3-iniconfig python3-installer 160s python3-numpy python3-packaging python3-pluggy python3-pyproject-hooks 160s python3-pytest python3-roman python3-snowballstemmer python3-sphinx 160s python3-sphinx-rtd-theme python3-sphinxcontrib.jquery python3-toml 160s python3-wheel python3.13 python3.13-minimal sgml-base sphinx-common 160s sphinx-rtd-theme-common xml-core 160s 0 upgraded, 88 newly installed, 0 to remove and 0 not upgraded. 160s Need to get 85.1 MB/85.1 MB of archives. 160s After this operation, 311 MB of additional disk space will be used. 160s Get:1 /tmp/autopkgtest.fWsbXp/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [844 B] 161s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 fonts-lato all 2.015-1 [2781 kB] 161s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-minimal arm64 3.13.0-2 [877 kB] 161s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-minimal arm64 3.13.0-2 [2100 kB] 161s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 sgml-base all 1.31 [11.4 kB] 161s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 m4 arm64 1.4.19-4build1 [240 kB] 161s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 autoconf all 2.72-3 [382 kB] 161s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 autotools-dev all 20220109.1 [44.9 kB] 161s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 automake all 1:1.16.5-1.3ubuntu1 [558 kB] 161s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 autopoint all 0.22.5-2 [616 kB] 161s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 libisl23 arm64 0.27-1 [676 kB] 161s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 libmpc3 arm64 1.3.1-1build2 [56.8 kB] 161s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14-aarch64-linux-gnu arm64 14.2.0-8ubuntu1 [10.6 MB] 162s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14 arm64 14.2.0-8ubuntu1 [1028 B] 162s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [5452 B] 162s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp arm64 4:14.1.0-2ubuntu1 [22.5 kB] 162s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 libcc1-0 arm64 14.2.0-8ubuntu1 [49.7 kB] 162s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 libgomp1 arm64 14.2.0-8ubuntu1 [145 kB] 162s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 libitm1 arm64 14.2.0-8ubuntu1 [27.8 kB] 162s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libasan8 arm64 14.2.0-8ubuntu1 [2893 kB] 162s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 liblsan0 arm64 14.2.0-8ubuntu1 [1283 kB] 162s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 libtsan2 arm64 14.2.0-8ubuntu1 [2686 kB] 162s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 libubsan1 arm64 14.2.0-8ubuntu1 [1151 kB] 162s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 libhwasan0 arm64 14.2.0-8ubuntu1 [1598 kB] 162s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 libgcc-14-dev arm64 14.2.0-8ubuntu1 [2594 kB] 162s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14-aarch64-linux-gnu arm64 14.2.0-8ubuntu1 [20.9 MB] 163s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14 arm64 14.2.0-8ubuntu1 [518 kB] 163s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [1200 B] 163s Get:29 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc arm64 4:14.1.0-2ubuntu1 [4994 B] 163s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 libstdc++-14-dev arm64 14.2.0-8ubuntu1 [2476 kB] 163s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14-aarch64-linux-gnu arm64 14.2.0-8ubuntu1 [12.1 MB] 163s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14 arm64 14.2.0-8ubuntu1 [19.9 kB] 163s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [958 B] 163s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 g++ arm64 4:14.1.0-2ubuntu1 [1080 B] 163s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 build-essential arm64 12.10ubuntu1 [4932 B] 163s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 libdebhelper-perl all 13.20ubuntu1 [94.2 kB] 163s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 libtool all 2.4.7-8 [166 kB] 163s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 dh-autoreconf all 20 [16.1 kB] 163s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 libarchive-zip-perl all 1.68-1 [90.2 kB] 163s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 163s Get:41 http://ftpmaster.internal/ubuntu plucky/main arm64 dh-strip-nondeterminism all 1.14.0-1 [5058 B] 163s Get:42 http://ftpmaster.internal/ubuntu plucky/main arm64 debugedit arm64 1:5.1-1 [45.9 kB] 163s Get:43 http://ftpmaster.internal/ubuntu plucky/main arm64 dwz arm64 0.15-1build6 [113 kB] 163s Get:44 http://ftpmaster.internal/ubuntu plucky/main arm64 gettext arm64 0.22.5-2 [930 kB] 163s Get:45 http://ftpmaster.internal/ubuntu plucky/main arm64 intltool-debian all 0.35.0+20060710.6 [23.2 kB] 163s Get:46 http://ftpmaster.internal/ubuntu plucky/main arm64 po-debconf all 1.0.21+nmu1 [233 kB] 163s Get:47 http://ftpmaster.internal/ubuntu plucky/main arm64 debhelper all 13.20ubuntu1 [893 kB] 163s Get:48 http://ftpmaster.internal/ubuntu plucky/universe arm64 dh-python all 6.20241024 [112 kB] 163s Get:49 http://ftpmaster.internal/ubuntu plucky/main arm64 xml-core all 0.19 [20.3 kB] 163s Get:50 http://ftpmaster.internal/ubuntu plucky/main arm64 docutils-common all 0.21.2+dfsg-2 [131 kB] 163s Get:51 http://ftpmaster.internal/ubuntu plucky/main arm64 fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 163s Get:52 http://ftpmaster.internal/ubuntu plucky/main arm64 libblas3 arm64 3.12.0-3build2 [152 kB] 163s Get:53 http://ftpmaster.internal/ubuntu plucky/main arm64 libgfortran5 arm64 14.2.0-8ubuntu1 [438 kB] 163s Get:54 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 163s Get:55 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 163s Get:56 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-sphinxdoc all 7.4.7-4 [158 kB] 163s Get:57 http://ftpmaster.internal/ubuntu plucky/main arm64 libjson-perl all 4.10000-1 [81.9 kB] 163s Get:58 http://ftpmaster.internal/ubuntu plucky/main arm64 liblapack3 arm64 3.12.0-3build2 [2293 kB] 163s Get:59 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-stdlib arm64 3.13.0-2 [2073 kB] 163s Get:60 http://ftpmaster.internal/ubuntu plucky/universe arm64 pybuild-plugin-autopkgtest all 6.20241024 [1746 B] 163s Get:61 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.2-1 [51.5 kB] 163s Get:62 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pyproject-hooks all 1.2.0-1 [10.2 kB] 163s Get:63 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-toml all 0.10.2-1 [16.5 kB] 163s Get:64 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-wheel all 0.45.0-1 [57.7 kB] 163s Get:65 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-build all 1.2.2-1 [31.0 kB] 163s Get:66 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-installer all 0.7.0+dfsg1-3 [17.4 kB] 163s Get:67 http://ftpmaster.internal/ubuntu plucky/universe arm64 pybuild-plugin-pyproject all 6.20241024 [1728 B] 163s Get:68 http://ftpmaster.internal/ubuntu plucky/main arm64 sphinx-rtd-theme-common all 3.0.2+dfsg-1 [1014 kB] 164s Get:69 http://ftpmaster.internal/ubuntu plucky/universe arm64 python-bpack-doc all 1.1.0-2 [100 kB] 164s Get:70 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13 arm64 3.13.0-2 [719 kB] 164s Get:71 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-all arm64 3.12.7-1 [890 B] 164s Get:72 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-bitarray arm64 2.9.2-1build2 [153 kB] 164s Get:73 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-bitstruct arm64 8.19.0-1build1 [25.1 kB] 164s Get:74 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-bpack all 1.1.0-2 [34.5 kB] 164s Get:75 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-defusedxml all 0.7.1-2 [42.0 kB] 164s Get:76 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-roman all 4.2-1 [10.0 kB] 164s Get:77 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-docutils all 0.21.2+dfsg-2 [409 kB] 164s Get:78 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-imagesize all 1.4.1-1 [6844 B] 164s Get:79 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 164s Get:80 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-numpy arm64 1:1.26.4+ds-11ubuntu1 [4149 kB] 164s Get:81 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 164s Get:82 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest all 8.3.3-1 [251 kB] 164s Get:83 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-snowballstemmer all 2.2.0-4build1 [59.8 kB] 164s Get:84 http://ftpmaster.internal/ubuntu plucky/main arm64 sphinx-common all 7.4.7-4 [775 kB] 164s Get:85 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-alabaster all 0.7.16-0.1 [18.5 kB] 164s Get:86 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-sphinx all 7.4.7-4 [593 kB] 164s Get:87 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-sphinxcontrib.jquery all 4.1-5 [6678 B] 164s Get:88 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-sphinx-rtd-theme all 3.0.2+dfsg-1 [23.5 kB] 164s Fetched 85.1 MB in 3s (25.3 MB/s) 164s Selecting previously unselected package fonts-lato. 165s (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 ... 80032 files and directories currently installed.) 165s Preparing to unpack .../00-fonts-lato_2.015-1_all.deb ... 165s Unpacking fonts-lato (2.015-1) ... 165s Selecting previously unselected package libpython3.13-minimal:arm64. 165s Preparing to unpack .../01-libpython3.13-minimal_3.13.0-2_arm64.deb ... 165s Unpacking libpython3.13-minimal:arm64 (3.13.0-2) ... 165s Selecting previously unselected package python3.13-minimal. 165s Preparing to unpack .../02-python3.13-minimal_3.13.0-2_arm64.deb ... 165s Unpacking python3.13-minimal (3.13.0-2) ... 165s Selecting previously unselected package sgml-base. 165s Preparing to unpack .../03-sgml-base_1.31_all.deb ... 165s Unpacking sgml-base (1.31) ... 165s Selecting previously unselected package m4. 165s Preparing to unpack .../04-m4_1.4.19-4build1_arm64.deb ... 165s Unpacking m4 (1.4.19-4build1) ... 165s Selecting previously unselected package autoconf. 165s Preparing to unpack .../05-autoconf_2.72-3_all.deb ... 165s Unpacking autoconf (2.72-3) ... 165s Selecting previously unselected package autotools-dev. 165s Preparing to unpack .../06-autotools-dev_20220109.1_all.deb ... 165s Unpacking autotools-dev (20220109.1) ... 165s Selecting previously unselected package automake. 165s Preparing to unpack .../07-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 165s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 165s Selecting previously unselected package autopoint. 165s Preparing to unpack .../08-autopoint_0.22.5-2_all.deb ... 165s Unpacking autopoint (0.22.5-2) ... 165s Selecting previously unselected package libisl23:arm64. 165s Preparing to unpack .../09-libisl23_0.27-1_arm64.deb ... 165s Unpacking libisl23:arm64 (0.27-1) ... 165s Selecting previously unselected package libmpc3:arm64. 165s Preparing to unpack .../10-libmpc3_1.3.1-1build2_arm64.deb ... 165s Unpacking libmpc3:arm64 (1.3.1-1build2) ... 166s Selecting previously unselected package cpp-14-aarch64-linux-gnu. 166s Preparing to unpack .../11-cpp-14-aarch64-linux-gnu_14.2.0-8ubuntu1_arm64.deb ... 166s Unpacking cpp-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 166s Selecting previously unselected package cpp-14. 166s Preparing to unpack .../12-cpp-14_14.2.0-8ubuntu1_arm64.deb ... 166s Unpacking cpp-14 (14.2.0-8ubuntu1) ... 166s Selecting previously unselected package cpp-aarch64-linux-gnu. 166s Preparing to unpack .../13-cpp-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 166s Unpacking cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 166s Selecting previously unselected package cpp. 166s Preparing to unpack .../14-cpp_4%3a14.1.0-2ubuntu1_arm64.deb ... 166s Unpacking cpp (4:14.1.0-2ubuntu1) ... 166s Selecting previously unselected package libcc1-0:arm64. 166s Preparing to unpack .../15-libcc1-0_14.2.0-8ubuntu1_arm64.deb ... 166s Unpacking libcc1-0:arm64 (14.2.0-8ubuntu1) ... 166s Selecting previously unselected package libgomp1:arm64. 166s Preparing to unpack .../16-libgomp1_14.2.0-8ubuntu1_arm64.deb ... 166s Unpacking libgomp1:arm64 (14.2.0-8ubuntu1) ... 166s Selecting previously unselected package libitm1:arm64. 166s Preparing to unpack .../17-libitm1_14.2.0-8ubuntu1_arm64.deb ... 166s Unpacking libitm1:arm64 (14.2.0-8ubuntu1) ... 166s Selecting previously unselected package libasan8:arm64. 166s Preparing to unpack .../18-libasan8_14.2.0-8ubuntu1_arm64.deb ... 166s Unpacking libasan8:arm64 (14.2.0-8ubuntu1) ... 166s Selecting previously unselected package liblsan0:arm64. 166s Preparing to unpack .../19-liblsan0_14.2.0-8ubuntu1_arm64.deb ... 166s Unpacking liblsan0:arm64 (14.2.0-8ubuntu1) ... 166s Selecting previously unselected package libtsan2:arm64. 166s Preparing to unpack .../20-libtsan2_14.2.0-8ubuntu1_arm64.deb ... 166s Unpacking libtsan2:arm64 (14.2.0-8ubuntu1) ... 166s Selecting previously unselected package libubsan1:arm64. 166s Preparing to unpack .../21-libubsan1_14.2.0-8ubuntu1_arm64.deb ... 166s Unpacking libubsan1:arm64 (14.2.0-8ubuntu1) ... 166s Selecting previously unselected package libhwasan0:arm64. 166s Preparing to unpack .../22-libhwasan0_14.2.0-8ubuntu1_arm64.deb ... 166s Unpacking libhwasan0:arm64 (14.2.0-8ubuntu1) ... 166s Selecting previously unselected package libgcc-14-dev:arm64. 166s Preparing to unpack .../23-libgcc-14-dev_14.2.0-8ubuntu1_arm64.deb ... 166s Unpacking libgcc-14-dev:arm64 (14.2.0-8ubuntu1) ... 166s Selecting previously unselected package gcc-14-aarch64-linux-gnu. 166s Preparing to unpack .../24-gcc-14-aarch64-linux-gnu_14.2.0-8ubuntu1_arm64.deb ... 166s Unpacking gcc-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 167s Selecting previously unselected package gcc-14. 167s Preparing to unpack .../25-gcc-14_14.2.0-8ubuntu1_arm64.deb ... 167s Unpacking gcc-14 (14.2.0-8ubuntu1) ... 167s Selecting previously unselected package gcc-aarch64-linux-gnu. 167s Preparing to unpack .../26-gcc-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 167s Unpacking gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 167s Selecting previously unselected package gcc. 167s Preparing to unpack .../27-gcc_4%3a14.1.0-2ubuntu1_arm64.deb ... 167s Unpacking gcc (4:14.1.0-2ubuntu1) ... 167s Selecting previously unselected package libstdc++-14-dev:arm64. 167s Preparing to unpack .../28-libstdc++-14-dev_14.2.0-8ubuntu1_arm64.deb ... 167s Unpacking libstdc++-14-dev:arm64 (14.2.0-8ubuntu1) ... 167s Selecting previously unselected package g++-14-aarch64-linux-gnu. 167s Preparing to unpack .../29-g++-14-aarch64-linux-gnu_14.2.0-8ubuntu1_arm64.deb ... 167s Unpacking g++-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 168s Selecting previously unselected package g++-14. 168s Preparing to unpack .../30-g++-14_14.2.0-8ubuntu1_arm64.deb ... 168s Unpacking g++-14 (14.2.0-8ubuntu1) ... 168s Selecting previously unselected package g++-aarch64-linux-gnu. 168s Preparing to unpack .../31-g++-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 168s Unpacking g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 168s Selecting previously unselected package g++. 168s Preparing to unpack .../32-g++_4%3a14.1.0-2ubuntu1_arm64.deb ... 168s Unpacking g++ (4:14.1.0-2ubuntu1) ... 168s Selecting previously unselected package build-essential. 168s Preparing to unpack .../33-build-essential_12.10ubuntu1_arm64.deb ... 168s Unpacking build-essential (12.10ubuntu1) ... 168s Selecting previously unselected package libdebhelper-perl. 168s Preparing to unpack .../34-libdebhelper-perl_13.20ubuntu1_all.deb ... 168s Unpacking libdebhelper-perl (13.20ubuntu1) ... 168s Selecting previously unselected package libtool. 168s Preparing to unpack .../35-libtool_2.4.7-8_all.deb ... 168s Unpacking libtool (2.4.7-8) ... 168s Selecting previously unselected package dh-autoreconf. 168s Preparing to unpack .../36-dh-autoreconf_20_all.deb ... 168s Unpacking dh-autoreconf (20) ... 168s Selecting previously unselected package libarchive-zip-perl. 168s Preparing to unpack .../37-libarchive-zip-perl_1.68-1_all.deb ... 168s Unpacking libarchive-zip-perl (1.68-1) ... 168s Selecting previously unselected package libfile-stripnondeterminism-perl. 168s Preparing to unpack .../38-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 168s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 168s Selecting previously unselected package dh-strip-nondeterminism. 168s Preparing to unpack .../39-dh-strip-nondeterminism_1.14.0-1_all.deb ... 168s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 168s Selecting previously unselected package debugedit. 168s Preparing to unpack .../40-debugedit_1%3a5.1-1_arm64.deb ... 168s Unpacking debugedit (1:5.1-1) ... 168s Selecting previously unselected package dwz. 168s Preparing to unpack .../41-dwz_0.15-1build6_arm64.deb ... 168s Unpacking dwz (0.15-1build6) ... 168s Selecting previously unselected package gettext. 168s Preparing to unpack .../42-gettext_0.22.5-2_arm64.deb ... 168s Unpacking gettext (0.22.5-2) ... 168s Selecting previously unselected package intltool-debian. 168s Preparing to unpack .../43-intltool-debian_0.35.0+20060710.6_all.deb ... 168s Unpacking intltool-debian (0.35.0+20060710.6) ... 169s Selecting previously unselected package po-debconf. 169s Preparing to unpack .../44-po-debconf_1.0.21+nmu1_all.deb ... 169s Unpacking po-debconf (1.0.21+nmu1) ... 169s Selecting previously unselected package debhelper. 169s Preparing to unpack .../45-debhelper_13.20ubuntu1_all.deb ... 169s Unpacking debhelper (13.20ubuntu1) ... 169s Selecting previously unselected package dh-python. 169s Preparing to unpack .../46-dh-python_6.20241024_all.deb ... 169s Unpacking dh-python (6.20241024) ... 169s Selecting previously unselected package xml-core. 169s Preparing to unpack .../47-xml-core_0.19_all.deb ... 169s Unpacking xml-core (0.19) ... 169s Selecting previously unselected package docutils-common. 169s Preparing to unpack .../48-docutils-common_0.21.2+dfsg-2_all.deb ... 169s Unpacking docutils-common (0.21.2+dfsg-2) ... 169s Selecting previously unselected package fonts-font-awesome. 169s Preparing to unpack .../49-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 169s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 169s Selecting previously unselected package libblas3:arm64. 169s Preparing to unpack .../50-libblas3_3.12.0-3build2_arm64.deb ... 169s Unpacking libblas3:arm64 (3.12.0-3build2) ... 169s Selecting previously unselected package libgfortran5:arm64. 169s Preparing to unpack .../51-libgfortran5_14.2.0-8ubuntu1_arm64.deb ... 169s Unpacking libgfortran5:arm64 (14.2.0-8ubuntu1) ... 169s Selecting previously unselected package libjs-jquery. 169s Preparing to unpack .../52-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 169s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 169s Selecting previously unselected package libjs-underscore. 169s Preparing to unpack .../53-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 169s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 169s Selecting previously unselected package libjs-sphinxdoc. 169s Preparing to unpack .../54-libjs-sphinxdoc_7.4.7-4_all.deb ... 169s Unpacking libjs-sphinxdoc (7.4.7-4) ... 169s Selecting previously unselected package libjson-perl. 169s Preparing to unpack .../55-libjson-perl_4.10000-1_all.deb ... 169s Unpacking libjson-perl (4.10000-1) ... 169s Selecting previously unselected package liblapack3:arm64. 169s Preparing to unpack .../56-liblapack3_3.12.0-3build2_arm64.deb ... 169s Unpacking liblapack3:arm64 (3.12.0-3build2) ... 169s Selecting previously unselected package libpython3.13-stdlib:arm64. 169s Preparing to unpack .../57-libpython3.13-stdlib_3.13.0-2_arm64.deb ... 169s Unpacking libpython3.13-stdlib:arm64 (3.13.0-2) ... 169s Selecting previously unselected package pybuild-plugin-autopkgtest. 169s Preparing to unpack .../58-pybuild-plugin-autopkgtest_6.20241024_all.deb ... 169s Unpacking pybuild-plugin-autopkgtest (6.20241024) ... 169s Selecting previously unselected package python3-packaging. 170s Preparing to unpack .../59-python3-packaging_24.2-1_all.deb ... 170s Unpacking python3-packaging (24.2-1) ... 170s Selecting previously unselected package python3-pyproject-hooks. 170s Preparing to unpack .../60-python3-pyproject-hooks_1.2.0-1_all.deb ... 170s Unpacking python3-pyproject-hooks (1.2.0-1) ... 170s Selecting previously unselected package python3-toml. 170s Preparing to unpack .../61-python3-toml_0.10.2-1_all.deb ... 170s Unpacking python3-toml (0.10.2-1) ... 170s Selecting previously unselected package python3-wheel. 170s Preparing to unpack .../62-python3-wheel_0.45.0-1_all.deb ... 170s Unpacking python3-wheel (0.45.0-1) ... 170s Selecting previously unselected package python3-build. 170s Preparing to unpack .../63-python3-build_1.2.2-1_all.deb ... 170s Unpacking python3-build (1.2.2-1) ... 170s Selecting previously unselected package python3-installer. 170s Preparing to unpack .../64-python3-installer_0.7.0+dfsg1-3_all.deb ... 170s Unpacking python3-installer (0.7.0+dfsg1-3) ... 170s Selecting previously unselected package pybuild-plugin-pyproject. 170s Preparing to unpack .../65-pybuild-plugin-pyproject_6.20241024_all.deb ... 170s Unpacking pybuild-plugin-pyproject (6.20241024) ... 170s Selecting previously unselected package sphinx-rtd-theme-common. 170s Preparing to unpack .../66-sphinx-rtd-theme-common_3.0.2+dfsg-1_all.deb ... 170s Unpacking sphinx-rtd-theme-common (3.0.2+dfsg-1) ... 170s Selecting previously unselected package python-bpack-doc. 170s Preparing to unpack .../67-python-bpack-doc_1.1.0-2_all.deb ... 170s Unpacking python-bpack-doc (1.1.0-2) ... 170s Selecting previously unselected package python3.13. 170s Preparing to unpack .../68-python3.13_3.13.0-2_arm64.deb ... 170s Unpacking python3.13 (3.13.0-2) ... 170s Selecting previously unselected package python3-all. 170s Preparing to unpack .../69-python3-all_3.12.7-1_arm64.deb ... 170s Unpacking python3-all (3.12.7-1) ... 170s Selecting previously unselected package python3-bitarray. 170s Preparing to unpack .../70-python3-bitarray_2.9.2-1build2_arm64.deb ... 170s Unpacking python3-bitarray (2.9.2-1build2) ... 170s Selecting previously unselected package python3-bitstruct. 170s Preparing to unpack .../71-python3-bitstruct_8.19.0-1build1_arm64.deb ... 170s Unpacking python3-bitstruct (8.19.0-1build1) ... 170s Selecting previously unselected package python3-bpack. 170s Preparing to unpack .../72-python3-bpack_1.1.0-2_all.deb ... 170s Unpacking python3-bpack (1.1.0-2) ... 170s Selecting previously unselected package python3-defusedxml. 170s Preparing to unpack .../73-python3-defusedxml_0.7.1-2_all.deb ... 170s Unpacking python3-defusedxml (0.7.1-2) ... 170s Selecting previously unselected package python3-roman. 170s Preparing to unpack .../74-python3-roman_4.2-1_all.deb ... 170s Unpacking python3-roman (4.2-1) ... 170s Selecting previously unselected package python3-docutils. 170s Preparing to unpack .../75-python3-docutils_0.21.2+dfsg-2_all.deb ... 170s Unpacking python3-docutils (0.21.2+dfsg-2) ... 170s Selecting previously unselected package python3-imagesize. 170s Preparing to unpack .../76-python3-imagesize_1.4.1-1_all.deb ... 170s Unpacking python3-imagesize (1.4.1-1) ... 170s Selecting previously unselected package python3-iniconfig. 170s Preparing to unpack .../77-python3-iniconfig_1.1.1-2_all.deb ... 170s Unpacking python3-iniconfig (1.1.1-2) ... 170s Selecting previously unselected package python3-numpy. 170s Preparing to unpack .../78-python3-numpy_1%3a1.26.4+ds-11ubuntu1_arm64.deb ... 170s Unpacking python3-numpy (1:1.26.4+ds-11ubuntu1) ... 171s Selecting previously unselected package python3-pluggy. 171s Preparing to unpack .../79-python3-pluggy_1.5.0-1_all.deb ... 171s Unpacking python3-pluggy (1.5.0-1) ... 171s Selecting previously unselected package python3-pytest. 171s Preparing to unpack .../80-python3-pytest_8.3.3-1_all.deb ... 171s Unpacking python3-pytest (8.3.3-1) ... 171s Selecting previously unselected package python3-snowballstemmer. 171s Preparing to unpack .../81-python3-snowballstemmer_2.2.0-4build1_all.deb ... 171s Unpacking python3-snowballstemmer (2.2.0-4build1) ... 171s Selecting previously unselected package sphinx-common. 171s Preparing to unpack .../82-sphinx-common_7.4.7-4_all.deb ... 171s Unpacking sphinx-common (7.4.7-4) ... 171s Selecting previously unselected package python3-alabaster. 171s Preparing to unpack .../83-python3-alabaster_0.7.16-0.1_all.deb ... 171s Unpacking python3-alabaster (0.7.16-0.1) ... 171s Selecting previously unselected package python3-sphinx. 171s Preparing to unpack .../84-python3-sphinx_7.4.7-4_all.deb ... 171s Unpacking python3-sphinx (7.4.7-4) ... 171s Selecting previously unselected package python3-sphinxcontrib.jquery. 171s Preparing to unpack .../85-python3-sphinxcontrib.jquery_4.1-5_all.deb ... 171s Unpacking python3-sphinxcontrib.jquery (4.1-5) ... 171s Selecting previously unselected package python3-sphinx-rtd-theme. 171s Preparing to unpack .../86-python3-sphinx-rtd-theme_3.0.2+dfsg-1_all.deb ... 171s Unpacking python3-sphinx-rtd-theme (3.0.2+dfsg-1) ... 171s Selecting previously unselected package autopkgtest-satdep. 171s Preparing to unpack .../87-1-autopkgtest-satdep.deb ... 171s Unpacking autopkgtest-satdep (0) ... 171s Setting up dh-python (6.20241024) ... 171s Setting up python3-iniconfig (1.1.1-2) ... 172s Setting up fonts-lato (2.015-1) ... 172s Setting up python3-defusedxml (0.7.1-2) ... 172s Setting up libarchive-zip-perl (1.68-1) ... 172s Setting up python3-alabaster (0.7.16-0.1) ... 172s Setting up libdebhelper-perl (13.20ubuntu1) ... 172s Setting up m4 (1.4.19-4build1) ... 172s Setting up libgomp1:arm64 (14.2.0-8ubuntu1) ... 172s Setting up python3-wheel (0.45.0-1) ... 172s Setting up python3-bpack (1.1.0-2) ... 173s Setting up libpython3.13-minimal:arm64 (3.13.0-2) ... 173s Setting up python3-bitarray (2.9.2-1build2) ... 173s Setting up python3-roman (4.2-1) ... 173s Setting up autotools-dev (20220109.1) ... 173s Setting up libblas3:arm64 (3.12.0-3build2) ... 173s update-alternatives: using /usr/lib/aarch64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/aarch64-linux-gnu/libblas.so.3 (libblas.so.3-aarch64-linux-gnu) in auto mode 173s Setting up python3-packaging (24.2-1) ... 173s Setting up python3-pyproject-hooks (1.2.0-1) ... 174s Setting up python3-snowballstemmer (2.2.0-4build1) ... 174s Setting up libmpc3:arm64 (1.3.1-1build2) ... 174s Setting up autopoint (0.22.5-2) ... 174s Setting up python3-toml (0.10.2-1) ... 174s Setting up python3-installer (0.7.0+dfsg1-3) ... 175s Setting up libgfortran5:arm64 (14.2.0-8ubuntu1) ... 175s Setting up python3-bitstruct (8.19.0-1build1) ... 175s Setting up autoconf (2.72-3) ... 175s Setting up python3-pluggy (1.5.0-1) ... 175s Setting up libubsan1:arm64 (14.2.0-8ubuntu1) ... 175s Setting up dwz (0.15-1build6) ... 175s Setting up libhwasan0:arm64 (14.2.0-8ubuntu1) ... 175s Setting up libasan8:arm64 (14.2.0-8ubuntu1) ... 175s Setting up libjson-perl (4.10000-1) ... 175s Setting up debugedit (1:5.1-1) ... 175s Setting up python3.13-minimal (3.13.0-2) ... 176s Setting up sgml-base (1.31) ... 176s Setting up libtsan2:arm64 (14.2.0-8ubuntu1) ... 176s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 176s Setting up libisl23:arm64 (0.27-1) ... 176s Setting up python3-build (1.2.2-1) ... 176s Setting up libpython3.13-stdlib:arm64 (3.13.0-2) ... 176s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 176s Setting up sphinx-rtd-theme-common (3.0.2+dfsg-1) ... 176s Setting up libcc1-0:arm64 (14.2.0-8ubuntu1) ... 176s Setting up liblsan0:arm64 (14.2.0-8ubuntu1) ... 176s Setting up libitm1:arm64 (14.2.0-8ubuntu1) ... 176s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 176s Setting up python3-imagesize (1.4.1-1) ... 176s Setting up automake (1:1.16.5-1.3ubuntu1) ... 176s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 176s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 176s Setting up liblapack3:arm64 (3.12.0-3build2) ... 176s update-alternatives: using /usr/lib/aarch64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/aarch64-linux-gnu/liblapack.so.3 (liblapack.so.3-aarch64-linux-gnu) in auto mode 176s Setting up gettext (0.22.5-2) ... 176s Setting up python3.13 (3.13.0-2) ... 178s Setting up pybuild-plugin-pyproject (6.20241024) ... 178s Setting up python3-pytest (8.3.3-1) ... 178s Setting up python3-all (3.12.7-1) ... 178s Setting up intltool-debian (0.35.0+20060710.6) ... 178s Setting up python3-numpy (1:1.26.4+ds-11ubuntu1) ... 182s Setting up libjs-sphinxdoc (7.4.7-4) ... 182s Setting up dh-strip-nondeterminism (1.14.0-1) ... 182s Setting up cpp-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 182s Setting up xml-core (0.19) ... 183s Setting up libgcc-14-dev:arm64 (14.2.0-8ubuntu1) ... 183s Setting up libstdc++-14-dev:arm64 (14.2.0-8ubuntu1) ... 183s Setting up po-debconf (1.0.21+nmu1) ... 183s Setting up python-bpack-doc (1.1.0-2) ... 183s Setting up cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 183s Setting up sphinx-common (7.4.7-4) ... 183s Setting up cpp-14 (14.2.0-8ubuntu1) ... 183s Setting up cpp (4:14.1.0-2ubuntu1) ... 183s Setting up gcc-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 183s Setting up gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 183s Setting up g++-14-aarch64-linux-gnu (14.2.0-8ubuntu1) ... 183s Setting up gcc-14 (14.2.0-8ubuntu1) ... 183s Setting up g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 183s Setting up g++-14 (14.2.0-8ubuntu1) ... 183s Setting up libtool (2.4.7-8) ... 183s Setting up gcc (4:14.1.0-2ubuntu1) ... 183s Setting up dh-autoreconf (20) ... 183s Setting up g++ (4:14.1.0-2ubuntu1) ... 183s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 183s Setting up build-essential (12.10ubuntu1) ... 183s Setting up debhelper (13.20ubuntu1) ... 183s Setting up pybuild-plugin-autopkgtest (6.20241024) ... 183s Processing triggers for libc-bin (2.40-1ubuntu3) ... 183s Processing triggers for systemd (256.5-2ubuntu4) ... 183s Processing triggers for man-db (2.13.0-1) ... 185s Processing triggers for install-info (7.1.1-1) ... 185s Processing triggers for sgml-base (1.31) ... 185s Setting up docutils-common (0.21.2+dfsg-2) ... 185s Processing triggers for sgml-base (1.31) ... 185s Setting up python3-docutils (0.21.2+dfsg-2) ... 186s Setting up python3-sphinx (7.4.7-4) ... 187s Setting up python3-sphinxcontrib.jquery (4.1-5) ... 188s Setting up python3-sphinx-rtd-theme (3.0.2+dfsg-1) ... 188s Setting up autopkgtest-satdep (0) ... 192s (Reading database ... 85988 files and directories currently installed.) 192s Removing autopkgtest-satdep (0) ... 193s autopkgtest [20:35:09]: test pybuild-autopkgtest: pybuild-autopkgtest 193s autopkgtest [20:35:09]: test pybuild-autopkgtest: [----------------------- 193s pybuild-autopkgtest 194s I: pybuild base:311: cd /tmp/autopkgtest.fWsbXp/autopkgtest_tmp/build; python3.13 -m pytest --pyargs bpack 195s ============================= test session starts ============================== 195s platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 195s rootdir: /tmp/autopkgtest.fWsbXp/autopkgtest_tmp/build 195s configfile: pyproject.toml 195s plugins: typeguard-4.4.1 195s collected 1709 items 195s 196s tests/test_backends_codec.py ....FFFF.........FFFFFFFFF........FFFFFFFFF [ 2%] 199s FFFFFF....FFFFFFFFF....FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 6%] 199s tests/test_codecs.py FF [ 6%] 199s tests/test_decoder_ba.py FFF.... [ 6%] 199s tests/test_decoder_np.py F [ 6%] 199s tests/test_desctiptor_utils.py ......................... [ 8%] 199s tests/test_field_descriptor.py ......................................... [ 10%] 199s ............... [ 11%] 199s tests/test_packbits.py ................................................. [ 14%] 199s ........................................................................ [ 18%] 199s ........................................................................ [ 22%] 199s ........................................................................ [ 27%] 200s ........................................................................ [ 31%] 203s ........................................................................ [ 35%] 203s ........................................................................ [ 39%] 203s ........................................................................ [ 43%] 203s ........................................................................ [ 48%] 203s ........................................................................ [ 52%] 203s ........................................................................ [ 56%] 203s ........................................................................ [ 60%] 203s ........................................................................ [ 65%] 203s ........................................................................ [ 69%] 203s ........................................................................ [ 73%] 203s ........................................................................ [ 77%] 203s ........................................................................ [ 81%] 204s ........................................................ [ 85%] 204s tests/test_record_descriptor.py ........................................ [ 87%] 204s ................... [ 88%] 204s tests/test_typing.py ................................................... [ 91%] 204s ........................................................................ [ 95%] 204s .................................................... [ 98%] 204s tests/test_utils.py .................... [100%] 204s 204s =================================== FAILURES =================================== 204s ________________________________ test_attrs[bs] ________________________________ 204s 204s backend = 204s 204s @pytest.mark.parametrize("backend", ALL_BACKENDS) 204s def test_attrs(backend): 204s codec = getattr(backend, "codec", backend.decoder) 204s 204s > @codec 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:60: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ________________________________ test_attrs[ba] ________________________________ 204s 204s backend = 204s 204s @pytest.mark.parametrize("backend", ALL_BACKENDS) 204s def test_attrs(backend): 204s codec = getattr(backend, "codec", backend.decoder) 204s 204s > @codec 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:60: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ________________________________ test_attrs[st] ________________________________ 204s 204s backend = 204s 204s @pytest.mark.parametrize("backend", ALL_BACKENDS) 204s def test_attrs(backend): 204s codec = getattr(backend, "codec", backend.decoder) 204s 204s > @codec 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:60: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ________________________________ test_attrs[np] ________________________________ 204s 204s backend = 204s 204s @pytest.mark.parametrize("backend", ALL_BACKENDS) 204s def test_attrs(backend): 204s codec = getattr(backend, "codec", backend.decoder) 204s 204s > @codec 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:60: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ___________________________ test_decoder_func[st BE] ___________________________ 204s 204s backend = 204s Record = 204s 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' 204s 204s @pytest.mark.parametrize( 204s "backend, Record, encoded_data", 204s [ 204s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 204s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 204s pytest.param( 204s bpack_np, 204s ByteRecordBe, 204s BYTE_ENCODED_DATA_BE, 204s id="np BE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_np, 204s ByteRecordLe, 204s BYTE_ENCODED_DATA_LE, 204s id="np LE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeMsb, 204s BIT_ENCODED_DATA_BE_MSB, 204s id="bs BE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeMsb, 204s BIT_ENCODED_DATA_LE_MSB, 204s id="bs LE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeLsb, 204s BIT_ENCODED_DATA_BE_LSB, 204s id="bs BE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeLsb, 204s BIT_ENCODED_DATA_LE_LSB, 204s id="bs LE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_ba, 204s BitRecordBeMsb, 204s BIT_ENCODED_DATA_BE_MSB, 204s id="ba BE MSB", 204s marks=pytest.mark.skipif(not bpack_ba, reason="not available"), 204s ), 204s ], 204s ) 204s def test_decoder_func(backend, Record, encoded_data): # noqa: N803 204s decoded_data = Record() 204s 204s > record_type = backend.decoder(Record) 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:601: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ___________________________ test_decoder_func[st LE] ___________________________ 204s 204s backend = 204s Record = 204s 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' 204s 204s @pytest.mark.parametrize( 204s "backend, Record, encoded_data", 204s [ 204s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 204s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 204s pytest.param( 204s bpack_np, 204s ByteRecordBe, 204s BYTE_ENCODED_DATA_BE, 204s id="np BE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_np, 204s ByteRecordLe, 204s BYTE_ENCODED_DATA_LE, 204s id="np LE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeMsb, 204s BIT_ENCODED_DATA_BE_MSB, 204s id="bs BE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeMsb, 204s BIT_ENCODED_DATA_LE_MSB, 204s id="bs LE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeLsb, 204s BIT_ENCODED_DATA_BE_LSB, 204s id="bs BE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeLsb, 204s BIT_ENCODED_DATA_LE_LSB, 204s id="bs LE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_ba, 204s BitRecordBeMsb, 204s BIT_ENCODED_DATA_BE_MSB, 204s id="ba BE MSB", 204s marks=pytest.mark.skipif(not bpack_ba, reason="not available"), 204s ), 204s ], 204s ) 204s def test_decoder_func(backend, Record, encoded_data): # noqa: N803 204s decoded_data = Record() 204s 204s > record_type = backend.decoder(Record) 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:601: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ___________________________ test_decoder_func[np BE] ___________________________ 204s 204s backend = 204s Record = 204s 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' 204s 204s @pytest.mark.parametrize( 204s "backend, Record, encoded_data", 204s [ 204s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 204s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 204s pytest.param( 204s bpack_np, 204s ByteRecordBe, 204s BYTE_ENCODED_DATA_BE, 204s id="np BE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_np, 204s ByteRecordLe, 204s BYTE_ENCODED_DATA_LE, 204s id="np LE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeMsb, 204s BIT_ENCODED_DATA_BE_MSB, 204s id="bs BE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeMsb, 204s BIT_ENCODED_DATA_LE_MSB, 204s id="bs LE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeLsb, 204s BIT_ENCODED_DATA_BE_LSB, 204s id="bs BE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeLsb, 204s BIT_ENCODED_DATA_LE_LSB, 204s id="bs LE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_ba, 204s BitRecordBeMsb, 204s BIT_ENCODED_DATA_BE_MSB, 204s id="ba BE MSB", 204s marks=pytest.mark.skipif(not bpack_ba, reason="not available"), 204s ), 204s ], 204s ) 204s def test_decoder_func(backend, Record, encoded_data): # noqa: N803 204s decoded_data = Record() 204s 204s > record_type = backend.decoder(Record) 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:601: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ___________________________ test_decoder_func[np LE] ___________________________ 204s 204s backend = 204s Record = 204s 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' 204s 204s @pytest.mark.parametrize( 204s "backend, Record, encoded_data", 204s [ 204s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 204s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 204s pytest.param( 204s bpack_np, 204s ByteRecordBe, 204s BYTE_ENCODED_DATA_BE, 204s id="np BE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_np, 204s ByteRecordLe, 204s BYTE_ENCODED_DATA_LE, 204s id="np LE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeMsb, 204s BIT_ENCODED_DATA_BE_MSB, 204s id="bs BE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeMsb, 204s BIT_ENCODED_DATA_LE_MSB, 204s id="bs LE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeLsb, 204s BIT_ENCODED_DATA_BE_LSB, 204s id="bs BE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeLsb, 204s BIT_ENCODED_DATA_LE_LSB, 204s id="bs LE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_ba, 204s BitRecordBeMsb, 204s BIT_ENCODED_DATA_BE_MSB, 204s id="ba BE MSB", 204s marks=pytest.mark.skipif(not bpack_ba, reason="not available"), 204s ), 204s ], 204s ) 204s def test_decoder_func(backend, Record, encoded_data): # noqa: N803 204s decoded_data = Record() 204s 204s > record_type = backend.decoder(Record) 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:601: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _________________________ test_decoder_func[bs BE MSB] _________________________ 204s 204s backend = 204s Record = 204s encoded_data = b'\xc8\x00?\x80\x00\x00abcABC\x07\xff\xff\xffH\x00\x80\x00\x00\x00\xc8\x00\x80\x00\x00\x00' 204s 204s @pytest.mark.parametrize( 204s "backend, Record, encoded_data", 204s [ 204s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 204s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 204s pytest.param( 204s bpack_np, 204s ByteRecordBe, 204s BYTE_ENCODED_DATA_BE, 204s id="np BE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_np, 204s ByteRecordLe, 204s BYTE_ENCODED_DATA_LE, 204s id="np LE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeMsb, 204s BIT_ENCODED_DATA_BE_MSB, 204s id="bs BE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeMsb, 204s BIT_ENCODED_DATA_LE_MSB, 204s id="bs LE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeLsb, 204s BIT_ENCODED_DATA_BE_LSB, 204s id="bs BE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeLsb, 204s BIT_ENCODED_DATA_LE_LSB, 204s id="bs LE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_ba, 204s BitRecordBeMsb, 204s BIT_ENCODED_DATA_BE_MSB, 204s id="ba BE MSB", 204s marks=pytest.mark.skipif(not bpack_ba, reason="not available"), 204s ), 204s ], 204s ) 204s def test_decoder_func(backend, Record, encoded_data): # noqa: N803 204s decoded_data = Record() 204s 204s > record_type = backend.decoder(Record) 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:601: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _________________________ test_decoder_func[bs LE MSB] _________________________ 204s 204s backend = 204s Record = 204s encoded_data = b'\xc0\x80\x00\x00\x80?abcABC\x0f\xff\xff\x7f@\x80\x00\x00\x00\x80\xc0\x80\x00\x00\x00\x80' 204s 204s @pytest.mark.parametrize( 204s "backend, Record, encoded_data", 204s [ 204s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 204s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 204s pytest.param( 204s bpack_np, 204s ByteRecordBe, 204s BYTE_ENCODED_DATA_BE, 204s id="np BE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_np, 204s ByteRecordLe, 204s BYTE_ENCODED_DATA_LE, 204s id="np LE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeMsb, 204s BIT_ENCODED_DATA_BE_MSB, 204s id="bs BE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeMsb, 204s BIT_ENCODED_DATA_LE_MSB, 204s id="bs LE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeLsb, 204s BIT_ENCODED_DATA_BE_LSB, 204s id="bs BE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeLsb, 204s BIT_ENCODED_DATA_LE_LSB, 204s id="bs LE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_ba, 204s BitRecordBeMsb, 204s BIT_ENCODED_DATA_BE_MSB, 204s id="ba BE MSB", 204s marks=pytest.mark.skipif(not bpack_ba, reason="not available"), 204s ), 204s ], 204s ) 204s def test_decoder_func(backend, Record, encoded_data): # noqa: N803 204s decoded_data = Record() 204s 204s > record_type = backend.decoder(Record) 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:601: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _________________________ test_decoder_func[bs BE LSB] _________________________ 204s 204s backend = 204s Record = 204s 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' 204s 204s @pytest.mark.parametrize( 204s "backend, Record, encoded_data", 204s [ 204s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 204s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 204s pytest.param( 204s bpack_np, 204s ByteRecordBe, 204s BYTE_ENCODED_DATA_BE, 204s id="np BE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_np, 204s ByteRecordLe, 204s BYTE_ENCODED_DATA_LE, 204s id="np LE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeMsb, 204s BIT_ENCODED_DATA_BE_MSB, 204s id="bs BE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeMsb, 204s BIT_ENCODED_DATA_LE_MSB, 204s id="bs LE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeLsb, 204s BIT_ENCODED_DATA_BE_LSB, 204s id="bs BE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeLsb, 204s BIT_ENCODED_DATA_LE_LSB, 204s id="bs LE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_ba, 204s BitRecordBeMsb, 204s BIT_ENCODED_DATA_BE_MSB, 204s id="ba BE MSB", 204s marks=pytest.mark.skipif(not bpack_ba, reason="not available"), 204s ), 204s ], 204s ) 204s def test_decoder_func(backend, Record, encoded_data): # noqa: N803 204s decoded_data = Record() 204s 204s > record_type = backend.decoder(Record) 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:601: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _________________________ test_decoder_func[bs LE LSB] _________________________ 204s 204s backend = 204s Record = 204s 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' 204s 204s @pytest.mark.parametrize( 204s "backend, Record, encoded_data", 204s [ 204s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 204s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 204s pytest.param( 204s bpack_np, 204s ByteRecordBe, 204s BYTE_ENCODED_DATA_BE, 204s id="np BE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_np, 204s ByteRecordLe, 204s BYTE_ENCODED_DATA_LE, 204s id="np LE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeMsb, 204s BIT_ENCODED_DATA_BE_MSB, 204s id="bs BE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeMsb, 204s BIT_ENCODED_DATA_LE_MSB, 204s id="bs LE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeLsb, 204s BIT_ENCODED_DATA_BE_LSB, 204s id="bs BE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeLsb, 204s BIT_ENCODED_DATA_LE_LSB, 204s id="bs LE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_ba, 204s BitRecordBeMsb, 204s BIT_ENCODED_DATA_BE_MSB, 204s id="ba BE MSB", 204s marks=pytest.mark.skipif(not bpack_ba, reason="not available"), 204s ), 204s ], 204s ) 204s def test_decoder_func(backend, Record, encoded_data): # noqa: N803 204s decoded_data = Record() 204s 204s > record_type = backend.decoder(Record) 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:601: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _________________________ test_decoder_func[ba BE MSB] _________________________ 204s 204s backend = 204s Record = 204s encoded_data = b'\xc8\x00?\x80\x00\x00abcABC\x07\xff\xff\xffH\x00\x80\x00\x00\x00\xc8\x00\x80\x00\x00\x00' 204s 204s @pytest.mark.parametrize( 204s "backend, Record, encoded_data", 204s [ 204s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 204s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 204s pytest.param( 204s bpack_np, 204s ByteRecordBe, 204s BYTE_ENCODED_DATA_BE, 204s id="np BE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_np, 204s ByteRecordLe, 204s BYTE_ENCODED_DATA_LE, 204s id="np LE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeMsb, 204s BIT_ENCODED_DATA_BE_MSB, 204s id="bs BE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeMsb, 204s BIT_ENCODED_DATA_LE_MSB, 204s id="bs LE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeLsb, 204s BIT_ENCODED_DATA_BE_LSB, 204s id="bs BE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeLsb, 204s BIT_ENCODED_DATA_LE_LSB, 204s id="bs LE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_ba, 204s BitRecordBeMsb, 204s BIT_ENCODED_DATA_BE_MSB, 204s id="ba BE MSB", 204s marks=pytest.mark.skipif(not bpack_ba, reason="not available"), 204s ), 204s ], 204s ) 204s def test_decoder_func(backend, Record, encoded_data): # noqa: N803 204s decoded_data = Record() 204s 204s > record_type = backend.decoder(Record) 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:601: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ___________________________ test_encoder_func[st BE] ___________________________ 204s 204s backend = 204s Record = 204s 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' 204s 204s @pytest.mark.parametrize( 204s "backend, Record, encoded_data", 204s [ 204s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 204s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 204s pytest.param( 204s bpack_np, 204s ByteRecordBe, 204s BYTE_ENCODED_DATA_BE, 204s id="np BE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_np, 204s ByteRecordLe, 204s BYTE_ENCODED_DATA_LE, 204s id="np LE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeMsb, 204s BIT_ENCODED_DATA_BE_MSB, 204s id="bs BE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeMsb, 204s BIT_ENCODED_DATA_LE_MSB, 204s id="bs LE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeLsb, 204s BIT_ENCODED_DATA_BE_LSB, 204s id="bs BE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeLsb, 204s BIT_ENCODED_DATA_LE_LSB, 204s id="bs LE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s ], 204s ) 204s def test_encoder_func(backend, Record, encoded_data): # noqa: N803 204s record = Record() 204s 204s > record_type = backend.encoder(Record) 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:732: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ___________________________ test_encoder_func[st LE] ___________________________ 204s 204s backend = 204s Record = 204s 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' 204s 204s @pytest.mark.parametrize( 204s "backend, Record, encoded_data", 204s [ 204s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 204s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 204s pytest.param( 204s bpack_np, 204s ByteRecordBe, 204s BYTE_ENCODED_DATA_BE, 204s id="np BE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_np, 204s ByteRecordLe, 204s BYTE_ENCODED_DATA_LE, 204s id="np LE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeMsb, 204s BIT_ENCODED_DATA_BE_MSB, 204s id="bs BE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeMsb, 204s BIT_ENCODED_DATA_LE_MSB, 204s id="bs LE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeLsb, 204s BIT_ENCODED_DATA_BE_LSB, 204s id="bs BE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeLsb, 204s BIT_ENCODED_DATA_LE_LSB, 204s id="bs LE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s ], 204s ) 204s def test_encoder_func(backend, Record, encoded_data): # noqa: N803 204s record = Record() 204s 204s > record_type = backend.encoder(Record) 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:732: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ___________________________ test_encoder_func[np BE] ___________________________ 204s 204s backend = 204s Record = 204s 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' 204s 204s @pytest.mark.parametrize( 204s "backend, Record, encoded_data", 204s [ 204s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 204s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 204s pytest.param( 204s bpack_np, 204s ByteRecordBe, 204s BYTE_ENCODED_DATA_BE, 204s id="np BE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_np, 204s ByteRecordLe, 204s BYTE_ENCODED_DATA_LE, 204s id="np LE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeMsb, 204s BIT_ENCODED_DATA_BE_MSB, 204s id="bs BE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeMsb, 204s BIT_ENCODED_DATA_LE_MSB, 204s id="bs LE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeLsb, 204s BIT_ENCODED_DATA_BE_LSB, 204s id="bs BE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeLsb, 204s BIT_ENCODED_DATA_LE_LSB, 204s id="bs LE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s ], 204s ) 204s def test_encoder_func(backend, Record, encoded_data): # noqa: N803 204s record = Record() 204s 204s > record_type = backend.encoder(Record) 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:732: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ___________________________ test_encoder_func[np LE] ___________________________ 204s 204s backend = 204s Record = 204s 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' 204s 204s @pytest.mark.parametrize( 204s "backend, Record, encoded_data", 204s [ 204s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 204s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 204s pytest.param( 204s bpack_np, 204s ByteRecordBe, 204s BYTE_ENCODED_DATA_BE, 204s id="np BE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_np, 204s ByteRecordLe, 204s BYTE_ENCODED_DATA_LE, 204s id="np LE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeMsb, 204s BIT_ENCODED_DATA_BE_MSB, 204s id="bs BE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeMsb, 204s BIT_ENCODED_DATA_LE_MSB, 204s id="bs LE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeLsb, 204s BIT_ENCODED_DATA_BE_LSB, 204s id="bs BE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeLsb, 204s BIT_ENCODED_DATA_LE_LSB, 204s id="bs LE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s ], 204s ) 204s def test_encoder_func(backend, Record, encoded_data): # noqa: N803 204s record = Record() 204s 204s > record_type = backend.encoder(Record) 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:732: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _________________________ test_encoder_func[bs BE MSB] _________________________ 204s 204s backend = 204s Record = 204s encoded_data = b'\xc8\x00?\x80\x00\x00abcABC\x07\xff\xff\xffH\x00\x80\x00\x00\x00\xc8\x00\x80\x00\x00\x00' 204s 204s @pytest.mark.parametrize( 204s "backend, Record, encoded_data", 204s [ 204s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 204s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 204s pytest.param( 204s bpack_np, 204s ByteRecordBe, 204s BYTE_ENCODED_DATA_BE, 204s id="np BE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_np, 204s ByteRecordLe, 204s BYTE_ENCODED_DATA_LE, 204s id="np LE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeMsb, 204s BIT_ENCODED_DATA_BE_MSB, 204s id="bs BE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeMsb, 204s BIT_ENCODED_DATA_LE_MSB, 204s id="bs LE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeLsb, 204s BIT_ENCODED_DATA_BE_LSB, 204s id="bs BE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeLsb, 204s BIT_ENCODED_DATA_LE_LSB, 204s id="bs LE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s ], 204s ) 204s def test_encoder_func(backend, Record, encoded_data): # noqa: N803 204s record = Record() 204s 204s > record_type = backend.encoder(Record) 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:732: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _________________________ test_encoder_func[bs LE MSB] _________________________ 204s 204s backend = 204s Record = 204s encoded_data = b'\xc0\x80\x00\x00\x80?abcABC\x0f\xff\xff\x7f@\x80\x00\x00\x00\x80\xc0\x80\x00\x00\x00\x80' 204s 204s @pytest.mark.parametrize( 204s "backend, Record, encoded_data", 204s [ 204s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 204s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 204s pytest.param( 204s bpack_np, 204s ByteRecordBe, 204s BYTE_ENCODED_DATA_BE, 204s id="np BE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_np, 204s ByteRecordLe, 204s BYTE_ENCODED_DATA_LE, 204s id="np LE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeMsb, 204s BIT_ENCODED_DATA_BE_MSB, 204s id="bs BE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeMsb, 204s BIT_ENCODED_DATA_LE_MSB, 204s id="bs LE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeLsb, 204s BIT_ENCODED_DATA_BE_LSB, 204s id="bs BE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeLsb, 204s BIT_ENCODED_DATA_LE_LSB, 204s id="bs LE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s ], 204s ) 204s def test_encoder_func(backend, Record, encoded_data): # noqa: N803 204s record = Record() 204s 204s > record_type = backend.encoder(Record) 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:732: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _________________________ test_encoder_func[bs BE LSB] _________________________ 204s 204s backend = 204s Record = 204s 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' 204s 204s @pytest.mark.parametrize( 204s "backend, Record, encoded_data", 204s [ 204s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 204s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 204s pytest.param( 204s bpack_np, 204s ByteRecordBe, 204s BYTE_ENCODED_DATA_BE, 204s id="np BE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_np, 204s ByteRecordLe, 204s BYTE_ENCODED_DATA_LE, 204s id="np LE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeMsb, 204s BIT_ENCODED_DATA_BE_MSB, 204s id="bs BE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeMsb, 204s BIT_ENCODED_DATA_LE_MSB, 204s id="bs LE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeLsb, 204s BIT_ENCODED_DATA_BE_LSB, 204s id="bs BE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeLsb, 204s BIT_ENCODED_DATA_LE_LSB, 204s id="bs LE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s ], 204s ) 204s def test_encoder_func(backend, Record, encoded_data): # noqa: N803 204s record = Record() 204s 204s > record_type = backend.encoder(Record) 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:732: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _________________________ test_encoder_func[bs LE LSB] _________________________ 204s 204s backend = 204s Record = 204s 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' 204s 204s @pytest.mark.parametrize( 204s "backend, Record, encoded_data", 204s [ 204s pytest.param(bpack.st, ByteRecordBe, BYTE_ENCODED_DATA_BE, id="st BE"), 204s pytest.param(bpack.st, ByteRecordLe, BYTE_ENCODED_DATA_LE, id="st LE"), 204s pytest.param( 204s bpack_np, 204s ByteRecordBe, 204s BYTE_ENCODED_DATA_BE, 204s id="np BE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_np, 204s ByteRecordLe, 204s BYTE_ENCODED_DATA_LE, 204s id="np LE", 204s marks=pytest.mark.skipif(not bpack_np, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeMsb, 204s BIT_ENCODED_DATA_BE_MSB, 204s id="bs BE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeMsb, 204s BIT_ENCODED_DATA_LE_MSB, 204s id="bs LE MSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordBeLsb, 204s BIT_ENCODED_DATA_BE_LSB, 204s id="bs BE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_bs, 204s BitRecordLeLsb, 204s BIT_ENCODED_DATA_LE_LSB, 204s id="bs LE LSB", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s ], 204s ) 204s def test_encoder_func(backend, Record, encoded_data): # noqa: N803 204s record = Record() 204s 204s > record_type = backend.encoder(Record) 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:732: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ___________________ test_bit_decoder_decorator_frombytes[bs] ___________________ 204s 204s backend = 204s 204s @pytest.mark.parametrize("backend", BITS_BACKENDS) 204s def test_bit_decoder_decorator_frombytes(backend): 204s > @backend.decoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:747: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ___________________ test_bit_decoder_decorator_frombytes[ba] ___________________ 204s 204s backend = 204s 204s @pytest.mark.parametrize("backend", BITS_BACKENDS) 204s def test_bit_decoder_decorator_frombytes(backend): 204s > @backend.decoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:747: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ____________________ test_bit_encoder_decorator_tobytes[bs] ____________________ 204s 204s backend = 204s 204s @pytest.mark.parametrize( 204s "backend", 204s [ 204s pytest.param( 204s bpack_bs, 204s id="bs", 204s marks=skipif(not bpack_bs, reason="not available"), 204s ) 204s ], 204s ) 204s def test_bit_encoder_decorator_tobytes(backend): 204s > @backend.encoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:783: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s __________________ test_byte_decoder_decorator_frombytes[st] ___________________ 204s 204s backend = 204s 204s @pytest.mark.parametrize("backend", BYTES_BACKENDS) 204s def test_byte_decoder_decorator_frombytes(backend): 204s > @backend.decoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:805: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s __________________ test_byte_decoder_decorator_frombytes[np] ___________________ 204s 204s backend = 204s 204s @pytest.mark.parametrize("backend", BYTES_BACKENDS) 204s def test_byte_decoder_decorator_frombytes(backend): 204s > @backend.decoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:805: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ___________________ test_byte_encoder_decorator_tobytes[st] ____________________ 204s 204s backend = 204s 204s @pytest.mark.parametrize("backend", BYTES_BACKENDS) 204s def test_byte_encoder_decorator_tobytes(backend): 204s > @backend.encoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:825: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ___________________ test_byte_encoder_decorator_tobytes[np] ____________________ 204s 204s backend = 204s 204s @pytest.mark.parametrize("backend", BYTES_BACKENDS) 204s def test_byte_encoder_decorator_tobytes(backend): 204s > @backend.encoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:825: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _______________ test_byte_decoder_native_byteorder_frombytes[st] _______________ 204s 204s backend = 204s 204s @pytest.mark.parametrize("backend", BYTES_BACKENDS) 204s def test_byte_decoder_native_byteorder_frombytes(backend): 204s size = 4 204s value = 1 204s 204s > @backend.decoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:862: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _______________ test_byte_decoder_native_byteorder_frombytes[np] _______________ 204s 204s backend = 204s 204s @pytest.mark.parametrize("backend", BYTES_BACKENDS) 204s def test_byte_decoder_native_byteorder_frombytes(backend): 204s size = 4 204s value = 1 204s 204s > @backend.decoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:862: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ________________ test_byte_encoder_native_byteorder_tobytes[st] ________________ 204s 204s backend = 204s 204s @pytest.mark.parametrize("backend", BYTES_BACKENDS) 204s def test_byte_encoder_native_byteorder_tobytes(backend): 204s size = 4 204s value = 1 204s 204s > @backend.encoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:876: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ________________ test_byte_encoder_native_byteorder_tobytes[np] ________________ 204s 204s backend = 204s 204s @pytest.mark.parametrize("backend", BYTES_BACKENDS) 204s def test_byte_encoder_native_byteorder_tobytes(backend): 204s size = 4 204s value = 1 204s 204s > @backend.encoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:876: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _______________ test_bit_decoder_native_byteorder_frombytes[bs] ________________ 204s 204s backend = 204s 204s @pytest.mark.parametrize( 204s "backend", 204s [ 204s pytest.param( 204s bpack_bs, 204s id="bs", 204s marks=skipif(not bpack_bs, reason="not available"), 204s ) 204s ], 204s ) 204s def test_bit_decoder_native_byteorder_frombytes(backend): 204s size = 64 204s value = 1 204s 204s > @backend.decoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:900: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ________________ test_bit_encoder_native_byteorder_tobytes[bs] _________________ 204s 204s backend = 204s 204s @pytest.mark.parametrize( 204s "backend", 204s [ 204s pytest.param( 204s bpack_bs, 204s id="bs", 204s marks=skipif(not bpack_bs, reason="not available"), 204s ) 204s ], 204s ) 204s def test_bit_encoder_native_byteorder_tobytes(backend): 204s size = 64 204s value = 1 204s 204s > @backend.encoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:927: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _______________ test_bit_decoder_default_byteorder_frombytes[bs] _______________ 204s 204s backend = 204s 204s @pytest.mark.parametrize("backend", BITS_BACKENDS) 204s def test_bit_decoder_default_byteorder_frombytes(backend): 204s size = 64 204s value = 1 204s 204s > @backend.decoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:946: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _______________ test_bit_decoder_default_byteorder_frombytes[ba] _______________ 204s 204s backend = 204s 204s @pytest.mark.parametrize("backend", BITS_BACKENDS) 204s def test_bit_decoder_default_byteorder_frombytes(backend): 204s size = 64 204s value = 1 204s 204s > @backend.decoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:946: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ________________ test_bit_encoder_default_byteorder_tobytes[bs] ________________ 204s 204s backend = 204s 204s @pytest.mark.parametrize( 204s "backend", 204s [ 204s pytest.param( 204s bpack_bs, 204s id="bs", 204s marks=skipif(not bpack_bs, reason="not available"), 204s ) 204s ], 204s ) 204s def test_bit_encoder_default_byteorder_tobytes(backend): 204s size = 64 204s value = 1 204s 204s > @backend.encoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:974: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _________________________ test_enum_decoding_bytes[bs] _________________________ 204s 204s backend = 204s 204s @pytest.mark.parametrize("backend", ALL_BACKENDS) 204s def test_enum_decoding_bytes(backend): 204s class EStrEnumType(enum.Enum): 204s A = "a" 204s B = "b" 204s 204s class EBytesEnumType(enum.Enum): 204s A = b"a" 204s B = b"b" 204s 204s class EIntEnumType(enum.Enum): 204s A = 1 204s B = 2 204s 204s class EFlagEnumType(enum.Enum): 204s A = 1 204s B = 2 204s 204s if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: 204s bitorder = None 204s ssize = 1 204s isize = 1 204s encoded_data = b"".join( 204s [ 204s EStrEnumType.A.value.encode("ascii"), 204s EBytesEnumType.A.value, 204s EIntEnumType.A.value.to_bytes(1, "little", signed=False), 204s EFlagEnumType.A.value.to_bytes(1, "little", signed=False), 204s ] 204s ) 204s else: 204s bitorder = bpack.EBitOrder.MSB 204s ssize = 8 204s isize = 4 204s encoded_data = b"".join( 204s [ 204s EStrEnumType.A.value.encode("ascii"), 204s EBytesEnumType.A.value, 204s bytes([0b00010001]), 204s ] 204s ) 204s 204s > @backend.decoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1055: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _________________________ test_enum_decoding_bytes[ba] _________________________ 204s 204s backend = 204s 204s @pytest.mark.parametrize("backend", ALL_BACKENDS) 204s def test_enum_decoding_bytes(backend): 204s class EStrEnumType(enum.Enum): 204s A = "a" 204s B = "b" 204s 204s class EBytesEnumType(enum.Enum): 204s A = b"a" 204s B = b"b" 204s 204s class EIntEnumType(enum.Enum): 204s A = 1 204s B = 2 204s 204s class EFlagEnumType(enum.Enum): 204s A = 1 204s B = 2 204s 204s if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: 204s bitorder = None 204s ssize = 1 204s isize = 1 204s encoded_data = b"".join( 204s [ 204s EStrEnumType.A.value.encode("ascii"), 204s EBytesEnumType.A.value, 204s EIntEnumType.A.value.to_bytes(1, "little", signed=False), 204s EFlagEnumType.A.value.to_bytes(1, "little", signed=False), 204s ] 204s ) 204s else: 204s bitorder = bpack.EBitOrder.MSB 204s ssize = 8 204s isize = 4 204s encoded_data = b"".join( 204s [ 204s EStrEnumType.A.value.encode("ascii"), 204s EBytesEnumType.A.value, 204s bytes([0b00010001]), 204s ] 204s ) 204s 204s > @backend.decoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1055: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _________________________ test_enum_decoding_bytes[st] _________________________ 204s 204s backend = 204s 204s @pytest.mark.parametrize("backend", ALL_BACKENDS) 204s def test_enum_decoding_bytes(backend): 204s class EStrEnumType(enum.Enum): 204s A = "a" 204s B = "b" 204s 204s class EBytesEnumType(enum.Enum): 204s A = b"a" 204s B = b"b" 204s 204s class EIntEnumType(enum.Enum): 204s A = 1 204s B = 2 204s 204s class EFlagEnumType(enum.Enum): 204s A = 1 204s B = 2 204s 204s if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: 204s bitorder = None 204s ssize = 1 204s isize = 1 204s encoded_data = b"".join( 204s [ 204s EStrEnumType.A.value.encode("ascii"), 204s EBytesEnumType.A.value, 204s EIntEnumType.A.value.to_bytes(1, "little", signed=False), 204s EFlagEnumType.A.value.to_bytes(1, "little", signed=False), 204s ] 204s ) 204s else: 204s bitorder = bpack.EBitOrder.MSB 204s ssize = 8 204s isize = 4 204s encoded_data = b"".join( 204s [ 204s EStrEnumType.A.value.encode("ascii"), 204s EBytesEnumType.A.value, 204s bytes([0b00010001]), 204s ] 204s ) 204s 204s > @backend.decoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1055: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _________________________ test_enum_decoding_bytes[np] _________________________ 204s 204s backend = 204s 204s @pytest.mark.parametrize("backend", ALL_BACKENDS) 204s def test_enum_decoding_bytes(backend): 204s class EStrEnumType(enum.Enum): 204s A = "a" 204s B = "b" 204s 204s class EBytesEnumType(enum.Enum): 204s A = b"a" 204s B = b"b" 204s 204s class EIntEnumType(enum.Enum): 204s A = 1 204s B = 2 204s 204s class EFlagEnumType(enum.Enum): 204s A = 1 204s B = 2 204s 204s if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: 204s bitorder = None 204s ssize = 1 204s isize = 1 204s encoded_data = b"".join( 204s [ 204s EStrEnumType.A.value.encode("ascii"), 204s EBytesEnumType.A.value, 204s EIntEnumType.A.value.to_bytes(1, "little", signed=False), 204s EFlagEnumType.A.value.to_bytes(1, "little", signed=False), 204s ] 204s ) 204s else: 204s bitorder = bpack.EBitOrder.MSB 204s ssize = 8 204s isize = 4 204s encoded_data = b"".join( 204s [ 204s EStrEnumType.A.value.encode("ascii"), 204s EBytesEnumType.A.value, 204s bytes([0b00010001]), 204s ] 204s ) 204s 204s > @backend.decoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1055: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _________________________ test_enum_encoding_bytes[st] _________________________ 204s 204s backend = 204s 204s @pytest.mark.parametrize( 204s "backend", 204s [ 204s pytest.param(bpack.st, id="st"), 204s pytest.param( 204s bpack_bs, 204s id="bs", 204s marks=skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_np, 204s id="np", 204s marks=skipif(not bpack_np, reason="not available"), 204s ), 204s ], 204s ) 204s def test_enum_encoding_bytes(backend): 204s class EStrEnumType(enum.Enum): 204s A = "a" 204s B = "b" 204s 204s class EBytesEnumType(enum.Enum): 204s A = b"a" 204s B = b"b" 204s 204s class EIntEnumType(enum.Enum): 204s A = 1 204s B = 2 204s 204s class EFlagEnumType(enum.Enum): 204s A = 1 204s B = 2 204s 204s if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: 204s bitorder = None 204s ssize = 1 204s isize = 1 204s encoded_data = [ 204s EStrEnumType.A.value.encode("ascii"), 204s EBytesEnumType.A.value, 204s EIntEnumType.A.value.to_bytes(1, "little", signed=False), 204s EFlagEnumType.A.value.to_bytes(1, "little", signed=False), 204s ] 204s encoded_data = b"".join(encoded_data) 204s else: 204s bitorder = bpack.EBitOrder.MSB 204s ssize = 8 204s isize = 4 204s encoded_data = [ 204s EStrEnumType.A.value.encode("ascii"), 204s EBytesEnumType.A.value, 204s bytes([0b00010001]), 204s ] 204s encoded_data = b"".join(encoded_data) 204s 204s > @backend.encoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1126: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _________________________ test_enum_encoding_bytes[bs] _________________________ 204s 204s backend = 204s 204s @pytest.mark.parametrize( 204s "backend", 204s [ 204s pytest.param(bpack.st, id="st"), 204s pytest.param( 204s bpack_bs, 204s id="bs", 204s marks=skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_np, 204s id="np", 204s marks=skipif(not bpack_np, reason="not available"), 204s ), 204s ], 204s ) 204s def test_enum_encoding_bytes(backend): 204s class EStrEnumType(enum.Enum): 204s A = "a" 204s B = "b" 204s 204s class EBytesEnumType(enum.Enum): 204s A = b"a" 204s B = b"b" 204s 204s class EIntEnumType(enum.Enum): 204s A = 1 204s B = 2 204s 204s class EFlagEnumType(enum.Enum): 204s A = 1 204s B = 2 204s 204s if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: 204s bitorder = None 204s ssize = 1 204s isize = 1 204s encoded_data = [ 204s EStrEnumType.A.value.encode("ascii"), 204s EBytesEnumType.A.value, 204s EIntEnumType.A.value.to_bytes(1, "little", signed=False), 204s EFlagEnumType.A.value.to_bytes(1, "little", signed=False), 204s ] 204s encoded_data = b"".join(encoded_data) 204s else: 204s bitorder = bpack.EBitOrder.MSB 204s ssize = 8 204s isize = 4 204s encoded_data = [ 204s EStrEnumType.A.value.encode("ascii"), 204s EBytesEnumType.A.value, 204s bytes([0b00010001]), 204s ] 204s encoded_data = b"".join(encoded_data) 204s 204s > @backend.encoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1126: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _________________________ test_enum_encoding_bytes[np] _________________________ 204s 204s backend = 204s 204s @pytest.mark.parametrize( 204s "backend", 204s [ 204s pytest.param(bpack.st, id="st"), 204s pytest.param( 204s bpack_bs, 204s id="bs", 204s marks=skipif(not bpack_bs, reason="not available"), 204s ), 204s pytest.param( 204s bpack_np, 204s id="np", 204s marks=skipif(not bpack_np, reason="not available"), 204s ), 204s ], 204s ) 204s def test_enum_encoding_bytes(backend): 204s class EStrEnumType(enum.Enum): 204s A = "a" 204s B = "b" 204s 204s class EBytesEnumType(enum.Enum): 204s A = b"a" 204s B = b"b" 204s 204s class EIntEnumType(enum.Enum): 204s A = 1 204s B = 2 204s 204s class EFlagEnumType(enum.Enum): 204s A = 1 204s B = 2 204s 204s if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: 204s bitorder = None 204s ssize = 1 204s isize = 1 204s encoded_data = [ 204s EStrEnumType.A.value.encode("ascii"), 204s EBytesEnumType.A.value, 204s EIntEnumType.A.value.to_bytes(1, "little", signed=False), 204s EFlagEnumType.A.value.to_bytes(1, "little", signed=False), 204s ] 204s encoded_data = b"".join(encoded_data) 204s else: 204s bitorder = bpack.EBitOrder.MSB 204s ssize = 8 204s isize = 4 204s encoded_data = [ 204s EStrEnumType.A.value.encode("ascii"), 204s EBytesEnumType.A.value, 204s bytes([0b00010001]), 204s ] 204s encoded_data = b"".join(encoded_data) 204s 204s > @backend.encoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1126: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ___________________________ test_decode_sequence[st] ___________________________ 204s 204s backend = 204s 204s @pytest.mark.parametrize( 204s "backend", 204s [ 204s pytest.param(bpack.st, id="st"), 204s pytest.param( 204s bpack_bs, 204s id="bs", 204s marks=skipif(not bpack_bs, reason="not available"), 204s ), 204s ], 204s ) 204s def test_decode_sequence(backend): 204s if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: 204s bitorder = None 204s size = 1 204s repeat = 2 204s encoded_data = bytes([3, 3, 4, 4]) 204s else: 204s bitorder = bpack.EBitOrder.MSB 204s size = 4 204s repeat = 2 204s encoded_data = bytes([0b00110011, 0b01000100]) 204s 204s > @backend.decoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1166: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ___________________________ test_decode_sequence[bs] ___________________________ 204s 204s backend = 204s 204s @pytest.mark.parametrize( 204s "backend", 204s [ 204s pytest.param(bpack.st, id="st"), 204s pytest.param( 204s bpack_bs, 204s id="bs", 204s marks=skipif(not bpack_bs, reason="not available"), 204s ), 204s ], 204s ) 204s def test_decode_sequence(backend): 204s if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: 204s bitorder = None 204s size = 1 204s repeat = 2 204s encoded_data = bytes([3, 3, 4, 4]) 204s else: 204s bitorder = bpack.EBitOrder.MSB 204s size = 4 204s repeat = 2 204s encoded_data = bytes([0b00110011, 0b01000100]) 204s 204s > @backend.decoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1166: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ___________________________ test_encode_sequence[st] ___________________________ 204s 204s backend = 204s 204s @pytest.mark.parametrize( 204s "backend", 204s [ 204s pytest.param(bpack.st, id="st"), 204s pytest.param( 204s bpack_bs, 204s id="bs", 204s marks=skipif(not bpack_bs, reason="not available"), 204s ), 204s ], 204s ) 204s def test_encode_sequence(backend): 204s if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: 204s bitorder = None 204s size = 1 204s repeat = 2 204s encoded_data = bytes([3, 3, 4, 4]) 204s else: 204s bitorder = bpack.EBitOrder.MSB 204s size = 4 204s repeat = 2 204s encoded_data = bytes([0b00110011, 0b01000100]) 204s 204s > @backend.encoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1208: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ___________________________ test_encode_sequence[bs] ___________________________ 204s 204s backend = 204s 204s @pytest.mark.parametrize( 204s "backend", 204s [ 204s pytest.param(bpack.st, id="st"), 204s pytest.param( 204s bpack_bs, 204s id="bs", 204s marks=skipif(not bpack_bs, reason="not available"), 204s ), 204s ], 204s ) 204s def test_encode_sequence(backend): 204s if backend.Decoder.baseunits is bpack.EBaseUnits.BYTES: 204s bitorder = None 204s size = 1 204s repeat = 2 204s encoded_data = bytes([3, 3, 4, 4]) 204s else: 204s bitorder = bpack.EBitOrder.MSB 204s size = 4 204s repeat = 2 204s encoded_data = bytes([0b00110011, 0b01000100]) 204s 204s > @backend.encoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1208: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _______________ TestNestedRecord.test_nested_record_decoder[st] ________________ 204s 204s self = 204s backend = 204s 204s def test_nested_record_decoder(self, backend): 204s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 204s 204s > @backend.decoder # NOTE: this is a decoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1260: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _______________ TestNestedRecord.test_nested_record_decoder[bs] ________________ 204s 204s self = 204s backend = 204s 204s def test_nested_record_decoder(self, backend): 204s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 204s 204s > @backend.decoder # NOTE: this is a decoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1260: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _______________ TestNestedRecord.test_nested_record_decoder[np] ________________ 204s 204s self = 204s backend = 204s 204s def test_nested_record_decoder(self, backend): 204s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 204s 204s > @backend.decoder # NOTE: this is a decoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1260: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _______________ TestNestedRecord.test_nested_record_encoder[st] ________________ 204s 204s self = 204s backend = 204s 204s def test_nested_record_encoder(self, backend): 204s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 204s 204s > @backend.encoder # NOTE: this is an encoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1279: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _______________ TestNestedRecord.test_nested_record_encoder[bs] ________________ 204s 204s self = 204s backend = 204s 204s def test_nested_record_encoder(self, backend): 204s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 204s 204s > @backend.encoder # NOTE: this is an encoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1279: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _______________ TestNestedRecord.test_nested_record_encoder[np] ________________ 204s 204s self = 204s backend = 204s 204s def test_nested_record_encoder(self, backend): 204s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 204s 204s > @backend.encoder # NOTE: this is an encoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1279: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ______________ TestNestedRecord.test_nested_record_frombytes[st] _______________ 204s 204s self = 204s backend = 204s 204s def test_nested_record_frombytes(self, backend): 204s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 204s 204s # NOTE: this time the inner record is not a decoder 204s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 204s class Record: 204s field_1: int = bpack.field(size=4, default=1) 204s field_2: int = bpack.field(size=4, default=2) 204s 204s > @backend.decoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1305: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ______________ TestNestedRecord.test_nested_record_frombytes[bs] _______________ 204s 204s self = 204s backend = 204s 204s def test_nested_record_frombytes(self, backend): 204s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 204s 204s # NOTE: this time the inner record is not a decoder 204s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 204s class Record: 204s field_1: int = bpack.field(size=4, default=1) 204s field_2: int = bpack.field(size=4, default=2) 204s 204s > @backend.decoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1305: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ______________ TestNestedRecord.test_nested_record_frombytes[np] _______________ 204s 204s self = 204s backend = 204s 204s def test_nested_record_frombytes(self, backend): 204s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 204s 204s # NOTE: this time the inner record is not a decoder 204s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 204s class Record: 204s field_1: int = bpack.field(size=4, default=1) 204s field_2: int = bpack.field(size=4, default=2) 204s 204s > @backend.decoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1305: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _______________ TestNestedRecord.test_nested_record_tobytes[st] ________________ 204s 204s self = 204s backend = 204s 204s def test_nested_record_tobytes(self, backend): 204s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 204s 204s # NOTE: this time the inner record is not a decoder 204s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 204s class Record: 204s field_1: int = bpack.field(size=4, default=1) 204s field_2: int = bpack.field(size=4, default=2) 204s 204s > @backend.encoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1324: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _______________ TestNestedRecord.test_nested_record_tobytes[bs] ________________ 204s 204s self = 204s backend = 204s 204s def test_nested_record_tobytes(self, backend): 204s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 204s 204s # NOTE: this time the inner record is not a decoder 204s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 204s class Record: 204s field_1: int = bpack.field(size=4, default=1) 204s field_2: int = bpack.field(size=4, default=2) 204s 204s > @backend.encoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1324: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _______________ TestNestedRecord.test_nested_record_tobytes[np] ________________ 204s 204s self = 204s backend = 204s 204s def test_nested_record_tobytes(self, backend): 204s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 204s 204s # NOTE: this time the inner record is not a decoder 204s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 204s class Record: 204s field_1: int = bpack.field(size=4, default=1) 204s field_2: int = bpack.field(size=4, default=2) 204s 204s > @backend.encoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1324: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s __________ TestNestedRecord.test_nested_record_decoder_with_order[st] __________ 204s 204s self = 204s backend = 204s 204s def test_nested_record_decoder_with_order(self, backend): 204s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 204s if backend.Decoder.baseunits is bpack.EBaseUnits.BITS: 204s kwargs = dict(bitorder=">", byteorder=">") 204s else: 204s # TODO: use the default byteorder (see get_encoded_data) 204s kwargs = dict(byteorder=bpack.EByteOrder.LE) 204s 204s > @backend.decoder # NOTE: this is a decoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1343: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s __________ TestNestedRecord.test_nested_record_decoder_with_order[bs] __________ 204s 204s self = 204s backend = 204s 204s def test_nested_record_decoder_with_order(self, backend): 204s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 204s if backend.Decoder.baseunits is bpack.EBaseUnits.BITS: 204s kwargs = dict(bitorder=">", byteorder=">") 204s else: 204s # TODO: use the default byteorder (see get_encoded_data) 204s kwargs = dict(byteorder=bpack.EByteOrder.LE) 204s 204s > @backend.decoder # NOTE: this is a decoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1343: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s __________ TestNestedRecord.test_nested_record_decoder_with_order[np] __________ 204s 204s self = 204s backend = 204s 204s def test_nested_record_decoder_with_order(self, backend): 204s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 204s if backend.Decoder.baseunits is bpack.EBaseUnits.BITS: 204s kwargs = dict(bitorder=">", byteorder=">") 204s else: 204s # TODO: use the default byteorder (see get_encoded_data) 204s kwargs = dict(byteorder=bpack.EByteOrder.LE) 204s 204s > @backend.decoder # NOTE: this is a decoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1343: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s __________ TestNestedRecord.test_nested_record_encoder_with_order[st] __________ 204s 204s self = 204s backend = 204s 204s def test_nested_record_encoder_with_order(self, backend): 204s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 204s if backend.Decoder.baseunits is bpack.EBaseUnits.BITS: 204s kwargs = dict(bitorder=">", byteorder=">") 204s else: 204s # TODO: use the default byteorder (see get_encoded_data) 204s kwargs = dict(byteorder=bpack.EByteOrder.LE) 204s 204s > @backend.encoder # NOTE: this is a encoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1367: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s __________ TestNestedRecord.test_nested_record_encoder_with_order[bs] __________ 204s 204s self = 204s backend = 204s 204s def test_nested_record_encoder_with_order(self, backend): 204s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 204s if backend.Decoder.baseunits is bpack.EBaseUnits.BITS: 204s kwargs = dict(bitorder=">", byteorder=">") 204s else: 204s # TODO: use the default byteorder (see get_encoded_data) 204s kwargs = dict(byteorder=bpack.EByteOrder.LE) 204s 204s > @backend.encoder # NOTE: this is a encoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1367: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s __________ TestNestedRecord.test_nested_record_encoder_with_order[np] __________ 204s 204s self = 204s backend = 204s 204s def test_nested_record_encoder_with_order(self, backend): 204s encoded_data = self.get_encoded_data(backend.Decoder.baseunits) 204s if backend.Decoder.baseunits is bpack.EBaseUnits.BITS: 204s kwargs = dict(bitorder=">", byteorder=">") 204s else: 204s # TODO: use the default byteorder (see get_encoded_data) 204s kwargs = dict(byteorder=bpack.EByteOrder.LE) 204s 204s > @backend.encoder # NOTE: this is a encoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1367: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ________ TestMultiNestedRecord.test_decode_nested_record_two_levels[st] ________ 204s 204s self = 204s backend = 204s 204s def test_decode_nested_record_two_levels(self, backend): 204s class EEnum(enum.Enum): 204s ONE = 1 204s FOUR = 4 204s 204s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 204s class RecordLevel02: 204s field_01: EEnum = bpack.field(size=4, default=EEnum.ONE) 204s field_02: int = bpack.field(size=4, default=2) 204s 204s > @backend.decoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1454: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ________ TestMultiNestedRecord.test_decode_nested_record_two_levels[bs] ________ 204s 204s self = 204s backend = 204s 204s def test_decode_nested_record_two_levels(self, backend): 204s class EEnum(enum.Enum): 204s ONE = 1 204s FOUR = 4 204s 204s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 204s class RecordLevel02: 204s field_01: EEnum = bpack.field(size=4, default=EEnum.ONE) 204s field_02: int = bpack.field(size=4, default=2) 204s 204s > @backend.decoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1454: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ________ TestMultiNestedRecord.test_encode_nested_record_two_levels[st] ________ 204s 204s self = 204s backend = 204s 204s def test_encode_nested_record_two_levels(self, backend): 204s class EEnum(enum.Enum): 204s ONE = 1 204s FOUR = 4 204s 204s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 204s class RecordLevel02: 204s field_01: EEnum = bpack.field(size=4, default=EEnum.ONE) 204s field_02: int = bpack.field(size=4, default=2) 204s 204s > @backend.codec 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1478: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ________ TestMultiNestedRecord.test_encode_nested_record_two_levels[bs] ________ 204s 204s self = 204s backend = 204s 204s def test_encode_nested_record_two_levels(self, backend): 204s class EEnum(enum.Enum): 204s ONE = 1 204s FOUR = 4 204s 204s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 204s class RecordLevel02: 204s field_01: EEnum = bpack.field(size=4, default=EEnum.ONE) 204s field_02: int = bpack.field(size=4, default=2) 204s 204s > @backend.codec 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1478: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _______ TestMultiNestedRecord.test_decode_nested_record_three_levels[st] _______ 204s 204s self = 204s backend = 204s 204s def test_decode_nested_record_three_levels(self, backend): 204s class EEnum(enum.Enum): 204s ONE = 1 204s TWO = 2 204s SEVEN = 7 204s 204s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 204s class RecordLevel03: 204s field_001: EEnum = bpack.field(size=4, default=EEnum.ONE) 204s field_002: int = bpack.field(size=4, default=2) 204s 204s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 204s class RecordLevel02: 204s field_01: int = bpack.field(size=4, default=1) 204s field_02: RecordLevel03 = bpack.field( 204s default_factory=functools.partial(RecordLevel03, EEnum.TWO, 3) 204s ) 204s field_03: int = bpack.field(size=4, default=4) 204s 204s > @backend.decoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1511: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _______ TestMultiNestedRecord.test_decode_nested_record_three_levels[bs] _______ 204s 204s self = 204s backend = 204s 204s def test_decode_nested_record_three_levels(self, backend): 204s class EEnum(enum.Enum): 204s ONE = 1 204s TWO = 2 204s SEVEN = 7 204s 204s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 204s class RecordLevel03: 204s field_001: EEnum = bpack.field(size=4, default=EEnum.ONE) 204s field_002: int = bpack.field(size=4, default=2) 204s 204s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 204s class RecordLevel02: 204s field_01: int = bpack.field(size=4, default=1) 204s field_02: RecordLevel03 = bpack.field( 204s default_factory=functools.partial(RecordLevel03, EEnum.TWO, 3) 204s ) 204s field_03: int = bpack.field(size=4, default=4) 204s 204s > @backend.decoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1511: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _______ TestMultiNestedRecord.test_encode_nested_record_three_levels[st] _______ 204s 204s self = 204s backend = 204s 204s def test_encode_nested_record_three_levels(self, backend): 204s class EEnum(enum.Enum): 204s ONE = 1 204s TWO = 2 204s SEVEN = 7 204s 204s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 204s class RecordLevel03: 204s field_001: EEnum = bpack.field(size=4, default=EEnum.ONE) 204s field_002: int = bpack.field(size=4, default=2) 204s 204s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 204s class RecordLevel02: 204s field_01: int = bpack.field(size=4, default=1) 204s field_02: RecordLevel03 = bpack.field( 204s default_factory=functools.partial(RecordLevel03, EEnum.TWO, 3) 204s ) 204s field_03: int = bpack.field(size=4, default=4) 204s 204s > @backend.codec 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1546: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _______ TestMultiNestedRecord.test_encode_nested_record_three_levels[bs] _______ 204s 204s self = 204s backend = 204s 204s def test_encode_nested_record_three_levels(self, backend): 204s class EEnum(enum.Enum): 204s ONE = 1 204s TWO = 2 204s SEVEN = 7 204s 204s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 204s class RecordLevel03: 204s field_001: EEnum = bpack.field(size=4, default=EEnum.ONE) 204s field_002: int = bpack.field(size=4, default=2) 204s 204s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 204s class RecordLevel02: 204s field_01: int = bpack.field(size=4, default=1) 204s field_02: RecordLevel03 = bpack.field( 204s default_factory=functools.partial(RecordLevel03, EEnum.TWO, 3) 204s ) 204s field_03: int = bpack.field(size=4, default=4) 204s 204s > @backend.codec 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1546: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _______ TestMultiNestedRecord.test_decode_nested_record_four_levels[st] ________ 204s 204s self = 204s backend = 204s 204s def test_decode_nested_record_four_levels(self, backend): 204s class EEnum(enum.Enum): 204s ONE = 1 204s THREE = 3 204s TEN = 10 204s 204s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 204s class RecordLevel04: 204s field_0001: EEnum = bpack.field(size=4, default=EEnum.ONE) 204s field_0002: int = bpack.field(size=4, default=2) 204s 204s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 204s class RecordLevel03: 204s field_001: int = bpack.field(size=4, default=1) 204s field_002: RecordLevel04 = bpack.field( 204s default_factory=RecordLevel04 204s ) 204s field_003: int = bpack.field(size=4, default=3) 204s 204s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 204s class RecordLevel02: 204s field_01: int = bpack.field(size=4, default=1) 204s field_02: RecordLevel03 = bpack.field( 204s default_factory=functools.partial( 204s RecordLevel03, 2, RecordLevel04(EEnum.THREE, 4), 5 204s ) 204s ) 204s field_03: int = bpack.field(size=4, default=6) 204s 204s > @backend.decoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1591: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _______ TestMultiNestedRecord.test_decode_nested_record_four_levels[bs] ________ 204s 204s self = 204s backend = 204s 204s def test_decode_nested_record_four_levels(self, backend): 204s class EEnum(enum.Enum): 204s ONE = 1 204s THREE = 3 204s TEN = 10 204s 204s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 204s class RecordLevel04: 204s field_0001: EEnum = bpack.field(size=4, default=EEnum.ONE) 204s field_0002: int = bpack.field(size=4, default=2) 204s 204s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 204s class RecordLevel03: 204s field_001: int = bpack.field(size=4, default=1) 204s field_002: RecordLevel04 = bpack.field( 204s default_factory=RecordLevel04 204s ) 204s field_003: int = bpack.field(size=4, default=3) 204s 204s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 204s class RecordLevel02: 204s field_01: int = bpack.field(size=4, default=1) 204s field_02: RecordLevel03 = bpack.field( 204s default_factory=functools.partial( 204s RecordLevel03, 2, RecordLevel04(EEnum.THREE, 4), 5 204s ) 204s ) 204s field_03: int = bpack.field(size=4, default=6) 204s 204s > @backend.decoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1591: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _______ TestMultiNestedRecord.test_encode_nested_record_four_levels[st] ________ 204s 204s self = 204s backend = 204s 204s def test_encode_nested_record_four_levels(self, backend): 204s class EEnum(enum.Enum): 204s ONE = 1 204s THREE = 3 204s TEN = 10 204s 204s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 204s class RecordLevel04: 204s field_0001: EEnum = bpack.field(size=4, default=EEnum.ONE) 204s field_0002: int = bpack.field(size=4, default=2) 204s 204s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 204s class RecordLevel03: 204s field_001: int = bpack.field(size=4, default=1) 204s field_002: RecordLevel04 = bpack.field( 204s default_factory=RecordLevel04 204s ) 204s field_003: int = bpack.field(size=4, default=3) 204s 204s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 204s class RecordLevel02: 204s field_01: int = bpack.field(size=4, default=1) 204s field_02: RecordLevel03 = bpack.field( 204s default_factory=functools.partial( 204s RecordLevel03, 2, RecordLevel04(EEnum.THREE, 4), 5 204s ) 204s ) 204s field_03: int = bpack.field(size=4, default=6) 204s 204s > @backend.codec 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1639: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _______ TestMultiNestedRecord.test_encode_nested_record_four_levels[bs] ________ 204s 204s self = 204s backend = 204s 204s def test_encode_nested_record_four_levels(self, backend): 204s class EEnum(enum.Enum): 204s ONE = 1 204s THREE = 3 204s TEN = 10 204s 204s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 204s class RecordLevel04: 204s field_0001: EEnum = bpack.field(size=4, default=EEnum.ONE) 204s field_0002: int = bpack.field(size=4, default=2) 204s 204s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 204s class RecordLevel03: 204s field_001: int = bpack.field(size=4, default=1) 204s field_002: RecordLevel04 = bpack.field( 204s default_factory=RecordLevel04 204s ) 204s field_003: int = bpack.field(size=4, default=3) 204s 204s @bpack.descriptor(baseunits=backend.Decoder.baseunits) 204s class RecordLevel02: 204s field_01: int = bpack.field(size=4, default=1) 204s field_02: RecordLevel03 = bpack.field( 204s default_factory=functools.partial( 204s RecordLevel03, 2, RecordLevel04(EEnum.THREE, 4), 5 204s ) 204s ) 204s field_03: int = bpack.field(size=4, default=6) 204s 204s > @backend.codec 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_backends_codec.py:1639: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ____________________________ test_codec_helpers[st] ____________________________ 204s 204s backend = 204s 204s @pytest.mark.parametrize( 204s "backend", 204s [ 204s pytest.param(bpack.st, id="st"), 204s pytest.param( 204s bpack_bs, 204s id="bs", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s ], 204s ) 204s def test_codec_helpers(backend): 204s > @backend.codec 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_codecs.py:27: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s ____________________________ test_codec_helpers[bs] ____________________________ 204s 204s backend = 204s 204s @pytest.mark.parametrize( 204s "backend", 204s [ 204s pytest.param(bpack.st, id="st"), 204s pytest.param( 204s bpack_bs, 204s id="bs", 204s marks=pytest.mark.skipif(not bpack_bs, reason="not available"), 204s ), 204s ], 204s ) 204s def test_codec_helpers(backend): 204s > @backend.codec 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_codecs.py:27: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _____________________________ test_float[float16] ______________________________ 204s 204s size = 16, data = b'<\x00' 204s 204s @pytest.mark.parametrize( 204s "size, data", 204s [ 204s # fmt: off 204s (16, bytes([0b00111100, 0b00000000])), 204s (32, bytes([0b00111111, 0b10000000, 0b00000000, 0b00000000])), 204s (64, bytes([0b00111111, 0b11110000, 0b00000000, 0b00000000, 204s 0b00000000, 0b00000000, 0b00000000, 0b00000000])), 204s # fmt: on 204s ], 204s ids=["float16", "float32", "float64"], 204s ) 204s def test_float(size, data): 204s backend = bpack_ba 204s codec = getattr(backend, "codec", backend.decoder) 204s 204s > @codec 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_decoder_ba.py:28: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _____________________________ test_float[float32] ______________________________ 204s 204s size = 32, data = b'?\x80\x00\x00' 204s 204s @pytest.mark.parametrize( 204s "size, data", 204s [ 204s # fmt: off 204s (16, bytes([0b00111100, 0b00000000])), 204s (32, bytes([0b00111111, 0b10000000, 0b00000000, 0b00000000])), 204s (64, bytes([0b00111111, 0b11110000, 0b00000000, 0b00000000, 204s 0b00000000, 0b00000000, 0b00000000, 0b00000000])), 204s # fmt: on 204s ], 204s ids=["float16", "float32", "float64"], 204s ) 204s def test_float(size, data): 204s backend = bpack_ba 204s codec = getattr(backend, "codec", backend.decoder) 204s 204s > @codec 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_decoder_ba.py:28: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _____________________________ test_float[float64] ______________________________ 204s 204s size = 64, data = b'?\xf0\x00\x00\x00\x00\x00\x00' 204s 204s @pytest.mark.parametrize( 204s "size, data", 204s [ 204s # fmt: off 204s (16, bytes([0b00111100, 0b00000000])), 204s (32, bytes([0b00111111, 0b10000000, 0b00000000, 0b00000000])), 204s (64, bytes([0b00111111, 0b11110000, 0b00000000, 0b00000000, 204s 0b00000000, 0b00000000, 0b00000000, 0b00000000])), 204s # fmt: on 204s ], 204s ids=["float16", "float32", "float64"], 204s ) 204s def test_float(size, data): 204s backend = bpack_ba 204s codec = getattr(backend, "codec", backend.decoder) 204s 204s > @codec 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_decoder_ba.py:28: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s _____________________________ test_decode_sequence _____________________________ 204s 204s def test_decode_sequence(): 204s backend = bpack_np 204s bitorder = None 204s size = 1 204s repeat = 2 204s encoded_data = bytes([3, 3, 4, 4]) 204s 204s > @backend.decoder 204s 204s /usr/lib/python3/dist-packages/bpack/tests/test_decoder_np.py:19: 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s /usr/lib/python3/dist-packages/bpack/utils.py:27: in wrapper 204s return wrap(cls) 204s /usr/lib/python3/dist-packages/bpack/utils.py:19: in wrap 204s return func(klass, **kwargs) 204s /usr/lib/python3/dist-packages/bpack/codecs.py:89: in codec 204s decode_func = bpack.utils.create_fn( 204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 204s 204s name = 'frombytes', args = ('cls', 'data') 204s body = ['return cls.__bpack_decoder__.decode(data)'] 204s 204s def create_fn( 204s name, 204s args, 204s body, 204s *, 204s globals=None, # noqa: A002 204s locals=None, # noqa: A002 204s return_type=dataclasses.MISSING, 204s ): 204s """Create a function object.""" 204s > return dataclasses._create_fn( 204s name, 204s args, 204s body, 204s globals=globals, 204s locals=locals, 204s return_type=return_type, 204s ) 204s E AttributeError: module 'dataclasses' has no attribute '_create_fn' 204s 204s /usr/lib/python3/dist-packages/bpack/utils.py:42: AttributeError 204s =========================== short test summary info ============================ 204s FAILED tests/test_backends_codec.py::test_attrs[bs] - AttributeError: module ... 204s FAILED tests/test_backends_codec.py::test_attrs[ba] - AttributeError: module ... 204s FAILED tests/test_backends_codec.py::test_attrs[st] - AttributeError: module ... 204s FAILED tests/test_backends_codec.py::test_attrs[np] - AttributeError: module ... 204s FAILED tests/test_backends_codec.py::test_decoder_func[st BE] - AttributeErro... 204s FAILED tests/test_backends_codec.py::test_decoder_func[st LE] - AttributeErro... 204s FAILED tests/test_backends_codec.py::test_decoder_func[np BE] - AttributeErro... 204s FAILED tests/test_backends_codec.py::test_decoder_func[np LE] - AttributeErro... 204s FAILED tests/test_backends_codec.py::test_decoder_func[bs BE MSB] - Attribute... 204s FAILED tests/test_backends_codec.py::test_decoder_func[bs LE MSB] - Attribute... 204s FAILED tests/test_backends_codec.py::test_decoder_func[bs BE LSB] - Attribute... 204s FAILED tests/test_backends_codec.py::test_decoder_func[bs LE LSB] - Attribute... 204s FAILED tests/test_backends_codec.py::test_decoder_func[ba BE MSB] - Attribute... 204s FAILED tests/test_backends_codec.py::test_encoder_func[st BE] - AttributeErro... 204s FAILED tests/test_backends_codec.py::test_encoder_func[st LE] - AttributeErro... 204s FAILED tests/test_backends_codec.py::test_encoder_func[np BE] - AttributeErro... 204s FAILED tests/test_backends_codec.py::test_encoder_func[np LE] - AttributeErro... 204s FAILED tests/test_backends_codec.py::test_encoder_func[bs BE MSB] - Attribute... 204s FAILED tests/test_backends_codec.py::test_encoder_func[bs LE MSB] - Attribute... 204s FAILED tests/test_backends_codec.py::test_encoder_func[bs BE LSB] - Attribute... 204s FAILED tests/test_backends_codec.py::test_encoder_func[bs LE LSB] - Attribute... 204s FAILED tests/test_backends_codec.py::test_bit_decoder_decorator_frombytes[bs] 204s FAILED tests/test_backends_codec.py::test_bit_decoder_decorator_frombytes[ba] 204s FAILED tests/test_backends_codec.py::test_bit_encoder_decorator_tobytes[bs] 204s FAILED tests/test_backends_codec.py::test_byte_decoder_decorator_frombytes[st] 204s FAILED tests/test_backends_codec.py::test_byte_decoder_decorator_frombytes[np] 204s FAILED tests/test_backends_codec.py::test_byte_encoder_decorator_tobytes[st] 204s FAILED tests/test_backends_codec.py::test_byte_encoder_decorator_tobytes[np] 204s FAILED tests/test_backends_codec.py::test_byte_decoder_native_byteorder_frombytes[st] 204s FAILED tests/test_backends_codec.py::test_byte_decoder_native_byteorder_frombytes[np] 204s FAILED tests/test_backends_codec.py::test_byte_encoder_native_byteorder_tobytes[st] 204s FAILED tests/test_backends_codec.py::test_byte_encoder_native_byteorder_tobytes[np] 204s FAILED tests/test_backends_codec.py::test_bit_decoder_native_byteorder_frombytes[bs] 204s FAILED tests/test_backends_codec.py::test_bit_encoder_native_byteorder_tobytes[bs] 204s FAILED tests/test_backends_codec.py::test_bit_decoder_default_byteorder_frombytes[bs] 204s FAILED tests/test_backends_codec.py::test_bit_decoder_default_byteorder_frombytes[ba] 204s FAILED tests/test_backends_codec.py::test_bit_encoder_default_byteorder_tobytes[bs] 204s FAILED tests/test_backends_codec.py::test_enum_decoding_bytes[bs] - Attribute... 204s FAILED tests/test_backends_codec.py::test_enum_decoding_bytes[ba] - Attribute... 204s FAILED tests/test_backends_codec.py::test_enum_decoding_bytes[st] - Attribute... 204s FAILED tests/test_backends_codec.py::test_enum_decoding_bytes[np] - Attribute... 204s FAILED tests/test_backends_codec.py::test_enum_encoding_bytes[st] - Attribute... 204s FAILED tests/test_backends_codec.py::test_enum_encoding_bytes[bs] - Attribute... 204s FAILED tests/test_backends_codec.py::test_enum_encoding_bytes[np] - Attribute... 204s FAILED tests/test_backends_codec.py::test_decode_sequence[st] - AttributeErro... 204s FAILED tests/test_backends_codec.py::test_decode_sequence[bs] - AttributeErro... 204s FAILED tests/test_backends_codec.py::test_encode_sequence[st] - AttributeErro... 204s FAILED tests/test_backends_codec.py::test_encode_sequence[bs] - AttributeErro... 204s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_decoder[st] 204s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_decoder[bs] 204s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_decoder[np] 204s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_encoder[st] 204s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_encoder[bs] 204s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_encoder[np] 204s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_frombytes[st] 204s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_frombytes[bs] 204s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_frombytes[np] 204s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_tobytes[st] 204s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_tobytes[bs] 204s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_tobytes[np] 204s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_decoder_with_order[st] 204s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_decoder_with_order[bs] 204s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_decoder_with_order[np] 204s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_encoder_with_order[st] 204s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_encoder_with_order[bs] 204s FAILED tests/test_backends_codec.py::TestNestedRecord::test_nested_record_encoder_with_order[np] 204s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_decode_nested_record_two_levels[st] 204s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_decode_nested_record_two_levels[bs] 204s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_encode_nested_record_two_levels[st] 204s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_encode_nested_record_two_levels[bs] 204s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_decode_nested_record_three_levels[st] 204s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_decode_nested_record_three_levels[bs] 204s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_encode_nested_record_three_levels[st] 204s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_encode_nested_record_three_levels[bs] 204s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_decode_nested_record_four_levels[st] 204s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_decode_nested_record_four_levels[bs] 204s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_encode_nested_record_four_levels[st] 204s FAILED tests/test_backends_codec.py::TestMultiNestedRecord::test_encode_nested_record_four_levels[bs] 204s FAILED tests/test_codecs.py::test_codec_helpers[st] - AttributeError: module ... 204s FAILED tests/test_codecs.py::test_codec_helpers[bs] - AttributeError: module ... 204s FAILED tests/test_decoder_ba.py::test_float[float16] - AttributeError: module... 204s FAILED tests/test_decoder_ba.py::test_float[float32] - AttributeError: module... 204s FAILED tests/test_decoder_ba.py::test_float[float64] - AttributeError: module... 204s FAILED tests/test_decoder_np.py::test_decode_sequence - AttributeError: modul... 204s ======================= 84 failed, 1625 passed in 10.00s ======================= 204s E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest.fWsbXp/autopkgtest_tmp/build; python3.13 -m pytest --pyargs bpack 204s I: pybuild base:311: cd /tmp/autopkgtest.fWsbXp/autopkgtest_tmp/build; python3.12 -m pytest --pyargs bpack 205s ============================= test session starts ============================== 206s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 206s rootdir: /tmp/autopkgtest.fWsbXp/autopkgtest_tmp/build 206s configfile: pyproject.toml 206s plugins: typeguard-4.4.1 206s collected 1709 items 206s 206s tests/test_backends_codec.py ........................................... [ 2%] 206s ................................................................ [ 6%] 206s tests/test_codecs.py .. [ 6%] 206s tests/test_decoder_ba.py ....... [ 6%] 206s tests/test_decoder_np.py . [ 6%] 206s tests/test_desctiptor_utils.py ......................... [ 8%] 206s tests/test_field_descriptor.py ......................................... [ 10%] 206s ............... [ 11%] 206s tests/test_packbits.py ................................................. [ 14%] 206s ........................................................................ [ 18%] 206s ........................................................................ [ 22%] 206s ........................................................................ [ 27%] 206s ........................................................................ [ 31%] 207s ........................................................................ [ 35%] 208s ........................................................................ [ 39%] 208s ........................................................................ [ 43%] 208s ........................................................................ [ 48%] 208s ........................................................................ [ 52%] 209s ........................................................................ [ 56%] 209s ........................................................................ [ 60%] 209s ........................................................................ [ 65%] 209s ........................................................................ [ 69%] 210s ........................................................................ [ 73%] 210s ........................................................................ [ 77%] 210s ........................................................................ [ 81%] 210s ........................................................ [ 85%] 211s tests/test_record_descriptor.py ........................................ [ 87%] 211s ................... [ 88%] 211s tests/test_typing.py ................................................... [ 91%] 211s ........................................................................ [ 95%] 211s .................................................... [ 98%] 211s tests/test_utils.py .................... [100%] 211s 211s ============================= 1709 passed in 6.26s ============================= 211s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p "3.13 3.12" returned exit code 13 211s make: *** [/tmp/OOeyy_OlH6/run:4: pybuild-autopkgtest] Error 25 211s pybuild-autopkgtest: error: /tmp/OOeyy_OlH6/run pybuild-autopkgtest returned exit code 2 211s autopkgtest [20:35:27]: test pybuild-autopkgtest: -----------------------] 212s pybuild-autopkgtest FAIL non-zero exit status 25 212s autopkgtest [20:35:28]: test pybuild-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 212s autopkgtest [20:35:28]: @@@@@@@@@@@@@@@@@@@@ summary 212s pybuild-autopkgtest FAIL non-zero exit status 25 224s nova [W] Skipping flock in bos03-arm64 224s Creating nova instance adt-plucky-arm64-bpack-20241123-203156-juju-7f2275-prod-proposed-migration-environment-20-0f6ecb66-c69c-4284-a37a-715fe9b0a66b from image adt/ubuntu-plucky-arm64-server-20241119.img (UUID 254dc414-4366-404b-b85c-a4e26b3194ad)...