0s autopkgtest [10:44:53]: starting date and time: 2025-03-13 10:44:53+0000 0s autopkgtest [10:44:53]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [10:44:53]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.lg1ld2cj/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-2@bos03-arm64-31.secgroup --name adt-plucky-arm64-protontricks-20250313-104453-juju-7f2275-prod-proposed-migration-environment-2-e0000534-bdbe-41de-9203-ec1bb0b318a2 --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 117s autopkgtest [10:46:50]: testbed dpkg architecture: arm64 118s autopkgtest [10:46:51]: testbed apt version: 2.9.32ubuntu1 118s autopkgtest [10:46:51]: @@@@@@@@@@@@@@@@@@@@ test bed setup 118s autopkgtest [10:46:51]: testbed release detected to be: None 119s autopkgtest [10:46:52]: updating testbed package index (apt update) 119s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 120s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 120s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 120s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 120s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [11.5 kB] 120s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [43.9 kB] 120s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [396 kB] 120s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [54.8 kB] 120s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [340 kB] 120s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [3244 B] 120s Fetched 960 kB in 1s (1149 kB/s) 121s Reading package lists... 121s Reading package lists... 122s Building dependency tree... 122s Reading state information... 122s Calculating upgrade... 122s Calculating upgrade... 123s The following packages will be upgraded: 123s gir1.2-glib-2.0 htop libglib2.0-0t64 libglib2.0-data 123s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 123s Need to get 1982 kB of archives. 123s After this operation, 0 B of additional disk space will be used. 123s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 gir1.2-glib-2.0 arm64 2.84.0-1 [185 kB] 123s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libglib2.0-0t64 arm64 2.84.0-1 [1571 kB] 123s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 libglib2.0-data all 2.84.0-1 [53.0 kB] 123s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 htop arm64 3.4.0-2 [173 kB] 124s Fetched 1982 kB in 1s (3195 kB/s) 124s (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 ... 117763 files and directories currently installed.) 124s Preparing to unpack .../gir1.2-glib-2.0_2.84.0-1_arm64.deb ... 124s Unpacking gir1.2-glib-2.0:arm64 (2.84.0-1) over (2.83.5-1) ... 124s Preparing to unpack .../libglib2.0-0t64_2.84.0-1_arm64.deb ... 124s Unpacking libglib2.0-0t64:arm64 (2.84.0-1) over (2.83.5-1) ... 124s Preparing to unpack .../libglib2.0-data_2.84.0-1_all.deb ... 124s Unpacking libglib2.0-data (2.84.0-1) over (2.83.5-1) ... 124s Preparing to unpack .../htop_3.4.0-2_arm64.deb ... 124s Unpacking htop (3.4.0-2) over (3.4.0-1) ... 124s Setting up htop (3.4.0-2) ... 124s Setting up libglib2.0-0t64:arm64 (2.84.0-1) ... 124s No schema files found: doing nothing. 124s Setting up libglib2.0-data (2.84.0-1) ... 124s Setting up gir1.2-glib-2.0:arm64 (2.84.0-1) ... 124s Processing triggers for man-db (2.13.0-1) ... 125s Processing triggers for libc-bin (2.41-1ubuntu1) ... 125s Reading package lists... 125s Building dependency tree... 125s Reading state information... 126s Solving dependencies... 126s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 126s autopkgtest [10:46:59]: upgrading testbed (apt dist-upgrade and autopurge) 126s Reading package lists... 127s Building dependency tree... 127s Reading state information... 127s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 127s Starting 2 pkgProblemResolver with broken count: 0 127s Done 128s Entering ResolveByKeep 128s 128s Calculating upgrade... 129s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 129s Reading package lists... 129s Building dependency tree... 129s Reading state information... 130s Starting pkgProblemResolver with broken count: 0 130s Starting 2 pkgProblemResolver with broken count: 0 130s Done 130s Solving dependencies... 130s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 134s autopkgtest [10:47:07]: testbed running kernel: Linux 6.14.0-7-generic #7-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 28 11:47:29 UTC 2025 134s autopkgtest [10:47:07]: @@@@@@@@@@@@@@@@@@@@ apt-source protontricks 136s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse protontricks 1.12.0-2 (dsc) [2242 B] 136s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse protontricks 1.12.0-2 (tar) [171 kB] 136s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse protontricks 1.12.0-2 (diff) [2616 B] 136s gpgv: Signature made Sun Feb 16 01:27:25 2025 UTC 136s gpgv: using RSA key 8F6DE104377F3B11E741748731F3144544A1741A 136s gpgv: issuer "tchet@debian.org" 136s gpgv: Can't check signature: No public key 136s dpkg-source: warning: cannot verify inline signature for ./protontricks_1.12.0-2.dsc: no acceptable signature found 136s autopkgtest [10:47:09]: testing package protontricks version 1.12.0-2 137s autopkgtest [10:47:10]: build not needed 138s autopkgtest [10:47:11]: test pytest: preparing testbed 138s Reading package lists... 138s Building dependency tree... 138s Reading state information... 139s Starting pkgProblemResolver with broken count: 0 139s Starting 2 pkgProblemResolver with broken count: 0 139s Done 139s The following NEW packages will be installed: 139s adwaita-icon-theme at-spi2-common dconf-gsettings-backend dconf-service 139s fontconfig fontconfig-config fonts-dejavu-core fonts-dejavu-mono 139s gtk-update-icon-cache hicolor-icon-theme libaom3 libasound2-data 139s libasound2t64 libasyncns0 libatk-bridge2.0-0t64 libatk1.0-0t64 139s libatspi2.0-0t64 libavahi-client3 libavahi-common-data libavahi-common3 139s libcairo-gobject2 libcairo2 libcapi20-3t64 libcolord2 libcups2t64 libdatrie1 139s libdconf1 libde265-0 libdeflate0 libepoxy0 libexif12 libflac12t64 139s libfontconfig1 libgd3 libgdk-pixbuf-2.0-0 libgdk-pixbuf2.0-common libgomp1 139s libgphoto2-6t64 libgphoto2-port12t64 libgraphite2-3 139s libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libgtk-3-0t64 139s libgtk-3-common libharfbuzz0b libheif-plugin-aomdec libheif-plugin-libde265 139s libheif1 libimagequant0 libjbig0 libjpeg-turbo8 libjpeg8 liblcms2-2 liblerc4 139s libltdl7 libmp3lame0 libmpg123-0t64 libogg0 libopenjp2-7 libopus0 139s liborc-0.4-0t64 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 139s libpcsclite1 libpixman-1-0 libpulse0 libraqm0 libsharpyuv0 libsndfile1 139s libthai-data libthai0 libtiff6 libvorbis0a libvorbisenc2 libwayland-client0 139s libwayland-cursor0 libwayland-egl1 libwebp7 libwebpdemux2 libwebpmux3 139s libwine libx11-xcb1 libxcb-render0 libxcb-shm0 libxcomposite1 libxcursor1 139s libxdamage1 libxfixes3 libxi6 libxinerama1 libxkbregistry0 libxpm4 139s libxrandr2 libxrender1 libz-mingw-w64 ocl-icd-libopencl1 protontricks 139s python3-all python3-iniconfig python3-packaging python3-pil python3-pluggy 139s python3-pytest python3-vdf wine wine64 winetricks yad 140s 0 upgraded, 109 newly installed, 0 to remove and 0 not upgraded. 140s Need to get 53.5 MB of archives. 140s After this operation, 322 MB of additional disk space will be used. 140s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libgdk-pixbuf2.0-common all 2.42.12+dfsg-2 [8004 B] 140s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libjpeg-turbo8 arm64 2.1.5-3ubuntu2 [165 kB] 140s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 libjpeg8 arm64 8c-2ubuntu11 [2148 B] 140s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libdeflate0 arm64 1.23-1 [46.2 kB] 140s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 libjbig0 arm64 2.1-6.1ubuntu2 [29.3 kB] 140s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 liblerc4 arm64 4.0.0+ds-5ubuntu1 [167 kB] 140s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 libsharpyuv0 arm64 1.5.0-0.1 [16.9 kB] 140s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 libwebp7 arm64 1.5.0-0.1 [194 kB] 140s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 libtiff6 arm64 4.5.1+git230720-4ubuntu4 [193 kB] 140s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libgdk-pixbuf-2.0-0 arm64 2.42.12+dfsg-2 [147 kB] 140s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 gtk-update-icon-cache arm64 4.17.5+ds-3ubuntu1 [52.9 kB] 140s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 hicolor-icon-theme all 0.18-2 [13.3 kB] 140s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 adwaita-icon-theme all 48~beta-3 [578 kB] 140s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 at-spi2-common all 2.55.90-1 [9072 B] 140s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libdconf1 arm64 0.40.0-5 [40.0 kB] 140s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 dconf-service arm64 0.40.0-5 [27.1 kB] 140s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 dconf-gsettings-backend arm64 0.40.0-5 [22.3 kB] 140s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 fonts-dejavu-mono all 2.37-8 [502 kB] 140s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 fonts-dejavu-core all 2.37-8 [835 kB] 140s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 fontconfig-config arm64 2.15.0-2ubuntu1 [37.5 kB] 140s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 libfontconfig1 arm64 2.15.0-2ubuntu1 [144 kB] 140s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 fontconfig arm64 2.15.0-2ubuntu1 [191 kB] 140s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 libaom3 arm64 3.12.0-1 [1828 kB] 140s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 libasound2-data all 1.2.13-1build1 [21.1 kB] 140s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 libasound2t64 arm64 1.2.13-1build1 [390 kB] 140s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 libasyncns0 arm64 0.8-6build4 [11.2 kB] 140s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 libatk1.0-0t64 arm64 2.55.90-1 [55.3 kB] 140s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 libxi6 arm64 2:1.8.2-1 [32.4 kB] 140s Get:29 http://ftpmaster.internal/ubuntu plucky/main arm64 libatspi2.0-0t64 arm64 2.55.90-1 [84.4 kB] 140s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 libatk-bridge2.0-0t64 arm64 2.55.90-1 [66.7 kB] 140s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 libavahi-common-data arm64 0.8-16ubuntu1 [30.9 kB] 141s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 libavahi-common3 arm64 0.8-16ubuntu1 [22.9 kB] 141s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 libavahi-client3 arm64 0.8-16ubuntu1 [26.9 kB] 141s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 libpixman-1-0 arm64 0.44.0-3 [197 kB] 141s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-render0 arm64 1.17.0-2 [16.6 kB] 141s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-shm0 arm64 1.17.0-2 [5884 B] 141s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 libxrender1 arm64 1:0.9.10-1.1build1 [18.8 kB] 141s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 libcairo2 arm64 1.18.2-2 [560 kB] 141s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 libcairo-gobject2 arm64 1.18.2-2 [127 kB] 141s Get:40 http://ftpmaster.internal/ubuntu plucky/universe arm64 libcapi20-3t64 arm64 1:3.27-3.2 [31.8 kB] 141s Get:41 http://ftpmaster.internal/ubuntu plucky/main arm64 liblcms2-2 arm64 2.16-2 [170 kB] 141s Get:42 http://ftpmaster.internal/ubuntu plucky/main arm64 libcolord2 arm64 1.4.7-3 [151 kB] 141s Get:43 http://ftpmaster.internal/ubuntu plucky/main arm64 libcups2t64 arm64 2.4.11-0ubuntu2 [274 kB] 141s Get:44 http://ftpmaster.internal/ubuntu plucky/main arm64 libdatrie1 arm64 0.2.13-3build1 [19.2 kB] 141s Get:45 http://ftpmaster.internal/ubuntu plucky/main arm64 libde265-0 arm64 1.0.15-1build5 [146 kB] 141s Get:46 http://ftpmaster.internal/ubuntu plucky/main arm64 libepoxy0 arm64 1.5.10-2 [236 kB] 141s Get:47 http://ftpmaster.internal/ubuntu plucky/main arm64 libexif12 arm64 0.6.25-1 [84.9 kB] 141s Get:48 http://ftpmaster.internal/ubuntu plucky/main arm64 libogg0 arm64 1.3.5-3build1 [22.6 kB] 141s Get:49 http://ftpmaster.internal/ubuntu plucky/main arm64 libflac12t64 arm64 1.4.3+ds-4 [168 kB] 141s Get:50 http://ftpmaster.internal/ubuntu plucky/main arm64 libheif-plugin-aomdec arm64 1.19.7-1 [11.4 kB] 141s Get:51 http://ftpmaster.internal/ubuntu plucky/main arm64 libheif-plugin-libde265 arm64 1.19.7-1 [8890 B] 141s Get:52 http://ftpmaster.internal/ubuntu plucky/main arm64 libheif1 arm64 1.19.7-1 [371 kB] 141s Get:53 http://ftpmaster.internal/ubuntu plucky/main arm64 libgomp1 arm64 15-20250222-0ubuntu1 [146 kB] 141s Get:54 http://ftpmaster.internal/ubuntu plucky/main arm64 libimagequant0 arm64 2.18.0-1build1 [37.1 kB] 141s Get:55 http://ftpmaster.internal/ubuntu plucky/main arm64 libgraphite2-3 arm64 1.3.14-2ubuntu1 [70.6 kB] 141s Get:56 http://ftpmaster.internal/ubuntu plucky/main arm64 libharfbuzz0b arm64 10.2.0-1 [490 kB] 141s Get:57 http://ftpmaster.internal/ubuntu plucky/main arm64 libraqm0 arm64 0.10.2-1 [14.9 kB] 141s Get:58 http://ftpmaster.internal/ubuntu plucky/main arm64 libxpm4 arm64 1:3.5.17-1build2 [35.1 kB] 141s Get:59 http://ftpmaster.internal/ubuntu plucky/main arm64 libgd3 arm64 2.3.3-12ubuntu3 [122 kB] 141s Get:60 http://ftpmaster.internal/ubuntu plucky/main arm64 libltdl7 arm64 2.5.4-4 [43.0 kB] 141s Get:61 http://ftpmaster.internal/ubuntu plucky/main arm64 libgphoto2-port12t64 arm64 2.5.31-4 [59.2 kB] 141s Get:62 http://ftpmaster.internal/ubuntu plucky/main arm64 libgphoto2-6t64 arm64 2.5.31-4 [736 kB] 141s Get:63 http://ftpmaster.internal/ubuntu plucky/main arm64 libgstreamer1.0-0 arm64 1.25.90-1 [1166 kB] 141s Get:64 http://ftpmaster.internal/ubuntu plucky/main arm64 liborc-0.4-0t64 arm64 1:0.4.41-1 [202 kB] 141s Get:65 http://ftpmaster.internal/ubuntu plucky/main arm64 libgstreamer-plugins-base1.0-0 arm64 1.25.90-1 [851 kB] 141s Get:66 http://ftpmaster.internal/ubuntu plucky/main arm64 libthai-data all 0.1.29-2build1 [158 kB] 141s Get:67 http://ftpmaster.internal/ubuntu plucky/main arm64 libthai0 arm64 0.1.29-2build1 [18.2 kB] 141s Get:68 http://ftpmaster.internal/ubuntu plucky/main arm64 libpango-1.0-0 arm64 1.56.1-1 [238 kB] 141s Get:69 http://ftpmaster.internal/ubuntu plucky/main arm64 libpangoft2-1.0-0 arm64 1.56.1-1 [49.6 kB] 141s Get:70 http://ftpmaster.internal/ubuntu plucky/main arm64 libpangocairo-1.0-0 arm64 1.56.1-1 [27.6 kB] 141s Get:71 http://ftpmaster.internal/ubuntu plucky/main arm64 libwayland-client0 arm64 1.23.1-3 [27.0 kB] 141s Get:72 http://ftpmaster.internal/ubuntu plucky/main arm64 libwayland-cursor0 arm64 1.23.1-3 [10.8 kB] 141s Get:73 http://ftpmaster.internal/ubuntu plucky/main arm64 libwayland-egl1 arm64 1.23.1-3 [6180 B] 141s Get:74 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcomposite1 arm64 1:0.4.6-1 [6626 B] 141s Get:75 http://ftpmaster.internal/ubuntu plucky/main arm64 libxfixes3 arm64 1:6.0.0-2build1 [11.2 kB] 141s Get:76 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcursor1 arm64 1:1.2.3-1 [22.2 kB] 141s Get:77 http://ftpmaster.internal/ubuntu plucky/main arm64 libxdamage1 arm64 1:1.1.6-1build1 [6236 B] 141s Get:78 http://ftpmaster.internal/ubuntu plucky/main arm64 libxinerama1 arm64 2:1.1.4-3build1 [6394 B] 141s Get:79 http://ftpmaster.internal/ubuntu plucky/main arm64 libxrandr2 arm64 2:1.5.4-1 [19.6 kB] 141s Get:80 http://ftpmaster.internal/ubuntu plucky/main arm64 libgtk-3-common all 3.24.48-3ubuntu1 [1424 kB] 141s Get:81 http://ftpmaster.internal/ubuntu plucky/main arm64 libgtk-3-0t64 arm64 3.24.48-3ubuntu1 [2916 kB] 141s Get:82 http://ftpmaster.internal/ubuntu plucky/main arm64 libmp3lame0 arm64 3.100-6build1 [141 kB] 141s Get:83 http://ftpmaster.internal/ubuntu plucky/main arm64 libmpg123-0t64 arm64 1.32.10-1 [173 kB] 141s Get:84 http://ftpmaster.internal/ubuntu plucky/main arm64 libopus0 arm64 1.5.2-2 [2891 kB] 141s Get:85 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcsclite1 arm64 2.3.1-1 [25.0 kB] 141s Get:86 http://ftpmaster.internal/ubuntu plucky/main arm64 libvorbis0a arm64 1.3.7-2 [95.0 kB] 141s Get:87 http://ftpmaster.internal/ubuntu plucky/main arm64 libvorbisenc2 arm64 1.3.7-2 [80.0 kB] 141s Get:88 http://ftpmaster.internal/ubuntu plucky/main arm64 libsndfile1 arm64 1.2.2-2 [209 kB] 141s Get:89 http://ftpmaster.internal/ubuntu plucky/main arm64 libx11-xcb1 arm64 2:1.8.10-2 [8020 B] 141s Get:90 http://ftpmaster.internal/ubuntu plucky/main arm64 libpulse0 arm64 1:17.0+dfsg1-2ubuntu1 [274 kB] 141s Get:91 http://ftpmaster.internal/ubuntu plucky/main arm64 libwebpdemux2 arm64 1.5.0-0.1 [12.5 kB] 141s Get:92 http://ftpmaster.internal/ubuntu plucky/main arm64 libwebpmux3 arm64 1.5.0-0.1 [25.4 kB] 141s Get:93 http://ftpmaster.internal/ubuntu plucky/main arm64 libxkbregistry0 arm64 1.7.0-2 [14.5 kB] 142s Get:94 http://ftpmaster.internal/ubuntu plucky/universe arm64 ocl-icd-libopencl1 arm64 2.3.2-1build1 [37.6 kB] 142s Get:95 http://ftpmaster.internal/ubuntu plucky/universe arm64 libz-mingw-w64 all 1.3.1+dfsg-1 [132 kB] 142s Get:96 http://ftpmaster.internal/ubuntu plucky/universe arm64 libwine arm64 9.0~repack-4build3 [30.2 MB] 143s Get:97 http://ftpmaster.internal/ubuntu plucky/main arm64 libopenjp2-7 arm64 2.5.0-2ubuntu3 [182 kB] 143s Get:98 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-pil arm64 11.1.0-5build1 [463 kB] 143s Get:99 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-vdf all 3.4-5 [11.3 kB] 143s Get:100 http://ftpmaster.internal/ubuntu plucky/universe arm64 yad arm64 7.2-1 [189 kB] 143s Get:101 http://ftpmaster.internal/ubuntu plucky/universe arm64 wine64 arm64 9.0~repack-4build3 [244 kB] 143s Get:102 http://ftpmaster.internal/ubuntu plucky/universe arm64 wine all 9.0~repack-4build3 [52.0 kB] 143s Get:103 http://ftpmaster.internal/ubuntu plucky/universe arm64 winetricks all 20250102-1 [161 kB] 143s Get:104 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 protontricks all 1.12.0-2 [45.9 kB] 143s Get:105 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-all arm64 3.13.2-2 [886 B] 143s Get:106 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 143s Get:107 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.2-1 [51.5 kB] 143s Get:108 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 143s Get:109 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest all 8.3.4-1 [252 kB] 143s Fetched 53.5 MB in 4s (14.9 MB/s) 144s Selecting previously unselected package libgdk-pixbuf2.0-common. 144s (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 ... 117763 files and directories currently installed.) 144s Preparing to unpack .../000-libgdk-pixbuf2.0-common_2.42.12+dfsg-2_all.deb ... 144s Unpacking libgdk-pixbuf2.0-common (2.42.12+dfsg-2) ... 144s Selecting previously unselected package libjpeg-turbo8:arm64. 144s Preparing to unpack .../001-libjpeg-turbo8_2.1.5-3ubuntu2_arm64.deb ... 144s Unpacking libjpeg-turbo8:arm64 (2.1.5-3ubuntu2) ... 144s Selecting previously unselected package libjpeg8:arm64. 144s Preparing to unpack .../002-libjpeg8_8c-2ubuntu11_arm64.deb ... 144s Unpacking libjpeg8:arm64 (8c-2ubuntu11) ... 144s Selecting previously unselected package libdeflate0:arm64. 144s Preparing to unpack .../003-libdeflate0_1.23-1_arm64.deb ... 144s Unpacking libdeflate0:arm64 (1.23-1) ... 144s Selecting previously unselected package libjbig0:arm64. 144s Preparing to unpack .../004-libjbig0_2.1-6.1ubuntu2_arm64.deb ... 144s Unpacking libjbig0:arm64 (2.1-6.1ubuntu2) ... 144s Selecting previously unselected package liblerc4:arm64. 144s Preparing to unpack .../005-liblerc4_4.0.0+ds-5ubuntu1_arm64.deb ... 144s Unpacking liblerc4:arm64 (4.0.0+ds-5ubuntu1) ... 144s Selecting previously unselected package libsharpyuv0:arm64. 144s Preparing to unpack .../006-libsharpyuv0_1.5.0-0.1_arm64.deb ... 144s Unpacking libsharpyuv0:arm64 (1.5.0-0.1) ... 144s Selecting previously unselected package libwebp7:arm64. 144s Preparing to unpack .../007-libwebp7_1.5.0-0.1_arm64.deb ... 144s Unpacking libwebp7:arm64 (1.5.0-0.1) ... 144s Selecting previously unselected package libtiff6:arm64. 144s Preparing to unpack .../008-libtiff6_4.5.1+git230720-4ubuntu4_arm64.deb ... 144s Unpacking libtiff6:arm64 (4.5.1+git230720-4ubuntu4) ... 144s Selecting previously unselected package libgdk-pixbuf-2.0-0:arm64. 144s Preparing to unpack .../009-libgdk-pixbuf-2.0-0_2.42.12+dfsg-2_arm64.deb ... 144s Unpacking libgdk-pixbuf-2.0-0:arm64 (2.42.12+dfsg-2) ... 144s Selecting previously unselected package gtk-update-icon-cache. 144s Preparing to unpack .../010-gtk-update-icon-cache_4.17.5+ds-3ubuntu1_arm64.deb ... 144s No diversion 'diversion of /usr/sbin/update-icon-caches to /usr/sbin/update-icon-caches.gtk2 by libgtk-3-bin', none removed. 144s 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. 144s Unpacking gtk-update-icon-cache (4.17.5+ds-3ubuntu1) ... 144s Selecting previously unselected package hicolor-icon-theme. 144s Preparing to unpack .../011-hicolor-icon-theme_0.18-2_all.deb ... 144s Unpacking hicolor-icon-theme (0.18-2) ... 144s Selecting previously unselected package adwaita-icon-theme. 144s Preparing to unpack .../012-adwaita-icon-theme_48~beta-3_all.deb ... 144s Unpacking adwaita-icon-theme (48~beta-3) ... 144s Selecting previously unselected package at-spi2-common. 144s Preparing to unpack .../013-at-spi2-common_2.55.90-1_all.deb ... 144s Unpacking at-spi2-common (2.55.90-1) ... 144s Selecting previously unselected package libdconf1:arm64. 144s Preparing to unpack .../014-libdconf1_0.40.0-5_arm64.deb ... 144s Unpacking libdconf1:arm64 (0.40.0-5) ... 144s Selecting previously unselected package dconf-service. 144s Preparing to unpack .../015-dconf-service_0.40.0-5_arm64.deb ... 144s Unpacking dconf-service (0.40.0-5) ... 144s Selecting previously unselected package dconf-gsettings-backend:arm64. 144s Preparing to unpack .../016-dconf-gsettings-backend_0.40.0-5_arm64.deb ... 144s Unpacking dconf-gsettings-backend:arm64 (0.40.0-5) ... 144s Selecting previously unselected package fonts-dejavu-mono. 144s Preparing to unpack .../017-fonts-dejavu-mono_2.37-8_all.deb ... 144s Unpacking fonts-dejavu-mono (2.37-8) ... 144s Selecting previously unselected package fonts-dejavu-core. 144s Preparing to unpack .../018-fonts-dejavu-core_2.37-8_all.deb ... 144s Unpacking fonts-dejavu-core (2.37-8) ... 144s Selecting previously unselected package fontconfig-config. 144s Preparing to unpack .../019-fontconfig-config_2.15.0-2ubuntu1_arm64.deb ... 145s Unpacking fontconfig-config (2.15.0-2ubuntu1) ... 145s Selecting previously unselected package libfontconfig1:arm64. 145s Preparing to unpack .../020-libfontconfig1_2.15.0-2ubuntu1_arm64.deb ... 145s Unpacking libfontconfig1:arm64 (2.15.0-2ubuntu1) ... 145s Selecting previously unselected package fontconfig. 145s Preparing to unpack .../021-fontconfig_2.15.0-2ubuntu1_arm64.deb ... 145s Unpacking fontconfig (2.15.0-2ubuntu1) ... 145s Selecting previously unselected package libaom3:arm64. 145s Preparing to unpack .../022-libaom3_3.12.0-1_arm64.deb ... 145s Unpacking libaom3:arm64 (3.12.0-1) ... 145s Selecting previously unselected package libasound2-data. 145s Preparing to unpack .../023-libasound2-data_1.2.13-1build1_all.deb ... 145s Unpacking libasound2-data (1.2.13-1build1) ... 145s Selecting previously unselected package libasound2t64:arm64. 145s Preparing to unpack .../024-libasound2t64_1.2.13-1build1_arm64.deb ... 145s Unpacking libasound2t64:arm64 (1.2.13-1build1) ... 145s Selecting previously unselected package libasyncns0:arm64. 145s Preparing to unpack .../025-libasyncns0_0.8-6build4_arm64.deb ... 145s Unpacking libasyncns0:arm64 (0.8-6build4) ... 145s Selecting previously unselected package libatk1.0-0t64:arm64. 145s Preparing to unpack .../026-libatk1.0-0t64_2.55.90-1_arm64.deb ... 145s Unpacking libatk1.0-0t64:arm64 (2.55.90-1) ... 145s Selecting previously unselected package libxi6:arm64. 145s Preparing to unpack .../027-libxi6_2%3a1.8.2-1_arm64.deb ... 145s Unpacking libxi6:arm64 (2:1.8.2-1) ... 145s Selecting previously unselected package libatspi2.0-0t64:arm64. 145s Preparing to unpack .../028-libatspi2.0-0t64_2.55.90-1_arm64.deb ... 145s Unpacking libatspi2.0-0t64:arm64 (2.55.90-1) ... 145s Selecting previously unselected package libatk-bridge2.0-0t64:arm64. 145s Preparing to unpack .../029-libatk-bridge2.0-0t64_2.55.90-1_arm64.deb ... 145s Unpacking libatk-bridge2.0-0t64:arm64 (2.55.90-1) ... 145s Selecting previously unselected package libavahi-common-data:arm64. 145s Preparing to unpack .../030-libavahi-common-data_0.8-16ubuntu1_arm64.deb ... 145s Unpacking libavahi-common-data:arm64 (0.8-16ubuntu1) ... 145s Selecting previously unselected package libavahi-common3:arm64. 145s Preparing to unpack .../031-libavahi-common3_0.8-16ubuntu1_arm64.deb ... 145s Unpacking libavahi-common3:arm64 (0.8-16ubuntu1) ... 145s Selecting previously unselected package libavahi-client3:arm64. 145s Preparing to unpack .../032-libavahi-client3_0.8-16ubuntu1_arm64.deb ... 145s Unpacking libavahi-client3:arm64 (0.8-16ubuntu1) ... 145s Selecting previously unselected package libpixman-1-0:arm64. 145s Preparing to unpack .../033-libpixman-1-0_0.44.0-3_arm64.deb ... 145s Unpacking libpixman-1-0:arm64 (0.44.0-3) ... 145s Selecting previously unselected package libxcb-render0:arm64. 145s Preparing to unpack .../034-libxcb-render0_1.17.0-2_arm64.deb ... 145s Unpacking libxcb-render0:arm64 (1.17.0-2) ... 145s Selecting previously unselected package libxcb-shm0:arm64. 145s Preparing to unpack .../035-libxcb-shm0_1.17.0-2_arm64.deb ... 145s Unpacking libxcb-shm0:arm64 (1.17.0-2) ... 145s Selecting previously unselected package libxrender1:arm64. 145s Preparing to unpack .../036-libxrender1_1%3a0.9.10-1.1build1_arm64.deb ... 145s Unpacking libxrender1:arm64 (1:0.9.10-1.1build1) ... 145s Selecting previously unselected package libcairo2:arm64. 145s Preparing to unpack .../037-libcairo2_1.18.2-2_arm64.deb ... 145s Unpacking libcairo2:arm64 (1.18.2-2) ... 145s Selecting previously unselected package libcairo-gobject2:arm64. 145s Preparing to unpack .../038-libcairo-gobject2_1.18.2-2_arm64.deb ... 145s Unpacking libcairo-gobject2:arm64 (1.18.2-2) ... 145s Selecting previously unselected package libcapi20-3t64:arm64. 145s Preparing to unpack .../039-libcapi20-3t64_1%3a3.27-3.2_arm64.deb ... 145s Unpacking libcapi20-3t64:arm64 (1:3.27-3.2) ... 146s Selecting previously unselected package liblcms2-2:arm64. 146s Preparing to unpack .../040-liblcms2-2_2.16-2_arm64.deb ... 146s Unpacking liblcms2-2:arm64 (2.16-2) ... 146s Selecting previously unselected package libcolord2:arm64. 146s Preparing to unpack .../041-libcolord2_1.4.7-3_arm64.deb ... 146s Unpacking libcolord2:arm64 (1.4.7-3) ... 146s Selecting previously unselected package libcups2t64:arm64. 146s Preparing to unpack .../042-libcups2t64_2.4.11-0ubuntu2_arm64.deb ... 146s Unpacking libcups2t64:arm64 (2.4.11-0ubuntu2) ... 146s Selecting previously unselected package libdatrie1:arm64. 146s Preparing to unpack .../043-libdatrie1_0.2.13-3build1_arm64.deb ... 146s Unpacking libdatrie1:arm64 (0.2.13-3build1) ... 146s Selecting previously unselected package libde265-0:arm64. 146s Preparing to unpack .../044-libde265-0_1.0.15-1build5_arm64.deb ... 146s Unpacking libde265-0:arm64 (1.0.15-1build5) ... 146s Selecting previously unselected package libepoxy0:arm64. 146s Preparing to unpack .../045-libepoxy0_1.5.10-2_arm64.deb ... 146s Unpacking libepoxy0:arm64 (1.5.10-2) ... 146s Selecting previously unselected package libexif12:arm64. 146s Preparing to unpack .../046-libexif12_0.6.25-1_arm64.deb ... 146s Unpacking libexif12:arm64 (0.6.25-1) ... 146s Selecting previously unselected package libogg0:arm64. 146s Preparing to unpack .../047-libogg0_1.3.5-3build1_arm64.deb ... 146s Unpacking libogg0:arm64 (1.3.5-3build1) ... 146s Selecting previously unselected package libflac12t64:arm64. 146s Preparing to unpack .../048-libflac12t64_1.4.3+ds-4_arm64.deb ... 146s Unpacking libflac12t64:arm64 (1.4.3+ds-4) ... 146s Selecting previously unselected package libheif-plugin-aomdec:arm64. 146s Preparing to unpack .../049-libheif-plugin-aomdec_1.19.7-1_arm64.deb ... 146s Unpacking libheif-plugin-aomdec:arm64 (1.19.7-1) ... 146s Selecting previously unselected package libheif-plugin-libde265:arm64. 146s Preparing to unpack .../050-libheif-plugin-libde265_1.19.7-1_arm64.deb ... 146s Unpacking libheif-plugin-libde265:arm64 (1.19.7-1) ... 146s Selecting previously unselected package libheif1:arm64. 146s Preparing to unpack .../051-libheif1_1.19.7-1_arm64.deb ... 146s Unpacking libheif1:arm64 (1.19.7-1) ... 146s Selecting previously unselected package libgomp1:arm64. 146s Preparing to unpack .../052-libgomp1_15-20250222-0ubuntu1_arm64.deb ... 146s Unpacking libgomp1:arm64 (15-20250222-0ubuntu1) ... 146s Selecting previously unselected package libimagequant0:arm64. 146s Preparing to unpack .../053-libimagequant0_2.18.0-1build1_arm64.deb ... 146s Unpacking libimagequant0:arm64 (2.18.0-1build1) ... 146s Selecting previously unselected package libgraphite2-3:arm64. 146s Preparing to unpack .../054-libgraphite2-3_1.3.14-2ubuntu1_arm64.deb ... 146s Unpacking libgraphite2-3:arm64 (1.3.14-2ubuntu1) ... 146s Selecting previously unselected package libharfbuzz0b:arm64. 146s Preparing to unpack .../055-libharfbuzz0b_10.2.0-1_arm64.deb ... 146s Unpacking libharfbuzz0b:arm64 (10.2.0-1) ... 146s Selecting previously unselected package libraqm0:arm64. 146s Preparing to unpack .../056-libraqm0_0.10.2-1_arm64.deb ... 146s Unpacking libraqm0:arm64 (0.10.2-1) ... 146s Selecting previously unselected package libxpm4:arm64. 146s Preparing to unpack .../057-libxpm4_1%3a3.5.17-1build2_arm64.deb ... 146s Unpacking libxpm4:arm64 (1:3.5.17-1build2) ... 146s Selecting previously unselected package libgd3:arm64. 146s Preparing to unpack .../058-libgd3_2.3.3-12ubuntu3_arm64.deb ... 146s Unpacking libgd3:arm64 (2.3.3-12ubuntu3) ... 146s Selecting previously unselected package libltdl7:arm64. 146s Preparing to unpack .../059-libltdl7_2.5.4-4_arm64.deb ... 146s Unpacking libltdl7:arm64 (2.5.4-4) ... 146s Selecting previously unselected package libgphoto2-port12t64:arm64. 146s Preparing to unpack .../060-libgphoto2-port12t64_2.5.31-4_arm64.deb ... 146s Unpacking libgphoto2-port12t64:arm64 (2.5.31-4) ... 146s Selecting previously unselected package libgphoto2-6t64:arm64. 146s Preparing to unpack .../061-libgphoto2-6t64_2.5.31-4_arm64.deb ... 146s Unpacking libgphoto2-6t64:arm64 (2.5.31-4) ... 146s Selecting previously unselected package libgstreamer1.0-0:arm64. 146s Preparing to unpack .../062-libgstreamer1.0-0_1.25.90-1_arm64.deb ... 146s Unpacking libgstreamer1.0-0:arm64 (1.25.90-1) ... 146s Selecting previously unselected package liborc-0.4-0t64:arm64. 147s Preparing to unpack .../063-liborc-0.4-0t64_1%3a0.4.41-1_arm64.deb ... 147s Unpacking liborc-0.4-0t64:arm64 (1:0.4.41-1) ... 147s Selecting previously unselected package libgstreamer-plugins-base1.0-0:arm64. 147s Preparing to unpack .../064-libgstreamer-plugins-base1.0-0_1.25.90-1_arm64.deb ... 147s Unpacking libgstreamer-plugins-base1.0-0:arm64 (1.25.90-1) ... 147s Selecting previously unselected package libthai-data. 147s Preparing to unpack .../065-libthai-data_0.1.29-2build1_all.deb ... 147s Unpacking libthai-data (0.1.29-2build1) ... 147s Selecting previously unselected package libthai0:arm64. 147s Preparing to unpack .../066-libthai0_0.1.29-2build1_arm64.deb ... 147s Unpacking libthai0:arm64 (0.1.29-2build1) ... 147s Selecting previously unselected package libpango-1.0-0:arm64. 147s Preparing to unpack .../067-libpango-1.0-0_1.56.1-1_arm64.deb ... 147s Unpacking libpango-1.0-0:arm64 (1.56.1-1) ... 147s Selecting previously unselected package libpangoft2-1.0-0:arm64. 147s Preparing to unpack .../068-libpangoft2-1.0-0_1.56.1-1_arm64.deb ... 147s Unpacking libpangoft2-1.0-0:arm64 (1.56.1-1) ... 147s Selecting previously unselected package libpangocairo-1.0-0:arm64. 147s Preparing to unpack .../069-libpangocairo-1.0-0_1.56.1-1_arm64.deb ... 147s Unpacking libpangocairo-1.0-0:arm64 (1.56.1-1) ... 147s Selecting previously unselected package libwayland-client0:arm64. 147s Preparing to unpack .../070-libwayland-client0_1.23.1-3_arm64.deb ... 147s Unpacking libwayland-client0:arm64 (1.23.1-3) ... 147s Selecting previously unselected package libwayland-cursor0:arm64. 147s Preparing to unpack .../071-libwayland-cursor0_1.23.1-3_arm64.deb ... 147s Unpacking libwayland-cursor0:arm64 (1.23.1-3) ... 147s Selecting previously unselected package libwayland-egl1:arm64. 147s Preparing to unpack .../072-libwayland-egl1_1.23.1-3_arm64.deb ... 147s Unpacking libwayland-egl1:arm64 (1.23.1-3) ... 147s Selecting previously unselected package libxcomposite1:arm64. 147s Preparing to unpack .../073-libxcomposite1_1%3a0.4.6-1_arm64.deb ... 147s Unpacking libxcomposite1:arm64 (1:0.4.6-1) ... 147s Selecting previously unselected package libxfixes3:arm64. 147s Preparing to unpack .../074-libxfixes3_1%3a6.0.0-2build1_arm64.deb ... 147s Unpacking libxfixes3:arm64 (1:6.0.0-2build1) ... 147s Selecting previously unselected package libxcursor1:arm64. 147s Preparing to unpack .../075-libxcursor1_1%3a1.2.3-1_arm64.deb ... 147s Unpacking libxcursor1:arm64 (1:1.2.3-1) ... 147s Selecting previously unselected package libxdamage1:arm64. 147s Preparing to unpack .../076-libxdamage1_1%3a1.1.6-1build1_arm64.deb ... 147s Unpacking libxdamage1:arm64 (1:1.1.6-1build1) ... 147s Selecting previously unselected package libxinerama1:arm64. 147s Preparing to unpack .../077-libxinerama1_2%3a1.1.4-3build1_arm64.deb ... 147s Unpacking libxinerama1:arm64 (2:1.1.4-3build1) ... 147s Selecting previously unselected package libxrandr2:arm64. 147s Preparing to unpack .../078-libxrandr2_2%3a1.5.4-1_arm64.deb ... 147s Unpacking libxrandr2:arm64 (2:1.5.4-1) ... 147s Selecting previously unselected package libgtk-3-common. 147s Preparing to unpack .../079-libgtk-3-common_3.24.48-3ubuntu1_all.deb ... 147s Unpacking libgtk-3-common (3.24.48-3ubuntu1) ... 147s Selecting previously unselected package libgtk-3-0t64:arm64. 147s Preparing to unpack .../080-libgtk-3-0t64_3.24.48-3ubuntu1_arm64.deb ... 147s Unpacking libgtk-3-0t64:arm64 (3.24.48-3ubuntu1) ... 147s Selecting previously unselected package libmp3lame0:arm64. 147s Preparing to unpack .../081-libmp3lame0_3.100-6build1_arm64.deb ... 147s Unpacking libmp3lame0:arm64 (3.100-6build1) ... 147s Selecting previously unselected package libmpg123-0t64:arm64. 147s Preparing to unpack .../082-libmpg123-0t64_1.32.10-1_arm64.deb ... 147s Unpacking libmpg123-0t64:arm64 (1.32.10-1) ... 147s Selecting previously unselected package libopus0:arm64. 147s Preparing to unpack .../083-libopus0_1.5.2-2_arm64.deb ... 147s Unpacking libopus0:arm64 (1.5.2-2) ... 147s Selecting previously unselected package libpcsclite1:arm64. 147s Preparing to unpack .../084-libpcsclite1_2.3.1-1_arm64.deb ... 147s Unpacking libpcsclite1:arm64 (2.3.1-1) ... 147s Selecting previously unselected package libvorbis0a:arm64. 148s Preparing to unpack .../085-libvorbis0a_1.3.7-2_arm64.deb ... 148s Unpacking libvorbis0a:arm64 (1.3.7-2) ... 148s Selecting previously unselected package libvorbisenc2:arm64. 148s Preparing to unpack .../086-libvorbisenc2_1.3.7-2_arm64.deb ... 148s Unpacking libvorbisenc2:arm64 (1.3.7-2) ... 148s Selecting previously unselected package libsndfile1:arm64. 148s Preparing to unpack .../087-libsndfile1_1.2.2-2_arm64.deb ... 148s Unpacking libsndfile1:arm64 (1.2.2-2) ... 148s Selecting previously unselected package libx11-xcb1:arm64. 148s Preparing to unpack .../088-libx11-xcb1_2%3a1.8.10-2_arm64.deb ... 148s Unpacking libx11-xcb1:arm64 (2:1.8.10-2) ... 148s Selecting previously unselected package libpulse0:arm64. 148s Preparing to unpack .../089-libpulse0_1%3a17.0+dfsg1-2ubuntu1_arm64.deb ... 148s Unpacking libpulse0:arm64 (1:17.0+dfsg1-2ubuntu1) ... 148s Selecting previously unselected package libwebpdemux2:arm64. 148s Preparing to unpack .../090-libwebpdemux2_1.5.0-0.1_arm64.deb ... 148s Unpacking libwebpdemux2:arm64 (1.5.0-0.1) ... 148s Selecting previously unselected package libwebpmux3:arm64. 148s Preparing to unpack .../091-libwebpmux3_1.5.0-0.1_arm64.deb ... 148s Unpacking libwebpmux3:arm64 (1.5.0-0.1) ... 148s Selecting previously unselected package libxkbregistry0:arm64. 148s Preparing to unpack .../092-libxkbregistry0_1.7.0-2_arm64.deb ... 148s Unpacking libxkbregistry0:arm64 (1.7.0-2) ... 148s Selecting previously unselected package ocl-icd-libopencl1:arm64. 148s Preparing to unpack .../093-ocl-icd-libopencl1_2.3.2-1build1_arm64.deb ... 148s Unpacking ocl-icd-libopencl1:arm64 (2.3.2-1build1) ... 148s Selecting previously unselected package libz-mingw-w64. 148s Preparing to unpack .../094-libz-mingw-w64_1.3.1+dfsg-1_all.deb ... 148s Unpacking libz-mingw-w64 (1.3.1+dfsg-1) ... 148s Selecting previously unselected package libwine:arm64. 148s Preparing to unpack .../095-libwine_9.0~repack-4build3_arm64.deb ... 148s Unpacking libwine:arm64 (9.0~repack-4build3) ... 149s Selecting previously unselected package libopenjp2-7:arm64. 149s Preparing to unpack .../096-libopenjp2-7_2.5.0-2ubuntu3_arm64.deb ... 149s Unpacking libopenjp2-7:arm64 (2.5.0-2ubuntu3) ... 149s Selecting previously unselected package python3-pil:arm64. 149s Preparing to unpack .../097-python3-pil_11.1.0-5build1_arm64.deb ... 149s Unpacking python3-pil:arm64 (11.1.0-5build1) ... 149s Selecting previously unselected package python3-vdf. 149s Preparing to unpack .../098-python3-vdf_3.4-5_all.deb ... 149s Unpacking python3-vdf (3.4-5) ... 149s Selecting previously unselected package yad. 149s Preparing to unpack .../099-yad_7.2-1_arm64.deb ... 149s Unpacking yad (7.2-1) ... 149s Selecting previously unselected package wine64. 149s Preparing to unpack .../100-wine64_9.0~repack-4build3_arm64.deb ... 149s Unpacking wine64 (9.0~repack-4build3) ... 149s Selecting previously unselected package wine. 149s Preparing to unpack .../101-wine_9.0~repack-4build3_all.deb ... 149s Unpacking wine (9.0~repack-4build3) ... 149s Selecting previously unselected package winetricks. 149s Preparing to unpack .../102-winetricks_20250102-1_all.deb ... 149s Unpacking winetricks (20250102-1) ... 150s Selecting previously unselected package protontricks. 150s Preparing to unpack .../103-protontricks_1.12.0-2_all.deb ... 150s Unpacking protontricks (1.12.0-2) ... 150s Selecting previously unselected package python3-all. 150s Preparing to unpack .../104-python3-all_3.13.2-2_arm64.deb ... 150s Unpacking python3-all (3.13.2-2) ... 150s Selecting previously unselected package python3-iniconfig. 150s Preparing to unpack .../105-python3-iniconfig_1.1.1-2_all.deb ... 150s Unpacking python3-iniconfig (1.1.1-2) ... 150s Selecting previously unselected package python3-packaging. 150s Preparing to unpack .../106-python3-packaging_24.2-1_all.deb ... 150s Unpacking python3-packaging (24.2-1) ... 150s Selecting previously unselected package python3-pluggy. 150s Preparing to unpack .../107-python3-pluggy_1.5.0-1_all.deb ... 150s Unpacking python3-pluggy (1.5.0-1) ... 150s Selecting previously unselected package python3-pytest. 150s Preparing to unpack .../108-python3-pytest_8.3.4-1_all.deb ... 150s Unpacking python3-pytest (8.3.4-1) ... 150s Setting up libgraphite2-3:arm64 (1.3.14-2ubuntu1) ... 150s Setting up liblcms2-2:arm64 (2.16-2) ... 150s Setting up python3-iniconfig (1.1.1-2) ... 150s Setting up libpixman-1-0:arm64 (0.44.0-3) ... 150s Setting up libsharpyuv0:arm64 (1.5.0-0.1) ... 150s Setting up libaom3:arm64 (3.12.0-1) ... 150s Setting up libx11-xcb1:arm64 (2:1.8.10-2) ... 150s Setting up libxdamage1:arm64 (1:1.1.6-1build1) ... 150s Setting up libogg0:arm64 (1.3.5-3build1) ... 150s Setting up liblerc4:arm64 (4.0.0+ds-5ubuntu1) ... 150s Setting up libxpm4:arm64 (1:3.5.17-1build2) ... 150s Setting up hicolor-icon-theme (0.18-2) ... 150s Setting up libxi6:arm64 (2:1.8.2-1) ... 150s Setting up libxrender1:arm64 (1:0.9.10-1.1build1) ... 150s Setting up libdatrie1:arm64 (0.2.13-3build1) ... 150s Setting up libxcb-render0:arm64 (1.17.0-2) ... 150s Setting up python3-vdf (3.4-5) ... 150s Setting up libgdk-pixbuf2.0-common (2.42.12+dfsg-2) ... 150s Setting up libdeflate0:arm64 (1.23-1) ... 150s Setting up python3-all (3.13.2-2) ... 150s Setting up libxcb-shm0:arm64 (1.17.0-2) ... 150s Setting up libmpg123-0t64:arm64 (1.32.10-1) ... 150s Setting up libgomp1:arm64 (15-20250222-0ubuntu1) ... 150s Setting up libz-mingw-w64 (1.3.1+dfsg-1) ... 150s Setting up libjbig0:arm64 (2.1-6.1ubuntu2) ... 150s Setting up libcolord2:arm64 (1.4.7-3) ... 150s Setting up liborc-0.4-0t64:arm64 (1:0.4.41-1) ... 150s Setting up libdconf1:arm64 (0.40.0-5) ... 150s Setting up libasound2-data (1.2.13-1build1) ... 150s Setting up python3-packaging (24.2-1) ... 150s Setting up libasound2t64:arm64 (1.2.13-1build1) ... 150s Setting up libxkbregistry0:arm64 (1.7.0-2) ... 150s Setting up libepoxy0:arm64 (1.5.10-2) ... 150s Setting up libxfixes3:arm64 (1:6.0.0-2build1) ... 150s Setting up libavahi-common-data:arm64 (0.8-16ubuntu1) ... 150s Setting up libatspi2.0-0t64:arm64 (2.55.90-1) ... 150s Setting up libopus0:arm64 (1.5.2-2) ... 150s Setting up libxinerama1:arm64 (2:1.1.4-3build1) ... 150s Setting up libexif12:arm64 (0.6.25-1) ... 150s Setting up libimagequant0:arm64 (2.18.0-1build1) ... 150s Setting up fonts-dejavu-mono (2.37-8) ... 150s Setting up libvorbis0a:arm64 (1.3.7-2) ... 150s Setting up libxrandr2:arm64 (2:1.5.4-1) ... 150s Setting up fonts-dejavu-core (2.37-8) ... 150s Setting up libpcsclite1:arm64 (2.3.1-1) ... 150s Setting up libcapi20-3t64:arm64 (1:3.27-3.2) ... 150s Setting up libjpeg-turbo8:arm64 (2.1.5-3ubuntu2) ... 150s Setting up libltdl7:arm64 (2.5.4-4) ... 150s Setting up python3-pluggy (1.5.0-1) ... 150s Setting up libwebp7:arm64 (1.5.0-0.1) ... 150s Setting up ocl-icd-libopencl1:arm64 (2.3.2-1build1) ... 150s Setting up libasyncns0:arm64 (0.8-6build4) ... 150s Setting up at-spi2-common (2.55.90-1) ... 150s Setting up libopenjp2-7:arm64 (2.5.0-2ubuntu3) ... 150s Setting up libharfbuzz0b:arm64 (10.2.0-1) ... 150s Setting up libthai-data (0.1.29-2build1) ... 150s Setting up libgphoto2-port12t64:arm64 (2.5.31-4) ... 150s Setting up libflac12t64:arm64 (1.4.3+ds-4) ... 150s Setting up libwayland-egl1:arm64 (1.23.1-3) ... 150s Setting up libde265-0:arm64 (1.0.15-1build5) ... 150s Setting up libwebpmux3:arm64 (1.5.0-0.1) ... 150s Setting up libxcomposite1:arm64 (1:0.4.6-1) ... 150s Setting up libgstreamer1.0-0:arm64 (1.25.90-1) ... 150s Setcap worked! gst-ptp-helper is not suid! 150s Setting up libmp3lame0:arm64 (3.100-6build1) ... 150s Setting up libvorbisenc2:arm64 (1.3.7-2) ... 150s Setting up libwayland-client0:arm64 (1.23.1-3) ... 150s Setting up libjpeg8:arm64 (8c-2ubuntu11) ... 150s Setting up libatk1.0-0t64:arm64 (2.55.90-1) ... 150s Setting up fontconfig-config (2.15.0-2ubuntu1) ... 151s Setting up python3-pytest (8.3.4-1) ... 151s Setting up libwebpdemux2:arm64 (1.5.0-0.1) ... 151s Setting up libxcursor1:arm64 (1:1.2.3-1) ... 151s Setting up libavahi-common3:arm64 (0.8-16ubuntu1) ... 151s Setting up libgstreamer-plugins-base1.0-0:arm64 (1.25.90-1) ... 151s Setting up dconf-service (0.40.0-5) ... 151s Setting up libthai0:arm64 (0.1.29-2build1) ... 151s Setting up libraqm0:arm64 (0.10.2-1) ... 151s Setting up libtiff6:arm64 (4.5.1+git230720-4ubuntu4) ... 151s Setting up libwayland-cursor0:arm64 (1.23.1-3) ... 151s Setting up libgdk-pixbuf-2.0-0:arm64 (2.42.12+dfsg-2) ... 151s Setting up libfontconfig1:arm64 (2.15.0-2ubuntu1) ... 151s Setting up libsndfile1:arm64 (1.2.2-2) ... 151s Setting up libavahi-client3:arm64 (0.8-16ubuntu1) ... 151s Setting up libatk-bridge2.0-0t64:arm64 (2.55.90-1) ... 151s Setting up gtk-update-icon-cache (4.17.5+ds-3ubuntu1) ... 151s Setting up fontconfig (2.15.0-2ubuntu1) ... 153s Regenerating fonts cache... done. 153s Setting up dconf-gsettings-backend:arm64 (0.40.0-5) ... 153s Setting up libpulse0:arm64 (1:17.0+dfsg1-2ubuntu1) ... 153s Setting up libpango-1.0-0:arm64 (1.56.1-1) ... 153s Setting up libcairo2:arm64 (1.18.2-2) ... 153s Setting up python3-pil:arm64 (11.1.0-5build1) ... 153s Setting up adwaita-icon-theme (48~beta-3) ... 153s update-alternatives: using /usr/share/icons/Adwaita/cursor.theme to provide /usr/share/icons/default/index.theme (x-cursor-theme) in auto mode 153s Setting up libcairo-gobject2:arm64 (1.18.2-2) ... 153s Setting up libpangoft2-1.0-0:arm64 (1.56.1-1) ... 153s Setting up libcups2t64:arm64 (2.4.11-0ubuntu2) ... 153s Setting up libgtk-3-common (3.24.48-3ubuntu1) ... 153s Setting up libpangocairo-1.0-0:arm64 (1.56.1-1) ... 153s Setting up libheif-plugin-aomdec:arm64 (1.19.7-1) ... 153s Setting up libheif-plugin-libde265:arm64 (1.19.7-1) ... 153s Setting up libheif1:arm64 (1.19.7-1) ... 153s Setting up libgd3:arm64 (2.3.3-12ubuntu3) ... 153s Setting up libgphoto2-6t64:arm64 (2.5.31-4) ... 153s Setting up libwine:arm64 (9.0~repack-4build3) ... 153s Setting up wine64 (9.0~repack-4build3) ... 153s Setting up wine (9.0~repack-4build3) ... 153s Setting up winetricks (20250102-1) ... 153s Processing triggers for libc-bin (2.41-1ubuntu1) ... 153s Processing triggers for man-db (2.13.0-1) ... 154s Processing triggers for libglib2.0-0t64:arm64 (2.84.0-1) ... 154s Setting up libgtk-3-0t64:arm64 (3.24.48-3ubuntu1) ... 155s Processing triggers for udev (257.3-1ubuntu3) ... 155s Setting up yad (7.2-1) ... 155s Setting up protontricks (1.12.0-2) ... 155s Processing triggers for wine (9.0~repack-4build3) ... 155s Processing triggers for libc-bin (2.41-1ubuntu1) ... 156s autopkgtest [10:47:29]: test pytest: [----------------------- 157s ============================= test session starts ============================== 157s platform linux -- Python 3.13.2, pytest-8.3.4, pluggy-1.5.0 157s rootdir: /tmp/autopkgtest.u86IBs/build.sln/src 157s configfile: pyproject.toml 157s plugins: typeguard-4.4.2 157s collected 151 items 157s 157s tests/cli/test_desktop_install.py . [ 0%] 157s tests/cli/test_launch.py FF.......... [ 8%] 158s tests/cli/test_main.py FFFFFFF...FF..FFF.FFFFFFFFFFFF....FFFFFFFFF..FF [ 39%] 158s tests/cli/test_util.py .FFF.F [ 43%] 158s tests/test_config.py .. [ 45%] 158s tests/test_flatpak.py ......... [ 50%] 158s tests/test_gui.py ................... [ 63%] 159s tests/test_steam.py ............................................. [ 93%] 159s tests/test_util.py ........ [ 98%] 159s tests/test_winetricks.py .. [100%] 159s 159s =================================== FAILURES =================================== 159s ________________________ TestCLIRun.test_run_executable ________________________ 159s 159s self = 159s steam_app_factory = .func at 0xe061db882660> 159s default_proton = 159s command_mock = 159s gui_provider = 159s launch_cli = .func at 0xe061db882d40> 159s 159s def test_run_executable( 159s self, steam_app_factory, default_proton, 159s command_mock, gui_provider, launch_cli): 159s """ 159s Run an EXE file by selecting using the GUI 159s """ 159s steam_app = steam_app_factory("Fake game", appid=10) 159s 159s # Fake the user selecting the game 159s gui_provider.mock_stdout = "Fake game: 10" 159s 159s launch_cli(["test.exe"]) 159s 159s # 'test.exe' was executed 159s > command = command_mock.commands[-1] 159s E IndexError: list index out of range 159s 159s /tmp/autopkgtest.u86IBs/build.sln/src/tests/cli/test_launch.py:30: IndexError 159s ------------------------------ Captured log call ------------------------------- 159s DEBUG protontricks:util.py:81 Stream log handler added 159s INFO protontricks:steam.py:413 Found Steam directory at /tmp/pytest-of-ubuntu/pytest-0/test_run_executable0/home/fakeuser/.steam/steam 159s INFO protontricks:steam.py:1003 Found 0 Steam library folders 159s DEBUG protontricks:gui.py:430 Following inaccessible paths were found: set() 159s DEBUG protontricks:gui.py:439 Following paths have been ignored: set() 159s 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 159s 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')] 159s 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 159s DEBUG protontricks:steam.py:887 Found compatdata directories for app 123450: [] 159s DEBUG protontricks:steam.py:1216 Found Steam user entries: [{'steamid3': 42, 'account_name': 'TestUser', 'timestamp': '0'}] 159s INFO protontricks:steam.py:1222 Currently logged-in Steam user: TestUser 159s INFO protontricks:steam.py:1267 Couldn't find custom shortcuts. Maybe none have been created yet? 159s INFO protontricks:gui.py:48 Using 'yad' as GUI provider 159s 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'] 159s _____________________ TestCLIRun.test_run_executable_appid _____________________ 159s 159s self = 159s default_proton = 159s steam_app_factory = .func at 0xe061db883b00> 159s command_mock = 159s launch_cli = .func at 0xe061db8836a0> 159s 159s def test_run_executable_appid( 159s self, default_proton, steam_app_factory, command_mock, launch_cli): 159s """ 159s Run an EXE file directly for a chosen game 159s """ 159s steam_app = steam_app_factory(name="Fake game 1", appid=10) 159s 159s launch_cli(["--appid", "10", "test.exe"]) 159s 159s # 'test.exe' was executed 159s > command = command_mock.commands[-1] 159s E IndexError: list index out of range 159s 159s /tmp/autopkgtest.u86IBs/build.sln/src/tests/cli/test_launch.py:46: IndexError 159s ------------------------------ Captured log setup ------------------------------ 159s 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 159s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 159s ------------------------------ Captured log call ------------------------------- 159s DEBUG protontricks:util.py:81 Stream log handler added 159s INFO protontricks:steam.py:413 Found Steam directory at /tmp/pytest-of-ubuntu/pytest-0/test_run_executable_appid0/home/fakeuser/.steam/steam 159s INFO protontricks:steam.py:1003 Found 0 Steam library folders 159s DEBUG protontricks:gui.py:430 Following inaccessible paths were found: set() 159s DEBUG protontricks:gui.py:439 Following paths have been ignored: set() 159s 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 159s 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')] 159s 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 159s DEBUG protontricks:steam.py:887 Found compatdata directories for app 123450: [] 159s DEBUG protontricks:steam.py:1216 Found Steam user entries: [{'steamid3': 42, 'account_name': 'TestUser', 'timestamp': '0'}] 159s INFO protontricks:steam.py:1222 Currently logged-in Steam user: TestUser 159s INFO protontricks:steam.py:1267 Couldn't find custom shortcuts. Maybe none have been created yet? 159s 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'] 159s ________________________ TestCLIRun.test_run_winetricks ________________________ 159s 159s self = 159s cli = .func at 0xe061db882c00> 159s steam_app_factory = .func at 0xe061db882980> 159s default_proton = 159s command_mock = 159s home_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks0/home/fakeuser') 159s 159s def test_run_winetricks( 159s self, cli, steam_app_factory, default_proton, command_mock, 159s home_dir): 159s """ 159s Perform a Protontricks command directly for a certain game 159s """ 159s proton_install_path = Path(default_proton.install_path) 159s 159s steam_app = steam_app_factory(name="Fake game 1", appid=10) 159s 159s cli(["10", "winecfg"], env={"STEAM_RUNTIME": "0"}) 159s 159s # winecfg was actually run 159s > command = command_mock.commands[-1] 159s E IndexError: list index out of range 159s 159s tests/cli/test_main.py:23: IndexError 159s ------------------------------ Captured log setup ------------------------------ 159s 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 159s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 159s ___________________ TestCLIRun.test_run_winetricks_shortcut ____________________ 159s 159s self = 159s cli = .func at 0xe061dba96200> 159s shortcut_factory = .func at 0xe061dba96160> 159s default_proton = 159s command_mock = 159s steam_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_shortcut0/home/fakeuser/.steam/steam') 159s 159s def test_run_winetricks_shortcut( 159s self, cli, shortcut_factory, default_proton, command_mock, 159s steam_dir): 159s """ 159s Perform a Protontricks command for a non-Steam shortcut 159s """ 159s proton_install_path = Path(default_proton.install_path) 159s shortcut_factory(install_dir="fake/path/", name="fakegame.exe") 159s 159s cli(["4149337689", "winecfg"]) 159s 159s # Default Proton is used 159s > command = command_mock.commands[-1] 159s E IndexError: list index out of range 159s 159s tests/cli/test_main.py:53: IndexError 159s ------------------------------ Captured log setup ------------------------------ 159s 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 159s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 159s _________________ TestCLIRun.test_run_winetricks_select_proton _________________ 159s 159s self = 159s cli = .func at 0xe061dba951c0> 159s steam_app_factory = .func at 0xe061dba963e0> 159s default_proton = 159s custom_proton_factory = .func at 0xe061dba953a0> 159s command_mock = 159s home_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_select_pro0/home/fakeuser') 159s 159s def test_run_winetricks_select_proton( 159s self, cli, steam_app_factory, default_proton, 159s custom_proton_factory, command_mock, home_dir): 159s """ 159s Perform a Protontricks command while selecting a specific 159s Proton version using PROTON_VERSION env var 159s """ 159s steam_app_factory(name="Fake game", appid=10) 159s custom_proton = custom_proton_factory(name="Custom Proton") 159s cli(["10", "winecfg"], env={"PROTON_VERSION": "Custom Proton"}) 159s 159s > assert command_mock.commands[-1].env["PROTON_PATH"] \ 159s == str(custom_proton.install_path) 159s E IndexError: list index out of range 159s 159s tests/cli/test_main.py:69: IndexError 159s ------------------------------ Captured log setup ------------------------------ 159s 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 159s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 159s _________________ TestCLIRun.test_run_winetricks_select_steam __________________ 159s 159s self = 159s cli = .func at 0xe061dba94f40> 159s steam_app_factory = .func at 0xe061dba95da0> 159s default_proton = 159s command_mock = 159s home_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_select_ste0/home/fakeuser') 159s 159s def test_run_winetricks_select_steam( 159s self, cli, steam_app_factory, default_proton, command_mock, 159s home_dir): 159s """ 159s Perform a Protontricks command while selecting a specific 159s Steam installation directory 159s """ 159s steam_app_factory(name="Fake game", appid=10) 159s os.rename( 159s str(home_dir / ".steam" / "steam"), 159s str(home_dir / ".steam_new") 159s ) 159s os.rename( 159s str(home_dir / ".steam" / "root" / "ubuntu12_32"), 159s str(home_dir / ".steam_new" / "ubuntu12_32") 159s ) 159s 159s cli( 159s ["10", "winecfg"], 159s env={"STEAM_DIR": str(home_dir / ".steam_new")} 159s ) 159s 159s > command = command_mock.commands[-1] 159s E IndexError: list index out of range 159s 159s tests/cli/test_main.py:94: IndexError 159s ------------------------------ Captured log setup ------------------------------ 159s 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 159s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 159s _______________ TestCLIRun.test_run_winetricks_steam_runtime_v1 ________________ 159s 159s self = 159s cli = .func at 0xe061dba944a0> 159s steam_app_factory = .func at 0xe061dba94d60> 159s steam_runtime_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_steam_runt0/home/fakeuser/.steam/root/ubuntu12_32') 159s default_proton = 159s command_mock = 159s home_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_steam_runt0/home/fakeuser') 159s 159s def test_run_winetricks_steam_runtime_v1( 159s self, cli, steam_app_factory, steam_runtime_dir, default_proton, 159s command_mock, home_dir): 159s """ 159s Perform a Protontricks command using the older Steam Runtime 159s bundled with Steam 159s """ 159s steam_app_factory(name="Fake game 1", appid=10) 159s 159s cli(["10", "winecfg"], env={"STEAM_RUNTIME": "1"}) 159s 159s wine_bin_dir = ( 159s home_dir / ".cache" / "protontricks" / "proton" / "Proton 4.20" 159s / "bin" 159s ) 159s 159s # winecfg was actually run 159s > command = command_mock.commands[-1] 159s E IndexError: list index out of range 159s 159s tests/cli/test_main.py:121: IndexError 159s ------------------------------ Captured log setup ------------------------------ 159s 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 159s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 159s _______________ TestCLIRun.test_run_winetricks_steam_runtime_v2 ________________ 159s 159s self = 159s cli = .func at 0xe061dba94720> 159s home_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_steam_runt1/home/fakeuser') 159s steam_app_factory = .func at 0xe061dba96ac0> 159s steam_runtime_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_steam_runt1/home/fakeuser/.steam/root/ubuntu12_32') 159s steam_runtime_soldier = 159s command_mock = 159s proton_factory = .func at 0xe061dba94b80> 159s caplog = <_pytest.logging.LogCaptureFixture object at 0xe061dba26db0> 159s 159s def test_run_winetricks_steam_runtime_v2( 159s self, cli, home_dir, steam_app_factory, steam_runtime_dir, 159s steam_runtime_soldier, command_mock, proton_factory, caplog): 159s """ 159s Perform a Protontricks command using a newer Steam Runtime that is 159s installed as its own application 159s """ 159s proton_app = proton_factory( 159s name="Proton 5.13", appid=10, compat_tool_name="proton_513", 159s is_default_proton=True, required_tool_app=steam_runtime_soldier 159s ) 159s steam_app_factory(name="Fake game 1", appid=20) 159s 159s cli(["20", "winecfg"], env={"STEAM_RUNTIME": "1"}) 159s 159s wine_bin_dir = ( 159s home_dir / ".cache" / "protontricks" / "proton" / "Proton 5.13" 159s / "bin" 159s ) 159s 159s # Launcher process was launched to handle launching processes 159s # inside the sandbox 159s > assert command_mock.commands[0].args[0] \ 159s == str(wine_bin_dir / "bwrap-launcher") 159s E IndexError: list index out of range 159s 159s tests/cli/test_main.py:170: IndexError 159s ------------------------------ Captured log call ------------------------------- 159s 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 159s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 159s ___________ TestCLIRun.test_run_winetricks_steam_runtime_v2_no_bwrap ___________ 159s 159s self = 159s cli = .func at 0xe061dba97380> 159s home_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_steam_runt2/home/fakeuser') 159s steam_app_factory = .func at 0xe061dba976a0> 159s steam_runtime_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_steam_runt2/home/fakeuser/.steam/root/ubuntu12_32') 159s steam_runtime_soldier = 159s command_mock = 159s proton_factory = .func at 0xe061dba947c0> 159s caplog = <_pytest.logging.LogCaptureFixture object at 0xe061dba97610> 159s 159s def test_run_winetricks_steam_runtime_v2_no_bwrap( 159s self, cli, home_dir, steam_app_factory, steam_runtime_dir, 159s steam_runtime_soldier, command_mock, proton_factory, caplog): 159s """ 159s Perform a Protontricks command using a newer Steam Runtime 159s *without* bwrap that is installed as its own application 159s """ 159s proton_app = proton_factory( 159s name="Proton 5.13", appid=10, compat_tool_name="proton_513", 159s is_default_proton=True, required_tool_app=steam_runtime_soldier 159s ) 159s steam_app_factory(name="Fake game 1", appid=20) 159s 159s cli(["--no-bwrap", "20", "winecfg"], env={"STEAM_RUNTIME": "1"}) 159s 159s wine_bin_dir = ( 159s home_dir / ".cache" / "protontricks" / "proton" / "Proton 5.13" 159s / "bin" 159s ) 159s 159s > command = command_mock.commands[-1] 159s E IndexError: list index out of range 159s 159s tests/cli/test_main.py:234: IndexError 159s ------------------------------ Captured log call ------------------------------- 159s 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 159s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 159s _________ TestCLIRun.test_run_background_wineserver_toggle[args3-True] _________ 159s 159s self = 159s cli = .func at 0xe061dbaf0540> 159s steam_app_factory = .func at 0xe061dbaf00e0> 159s default_new_proton = 159s command_mock = 159s args = ['--background-wineserver', '--no-bwrap', '-c', "'echo nothing'", '20'] 159s wineserver_launched = True 159s home_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_background_wineserver3/home/fakeuser') 159s 159s @pytest.mark.parametrize( 159s "args,wineserver_launched", 159s [ 159s # background wineserver disabled for bwrap by default 159s (["-c", "'echo nothing'", "20"], False), 159s 159s # background wineserver also disabled by default for everything 159s # else 159s (["--no-bwrap", "-c", "'echo nothing'", "20"], False), 159s 159s # Manually disable background wineserver 159s ( 159s ["--no-background-wineserver", "-c", "'echo nothing'", "20"], 159s False 159s ), 159s 159s # Manually enable background wineserver 159s ( 159s [ 159s "--background-wineserver", "--no-bwrap", 159s "-c", "'echo nothing'", "20" 159s ], 159s True 159s ) 159s ] 159s ) 159s def test_run_background_wineserver_toggle( 159s self, cli, steam_app_factory, default_new_proton, command_mock, 159s args, wineserver_launched, home_dir): 159s """ 159s Try running a Protontricks command with different arguments 159s and ensure background wineserver is (not) launched 159s depending on the scenario 159s """ 159s steam_app_factory(name="Fake game 1", appid=20) 159s 159s cli(args) 159s 159s wineserver_found = any( 159s True for command in command_mock.commands 159s if isinstance(command.args, str) 159s and command.args == str( 159s home_dir / ".cache/protontricks/proton/Proton 7.0/bin" 159s / "wineserver-keepalive" 159s ) 159s ) 159s 159s > assert wineserver_found == wineserver_launched 159s E assert False == True 159s 159s tests/cli/test_main.py:327: AssertionError 159s ------------------------------ Captured log setup ------------------------------ 159s 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 159s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 159s ________________ TestCLIRun.test_run_winetricks_game_not_found _________________ 159s 159s self = 159s cli = .func at 0xe061dbaf0400> 159s steam_app_factory = .func at 0xe061dbaf0d60> 159s default_proton = 159s 159s def test_run_winetricks_game_not_found( 159s self, cli, steam_app_factory, default_proton): 159s """ 159s Try running a Protontricks command for a non-existing app 159s """ 159s result = cli(["100", "winecfg"], expect_returncode=1) 159s 159s > assert "Steam app with the given app ID could not be found" in result 159s 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" 159s 159s tests/cli/test_main.py:336: AssertionError 159s ------------------------------ Captured log setup ------------------------------ 159s 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 159s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 159s _____________________ TestCLIRun.test_run_steam_not_found ______________________ 159s 159s self = 159s cli = .func at 0xe061dbaf1c60> 159s steam_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_steam_not_found0/home/fakeuser/.steam/steam') 159s 159s def test_run_steam_not_found(self, cli, steam_dir): 159s """ 159s Try performing a command with a missing Steam directory 159s """ 159s shutil.rmtree(str(steam_dir)) 159s 159s result = cli(["10", "winecfg"], expect_returncode=1) 159s 159s > assert "Steam installation directory could not be found" in result 159s 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" 159s 159s tests/cli/test_main.py:363: AssertionError 159s ___________________ TestCLIRun.test_run_winetricks_not_found ___________________ 159s 159s self = 159s cli = .func at 0xe061dbaf1800> 159s default_proton = 159s home_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_not_found0/home/fakeuser') 159s steam_app_factory = .func at 0xe061dbaf1bc0> 159s 159s def test_run_winetricks_not_found( 159s self, cli, default_proton, home_dir, steam_app_factory): 159s """ 159s Try performing a command with missing Winetricks executable 159s """ 159s steam_app_factory(name="Fake game 1", appid=10) 159s (home_dir / ".local" / "bin" / "winetricks").unlink() 159s 159s result = cli(["10", "winecfg"], expect_returncode=1) 159s 159s > assert "Winetricks isn't installed" in result 159s 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" 159s 159s tests/cli/test_main.py:375: AssertionError 159s ------------------------------ Captured log setup ------------------------------ 159s 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 159s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 159s _________________ TestCLIRun.test_run_winetricks_from_desktop __________________ 159s 159s self = 159s cli = .func at 0xe061db882c00> 159s default_proton = 159s home_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_from_deskt0/home/fakeuser') 159s steam_app_factory = .func at 0xe061db8827a0> 159s monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xe061dbaa6120> 159s gui_provider = 159s 159s def test_run_winetricks_from_desktop( 159s self, cli, default_proton, home_dir, steam_app_factory, 159s monkeypatch, gui_provider): 159s """ 159s Try performing a command with missing Winetricks executable. 159s 159s Run command using --no-term and ensure error dialog is shown 159s with the expected error message 159s """ 159s steam_app_factory(name="Fake game 1", appid=10) 159s (home_dir / ".local" / "bin" / "winetricks").unlink() 159s 159s cli(["--no-term", "10", "winecfg"], expect_returncode=1) 159s 159s > assert gui_provider.args[0] == "yad" 159s E TypeError: 'NoneType' object is not subscriptable 159s 159s tests/cli/test_main.py:391: TypeError 159s ------------------------------ Captured log setup ------------------------------ 159s 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 159s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 159s _________________ TestCLIRun.test_run_steam_runtime_not_found __________________ 159s 159s self = 159s cli = .func at 0xe061dba97560> 159s steam_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_steam_runtime_not_fou0/home/fakeuser/.steam/steam') 159s steam_app_factory = .func at 0xe061dba97600> 159s 159s def test_run_steam_runtime_not_found( 159s self, cli, steam_dir, steam_app_factory): 159s """ 159s Try performing a command with Steam Runtime enabled but no 159s available Steam Runtime installation 159s """ 159s steam_app_factory(name="Fake game 1", appid=10) 159s result = cli( 159s ["10", "winecfg"], env={"STEAM_RUNTIME": "invalid/path"}, 159s expect_returncode=1 159s ) 159s 159s > assert "Steam Runtime was enabled but couldn't be found" in result 159s 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" 159s 159s tests/cli/test_main.py:426: AssertionError 159s _____________________ TestCLIRun.test_run_proton_not_found _____________________ 159s 159s self = 159s cli = .func at 0xe061dba972e0> 159s steam_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_proton_not_found0/home/fakeuser/.steam/steam') 159s steam_app_factory = .func at 0xe061dba977e0> 159s 159s def test_run_proton_not_found(self, cli, steam_dir, steam_app_factory): 159s steam_app_factory(name="Fake game 1", appid=10) 159s result = cli(["10", "winecfg"], expect_returncode=1) 159s 159s > assert "Proton installation could not be found" in result 159s 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" 159s 159s tests/cli/test_main.py:432: AssertionError 159s __________________ TestCLIRun.test_run_compat_tool_not_proton __________________ 159s 159s self = 159s cli = .func at 0xe061dba94180> 159s steam_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_compat_tool_not_proto0/home/fakeuser/.steam/steam') 159s default_proton = 159s custom_proton_factory = .func at 0xe061dba95080> 159s steam_app_factory = .func at 0xe061dba94fe0> 159s caplog = <_pytest.logging.LogCaptureFixture object at 0xe061dba3bcb0> 159s 159s def test_run_compat_tool_not_proton( 159s self, cli, steam_dir, default_proton, custom_proton_factory, 159s steam_app_factory, caplog): 159s """ 159s Try performing a Protontricks command for a Steam app that 159s uses a compatibility tool that isn't Proton. 159s 159s Regression test for https://github.com/Matoking/protontricks/issues/113 159s """ 159s # Create a compatibility tool that isn't actually Proton 159s tool_app = custom_proton_factory(name="Not Proton") 159s (tool_app.install_path / "proton").unlink() 159s 159s steam_app_factory( 159s name="Fake game", appid=10, compat_tool_name="Not Proton" 159s ) 159s 159s result = cli(["10", "winecfg"], expect_returncode=1) 159s 159s > assert "Proton installation could not be found" in result 159s 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" 159s 159s tests/cli/test_main.py:453: AssertionError 159s ------------------------------ Captured log setup ------------------------------ 159s 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 159s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 159s ________________ TestCLIRun.test_run_command_proton_incomplete _________________ 159s 159s self = 159s cli = .func at 0xe061dba945e0> 159s steam_app_factory = .func at 0xe061dba94cc0> 159s default_proton = 159s 159s def test_run_command_proton_incomplete( 159s self, cli, steam_app_factory, default_proton): 159s """ 159s Try performing a Protontricks command using a Proton installation that 159s is incomplete because it hasn't been launched yet. 159s 159s Regression test for 159s https://github.com/flathub/com.github.Matoking.protontricks/issues/10 159s """ 159s # Remove the 'dist' directory to make the Proton installation 159s # incomplete 159s shutil.rmtree(str(default_proton.install_path / "dist")) 159s 159s steam_app_factory(name="Fake game", appid=10) 159s 159s result = cli(["10", "winecfg"], expect_returncode=1) 159s 159s > assert "Proton installation is incomplete" in result 159s 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" 159s 159s tests/cli/test_main.py:478: AssertionError 159s ------------------------------ Captured log setup ------------------------------ 159s 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 159s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 159s ________________ TestCLIRun.test_run_command_runtime_incomplete ________________ 159s 159s self = 159s cli = .func at 0xe061dba956c0> 159s steam_app_factory = .func at 0xe061dba96340> 159s steam_runtime_soldier = 159s proton_factory = .func at 0xe061dba962a0> 159s steam_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_command_runtime_incom0/home/fakeuser/.steam/steam') 159s 159s def test_run_command_runtime_incomplete( 159s self, cli, steam_app_factory, steam_runtime_soldier, 159s proton_factory, steam_dir): 159s """ 159s Try performing a Protontricks command using a Proton installation that 159s is still missing a Steam Runtime installation. 159s 159s Regression test for https://github.com/Matoking/protontricks/issues/75 159s """ 159s proton_factory( 159s name="Proton 5.13", appid=10, compat_tool_name="proton_513", 159s is_default_proton=True, required_tool_app=steam_runtime_soldier 159s ) 159s steam_app_factory(name="Fake game 1", appid=20) 159s 159s # Delete the Steam Runtime installation to simulate an incomplete 159s # Proton installation that's missing the required Steam Runtime 159s shutil.rmtree(str(steam_runtime_soldier.install_path)) 159s (steam_dir / "steamapps" / "appmanifest_1391110.acf").unlink() 159s 159s > with pytest.raises(RuntimeError) as exc: 159s E Failed: DID NOT RAISE 159s 159s tests/cli/test_main.py:500: Failed 159s ------------------------------ Captured log call ------------------------------- 159s 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 159s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 159s _____________________ TestCLIRun.test_old_flatpak_detected _____________________ 159s 159s self = 159s cli = .func at 0xe061dba96020> 159s monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xe061dba3b3f0> 159s caplog = <_pytest.logging.LogCaptureFixture object at 0xe061dba3baf0> 159s 159s def test_old_flatpak_detected(self, cli, monkeypatch, caplog): 159s """ 159s Try performing a Protontricks command when running inside an older 159s Flatpak environment and ensure bwrap is disabled. 159s """ 159s cli(["-s", "nothing"]) 159s 159s # No warning is printed since we're not running inside Flatpak 159s assert len([ 159s record for record in caplog.records 159s if record.levelname == "WARNING" 159s ]) == 0 159s 159s # Fake a Flatpak environment 159s monkeypatch.setattr( 159s "protontricks.cli.main.get_running_flatpak_version", 159s # Mock version 1.12.0. 1.12.1 is new enough to not require 159s # disabling bwrap. 159s lambda: (1, 12, 0) 159s ) 159s 159s cli(["-s", "nothing"]) 159s 159s > assert len([ 159s record for record in caplog.records 159s if record.levelname == "WARNING" 159s ]) == 1 159s E assert 0 == 1 159s E + where 0 = len([]) 159s 159s tests/cli/test_main.py:529: AssertionError 159s _____________________ TestCLIRun.test_new_flatpak_detected _____________________ 159s 159s self = 159s cli = .func at 0xe061dbaf07c0> 159s monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xe061dba2bb60> 159s caplog = <_pytest.logging.LogCaptureFixture object at 0xe061dba783d0> 159s 159s def test_new_flatpak_detected(self, cli, monkeypatch, caplog): 159s """ 159s Try performing a Protontricks command when running inside a newer 159s Flatpak environment and ensure Flatpak is detected correctly. 159s """ 159s # Fake a newer Flatpak environment 159s monkeypatch.setattr( 159s "protontricks.cli.main.get_running_flatpak_version", 159s lambda: (1, 12, 1) 159s ) 159s 159s cli(["-s", "nothing"]) 159s 159s # Flatpak is new enough not to generate a warning. 159s assert len([ 159s record for record in caplog.records 159s if record.levelname == "WARNING" 159s ]) == 0 159s > assert any([ 159s record for record in caplog.records 159s if record.levelname == "INFO" 159s and "Running inside Flatpak sandbox, version 1.12.1" 159s in record.message 159s ]) 159s E assert False 159s E + where False = any([]) 159s 159s tests/cli/test_main.py:560: AssertionError 159s _____________ TestCLIRun.test_cli_error_handler_uncaught_exception _____________ 159s 159s self = 159s cli = .func at 0xe061dbaf0d60> 159s default_proton = 159s steam_app_factory = .func at 0xe061dbaf0680> 159s monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xe061dba3b1c0> 159s gui_provider = 159s 159s def test_cli_error_handler_uncaught_exception( 159s self, cli, default_proton, steam_app_factory, monkeypatch, 159s gui_provider): 159s """ 159s Ensure that 'cli_error_handler' correctly catches any uncaught 159s exception and includes a stack trace in the error dialog. 159s """ 159s def _mock_from_appmanifest(*args, **kwargs): 159s raise ValueError("Test appmanifest error") 159s 159s steam_app_factory(name="Fake game", appid=10) 159s 159s monkeypatch.setattr( 159s "protontricks.steam.SteamApp.from_appmanifest", 159s _mock_from_appmanifest 159s ) 159s 159s cli(["--no-term", "-s", "Fake"], expect_returncode=1) 159s 159s > assert gui_provider.args[0] == "yad" 159s E TypeError: 'NoneType' object is not subscriptable 159s 159s tests/cli/test_main.py:586: TypeError 159s ------------------------------ Captured log setup ------------------------------ 159s 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 159s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 159s ______________ TestCLIRun.test_run_filesystem_permission_missing _______________ 159s 159s self = 159s cli = .func at 0xe061dbaf16c0> 159s steam_library_factory = .func at 0xe061dbaf1440> 159s caplog = <_pytest.logging.LogCaptureFixture object at 0xe061dba3e740> 159s 159s @pytest.mark.usefixtures("flatpak_sandbox") 159s def test_run_filesystem_permission_missing( 159s self, cli, steam_library_factory, caplog): 159s """ 159s Try performing a command in a Flatpak sandbox where the user 159s hasn't provided adequate fileystem permissions. Ensure warning is 159s printed. 159s """ 159s path = steam_library_factory(name="GameDrive") 159s 159s cli(["-s", "fake"]) 159s 159s > record = next( 159s record for record in caplog.records 159s if "grant access to the required directories" in record.message 159s ) 159s E StopIteration 159s 159s tests/cli/test_main.py:605: StopIteration 159s 159s The above exception was the direct cause of the following exception: 159s 159s cls = 159s func = . at 0xe061dbaf0cc0> 159s when = 'call' 159s reraise = (, ) 159s 159s @classmethod 159s def from_call( 159s cls, 159s func: Callable[[], TResult], 159s when: Literal["collect", "setup", "call", "teardown"], 159s reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 159s ) -> CallInfo[TResult]: 159s """Call func, wrapping the result in a CallInfo. 159s 159s :param func: 159s The function to call. Called without arguments. 159s :type func: Callable[[], _pytest.runner.TResult] 159s :param when: 159s The phase in which the function is called. 159s :param reraise: 159s Exception or exceptions that shall propagate if raised by the 159s function, instead of being wrapped in the CallInfo. 159s """ 159s excinfo = None 159s start = timing.time() 159s precise_start = timing.perf_counter() 159s try: 159s > result: TResult | None = func() 159s 159s /usr/lib/python3/dist-packages/_pytest/runner.py:341: 159s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 159s /usr/lib/python3/dist-packages/_pytest/runner.py:242: in 159s lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise 159s /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ 159s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 159s /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec 159s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 159s /usr/lib/python3/dist-packages/_pytest/threadexception.py:92: in pytest_runtest_call 159s yield from thread_exception_runtest_hook() 159s /usr/lib/python3/dist-packages/_pytest/threadexception.py:68: in thread_exception_runtest_hook 159s yield 159s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:95: in pytest_runtest_call 159s yield from unraisable_exception_runtest_hook() 159s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:70: in unraisable_exception_runtest_hook 159s yield 159s /usr/lib/python3/dist-packages/_pytest/logging.py:846: in pytest_runtest_call 159s yield from self._runtest_for(item, "call") 159s /usr/lib/python3/dist-packages/_pytest/logging.py:829: in _runtest_for 159s yield 159s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 159s 159s self = > _state='suspended' _in_suspended=False> _capture_fixture=<_pytest.capture.CaptureFixture object at 0xe061dba3f150>> 159s item = 159s 159s @hookimpl(wrapper=True) 159s def pytest_runtest_call(self, item: Item) -> Generator[None]: 159s with self.item_capture("call", item): 159s > return (yield) 159s E RuntimeError: generator raised StopIteration 159s 159s /usr/lib/python3/dist-packages/_pytest/capture.py:880: RuntimeError 159s ______________________ TestCLIRun.test_run_bwrap_default _______________________ 159s 159s self = 159s cli = .func at 0xe061dba96840> 159s steam_app_factory = .func at 0xe061dba953a0> 159s steam_runtime_soldier = 159s proton_factory = .func at 0xe061dba963e0> 159s command_mock = 159s caplog = <_pytest.logging.LogCaptureFixture object at 0xe061db99c1a0> 159s 159s @pytest.mark.usefixtures("command_mock") 159s def test_run_bwrap_default( 159s self, cli, steam_app_factory, steam_runtime_soldier, 159s proton_factory, command_mock, caplog): 159s """ 159s Perform command_mock for two Proton apps, one using a Proton version 159s using the legacy Steam Runtime and another app using newer Steam 159s Runtime with bwrap. Ensure that the correct default for `use_bwrap` 159s is used in both cases. 159s 159s Regression test for #150 159s """ 159s proton_factory( 159s name="Old Proton", appid=123450, compat_tool_name="old_proton", 159s ) 159s proton_factory( 159s name="New Proton", appid=543210, compat_tool_name="new_proton", 159s required_tool_app=steam_runtime_soldier 159s ) 159s 159s steam_app_factory( 159s name="Fake game", appid=10, compat_tool_name="old_proton" 159s ) 159s steam_app_factory( 159s name="Fake game 2", appid=20, compat_tool_name="new_proton" 159s ) 159s 159s # bwrap is disabled for the old app by default 159s cli(["-v", "-c", "bash", "10"]) 159s > assert any( 159s filter(lambda msg: "Using 'bwrap = False'" in msg, caplog.messages) 159s ) 159s E assert False 159s E + where False = any() 159s E + where = filter(. at 0xe061dba95ee0>, []) 159s E + where [] = <_pytest.logging.LogCaptureFixture object at 0xe061db99c1a0>.messages 159s 159s tests/cli/test_main.py:641: AssertionError 159s ------------------------------ Captured log call ------------------------------- 159s 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 159s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 159s 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 159s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 159s __________________ TestCLIRun.test_select_steam_installation ___________________ 159s 159s self = 159s cli = .func at 0xe061dba95080> 159s steam_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_select_steam_installation0/home/fakeuser/.steam/steam') 159s flatpak_steam_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_select_steam_installation0/home/fakeuser/.var/app/com.valvesoftware.Steam/data/Steam') 159s steam_app_factory = .func at 0xe061dba95da0> 159s proton_factory = .func at 0xe061dba94cc0> 159s gui_provider = 159s 159s @pytest.mark.usefixtures("flatpak_sandbox") 159s def test_select_steam_installation( 159s self, cli, steam_dir, flatpak_steam_dir, steam_app_factory, 159s proton_factory, gui_provider): 159s """ 159s Test that the user is prompted to select the Steam installation, 159s and that the correct Steam installation is used in both cases 159s """ 159s # Only the Flatpak installation has an app 159s steam_app_factory( 159s name="Native Steam app", appid=10 159s ) 159s 159s proton_factory( 159s name="Flatpak Proton", appid=123450, 159s compat_tool_name="flatpak_proton" 159s ) 159s steam_app_factory( 159s name="Flatpak Steam app", appid=10, 159s compat_tool_name="flatpak_proton", 159s library_dir=flatpak_steam_dir, 159s ) 159s 159s # Mock the user choosing the Flatpak installation. 159s # Only the index is actually checked in the actual function. 159s gui_provider.mock_stdout = "1: Native - /home/fake/.steam" 159s 159s result = cli(["-s", "app"]) 159s 159s > assert "Native Steam app (10)" in result 159s 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" 159s 159s tests/cli/test_main.py:682: AssertionError 159s ------------------------------ Captured log call ------------------------------- 159s 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 159s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 159s _______________ TestCLIRun.test_steam_installation_not_selected ________________ 159s 159s self = 159s cli = .func at 0xe061dba96de0> 159s gui_provider = 159s 159s @pytest.mark.usefixtures( 159s "flatpak_sandbox", "steam_dir", "flatpak_steam_dir" 159s ) 159s def test_steam_installation_not_selected(self, cli, gui_provider): 159s """ 159s Test that not selecting a Steam installation results in the correct 159s exit message 159s """ 159s # Mock the user choosing the Flatpak installation. 159s # Only the index is actually checked in the actual function. 159s gui_provider.mock_stdout = "" 159s gui_provider.mock_returncode = 1 159s 159s result = cli(["-s", "app"], expect_returncode=1) 159s 159s > assert "No Steam installation was selected" in result 159s 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" 159s 159s tests/cli/test_main.py:708: AssertionError 159s _______________________ TestCLICommand.test_run_command ________________________ 159s 159s self = 159s cli = .func at 0xe061dba96ac0> 159s default_proton = 159s steam_app_factory = .func at 0xe061dba94400> 159s gui_provider = 159s command_mock = 159s home_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_command0/home/fakeuser') 159s 159s def test_run_command( 159s self, cli, default_proton, steam_app_factory, gui_provider, 159s command_mock, home_dir): 159s """ 159s Run a shell command for a given game 159s """ 159s steam_app = steam_app_factory(name="Fake game", appid=10) 159s proton_install_path = default_proton.install_path 159s 159s cli(["-c", "bash", "10"]) 159s 159s > command = command_mock.commands[-1] 159s E IndexError: list index out of range 159s 159s tests/cli/test_main.py:805: IndexError 159s ------------------------------ Captured log setup ------------------------------ 159s 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 159s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 159s ___________________ TestCLICommand.test_run_command_cwd_app ____________________ 159s 159s self = 159s cli = .func at 0xe061db882200> 159s steam_app_factory = .func at 0xe061db882ca0> 159s command_mock = 159s 159s @pytest.mark.usefixtures("default_proton") 159s def test_run_command_cwd_app(self, cli, steam_app_factory, command_mock): 159s """ 159s Run a shell command for a given game using `--cwd-app` flag and 159s ensure the working directory was set to the game's installation 159s directory 159s """ 159s steam_app = steam_app_factory(name="Fake game", appid=10) 159s 159s cli(["--cwd-app", "-c", "bash", "10"]) 159s 159s > command = command_mock.commands[-1] 159s E IndexError: list index out of range 159s 159s tests/cli/test_main.py:839: IndexError 159s ------------------------------ Captured log setup ------------------------------ 159s 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 159s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 159s __________________ TestCLISearch.test_search_case_insensitive __________________ 159s 159s self = 159s cli = .func at 0xe061dbaf2fc0> 159s steam_app_factory = .func at 0xe061dbaf0180> 159s 159s def test_search_case_insensitive(self, cli, steam_app_factory): 159s """ 159s Do a case-insensitive search 159s """ 159s steam_app_factory(name="FaKe GaMe 1", appid=10) 159s steam_app_factory(name="FAKE GAME 2", appid=20) 159s 159s # Search is case-insensitive 159s stdout = cli(["-s", "game"]) 159s 159s > assert "FaKe GaMe 1 (10)" in stdout 159s 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" 159s 159s tests/cli/test_main.py:856: AssertionError 159s _________________ TestCLISearch.test_search_pfx_lock_required __________________ 159s 159s self = 159s cli = .func at 0xe061dbaf0f40> 159s steam_app_factory = .func at 0xe061dbaf07c0> 159s 159s def test_search_pfx_lock_required(self, cli, steam_app_factory): 159s """ 159s Do a search for a game that doesn't have a complete prefix yet 159s """ 159s steam_app = steam_app_factory(name="Fake game", appid=10) 159s 159s # Delete the pfx.lock file that signifies that the game has been 159s # launched at least once. Protontricks requires that this file 159s # exists 159s (Path(steam_app.prefix_path).parent / "pfx.lock").unlink() 159s 159s stdout = cli(["-s", "game"]) 159s 159s > assert "Found no games" in stdout 159s 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" 159s 159s tests/cli/test_main.py:872: AssertionError 159s _________________ TestCLISearch.test_search_multiple_keywords __________________ 159s 159s self = 159s cli = .func at 0xe061dbaf0d60> 159s steam_app_factory = .func at 0xe061dbaf1d00> 159s 159s def test_search_multiple_keywords(self, cli, steam_app_factory): 159s """ 159s Do a search for games with multiple subsequent words from the entire 159s name 159s """ 159s steam_app_factory(name="Apple banana cinnamon", appid=10) 159s steam_app_factory(name="Apple banana", appid=20) 159s 159s stdout = cli(["-s", "apple", "banana"]) 159s 159s # First game is found, second is not 159s > assert "Apple banana cinnamon (10)" in stdout 159s 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" 159s 159s tests/cli/test_main.py:886: AssertionError 159s __________________ TestCLISearch.test_search_strip_non_ascii ___________________ 159s 159s self = 159s cli = .func at 0xe061dbaf3060> 159s steam_app_factory = .func at 0xe061dbaf2660> 159s 159s def test_search_strip_non_ascii(self, cli, steam_app_factory): 159s """ 159s Do a search for a game with various symbols that are ignored 159s when doing the search 159s """ 159s steam_app_factory( 159s name="Frog™ Simulator®: Year of the 🐸 Edition", appid=10 159s ) 159s 159s # Non-ASCII symbols are not checked for when doing the search 159s stdout = cli([ 159s "-s", "frog", "simulator", "year", "of", "the", "edition" 159s ]) 159s 159s > assert "Frog™ Simulator®: Year of the 🐸 Edition (10)" in stdout 159s 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" 159s 159s tests/cli/test_main.py:909: AssertionError 159s ______________ TestCLISearch.test_search_multiple_library_folders ______________ 159s 159s self = 159s cli = .func at 0xe061db881c60> 159s steam_app_factory = .func at 0xe061db882c00> 159s steam_library_factory = .func at 0xe061db882660> 159s 159s def test_search_multiple_library_folders( 159s self, cli, steam_app_factory, steam_library_factory): 159s """ 159s Create three games in three different locations and ensure 159s all are found when searched for 159s """ 159s library_dir_a = steam_library_factory("LibraryA") 159s library_dir_b = steam_library_factory("LibraryB") 159s 159s steam_app_factory(name="Fake game 1", appid=10) 159s steam_app_factory( 159s name="Fake game 2", appid=20, library_dir=library_dir_a 159s ) 159s steam_app_factory( 159s name="Fake game 3", appid=30, library_dir=library_dir_b 159s ) 159s 159s # All three games should be found automatically 159s result = cli(["-s", "game"]) 159s 159s > assert "Fake game 1" in result 159s 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" 159s 159s tests/cli/test_main.py:931: AssertionError 159s ______________________ TestCLISearch.test_search_shortcut ______________________ 159s 159s self = 159s cli = .func at 0xe061dba976a0> 159s shortcut_factory = .func at 0xe061dba94400> 159s 159s def test_search_shortcut( 159s self, cli, shortcut_factory): 159s """ 159s Create two non-Steam shortcut and ensure they can be found 159s """ 159s shortcut_factory(install_dir="fake/path/", name="fakegame.exe") 159s shortcut_factory(install_dir="fake/path2/", name="fakegame.exe") 159s 159s result = cli(["-v", "-s", "steam"]) 159s 159s > assert "Non-Steam shortcut: fakegame.exe (4149337689)" in result 159s 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" 159s 159s tests/cli/test_main.py:945: AssertionError 159s _______________________ TestCLISearch.test_list_all_apps _______________________ 159s 159s self = 159s cli = .func at 0xe061dba97100> 159s steam_app_factory = .func at 0xe061dba96de0> 159s 159s def test_list_all_apps(self, cli, steam_app_factory): 159s """ 159s List all apps using `-l` CLI flag 159s """ 159s steam_app_factory(name="Game number one", appid=10) 159s steam_app_factory(name="Fake game", appid=20) 159s 159s result = cli(["-l"]) 159s 159s > assert "Game number one" in result 159s 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" 159s 159s tests/cli/test_main.py:957: AssertionError 159s ___________________ test_cli_enable_logging[-v-log_levels1] ____________________ 159s 159s cli = .func at 0xe061dba94c20>, parameter = '-v' 159s log_levels = ['INFO'] 159s 159s @pytest.mark.parametrize( 159s "parameter,log_levels", 159s [ 159s (None, []), 159s ("-v", ["INFO"]), 159s ("-vv", ["INFO", "DEBUG"]) 159s ] 159s ) 159s def test_cli_enable_logging(cli, parameter, log_levels): 159s """ 159s Run the CLI interface with different logging levels and ensure 159s that log messages with corresponding log levels are printed 159s """ 159s if parameter: 159s _, stderr = cli( 159s [parameter, "-s", "nothing"], 159s expect_returncode=1, # We don't care whether the command succeeds 159s include_stderr=True 159s ) 159s 159s for log_level in log_levels: 159s > assert log_level in stderr 159s E AssertionError: assert 'INFO' in '' 159s 159s tests/cli/test_main.py:999: AssertionError 159s ___________________ test_cli_enable_logging[-vv-log_levels2] ___________________ 159s 159s cli = .func at 0xe061dba94680>, parameter = '-vv' 159s log_levels = ['INFO', 'DEBUG'] 159s 159s @pytest.mark.parametrize( 159s "parameter,log_levels", 159s [ 159s (None, []), 159s ("-v", ["INFO"]), 159s ("-vv", ["INFO", "DEBUG"]) 159s ] 159s ) 159s def test_cli_enable_logging(cli, parameter, log_levels): 159s """ 159s Run the CLI interface with different logging levels and ensure 159s that log messages with corresponding log levels are printed 159s """ 159s if parameter: 159s _, stderr = cli( 159s [parameter, "-s", "nothing"], 159s expect_returncode=1, # We don't care whether the command succeeds 159s include_stderr=True 159s ) 159s 159s for log_level in log_levels: 159s > assert log_level in stderr 159s E AssertionError: assert 'INFO' in '' 159s 159s tests/cli/test_main.py:999: AssertionError 159s __________________ test_cli_error_handler_uncaught_exception ___________________ 159s 159s cli = .func at 0xe061dbaf3560> 159s default_proton = 159s steam_app_factory = .func at 0xe061dbaf37e0> 159s broken_appmanifest = None 159s gui_provider = 159s 159s def test_cli_error_handler_uncaught_exception( 159s cli, default_proton, steam_app_factory, broken_appmanifest, 159s gui_provider): 159s """ 159s Ensure that 'cli_error_handler' correctly catches any uncaught 159s exception and includes a stack trace in the error dialog. 159s """ 159s steam_app_factory(name="Fake game", appid=10) 159s 159s cli(["--no-term", "-s", "Fake"], expect_returncode=1) 159s 159s > assert gui_provider.args[0] == "yad" 159s E TypeError: 'NoneType' object is not subscriptable 159s 159s tests/cli/test_util.py:47: TypeError 159s ------------------------------ Captured log setup ------------------------------ 159s 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 159s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 159s _________________ test_cli_error_handler_gui_provider_env[yad] _________________ 159s 159s cli = .func at 0xe061dbaf0720> 159s default_proton = 159s steam_app_factory = .func at 0xe061dbaf1620> 159s monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xe061db7c6900> 159s broken_appmanifest = None 159s gui_provider = 159s gui_cmd = 'yad' 159s 159s @pytest.mark.parametrize("gui_cmd", ["yad", "zenity"]) 159s def test_cli_error_handler_gui_provider_env( 159s cli, default_proton, steam_app_factory, monkeypatch, 159s broken_appmanifest, gui_provider, gui_cmd): 159s """ 159s Ensure that correct GUI provider is used depending on 'PROTONTRICKS_GUI' 159s environment variable 159s """ 159s monkeypatch.setenv("PROTONTRICKS_GUI", gui_cmd) 159s 159s steam_app_factory(name="Fake game", appid=10) 159s 159s cli(["--no-term", "-s", "Fake"], expect_returncode=1) 159s 159s > message = gui_provider.kwargs["input"] 159s E TypeError: 'NoneType' object is not subscriptable 159s 159s tests/cli/test_util.py:70: TypeError 159s ------------------------------ Captured log setup ------------------------------ 159s 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 159s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 159s _______________ test_cli_error_handler_gui_provider_env[zenity] ________________ 159s 159s cli = .func at 0xe061dbaf0180> 159s default_proton = 159s steam_app_factory = .func at 0xe061dbaf2fc0> 159s monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xe061db7c6a50> 159s broken_appmanifest = None 159s gui_provider = 159s gui_cmd = 'zenity' 159s 159s @pytest.mark.parametrize("gui_cmd", ["yad", "zenity"]) 159s def test_cli_error_handler_gui_provider_env( 159s cli, default_proton, steam_app_factory, monkeypatch, 159s broken_appmanifest, gui_provider, gui_cmd): 159s """ 159s Ensure that correct GUI provider is used depending on 'PROTONTRICKS_GUI' 159s environment variable 159s """ 159s monkeypatch.setenv("PROTONTRICKS_GUI", gui_cmd) 159s 159s steam_app_factory(name="Fake game", appid=10) 159s 159s cli(["--no-term", "-s", "Fake"], expect_returncode=1) 159s 159s > message = gui_provider.kwargs["input"] 159s E TypeError: 'NoneType' object is not subscriptable 159s 159s tests/cli/test_util.py:70: TypeError 159s ------------------------------ Captured log setup ------------------------------ 159s 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 159s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 159s ____________________________ test_log_file_cleanup _____________________________ 159s 159s cli = .func at 0xe061dbaf0860> 159s steam_app_factory = .func at 0xe061dbaf3ce0> 159s gui_provider = 159s 159s def test_log_file_cleanup(cli, steam_app_factory, gui_provider): 159s """ 159s Ensure that log file contains the log files generated during the 159s CLI call and that it is cleared after running `_delete_log_file` 159s """ 159s steam_app_factory(name="Fake game", appid=10) 159s cli(["--no-term", "-s", "Fake"]) 159s 159s > assert "Found Steam directory" in _get_log_file_path().read_text() 159s 159s tests/cli/test_util.py:113: 159s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 159s /usr/lib/python3.13/pathlib/_local.py:548: in read_text 159s return PathBase.read_text(self, encoding, errors, newline) 159s /usr/lib/python3.13/pathlib/_abc.py:632: in read_text 159s with self.open(mode='r', encoding=encoding, errors=errors, newline=newline) as f: 159s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 159s 159s self = PosixPath('/tmp/protontricks3155.log'), mode = 'r', buffering = -1 159s encoding = 'locale', errors = None, newline = None 159s 159s def open(self, mode='r', buffering=-1, encoding=None, 159s errors=None, newline=None): 159s """ 159s Open the file pointed to by this path and return a file object, as 159s the built-in open() function does. 159s """ 159s if "b" not in mode: 159s encoding = io.text_encoding(encoding) 159s > return io.open(self, mode, buffering, encoding, errors, newline) 159s E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/protontricks3155.log' 159s 159s /usr/lib/python3.13/pathlib/_local.py:539: FileNotFoundError 159s =============================== warnings summary =============================== 159s ../../../../usr/lib/python3/dist-packages/protontricks/util.py:11 159s /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 159s import pkg_resources 159s 159s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 159s =========================== short test summary info ============================ 159s FAILED tests/cli/test_launch.py::TestCLIRun::test_run_executable - IndexError... 159s FAILED tests/cli/test_launch.py::TestCLIRun::test_run_executable_appid - Inde... 159s FAILED tests/cli/test_main.py::TestCLIRun::test_run_winetricks - IndexError: ... 159s FAILED tests/cli/test_main.py::TestCLIRun::test_run_winetricks_shortcut - Ind... 159s FAILED tests/cli/test_main.py::TestCLIRun::test_run_winetricks_select_proton 159s FAILED tests/cli/test_main.py::TestCLIRun::test_run_winetricks_select_steam 159s FAILED tests/cli/test_main.py::TestCLIRun::test_run_winetricks_steam_runtime_v1 159s FAILED tests/cli/test_main.py::TestCLIRun::test_run_winetricks_steam_runtime_v2 159s FAILED tests/cli/test_main.py::TestCLIRun::test_run_winetricks_steam_runtime_v2_no_bwrap 159s FAILED tests/cli/test_main.py::TestCLIRun::test_run_background_wineserver_toggle[args3-True] 159s FAILED tests/cli/test_main.py::TestCLIRun::test_run_winetricks_game_not_found 159s FAILED tests/cli/test_main.py::TestCLIRun::test_run_steam_not_found - assert ... 159s FAILED tests/cli/test_main.py::TestCLIRun::test_run_winetricks_not_found - as... 159s FAILED tests/cli/test_main.py::TestCLIRun::test_run_winetricks_from_desktop 159s FAILED tests/cli/test_main.py::TestCLIRun::test_run_steam_runtime_not_found 159s FAILED tests/cli/test_main.py::TestCLIRun::test_run_proton_not_found - assert... 159s FAILED tests/cli/test_main.py::TestCLIRun::test_run_compat_tool_not_proton - ... 159s FAILED tests/cli/test_main.py::TestCLIRun::test_run_command_proton_incomplete 159s FAILED tests/cli/test_main.py::TestCLIRun::test_run_command_runtime_incomplete 159s FAILED tests/cli/test_main.py::TestCLIRun::test_old_flatpak_detected - assert... 159s FAILED tests/cli/test_main.py::TestCLIRun::test_new_flatpak_detected - assert... 159s FAILED tests/cli/test_main.py::TestCLIRun::test_cli_error_handler_uncaught_exception 159s FAILED tests/cli/test_main.py::TestCLIRun::test_run_filesystem_permission_missing 159s FAILED tests/cli/test_main.py::TestCLIRun::test_run_bwrap_default - assert False 159s FAILED tests/cli/test_main.py::TestCLIRun::test_select_steam_installation - a... 159s FAILED tests/cli/test_main.py::TestCLIRun::test_steam_installation_not_selected 159s FAILED tests/cli/test_main.py::TestCLICommand::test_run_command - IndexError:... 159s FAILED tests/cli/test_main.py::TestCLICommand::test_run_command_cwd_app - Ind... 159s FAILED tests/cli/test_main.py::TestCLISearch::test_search_case_insensitive - ... 159s FAILED tests/cli/test_main.py::TestCLISearch::test_search_pfx_lock_required 159s FAILED tests/cli/test_main.py::TestCLISearch::test_search_multiple_keywords 159s FAILED tests/cli/test_main.py::TestCLISearch::test_search_strip_non_ascii - a... 159s FAILED tests/cli/test_main.py::TestCLISearch::test_search_multiple_library_folders 159s FAILED tests/cli/test_main.py::TestCLISearch::test_search_shortcut - assert '... 159s FAILED tests/cli/test_main.py::TestCLISearch::test_list_all_apps - assert 'Ga... 159s FAILED tests/cli/test_main.py::test_cli_enable_logging[-v-log_levels1] - Asse... 159s FAILED tests/cli/test_main.py::test_cli_enable_logging[-vv-log_levels2] - Ass... 159s FAILED tests/cli/test_util.py::test_cli_error_handler_uncaught_exception - Ty... 159s FAILED tests/cli/test_util.py::test_cli_error_handler_gui_provider_env[yad] 159s FAILED tests/cli/test_util.py::test_cli_error_handler_gui_provider_env[zenity] 159s FAILED tests/cli/test_util.py::test_log_file_cleanup - FileNotFoundError: [Er... 159s ================== 41 failed, 110 passed, 1 warning in 1.77s =================== 159s autopkgtest [10:47:32]: test pytest: -----------------------] 160s pytest FAIL non-zero exit status 1 160s autopkgtest [10:47:33]: test pytest: - - - - - - - - - - results - - - - - - - - - - 160s autopkgtest [10:47:33]: @@@@@@@@@@@@@@@@@@@@ summary 160s pytest FAIL non-zero exit status 1 178s nova [W] Using flock in prodstack6-arm64 178s Creating nova instance adt-plucky-arm64-protontricks-20250313-104453-juju-7f2275-prod-proposed-migration-environment-2-e0000534-bdbe-41de-9203-ec1bb0b318a2 from image adt/ubuntu-plucky-arm64-server-20250313.img (UUID 1e0d5b46-827c-482e-8813-f0c13efee277)... 178s nova [W] Timed out waiting for 64518ccf-4cec-484c-a121-e0574bba19e7 to get deleted.