0s autopkgtest [04:09:37]: starting date and time: 2025-02-19 04:09:37+0000 0s autopkgtest [04:09:37]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [04:09:37]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.a1q44e38/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:protontricks --apt-upgrade protontricks --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=protontricks/1.12.0-2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-arm64-10.secgroup --name adt-plucky-arm64-protontricks-20250219-040937-juju-7f2275-prod-proposed-migration-environment-20-2b4f86aa-a490-4a80-aaaa-f5124e8d6cb5 --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,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 162s autopkgtest [04:12:19]: testbed dpkg architecture: arm64 162s autopkgtest [04:12:19]: testbed apt version: 2.9.29 163s autopkgtest [04:12:20]: @@@@@@@@@@@@@@@@@@@@ test bed setup 163s autopkgtest [04:12:20]: testbed release detected to be: None 164s autopkgtest [04:12:21]: updating testbed package index (apt update) 164s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 164s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 164s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 164s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 164s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.6 kB] 164s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [79.1 kB] 164s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B] 164s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [788 kB] 165s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [97.6 kB] 165s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [7960 B] 165s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [698 kB] 165s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [12.1 kB] 165s Fetched 1811 kB in 1s (1844 kB/s) 166s Reading package lists... 166s Reading package lists... 167s Building dependency tree... 167s Reading state information... 167s Calculating upgrade... 168s The following packages will be upgraded: 168s dhcpcd-base 168s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 168s Need to get 216 kB of archives. 168s After this operation, 0 B of additional disk space will be used. 168s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 dhcpcd-base arm64 1:10.1.0-7 [216 kB] 168s Fetched 216 kB in 0s (525 kB/s) 169s (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 ... 116620 files and directories currently installed.) 169s Preparing to unpack .../dhcpcd-base_1%3a10.1.0-7_arm64.deb ... 169s Unpacking dhcpcd-base (1:10.1.0-7) over (1:10.1.0-6) ... 169s Setting up dhcpcd-base (1:10.1.0-7) ... 169s Processing triggers for man-db (2.13.0-1) ... 170s Reading package lists... 170s Building dependency tree... 170s Reading state information... 171s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 171s autopkgtest [04:12:28]: upgrading testbed (apt dist-upgrade and autopurge) 171s Reading package lists... 172s Building dependency tree... 172s Reading state information... 172s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 172s Starting 2 pkgProblemResolver with broken count: 0 172s Done 173s Entering ResolveByKeep 173s 174s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 174s Reading package lists... 174s Building dependency tree... 174s Reading state information... 175s Starting pkgProblemResolver with broken count: 0 175s Starting 2 pkgProblemResolver with broken count: 0 175s Done 176s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 178s autopkgtest [04:12:35]: testbed running kernel: Linux 6.12.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Tue Feb 4 15:49:33 UTC 2025 179s autopkgtest [04:12:36]: @@@@@@@@@@@@@@@@@@@@ apt-source protontricks 180s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse protontricks 1.12.0-2 (dsc) [2242 B] 180s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse protontricks 1.12.0-2 (tar) [171 kB] 180s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse protontricks 1.12.0-2 (diff) [2616 B] 181s gpgv: Signature made Sun Feb 16 01:27:25 2025 UTC 181s gpgv: using RSA key 8F6DE104377F3B11E741748731F3144544A1741A 181s gpgv: issuer "tchet@debian.org" 181s gpgv: Can't check signature: No public key 181s dpkg-source: warning: cannot verify inline signature for ./protontricks_1.12.0-2.dsc: no acceptable signature found 181s autopkgtest [04:12:38]: testing package protontricks version 1.12.0-2 181s autopkgtest [04:12:38]: build not needed 182s autopkgtest [04:12:39]: test pytest: preparing testbed 182s Reading package lists... 182s Building dependency tree... 182s Reading state information... 182s Starting pkgProblemResolver with broken count: 0 183s Starting 2 pkgProblemResolver with broken count: 0 183s Done 183s The following NEW packages will be installed: 183s adwaita-icon-theme at-spi2-common dconf-gsettings-backend dconf-service 183s fontconfig fontconfig-config fonts-dejavu-core fonts-dejavu-mono 183s gtk-update-icon-cache hicolor-icon-theme libaom3 libasound2-data 183s libasound2t64 libasyncns0 libatk-bridge2.0-0t64 libatk1.0-0t64 183s libatspi2.0-0t64 libavahi-client3 libavahi-common-data libavahi-common3 183s libcairo-gobject2 libcairo2 libcapi20-3t64 libcolord2 libcups2t64 libdatrie1 183s libdconf1 libde265-0 libdeflate0 libepoxy0 libexif12 libflac12t64 183s libfontconfig1 libgd3 libgdk-pixbuf-2.0-0 libgdk-pixbuf2.0-common libgomp1 183s libgphoto2-6t64 libgphoto2-port12t64 libgraphite2-3 183s libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libgtk-3-0t64 183s libgtk-3-common libharfbuzz0b libheif-plugin-aomdec libheif-plugin-libde265 183s libheif1 libimagequant0 libjbig0 libjpeg-turbo8 libjpeg8 liblcms2-2 liblerc4 183s libltdl7 libmp3lame0 libmpg123-0t64 libogg0 libopenjp2-7 libopus0 183s liborc-0.4-0t64 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 183s libpcsclite1 libpixman-1-0 libpulse0 libraqm0 libsharpyuv0 libsndfile1 183s libthai-data libthai0 libtiff6 libvorbis0a libvorbisenc2 libwayland-client0 183s libwayland-cursor0 libwayland-egl1 libwebp7 libwebpdemux2 libwebpmux3 183s libwine libx11-xcb1 libxcb-render0 libxcb-shm0 libxcomposite1 libxcursor1 183s libxdamage1 libxfixes3 libxi6 libxinerama1 libxkbregistry0 libxpm4 183s libxrandr2 libxrender1 libz-mingw-w64 ocl-icd-libopencl1 protontricks 183s python3-all python3-iniconfig python3-packaging python3-pil python3-pluggy 183s python3-pytest python3-vdf python3.12 python3.12-minimal wine wine64 183s winetricks yad 183s 0 upgraded, 111 newly installed, 0 to remove and 0 not upgraded. 183s Need to get 56.4 MB of archives. 183s After this operation, 331 MB of additional disk space will be used. 183s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.12-minimal arm64 3.12.9-1 [2236 kB] 184s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.12 arm64 3.12.9-1 [671 kB] 184s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 libgdk-pixbuf2.0-common all 2.42.12+dfsg-2 [8004 B] 184s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libjpeg-turbo8 arm64 2.1.5-3ubuntu2 [165 kB] 184s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 libjpeg8 arm64 8c-2ubuntu11 [2148 B] 184s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 libdeflate0 arm64 1.23-1 [46.2 kB] 184s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 libjbig0 arm64 2.1-6.1ubuntu2 [29.3 kB] 184s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 liblerc4 arm64 4.0.0+ds-5ubuntu1 [167 kB] 184s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 libsharpyuv0 arm64 1.5.0-0.1 [16.9 kB] 184s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libwebp7 arm64 1.5.0-0.1 [194 kB] 184s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 libtiff6 arm64 4.5.1+git230720-4ubuntu4 [193 kB] 184s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 libgdk-pixbuf-2.0-0 arm64 2.42.12+dfsg-2 [147 kB] 184s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 gtk-update-icon-cache arm64 4.17.4+ds-4 [52.5 kB] 184s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 hicolor-icon-theme all 0.18-2 [13.3 kB] 184s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 adwaita-icon-theme all 48~beta-3 [578 kB] 184s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 at-spi2-common all 2.55.2-1 [8916 B] 184s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 libdconf1 arm64 0.40.0-5 [40.0 kB] 184s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 dconf-service arm64 0.40.0-5 [27.1 kB] 184s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 dconf-gsettings-backend arm64 0.40.0-5 [22.3 kB] 184s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 fonts-dejavu-mono all 2.37-8 [502 kB] 184s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 fonts-dejavu-core all 2.37-8 [835 kB] 184s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 fontconfig-config arm64 2.15.0-2ubuntu1 [37.5 kB] 184s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 libfontconfig1 arm64 2.15.0-2ubuntu1 [144 kB] 184s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 fontconfig arm64 2.15.0-2ubuntu1 [191 kB] 184s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 libaom3 arm64 3.12.0-1 [1828 kB] 184s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 libasound2-data all 1.2.13-1build1 [21.1 kB] 184s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 libasound2t64 arm64 1.2.13-1build1 [390 kB] 184s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 libasyncns0 arm64 0.8-6build4 [11.2 kB] 184s Get:29 http://ftpmaster.internal/ubuntu plucky/main arm64 libatk1.0-0t64 arm64 2.55.2-1 [55.2 kB] 184s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 libxi6 arm64 2:1.8.2-1 [32.4 kB] 184s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 libatspi2.0-0t64 arm64 2.55.2-1 [80.6 kB] 184s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 libatk-bridge2.0-0t64 arm64 2.55.2-1 [66.7 kB] 184s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 libavahi-common-data arm64 0.8-14ubuntu1 [30.5 kB] 184s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 libavahi-common3 arm64 0.8-14ubuntu1 [23.1 kB] 185s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 libavahi-client3 arm64 0.8-14ubuntu1 [27.3 kB] 185s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 libpixman-1-0 arm64 0.44.0-3 [197 kB] 185s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-render0 arm64 1.17.0-2 [16.6 kB] 185s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-shm0 arm64 1.17.0-2 [5884 B] 185s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 libxrender1 arm64 1:0.9.10-1.1build1 [18.8 kB] 185s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 libcairo2 arm64 1.18.2-2 [560 kB] 185s Get:41 http://ftpmaster.internal/ubuntu plucky/main arm64 libcairo-gobject2 arm64 1.18.2-2 [127 kB] 185s Get:42 http://ftpmaster.internal/ubuntu plucky/universe arm64 libcapi20-3t64 arm64 1:3.27-3.2 [31.8 kB] 185s Get:43 http://ftpmaster.internal/ubuntu plucky/main arm64 liblcms2-2 arm64 2.16-2 [170 kB] 185s Get:44 http://ftpmaster.internal/ubuntu plucky/main arm64 libcolord2 arm64 1.4.7-1build2 [149 kB] 185s Get:45 http://ftpmaster.internal/ubuntu plucky/main arm64 libcups2t64 arm64 2.4.11-0ubuntu2 [274 kB] 185s Get:46 http://ftpmaster.internal/ubuntu plucky/main arm64 libdatrie1 arm64 0.2.13-3build1 [19.2 kB] 185s Get:47 http://ftpmaster.internal/ubuntu plucky/main arm64 libde265-0 arm64 1.0.15-1build4 [146 kB] 185s Get:48 http://ftpmaster.internal/ubuntu plucky/main arm64 libepoxy0 arm64 1.5.10-2 [236 kB] 185s Get:49 http://ftpmaster.internal/ubuntu plucky/main arm64 libexif12 arm64 0.6.25-1 [84.9 kB] 185s Get:50 http://ftpmaster.internal/ubuntu plucky/main arm64 libogg0 arm64 1.3.5-3build1 [22.6 kB] 185s Get:51 http://ftpmaster.internal/ubuntu plucky/main arm64 libflac12t64 arm64 1.4.3+ds-4 [168 kB] 185s Get:52 http://ftpmaster.internal/ubuntu plucky/main arm64 libheif-plugin-aomdec arm64 1.19.5-1build1 [11.4 kB] 185s Get:53 http://ftpmaster.internal/ubuntu plucky/main arm64 libheif-plugin-libde265 arm64 1.19.5-1build1 [8902 B] 185s Get:54 http://ftpmaster.internal/ubuntu plucky/main arm64 libheif1 arm64 1.19.5-1build1 [369 kB] 185s Get:55 http://ftpmaster.internal/ubuntu plucky/main arm64 libgomp1 arm64 15-20250213-1ubuntu1 [146 kB] 185s Get:56 http://ftpmaster.internal/ubuntu plucky/main arm64 libimagequant0 arm64 2.18.0-1build1 [37.1 kB] 185s Get:57 http://ftpmaster.internal/ubuntu plucky/main arm64 libgraphite2-3 arm64 1.3.14-2ubuntu1 [70.6 kB] 185s Get:58 http://ftpmaster.internal/ubuntu plucky/main arm64 libharfbuzz0b arm64 10.2.0-1 [490 kB] 185s Get:59 http://ftpmaster.internal/ubuntu plucky/main arm64 libraqm0 arm64 0.10.2-1 [14.9 kB] 185s Get:60 http://ftpmaster.internal/ubuntu plucky/main arm64 libxpm4 arm64 1:3.5.17-1build2 [35.1 kB] 185s Get:61 http://ftpmaster.internal/ubuntu plucky/main arm64 libgd3 arm64 2.3.3-12ubuntu3 [122 kB] 185s Get:62 http://ftpmaster.internal/ubuntu plucky/main arm64 libltdl7 arm64 2.5.4-3build1 [43.0 kB] 185s Get:63 http://ftpmaster.internal/ubuntu plucky/main arm64 libgphoto2-port12t64 arm64 2.5.31-4 [59.2 kB] 185s Get:64 http://ftpmaster.internal/ubuntu plucky/main arm64 libgphoto2-6t64 arm64 2.5.31-4 [736 kB] 185s Get:65 http://ftpmaster.internal/ubuntu plucky/main arm64 libgstreamer1.0-0 arm64 1.25.50-1 [1163 kB] 185s Get:66 http://ftpmaster.internal/ubuntu plucky/main arm64 liborc-0.4-0t64 arm64 1:0.4.40-1 [203 kB] 185s Get:67 http://ftpmaster.internal/ubuntu plucky/main arm64 libgstreamer-plugins-base1.0-0 arm64 1.25.50-1 [849 kB] 185s Get:68 http://ftpmaster.internal/ubuntu plucky/main arm64 libthai-data all 0.1.29-2build1 [158 kB] 185s Get:69 http://ftpmaster.internal/ubuntu plucky/main arm64 libthai0 arm64 0.1.29-2build1 [18.2 kB] 185s Get:70 http://ftpmaster.internal/ubuntu plucky/main arm64 libpango-1.0-0 arm64 1.56.1-1 [238 kB] 185s Get:71 http://ftpmaster.internal/ubuntu plucky/main arm64 libpangoft2-1.0-0 arm64 1.56.1-1 [49.6 kB] 185s Get:72 http://ftpmaster.internal/ubuntu plucky/main arm64 libpangocairo-1.0-0 arm64 1.56.1-1 [27.6 kB] 185s Get:73 http://ftpmaster.internal/ubuntu plucky/main arm64 libwayland-client0 arm64 1.23.1-1 [26.8 kB] 185s Get:74 http://ftpmaster.internal/ubuntu plucky/main arm64 libwayland-cursor0 arm64 1.23.1-1 [10.7 kB] 185s Get:75 http://ftpmaster.internal/ubuntu plucky/main arm64 libwayland-egl1 arm64 1.23.1-1 [5752 B] 185s Get:76 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcomposite1 arm64 1:0.4.6-1 [6626 B] 185s Get:77 http://ftpmaster.internal/ubuntu plucky/main arm64 libxfixes3 arm64 1:6.0.0-2build1 [11.2 kB] 185s Get:78 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcursor1 arm64 1:1.2.3-1 [22.2 kB] 185s Get:79 http://ftpmaster.internal/ubuntu plucky/main arm64 libxdamage1 arm64 1:1.1.6-1build1 [6236 B] 185s Get:80 http://ftpmaster.internal/ubuntu plucky/main arm64 libxinerama1 arm64 2:1.1.4-3build1 [6394 B] 185s Get:81 http://ftpmaster.internal/ubuntu plucky/main arm64 libxrandr2 arm64 2:1.5.4-1 [19.6 kB] 185s Get:82 http://ftpmaster.internal/ubuntu plucky/main arm64 libgtk-3-common all 3.24.48-3ubuntu1 [1424 kB] 185s Get:83 http://ftpmaster.internal/ubuntu plucky/main arm64 libgtk-3-0t64 arm64 3.24.48-3ubuntu1 [2916 kB] 186s Get:84 http://ftpmaster.internal/ubuntu plucky/main arm64 libmp3lame0 arm64 3.100-6build1 [141 kB] 186s Get:85 http://ftpmaster.internal/ubuntu plucky/main arm64 libmpg123-0t64 arm64 1.32.10-1 [173 kB] 186s Get:86 http://ftpmaster.internal/ubuntu plucky/main arm64 libopus0 arm64 1.5.2-2 [2891 kB] 186s Get:87 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcsclite1 arm64 2.3.1-1 [25.0 kB] 186s Get:88 http://ftpmaster.internal/ubuntu plucky/main arm64 libvorbis0a arm64 1.3.7-2 [95.0 kB] 186s Get:89 http://ftpmaster.internal/ubuntu plucky/main arm64 libvorbisenc2 arm64 1.3.7-2 [80.0 kB] 186s Get:90 http://ftpmaster.internal/ubuntu plucky/main arm64 libsndfile1 arm64 1.2.2-2 [209 kB] 186s Get:91 http://ftpmaster.internal/ubuntu plucky/main arm64 libx11-xcb1 arm64 2:1.8.10-2 [8020 B] 186s Get:92 http://ftpmaster.internal/ubuntu plucky/main arm64 libpulse0 arm64 1:17.0+dfsg1-2ubuntu1 [274 kB] 186s Get:93 http://ftpmaster.internal/ubuntu plucky/main arm64 libwebpdemux2 arm64 1.5.0-0.1 [12.5 kB] 186s Get:94 http://ftpmaster.internal/ubuntu plucky/main arm64 libwebpmux3 arm64 1.5.0-0.1 [25.4 kB] 186s Get:95 http://ftpmaster.internal/ubuntu plucky/main arm64 libxkbregistry0 arm64 1.7.0-2 [14.5 kB] 186s Get:96 http://ftpmaster.internal/ubuntu plucky/universe arm64 ocl-icd-libopencl1 arm64 2.3.2-1build1 [37.6 kB] 186s Get:97 http://ftpmaster.internal/ubuntu plucky/universe arm64 libz-mingw-w64 all 1.3.1+dfsg-1 [132 kB] 186s Get:98 http://ftpmaster.internal/ubuntu plucky/universe arm64 libwine arm64 9.0~repack-4build3 [30.2 MB] 188s Get:99 http://ftpmaster.internal/ubuntu plucky/main arm64 libopenjp2-7 arm64 2.5.0-2ubuntu3 [182 kB] 188s Get:100 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-pil arm64 11.1.0-5 [491 kB] 188s Get:101 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-vdf all 3.4-5 [11.3 kB] 188s Get:102 http://ftpmaster.internal/ubuntu plucky/universe arm64 yad arm64 7.2-1 [189 kB] 188s Get:103 http://ftpmaster.internal/ubuntu plucky/universe arm64 wine64 arm64 9.0~repack-4build3 [244 kB] 188s Get:104 http://ftpmaster.internal/ubuntu plucky/universe arm64 wine all 9.0~repack-4build3 [52.0 kB] 188s Get:105 http://ftpmaster.internal/ubuntu plucky/universe arm64 winetricks all 20250102-1 [161 kB] 188s Get:106 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 protontricks all 1.12.0-2 [45.9 kB] 188s Get:107 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-all arm64 3.13.1-1~exp2 [894 B] 188s Get:108 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 188s Get:109 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.2-1 [51.5 kB] 188s Get:110 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 188s Get:111 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest all 8.3.4-1 [252 kB] 189s Fetched 56.4 MB in 5s (10.7 MB/s) 189s Selecting previously unselected package python3.12-minimal. 189s (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 ... 116620 files and directories currently installed.) 189s Preparing to unpack .../000-python3.12-minimal_3.12.9-1_arm64.deb ... 189s Unpacking python3.12-minimal (3.12.9-1) ... 189s Selecting previously unselected package python3.12. 189s Preparing to unpack .../001-python3.12_3.12.9-1_arm64.deb ... 189s Unpacking python3.12 (3.12.9-1) ... 189s Selecting previously unselected package libgdk-pixbuf2.0-common. 189s Preparing to unpack .../002-libgdk-pixbuf2.0-common_2.42.12+dfsg-2_all.deb ... 189s Unpacking libgdk-pixbuf2.0-common (2.42.12+dfsg-2) ... 189s Selecting previously unselected package libjpeg-turbo8:arm64. 189s Preparing to unpack .../003-libjpeg-turbo8_2.1.5-3ubuntu2_arm64.deb ... 189s Unpacking libjpeg-turbo8:arm64 (2.1.5-3ubuntu2) ... 189s Selecting previously unselected package libjpeg8:arm64. 189s Preparing to unpack .../004-libjpeg8_8c-2ubuntu11_arm64.deb ... 189s Unpacking libjpeg8:arm64 (8c-2ubuntu11) ... 189s Selecting previously unselected package libdeflate0:arm64. 189s Preparing to unpack .../005-libdeflate0_1.23-1_arm64.deb ... 189s Unpacking libdeflate0:arm64 (1.23-1) ... 190s Selecting previously unselected package libjbig0:arm64. 190s Preparing to unpack .../006-libjbig0_2.1-6.1ubuntu2_arm64.deb ... 190s Unpacking libjbig0:arm64 (2.1-6.1ubuntu2) ... 190s Selecting previously unselected package liblerc4:arm64. 190s Preparing to unpack .../007-liblerc4_4.0.0+ds-5ubuntu1_arm64.deb ... 190s Unpacking liblerc4:arm64 (4.0.0+ds-5ubuntu1) ... 190s Selecting previously unselected package libsharpyuv0:arm64. 190s Preparing to unpack .../008-libsharpyuv0_1.5.0-0.1_arm64.deb ... 190s Unpacking libsharpyuv0:arm64 (1.5.0-0.1) ... 190s Selecting previously unselected package libwebp7:arm64. 190s Preparing to unpack .../009-libwebp7_1.5.0-0.1_arm64.deb ... 190s Unpacking libwebp7:arm64 (1.5.0-0.1) ... 190s Selecting previously unselected package libtiff6:arm64. 190s Preparing to unpack .../010-libtiff6_4.5.1+git230720-4ubuntu4_arm64.deb ... 190s Unpacking libtiff6:arm64 (4.5.1+git230720-4ubuntu4) ... 190s Selecting previously unselected package libgdk-pixbuf-2.0-0:arm64. 190s Preparing to unpack .../011-libgdk-pixbuf-2.0-0_2.42.12+dfsg-2_arm64.deb ... 190s Unpacking libgdk-pixbuf-2.0-0:arm64 (2.42.12+dfsg-2) ... 190s Selecting previously unselected package gtk-update-icon-cache. 190s Preparing to unpack .../012-gtk-update-icon-cache_4.17.4+ds-4_arm64.deb ... 190s No diversion 'diversion of /usr/sbin/update-icon-caches to /usr/sbin/update-icon-caches.gtk2 by libgtk-3-bin', none removed. 190s No diversion 'diversion of /usr/share/man/man8/update-icon-caches.8.gz to /usr/share/man/man8/update-icon-caches.gtk2.8.gz by libgtk-3-bin', none removed. 190s Unpacking gtk-update-icon-cache (4.17.4+ds-4) ... 190s Selecting previously unselected package hicolor-icon-theme. 190s Preparing to unpack .../013-hicolor-icon-theme_0.18-2_all.deb ... 190s Unpacking hicolor-icon-theme (0.18-2) ... 190s Selecting previously unselected package adwaita-icon-theme. 190s Preparing to unpack .../014-adwaita-icon-theme_48~beta-3_all.deb ... 190s Unpacking adwaita-icon-theme (48~beta-3) ... 190s Selecting previously unselected package at-spi2-common. 191s Preparing to unpack .../015-at-spi2-common_2.55.2-1_all.deb ... 191s Unpacking at-spi2-common (2.55.2-1) ... 191s Selecting previously unselected package libdconf1:arm64. 191s Preparing to unpack .../016-libdconf1_0.40.0-5_arm64.deb ... 191s Unpacking libdconf1:arm64 (0.40.0-5) ... 191s Selecting previously unselected package dconf-service. 191s Preparing to unpack .../017-dconf-service_0.40.0-5_arm64.deb ... 191s Unpacking dconf-service (0.40.0-5) ... 192s Selecting previously unselected package dconf-gsettings-backend:arm64. 192s Preparing to unpack .../018-dconf-gsettings-backend_0.40.0-5_arm64.deb ... 192s Unpacking dconf-gsettings-backend:arm64 (0.40.0-5) ... 192s Selecting previously unselected package fonts-dejavu-mono. 192s Preparing to unpack .../019-fonts-dejavu-mono_2.37-8_all.deb ... 192s Unpacking fonts-dejavu-mono (2.37-8) ... 192s Selecting previously unselected package fonts-dejavu-core. 192s Preparing to unpack .../020-fonts-dejavu-core_2.37-8_all.deb ... 192s Unpacking fonts-dejavu-core (2.37-8) ... 192s Selecting previously unselected package fontconfig-config. 192s Preparing to unpack .../021-fontconfig-config_2.15.0-2ubuntu1_arm64.deb ... 192s Unpacking fontconfig-config (2.15.0-2ubuntu1) ... 192s Selecting previously unselected package libfontconfig1:arm64. 192s Preparing to unpack .../022-libfontconfig1_2.15.0-2ubuntu1_arm64.deb ... 192s Unpacking libfontconfig1:arm64 (2.15.0-2ubuntu1) ... 192s Selecting previously unselected package fontconfig. 192s Preparing to unpack .../023-fontconfig_2.15.0-2ubuntu1_arm64.deb ... 192s Unpacking fontconfig (2.15.0-2ubuntu1) ... 192s Selecting previously unselected package libaom3:arm64. 192s Preparing to unpack .../024-libaom3_3.12.0-1_arm64.deb ... 192s Unpacking libaom3:arm64 (3.12.0-1) ... 192s Selecting previously unselected package libasound2-data. 192s Preparing to unpack .../025-libasound2-data_1.2.13-1build1_all.deb ... 192s Unpacking libasound2-data (1.2.13-1build1) ... 192s Selecting previously unselected package libasound2t64:arm64. 192s Preparing to unpack .../026-libasound2t64_1.2.13-1build1_arm64.deb ... 192s Unpacking libasound2t64:arm64 (1.2.13-1build1) ... 192s Selecting previously unselected package libasyncns0:arm64. 192s Preparing to unpack .../027-libasyncns0_0.8-6build4_arm64.deb ... 192s Unpacking libasyncns0:arm64 (0.8-6build4) ... 192s Selecting previously unselected package libatk1.0-0t64:arm64. 193s Preparing to unpack .../028-libatk1.0-0t64_2.55.2-1_arm64.deb ... 193s Unpacking libatk1.0-0t64:arm64 (2.55.2-1) ... 193s Selecting previously unselected package libxi6:arm64. 193s Preparing to unpack .../029-libxi6_2%3a1.8.2-1_arm64.deb ... 193s Unpacking libxi6:arm64 (2:1.8.2-1) ... 193s Selecting previously unselected package libatspi2.0-0t64:arm64. 193s Preparing to unpack .../030-libatspi2.0-0t64_2.55.2-1_arm64.deb ... 193s Unpacking libatspi2.0-0t64:arm64 (2.55.2-1) ... 193s Selecting previously unselected package libatk-bridge2.0-0t64:arm64. 193s Preparing to unpack .../031-libatk-bridge2.0-0t64_2.55.2-1_arm64.deb ... 193s Unpacking libatk-bridge2.0-0t64:arm64 (2.55.2-1) ... 193s Selecting previously unselected package libavahi-common-data:arm64. 193s Preparing to unpack .../032-libavahi-common-data_0.8-14ubuntu1_arm64.deb ... 193s Unpacking libavahi-common-data:arm64 (0.8-14ubuntu1) ... 193s Selecting previously unselected package libavahi-common3:arm64. 193s Preparing to unpack .../033-libavahi-common3_0.8-14ubuntu1_arm64.deb ... 193s Unpacking libavahi-common3:arm64 (0.8-14ubuntu1) ... 193s Selecting previously unselected package libavahi-client3:arm64. 193s Preparing to unpack .../034-libavahi-client3_0.8-14ubuntu1_arm64.deb ... 193s Unpacking libavahi-client3:arm64 (0.8-14ubuntu1) ... 193s Selecting previously unselected package libpixman-1-0:arm64. 193s Preparing to unpack .../035-libpixman-1-0_0.44.0-3_arm64.deb ... 193s Unpacking libpixman-1-0:arm64 (0.44.0-3) ... 193s Selecting previously unselected package libxcb-render0:arm64. 193s Preparing to unpack .../036-libxcb-render0_1.17.0-2_arm64.deb ... 193s Unpacking libxcb-render0:arm64 (1.17.0-2) ... 193s Selecting previously unselected package libxcb-shm0:arm64. 193s Preparing to unpack .../037-libxcb-shm0_1.17.0-2_arm64.deb ... 193s Unpacking libxcb-shm0:arm64 (1.17.0-2) ... 193s Selecting previously unselected package libxrender1:arm64. 193s Preparing to unpack .../038-libxrender1_1%3a0.9.10-1.1build1_arm64.deb ... 193s Unpacking libxrender1:arm64 (1:0.9.10-1.1build1) ... 193s Selecting previously unselected package libcairo2:arm64. 193s Preparing to unpack .../039-libcairo2_1.18.2-2_arm64.deb ... 193s Unpacking libcairo2:arm64 (1.18.2-2) ... 193s Selecting previously unselected package libcairo-gobject2:arm64. 193s Preparing to unpack .../040-libcairo-gobject2_1.18.2-2_arm64.deb ... 193s Unpacking libcairo-gobject2:arm64 (1.18.2-2) ... 193s Selecting previously unselected package libcapi20-3t64:arm64. 193s Preparing to unpack .../041-libcapi20-3t64_1%3a3.27-3.2_arm64.deb ... 193s Unpacking libcapi20-3t64:arm64 (1:3.27-3.2) ... 193s Selecting previously unselected package liblcms2-2:arm64. 193s Preparing to unpack .../042-liblcms2-2_2.16-2_arm64.deb ... 193s Unpacking liblcms2-2:arm64 (2.16-2) ... 194s Selecting previously unselected package libcolord2:arm64. 194s Preparing to unpack .../043-libcolord2_1.4.7-1build2_arm64.deb ... 194s Unpacking libcolord2:arm64 (1.4.7-1build2) ... 194s Selecting previously unselected package libcups2t64:arm64. 194s Preparing to unpack .../044-libcups2t64_2.4.11-0ubuntu2_arm64.deb ... 194s Unpacking libcups2t64:arm64 (2.4.11-0ubuntu2) ... 194s Selecting previously unselected package libdatrie1:arm64. 194s Preparing to unpack .../045-libdatrie1_0.2.13-3build1_arm64.deb ... 194s Unpacking libdatrie1:arm64 (0.2.13-3build1) ... 194s Selecting previously unselected package libde265-0:arm64. 194s Preparing to unpack .../046-libde265-0_1.0.15-1build4_arm64.deb ... 194s Unpacking libde265-0:arm64 (1.0.15-1build4) ... 194s Selecting previously unselected package libepoxy0:arm64. 194s Preparing to unpack .../047-libepoxy0_1.5.10-2_arm64.deb ... 194s Unpacking libepoxy0:arm64 (1.5.10-2) ... 194s Selecting previously unselected package libexif12:arm64. 194s Preparing to unpack .../048-libexif12_0.6.25-1_arm64.deb ... 194s Unpacking libexif12:arm64 (0.6.25-1) ... 194s Selecting previously unselected package libogg0:arm64. 194s Preparing to unpack .../049-libogg0_1.3.5-3build1_arm64.deb ... 194s Unpacking libogg0:arm64 (1.3.5-3build1) ... 194s Selecting previously unselected package libflac12t64:arm64. 194s Preparing to unpack .../050-libflac12t64_1.4.3+ds-4_arm64.deb ... 194s Unpacking libflac12t64:arm64 (1.4.3+ds-4) ... 194s Selecting previously unselected package libheif-plugin-aomdec:arm64. 194s Preparing to unpack .../051-libheif-plugin-aomdec_1.19.5-1build1_arm64.deb ... 194s Unpacking libheif-plugin-aomdec:arm64 (1.19.5-1build1) ... 194s Selecting previously unselected package libheif-plugin-libde265:arm64. 194s Preparing to unpack .../052-libheif-plugin-libde265_1.19.5-1build1_arm64.deb ... 194s Unpacking libheif-plugin-libde265:arm64 (1.19.5-1build1) ... 194s Selecting previously unselected package libheif1:arm64. 194s Preparing to unpack .../053-libheif1_1.19.5-1build1_arm64.deb ... 194s Unpacking libheif1:arm64 (1.19.5-1build1) ... 194s Selecting previously unselected package libgomp1:arm64. 194s Preparing to unpack .../054-libgomp1_15-20250213-1ubuntu1_arm64.deb ... 194s Unpacking libgomp1:arm64 (15-20250213-1ubuntu1) ... 194s Selecting previously unselected package libimagequant0:arm64. 194s Preparing to unpack .../055-libimagequant0_2.18.0-1build1_arm64.deb ... 194s Unpacking libimagequant0:arm64 (2.18.0-1build1) ... 194s Selecting previously unselected package libgraphite2-3:arm64. 194s Preparing to unpack .../056-libgraphite2-3_1.3.14-2ubuntu1_arm64.deb ... 194s Unpacking libgraphite2-3:arm64 (1.3.14-2ubuntu1) ... 194s Selecting previously unselected package libharfbuzz0b:arm64. 194s Preparing to unpack .../057-libharfbuzz0b_10.2.0-1_arm64.deb ... 194s Unpacking libharfbuzz0b:arm64 (10.2.0-1) ... 194s Selecting previously unselected package libraqm0:arm64. 194s Preparing to unpack .../058-libraqm0_0.10.2-1_arm64.deb ... 194s Unpacking libraqm0:arm64 (0.10.2-1) ... 194s Selecting previously unselected package libxpm4:arm64. 194s Preparing to unpack .../059-libxpm4_1%3a3.5.17-1build2_arm64.deb ... 194s Unpacking libxpm4:arm64 (1:3.5.17-1build2) ... 194s Selecting previously unselected package libgd3:arm64. 195s Preparing to unpack .../060-libgd3_2.3.3-12ubuntu3_arm64.deb ... 195s Unpacking libgd3:arm64 (2.3.3-12ubuntu3) ... 195s Selecting previously unselected package libltdl7:arm64. 195s Preparing to unpack .../061-libltdl7_2.5.4-3build1_arm64.deb ... 195s Unpacking libltdl7:arm64 (2.5.4-3build1) ... 195s Selecting previously unselected package libgphoto2-port12t64:arm64. 195s Preparing to unpack .../062-libgphoto2-port12t64_2.5.31-4_arm64.deb ... 195s Unpacking libgphoto2-port12t64:arm64 (2.5.31-4) ... 195s Selecting previously unselected package libgphoto2-6t64:arm64. 195s Preparing to unpack .../063-libgphoto2-6t64_2.5.31-4_arm64.deb ... 195s Unpacking libgphoto2-6t64:arm64 (2.5.31-4) ... 195s Selecting previously unselected package libgstreamer1.0-0:arm64. 195s Preparing to unpack .../064-libgstreamer1.0-0_1.25.50-1_arm64.deb ... 195s Unpacking libgstreamer1.0-0:arm64 (1.25.50-1) ... 195s Selecting previously unselected package liborc-0.4-0t64:arm64. 195s Preparing to unpack .../065-liborc-0.4-0t64_1%3a0.4.40-1_arm64.deb ... 195s Unpacking liborc-0.4-0t64:arm64 (1:0.4.40-1) ... 195s Selecting previously unselected package libgstreamer-plugins-base1.0-0:arm64. 195s Preparing to unpack .../066-libgstreamer-plugins-base1.0-0_1.25.50-1_arm64.deb ... 195s Unpacking libgstreamer-plugins-base1.0-0:arm64 (1.25.50-1) ... 195s Selecting previously unselected package libthai-data. 195s Preparing to unpack .../067-libthai-data_0.1.29-2build1_all.deb ... 195s Unpacking libthai-data (0.1.29-2build1) ... 195s Selecting previously unselected package libthai0:arm64. 195s Preparing to unpack .../068-libthai0_0.1.29-2build1_arm64.deb ... 195s Unpacking libthai0:arm64 (0.1.29-2build1) ... 195s Selecting previously unselected package libpango-1.0-0:arm64. 195s Preparing to unpack .../069-libpango-1.0-0_1.56.1-1_arm64.deb ... 195s Unpacking libpango-1.0-0:arm64 (1.56.1-1) ... 195s Selecting previously unselected package libpangoft2-1.0-0:arm64. 195s Preparing to unpack .../070-libpangoft2-1.0-0_1.56.1-1_arm64.deb ... 195s Unpacking libpangoft2-1.0-0:arm64 (1.56.1-1) ... 195s Selecting previously unselected package libpangocairo-1.0-0:arm64. 195s Preparing to unpack .../071-libpangocairo-1.0-0_1.56.1-1_arm64.deb ... 195s Unpacking libpangocairo-1.0-0:arm64 (1.56.1-1) ... 195s Selecting previously unselected package libwayland-client0:arm64. 195s Preparing to unpack .../072-libwayland-client0_1.23.1-1_arm64.deb ... 195s Unpacking libwayland-client0:arm64 (1.23.1-1) ... 195s Selecting previously unselected package libwayland-cursor0:arm64. 195s Preparing to unpack .../073-libwayland-cursor0_1.23.1-1_arm64.deb ... 195s Unpacking libwayland-cursor0:arm64 (1.23.1-1) ... 195s Selecting previously unselected package libwayland-egl1:arm64. 195s Preparing to unpack .../074-libwayland-egl1_1.23.1-1_arm64.deb ... 195s Unpacking libwayland-egl1:arm64 (1.23.1-1) ... 195s Selecting previously unselected package libxcomposite1:arm64. 196s Preparing to unpack .../075-libxcomposite1_1%3a0.4.6-1_arm64.deb ... 196s Unpacking libxcomposite1:arm64 (1:0.4.6-1) ... 196s Selecting previously unselected package libxfixes3:arm64. 196s Preparing to unpack .../076-libxfixes3_1%3a6.0.0-2build1_arm64.deb ... 196s Unpacking libxfixes3:arm64 (1:6.0.0-2build1) ... 196s Selecting previously unselected package libxcursor1:arm64. 196s Preparing to unpack .../077-libxcursor1_1%3a1.2.3-1_arm64.deb ... 196s Unpacking libxcursor1:arm64 (1:1.2.3-1) ... 196s Selecting previously unselected package libxdamage1:arm64. 196s Preparing to unpack .../078-libxdamage1_1%3a1.1.6-1build1_arm64.deb ... 196s Unpacking libxdamage1:arm64 (1:1.1.6-1build1) ... 196s Selecting previously unselected package libxinerama1:arm64. 196s Preparing to unpack .../079-libxinerama1_2%3a1.1.4-3build1_arm64.deb ... 196s Unpacking libxinerama1:arm64 (2:1.1.4-3build1) ... 196s Selecting previously unselected package libxrandr2:arm64. 196s Preparing to unpack .../080-libxrandr2_2%3a1.5.4-1_arm64.deb ... 196s Unpacking libxrandr2:arm64 (2:1.5.4-1) ... 196s Selecting previously unselected package libgtk-3-common. 196s Preparing to unpack .../081-libgtk-3-common_3.24.48-3ubuntu1_all.deb ... 196s Unpacking libgtk-3-common (3.24.48-3ubuntu1) ... 196s Selecting previously unselected package libgtk-3-0t64:arm64. 196s Preparing to unpack .../082-libgtk-3-0t64_3.24.48-3ubuntu1_arm64.deb ... 196s Unpacking libgtk-3-0t64:arm64 (3.24.48-3ubuntu1) ... 196s Selecting previously unselected package libmp3lame0:arm64. 196s Preparing to unpack .../083-libmp3lame0_3.100-6build1_arm64.deb ... 196s Unpacking libmp3lame0:arm64 (3.100-6build1) ... 196s Selecting previously unselected package libmpg123-0t64:arm64. 196s Preparing to unpack .../084-libmpg123-0t64_1.32.10-1_arm64.deb ... 196s Unpacking libmpg123-0t64:arm64 (1.32.10-1) ... 196s Selecting previously unselected package libopus0:arm64. 196s Preparing to unpack .../085-libopus0_1.5.2-2_arm64.deb ... 196s Unpacking libopus0:arm64 (1.5.2-2) ... 196s Selecting previously unselected package libpcsclite1:arm64. 196s Preparing to unpack .../086-libpcsclite1_2.3.1-1_arm64.deb ... 196s Unpacking libpcsclite1:arm64 (2.3.1-1) ... 196s Selecting previously unselected package libvorbis0a:arm64. 196s Preparing to unpack .../087-libvorbis0a_1.3.7-2_arm64.deb ... 196s Unpacking libvorbis0a:arm64 (1.3.7-2) ... 196s Selecting previously unselected package libvorbisenc2:arm64. 196s Preparing to unpack .../088-libvorbisenc2_1.3.7-2_arm64.deb ... 196s Unpacking libvorbisenc2:arm64 (1.3.7-2) ... 196s Selecting previously unselected package libsndfile1:arm64. 196s Preparing to unpack .../089-libsndfile1_1.2.2-2_arm64.deb ... 196s Unpacking libsndfile1:arm64 (1.2.2-2) ... 196s Selecting previously unselected package libx11-xcb1:arm64. 196s Preparing to unpack .../090-libx11-xcb1_2%3a1.8.10-2_arm64.deb ... 196s Unpacking libx11-xcb1:arm64 (2:1.8.10-2) ... 196s Selecting previously unselected package libpulse0:arm64. 196s Preparing to unpack .../091-libpulse0_1%3a17.0+dfsg1-2ubuntu1_arm64.deb ... 196s Unpacking libpulse0:arm64 (1:17.0+dfsg1-2ubuntu1) ... 196s Selecting previously unselected package libwebpdemux2:arm64. 197s Preparing to unpack .../092-libwebpdemux2_1.5.0-0.1_arm64.deb ... 197s Unpacking libwebpdemux2:arm64 (1.5.0-0.1) ... 197s Selecting previously unselected package libwebpmux3:arm64. 197s Preparing to unpack .../093-libwebpmux3_1.5.0-0.1_arm64.deb ... 197s Unpacking libwebpmux3:arm64 (1.5.0-0.1) ... 197s Selecting previously unselected package libxkbregistry0:arm64. 197s Preparing to unpack .../094-libxkbregistry0_1.7.0-2_arm64.deb ... 197s Unpacking libxkbregistry0:arm64 (1.7.0-2) ... 197s Selecting previously unselected package ocl-icd-libopencl1:arm64. 197s Preparing to unpack .../095-ocl-icd-libopencl1_2.3.2-1build1_arm64.deb ... 197s Unpacking ocl-icd-libopencl1:arm64 (2.3.2-1build1) ... 197s Selecting previously unselected package libz-mingw-w64. 197s Preparing to unpack .../096-libz-mingw-w64_1.3.1+dfsg-1_all.deb ... 197s Unpacking libz-mingw-w64 (1.3.1+dfsg-1) ... 197s Selecting previously unselected package libwine:arm64. 197s Preparing to unpack .../097-libwine_9.0~repack-4build3_arm64.deb ... 197s Unpacking libwine:arm64 (9.0~repack-4build3) ... 198s Selecting previously unselected package libopenjp2-7:arm64. 198s Preparing to unpack .../098-libopenjp2-7_2.5.0-2ubuntu3_arm64.deb ... 198s Unpacking libopenjp2-7:arm64 (2.5.0-2ubuntu3) ... 198s Selecting previously unselected package python3-pil:arm64. 198s Preparing to unpack .../099-python3-pil_11.1.0-5_arm64.deb ... 198s Unpacking python3-pil:arm64 (11.1.0-5) ... 198s Selecting previously unselected package python3-vdf. 198s Preparing to unpack .../100-python3-vdf_3.4-5_all.deb ... 198s Unpacking python3-vdf (3.4-5) ... 198s Selecting previously unselected package yad. 198s Preparing to unpack .../101-yad_7.2-1_arm64.deb ... 198s Unpacking yad (7.2-1) ... 198s Selecting previously unselected package wine64. 198s Preparing to unpack .../102-wine64_9.0~repack-4build3_arm64.deb ... 198s Unpacking wine64 (9.0~repack-4build3) ... 198s Selecting previously unselected package wine. 199s Preparing to unpack .../103-wine_9.0~repack-4build3_all.deb ... 199s Unpacking wine (9.0~repack-4build3) ... 199s Selecting previously unselected package winetricks. 199s Preparing to unpack .../104-winetricks_20250102-1_all.deb ... 199s Unpacking winetricks (20250102-1) ... 199s Selecting previously unselected package protontricks. 199s Preparing to unpack .../105-protontricks_1.12.0-2_all.deb ... 199s Unpacking protontricks (1.12.0-2) ... 199s Selecting previously unselected package python3-all. 199s Preparing to unpack .../106-python3-all_3.13.1-1~exp2_arm64.deb ... 199s Unpacking python3-all (3.13.1-1~exp2) ... 199s Selecting previously unselected package python3-iniconfig. 199s Preparing to unpack .../107-python3-iniconfig_1.1.1-2_all.deb ... 199s Unpacking python3-iniconfig (1.1.1-2) ... 199s Selecting previously unselected package python3-packaging. 199s Preparing to unpack .../108-python3-packaging_24.2-1_all.deb ... 199s Unpacking python3-packaging (24.2-1) ... 199s Selecting previously unselected package python3-pluggy. 199s Preparing to unpack .../109-python3-pluggy_1.5.0-1_all.deb ... 199s Unpacking python3-pluggy (1.5.0-1) ... 199s Selecting previously unselected package python3-pytest. 199s Preparing to unpack .../110-python3-pytest_8.3.4-1_all.deb ... 199s Unpacking python3-pytest (8.3.4-1) ... 199s Setting up libgraphite2-3:arm64 (1.3.14-2ubuntu1) ... 199s Setting up liblcms2-2:arm64 (2.16-2) ... 199s Setting up python3-iniconfig (1.1.1-2) ... 199s Setting up libpixman-1-0:arm64 (0.44.0-3) ... 199s Setting up python3.12-minimal (3.12.9-1) ... 200s Setting up libsharpyuv0:arm64 (1.5.0-0.1) ... 200s Setting up libaom3:arm64 (3.12.0-1) ... 200s Setting up libx11-xcb1:arm64 (2:1.8.10-2) ... 200s Setting up libxdamage1:arm64 (1:1.1.6-1build1) ... 200s Setting up libogg0:arm64 (1.3.5-3build1) ... 200s Setting up liblerc4:arm64 (4.0.0+ds-5ubuntu1) ... 200s Setting up libxpm4:arm64 (1:3.5.17-1build2) ... 200s Setting up hicolor-icon-theme (0.18-2) ... 200s Setting up libxi6:arm64 (2:1.8.2-1) ... 200s Setting up libxrender1:arm64 (1:0.9.10-1.1build1) ... 200s Setting up libdatrie1:arm64 (0.2.13-3build1) ... 200s Setting up libxcb-render0:arm64 (1.17.0-2) ... 200s Setting up python3.12 (3.12.9-1) ... 202s Setting up python3-vdf (3.4-5) ... 202s Setting up libgdk-pixbuf2.0-common (2.42.12+dfsg-2) ... 202s Setting up libdeflate0:arm64 (1.23-1) ... 202s Setting up python3-all (3.13.1-1~exp2) ... 202s Setting up libxcb-shm0:arm64 (1.17.0-2) ... 202s Setting up libmpg123-0t64:arm64 (1.32.10-1) ... 202s Setting up libgomp1:arm64 (15-20250213-1ubuntu1) ... 202s Setting up libz-mingw-w64 (1.3.1+dfsg-1) ... 202s Setting up libjbig0:arm64 (2.1-6.1ubuntu2) ... 202s Setting up libcolord2:arm64 (1.4.7-1build2) ... 202s Setting up liborc-0.4-0t64:arm64 (1:0.4.40-1) ... 202s Setting up libdconf1:arm64 (0.40.0-5) ... 202s Setting up libasound2-data (1.2.13-1build1) ... 202s Setting up python3-packaging (24.2-1) ... 202s Setting up libasound2t64:arm64 (1.2.13-1build1) ... 202s Setting up libxkbregistry0:arm64 (1.7.0-2) ... 202s Setting up libepoxy0:arm64 (1.5.10-2) ... 202s Setting up libxfixes3:arm64 (1:6.0.0-2build1) ... 202s Setting up libavahi-common-data:arm64 (0.8-14ubuntu1) ... 202s Setting up libatspi2.0-0t64:arm64 (2.55.2-1) ... 202s Setting up libopus0:arm64 (1.5.2-2) ... 202s Setting up libxinerama1:arm64 (2:1.1.4-3build1) ... 202s Setting up libexif12:arm64 (0.6.25-1) ... 202s Setting up libimagequant0:arm64 (2.18.0-1build1) ... 202s Setting up fonts-dejavu-mono (2.37-8) ... 202s Setting up libvorbis0a:arm64 (1.3.7-2) ... 202s Setting up libxrandr2:arm64 (2:1.5.4-1) ... 202s Setting up fonts-dejavu-core (2.37-8) ... 202s Setting up libpcsclite1:arm64 (2.3.1-1) ... 202s Setting up libcapi20-3t64:arm64 (1:3.27-3.2) ... 202s Setting up libjpeg-turbo8:arm64 (2.1.5-3ubuntu2) ... 202s Setting up libltdl7:arm64 (2.5.4-3build1) ... 202s Setting up python3-pluggy (1.5.0-1) ... 202s Setting up libwebp7:arm64 (1.5.0-0.1) ... 202s Setting up ocl-icd-libopencl1:arm64 (2.3.2-1build1) ... 202s Setting up libasyncns0:arm64 (0.8-6build4) ... 202s Setting up at-spi2-common (2.55.2-1) ... 202s Setting up libopenjp2-7:arm64 (2.5.0-2ubuntu3) ... 202s Setting up libharfbuzz0b:arm64 (10.2.0-1) ... 202s Setting up libthai-data (0.1.29-2build1) ... 202s Setting up libgphoto2-port12t64:arm64 (2.5.31-4) ... 202s Setting up libflac12t64:arm64 (1.4.3+ds-4) ... 202s Setting up libwayland-egl1:arm64 (1.23.1-1) ... 202s Setting up libde265-0:arm64 (1.0.15-1build4) ... 202s Setting up libwebpmux3:arm64 (1.5.0-0.1) ... 202s Setting up libxcomposite1:arm64 (1:0.4.6-1) ... 202s Setting up libgstreamer1.0-0:arm64 (1.25.50-1) ... 202s Setcap worked! gst-ptp-helper is not suid! 202s Setting up libmp3lame0:arm64 (3.100-6build1) ... 202s Setting up libvorbisenc2:arm64 (1.3.7-2) ... 202s Setting up libwayland-client0:arm64 (1.23.1-1) ... 202s Setting up libjpeg8:arm64 (8c-2ubuntu11) ... 202s Setting up libatk1.0-0t64:arm64 (2.55.2-1) ... 202s Setting up fontconfig-config (2.15.0-2ubuntu1) ... 203s Setting up python3-pytest (8.3.4-1) ... 203s Setting up libwebpdemux2:arm64 (1.5.0-0.1) ... 203s Setting up libxcursor1:arm64 (1:1.2.3-1) ... 203s Setting up libavahi-common3:arm64 (0.8-14ubuntu1) ... 203s Setting up libgstreamer-plugins-base1.0-0:arm64 (1.25.50-1) ... 203s Setting up dconf-service (0.40.0-5) ... 203s Setting up libthai0:arm64 (0.1.29-2build1) ... 203s Setting up libraqm0:arm64 (0.10.2-1) ... 203s Setting up libtiff6:arm64 (4.5.1+git230720-4ubuntu4) ... 203s Setting up libwayland-cursor0:arm64 (1.23.1-1) ... 203s Setting up libgdk-pixbuf-2.0-0:arm64 (2.42.12+dfsg-2) ... 203s Setting up libfontconfig1:arm64 (2.15.0-2ubuntu1) ... 203s Setting up libsndfile1:arm64 (1.2.2-2) ... 203s Setting up libavahi-client3:arm64 (0.8-14ubuntu1) ... 203s Setting up libatk-bridge2.0-0t64:arm64 (2.55.2-1) ... 203s Setting up gtk-update-icon-cache (4.17.4+ds-4) ... 203s Setting up fontconfig (2.15.0-2ubuntu1) ... 205s Regenerating fonts cache... done. 205s Setting up dconf-gsettings-backend:arm64 (0.40.0-5) ... 205s Setting up libpulse0:arm64 (1:17.0+dfsg1-2ubuntu1) ... 205s Setting up libpango-1.0-0:arm64 (1.56.1-1) ... 205s Setting up libcairo2:arm64 (1.18.2-2) ... 205s Setting up python3-pil:arm64 (11.1.0-5) ... 206s Setting up adwaita-icon-theme (48~beta-3) ... 206s update-alternatives: using /usr/share/icons/Adwaita/cursor.theme to provide /usr/share/icons/default/index.theme (x-cursor-theme) in auto mode 206s Setting up libcairo-gobject2:arm64 (1.18.2-2) ... 206s Setting up libpangoft2-1.0-0:arm64 (1.56.1-1) ... 206s Setting up libcups2t64:arm64 (2.4.11-0ubuntu2) ... 206s Setting up libgtk-3-common (3.24.48-3ubuntu1) ... 206s Setting up libpangocairo-1.0-0:arm64 (1.56.1-1) ... 206s Setting up libheif-plugin-aomdec:arm64 (1.19.5-1build1) ... 206s Setting up libheif-plugin-libde265:arm64 (1.19.5-1build1) ... 206s Setting up libheif1:arm64 (1.19.5-1build1) ... 206s Setting up libgd3:arm64 (2.3.3-12ubuntu3) ... 206s Setting up libgphoto2-6t64:arm64 (2.5.31-4) ... 206s Setting up libwine:arm64 (9.0~repack-4build3) ... 206s Setting up wine64 (9.0~repack-4build3) ... 206s Setting up wine (9.0~repack-4build3) ... 206s Setting up winetricks (20250102-1) ... 206s Processing triggers for libc-bin (2.40-4ubuntu1) ... 206s Processing triggers for systemd (257.2-3ubuntu1) ... 206s Processing triggers for man-db (2.13.0-1) ... 207s Processing triggers for libglib2.0-0t64:arm64 (2.83.3-2) ... 207s Setting up libgtk-3-0t64:arm64 (3.24.48-3ubuntu1) ... 207s Processing triggers for udev (257.2-3ubuntu1) ... 208s Setting up yad (7.2-1) ... 208s Setting up protontricks (1.12.0-2) ... 208s Processing triggers for wine (9.0~repack-4build3) ... 208s Processing triggers for libc-bin (2.40-4ubuntu1) ... 209s autopkgtest [04:13:06]: test pytest: [----------------------- 211s ============================= test session starts ============================== 211s platform linux -- Python 3.12.9, pytest-8.3.4, pluggy-1.5.0 211s rootdir: /tmp/autopkgtest.iyVV9n/build.Nh2/src 211s configfile: pyproject.toml 211s plugins: typeguard-4.4.1 211s collected 151 items 211s 211s tests/cli/test_desktop_install.py . [ 0%] 211s tests/cli/test_launch.py FF.......... [ 8%] 212s tests/cli/test_main.py FFFFFFF...FF..FFF.FFFFFFFFFFFF....FFFFFFFFF..FF [ 39%] 212s tests/cli/test_util.py .FFF.F [ 43%] 212s tests/test_config.py .. [ 45%] 212s tests/test_flatpak.py ......... [ 50%] 212s tests/test_gui.py ................... [ 63%] 212s tests/test_steam.py ............................................. [ 93%] 212s tests/test_util.py ........ [ 98%] 212s tests/test_winetricks.py .. [100%] 212s 212s =================================== FAILURES =================================== 212s ________________________ TestCLIRun.test_run_executable ________________________ 212s 212s self = 212s steam_app_factory = .func at 0xfbab00d74cc0> 212s default_proton = 212s command_mock = 212s gui_provider = 212s launch_cli = .func at 0xfbab00d751c0> 212s 212s def test_run_executable( 212s self, steam_app_factory, default_proton, 212s command_mock, gui_provider, launch_cli): 212s """ 212s Run an EXE file by selecting using the GUI 212s """ 212s steam_app = steam_app_factory("Fake game", appid=10) 212s 212s # Fake the user selecting the game 212s gui_provider.mock_stdout = "Fake game: 10" 212s 212s launch_cli(["test.exe"]) 212s 212s # 'test.exe' was executed 212s > command = command_mock.commands[-1] 212s E IndexError: list index out of range 212s 212s /tmp/autopkgtest.iyVV9n/build.Nh2/src/tests/cli/test_launch.py:30: IndexError 212s ------------------------------ Captured log call ------------------------------- 212s DEBUG protontricks:util.py:81 Stream log handler added 212s INFO protontricks:steam.py:413 Found Steam directory at /tmp/pytest-of-ubuntu/pytest-0/test_run_executable0/home/fakeuser/.steam/steam 212s INFO protontricks:steam.py:1003 Found 0 Steam library folders 212s DEBUG protontricks:gui.py:430 Following inaccessible paths were found: set() 212s DEBUG protontricks:gui.py:439 Following paths have been ignored: set() 212s DEBUG protontricks:steam.py:204 Creating SteamApp from manifest file in /tmp/pytest-of-ubuntu/pytest-0/test_run_executable0/home/fakeuser/.steam/steam/steamapps/appmanifest_10.acf 212s DEBUG protontricks:steam.py:887 Found compatdata directories for app 10: [PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_executable0/home/fakeuser/.steam/steam/steamapps/compatdata/10/pfx')] 212s DEBUG protontricks:steam.py:204 Creating SteamApp from manifest file in /tmp/pytest-of-ubuntu/pytest-0/test_run_executable0/home/fakeuser/.steam/steam/steamapps/appmanifest_123450.acf 212s DEBUG protontricks:steam.py:887 Found compatdata directories for app 123450: [] 212s DEBUG protontricks:steam.py:1216 Found Steam user entries: [{'steamid3': 42, 'account_name': 'TestUser', 'timestamp': '0'}] 212s INFO protontricks:steam.py:1222 Currently logged-in Steam user: TestUser 212s INFO protontricks:steam.py:1267 Couldn't find custom shortcuts. Maybe none have been created yet? 212s INFO protontricks:gui.py:48 Using 'yad' as GUI provider 212s INFO protontricks:launch.py:201 Calling `protontricks` with the command: ['--no-background-wineserver', '-c', 'wine /tmp/pytest-of-ubuntu/pytest-0/test_run_executable0/home/fakeuser/test.exe', '10'] 212s _____________________ TestCLIRun.test_run_executable_appid _____________________ 212s 212s self = 212s default_proton = 212s steam_app_factory = .func at 0xfbab00d75c60> 212s command_mock = 212s launch_cli = .func at 0xfbab00d75bc0> 212s 212s def test_run_executable_appid( 212s self, default_proton, steam_app_factory, command_mock, launch_cli): 212s """ 212s Run an EXE file directly for a chosen game 212s """ 212s steam_app = steam_app_factory(name="Fake game 1", appid=10) 212s 212s launch_cli(["--appid", "10", "test.exe"]) 212s 212s # 'test.exe' was executed 212s > command = command_mock.commands[-1] 212s E IndexError: list index out of range 212s 212s /tmp/autopkgtest.iyVV9n/build.Nh2/src/tests/cli/test_launch.py:46: IndexError 212s ------------------------------ Captured log setup ------------------------------ 212s DEBUG protontricks:steam.py:586 Loading appinfo.vdf in /tmp/pytest-of-ubuntu/pytest-0/test_run_executable_appid0/home/fakeuser/.steam/steam/appcache/appinfo.vdf 212s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 212s ------------------------------ Captured log call ------------------------------- 212s DEBUG protontricks:util.py:81 Stream log handler added 212s INFO protontricks:steam.py:413 Found Steam directory at /tmp/pytest-of-ubuntu/pytest-0/test_run_executable_appid0/home/fakeuser/.steam/steam 212s INFO protontricks:steam.py:1003 Found 0 Steam library folders 212s DEBUG protontricks:gui.py:430 Following inaccessible paths were found: set() 212s DEBUG protontricks:gui.py:439 Following paths have been ignored: set() 212s DEBUG protontricks:steam.py:204 Creating SteamApp from manifest file in /tmp/pytest-of-ubuntu/pytest-0/test_run_executable_appid0/home/fakeuser/.steam/steam/steamapps/appmanifest_10.acf 212s DEBUG protontricks:steam.py:887 Found compatdata directories for app 10: [PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_executable_appid0/home/fakeuser/.steam/steam/steamapps/compatdata/10/pfx')] 212s DEBUG protontricks:steam.py:204 Creating SteamApp from manifest file in /tmp/pytest-of-ubuntu/pytest-0/test_run_executable_appid0/home/fakeuser/.steam/steam/steamapps/appmanifest_123450.acf 212s DEBUG protontricks:steam.py:887 Found compatdata directories for app 123450: [] 212s DEBUG protontricks:steam.py:1216 Found Steam user entries: [{'steamid3': 42, 'account_name': 'TestUser', 'timestamp': '0'}] 212s INFO protontricks:steam.py:1222 Currently logged-in Steam user: TestUser 212s INFO protontricks:steam.py:1267 Couldn't find custom shortcuts. Maybe none have been created yet? 212s INFO protontricks:launch.py:201 Calling `protontricks` with the command: ['--no-background-wineserver', '-c', 'wine /tmp/pytest-of-ubuntu/pytest-0/test_run_executable_appid0/home/fakeuser/test.exe', '10'] 212s ________________________ TestCLIRun.test_run_winetricks ________________________ 212s 212s self = 212s cli = .func at 0xfbab00d74fe0> 212s steam_app_factory = .func at 0xfbab00d76520> 212s default_proton = 212s command_mock = 212s home_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks0/home/fakeuser') 212s 212s def test_run_winetricks( 212s self, cli, steam_app_factory, default_proton, command_mock, 212s home_dir): 212s """ 212s Perform a Protontricks command directly for a certain game 212s """ 212s proton_install_path = Path(default_proton.install_path) 212s 212s steam_app = steam_app_factory(name="Fake game 1", appid=10) 212s 212s cli(["10", "winecfg"], env={"STEAM_RUNTIME": "0"}) 212s 212s # winecfg was actually run 212s > command = command_mock.commands[-1] 212s E IndexError: list index out of range 212s 212s tests/cli/test_main.py:23: IndexError 212s ------------------------------ Captured log setup ------------------------------ 212s DEBUG protontricks:steam.py:586 Loading appinfo.vdf in /tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks0/home/fakeuser/.steam/steam/appcache/appinfo.vdf 212s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 212s ___________________ TestCLIRun.test_run_winetricks_shortcut ____________________ 212s 212s self = 212s cli = .func at 0xfbab00d77240> 212s shortcut_factory = .func at 0xfbab00d75b20> 212s default_proton = 212s command_mock = 212s steam_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_shortcut0/home/fakeuser/.steam/steam') 212s 212s def test_run_winetricks_shortcut( 212s self, cli, shortcut_factory, default_proton, command_mock, 212s steam_dir): 212s """ 212s Perform a Protontricks command for a non-Steam shortcut 212s """ 212s proton_install_path = Path(default_proton.install_path) 212s shortcut_factory(install_dir="fake/path/", name="fakegame.exe") 212s 212s cli(["4149337689", "winecfg"]) 212s 212s # Default Proton is used 212s > command = command_mock.commands[-1] 212s E IndexError: list index out of range 212s 212s tests/cli/test_main.py:53: IndexError 212s ------------------------------ Captured log setup ------------------------------ 212s DEBUG protontricks:steam.py:586 Loading appinfo.vdf in /tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_shortcut0/home/fakeuser/.steam/steam/appcache/appinfo.vdf 212s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 212s _________________ TestCLIRun.test_run_winetricks_select_proton _________________ 212s 212s self = 212s cli = .func at 0xfbab00d76660> 212s steam_app_factory = .func at 0xfbab00d772e0> 212s default_proton = 212s custom_proton_factory = .func at 0xfbab00d75ee0> 212s command_mock = 212s home_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_select_pro0/home/fakeuser') 212s 212s def test_run_winetricks_select_proton( 212s self, cli, steam_app_factory, default_proton, 212s custom_proton_factory, command_mock, home_dir): 212s """ 212s Perform a Protontricks command while selecting a specific 212s Proton version using PROTON_VERSION env var 212s """ 212s steam_app_factory(name="Fake game", appid=10) 212s custom_proton = custom_proton_factory(name="Custom Proton") 212s cli(["10", "winecfg"], env={"PROTON_VERSION": "Custom Proton"}) 212s 212s > assert command_mock.commands[-1].env["PROTON_PATH"] \ 212s == str(custom_proton.install_path) 212s E IndexError: list index out of range 212s 212s tests/cli/test_main.py:69: IndexError 212s ------------------------------ Captured log setup ------------------------------ 212s DEBUG protontricks:steam.py:586 Loading appinfo.vdf in /tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_select_pro0/home/fakeuser/.steam/steam/appcache/appinfo.vdf 212s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 212s _________________ TestCLIRun.test_run_winetricks_select_steam __________________ 212s 212s self = 212s cli = .func at 0xfbab00d75800> 212s steam_app_factory = .func at 0xfbab00d75a80> 212s default_proton = 212s command_mock = 212s home_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_select_ste0/home/fakeuser') 212s 212s def test_run_winetricks_select_steam( 212s self, cli, steam_app_factory, default_proton, command_mock, 212s home_dir): 212s """ 212s Perform a Protontricks command while selecting a specific 212s Steam installation directory 212s """ 212s steam_app_factory(name="Fake game", appid=10) 212s os.rename( 212s str(home_dir / ".steam" / "steam"), 212s str(home_dir / ".steam_new") 212s ) 212s os.rename( 212s str(home_dir / ".steam" / "root" / "ubuntu12_32"), 212s str(home_dir / ".steam_new" / "ubuntu12_32") 212s ) 212s 212s cli( 212s ["10", "winecfg"], 212s env={"STEAM_DIR": str(home_dir / ".steam_new")} 212s ) 212s 212s > command = command_mock.commands[-1] 212s E IndexError: list index out of range 212s 212s tests/cli/test_main.py:94: IndexError 212s ------------------------------ Captured log setup ------------------------------ 212s DEBUG protontricks:steam.py:586 Loading appinfo.vdf in /tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_select_ste0/home/fakeuser/.steam/steam/appcache/appinfo.vdf 212s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 212s _______________ TestCLIRun.test_run_winetricks_steam_runtime_v1 ________________ 212s 212s self = 212s cli = .func at 0xfbab00d759e0> 212s steam_app_factory = .func at 0xfbab00d74ae0> 212s steam_runtime_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_steam_runt0/home/fakeuser/.steam/root/ubuntu12_32') 212s default_proton = 212s command_mock = 212s home_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_steam_runt0/home/fakeuser') 212s 212s def test_run_winetricks_steam_runtime_v1( 212s self, cli, steam_app_factory, steam_runtime_dir, default_proton, 212s command_mock, home_dir): 212s """ 212s Perform a Protontricks command using the older Steam Runtime 212s bundled with Steam 212s """ 212s steam_app_factory(name="Fake game 1", appid=10) 212s 212s cli(["10", "winecfg"], env={"STEAM_RUNTIME": "1"}) 212s 212s wine_bin_dir = ( 212s home_dir / ".cache" / "protontricks" / "proton" / "Proton 4.20" 212s / "bin" 212s ) 212s 212s # winecfg was actually run 212s > command = command_mock.commands[-1] 212s E IndexError: list index out of range 212s 212s tests/cli/test_main.py:121: IndexError 212s ------------------------------ Captured log setup ------------------------------ 212s DEBUG protontricks:steam.py:586 Loading appinfo.vdf in /tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_steam_runt0/home/fakeuser/.steam/steam/appcache/appinfo.vdf 212s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 212s _______________ TestCLIRun.test_run_winetricks_steam_runtime_v2 ________________ 212s 212s self = 212s cli = .func at 0xfbab00d50400> 212s home_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_steam_runt1/home/fakeuser') 212s steam_app_factory = .func at 0xfbab00d502c0> 212s steam_runtime_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_steam_runt1/home/fakeuser/.steam/root/ubuntu12_32') 212s steam_runtime_soldier = 212s command_mock = 212s proton_factory = .func at 0xfbab00d500e0> 212s caplog = <_pytest.logging.LogCaptureFixture object at 0xfbab00cd08c0> 212s 212s def test_run_winetricks_steam_runtime_v2( 212s self, cli, home_dir, steam_app_factory, steam_runtime_dir, 212s steam_runtime_soldier, command_mock, proton_factory, caplog): 212s """ 212s Perform a Protontricks command using a newer Steam Runtime that is 212s installed as its own application 212s """ 212s proton_app = proton_factory( 212s name="Proton 5.13", appid=10, compat_tool_name="proton_513", 212s is_default_proton=True, required_tool_app=steam_runtime_soldier 212s ) 212s steam_app_factory(name="Fake game 1", appid=20) 212s 212s cli(["20", "winecfg"], env={"STEAM_RUNTIME": "1"}) 212s 212s wine_bin_dir = ( 212s home_dir / ".cache" / "protontricks" / "proton" / "Proton 5.13" 212s / "bin" 212s ) 212s 212s # Launcher process was launched to handle launching processes 212s # inside the sandbox 212s > assert command_mock.commands[0].args[0] \ 212s == str(wine_bin_dir / "bwrap-launcher") 212s E IndexError: list index out of range 212s 212s tests/cli/test_main.py:170: IndexError 212s ------------------------------ Captured log call ------------------------------- 212s DEBUG protontricks:steam.py:586 Loading appinfo.vdf in /tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_steam_runt1/home/fakeuser/.steam/steam/appcache/appinfo.vdf 212s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 212s ___________ TestCLIRun.test_run_winetricks_steam_runtime_v2_no_bwrap ___________ 212s 212s self = 212s cli = .func at 0xfbab00d51440> 212s home_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_steam_runt2/home/fakeuser') 212s steam_app_factory = .func at 0xfbab00d51300> 212s steam_runtime_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_steam_runt2/home/fakeuser/.steam/root/ubuntu12_32') 212s steam_runtime_soldier = 212s command_mock = 212s proton_factory = .func at 0xfbab00d51260> 212s caplog = <_pytest.logging.LogCaptureFixture object at 0xfbab00cd3b00> 212s 212s def test_run_winetricks_steam_runtime_v2_no_bwrap( 212s self, cli, home_dir, steam_app_factory, steam_runtime_dir, 212s steam_runtime_soldier, command_mock, proton_factory, caplog): 212s """ 212s Perform a Protontricks command using a newer Steam Runtime 212s *without* bwrap that is installed as its own application 212s """ 212s proton_app = proton_factory( 212s name="Proton 5.13", appid=10, compat_tool_name="proton_513", 212s is_default_proton=True, required_tool_app=steam_runtime_soldier 212s ) 212s steam_app_factory(name="Fake game 1", appid=20) 212s 212s cli(["--no-bwrap", "20", "winecfg"], env={"STEAM_RUNTIME": "1"}) 212s 212s wine_bin_dir = ( 212s home_dir / ".cache" / "protontricks" / "proton" / "Proton 5.13" 212s / "bin" 212s ) 212s 212s > command = command_mock.commands[-1] 212s E IndexError: list index out of range 212s 212s tests/cli/test_main.py:234: IndexError 212s ------------------------------ Captured log call ------------------------------- 212s DEBUG protontricks:steam.py:586 Loading appinfo.vdf in /tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_steam_runt2/home/fakeuser/.steam/steam/appcache/appinfo.vdf 212s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 212s _________ TestCLIRun.test_run_background_wineserver_toggle[args3-True] _________ 212s 212s self = 212s cli = .func at 0xfbab00d523e0> 212s steam_app_factory = .func at 0xfbab00d519e0> 212s default_new_proton = 212s command_mock = 212s args = ['--background-wineserver', '--no-bwrap', '-c', "'echo nothing'", '20'] 212s wineserver_launched = True 212s home_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_background_wineserver3/home/fakeuser') 212s 212s @pytest.mark.parametrize( 212s "args,wineserver_launched", 212s [ 212s # background wineserver disabled for bwrap by default 212s (["-c", "'echo nothing'", "20"], False), 212s 212s # background wineserver also disabled by default for everything 212s # else 212s (["--no-bwrap", "-c", "'echo nothing'", "20"], False), 212s 212s # Manually disable background wineserver 212s ( 212s ["--no-background-wineserver", "-c", "'echo nothing'", "20"], 212s False 212s ), 212s 212s # Manually enable background wineserver 212s ( 212s [ 212s "--background-wineserver", "--no-bwrap", 212s "-c", "'echo nothing'", "20" 212s ], 212s True 212s ) 212s ] 212s ) 212s def test_run_background_wineserver_toggle( 212s self, cli, steam_app_factory, default_new_proton, command_mock, 212s args, wineserver_launched, home_dir): 212s """ 212s Try running a Protontricks command with different arguments 212s and ensure background wineserver is (not) launched 212s depending on the scenario 212s """ 212s steam_app_factory(name="Fake game 1", appid=20) 212s 212s cli(args) 212s 212s wineserver_found = any( 212s True for command in command_mock.commands 212s if isinstance(command.args, str) 212s and command.args == str( 212s home_dir / ".cache/protontricks/proton/Proton 7.0/bin" 212s / "wineserver-keepalive" 212s ) 212s ) 212s 212s > assert wineserver_found == wineserver_launched 212s E assert False == True 212s 212s tests/cli/test_main.py:327: AssertionError 212s ------------------------------ Captured log setup ------------------------------ 212s DEBUG protontricks:steam.py:586 Loading appinfo.vdf in /tmp/pytest-of-ubuntu/pytest-0/test_run_background_wineserver3/home/fakeuser/.steam/steam/appcache/appinfo.vdf 212s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 212s ________________ TestCLIRun.test_run_winetricks_game_not_found _________________ 212s 212s self = 212s cli = .func at 0xfbab00d514e0> 212s steam_app_factory = .func at 0xfbab00d52e80> 212s default_proton = 212s 212s def test_run_winetricks_game_not_found( 212s self, cli, steam_app_factory, default_proton): 212s """ 212s Try running a Protontricks command for a non-existing app 212s """ 212s result = cli(["100", "winecfg"], expect_returncode=1) 212s 212s > assert "Steam app with the given app ID could not be found" in result 212s E assert 'Steam app with the given app ID could not be found' in "Only one action can be performed at a time.\nusage: __main__.py [-h] [--verbose] [--no-term] [-s SEARCH [SEARCH ...]]...d command to the Steam app's installation directory.\n -V, --version show program's version number and exit\n" 212s 212s tests/cli/test_main.py:336: AssertionError 212s ------------------------------ Captured log setup ------------------------------ 212s DEBUG protontricks:steam.py:586 Loading appinfo.vdf in /tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_game_not_f0/home/fakeuser/.steam/steam/appcache/appinfo.vdf 212s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 212s _____________________ TestCLIRun.test_run_steam_not_found ______________________ 212s 212s self = 212s cli = .func at 0xfbab00d52b60> 212s steam_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_steam_not_found0/home/fakeuser/.steam/steam') 212s 212s def test_run_steam_not_found(self, cli, steam_dir): 212s """ 212s Try performing a command with a missing Steam directory 212s """ 212s shutil.rmtree(str(steam_dir)) 212s 212s result = cli(["10", "winecfg"], expect_returncode=1) 212s 212s > assert "Steam installation directory could not be found" in result 212s E assert 'Steam installation directory could not be found' in "Only one action can be performed at a time.\nusage: __main__.py [-h] [--verbose] [--no-term] [-s SEARCH [SEARCH ...]]...d command to the Steam app's installation directory.\n -V, --version show program's version number and exit\n" 212s 212s tests/cli/test_main.py:363: AssertionError 212s ___________________ TestCLIRun.test_run_winetricks_not_found ___________________ 212s 212s self = 212s cli = .func at 0xfbab00d53b00> 212s default_proton = 212s home_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_not_found0/home/fakeuser') 212s steam_app_factory = .func at 0xfbab00d53ce0> 212s 212s def test_run_winetricks_not_found( 212s self, cli, default_proton, home_dir, steam_app_factory): 212s """ 212s Try performing a command with missing Winetricks executable 212s """ 212s steam_app_factory(name="Fake game 1", appid=10) 212s (home_dir / ".local" / "bin" / "winetricks").unlink() 212s 212s result = cli(["10", "winecfg"], expect_returncode=1) 212s 212s > assert "Winetricks isn't installed" in result 212s E assert "Winetricks isn't installed" in "Only one action can be performed at a time.\nusage: __main__.py [-h] [--verbose] [--no-term] [-s SEARCH [SEARCH ...]]...d command to the Steam app's installation directory.\n -V, --version show program's version number and exit\n" 212s 212s tests/cli/test_main.py:375: AssertionError 212s ------------------------------ Captured log setup ------------------------------ 212s DEBUG protontricks:steam.py:586 Loading appinfo.vdf in /tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_not_found0/home/fakeuser/.steam/steam/appcache/appinfo.vdf 212s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 212s _________________ TestCLIRun.test_run_winetricks_from_desktop __________________ 212s 212s self = 212s cli = .func at 0xfbab009c8b80> 212s default_proton = 212s home_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_from_deskt0/home/fakeuser') 212s steam_app_factory = .func at 0xfbab009c8a40> 212s monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xfbab009bcc20> 212s gui_provider = 212s 212s def test_run_winetricks_from_desktop( 212s self, cli, default_proton, home_dir, steam_app_factory, 212s monkeypatch, gui_provider): 212s """ 212s Try performing a command with missing Winetricks executable. 212s 212s Run command using --no-term and ensure error dialog is shown 212s with the expected error message 212s """ 212s steam_app_factory(name="Fake game 1", appid=10) 212s (home_dir / ".local" / "bin" / "winetricks").unlink() 212s 212s cli(["--no-term", "10", "winecfg"], expect_returncode=1) 212s 212s > assert gui_provider.args[0] == "yad" 212s E TypeError: 'NoneType' object is not subscriptable 212s 212s tests/cli/test_main.py:391: TypeError 212s ------------------------------ Captured log setup ------------------------------ 212s DEBUG protontricks:steam.py:586 Loading appinfo.vdf in /tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_from_deskt0/home/fakeuser/.steam/steam/appcache/appinfo.vdf 212s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 212s _________________ TestCLIRun.test_run_steam_runtime_not_found __________________ 212s 212s self = 212s cli = .func at 0xfbab00d52fc0> 212s steam_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_steam_runtime_not_fou0/home/fakeuser/.steam/steam') 212s steam_app_factory = .func at 0xfbab00d537e0> 212s 212s def test_run_steam_runtime_not_found( 212s self, cli, steam_dir, steam_app_factory): 212s """ 212s Try performing a command with Steam Runtime enabled but no 212s available Steam Runtime installation 212s """ 212s steam_app_factory(name="Fake game 1", appid=10) 212s result = cli( 212s ["10", "winecfg"], env={"STEAM_RUNTIME": "invalid/path"}, 212s expect_returncode=1 212s ) 212s 212s > assert "Steam Runtime was enabled but couldn't be found" in result 212s E assert "Steam Runtime was enabled but couldn't be found" in "Only one action can be performed at a time.\nusage: __main__.py [-h] [--verbose] [--no-term] [-s SEARCH [SEARCH ...]]...d command to the Steam app's installation directory.\n -V, --version show program's version number and exit\n" 212s 212s tests/cli/test_main.py:426: AssertionError 212s _____________________ TestCLIRun.test_run_proton_not_found _____________________ 212s 212s self = 212s cli = .func at 0xfbab00d534c0> 212s steam_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_proton_not_found0/home/fakeuser/.steam/steam') 212s steam_app_factory = .func at 0xfbab00d52ac0> 212s 212s def test_run_proton_not_found(self, cli, steam_dir, steam_app_factory): 212s steam_app_factory(name="Fake game 1", appid=10) 212s result = cli(["10", "winecfg"], expect_returncode=1) 212s 212s > assert "Proton installation could not be found" in result 212s E assert 'Proton installation could not be found' in "Only one action can be performed at a time.\nusage: __main__.py [-h] [--verbose] [--no-term] [-s SEARCH [SEARCH ...]]...d command to the Steam app's installation directory.\n -V, --version show program's version number and exit\n" 212s 212s tests/cli/test_main.py:432: AssertionError 212s __________________ TestCLIRun.test_run_compat_tool_not_proton __________________ 212s 212s self = 212s cli = .func at 0xfbab00d51800> 212s steam_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_compat_tool_not_proto0/home/fakeuser/.steam/steam') 212s default_proton = 212s custom_proton_factory = .func at 0xfbab00d51b20> 212s steam_app_factory = .func at 0xfbab00d523e0> 212s caplog = <_pytest.logging.LogCaptureFixture object at 0xfbab009902c0> 212s 212s def test_run_compat_tool_not_proton( 212s self, cli, steam_dir, default_proton, custom_proton_factory, 212s steam_app_factory, caplog): 212s """ 212s Try performing a Protontricks command for a Steam app that 212s uses a compatibility tool that isn't Proton. 212s 212s Regression test for https://github.com/Matoking/protontricks/issues/113 212s """ 212s # Create a compatibility tool that isn't actually Proton 212s tool_app = custom_proton_factory(name="Not Proton") 212s (tool_app.install_path / "proton").unlink() 212s 212s steam_app_factory( 212s name="Fake game", appid=10, compat_tool_name="Not Proton" 212s ) 212s 212s result = cli(["10", "winecfg"], expect_returncode=1) 212s 212s > assert "Proton installation could not be found" in result 212s E assert 'Proton installation could not be found' in "Only one action can be performed at a time.\nusage: __main__.py [-h] [--verbose] [--no-term] [-s SEARCH [SEARCH ...]]...d command to the Steam app's installation directory.\n -V, --version show program's version number and exit\n" 212s 212s tests/cli/test_main.py:453: AssertionError 212s ------------------------------ Captured log setup ------------------------------ 212s DEBUG protontricks:steam.py:586 Loading appinfo.vdf in /tmp/pytest-of-ubuntu/pytest-0/test_run_compat_tool_not_proto0/home/fakeuser/.steam/steam/appcache/appinfo.vdf 212s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 212s ________________ TestCLIRun.test_run_command_proton_incomplete _________________ 212s 212s self = 212s cli = .func at 0xfbab00d51300> 212s steam_app_factory = .func at 0xfbab00d51760> 212s default_proton = 212s 212s def test_run_command_proton_incomplete( 212s self, cli, steam_app_factory, default_proton): 212s """ 212s Try performing a Protontricks command using a Proton installation that 212s is incomplete because it hasn't been launched yet. 212s 212s Regression test for 212s https://github.com/flathub/com.github.Matoking.protontricks/issues/10 212s """ 212s # Remove the 'dist' directory to make the Proton installation 212s # incomplete 212s shutil.rmtree(str(default_proton.install_path / "dist")) 212s 212s steam_app_factory(name="Fake game", appid=10) 212s 212s result = cli(["10", "winecfg"], expect_returncode=1) 212s 212s > assert "Proton installation is incomplete" in result 212s E assert 'Proton installation is incomplete' in "Only one action can be performed at a time.\nusage: __main__.py [-h] [--verbose] [--no-term] [-s SEARCH [SEARCH ...]]...d command to the Steam app's installation directory.\n -V, --version show program's version number and exit\n" 212s 212s tests/cli/test_main.py:478: AssertionError 212s ------------------------------ Captured log setup ------------------------------ 212s DEBUG protontricks:steam.py:586 Loading appinfo.vdf in /tmp/pytest-of-ubuntu/pytest-0/test_run_command_proton_incomp0/home/fakeuser/.steam/steam/appcache/appinfo.vdf 212s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 212s ________________ TestCLIRun.test_run_command_runtime_incomplete ________________ 212s 212s self = 212s cli = .func at 0xfbab00d50860> 212s steam_app_factory = .func at 0xfbab00d50720> 212s steam_runtime_soldier = 212s proton_factory = .func at 0xfbab00d50d60> 212s steam_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_command_runtime_incom0/home/fakeuser/.steam/steam') 212s 212s def test_run_command_runtime_incomplete( 212s self, cli, steam_app_factory, steam_runtime_soldier, 212s proton_factory, steam_dir): 212s """ 212s Try performing a Protontricks command using a Proton installation that 212s is still missing a Steam Runtime installation. 212s 212s Regression test for https://github.com/Matoking/protontricks/issues/75 212s """ 212s proton_factory( 212s name="Proton 5.13", appid=10, compat_tool_name="proton_513", 212s is_default_proton=True, required_tool_app=steam_runtime_soldier 212s ) 212s steam_app_factory(name="Fake game 1", appid=20) 212s 212s # Delete the Steam Runtime installation to simulate an incomplete 212s # Proton installation that's missing the required Steam Runtime 212s shutil.rmtree(str(steam_runtime_soldier.install_path)) 212s (steam_dir / "steamapps" / "appmanifest_1391110.acf").unlink() 212s 212s > with pytest.raises(RuntimeError) as exc: 212s E Failed: DID NOT RAISE 212s 212s tests/cli/test_main.py:500: Failed 212s ------------------------------ Captured log call ------------------------------- 212s DEBUG protontricks:steam.py:586 Loading appinfo.vdf in /tmp/pytest-of-ubuntu/pytest-0/test_run_command_runtime_incom0/home/fakeuser/.steam/steam/appcache/appinfo.vdf 212s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 212s _____________________ TestCLIRun.test_old_flatpak_detected _____________________ 212s 212s self = 212s cli = .func at 0xfbab00d759e0> 212s monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xfbab00cfb0b0> 212s caplog = <_pytest.logging.LogCaptureFixture object at 0xfbab00cf9970> 212s 212s def test_old_flatpak_detected(self, cli, monkeypatch, caplog): 212s """ 212s Try performing a Protontricks command when running inside an older 212s Flatpak environment and ensure bwrap is disabled. 212s """ 212s cli(["-s", "nothing"]) 212s 212s # No warning is printed since we're not running inside Flatpak 212s assert len([ 212s record for record in caplog.records 212s if record.levelname == "WARNING" 212s ]) == 0 212s 212s # Fake a Flatpak environment 212s monkeypatch.setattr( 212s "protontricks.cli.main.get_running_flatpak_version", 212s # Mock version 1.12.0. 1.12.1 is new enough to not require 212s # disabling bwrap. 212s lambda: (1, 12, 0) 212s ) 212s 212s cli(["-s", "nothing"]) 212s 212s > assert len([ 212s record for record in caplog.records 212s if record.levelname == "WARNING" 212s ]) == 1 212s E assert 0 == 1 212s E + where 0 = len([]) 212s 212s tests/cli/test_main.py:529: AssertionError 212s _____________________ TestCLIRun.test_new_flatpak_detected _____________________ 212s 212s self = 212s cli = .func at 0xfbab00d75d00> 212s monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xfbab00cf9700> 212s caplog = <_pytest.logging.LogCaptureFixture object at 0xfbab009be000> 212s 212s def test_new_flatpak_detected(self, cli, monkeypatch, caplog): 212s """ 212s Try performing a Protontricks command when running inside a newer 212s Flatpak environment and ensure Flatpak is detected correctly. 212s """ 212s # Fake a newer Flatpak environment 212s monkeypatch.setattr( 212s "protontricks.cli.main.get_running_flatpak_version", 212s lambda: (1, 12, 1) 212s ) 212s 212s cli(["-s", "nothing"]) 212s 212s # Flatpak is new enough not to generate a warning. 212s assert len([ 212s record for record in caplog.records 212s if record.levelname == "WARNING" 212s ]) == 0 212s > assert any([ 212s record for record in caplog.records 212s if record.levelname == "INFO" 212s and "Running inside Flatpak sandbox, version 1.12.1" 212s in record.message 212s ]) 212s E assert False 212s E + where False = any([]) 212s 212s tests/cli/test_main.py:560: AssertionError 212s _____________ TestCLIRun.test_cli_error_handler_uncaught_exception _____________ 212s 212s self = 212s cli = .func at 0xfbab00d76e80> 212s default_proton = 212s steam_app_factory = .func at 0xfbab00d76200> 212s monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xfbab009be9f0> 212s gui_provider = 212s 212s def test_cli_error_handler_uncaught_exception( 212s self, cli, default_proton, steam_app_factory, monkeypatch, 212s gui_provider): 212s """ 212s Ensure that 'cli_error_handler' correctly catches any uncaught 212s exception and includes a stack trace in the error dialog. 212s """ 212s def _mock_from_appmanifest(*args, **kwargs): 212s raise ValueError("Test appmanifest error") 212s 212s steam_app_factory(name="Fake game", appid=10) 212s 212s monkeypatch.setattr( 212s "protontricks.steam.SteamApp.from_appmanifest", 212s _mock_from_appmanifest 212s ) 212s 212s cli(["--no-term", "-s", "Fake"], expect_returncode=1) 212s 212s > assert gui_provider.args[0] == "yad" 212s E TypeError: 'NoneType' object is not subscriptable 212s 212s tests/cli/test_main.py:586: TypeError 212s ------------------------------ Captured log setup ------------------------------ 212s DEBUG protontricks:steam.py:586 Loading appinfo.vdf in /tmp/pytest-of-ubuntu/pytest-0/test_cli_error_handler_uncaugh1/home/fakeuser/.steam/steam/appcache/appinfo.vdf 212s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 212s ______________ TestCLIRun.test_run_filesystem_permission_missing _______________ 212s 212s self = 212s cli = .func at 0xfbab009c9620> 212s steam_library_factory = .func at 0xfbab009c8fe0> 212s caplog = <_pytest.logging.LogCaptureFixture object at 0xfbab009bc590> 212s 212s @pytest.mark.usefixtures("flatpak_sandbox") 212s def test_run_filesystem_permission_missing( 212s self, cli, steam_library_factory, caplog): 212s """ 212s Try performing a command in a Flatpak sandbox where the user 212s hasn't provided adequate fileystem permissions. Ensure warning is 212s printed. 212s """ 212s path = steam_library_factory(name="GameDrive") 212s 212s cli(["-s", "fake"]) 212s 212s > record = next( 212s record for record in caplog.records 212s if "grant access to the required directories" in record.message 212s ) 212s E StopIteration 212s 212s tests/cli/test_main.py:605: StopIteration 212s 212s The above exception was the direct cause of the following exception: 212s 212s cls = 212s func = . at 0xfbab00d77560> 212s when = 'call' 212s reraise = (, ) 212s 212s @classmethod 212s def from_call( 212s cls, 212s func: Callable[[], TResult], 212s when: Literal["collect", "setup", "call", "teardown"], 212s reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 212s ) -> CallInfo[TResult]: 212s """Call func, wrapping the result in a CallInfo. 212s 212s :param func: 212s The function to call. Called without arguments. 212s :type func: Callable[[], _pytest.runner.TResult] 212s :param when: 212s The phase in which the function is called. 212s :param reraise: 212s Exception or exceptions that shall propagate if raised by the 212s function, instead of being wrapped in the CallInfo. 212s """ 212s excinfo = None 212s start = timing.time() 212s precise_start = timing.perf_counter() 212s try: 212s > result: TResult | None = func() 212s 212s /usr/lib/python3/dist-packages/_pytest/runner.py:341: 212s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 212s /usr/lib/python3/dist-packages/_pytest/runner.py:242: in 212s lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise 212s /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ 212s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 212s /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec 212s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 212s /usr/lib/python3/dist-packages/_pytest/threadexception.py:92: in pytest_runtest_call 212s yield from thread_exception_runtest_hook() 212s /usr/lib/python3/dist-packages/_pytest/threadexception.py:68: in thread_exception_runtest_hook 212s yield 212s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:95: in pytest_runtest_call 212s yield from unraisable_exception_runtest_hook() 212s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:70: in unraisable_exception_runtest_hook 212s yield 212s /usr/lib/python3/dist-packages/_pytest/logging.py:846: in pytest_runtest_call 212s yield from self._runtest_for(item, "call") 212s /usr/lib/python3/dist-packages/_pytest/logging.py:829: in _runtest_for 212s yield 212s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 212s 212s self = > _state='suspended' _in_suspended=False> _capture_fixture=<_pytest.capture.CaptureFixture object at 0xfbab009bc4a0>> 212s item = 212s 212s @hookimpl(wrapper=True) 212s def pytest_runtest_call(self, item: Item) -> Generator[None]: 212s with self.item_capture("call", item): 212s > return (yield) 212s E RuntimeError: generator raised StopIteration 212s 212s /usr/lib/python3/dist-packages/_pytest/capture.py:880: RuntimeError 212s ______________________ TestCLIRun.test_run_bwrap_default _______________________ 212s 212s self = 212s cli = .func at 0xfbab00d762a0> 212s steam_app_factory = .func at 0xfbab00d75440> 212s steam_runtime_soldier = 212s proton_factory = .func at 0xfbab00d75a80> 212s command_mock = 212s caplog = <_pytest.logging.LogCaptureFixture object at 0xfbab00cd3b00> 212s 212s @pytest.mark.usefixtures("command_mock") 212s def test_run_bwrap_default( 212s self, cli, steam_app_factory, steam_runtime_soldier, 212s proton_factory, command_mock, caplog): 212s """ 212s Perform command_mock for two Proton apps, one using a Proton version 212s using the legacy Steam Runtime and another app using newer Steam 212s Runtime with bwrap. Ensure that the correct default for `use_bwrap` 212s is used in both cases. 212s 212s Regression test for #150 212s """ 212s proton_factory( 212s name="Old Proton", appid=123450, compat_tool_name="old_proton", 212s ) 212s proton_factory( 212s name="New Proton", appid=543210, compat_tool_name="new_proton", 212s required_tool_app=steam_runtime_soldier 212s ) 212s 212s steam_app_factory( 212s name="Fake game", appid=10, compat_tool_name="old_proton" 212s ) 212s steam_app_factory( 212s name="Fake game 2", appid=20, compat_tool_name="new_proton" 212s ) 212s 212s # bwrap is disabled for the old app by default 212s cli(["-v", "-c", "bash", "10"]) 212s > assert any( 212s filter(lambda msg: "Using 'bwrap = False'" in msg, caplog.messages) 212s ) 212s E assert False 212s E + where False = any() 212s E + where = filter(. at 0xfbab00d776a0>, []) 212s E + where [] = <_pytest.logging.LogCaptureFixture object at 0xfbab00cd3b00>.messages 212s 212s tests/cli/test_main.py:641: AssertionError 212s ------------------------------ Captured log call ------------------------------- 212s DEBUG protontricks:steam.py:586 Loading appinfo.vdf in /tmp/pytest-of-ubuntu/pytest-0/test_run_bwrap_default0/home/fakeuser/.steam/steam/appcache/appinfo.vdf 212s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 212s DEBUG protontricks:steam.py:586 Loading appinfo.vdf in /tmp/pytest-of-ubuntu/pytest-0/test_run_bwrap_default0/home/fakeuser/.steam/steam/appcache/appinfo.vdf 212s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 212s __________________ TestCLIRun.test_select_steam_installation ___________________ 212s 212s self = 212s cli = .func at 0xfbab00d74c20> 212s steam_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_select_steam_installation0/home/fakeuser/.steam/steam') 212s flatpak_steam_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_select_steam_installation0/home/fakeuser/.var/app/com.valvesoftware.Steam/data/Steam') 212s steam_app_factory = .func at 0xfbab00d754e0> 212s proton_factory = .func at 0xfbab00d759e0> 212s gui_provider = 212s 212s @pytest.mark.usefixtures("flatpak_sandbox") 212s def test_select_steam_installation( 212s self, cli, steam_dir, flatpak_steam_dir, steam_app_factory, 212s proton_factory, gui_provider): 212s """ 212s Test that the user is prompted to select the Steam installation, 212s and that the correct Steam installation is used in both cases 212s """ 212s # Only the Flatpak installation has an app 212s steam_app_factory( 212s name="Native Steam app", appid=10 212s ) 212s 212s proton_factory( 212s name="Flatpak Proton", appid=123450, 212s compat_tool_name="flatpak_proton" 212s ) 212s steam_app_factory( 212s name="Flatpak Steam app", appid=10, 212s compat_tool_name="flatpak_proton", 212s library_dir=flatpak_steam_dir, 212s ) 212s 212s # Mock the user choosing the Flatpak installation. 212s # Only the index is actually checked in the actual function. 212s gui_provider.mock_stdout = "1: Native - /home/fake/.steam" 212s 212s result = cli(["-s", "app"]) 212s 212s > assert "Native Steam app (10)" in result 212s E assert 'Native Steam app (10)' in "Only one action can be performed at a time.\nusage: __main__.py [-h] [--verbose] [--no-term] [-s SEARCH [SEARCH ...]]...d command to the Steam app's installation directory.\n -V, --version show program's version number and exit\n" 212s 212s tests/cli/test_main.py:682: AssertionError 212s ------------------------------ Captured log call ------------------------------- 212s DEBUG protontricks:steam.py:586 Loading appinfo.vdf in /tmp/pytest-of-ubuntu/pytest-0/test_select_steam_installation0/home/fakeuser/.steam/steam/appcache/appinfo.vdf 212s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 212s _______________ TestCLIRun.test_steam_installation_not_selected ________________ 212s 212s self = 212s cli = .func at 0xfbab00d52700> 212s gui_provider = 212s 212s @pytest.mark.usefixtures( 212s "flatpak_sandbox", "steam_dir", "flatpak_steam_dir" 212s ) 212s def test_steam_installation_not_selected(self, cli, gui_provider): 212s """ 212s Test that not selecting a Steam installation results in the correct 212s exit message 212s """ 212s # Mock the user choosing the Flatpak installation. 212s # Only the index is actually checked in the actual function. 212s gui_provider.mock_stdout = "" 212s gui_provider.mock_returncode = 1 212s 212s result = cli(["-s", "app"], expect_returncode=1) 212s 212s > assert "No Steam installation was selected" in result 212s E assert 'No Steam installation was selected' in "Only one action can be performed at a time.\nusage: __main__.py [-h] [--verbose] [--no-term] [-s SEARCH [SEARCH ...]]...d command to the Steam app's installation directory.\n -V, --version show program's version number and exit\n" 212s 212s tests/cli/test_main.py:708: AssertionError 212s _______________________ TestCLICommand.test_run_command ________________________ 212s 212s self = 212s cli = .func at 0xfbab00d50400> 212s default_proton = 212s steam_app_factory = .func at 0xfbab00d52ac0> 212s gui_provider = 212s command_mock = 212s home_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_command0/home/fakeuser') 212s 212s def test_run_command( 212s self, cli, default_proton, steam_app_factory, gui_provider, 212s command_mock, home_dir): 212s """ 212s Run a shell command for a given game 212s """ 212s steam_app = steam_app_factory(name="Fake game", appid=10) 212s proton_install_path = default_proton.install_path 212s 212s cli(["-c", "bash", "10"]) 212s 212s > command = command_mock.commands[-1] 212s E IndexError: list index out of range 212s 212s tests/cli/test_main.py:805: IndexError 212s ------------------------------ Captured log setup ------------------------------ 212s DEBUG protontricks:steam.py:586 Loading appinfo.vdf in /tmp/pytest-of-ubuntu/pytest-0/test_run_command0/home/fakeuser/.steam/steam/appcache/appinfo.vdf 212s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 212s ___________________ TestCLICommand.test_run_command_cwd_app ____________________ 212s 212s self = 212s cli = .func at 0xfbab00d53ba0> 212s steam_app_factory = .func at 0xfbab00d53240> 212s command_mock = 212s 212s @pytest.mark.usefixtures("default_proton") 212s def test_run_command_cwd_app(self, cli, steam_app_factory, command_mock): 212s """ 212s Run a shell command for a given game using `--cwd-app` flag and 212s ensure the working directory was set to the game's installation 212s directory 212s """ 212s steam_app = steam_app_factory(name="Fake game", appid=10) 212s 212s cli(["--cwd-app", "-c", "bash", "10"]) 212s 212s > command = command_mock.commands[-1] 212s E IndexError: list index out of range 212s 212s tests/cli/test_main.py:839: IndexError 212s ------------------------------ Captured log setup ------------------------------ 212s DEBUG protontricks:steam.py:586 Loading appinfo.vdf in /tmp/pytest-of-ubuntu/pytest-0/test_run_command_cwd_app0/home/fakeuser/.steam/steam/appcache/appinfo.vdf 212s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 212s __________________ TestCLISearch.test_search_case_insensitive __________________ 212s 212s self = 212s cli = .func at 0xfbab00d50ea0> 212s steam_app_factory = .func at 0xfbab00d520c0> 212s 212s def test_search_case_insensitive(self, cli, steam_app_factory): 212s """ 212s Do a case-insensitive search 212s """ 212s steam_app_factory(name="FaKe GaMe 1", appid=10) 212s steam_app_factory(name="FAKE GAME 2", appid=20) 212s 212s # Search is case-insensitive 212s stdout = cli(["-s", "game"]) 212s 212s > assert "FaKe GaMe 1 (10)" in stdout 212s E assert 'FaKe GaMe 1 (10)' in "Only one action can be performed at a time.\nusage: __main__.py [-h] [--verbose] [--no-term] [-s SEARCH [SEARCH ...]]...d command to the Steam app's installation directory.\n -V, --version show program's version number and exit\n" 212s 212s tests/cli/test_main.py:856: AssertionError 212s _________________ TestCLISearch.test_search_pfx_lock_required __________________ 212s 212s self = 212s cli = .func at 0xfbab009c9080> 212s steam_app_factory = .func at 0xfbab009c8c20> 212s 212s def test_search_pfx_lock_required(self, cli, steam_app_factory): 212s """ 212s Do a search for a game that doesn't have a complete prefix yet 212s """ 212s steam_app = steam_app_factory(name="Fake game", appid=10) 212s 212s # Delete the pfx.lock file that signifies that the game has been 212s # launched at least once. Protontricks requires that this file 212s # exists 212s (Path(steam_app.prefix_path).parent / "pfx.lock").unlink() 212s 212s stdout = cli(["-s", "game"]) 212s 212s > assert "Found no games" in stdout 212s E assert 'Found no games' in "Only one action can be performed at a time.\nusage: __main__.py [-h] [--verbose] [--no-term] [-s SEARCH [SEARCH ...]]...d command to the Steam app's installation directory.\n -V, --version show program's version number and exit\n" 212s 212s tests/cli/test_main.py:872: AssertionError 212s _________________ TestCLISearch.test_search_multiple_keywords __________________ 212s 212s self = 212s cli = .func at 0xfbab009c9da0> 212s steam_app_factory = .func at 0xfbab009c9d00> 212s 212s def test_search_multiple_keywords(self, cli, steam_app_factory): 212s """ 212s Do a search for games with multiple subsequent words from the entire 212s name 212s """ 212s steam_app_factory(name="Apple banana cinnamon", appid=10) 212s steam_app_factory(name="Apple banana", appid=20) 212s 212s stdout = cli(["-s", "apple", "banana"]) 212s 212s # First game is found, second is not 212s > assert "Apple banana cinnamon (10)" in stdout 212s E assert 'Apple banana cinnamon (10)' in "Only one action can be performed at a time.\nusage: __main__.py [-h] [--verbose] [--no-term] [-s SEARCH [SEARCH ...]]...d command to the Steam app's installation directory.\n -V, --version show program's version number and exit\n" 212s 212s tests/cli/test_main.py:886: AssertionError 212s __________________ TestCLISearch.test_search_strip_non_ascii ___________________ 212s 212s self = 212s cli = .func at 0xfbab00d52980> 212s steam_app_factory = .func at 0xfbab00d53380> 212s 212s def test_search_strip_non_ascii(self, cli, steam_app_factory): 212s """ 212s Do a search for a game with various symbols that are ignored 212s when doing the search 212s """ 212s steam_app_factory( 212s name="Frog™ Simulator®: Year of the 🐸 Edition", appid=10 212s ) 212s 212s # Non-ASCII symbols are not checked for when doing the search 212s stdout = cli([ 212s "-s", "frog", "simulator", "year", "of", "the", "edition" 212s ]) 212s 212s > assert "Frog™ Simulator®: Year of the 🐸 Edition (10)" in stdout 212s E assert 'Frog™ Simulator®: Year of the 🐸 Edition (10)' in "Only one action can be performed at a time.\nusage: __main__.py [-h] [--verbose] [--no-term] [-s SEARCH [SEARCH ...]]...d command to the Steam app's installation directory.\n -V, --version show program's version number and exit\n" 212s 212s tests/cli/test_main.py:909: AssertionError 212s ______________ TestCLISearch.test_search_multiple_library_folders ______________ 212s 212s self = 212s cli = .func at 0xfbab00d52200> 212s steam_app_factory = .func at 0xfbab00d50f40> 212s steam_library_factory = .func at 0xfbab00d50360> 212s 212s def test_search_multiple_library_folders( 212s self, cli, steam_app_factory, steam_library_factory): 212s """ 212s Create three games in three different locations and ensure 212s all are found when searched for 212s """ 212s library_dir_a = steam_library_factory("LibraryA") 212s library_dir_b = steam_library_factory("LibraryB") 212s 212s steam_app_factory(name="Fake game 1", appid=10) 212s steam_app_factory( 212s name="Fake game 2", appid=20, library_dir=library_dir_a 212s ) 212s steam_app_factory( 212s name="Fake game 3", appid=30, library_dir=library_dir_b 212s ) 212s 212s # All three games should be found automatically 212s result = cli(["-s", "game"]) 212s 212s > assert "Fake game 1" in result 212s E assert 'Fake game 1' in "Only one action can be performed at a time.\nusage: __main__.py [-h] [--verbose] [--no-term] [-s SEARCH [SEARCH ...]]...d command to the Steam app's installation directory.\n -V, --version show program's version number and exit\n" 212s 212s tests/cli/test_main.py:931: AssertionError 212s ______________________ TestCLISearch.test_search_shortcut ______________________ 212s 212s self = 212s cli = .func at 0xfbab00d50900> 212s shortcut_factory = .func at 0xfbab00d52c00> 212s 212s def test_search_shortcut( 212s self, cli, shortcut_factory): 212s """ 212s Create two non-Steam shortcut and ensure they can be found 212s """ 212s shortcut_factory(install_dir="fake/path/", name="fakegame.exe") 212s shortcut_factory(install_dir="fake/path2/", name="fakegame.exe") 212s 212s result = cli(["-v", "-s", "steam"]) 212s 212s > assert "Non-Steam shortcut: fakegame.exe (4149337689)" in result 212s E assert 'Non-Steam shortcut: fakegame.exe (4149337689)' in "Only one action can be performed at a time.\nusage: __main__.py [-h] [--verbose] [--no-term] [-s SEARCH [SEARCH ...]]...d command to the Steam app's installation directory.\n -V, --version show program's version number and exit\n" 212s 212s tests/cli/test_main.py:945: AssertionError 212s _______________________ TestCLISearch.test_list_all_apps _______________________ 212s 212s self = 212s cli = .func at 0xfbab00d52340> 212s steam_app_factory = .func at 0xfbab00d50d60> 212s 212s def test_list_all_apps(self, cli, steam_app_factory): 212s """ 212s List all apps using `-l` CLI flag 212s """ 212s steam_app_factory(name="Game number one", appid=10) 212s steam_app_factory(name="Fake game", appid=20) 212s 212s result = cli(["-l"]) 212s 212s > assert "Game number one" in result 212s E assert 'Game number one' in "Only one action can be performed at a time.\nusage: __main__.py [-h] [--verbose] [--no-term] [-s SEARCH [SEARCH ...]]...d command to the Steam app's installation directory.\n -V, --version show program's version number and exit\n" 212s 212s tests/cli/test_main.py:957: AssertionError 212s ___________________ test_cli_enable_logging[-v-log_levels1] ____________________ 212s 212s cli = .func at 0xfbab00d77600>, parameter = '-v' 212s log_levels = ['INFO'] 212s 212s @pytest.mark.parametrize( 212s "parameter,log_levels", 212s [ 212s (None, []), 212s ("-v", ["INFO"]), 212s ("-vv", ["INFO", "DEBUG"]) 212s ] 212s ) 212s def test_cli_enable_logging(cli, parameter, log_levels): 212s """ 212s Run the CLI interface with different logging levels and ensure 212s that log messages with corresponding log levels are printed 212s """ 212s if parameter: 212s _, stderr = cli( 212s [parameter, "-s", "nothing"], 212s expect_returncode=1, # We don't care whether the command succeeds 212s include_stderr=True 212s ) 212s 212s for log_level in log_levels: 212s > assert log_level in stderr 212s E AssertionError: assert 'INFO' in '' 212s 212s tests/cli/test_main.py:999: AssertionError 212s ___________________ test_cli_enable_logging[-vv-log_levels2] ___________________ 212s 212s cli = .func at 0xfbab00d77740>, parameter = '-vv' 212s log_levels = ['INFO', 'DEBUG'] 212s 212s @pytest.mark.parametrize( 212s "parameter,log_levels", 212s [ 212s (None, []), 212s ("-v", ["INFO"]), 212s ("-vv", ["INFO", "DEBUG"]) 212s ] 212s ) 212s def test_cli_enable_logging(cli, parameter, log_levels): 212s """ 212s Run the CLI interface with different logging levels and ensure 212s that log messages with corresponding log levels are printed 212s """ 212s if parameter: 212s _, stderr = cli( 212s [parameter, "-s", "nothing"], 212s expect_returncode=1, # We don't care whether the command succeeds 212s include_stderr=True 212s ) 212s 212s for log_level in log_levels: 212s > assert log_level in stderr 212s E AssertionError: assert 'INFO' in '' 212s 212s tests/cli/test_main.py:999: AssertionError 212s __________________ test_cli_error_handler_uncaught_exception ___________________ 212s 212s cli = .func at 0xfbab00d751c0> 212s default_proton = 212s steam_app_factory = .func at 0xfbab00d75da0> 212s broken_appmanifest = None 212s gui_provider = 212s 212s def test_cli_error_handler_uncaught_exception( 212s cli, default_proton, steam_app_factory, broken_appmanifest, 212s gui_provider): 212s """ 212s Ensure that 'cli_error_handler' correctly catches any uncaught 212s exception and includes a stack trace in the error dialog. 212s """ 212s steam_app_factory(name="Fake game", appid=10) 212s 212s cli(["--no-term", "-s", "Fake"], expect_returncode=1) 212s 212s > assert gui_provider.args[0] == "yad" 212s E TypeError: 'NoneType' object is not subscriptable 212s 212s tests/cli/test_util.py:47: TypeError 212s ------------------------------ Captured log setup ------------------------------ 212s DEBUG protontricks:steam.py:586 Loading appinfo.vdf in /tmp/pytest-of-ubuntu/pytest-0/test_cli_error_handler_uncaugh2/home/fakeuser/.steam/steam/appcache/appinfo.vdf 212s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 212s _________________ test_cli_error_handler_gui_provider_env[yad] _________________ 212s 212s cli = .func at 0xfbab00d75d00> 212s default_proton = 212s steam_app_factory = .func at 0xfbab00d77380> 212s monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xfbab009b6810> 212s broken_appmanifest = None 212s gui_provider = 212s gui_cmd = 'yad' 212s 212s @pytest.mark.parametrize("gui_cmd", ["yad", "zenity"]) 212s def test_cli_error_handler_gui_provider_env( 212s cli, default_proton, steam_app_factory, monkeypatch, 212s broken_appmanifest, gui_provider, gui_cmd): 212s """ 212s Ensure that correct GUI provider is used depending on 'PROTONTRICKS_GUI' 212s environment variable 212s """ 212s monkeypatch.setenv("PROTONTRICKS_GUI", gui_cmd) 212s 212s steam_app_factory(name="Fake game", appid=10) 212s 212s cli(["--no-term", "-s", "Fake"], expect_returncode=1) 212s 212s > message = gui_provider.kwargs["input"] 212s E TypeError: 'NoneType' object is not subscriptable 212s 212s tests/cli/test_util.py:70: TypeError 212s ------------------------------ Captured log setup ------------------------------ 212s DEBUG protontricks:steam.py:586 Loading appinfo.vdf in /tmp/pytest-of-ubuntu/pytest-0/test_cli_error_handler_gui_pro0/home/fakeuser/.steam/steam/appcache/appinfo.vdf 212s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 212s _______________ test_cli_error_handler_gui_provider_env[zenity] ________________ 212s 212s cli = .func at 0xfbab009c9da0> 212s default_proton = 212s steam_app_factory = .func at 0xfbab009ca0c0> 212s monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xfbab00992f90> 212s broken_appmanifest = None 212s gui_provider = 212s gui_cmd = 'zenity' 212s 212s @pytest.mark.parametrize("gui_cmd", ["yad", "zenity"]) 212s def test_cli_error_handler_gui_provider_env( 212s cli, default_proton, steam_app_factory, monkeypatch, 212s broken_appmanifest, gui_provider, gui_cmd): 212s """ 212s Ensure that correct GUI provider is used depending on 'PROTONTRICKS_GUI' 212s environment variable 212s """ 212s monkeypatch.setenv("PROTONTRICKS_GUI", gui_cmd) 212s 212s steam_app_factory(name="Fake game", appid=10) 212s 212s cli(["--no-term", "-s", "Fake"], expect_returncode=1) 212s 212s > message = gui_provider.kwargs["input"] 212s E TypeError: 'NoneType' object is not subscriptable 212s 212s tests/cli/test_util.py:70: TypeError 212s ------------------------------ Captured log setup ------------------------------ 212s DEBUG protontricks:steam.py:586 Loading appinfo.vdf in /tmp/pytest-of-ubuntu/pytest-0/test_cli_error_handler_gui_pro1/home/fakeuser/.steam/steam/appcache/appinfo.vdf 212s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 212s ____________________________ test_log_file_cleanup _____________________________ 212s 212s cli = .func at 0xfbab009c8ae0> 212s steam_app_factory = .func at 0xfbab009c8540> 212s gui_provider = 212s 212s def test_log_file_cleanup(cli, steam_app_factory, gui_provider): 212s """ 212s Ensure that log file contains the log files generated during the 212s CLI call and that it is cleared after running `_delete_log_file` 212s """ 212s steam_app_factory(name="Fake game", appid=10) 212s cli(["--no-term", "-s", "Fake"]) 212s 212s > assert "Found Steam directory" in _get_log_file_path().read_text() 212s 212s tests/cli/test_util.py:113: 212s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 212s /usr/lib/python3.12/pathlib.py:1029: in read_text 212s with self.open(mode='r', encoding=encoding, errors=errors) as f: 212s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 212s 212s self = PosixPath('/tmp/protontricks3217.log'), mode = 'r', buffering = -1 212s encoding = 'locale', errors = None, newline = None 212s 212s def open(self, mode='r', buffering=-1, encoding=None, 212s errors=None, newline=None): 212s """ 212s Open the file pointed to by this path and return a file object, as 212s the built-in open() function does. 212s """ 212s if "b" not in mode: 212s encoding = io.text_encoding(encoding) 212s > return io.open(self, mode, buffering, encoding, errors, newline) 212s E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/protontricks3217.log' 212s 212s /usr/lib/python3.12/pathlib.py:1015: FileNotFoundError 212s =============================== warnings summary =============================== 212s ../../../../usr/lib/python3/dist-packages/protontricks/util.py:11 212s /usr/lib/python3/dist-packages/protontricks/util.py:11: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html 212s import pkg_resources 212s 212s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 212s =========================== short test summary info ============================ 212s FAILED tests/cli/test_launch.py::TestCLIRun::test_run_executable - IndexError... 212s FAILED tests/cli/test_launch.py::TestCLIRun::test_run_executable_appid - Inde... 212s FAILED tests/cli/test_main.py::TestCLIRun::test_run_winetricks - IndexError: ... 212s FAILED tests/cli/test_main.py::TestCLIRun::test_run_winetricks_shortcut - Ind... 212s FAILED tests/cli/test_main.py::TestCLIRun::test_run_winetricks_select_proton 212s FAILED tests/cli/test_main.py::TestCLIRun::test_run_winetricks_select_steam 212s FAILED tests/cli/test_main.py::TestCLIRun::test_run_winetricks_steam_runtime_v1 212s FAILED tests/cli/test_main.py::TestCLIRun::test_run_winetricks_steam_runtime_v2 212s FAILED tests/cli/test_main.py::TestCLIRun::test_run_winetricks_steam_runtime_v2_no_bwrap 212s FAILED tests/cli/test_main.py::TestCLIRun::test_run_background_wineserver_toggle[args3-True] 212s FAILED tests/cli/test_main.py::TestCLIRun::test_run_winetricks_game_not_found 212s FAILED tests/cli/test_main.py::TestCLIRun::test_run_steam_not_found - assert ... 212s FAILED tests/cli/test_main.py::TestCLIRun::test_run_winetricks_not_found - as... 212s FAILED tests/cli/test_main.py::TestCLIRun::test_run_winetricks_from_desktop 212s FAILED tests/cli/test_main.py::TestCLIRun::test_run_steam_runtime_not_found 212s FAILED tests/cli/test_main.py::TestCLIRun::test_run_proton_not_found - assert... 212s FAILED tests/cli/test_main.py::TestCLIRun::test_run_compat_tool_not_proton - ... 212s FAILED tests/cli/test_main.py::TestCLIRun::test_run_command_proton_incomplete 212s FAILED tests/cli/test_main.py::TestCLIRun::test_run_command_runtime_incomplete 212s FAILED tests/cli/test_main.py::TestCLIRun::test_old_flatpak_detected - assert... 212s FAILED tests/cli/test_main.py::TestCLIRun::test_new_flatpak_detected - assert... 212s FAILED tests/cli/test_main.py::TestCLIRun::test_cli_error_handler_uncaught_exception 212s FAILED tests/cli/test_main.py::TestCLIRun::test_run_filesystem_permission_missing 212s FAILED tests/cli/test_main.py::TestCLIRun::test_run_bwrap_default - assert False 212s FAILED tests/cli/test_main.py::TestCLIRun::test_select_steam_installation - a... 212s FAILED tests/cli/test_main.py::TestCLIRun::test_steam_installation_not_selected 212s FAILED tests/cli/test_main.py::TestCLICommand::test_run_command - IndexError:... 212s FAILED tests/cli/test_main.py::TestCLICommand::test_run_command_cwd_app - Ind... 212s FAILED tests/cli/test_main.py::TestCLISearch::test_search_case_insensitive - ... 212s FAILED tests/cli/test_main.py::TestCLISearch::test_search_pfx_lock_required 212s FAILED tests/cli/test_main.py::TestCLISearch::test_search_multiple_keywords 212s FAILED tests/cli/test_main.py::TestCLISearch::test_search_strip_non_ascii - a... 212s FAILED tests/cli/test_main.py::TestCLISearch::test_search_multiple_library_folders 212s FAILED tests/cli/test_main.py::TestCLISearch::test_search_shortcut - assert '... 212s FAILED tests/cli/test_main.py::TestCLISearch::test_list_all_apps - assert 'Ga... 212s FAILED tests/cli/test_main.py::test_cli_enable_logging[-v-log_levels1] - Asse... 212s FAILED tests/cli/test_main.py::test_cli_enable_logging[-vv-log_levels2] - Ass... 212s FAILED tests/cli/test_util.py::test_cli_error_handler_uncaught_exception - Ty... 212s FAILED tests/cli/test_util.py::test_cli_error_handler_gui_provider_env[yad] 212s FAILED tests/cli/test_util.py::test_cli_error_handler_gui_provider_env[zenity] 212s FAILED tests/cli/test_util.py::test_log_file_cleanup - FileNotFoundError: [Er... 212s ================== 41 failed, 110 passed, 1 warning in 2.20s =================== 213s autopkgtest [04:13:10]: test pytest: -----------------------] 213s autopkgtest [04:13:10]: test pytest: - - - - - - - - - - results - - - - - - - - - - 213s pytest FAIL non-zero exit status 1 214s autopkgtest [04:13:11]: @@@@@@@@@@@@@@@@@@@@ summary 214s pytest FAIL non-zero exit status 1 244s nova [W] Using flock in prodstack6-arm64 244s Creating nova instance adt-plucky-arm64-protontricks-20250219-040937-juju-7f2275-prod-proposed-migration-environment-20-2b4f86aa-a490-4a80-aaaa-f5124e8d6cb5 from image adt/ubuntu-plucky-arm64-server-20250218.img (UUID db1e3557-ca0b-4978-8424-9ef955671030)... 244s nova [W] Timed out waiting for b6175ece-04d0-472a-abe0-d40ae140aeba to get deleted.