0s autopkgtest [02:27:22]: starting date and time: 2025-01-17 02:27:22+0000 0s autopkgtest [02:27:22]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [02:27:22]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.git35293/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-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-6.secgroup --name adt-plucky-amd64-protontricks-20250117-022722-juju-7f2275-prod-proposed-migration-environment-15-f4f205f5-9109-4865-ba38-b9c1c8a6d492 --image adt/ubuntu-plucky-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration-amd64 -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/ 98s autopkgtest [02:29:00]: testbed dpkg architecture: amd64 98s autopkgtest [02:29:00]: testbed apt version: 2.9.18 98s autopkgtest [02:29:00]: @@@@@@@@@@@@@@@@@@@@ test bed setup 98s autopkgtest [02:29:00]: testbed release detected to be: None 99s autopkgtest [02:29:01]: updating testbed package index (apt update) 99s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 100s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 100s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 100s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 100s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [921 kB] 100s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 100s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [170 kB] 100s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.4 kB] 100s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [223 kB] 100s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [326 kB] 100s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [40.1 kB] 100s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted i386 Packages [2408 B] 100s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [478 kB] 100s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [1101 kB] 100s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [7288 B] 100s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [26.7 kB] 100s Fetched 3394 kB in 1s (3473 kB/s) 101s Reading package lists... 102s Reading package lists... 102s Building dependency tree... 102s Reading state information... 102s Calculating upgrade... 102s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 102s Reading package lists... 102s Building dependency tree... 102s Reading state information... 103s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 103s autopkgtest [02:29:05]: upgrading testbed (apt dist-upgrade and autopurge) 103s Reading package lists... 103s Building dependency tree... 103s Reading state information... 103s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 104s Starting 2 pkgProblemResolver with broken count: 0 104s Done 104s Entering ResolveByKeep 104s 104s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 104s Reading package lists... 105s Building dependency tree... 105s Reading state information... 105s Starting pkgProblemResolver with broken count: 0 105s Starting 2 pkgProblemResolver with broken count: 0 105s Done 105s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 108s autopkgtest [02:29:10]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 13:41:20 UTC 2024 108s autopkgtest [02:29:10]: @@@@@@@@@@@@@@@@@@@@ apt-source protontricks 110s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse protontricks 1.12.0-1 (dsc) [2211 B] 110s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse protontricks 1.12.0-1 (tar) [171 kB] 110s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse protontricks 1.12.0-1 (diff) [2548 B] 110s gpgv: Signature made Sat Nov 16 15:10:38 2024 UTC 110s gpgv: using RSA key BB45B0B3FF561BDBD45EE8A9B35B49EA5D563EFE 110s gpgv: Can't check signature: No public key 110s dpkg-source: warning: cannot verify inline signature for ./protontricks_1.12.0-1.dsc: no acceptable signature found 110s autopkgtest [02:29:12]: testing package protontricks version 1.12.0-1 110s autopkgtest [02:29:12]: build not needed 111s autopkgtest [02:29:13]: test pytest: preparing testbed 111s Reading package lists... 111s Building dependency tree... 111s Reading state information... 111s Starting pkgProblemResolver with broken count: 0 112s Starting 2 pkgProblemResolver with broken count: 0 112s Done 112s The following NEW packages will be installed: 112s adwaita-icon-theme at-spi2-common dconf-gsettings-backend dconf-service 112s fontconfig fontconfig-config fonts-dejavu-core fonts-dejavu-mono 112s gtk-update-icon-cache hicolor-icon-theme humanity-icon-theme libaom3 112s libasound2-data libasound2t64 libasyncns0 libatk-bridge2.0-0t64 112s libatk1.0-0t64 libatspi2.0-0t64 libavahi-client3 libavahi-common-data 112s libavahi-common3 libcairo-gobject2 libcairo2 libcapi20-3t64 libcolord2 112s libcups2t64 libdatrie1 libdconf1 libde265-0 libdeflate0 libepoxy0 libexif12 112s libflac12t64 libfontconfig1 libgd3 libgdk-pixbuf-2.0-0 112s libgdk-pixbuf2.0-common libgomp1 libgphoto2-6t64 libgphoto2-port12t64 112s libgraphite2-3 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 112s libgtk-3-0t64 libgtk-3-common libharfbuzz0b libheif-plugin-aomdec 112s libheif-plugin-libde265 libheif1 libimagequant0 libjbig0 libjpeg-turbo8 112s libjpeg8 liblcms2-2 liblerc4 libltdl7 libmp3lame0 libmpg123-0t64 libogg0 112s libopenjp2-7 libopus0 liborc-0.4-0t64 libpango-1.0-0 libpangocairo-1.0-0 112s libpangoft2-1.0-0 libpcsclite1 libpixman-1-0 libpulse0 libpython3.13-minimal 112s libpython3.13-stdlib libraqm0 libsharpyuv0 libsndfile1 libthai-data libthai0 112s libtiff6 libvorbis0a libvorbisenc2 libwayland-client0 libwayland-cursor0 112s libwayland-egl1 libwebp7 libwebpdemux2 libwebpmux3 libwine libx11-xcb1 112s libxcb-render0 libxcb-shm0 libxcomposite1 libxcursor1 libxdamage1 libxfixes3 112s libxi6 libxinerama1 libxkbregistry0 libxpm4 libxrandr2 libxrender1 112s libz-mingw-w64 ocl-icd-libopencl1 protontricks python3-all python3-iniconfig 112s python3-packaging python3-pil python3-pluggy python3-pytest python3-vdf 112s python3.13 python3.13-minimal ubuntu-mono wine wine64 winetricks yad 112s 0 upgraded, 115 newly installed, 0 to remove and 0 not upgraded. 112s Need to get 138 MB of archives. 112s After this operation, 818 MB of additional disk space will be used. 112s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13-minimal amd64 3.13.1-2 [881 kB] 113s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13-minimal amd64 3.13.1-2 [2358 kB] 113s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libgdk-pixbuf2.0-common all 2.42.12+dfsg-1 [7888 B] 113s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 libjpeg-turbo8 amd64 2.1.5-3ubuntu2 [179 kB] 113s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 libjpeg8 amd64 8c-2ubuntu11 [2148 B] 113s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 libdeflate0 amd64 1.22-1 [64.5 kB] 113s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 libjbig0 amd64 2.1-6.1ubuntu2 [29.7 kB] 113s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 liblerc4 amd64 4.0.0+ds-5ubuntu1 [271 kB] 113s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 libsharpyuv0 amd64 1.4.0-0.1 [17.5 kB] 113s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 libwebp7 amd64 1.4.0-0.1 [231 kB] 113s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 libtiff6 amd64 4.5.1+git230720-4ubuntu4 [200 kB] 113s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 libgdk-pixbuf-2.0-0 amd64 2.42.12+dfsg-1 [147 kB] 113s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 gtk-update-icon-cache amd64 4.17.1+ds-2 [52.8 kB] 113s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 hicolor-icon-theme all 0.18-1 [13.5 kB] 113s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 humanity-icon-theme all 0.6.16 [1282 kB] 113s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 ubuntu-mono all 24.04-0ubuntu1 [151 kB] 113s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 adwaita-icon-theme all 47.0-2 [525 kB] 113s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 at-spi2-common all 2.54.0-1 [8774 B] 113s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 libdconf1 amd64 0.40.0-4build2 [39.4 kB] 113s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 dconf-service amd64 0.40.0-4build2 [27.5 kB] 113s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 dconf-gsettings-backend amd64 0.40.0-4build2 [22.1 kB] 113s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 fonts-dejavu-mono all 2.37-8 [502 kB] 113s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 fonts-dejavu-core all 2.37-8 [835 kB] 113s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 fontconfig-config amd64 2.15.0-1.1ubuntu2 [37.3 kB] 113s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 libfontconfig1 amd64 2.15.0-1.1ubuntu2 [139 kB] 113s Get:26 http://ftpmaster.internal/ubuntu plucky/main amd64 fontconfig amd64 2.15.0-1.1ubuntu2 [180 kB] 113s Get:27 http://ftpmaster.internal/ubuntu plucky/main amd64 libaom3 amd64 3.11.0-1 [2761 kB] 113s Get:28 http://ftpmaster.internal/ubuntu plucky/main amd64 libasound2-data all 1.2.12-1 [21.0 kB] 113s Get:29 http://ftpmaster.internal/ubuntu plucky/main amd64 libasound2t64 amd64 1.2.12-1 [394 kB] 113s Get:30 http://ftpmaster.internal/ubuntu plucky/main amd64 libasyncns0 amd64 0.8-6build4 [11.3 kB] 113s Get:31 http://ftpmaster.internal/ubuntu plucky/main amd64 libatk1.0-0t64 amd64 2.54.0-1 [55.1 kB] 113s Get:32 http://ftpmaster.internal/ubuntu plucky/main amd64 libxi6 amd64 2:1.8.2-1 [32.4 kB] 113s Get:33 http://ftpmaster.internal/ubuntu plucky/main amd64 libatspi2.0-0t64 amd64 2.54.0-1 [79.6 kB] 113s Get:34 http://ftpmaster.internal/ubuntu plucky/main amd64 libatk-bridge2.0-0t64 amd64 2.54.0-1 [66.3 kB] 113s Get:35 http://ftpmaster.internal/ubuntu plucky/main amd64 libavahi-common-data amd64 0.8-14ubuntu1 [30.5 kB] 113s Get:36 http://ftpmaster.internal/ubuntu plucky/main amd64 libavahi-common3 amd64 0.8-14ubuntu1 [23.3 kB] 113s Get:37 http://ftpmaster.internal/ubuntu plucky/main amd64 libavahi-client3 amd64 0.8-14ubuntu1 [27.5 kB] 113s Get:38 http://ftpmaster.internal/ubuntu plucky/main amd64 libpixman-1-0 amd64 0.44.0-3 [427 kB] 113s Get:39 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-render0 amd64 1.17.0-2 [16.2 kB] 113s Get:40 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-shm0 amd64 1.17.0-2 [5758 B] 113s Get:41 http://ftpmaster.internal/ubuntu plucky/main amd64 libxrender1 amd64 1:0.9.10-1.1build1 [19.0 kB] 113s Get:42 http://ftpmaster.internal/ubuntu plucky/main amd64 libcairo2 amd64 1.18.2-2 [569 kB] 113s Get:43 http://ftpmaster.internal/ubuntu plucky/main amd64 libcairo-gobject2 amd64 1.18.2-2 [127 kB] 113s Get:44 http://ftpmaster.internal/ubuntu plucky/universe amd64 libcapi20-3t64 amd64 1:3.27-3.2 [30.8 kB] 113s Get:45 http://ftpmaster.internal/ubuntu plucky/main amd64 liblcms2-2 amd64 2.16-2 [212 kB] 113s Get:46 http://ftpmaster.internal/ubuntu plucky/main amd64 libcolord2 amd64 1.4.7-1build2 [149 kB] 113s Get:47 http://ftpmaster.internal/ubuntu plucky/main amd64 libcups2t64 amd64 2.4.11-0ubuntu2 [292 kB] 113s Get:48 http://ftpmaster.internal/ubuntu plucky/main amd64 libdatrie1 amd64 0.2.13-3build1 [19.0 kB] 113s Get:49 http://ftpmaster.internal/ubuntu plucky/main amd64 libde265-0 amd64 1.0.15-1build4 [168 kB] 113s Get:50 http://ftpmaster.internal/ubuntu plucky/main amd64 libepoxy0 amd64 1.5.10-2 [218 kB] 113s Get:51 http://ftpmaster.internal/ubuntu plucky/main amd64 libexif12 amd64 0.6.24-2 [88.9 kB] 113s Get:52 http://ftpmaster.internal/ubuntu plucky/main amd64 libogg0 amd64 1.3.5-3build1 [22.7 kB] 113s Get:53 http://ftpmaster.internal/ubuntu plucky/main amd64 libflac12t64 amd64 1.4.3+ds-4 [268 kB] 113s Get:54 http://ftpmaster.internal/ubuntu plucky/main amd64 libheif-plugin-aomdec amd64 1.19.3-1 [11.5 kB] 113s Get:55 http://ftpmaster.internal/ubuntu plucky/main amd64 libheif-plugin-libde265 amd64 1.19.3-1 [8968 B] 113s Get:56 http://ftpmaster.internal/ubuntu plucky/main amd64 libheif1 amd64 1.19.3-1 [415 kB] 113s Get:57 http://ftpmaster.internal/ubuntu plucky/main amd64 libgomp1 amd64 14.2.0-12ubuntu1 [148 kB] 113s Get:58 http://ftpmaster.internal/ubuntu plucky/main amd64 libimagequant0 amd64 2.18.0-1build1 [36.3 kB] 113s Get:59 http://ftpmaster.internal/ubuntu plucky/main amd64 libgraphite2-3 amd64 1.3.14-2ubuntu1 [73.1 kB] 113s Get:60 http://ftpmaster.internal/ubuntu plucky/main amd64 libharfbuzz0b amd64 10.1.0-1 [541 kB] 113s Get:61 http://ftpmaster.internal/ubuntu plucky/main amd64 libraqm0 amd64 0.10.2-1 [17.2 kB] 113s Get:62 http://ftpmaster.internal/ubuntu plucky/main amd64 libxpm4 amd64 1:3.5.17-1build2 [36.5 kB] 113s Get:63 http://ftpmaster.internal/ubuntu plucky/main amd64 libgd3 amd64 2.3.3-12ubuntu3 [127 kB] 113s Get:64 http://ftpmaster.internal/ubuntu plucky/main amd64 libltdl7 amd64 2.4.7-8 [43.9 kB] 113s Get:65 http://ftpmaster.internal/ubuntu plucky/main amd64 libgphoto2-port12t64 amd64 2.5.31-4 [60.6 kB] 113s Get:66 http://ftpmaster.internal/ubuntu plucky/main amd64 libgphoto2-6t64 amd64 2.5.31-4 [834 kB] 113s Get:67 http://ftpmaster.internal/ubuntu plucky/main amd64 libgstreamer1.0-0 amd64 1.24.10-2 [1199 kB] 113s Get:68 http://ftpmaster.internal/ubuntu plucky/main amd64 liborc-0.4-0t64 amd64 1:0.4.40-1 [205 kB] 113s Get:69 http://ftpmaster.internal/ubuntu plucky/main amd64 libgstreamer-plugins-base1.0-0 amd64 1.24.10-1 [1028 kB] 114s Get:70 http://ftpmaster.internal/ubuntu plucky/main amd64 libthai-data all 0.1.29-2build1 [158 kB] 114s Get:71 http://ftpmaster.internal/ubuntu plucky/main amd64 libthai0 amd64 0.1.29-2build1 [18.9 kB] 114s Get:72 http://ftpmaster.internal/ubuntu plucky/main amd64 libpango-1.0-0 amd64 1.55.0+ds-3 [255 kB] 114s Get:73 http://ftpmaster.internal/ubuntu plucky/main amd64 libpangoft2-1.0-0 amd64 1.55.0+ds-3 [51.9 kB] 114s Get:74 http://ftpmaster.internal/ubuntu plucky/main amd64 libpangocairo-1.0-0 amd64 1.55.0+ds-3 [29.1 kB] 114s Get:75 http://ftpmaster.internal/ubuntu plucky/main amd64 libwayland-client0 amd64 1.23.0-1 [27.1 kB] 114s Get:76 http://ftpmaster.internal/ubuntu plucky/main amd64 libwayland-cursor0 amd64 1.23.0-1 [10.8 kB] 114s Get:77 http://ftpmaster.internal/ubuntu plucky/main amd64 libwayland-egl1 amd64 1.23.0-1 [5662 B] 114s Get:78 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcomposite1 amd64 1:0.4.6-1 [6642 B] 114s Get:79 http://ftpmaster.internal/ubuntu plucky/main amd64 libxfixes3 amd64 1:6.0.0-2build1 [10.8 kB] 114s Get:80 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcursor1 amd64 1:1.2.2-1 [20.9 kB] 114s Get:81 http://ftpmaster.internal/ubuntu plucky/main amd64 libxdamage1 amd64 1:1.1.6-1build1 [6150 B] 114s Get:82 http://ftpmaster.internal/ubuntu plucky/main amd64 libxinerama1 amd64 2:1.1.4-3build1 [6396 B] 114s Get:83 http://ftpmaster.internal/ubuntu plucky/main amd64 libxrandr2 amd64 2:1.5.4-1 [19.6 kB] 114s Get:84 http://ftpmaster.internal/ubuntu plucky/main amd64 libgtk-3-common all 3.24.43-4ubuntu1 [1203 kB] 114s Get:85 http://ftpmaster.internal/ubuntu plucky/main amd64 libgtk-3-0t64 amd64 3.24.43-4ubuntu1 [3159 kB] 114s Get:86 http://ftpmaster.internal/ubuntu plucky/main amd64 libmp3lame0 amd64 3.100-6build1 [142 kB] 114s Get:87 http://ftpmaster.internal/ubuntu plucky/main amd64 libmpg123-0t64 amd64 1.32.10-1 [191 kB] 114s Get:88 http://ftpmaster.internal/ubuntu plucky/main amd64 libopus0 amd64 1.5.2-2 [2913 kB] 114s Get:89 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcsclite1 amd64 2.3.0-3 [26.5 kB] 114s Get:90 http://ftpmaster.internal/ubuntu plucky/main amd64 libvorbis0a amd64 1.3.7-2 [98.4 kB] 114s Get:91 http://ftpmaster.internal/ubuntu plucky/main amd64 libvorbisenc2 amd64 1.3.7-2 [80.8 kB] 114s Get:92 http://ftpmaster.internal/ubuntu plucky/main amd64 libsndfile1 amd64 1.2.2-2 [275 kB] 114s Get:93 http://ftpmaster.internal/ubuntu plucky/main amd64 libx11-xcb1 amd64 2:1.8.10-2 [7944 B] 114s Get:94 http://ftpmaster.internal/ubuntu plucky/main amd64 libpulse0 amd64 1:16.1+dfsg1-5.1ubuntu2 [300 kB] 114s Get:95 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13-stdlib amd64 3.13.1-2 [2088 kB] 114s Get:96 http://ftpmaster.internal/ubuntu plucky/main amd64 libwebpdemux2 amd64 1.4.0-0.1 [12.4 kB] 114s Get:97 http://ftpmaster.internal/ubuntu plucky/main amd64 libwebpmux3 amd64 1.4.0-0.1 [25.8 kB] 114s Get:98 http://ftpmaster.internal/ubuntu plucky/main amd64 libxkbregistry0 amd64 1.7.0-2 [15.2 kB] 114s Get:99 http://ftpmaster.internal/ubuntu plucky/universe amd64 ocl-icd-libopencl1 amd64 2.3.2-1build1 [38.5 kB] 114s Get:100 http://ftpmaster.internal/ubuntu plucky/universe amd64 libz-mingw-w64 all 1.3.1+dfsg-1 [132 kB] 114s Get:101 http://ftpmaster.internal/ubuntu plucky/universe amd64 libwine amd64 9.0~repack-4build3 [105 MB] 117s Get:102 http://ftpmaster.internal/ubuntu plucky/main amd64 libopenjp2-7 amd64 2.5.0-2ubuntu2 [217 kB] 117s Get:103 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-pil amd64 10.4.0-1ubuntu2 [580 kB] 117s Get:104 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-vdf all 3.4-4 [11.2 kB] 117s Get:105 http://ftpmaster.internal/ubuntu plucky/universe amd64 yad amd64 0.40.0-1build3 [170 kB] 117s Get:106 http://ftpmaster.internal/ubuntu plucky/universe amd64 wine64 amd64 9.0~repack-4build3 [256 kB] 117s Get:107 http://ftpmaster.internal/ubuntu plucky/universe amd64 wine all 9.0~repack-4build3 [52.0 kB] 117s Get:108 http://ftpmaster.internal/ubuntu plucky/universe amd64 winetricks all 20250102-1 [161 kB] 117s Get:109 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 protontricks all 1.12.0-1 [45.8 kB] 117s Get:110 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13 amd64 3.13.1-2 [729 kB] 117s Get:111 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-all amd64 3.12.8-1 [890 B] 117s Get:112 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-iniconfig all 1.1.1-2 [6024 B] 117s Get:113 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-packaging all 24.2-1 [51.5 kB] 117s Get:114 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pluggy all 1.5.0-1 [21.0 kB] 117s Get:115 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pytest all 8.3.4-1 [252 kB] 118s Fetched 138 MB in 5s (25.2 MB/s) 118s Selecting previously unselected package libpython3.13-minimal:amd64. 118s (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 ... 75824 files and directories currently installed.) 118s Preparing to unpack .../000-libpython3.13-minimal_3.13.1-2_amd64.deb ... 118s Unpacking libpython3.13-minimal:amd64 (3.13.1-2) ... 118s Selecting previously unselected package python3.13-minimal. 118s Preparing to unpack .../001-python3.13-minimal_3.13.1-2_amd64.deb ... 118s Unpacking python3.13-minimal (3.13.1-2) ... 118s Selecting previously unselected package libgdk-pixbuf2.0-common. 118s Preparing to unpack .../002-libgdk-pixbuf2.0-common_2.42.12+dfsg-1_all.deb ... 118s Unpacking libgdk-pixbuf2.0-common (2.42.12+dfsg-1) ... 118s Selecting previously unselected package libjpeg-turbo8:amd64. 118s Preparing to unpack .../003-libjpeg-turbo8_2.1.5-3ubuntu2_amd64.deb ... 118s Unpacking libjpeg-turbo8:amd64 (2.1.5-3ubuntu2) ... 118s Selecting previously unselected package libjpeg8:amd64. 118s Preparing to unpack .../004-libjpeg8_8c-2ubuntu11_amd64.deb ... 118s Unpacking libjpeg8:amd64 (8c-2ubuntu11) ... 118s Selecting previously unselected package libdeflate0:amd64. 118s Preparing to unpack .../005-libdeflate0_1.22-1_amd64.deb ... 118s Unpacking libdeflate0:amd64 (1.22-1) ... 118s Selecting previously unselected package libjbig0:amd64. 118s Preparing to unpack .../006-libjbig0_2.1-6.1ubuntu2_amd64.deb ... 118s Unpacking libjbig0:amd64 (2.1-6.1ubuntu2) ... 118s Selecting previously unselected package liblerc4:amd64. 118s Preparing to unpack .../007-liblerc4_4.0.0+ds-5ubuntu1_amd64.deb ... 118s Unpacking liblerc4:amd64 (4.0.0+ds-5ubuntu1) ... 118s Selecting previously unselected package libsharpyuv0:amd64. 118s Preparing to unpack .../008-libsharpyuv0_1.4.0-0.1_amd64.deb ... 118s Unpacking libsharpyuv0:amd64 (1.4.0-0.1) ... 118s Selecting previously unselected package libwebp7:amd64. 118s Preparing to unpack .../009-libwebp7_1.4.0-0.1_amd64.deb ... 118s Unpacking libwebp7:amd64 (1.4.0-0.1) ... 118s Selecting previously unselected package libtiff6:amd64. 118s Preparing to unpack .../010-libtiff6_4.5.1+git230720-4ubuntu4_amd64.deb ... 118s Unpacking libtiff6:amd64 (4.5.1+git230720-4ubuntu4) ... 118s Selecting previously unselected package libgdk-pixbuf-2.0-0:amd64. 118s Preparing to unpack .../011-libgdk-pixbuf-2.0-0_2.42.12+dfsg-1_amd64.deb ... 118s Unpacking libgdk-pixbuf-2.0-0:amd64 (2.42.12+dfsg-1) ... 118s Selecting previously unselected package gtk-update-icon-cache. 118s Preparing to unpack .../012-gtk-update-icon-cache_4.17.1+ds-2_amd64.deb ... 118s No diversion 'diversion of /usr/sbin/update-icon-caches to /usr/sbin/update-icon-caches.gtk2 by libgtk-3-bin', none removed. 118s 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. 118s Unpacking gtk-update-icon-cache (4.17.1+ds-2) ... 118s Selecting previously unselected package hicolor-icon-theme. 118s Preparing to unpack .../013-hicolor-icon-theme_0.18-1_all.deb ... 118s Unpacking hicolor-icon-theme (0.18-1) ... 119s Selecting previously unselected package humanity-icon-theme. 119s Preparing to unpack .../014-humanity-icon-theme_0.6.16_all.deb ... 119s Unpacking humanity-icon-theme (0.6.16) ... 119s Selecting previously unselected package ubuntu-mono. 119s Preparing to unpack .../015-ubuntu-mono_24.04-0ubuntu1_all.deb ... 119s Unpacking ubuntu-mono (24.04-0ubuntu1) ... 120s Selecting previously unselected package adwaita-icon-theme. 120s Preparing to unpack .../016-adwaita-icon-theme_47.0-2_all.deb ... 120s Unpacking adwaita-icon-theme (47.0-2) ... 120s Selecting previously unselected package at-spi2-common. 120s Preparing to unpack .../017-at-spi2-common_2.54.0-1_all.deb ... 120s Unpacking at-spi2-common (2.54.0-1) ... 120s Selecting previously unselected package libdconf1:amd64. 120s Preparing to unpack .../018-libdconf1_0.40.0-4build2_amd64.deb ... 120s Unpacking libdconf1:amd64 (0.40.0-4build2) ... 120s Selecting previously unselected package dconf-service. 120s Preparing to unpack .../019-dconf-service_0.40.0-4build2_amd64.deb ... 120s Unpacking dconf-service (0.40.0-4build2) ... 120s Selecting previously unselected package dconf-gsettings-backend:amd64. 120s Preparing to unpack .../020-dconf-gsettings-backend_0.40.0-4build2_amd64.deb ... 120s Unpacking dconf-gsettings-backend:amd64 (0.40.0-4build2) ... 120s Selecting previously unselected package fonts-dejavu-mono. 120s Preparing to unpack .../021-fonts-dejavu-mono_2.37-8_all.deb ... 120s Unpacking fonts-dejavu-mono (2.37-8) ... 120s Selecting previously unselected package fonts-dejavu-core. 120s Preparing to unpack .../022-fonts-dejavu-core_2.37-8_all.deb ... 120s Unpacking fonts-dejavu-core (2.37-8) ... 120s Selecting previously unselected package fontconfig-config. 120s Preparing to unpack .../023-fontconfig-config_2.15.0-1.1ubuntu2_amd64.deb ... 120s Unpacking fontconfig-config (2.15.0-1.1ubuntu2) ... 120s Selecting previously unselected package libfontconfig1:amd64. 120s Preparing to unpack .../024-libfontconfig1_2.15.0-1.1ubuntu2_amd64.deb ... 120s Unpacking libfontconfig1:amd64 (2.15.0-1.1ubuntu2) ... 120s Selecting previously unselected package fontconfig. 120s Preparing to unpack .../025-fontconfig_2.15.0-1.1ubuntu2_amd64.deb ... 120s Unpacking fontconfig (2.15.0-1.1ubuntu2) ... 120s Selecting previously unselected package libaom3:amd64. 120s Preparing to unpack .../026-libaom3_3.11.0-1_amd64.deb ... 120s Unpacking libaom3:amd64 (3.11.0-1) ... 120s Selecting previously unselected package libasound2-data. 120s Preparing to unpack .../027-libasound2-data_1.2.12-1_all.deb ... 120s Unpacking libasound2-data (1.2.12-1) ... 120s Selecting previously unselected package libasound2t64:amd64. 120s Preparing to unpack .../028-libasound2t64_1.2.12-1_amd64.deb ... 120s Unpacking libasound2t64:amd64 (1.2.12-1) ... 120s Selecting previously unselected package libasyncns0:amd64. 120s Preparing to unpack .../029-libasyncns0_0.8-6build4_amd64.deb ... 120s Unpacking libasyncns0:amd64 (0.8-6build4) ... 120s Selecting previously unselected package libatk1.0-0t64:amd64. 120s Preparing to unpack .../030-libatk1.0-0t64_2.54.0-1_amd64.deb ... 120s Unpacking libatk1.0-0t64:amd64 (2.54.0-1) ... 120s Selecting previously unselected package libxi6:amd64. 120s Preparing to unpack .../031-libxi6_2%3a1.8.2-1_amd64.deb ... 120s Unpacking libxi6:amd64 (2:1.8.2-1) ... 120s Selecting previously unselected package libatspi2.0-0t64:amd64. 120s Preparing to unpack .../032-libatspi2.0-0t64_2.54.0-1_amd64.deb ... 120s Unpacking libatspi2.0-0t64:amd64 (2.54.0-1) ... 120s Selecting previously unselected package libatk-bridge2.0-0t64:amd64. 120s Preparing to unpack .../033-libatk-bridge2.0-0t64_2.54.0-1_amd64.deb ... 120s Unpacking libatk-bridge2.0-0t64:amd64 (2.54.0-1) ... 120s Selecting previously unselected package libavahi-common-data:amd64. 120s Preparing to unpack .../034-libavahi-common-data_0.8-14ubuntu1_amd64.deb ... 120s Unpacking libavahi-common-data:amd64 (0.8-14ubuntu1) ... 120s Selecting previously unselected package libavahi-common3:amd64. 120s Preparing to unpack .../035-libavahi-common3_0.8-14ubuntu1_amd64.deb ... 120s Unpacking libavahi-common3:amd64 (0.8-14ubuntu1) ... 121s Selecting previously unselected package libavahi-client3:amd64. 121s Preparing to unpack .../036-libavahi-client3_0.8-14ubuntu1_amd64.deb ... 121s Unpacking libavahi-client3:amd64 (0.8-14ubuntu1) ... 121s Selecting previously unselected package libpixman-1-0:amd64. 121s Preparing to unpack .../037-libpixman-1-0_0.44.0-3_amd64.deb ... 121s Unpacking libpixman-1-0:amd64 (0.44.0-3) ... 121s Selecting previously unselected package libxcb-render0:amd64. 121s Preparing to unpack .../038-libxcb-render0_1.17.0-2_amd64.deb ... 121s Unpacking libxcb-render0:amd64 (1.17.0-2) ... 121s Selecting previously unselected package libxcb-shm0:amd64. 121s Preparing to unpack .../039-libxcb-shm0_1.17.0-2_amd64.deb ... 121s Unpacking libxcb-shm0:amd64 (1.17.0-2) ... 121s Selecting previously unselected package libxrender1:amd64. 121s Preparing to unpack .../040-libxrender1_1%3a0.9.10-1.1build1_amd64.deb ... 121s Unpacking libxrender1:amd64 (1:0.9.10-1.1build1) ... 121s Selecting previously unselected package libcairo2:amd64. 121s Preparing to unpack .../041-libcairo2_1.18.2-2_amd64.deb ... 121s Unpacking libcairo2:amd64 (1.18.2-2) ... 121s Selecting previously unselected package libcairo-gobject2:amd64. 121s Preparing to unpack .../042-libcairo-gobject2_1.18.2-2_amd64.deb ... 121s Unpacking libcairo-gobject2:amd64 (1.18.2-2) ... 121s Selecting previously unselected package libcapi20-3t64:amd64. 121s Preparing to unpack .../043-libcapi20-3t64_1%3a3.27-3.2_amd64.deb ... 121s Unpacking libcapi20-3t64:amd64 (1:3.27-3.2) ... 121s Selecting previously unselected package liblcms2-2:amd64. 121s Preparing to unpack .../044-liblcms2-2_2.16-2_amd64.deb ... 121s Unpacking liblcms2-2:amd64 (2.16-2) ... 121s Selecting previously unselected package libcolord2:amd64. 121s Preparing to unpack .../045-libcolord2_1.4.7-1build2_amd64.deb ... 121s Unpacking libcolord2:amd64 (1.4.7-1build2) ... 121s Selecting previously unselected package libcups2t64:amd64. 121s Preparing to unpack .../046-libcups2t64_2.4.11-0ubuntu2_amd64.deb ... 121s Unpacking libcups2t64:amd64 (2.4.11-0ubuntu2) ... 121s Selecting previously unselected package libdatrie1:amd64. 121s Preparing to unpack .../047-libdatrie1_0.2.13-3build1_amd64.deb ... 121s Unpacking libdatrie1:amd64 (0.2.13-3build1) ... 121s Selecting previously unselected package libde265-0:amd64. 121s Preparing to unpack .../048-libde265-0_1.0.15-1build4_amd64.deb ... 121s Unpacking libde265-0:amd64 (1.0.15-1build4) ... 121s Selecting previously unselected package libepoxy0:amd64. 121s Preparing to unpack .../049-libepoxy0_1.5.10-2_amd64.deb ... 121s Unpacking libepoxy0:amd64 (1.5.10-2) ... 121s Selecting previously unselected package libexif12:amd64. 121s Preparing to unpack .../050-libexif12_0.6.24-2_amd64.deb ... 121s Unpacking libexif12:amd64 (0.6.24-2) ... 121s Selecting previously unselected package libogg0:amd64. 121s Preparing to unpack .../051-libogg0_1.3.5-3build1_amd64.deb ... 121s Unpacking libogg0:amd64 (1.3.5-3build1) ... 121s Selecting previously unselected package libflac12t64:amd64. 121s Preparing to unpack .../052-libflac12t64_1.4.3+ds-4_amd64.deb ... 121s Unpacking libflac12t64:amd64 (1.4.3+ds-4) ... 121s Selecting previously unselected package libheif-plugin-aomdec:amd64. 121s Preparing to unpack .../053-libheif-plugin-aomdec_1.19.3-1_amd64.deb ... 121s Unpacking libheif-plugin-aomdec:amd64 (1.19.3-1) ... 121s Selecting previously unselected package libheif-plugin-libde265:amd64. 121s Preparing to unpack .../054-libheif-plugin-libde265_1.19.3-1_amd64.deb ... 121s Unpacking libheif-plugin-libde265:amd64 (1.19.3-1) ... 121s Selecting previously unselected package libheif1:amd64. 121s Preparing to unpack .../055-libheif1_1.19.3-1_amd64.deb ... 121s Unpacking libheif1:amd64 (1.19.3-1) ... 121s Selecting previously unselected package libgomp1:amd64. 121s Preparing to unpack .../056-libgomp1_14.2.0-12ubuntu1_amd64.deb ... 121s Unpacking libgomp1:amd64 (14.2.0-12ubuntu1) ... 121s Selecting previously unselected package libimagequant0:amd64. 121s Preparing to unpack .../057-libimagequant0_2.18.0-1build1_amd64.deb ... 121s Unpacking libimagequant0:amd64 (2.18.0-1build1) ... 121s Selecting previously unselected package libgraphite2-3:amd64. 121s Preparing to unpack .../058-libgraphite2-3_1.3.14-2ubuntu1_amd64.deb ... 121s Unpacking libgraphite2-3:amd64 (1.3.14-2ubuntu1) ... 121s Selecting previously unselected package libharfbuzz0b:amd64. 121s Preparing to unpack .../059-libharfbuzz0b_10.1.0-1_amd64.deb ... 121s Unpacking libharfbuzz0b:amd64 (10.1.0-1) ... 121s Selecting previously unselected package libraqm0:amd64. 121s Preparing to unpack .../060-libraqm0_0.10.2-1_amd64.deb ... 121s Unpacking libraqm0:amd64 (0.10.2-1) ... 121s Selecting previously unselected package libxpm4:amd64. 121s Preparing to unpack .../061-libxpm4_1%3a3.5.17-1build2_amd64.deb ... 121s Unpacking libxpm4:amd64 (1:3.5.17-1build2) ... 121s Selecting previously unselected package libgd3:amd64. 121s Preparing to unpack .../062-libgd3_2.3.3-12ubuntu3_amd64.deb ... 121s Unpacking libgd3:amd64 (2.3.3-12ubuntu3) ... 121s Selecting previously unselected package libltdl7:amd64. 121s Preparing to unpack .../063-libltdl7_2.4.7-8_amd64.deb ... 121s Unpacking libltdl7:amd64 (2.4.7-8) ... 121s Selecting previously unselected package libgphoto2-port12t64:amd64. 121s Preparing to unpack .../064-libgphoto2-port12t64_2.5.31-4_amd64.deb ... 121s Unpacking libgphoto2-port12t64:amd64 (2.5.31-4) ... 121s Selecting previously unselected package libgphoto2-6t64:amd64. 121s Preparing to unpack .../065-libgphoto2-6t64_2.5.31-4_amd64.deb ... 121s Unpacking libgphoto2-6t64:amd64 (2.5.31-4) ... 121s Selecting previously unselected package libgstreamer1.0-0:amd64. 121s Preparing to unpack .../066-libgstreamer1.0-0_1.24.10-2_amd64.deb ... 121s Unpacking libgstreamer1.0-0:amd64 (1.24.10-2) ... 121s Selecting previously unselected package liborc-0.4-0t64:amd64. 121s Preparing to unpack .../067-liborc-0.4-0t64_1%3a0.4.40-1_amd64.deb ... 121s Unpacking liborc-0.4-0t64:amd64 (1:0.4.40-1) ... 121s Selecting previously unselected package libgstreamer-plugins-base1.0-0:amd64. 121s Preparing to unpack .../068-libgstreamer-plugins-base1.0-0_1.24.10-1_amd64.deb ... 121s Unpacking libgstreamer-plugins-base1.0-0:amd64 (1.24.10-1) ... 121s Selecting previously unselected package libthai-data. 121s Preparing to unpack .../069-libthai-data_0.1.29-2build1_all.deb ... 121s Unpacking libthai-data (0.1.29-2build1) ... 121s Selecting previously unselected package libthai0:amd64. 121s Preparing to unpack .../070-libthai0_0.1.29-2build1_amd64.deb ... 121s Unpacking libthai0:amd64 (0.1.29-2build1) ... 121s Selecting previously unselected package libpango-1.0-0:amd64. 121s Preparing to unpack .../071-libpango-1.0-0_1.55.0+ds-3_amd64.deb ... 121s Unpacking libpango-1.0-0:amd64 (1.55.0+ds-3) ... 121s Selecting previously unselected package libpangoft2-1.0-0:amd64. 121s Preparing to unpack .../072-libpangoft2-1.0-0_1.55.0+ds-3_amd64.deb ... 121s Unpacking libpangoft2-1.0-0:amd64 (1.55.0+ds-3) ... 121s Selecting previously unselected package libpangocairo-1.0-0:amd64. 121s Preparing to unpack .../073-libpangocairo-1.0-0_1.55.0+ds-3_amd64.deb ... 121s Unpacking libpangocairo-1.0-0:amd64 (1.55.0+ds-3) ... 121s Selecting previously unselected package libwayland-client0:amd64. 121s Preparing to unpack .../074-libwayland-client0_1.23.0-1_amd64.deb ... 121s Unpacking libwayland-client0:amd64 (1.23.0-1) ... 122s Selecting previously unselected package libwayland-cursor0:amd64. 122s Preparing to unpack .../075-libwayland-cursor0_1.23.0-1_amd64.deb ... 122s Unpacking libwayland-cursor0:amd64 (1.23.0-1) ... 122s Selecting previously unselected package libwayland-egl1:amd64. 122s Preparing to unpack .../076-libwayland-egl1_1.23.0-1_amd64.deb ... 122s Unpacking libwayland-egl1:amd64 (1.23.0-1) ... 122s Selecting previously unselected package libxcomposite1:amd64. 122s Preparing to unpack .../077-libxcomposite1_1%3a0.4.6-1_amd64.deb ... 122s Unpacking libxcomposite1:amd64 (1:0.4.6-1) ... 122s Selecting previously unselected package libxfixes3:amd64. 122s Preparing to unpack .../078-libxfixes3_1%3a6.0.0-2build1_amd64.deb ... 122s Unpacking libxfixes3:amd64 (1:6.0.0-2build1) ... 122s Selecting previously unselected package libxcursor1:amd64. 122s Preparing to unpack .../079-libxcursor1_1%3a1.2.2-1_amd64.deb ... 122s Unpacking libxcursor1:amd64 (1:1.2.2-1) ... 122s Selecting previously unselected package libxdamage1:amd64. 122s Preparing to unpack .../080-libxdamage1_1%3a1.1.6-1build1_amd64.deb ... 122s Unpacking libxdamage1:amd64 (1:1.1.6-1build1) ... 122s Selecting previously unselected package libxinerama1:amd64. 122s Preparing to unpack .../081-libxinerama1_2%3a1.1.4-3build1_amd64.deb ... 122s Unpacking libxinerama1:amd64 (2:1.1.4-3build1) ... 122s Selecting previously unselected package libxrandr2:amd64. 122s Preparing to unpack .../082-libxrandr2_2%3a1.5.4-1_amd64.deb ... 122s Unpacking libxrandr2:amd64 (2:1.5.4-1) ... 122s Selecting previously unselected package libgtk-3-common. 122s Preparing to unpack .../083-libgtk-3-common_3.24.43-4ubuntu1_all.deb ... 122s Unpacking libgtk-3-common (3.24.43-4ubuntu1) ... 122s Selecting previously unselected package libgtk-3-0t64:amd64. 122s Preparing to unpack .../084-libgtk-3-0t64_3.24.43-4ubuntu1_amd64.deb ... 122s Unpacking libgtk-3-0t64:amd64 (3.24.43-4ubuntu1) ... 122s Selecting previously unselected package libmp3lame0:amd64. 122s Preparing to unpack .../085-libmp3lame0_3.100-6build1_amd64.deb ... 122s Unpacking libmp3lame0:amd64 (3.100-6build1) ... 122s Selecting previously unselected package libmpg123-0t64:amd64. 122s Preparing to unpack .../086-libmpg123-0t64_1.32.10-1_amd64.deb ... 122s Unpacking libmpg123-0t64:amd64 (1.32.10-1) ... 122s Selecting previously unselected package libopus0:amd64. 122s Preparing to unpack .../087-libopus0_1.5.2-2_amd64.deb ... 122s Unpacking libopus0:amd64 (1.5.2-2) ... 122s Selecting previously unselected package libpcsclite1:amd64. 122s Preparing to unpack .../088-libpcsclite1_2.3.0-3_amd64.deb ... 122s Unpacking libpcsclite1:amd64 (2.3.0-3) ... 122s Selecting previously unselected package libvorbis0a:amd64. 122s Preparing to unpack .../089-libvorbis0a_1.3.7-2_amd64.deb ... 122s Unpacking libvorbis0a:amd64 (1.3.7-2) ... 122s Selecting previously unselected package libvorbisenc2:amd64. 122s Preparing to unpack .../090-libvorbisenc2_1.3.7-2_amd64.deb ... 122s Unpacking libvorbisenc2:amd64 (1.3.7-2) ... 122s Selecting previously unselected package libsndfile1:amd64. 122s Preparing to unpack .../091-libsndfile1_1.2.2-2_amd64.deb ... 122s Unpacking libsndfile1:amd64 (1.2.2-2) ... 122s Selecting previously unselected package libx11-xcb1:amd64. 122s Preparing to unpack .../092-libx11-xcb1_2%3a1.8.10-2_amd64.deb ... 122s Unpacking libx11-xcb1:amd64 (2:1.8.10-2) ... 122s Selecting previously unselected package libpulse0:amd64. 122s Preparing to unpack .../093-libpulse0_1%3a16.1+dfsg1-5.1ubuntu2_amd64.deb ... 122s Unpacking libpulse0:amd64 (1:16.1+dfsg1-5.1ubuntu2) ... 122s Selecting previously unselected package libpython3.13-stdlib:amd64. 122s Preparing to unpack .../094-libpython3.13-stdlib_3.13.1-2_amd64.deb ... 122s Unpacking libpython3.13-stdlib:amd64 (3.13.1-2) ... 122s Selecting previously unselected package libwebpdemux2:amd64. 122s Preparing to unpack .../095-libwebpdemux2_1.4.0-0.1_amd64.deb ... 122s Unpacking libwebpdemux2:amd64 (1.4.0-0.1) ... 122s Selecting previously unselected package libwebpmux3:amd64. 122s Preparing to unpack .../096-libwebpmux3_1.4.0-0.1_amd64.deb ... 122s Unpacking libwebpmux3:amd64 (1.4.0-0.1) ... 122s Selecting previously unselected package libxkbregistry0:amd64. 122s Preparing to unpack .../097-libxkbregistry0_1.7.0-2_amd64.deb ... 122s Unpacking libxkbregistry0:amd64 (1.7.0-2) ... 122s Selecting previously unselected package ocl-icd-libopencl1:amd64. 122s Preparing to unpack .../098-ocl-icd-libopencl1_2.3.2-1build1_amd64.deb ... 122s Unpacking ocl-icd-libopencl1:amd64 (2.3.2-1build1) ... 122s Selecting previously unselected package libz-mingw-w64. 122s Preparing to unpack .../099-libz-mingw-w64_1.3.1+dfsg-1_all.deb ... 122s Unpacking libz-mingw-w64 (1.3.1+dfsg-1) ... 122s Selecting previously unselected package libwine:amd64. 122s Preparing to unpack .../100-libwine_9.0~repack-4build3_amd64.deb ... 122s Unpacking libwine:amd64 (9.0~repack-4build3) ... 125s Selecting previously unselected package libopenjp2-7:amd64. 125s Preparing to unpack .../101-libopenjp2-7_2.5.0-2ubuntu2_amd64.deb ... 125s Unpacking libopenjp2-7:amd64 (2.5.0-2ubuntu2) ... 125s Selecting previously unselected package python3-pil:amd64. 125s Preparing to unpack .../102-python3-pil_10.4.0-1ubuntu2_amd64.deb ... 125s Unpacking python3-pil:amd64 (10.4.0-1ubuntu2) ... 125s Selecting previously unselected package python3-vdf. 125s Preparing to unpack .../103-python3-vdf_3.4-4_all.deb ... 125s Unpacking python3-vdf (3.4-4) ... 125s Selecting previously unselected package yad. 125s Preparing to unpack .../104-yad_0.40.0-1build3_amd64.deb ... 125s Unpacking yad (0.40.0-1build3) ... 125s Selecting previously unselected package wine64. 125s Preparing to unpack .../105-wine64_9.0~repack-4build3_amd64.deb ... 125s Unpacking wine64 (9.0~repack-4build3) ... 125s Selecting previously unselected package wine. 125s Preparing to unpack .../106-wine_9.0~repack-4build3_all.deb ... 125s Unpacking wine (9.0~repack-4build3) ... 125s Selecting previously unselected package winetricks. 125s Preparing to unpack .../107-winetricks_20250102-1_all.deb ... 125s Unpacking winetricks (20250102-1) ... 125s Selecting previously unselected package protontricks. 125s Preparing to unpack .../108-protontricks_1.12.0-1_all.deb ... 125s Unpacking protontricks (1.12.0-1) ... 125s Selecting previously unselected package python3.13. 125s Preparing to unpack .../109-python3.13_3.13.1-2_amd64.deb ... 125s Unpacking python3.13 (3.13.1-2) ... 125s Selecting previously unselected package python3-all. 125s Preparing to unpack .../110-python3-all_3.12.8-1_amd64.deb ... 125s Unpacking python3-all (3.12.8-1) ... 125s Selecting previously unselected package python3-iniconfig. 125s Preparing to unpack .../111-python3-iniconfig_1.1.1-2_all.deb ... 125s Unpacking python3-iniconfig (1.1.1-2) ... 125s Selecting previously unselected package python3-packaging. 125s Preparing to unpack .../112-python3-packaging_24.2-1_all.deb ... 125s Unpacking python3-packaging (24.2-1) ... 125s Selecting previously unselected package python3-pluggy. 125s Preparing to unpack .../113-python3-pluggy_1.5.0-1_all.deb ... 125s Unpacking python3-pluggy (1.5.0-1) ... 125s Selecting previously unselected package python3-pytest. 125s Preparing to unpack .../114-python3-pytest_8.3.4-1_all.deb ... 125s Unpacking python3-pytest (8.3.4-1) ... 125s Setting up libgraphite2-3:amd64 (1.3.14-2ubuntu1) ... 125s Setting up liblcms2-2:amd64 (2.16-2) ... 125s Setting up python3-iniconfig (1.1.1-2) ... 125s Setting up libpixman-1-0:amd64 (0.44.0-3) ... 125s Setting up libsharpyuv0:amd64 (1.4.0-0.1) ... 125s Setting up libaom3:amd64 (3.11.0-1) ... 125s Setting up libx11-xcb1:amd64 (2:1.8.10-2) ... 125s Setting up libxdamage1:amd64 (1:1.1.6-1build1) ... 125s Setting up libogg0:amd64 (1.3.5-3build1) ... 125s Setting up liblerc4:amd64 (4.0.0+ds-5ubuntu1) ... 126s Setting up libxpm4:amd64 (1:3.5.17-1build2) ... 126s Setting up hicolor-icon-theme (0.18-1) ... 126s Setting up libxi6:amd64 (2:1.8.2-1) ... 126s Setting up libxrender1:amd64 (1:0.9.10-1.1build1) ... 126s Setting up libdatrie1:amd64 (0.2.13-3build1) ... 126s Setting up libxcb-render0:amd64 (1.17.0-2) ... 126s Setting up python3-vdf (3.4-4) ... 126s Setting up libgdk-pixbuf2.0-common (2.42.12+dfsg-1) ... 126s Setting up libdeflate0:amd64 (1.22-1) ... 126s Setting up libxcb-shm0:amd64 (1.17.0-2) ... 126s Setting up libmpg123-0t64:amd64 (1.32.10-1) ... 126s Setting up libgomp1:amd64 (14.2.0-12ubuntu1) ... 126s Setting up libz-mingw-w64 (1.3.1+dfsg-1) ... 126s Setting up libjbig0:amd64 (2.1-6.1ubuntu2) ... 126s Setting up libcolord2:amd64 (1.4.7-1build2) ... 126s Setting up liborc-0.4-0t64:amd64 (1:0.4.40-1) ... 126s Setting up libdconf1:amd64 (0.40.0-4build2) ... 126s Setting up libpython3.13-minimal:amd64 (3.13.1-2) ... 126s Setting up libasound2-data (1.2.12-1) ... 126s Setting up python3-packaging (24.2-1) ... 126s Setting up libasound2t64:amd64 (1.2.12-1) ... 126s Setting up libxkbregistry0:amd64 (1.7.0-2) ... 126s Setting up libepoxy0:amd64 (1.5.10-2) ... 126s Setting up libxfixes3:amd64 (1:6.0.0-2build1) ... 126s Setting up libavahi-common-data:amd64 (0.8-14ubuntu1) ... 126s Setting up libatspi2.0-0t64:amd64 (2.54.0-1) ... 126s Setting up libopus0:amd64 (1.5.2-2) ... 126s Setting up libxinerama1:amd64 (2:1.1.4-3build1) ... 126s Setting up libexif12:amd64 (0.6.24-2) ... 126s Setting up libimagequant0:amd64 (2.18.0-1build1) ... 126s Setting up fonts-dejavu-mono (2.37-8) ... 126s Setting up libvorbis0a:amd64 (1.3.7-2) ... 126s Setting up libxrandr2:amd64 (2:1.5.4-1) ... 126s Setting up fonts-dejavu-core (2.37-8) ... 126s Setting up libpcsclite1:amd64 (2.3.0-3) ... 126s Setting up libcapi20-3t64:amd64 (1:3.27-3.2) ... 126s Setting up libjpeg-turbo8:amd64 (2.1.5-3ubuntu2) ... 126s Setting up libltdl7:amd64 (2.4.7-8) ... 126s Setting up python3-pluggy (1.5.0-1) ... 126s Setting up libwebp7:amd64 (1.4.0-0.1) ... 126s Setting up ocl-icd-libopencl1:amd64 (2.3.2-1build1) ... 126s Setting up libasyncns0:amd64 (0.8-6build4) ... 126s Setting up at-spi2-common (2.54.0-1) ... 126s Setting up libopenjp2-7:amd64 (2.5.0-2ubuntu2) ... 126s Setting up python3.13-minimal (3.13.1-2) ... 127s Setting up libharfbuzz0b:amd64 (10.1.0-1) ... 127s Setting up libthai-data (0.1.29-2build1) ... 127s Setting up libgphoto2-port12t64:amd64 (2.5.31-4) ... 127s Setting up libflac12t64:amd64 (1.4.3+ds-4) ... 127s Setting up libwayland-egl1:amd64 (1.23.0-1) ... 127s Setting up libde265-0:amd64 (1.0.15-1build4) ... 127s Setting up libwebpmux3:amd64 (1.4.0-0.1) ... 127s Setting up libxcomposite1:amd64 (1:0.4.6-1) ... 127s Setting up libpython3.13-stdlib:amd64 (3.13.1-2) ... 127s Setting up libgstreamer1.0-0:amd64 (1.24.10-2) ... 127s Setcap worked! gst-ptp-helper is not suid! 127s Setting up libmp3lame0:amd64 (3.100-6build1) ... 127s Setting up libvorbisenc2:amd64 (1.3.7-2) ... 127s Setting up libwayland-client0:amd64 (1.23.0-1) ... 127s Setting up libjpeg8:amd64 (8c-2ubuntu11) ... 127s Setting up libatk1.0-0t64:amd64 (2.54.0-1) ... 127s Setting up python3.13 (3.13.1-2) ... 127s Setting up fontconfig-config (2.15.0-1.1ubuntu2) ... 128s Setting up python3-pytest (8.3.4-1) ... 128s Setting up libwebpdemux2:amd64 (1.4.0-0.1) ... 128s Setting up libxcursor1:amd64 (1:1.2.2-1) ... 128s Setting up libavahi-common3:amd64 (0.8-14ubuntu1) ... 128s Setting up python3-all (3.12.8-1) ... 128s Setting up libgstreamer-plugins-base1.0-0:amd64 (1.24.10-1) ... 128s Setting up dconf-service (0.40.0-4build2) ... 128s Setting up libthai0:amd64 (0.1.29-2build1) ... 128s Setting up libraqm0:amd64 (0.10.2-1) ... 128s Setting up libtiff6:amd64 (4.5.1+git230720-4ubuntu4) ... 128s Setting up libwayland-cursor0:amd64 (1.23.0-1) ... 128s Setting up libgdk-pixbuf-2.0-0:amd64 (2.42.12+dfsg-1) ... 128s Setting up libfontconfig1:amd64 (2.15.0-1.1ubuntu2) ... 128s Setting up libsndfile1:amd64 (1.2.2-2) ... 128s Setting up libavahi-client3:amd64 (0.8-14ubuntu1) ... 128s Setting up libatk-bridge2.0-0t64:amd64 (2.54.0-1) ... 128s Setting up gtk-update-icon-cache (4.17.1+ds-2) ... 128s Setting up fontconfig (2.15.0-1.1ubuntu2) ... 130s Regenerating fonts cache... done. 130s Setting up dconf-gsettings-backend:amd64 (0.40.0-4build2) ... 130s Setting up libpulse0:amd64 (1:16.1+dfsg1-5.1ubuntu2) ... 130s Setting up libpango-1.0-0:amd64 (1.55.0+ds-3) ... 130s Setting up libcairo2:amd64 (1.18.2-2) ... 130s Setting up python3-pil:amd64 (10.4.0-1ubuntu2) ... 131s Setting up libcairo-gobject2:amd64 (1.18.2-2) ... 131s Setting up libpangoft2-1.0-0:amd64 (1.55.0+ds-3) ... 131s Setting up libcups2t64:amd64 (2.4.11-0ubuntu2) ... 131s Setting up libgtk-3-common (3.24.43-4ubuntu1) ... 131s Setting up libpangocairo-1.0-0:amd64 (1.55.0+ds-3) ... 131s Setting up adwaita-icon-theme (47.0-2) ... 131s update-alternatives: using /usr/share/icons/Adwaita/cursor.theme to provide /usr/share/icons/default/index.theme (x-cursor-theme) in auto mode 131s Setting up libheif-plugin-aomdec:amd64 (1.19.3-1) ... 131s Setting up libheif-plugin-libde265:amd64 (1.19.3-1) ... 131s Setting up libheif1:amd64 (1.19.3-1) ... 131s Setting up humanity-icon-theme (0.6.16) ... 131s Setting up libgd3:amd64 (2.3.3-12ubuntu3) ... 131s Setting up ubuntu-mono (24.04-0ubuntu1) ... 131s Setting up libgphoto2-6t64:amd64 (2.5.31-4) ... 131s Setting up libwine:amd64 (9.0~repack-4build3) ... 131s Setting up wine64 (9.0~repack-4build3) ... 131s Setting up wine (9.0~repack-4build3) ... 131s Setting up winetricks (20250102-1) ... 131s Processing triggers for libc-bin (2.40-4ubuntu1) ... 131s Processing triggers for systemd (257-2ubuntu1) ... 131s Processing triggers for man-db (2.13.0-1) ... 132s Processing triggers for libglib2.0-0t64:amd64 (2.82.4-1) ... 132s Setting up libgtk-3-0t64:amd64 (3.24.43-4ubuntu1) ... 132s Processing triggers for udev (257-2ubuntu1) ... 133s Setting up yad (0.40.0-1build3) ... 133s Setting up protontricks (1.12.0-1) ... 133s Processing triggers for wine (9.0~repack-4build3) ... 133s Processing triggers for libc-bin (2.40-4ubuntu1) ... 134s autopkgtest [02:29:36]: test pytest: [----------------------- 135s ============================= test session starts ============================== 135s platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0 135s rootdir: /tmp/autopkgtest.nREdkY/build.fVB/src 135s configfile: pyproject.toml 135s plugins: typeguard-4.4.1 135s collected 151 items 135s 135s tests/cli/test_desktop_install.py . [ 0%] 135s tests/cli/test_launch.py FF.......... [ 8%] 136s tests/cli/test_main.py FFFFFFF...FF..FFF.FFFFFFFFFFFF....FFFFFFFFF..FF [ 39%] 136s tests/cli/test_util.py .FFF.F [ 43%] 136s tests/test_config.py .. [ 45%] 136s tests/test_flatpak.py ......... [ 50%] 136s tests/test_gui.py ................... [ 63%] 136s tests/test_steam.py ............................................. [ 93%] 136s tests/test_util.py ........ [ 98%] 136s tests/test_winetricks.py .. [100%] 136s 136s =================================== FAILURES =================================== 136s ________________________ TestCLIRun.test_run_executable ________________________ 136s 136s self = 136s steam_app_factory = .func at 0x7a963ef23060> 136s default_proton = 136s command_mock = 136s gui_provider = 136s launch_cli = .func at 0x7a963ef23740> 136s 136s def test_run_executable( 136s self, steam_app_factory, default_proton, 136s command_mock, gui_provider, launch_cli): 136s """ 136s Run an EXE file by selecting using the GUI 136s """ 136s steam_app = steam_app_factory("Fake game", appid=10) 136s 136s # Fake the user selecting the game 136s gui_provider.mock_stdout = "Fake game: 10" 136s 136s launch_cli(["test.exe"]) 136s 136s # 'test.exe' was executed 136s > command = command_mock.commands[-1] 136s E IndexError: list index out of range 136s 136s /tmp/autopkgtest.nREdkY/build.fVB/src/tests/cli/test_launch.py:30: IndexError 136s ------------------------------ Captured log call ------------------------------- 136s DEBUG protontricks:util.py:81 Stream log handler added 136s INFO protontricks:steam.py:413 Found Steam directory at /tmp/pytest-of-ubuntu/pytest-0/test_run_executable0/home/fakeuser/.steam/steam 136s INFO protontricks:steam.py:1003 Found 0 Steam library folders 136s DEBUG protontricks:gui.py:430 Following inaccessible paths were found: set() 136s DEBUG protontricks:gui.py:439 Following paths have been ignored: set() 136s 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 136s DEBUG protontricks:steam.py:887 Found compatdata directories for app 123450: [] 136s 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 136s 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')] 136s DEBUG protontricks:steam.py:1216 Found Steam user entries: [{'steamid3': 42, 'account_name': 'TestUser', 'timestamp': '0'}] 136s INFO protontricks:steam.py:1222 Currently logged-in Steam user: TestUser 136s INFO protontricks:steam.py:1267 Couldn't find custom shortcuts. Maybe none have been created yet? 136s INFO protontricks:gui.py:48 Using 'yad' as GUI provider 136s 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'] 136s _____________________ TestCLIRun.test_run_executable_appid _____________________ 136s 136s self = 136s default_proton = 136s steam_app_factory = .func at 0x7a963ef23c40> 136s command_mock = 136s launch_cli = .func at 0x7a963ef23600> 136s 136s def test_run_executable_appid( 136s self, default_proton, steam_app_factory, command_mock, launch_cli): 136s """ 136s Run an EXE file directly for a chosen game 136s """ 136s steam_app = steam_app_factory(name="Fake game 1", appid=10) 136s 136s launch_cli(["--appid", "10", "test.exe"]) 136s 136s # 'test.exe' was executed 136s > command = command_mock.commands[-1] 136s E IndexError: list index out of range 136s 136s /tmp/autopkgtest.nREdkY/build.fVB/src/tests/cli/test_launch.py:46: IndexError 136s ------------------------------ Captured log setup ------------------------------ 136s 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 136s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 136s ------------------------------ Captured log call ------------------------------- 136s DEBUG protontricks:util.py:81 Stream log handler added 136s INFO protontricks:steam.py:413 Found Steam directory at /tmp/pytest-of-ubuntu/pytest-0/test_run_executable_appid0/home/fakeuser/.steam/steam 136s INFO protontricks:steam.py:1003 Found 0 Steam library folders 136s DEBUG protontricks:gui.py:430 Following inaccessible paths were found: set() 136s DEBUG protontricks:gui.py:439 Following paths have been ignored: set() 136s 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 136s DEBUG protontricks:steam.py:887 Found compatdata directories for app 123450: [] 136s 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 136s 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')] 136s DEBUG protontricks:steam.py:1216 Found Steam user entries: [{'steamid3': 42, 'account_name': 'TestUser', 'timestamp': '0'}] 136s INFO protontricks:steam.py:1222 Currently logged-in Steam user: TestUser 136s INFO protontricks:steam.py:1267 Couldn't find custom shortcuts. Maybe none have been created yet? 136s 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'] 136s ________________________ TestCLIRun.test_run_winetricks ________________________ 136s 136s self = 136s cli = .func at 0x7a963e9c9bc0> 136s steam_app_factory = .func at 0x7a963e9c9f80> 136s default_proton = 136s command_mock = 136s home_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks0/home/fakeuser') 136s 136s def test_run_winetricks( 136s self, cli, steam_app_factory, default_proton, command_mock, 136s home_dir): 136s """ 136s Perform a Protontricks command directly for a certain game 136s """ 136s proton_install_path = Path(default_proton.install_path) 136s 136s steam_app = steam_app_factory(name="Fake game 1", appid=10) 136s 136s cli(["10", "winecfg"], env={"STEAM_RUNTIME": "0"}) 136s 136s # winecfg was actually run 136s > command = command_mock.commands[-1] 136s E IndexError: list index out of range 136s 136s tests/cli/test_main.py:23: IndexError 136s ------------------------------ Captured log setup ------------------------------ 136s 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 136s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 136s ___________________ TestCLIRun.test_run_winetricks_shortcut ____________________ 136s 136s self = 136s cli = .func at 0x7a963e9ca980> 136s shortcut_factory = .func at 0x7a963e9cae80> 136s default_proton = 136s command_mock = 136s steam_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_shortcut0/home/fakeuser/.steam/steam') 136s 136s def test_run_winetricks_shortcut( 136s self, cli, shortcut_factory, default_proton, command_mock, 136s steam_dir): 136s """ 136s Perform a Protontricks command for a non-Steam shortcut 136s """ 136s proton_install_path = Path(default_proton.install_path) 136s shortcut_factory(install_dir="fake/path/", name="fakegame.exe") 136s 136s cli(["4149337689", "winecfg"]) 136s 136s # Default Proton is used 136s > command = command_mock.commands[-1] 136s E IndexError: list index out of range 136s 136s tests/cli/test_main.py:53: IndexError 136s ------------------------------ Captured log setup ------------------------------ 136s 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 136s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 136s _________________ TestCLIRun.test_run_winetricks_select_proton _________________ 136s 136s self = 136s cli = .func at 0x7a963e9cafc0> 136s steam_app_factory = .func at 0x7a963e9ca7a0> 136s default_proton = 136s custom_proton_factory = .func at 0x7a963e9c9940> 136s command_mock = 136s home_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_select_pro0/home/fakeuser') 136s 136s def test_run_winetricks_select_proton( 136s self, cli, steam_app_factory, default_proton, 136s custom_proton_factory, command_mock, home_dir): 136s """ 136s Perform a Protontricks command while selecting a specific 136s Proton version using PROTON_VERSION env var 136s """ 136s steam_app_factory(name="Fake game", appid=10) 136s custom_proton = custom_proton_factory(name="Custom Proton") 136s cli(["10", "winecfg"], env={"PROTON_VERSION": "Custom Proton"}) 136s 136s > assert command_mock.commands[-1].env["PROTON_PATH"] \ 136s == str(custom_proton.install_path) 136s E IndexError: list index out of range 136s 136s tests/cli/test_main.py:69: IndexError 136s ------------------------------ Captured log setup ------------------------------ 136s 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 136s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 136s _________________ TestCLIRun.test_run_winetricks_select_steam __________________ 136s 136s self = 136s cli = .func at 0x7a963e9c9080> 136s steam_app_factory = .func at 0x7a963e9ca020> 136s default_proton = 136s command_mock = 136s home_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_select_ste0/home/fakeuser') 136s 136s def test_run_winetricks_select_steam( 136s self, cli, steam_app_factory, default_proton, command_mock, 136s home_dir): 136s """ 136s Perform a Protontricks command while selecting a specific 136s Steam installation directory 136s """ 136s steam_app_factory(name="Fake game", appid=10) 136s os.rename( 136s str(home_dir / ".steam" / "steam"), 136s str(home_dir / ".steam_new") 136s ) 136s os.rename( 136s str(home_dir / ".steam" / "root" / "ubuntu12_32"), 136s str(home_dir / ".steam_new" / "ubuntu12_32") 136s ) 136s 136s cli( 136s ["10", "winecfg"], 136s env={"STEAM_DIR": str(home_dir / ".steam_new")} 136s ) 136s 136s > command = command_mock.commands[-1] 136s E IndexError: list index out of range 136s 136s tests/cli/test_main.py:94: IndexError 136s ------------------------------ Captured log setup ------------------------------ 136s 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 136s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 136s _______________ TestCLIRun.test_run_winetricks_steam_runtime_v1 ________________ 136s 136s self = 136s cli = .func at 0x7a963e9c96c0> 136s steam_app_factory = .func at 0x7a963e9c93a0> 136s steam_runtime_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_steam_runt0/home/fakeuser/.steam/root/ubuntu12_32') 136s default_proton = 136s command_mock = 136s home_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_steam_runt0/home/fakeuser') 136s 136s def test_run_winetricks_steam_runtime_v1( 136s self, cli, steam_app_factory, steam_runtime_dir, default_proton, 136s command_mock, home_dir): 136s """ 136s Perform a Protontricks command using the older Steam Runtime 136s bundled with Steam 136s """ 136s steam_app_factory(name="Fake game 1", appid=10) 136s 136s cli(["10", "winecfg"], env={"STEAM_RUNTIME": "1"}) 136s 136s wine_bin_dir = ( 136s home_dir / ".cache" / "protontricks" / "proton" / "Proton 4.20" 136s / "bin" 136s ) 136s 136s # winecfg was actually run 136s > command = command_mock.commands[-1] 136s E IndexError: list index out of range 136s 136s tests/cli/test_main.py:121: IndexError 136s ------------------------------ Captured log setup ------------------------------ 136s 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 136s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 136s _______________ TestCLIRun.test_run_winetricks_steam_runtime_v2 ________________ 136s 136s self = 136s cli = .func at 0x7a963e9c8680> 136s home_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_steam_runt1/home/fakeuser') 136s steam_app_factory = .func at 0x7a963e9cb4c0> 136s steam_runtime_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_steam_runt1/home/fakeuser/.steam/root/ubuntu12_32') 136s steam_runtime_soldier = 136s command_mock = 136s proton_factory = .func at 0x7a963e9c87c0> 136s caplog = <_pytest.logging.LogCaptureFixture object at 0x7a963e9c3330> 136s 136s def test_run_winetricks_steam_runtime_v2( 136s self, cli, home_dir, steam_app_factory, steam_runtime_dir, 136s steam_runtime_soldier, command_mock, proton_factory, caplog): 136s """ 136s Perform a Protontricks command using a newer Steam Runtime that is 136s installed as its own application 136s """ 136s proton_app = proton_factory( 136s name="Proton 5.13", appid=10, compat_tool_name="proton_513", 136s is_default_proton=True, required_tool_app=steam_runtime_soldier 136s ) 136s steam_app_factory(name="Fake game 1", appid=20) 136s 136s cli(["20", "winecfg"], env={"STEAM_RUNTIME": "1"}) 136s 136s wine_bin_dir = ( 136s home_dir / ".cache" / "protontricks" / "proton" / "Proton 5.13" 136s / "bin" 136s ) 136s 136s # Launcher process was launched to handle launching processes 136s # inside the sandbox 136s > assert command_mock.commands[0].args[0] \ 136s == str(wine_bin_dir / "bwrap-launcher") 136s E IndexError: list index out of range 136s 136s tests/cli/test_main.py:170: IndexError 136s ------------------------------ Captured log call ------------------------------- 136s 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 136s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 136s ___________ TestCLIRun.test_run_winetricks_steam_runtime_v2_no_bwrap ___________ 136s 136s self = 136s cli = .func at 0x7a963ea980e0> 136s home_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_steam_runt2/home/fakeuser') 136s steam_app_factory = .func at 0x7a963ea98180> 136s steam_runtime_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_steam_runt2/home/fakeuser/.steam/root/ubuntu12_32') 136s steam_runtime_soldier = 136s command_mock = 136s proton_factory = .func at 0x7a963ea98400> 136s caplog = <_pytest.logging.LogCaptureFixture object at 0x7a963e9cbe30> 136s 136s def test_run_winetricks_steam_runtime_v2_no_bwrap( 136s self, cli, home_dir, steam_app_factory, steam_runtime_dir, 136s steam_runtime_soldier, command_mock, proton_factory, caplog): 136s """ 136s Perform a Protontricks command using a newer Steam Runtime 136s *without* bwrap that is installed as its own application 136s """ 136s proton_app = proton_factory( 136s name="Proton 5.13", appid=10, compat_tool_name="proton_513", 136s is_default_proton=True, required_tool_app=steam_runtime_soldier 136s ) 136s steam_app_factory(name="Fake game 1", appid=20) 136s 136s cli(["--no-bwrap", "20", "winecfg"], env={"STEAM_RUNTIME": "1"}) 136s 136s wine_bin_dir = ( 136s home_dir / ".cache" / "protontricks" / "proton" / "Proton 5.13" 136s / "bin" 136s ) 136s 136s > command = command_mock.commands[-1] 136s E IndexError: list index out of range 136s 136s tests/cli/test_main.py:234: IndexError 136s ------------------------------ Captured log call ------------------------------- 136s 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 136s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 136s _________ TestCLIRun.test_run_background_wineserver_toggle[args3-True] _________ 136s 136s self = 136s cli = .func at 0x7a963ea98f40> 136s steam_app_factory = .func at 0x7a963ea99440> 136s default_new_proton = 136s command_mock = 136s args = ['--background-wineserver', '--no-bwrap', '-c', "'echo nothing'", '20'] 136s wineserver_launched = True 136s home_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_background_wineserver3/home/fakeuser') 136s 136s @pytest.mark.parametrize( 136s "args,wineserver_launched", 136s [ 136s # background wineserver disabled for bwrap by default 136s (["-c", "'echo nothing'", "20"], False), 136s 136s # background wineserver also disabled by default for everything 136s # else 136s (["--no-bwrap", "-c", "'echo nothing'", "20"], False), 136s 136s # Manually disable background wineserver 136s ( 136s ["--no-background-wineserver", "-c", "'echo nothing'", "20"], 136s False 136s ), 136s 136s # Manually enable background wineserver 136s ( 136s [ 136s "--background-wineserver", "--no-bwrap", 136s "-c", "'echo nothing'", "20" 136s ], 136s True 136s ) 136s ] 136s ) 136s def test_run_background_wineserver_toggle( 136s self, cli, steam_app_factory, default_new_proton, command_mock, 136s args, wineserver_launched, home_dir): 136s """ 136s Try running a Protontricks command with different arguments 136s and ensure background wineserver is (not) launched 136s depending on the scenario 136s """ 136s steam_app_factory(name="Fake game 1", appid=20) 136s 136s cli(args) 136s 136s wineserver_found = any( 136s True for command in command_mock.commands 136s if isinstance(command.args, str) 136s and command.args == str( 136s home_dir / ".cache/protontricks/proton/Proton 7.0/bin" 136s / "wineserver-keepalive" 136s ) 136s ) 136s 136s > assert wineserver_found == wineserver_launched 136s E assert False == True 136s 136s tests/cli/test_main.py:327: AssertionError 136s ------------------------------ Captured log setup ------------------------------ 136s 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 136s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 136s ________________ TestCLIRun.test_run_winetricks_game_not_found _________________ 136s 136s self = 136s cli = .func at 0x7a963ea987c0> 136s steam_app_factory = .func at 0x7a963ea99760> 136s default_proton = 136s 136s def test_run_winetricks_game_not_found( 136s self, cli, steam_app_factory, default_proton): 136s """ 136s Try running a Protontricks command for a non-existing app 136s """ 136s result = cli(["100", "winecfg"], expect_returncode=1) 136s 136s > assert "Steam app with the given app ID could not be found" in result 136s 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" 136s 136s tests/cli/test_main.py:336: AssertionError 136s ------------------------------ Captured log setup ------------------------------ 136s 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 136s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 136s _____________________ TestCLIRun.test_run_steam_not_found ______________________ 136s 136s self = 136s cli = .func at 0x7a963ea9a660> 136s steam_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_steam_not_found0/home/fakeuser/.steam/steam') 136s 136s def test_run_steam_not_found(self, cli, steam_dir): 136s """ 136s Try performing a command with a missing Steam directory 136s """ 136s shutil.rmtree(str(steam_dir)) 136s 136s result = cli(["10", "winecfg"], expect_returncode=1) 136s 136s > assert "Steam installation directory could not be found" in result 136s 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" 136s 136s tests/cli/test_main.py:363: AssertionError 136s ___________________ TestCLIRun.test_run_winetricks_not_found ___________________ 136s 136s self = 136s cli = .func at 0x7a963ea9a200> 136s default_proton = 136s home_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_not_found0/home/fakeuser') 136s steam_app_factory = .func at 0x7a963ea9a5c0> 136s 136s def test_run_winetricks_not_found( 136s self, cli, default_proton, home_dir, steam_app_factory): 136s """ 136s Try performing a command with missing Winetricks executable 136s """ 136s steam_app_factory(name="Fake game 1", appid=10) 136s (home_dir / ".local" / "bin" / "winetricks").unlink() 136s 136s result = cli(["10", "winecfg"], expect_returncode=1) 136s 136s > assert "Winetricks isn't installed" in result 136s 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" 136s 136s tests/cli/test_main.py:375: AssertionError 136s ------------------------------ Captured log setup ------------------------------ 136s 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 136s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 136s _________________ TestCLIRun.test_run_winetricks_from_desktop __________________ 136s 136s self = 136s cli = .func at 0x7a963e9cbf60> 136s default_proton = 136s home_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_winetricks_from_deskt0/home/fakeuser') 136s steam_app_factory = .func at 0x7a963e9cbd80> 136s monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7a963e9046e0> 136s gui_provider = 136s 136s def test_run_winetricks_from_desktop( 136s self, cli, default_proton, home_dir, steam_app_factory, 136s monkeypatch, gui_provider): 136s """ 136s Try performing a command with missing Winetricks executable. 136s 136s Run command using --no-term and ensure error dialog is shown 136s with the expected error message 136s """ 136s steam_app_factory(name="Fake game 1", appid=10) 136s (home_dir / ".local" / "bin" / "winetricks").unlink() 136s 136s cli(["--no-term", "10", "winecfg"], expect_returncode=1) 136s 136s > assert gui_provider.args[0] == "yad" 136s E TypeError: 'NoneType' object is not subscriptable 136s 136s tests/cli/test_main.py:391: TypeError 136s ------------------------------ Captured log setup ------------------------------ 136s 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 136s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 136s _________________ TestCLIRun.test_run_steam_runtime_not_found __________________ 136s 136s self = 136s cli = .func at 0x7a963e9c93a0> 136s steam_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_steam_runtime_not_fou0/home/fakeuser/.steam/steam') 136s steam_app_factory = .func at 0x7a963e9ca160> 136s 136s def test_run_steam_runtime_not_found( 136s self, cli, steam_dir, steam_app_factory): 136s """ 136s Try performing a command with Steam Runtime enabled but no 136s available Steam Runtime installation 136s """ 136s steam_app_factory(name="Fake game 1", appid=10) 136s result = cli( 136s ["10", "winecfg"], env={"STEAM_RUNTIME": "invalid/path"}, 136s expect_returncode=1 136s ) 136s 136s > assert "Steam Runtime was enabled but couldn't be found" in result 136s 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" 136s 136s tests/cli/test_main.py:426: AssertionError 136s _____________________ TestCLIRun.test_run_proton_not_found _____________________ 136s 136s self = 136s cli = .func at 0x7a963e9c9120> 136s steam_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_proton_not_found0/home/fakeuser/.steam/steam') 136s steam_app_factory = .func at 0x7a963e9c8040> 136s 136s def test_run_proton_not_found(self, cli, steam_dir, steam_app_factory): 136s steam_app_factory(name="Fake game 1", appid=10) 136s result = cli(["10", "winecfg"], expect_returncode=1) 136s 136s > assert "Proton installation could not be found" in result 136s 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" 136s 136s tests/cli/test_main.py:432: AssertionError 136s __________________ TestCLIRun.test_run_compat_tool_not_proton __________________ 136s 136s self = 136s cli = .func at 0x7a963e9c9a80> 136s steam_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_compat_tool_not_proto0/home/fakeuser/.steam/steam') 136s default_proton = 136s custom_proton_factory = .func at 0x7a963e9c9260> 136s steam_app_factory = .func at 0x7a963e9ca200> 136s caplog = <_pytest.logging.LogCaptureFixture object at 0x7a963ea85080> 136s 136s def test_run_compat_tool_not_proton( 136s self, cli, steam_dir, default_proton, custom_proton_factory, 136s steam_app_factory, caplog): 136s """ 136s Try performing a Protontricks command for a Steam app that 136s uses a compatibility tool that isn't Proton. 136s 136s Regression test for https://github.com/Matoking/protontricks/issues/113 136s """ 136s # Create a compatibility tool that isn't actually Proton 136s tool_app = custom_proton_factory(name="Not Proton") 136s (tool_app.install_path / "proton").unlink() 136s 136s steam_app_factory( 136s name="Fake game", appid=10, compat_tool_name="Not Proton" 136s ) 136s 136s result = cli(["10", "winecfg"], expect_returncode=1) 136s 136s > assert "Proton installation could not be found" in result 136s 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" 136s 136s tests/cli/test_main.py:453: AssertionError 136s ------------------------------ Captured log setup ------------------------------ 136s 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 136s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 136s ________________ TestCLIRun.test_run_command_proton_incomplete _________________ 136s 136s self = 136s cli = .func at 0x7a963e9ca700> 136s steam_app_factory = .func at 0x7a963e9ca8e0> 136s default_proton = 136s 136s def test_run_command_proton_incomplete( 136s self, cli, steam_app_factory, default_proton): 136s """ 136s Try performing a Protontricks command using a Proton installation that 136s is incomplete because it hasn't been launched yet. 136s 136s Regression test for 136s https://github.com/flathub/com.github.Matoking.protontricks/issues/10 136s """ 136s # Remove the 'dist' directory to make the Proton installation 136s # incomplete 136s shutil.rmtree(str(default_proton.install_path / "dist")) 136s 136s steam_app_factory(name="Fake game", appid=10) 136s 136s result = cli(["10", "winecfg"], expect_returncode=1) 136s 136s > assert "Proton installation is incomplete" in result 136s 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" 136s 136s tests/cli/test_main.py:478: AssertionError 136s ------------------------------ Captured log setup ------------------------------ 136s 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 136s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 136s ________________ TestCLIRun.test_run_command_runtime_incomplete ________________ 136s 136s self = 136s cli = .func at 0x7a963e9c9c60> 136s steam_app_factory = .func at 0x7a963e9c85e0> 136s steam_runtime_soldier = 136s proton_factory = .func at 0x7a963e9c9f80> 136s steam_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_command_runtime_incom0/home/fakeuser/.steam/steam') 136s 136s def test_run_command_runtime_incomplete( 136s self, cli, steam_app_factory, steam_runtime_soldier, 136s proton_factory, steam_dir): 136s """ 136s Try performing a Protontricks command using a Proton installation that 136s is still missing a Steam Runtime installation. 136s 136s Regression test for https://github.com/Matoking/protontricks/issues/75 136s """ 136s proton_factory( 136s name="Proton 5.13", appid=10, compat_tool_name="proton_513", 136s is_default_proton=True, required_tool_app=steam_runtime_soldier 136s ) 136s steam_app_factory(name="Fake game 1", appid=20) 136s 136s # Delete the Steam Runtime installation to simulate an incomplete 136s # Proton installation that's missing the required Steam Runtime 136s shutil.rmtree(str(steam_runtime_soldier.install_path)) 136s (steam_dir / "steamapps" / "appmanifest_1391110.acf").unlink() 136s 136s > with pytest.raises(RuntimeError) as exc: 136s E Failed: DID NOT RAISE 136s 136s tests/cli/test_main.py:500: Failed 136s ------------------------------ Captured log call ------------------------------- 136s 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 136s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 136s _____________________ TestCLIRun.test_old_flatpak_detected _____________________ 136s 136s self = 136s cli = .func at 0x7a963ea9b100> 136s monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7a963ea84c20> 136s caplog = <_pytest.logging.LogCaptureFixture object at 0x7a963ea84bb0> 136s 136s def test_old_flatpak_detected(self, cli, monkeypatch, caplog): 136s """ 136s Try performing a Protontricks command when running inside an older 136s Flatpak environment and ensure bwrap is disabled. 136s """ 136s cli(["-s", "nothing"]) 136s 136s # No warning is printed since we're not running inside Flatpak 136s assert len([ 136s record for record in caplog.records 136s if record.levelname == "WARNING" 136s ]) == 0 136s 136s # Fake a Flatpak environment 136s monkeypatch.setattr( 136s "protontricks.cli.main.get_running_flatpak_version", 136s # Mock version 1.12.0. 1.12.1 is new enough to not require 136s # disabling bwrap. 136s lambda: (1, 12, 0) 136s ) 136s 136s cli(["-s", "nothing"]) 136s 136s > assert len([ 136s record for record in caplog.records 136s if record.levelname == "WARNING" 136s ]) == 1 136s E assert 0 == 1 136s E + where 0 = len([]) 136s 136s tests/cli/test_main.py:529: AssertionError 136s _____________________ TestCLIRun.test_new_flatpak_detected _____________________ 136s 136s self = 136s cli = .func at 0x7a963ea99ee0> 136s monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7a963ea849f0> 136s caplog = <_pytest.logging.LogCaptureFixture object at 0x7a963e9d55c0> 136s 136s def test_new_flatpak_detected(self, cli, monkeypatch, caplog): 136s """ 136s Try performing a Protontricks command when running inside a newer 136s Flatpak environment and ensure Flatpak is detected correctly. 136s """ 136s # Fake a newer Flatpak environment 136s monkeypatch.setattr( 136s "protontricks.cli.main.get_running_flatpak_version", 136s lambda: (1, 12, 1) 136s ) 136s 136s cli(["-s", "nothing"]) 136s 136s # Flatpak is new enough not to generate a warning. 136s assert len([ 136s record for record in caplog.records 136s if record.levelname == "WARNING" 136s ]) == 0 136s > assert any([ 136s record for record in caplog.records 136s if record.levelname == "INFO" 136s and "Running inside Flatpak sandbox, version 1.12.1" 136s in record.message 136s ]) 136s E assert False 136s E + where False = any([]) 136s 136s tests/cli/test_main.py:560: AssertionError 136s _____________ TestCLIRun.test_cli_error_handler_uncaught_exception _____________ 136s 136s self = 136s cli = .func at 0x7a963ea996c0> 136s default_proton = 136s steam_app_factory = .func at 0x7a963ea99120> 136s monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7a963ea843d0> 136s gui_provider = 136s 136s def test_cli_error_handler_uncaught_exception( 136s self, cli, default_proton, steam_app_factory, monkeypatch, 136s gui_provider): 136s """ 136s Ensure that 'cli_error_handler' correctly catches any uncaught 136s exception and includes a stack trace in the error dialog. 136s """ 136s def _mock_from_appmanifest(*args, **kwargs): 136s raise ValueError("Test appmanifest error") 136s 136s steam_app_factory(name="Fake game", appid=10) 136s 136s monkeypatch.setattr( 136s "protontricks.steam.SteamApp.from_appmanifest", 136s _mock_from_appmanifest 136s ) 136s 136s cli(["--no-term", "-s", "Fake"], expect_returncode=1) 136s 136s > assert gui_provider.args[0] == "yad" 136s E TypeError: 'NoneType' object is not subscriptable 136s 136s tests/cli/test_main.py:586: TypeError 136s ------------------------------ Captured log setup ------------------------------ 136s 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 136s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 136s ______________ TestCLIRun.test_run_filesystem_permission_missing _______________ 136s 136s self = 136s cli = .func at 0x7a963ea98ae0> 136s steam_library_factory = .func at 0x7a963ea98fe0> 136s caplog = <_pytest.logging.LogCaptureFixture object at 0x7a963e9d6510> 136s 136s @pytest.mark.usefixtures("flatpak_sandbox") 136s def test_run_filesystem_permission_missing( 136s self, cli, steam_library_factory, caplog): 136s """ 136s Try performing a command in a Flatpak sandbox where the user 136s hasn't provided adequate fileystem permissions. Ensure warning is 136s printed. 136s """ 136s path = steam_library_factory(name="GameDrive") 136s 136s cli(["-s", "fake"]) 136s 136s > record = next( 136s record for record in caplog.records 136s if "grant access to the required directories" in record.message 136s ) 136s E StopIteration 136s 136s tests/cli/test_main.py:605: StopIteration 136s 136s The above exception was the direct cause of the following exception: 136s 136s cls = 136s func = . at 0x7a963ea98900> 136s when = 'call' 136s reraise = (, ) 136s 136s @classmethod 136s def from_call( 136s cls, 136s func: Callable[[], TResult], 136s when: Literal["collect", "setup", "call", "teardown"], 136s reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 136s ) -> CallInfo[TResult]: 136s """Call func, wrapping the result in a CallInfo. 136s 136s :param func: 136s The function to call. Called without arguments. 136s :type func: Callable[[], _pytest.runner.TResult] 136s :param when: 136s The phase in which the function is called. 136s :param reraise: 136s Exception or exceptions that shall propagate if raised by the 136s function, instead of being wrapped in the CallInfo. 136s """ 136s excinfo = None 136s start = timing.time() 136s precise_start = timing.perf_counter() 136s try: 136s > result: TResult | None = func() 136s 136s /usr/lib/python3/dist-packages/_pytest/runner.py:341: 136s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 136s /usr/lib/python3/dist-packages/_pytest/runner.py:242: in 136s lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise 136s /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ 136s return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 136s /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec 136s return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 136s /usr/lib/python3/dist-packages/_pytest/threadexception.py:92: in pytest_runtest_call 136s yield from thread_exception_runtest_hook() 136s /usr/lib/python3/dist-packages/_pytest/threadexception.py:68: in thread_exception_runtest_hook 136s yield 136s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:95: in pytest_runtest_call 136s yield from unraisable_exception_runtest_hook() 136s /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:70: in unraisable_exception_runtest_hook 136s yield 136s /usr/lib/python3/dist-packages/_pytest/logging.py:846: in pytest_runtest_call 136s yield from self._runtest_for(item, "call") 136s /usr/lib/python3/dist-packages/_pytest/logging.py:829: in _runtest_for 136s yield 136s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 136s 136s self = > _state='suspended' _in_suspended=False> _capture_fixture=<_pytest.capture.CaptureFixture object at 0x7a963e9d4e50>> 136s item = 136s 136s @hookimpl(wrapper=True) 136s def pytest_runtest_call(self, item: Item) -> Generator[None]: 136s with self.item_capture("call", item): 136s > return (yield) 136s E RuntimeError: generator raised StopIteration 136s 136s /usr/lib/python3/dist-packages/_pytest/capture.py:880: RuntimeError 136s ______________________ TestCLIRun.test_run_bwrap_default _______________________ 136s 136s self = 136s cli = .func at 0x7a963e9c9bc0> 136s steam_app_factory = .func at 0x7a963e9cad40> 136s steam_runtime_soldier = 136s proton_factory = .func at 0x7a963e9ca700> 136s command_mock = 136s caplog = <_pytest.logging.LogCaptureFixture object at 0x7a963e7c1fd0> 136s 136s @pytest.mark.usefixtures("command_mock") 136s def test_run_bwrap_default( 136s self, cli, steam_app_factory, steam_runtime_soldier, 136s proton_factory, command_mock, caplog): 136s """ 136s Perform command_mock for two Proton apps, one using a Proton version 136s using the legacy Steam Runtime and another app using newer Steam 136s Runtime with bwrap. Ensure that the correct default for `use_bwrap` 136s is used in both cases. 136s 136s Regression test for #150 136s """ 136s proton_factory( 136s name="Old Proton", appid=123450, compat_tool_name="old_proton", 136s ) 136s proton_factory( 136s name="New Proton", appid=543210, compat_tool_name="new_proton", 136s required_tool_app=steam_runtime_soldier 136s ) 136s 136s steam_app_factory( 136s name="Fake game", appid=10, compat_tool_name="old_proton" 136s ) 136s steam_app_factory( 136s name="Fake game 2", appid=20, compat_tool_name="new_proton" 136s ) 136s 136s # bwrap is disabled for the old app by default 136s cli(["-v", "-c", "bash", "10"]) 136s > assert any( 136s filter(lambda msg: "Using 'bwrap = False'" in msg, caplog.messages) 136s ) 136s E assert False 136s E + where False = any() 136s E + where = filter(. at 0x7a963e9cb1a0>, []) 136s E + where [] = <_pytest.logging.LogCaptureFixture object at 0x7a963e7c1fd0>.messages 136s 136s tests/cli/test_main.py:641: AssertionError 136s ------------------------------ Captured log call ------------------------------- 136s 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 136s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 136s 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 136s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 136s __________________ TestCLIRun.test_select_steam_installation ___________________ 136s 136s self = 136s cli = .func at 0x7a963e9c9ee0> 136s steam_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_select_steam_installation0/home/fakeuser/.steam/steam') 136s flatpak_steam_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_select_steam_installation0/home/fakeuser/.var/app/com.valvesoftware.Steam/data/Steam') 136s steam_app_factory = .func at 0x7a963e9ca480> 136s proton_factory = .func at 0x7a963e9ca2a0> 136s gui_provider = 136s 136s @pytest.mark.usefixtures("flatpak_sandbox") 136s def test_select_steam_installation( 136s self, cli, steam_dir, flatpak_steam_dir, steam_app_factory, 136s proton_factory, gui_provider): 136s """ 136s Test that the user is prompted to select the Steam installation, 136s and that the correct Steam installation is used in both cases 136s """ 136s # Only the Flatpak installation has an app 136s steam_app_factory( 136s name="Native Steam app", appid=10 136s ) 136s 136s proton_factory( 136s name="Flatpak Proton", appid=123450, 136s compat_tool_name="flatpak_proton" 136s ) 136s steam_app_factory( 136s name="Flatpak Steam app", appid=10, 136s compat_tool_name="flatpak_proton", 136s library_dir=flatpak_steam_dir, 136s ) 136s 136s # Mock the user choosing the Flatpak installation. 136s # Only the index is actually checked in the actual function. 136s gui_provider.mock_stdout = "1: Native - /home/fake/.steam" 136s 136s result = cli(["-s", "app"]) 136s 136s > assert "Native Steam app (10)" in result 136s 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" 136s 136s tests/cli/test_main.py:682: AssertionError 136s ------------------------------ Captured log call ------------------------------- 136s 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 136s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 136s _______________ TestCLIRun.test_steam_installation_not_selected ________________ 136s 136s self = 136s cli = .func at 0x7a963e9c9080> 136s gui_provider = 136s 136s @pytest.mark.usefixtures( 136s "flatpak_sandbox", "steam_dir", "flatpak_steam_dir" 136s ) 136s def test_steam_installation_not_selected(self, cli, gui_provider): 136s """ 136s Test that not selecting a Steam installation results in the correct 136s exit message 136s """ 136s # Mock the user choosing the Flatpak installation. 136s # Only the index is actually checked in the actual function. 136s gui_provider.mock_stdout = "" 136s gui_provider.mock_returncode = 1 136s 136s result = cli(["-s", "app"], expect_returncode=1) 136s 136s > assert "No Steam installation was selected" in result 136s 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" 136s 136s tests/cli/test_main.py:708: AssertionError 136s _______________________ TestCLICommand.test_run_command ________________________ 136s 136s self = 136s cli = .func at 0x7a963e9c98a0> 136s default_proton = 136s steam_app_factory = .func at 0x7a963e9c8040> 136s gui_provider = 136s command_mock = 136s home_dir = PosixPath('/tmp/pytest-of-ubuntu/pytest-0/test_run_command0/home/fakeuser') 136s 136s def test_run_command( 136s self, cli, default_proton, steam_app_factory, gui_provider, 136s command_mock, home_dir): 136s """ 136s Run a shell command for a given game 136s """ 136s steam_app = steam_app_factory(name="Fake game", appid=10) 136s proton_install_path = default_proton.install_path 136s 136s cli(["-c", "bash", "10"]) 136s 136s > command = command_mock.commands[-1] 136s E IndexError: list index out of range 136s 136s tests/cli/test_main.py:805: IndexError 136s ------------------------------ Captured log setup ------------------------------ 136s 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 136s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 136s ___________________ TestCLICommand.test_run_command_cwd_app ____________________ 136s 136s self = 136s cli = .func at 0x7a963e9cbd80> 136s steam_app_factory = .func at 0x7a963e9cbe20> 136s command_mock = 136s 136s @pytest.mark.usefixtures("default_proton") 136s def test_run_command_cwd_app(self, cli, steam_app_factory, command_mock): 136s """ 136s Run a shell command for a given game using `--cwd-app` flag and 136s ensure the working directory was set to the game's installation 136s directory 136s """ 136s steam_app = steam_app_factory(name="Fake game", appid=10) 136s 136s cli(["--cwd-app", "-c", "bash", "10"]) 136s 136s > command = command_mock.commands[-1] 136s E IndexError: list index out of range 136s 136s tests/cli/test_main.py:839: IndexError 136s ------------------------------ Captured log setup ------------------------------ 136s 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 136s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 136s __________________ TestCLISearch.test_search_case_insensitive __________________ 136s 136s self = 136s cli = .func at 0x7a963ea9a700> 136s steam_app_factory = .func at 0x7a963ea9a020> 136s 136s def test_search_case_insensitive(self, cli, steam_app_factory): 136s """ 136s Do a case-insensitive search 136s """ 136s steam_app_factory(name="FaKe GaMe 1", appid=10) 136s steam_app_factory(name="FAKE GAME 2", appid=20) 136s 136s # Search is case-insensitive 136s stdout = cli(["-s", "game"]) 136s 136s > assert "FaKe GaMe 1 (10)" in stdout 136s 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" 136s 136s tests/cli/test_main.py:856: AssertionError 136s _________________ TestCLISearch.test_search_pfx_lock_required __________________ 136s 136s self = 136s cli = .func at 0x7a963ea9a160> 136s steam_app_factory = .func at 0x7a963ea99ee0> 136s 136s def test_search_pfx_lock_required(self, cli, steam_app_factory): 136s """ 136s Do a search for a game that doesn't have a complete prefix yet 136s """ 136s steam_app = steam_app_factory(name="Fake game", appid=10) 136s 136s # Delete the pfx.lock file that signifies that the game has been 136s # launched at least once. Protontricks requires that this file 136s # exists 136s (Path(steam_app.prefix_path).parent / "pfx.lock").unlink() 136s 136s stdout = cli(["-s", "game"]) 136s 136s > assert "Found no games" in stdout 136s 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" 136s 136s tests/cli/test_main.py:872: AssertionError 136s _________________ TestCLISearch.test_search_multiple_keywords __________________ 136s 136s self = 136s cli = .func at 0x7a963ea9af20> 136s steam_app_factory = .func at 0x7a963ea99120> 136s 136s def test_search_multiple_keywords(self, cli, steam_app_factory): 136s """ 136s Do a search for games with multiple subsequent words from the entire 136s name 136s """ 136s steam_app_factory(name="Apple banana cinnamon", appid=10) 136s steam_app_factory(name="Apple banana", appid=20) 136s 136s stdout = cli(["-s", "apple", "banana"]) 136s 136s # First game is found, second is not 136s > assert "Apple banana cinnamon (10)" in stdout 136s 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" 136s 136s tests/cli/test_main.py:886: AssertionError 136s __________________ TestCLISearch.test_search_strip_non_ascii ___________________ 136s 136s self = 136s cli = .func at 0x7a963ea9ba60> 136s steam_app_factory = .func at 0x7a963ea98360> 136s 136s def test_search_strip_non_ascii(self, cli, steam_app_factory): 136s """ 136s Do a search for a game with various symbols that are ignored 136s when doing the search 136s """ 136s steam_app_factory( 136s name="Frog™ Simulator®: Year of the 🐸 Edition", appid=10 136s ) 136s 136s # Non-ASCII symbols are not checked for when doing the search 136s stdout = cli([ 136s "-s", "frog", "simulator", "year", "of", "the", "edition" 136s ]) 136s 136s > assert "Frog™ Simulator®: Year of the 🐸 Edition (10)" in stdout 136s 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" 136s 136s tests/cli/test_main.py:909: AssertionError 136s ______________ TestCLISearch.test_search_multiple_library_folders ______________ 136s 136s self = 136s cli = .func at 0x7a963e9c8d60> 136s steam_app_factory = .func at 0x7a963e9cbb00> 136s steam_library_factory = .func at 0x7a963e9c8ea0> 136s 136s def test_search_multiple_library_folders( 136s self, cli, steam_app_factory, steam_library_factory): 136s """ 136s Create three games in three different locations and ensure 136s all are found when searched for 136s """ 136s library_dir_a = steam_library_factory("LibraryA") 136s library_dir_b = steam_library_factory("LibraryB") 136s 136s steam_app_factory(name="Fake game 1", appid=10) 136s steam_app_factory( 136s name="Fake game 2", appid=20, library_dir=library_dir_a 136s ) 136s steam_app_factory( 136s name="Fake game 3", appid=30, library_dir=library_dir_b 136s ) 136s 136s # All three games should be found automatically 136s result = cli(["-s", "game"]) 136s 136s > assert "Fake game 1" in result 136s 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" 136s 136s tests/cli/test_main.py:931: AssertionError 136s ______________________ TestCLISearch.test_search_shortcut ______________________ 136s 136s self = 136s cli = .func at 0x7a963e9c8040> 136s shortcut_factory = .func at 0x7a963e9c8400> 136s 136s def test_search_shortcut( 136s self, cli, shortcut_factory): 136s """ 136s Create two non-Steam shortcut and ensure they can be found 136s """ 136s shortcut_factory(install_dir="fake/path/", name="fakegame.exe") 136s shortcut_factory(install_dir="fake/path2/", name="fakegame.exe") 136s 136s result = cli(["-v", "-s", "steam"]) 136s 136s > assert "Non-Steam shortcut: fakegame.exe (4149337689)" in result 136s 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" 136s 136s tests/cli/test_main.py:945: AssertionError 136s _______________________ TestCLISearch.test_list_all_apps _______________________ 136s 136s self = 136s cli = .func at 0x7a963e9c89a0> 136s steam_app_factory = .func at 0x7a963e9c9800> 136s 136s def test_list_all_apps(self, cli, steam_app_factory): 136s """ 136s List all apps using `-l` CLI flag 136s """ 136s steam_app_factory(name="Game number one", appid=10) 136s steam_app_factory(name="Fake game", appid=20) 136s 136s result = cli(["-l"]) 136s 136s > assert "Game number one" in result 136s 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" 136s 136s tests/cli/test_main.py:957: AssertionError 136s ___________________ test_cli_enable_logging[-v-log_levels1] ____________________ 136s 136s cli = .func at 0x7a963e9cb1a0>, parameter = '-v' 136s log_levels = ['INFO'] 136s 136s @pytest.mark.parametrize( 136s "parameter,log_levels", 136s [ 136s (None, []), 136s ("-v", ["INFO"]), 136s ("-vv", ["INFO", "DEBUG"]) 136s ] 136s ) 136s def test_cli_enable_logging(cli, parameter, log_levels): 136s """ 136s Run the CLI interface with different logging levels and ensure 136s that log messages with corresponding log levels are printed 136s """ 136s if parameter: 136s _, stderr = cli( 136s [parameter, "-s", "nothing"], 136s expect_returncode=1, # We don't care whether the command succeeds 136s include_stderr=True 136s ) 136s 136s for log_level in log_levels: 136s > assert log_level in stderr 136s E AssertionError: assert 'INFO' in '' 136s 136s tests/cli/test_main.py:999: AssertionError 136s ___________________ test_cli_enable_logging[-vv-log_levels2] ___________________ 136s 136s cli = .func at 0x7a963e9c9f80>, parameter = '-vv' 136s log_levels = ['INFO', 'DEBUG'] 136s 136s @pytest.mark.parametrize( 136s "parameter,log_levels", 136s [ 136s (None, []), 136s ("-v", ["INFO"]), 136s ("-vv", ["INFO", "DEBUG"]) 136s ] 136s ) 136s def test_cli_enable_logging(cli, parameter, log_levels): 136s """ 136s Run the CLI interface with different logging levels and ensure 136s that log messages with corresponding log levels are printed 136s """ 136s if parameter: 136s _, stderr = cli( 136s [parameter, "-s", "nothing"], 136s expect_returncode=1, # We don't care whether the command succeeds 136s include_stderr=True 136s ) 136s 136s for log_level in log_levels: 136s > assert log_level in stderr 136s E AssertionError: assert 'INFO' in '' 136s 136s tests/cli/test_main.py:999: AssertionError 136s __________________ test_cli_error_handler_uncaught_exception ___________________ 136s 136s cli = .func at 0x7a963ea99620> 136s default_proton = 136s steam_app_factory = .func at 0x7a963ea9af20> 136s broken_appmanifest = None 136s gui_provider = 136s 136s def test_cli_error_handler_uncaught_exception( 136s cli, default_proton, steam_app_factory, broken_appmanifest, 136s gui_provider): 136s """ 136s Ensure that 'cli_error_handler' correctly catches any uncaught 136s exception and includes a stack trace in the error dialog. 136s """ 136s steam_app_factory(name="Fake game", appid=10) 136s 136s cli(["--no-term", "-s", "Fake"], expect_returncode=1) 136s 136s > assert gui_provider.args[0] == "yad" 136s E TypeError: 'NoneType' object is not subscriptable 136s 136s tests/cli/test_util.py:47: TypeError 136s ------------------------------ Captured log setup ------------------------------ 136s 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 136s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 136s _________________ test_cli_error_handler_gui_provider_env[yad] _________________ 136s 136s cli = .func at 0x7a963ea996c0> 136s default_proton = 136s steam_app_factory = .func at 0x7a963ea99300> 136s monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7a963e91f380> 136s broken_appmanifest = None 136s gui_provider = 136s gui_cmd = 'yad' 136s 136s @pytest.mark.parametrize("gui_cmd", ["yad", "zenity"]) 136s def test_cli_error_handler_gui_provider_env( 136s cli, default_proton, steam_app_factory, monkeypatch, 136s broken_appmanifest, gui_provider, gui_cmd): 136s """ 136s Ensure that correct GUI provider is used depending on 'PROTONTRICKS_GUI' 136s environment variable 136s """ 136s monkeypatch.setenv("PROTONTRICKS_GUI", gui_cmd) 136s 136s steam_app_factory(name="Fake game", appid=10) 136s 136s cli(["--no-term", "-s", "Fake"], expect_returncode=1) 136s 136s > message = gui_provider.kwargs["input"] 136s E TypeError: 'NoneType' object is not subscriptable 136s 136s tests/cli/test_util.py:70: TypeError 136s ------------------------------ Captured log setup ------------------------------ 136s 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 136s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 136s _______________ test_cli_error_handler_gui_provider_env[zenity] ________________ 136s 136s cli = .func at 0x7a963e974180> 136s default_proton = 136s steam_app_factory = .func at 0x7a963e974220> 136s monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7a963e9141a0> 136s broken_appmanifest = None 136s gui_provider = 136s gui_cmd = 'zenity' 136s 136s @pytest.mark.parametrize("gui_cmd", ["yad", "zenity"]) 136s def test_cli_error_handler_gui_provider_env( 136s cli, default_proton, steam_app_factory, monkeypatch, 136s broken_appmanifest, gui_provider, gui_cmd): 136s """ 136s Ensure that correct GUI provider is used depending on 'PROTONTRICKS_GUI' 136s environment variable 136s """ 136s monkeypatch.setenv("PROTONTRICKS_GUI", gui_cmd) 136s 136s steam_app_factory(name="Fake game", appid=10) 136s 136s cli(["--no-term", "-s", "Fake"], expect_returncode=1) 136s 136s > message = gui_provider.kwargs["input"] 136s E TypeError: 'NoneType' object is not subscriptable 136s 136s tests/cli/test_util.py:70: TypeError 136s ------------------------------ Captured log setup ------------------------------ 136s 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 136s DEBUG protontricks:steam.py:603 appinfo.vdf has magic number b'(DV\x07' 136s ____________________________ test_log_file_cleanup _____________________________ 136s 136s cli = .func at 0x7a963ea98a40> 136s steam_app_factory = .func at 0x7a963ea99ee0> 136s gui_provider = 136s 136s def test_log_file_cleanup(cli, steam_app_factory, gui_provider): 136s """ 136s Ensure that log file contains the log files generated during the 136s CLI call and that it is cleared after running `_delete_log_file` 136s """ 136s steam_app_factory(name="Fake game", appid=10) 136s cli(["--no-term", "-s", "Fake"]) 136s 136s > assert "Found Steam directory" in _get_log_file_path().read_text() 136s 136s tests/cli/test_util.py:113: 136s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 136s /usr/lib/python3.13/pathlib/_local.py:548: in read_text 136s return PathBase.read_text(self, encoding, errors, newline) 136s /usr/lib/python3.13/pathlib/_abc.py:632: in read_text 136s with self.open(mode='r', encoding=encoding, errors=errors, newline=newline) as f: 136s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 136s 136s self = PosixPath('/tmp/protontricks3188.log'), mode = 'r', buffering = -1 136s encoding = 'locale', errors = None, newline = None 136s 136s def open(self, mode='r', buffering=-1, encoding=None, 136s errors=None, newline=None): 136s """ 136s Open the file pointed to by this path and return a file object, as 136s the built-in open() function does. 136s """ 136s if "b" not in mode: 136s encoding = io.text_encoding(encoding) 136s > return io.open(self, mode, buffering, encoding, errors, newline) 136s E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/protontricks3188.log' 136s 136s /usr/lib/python3.13/pathlib/_local.py:539: FileNotFoundError 136s =============================== warnings summary =============================== 136s ../../../../usr/lib/python3/dist-packages/protontricks/util.py:11 136s /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 136s import pkg_resources 136s 136s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 136s =========================== short test summary info ============================ 136s FAILED tests/cli/test_launch.py::TestCLIRun::test_run_executable - IndexError... 136s FAILED tests/cli/test_launch.py::TestCLIRun::test_run_executable_appid - Inde... 136s FAILED tests/cli/test_main.py::TestCLIRun::test_run_winetricks - IndexError: ... 136s FAILED tests/cli/test_main.py::TestCLIRun::test_run_winetricks_shortcut - Ind... 136s FAILED tests/cli/test_main.py::TestCLIRun::test_run_winetricks_select_proton 136s FAILED tests/cli/test_main.py::TestCLIRun::test_run_winetricks_select_steam 136s FAILED tests/cli/test_main.py::TestCLIRun::test_run_winetricks_steam_runtime_v1 136s FAILED tests/cli/test_main.py::TestCLIRun::test_run_winetricks_steam_runtime_v2 136s FAILED tests/cli/test_main.py::TestCLIRun::test_run_winetricks_steam_runtime_v2_no_bwrap 136s FAILED tests/cli/test_main.py::TestCLIRun::test_run_background_wineserver_toggle[args3-True] 136s FAILED tests/cli/test_main.py::TestCLIRun::test_run_winetricks_game_not_found 136s FAILED tests/cli/test_main.py::TestCLIRun::test_run_steam_not_found - assert ... 136s FAILED tests/cli/test_main.py::TestCLIRun::test_run_winetricks_not_found - as... 136s FAILED tests/cli/test_main.py::TestCLIRun::test_run_winetricks_from_desktop 136s FAILED tests/cli/test_main.py::TestCLIRun::test_run_steam_runtime_not_found 136s FAILED tests/cli/test_main.py::TestCLIRun::test_run_proton_not_found - assert... 136s FAILED tests/cli/test_main.py::TestCLIRun::test_run_compat_tool_not_proton - ... 136s FAILED tests/cli/test_main.py::TestCLIRun::test_run_command_proton_incomplete 136s FAILED tests/cli/test_main.py::TestCLIRun::test_run_command_runtime_incomplete 136s FAILED tests/cli/test_main.py::TestCLIRun::test_old_flatpak_detected - assert... 136s FAILED tests/cli/test_main.py::TestCLIRun::test_new_flatpak_detected - assert... 136s FAILED tests/cli/test_main.py::TestCLIRun::test_cli_error_handler_uncaught_exception 136s FAILED tests/cli/test_main.py::TestCLIRun::test_run_filesystem_permission_missing 136s FAILED tests/cli/test_main.py::TestCLIRun::test_run_bwrap_default - assert False 136s FAILED tests/cli/test_main.py::TestCLIRun::test_select_steam_installation - a... 136s FAILED tests/cli/test_main.py::TestCLIRun::test_steam_installation_not_selected 136s FAILED tests/cli/test_main.py::TestCLICommand::test_run_command - IndexError:... 136s FAILED tests/cli/test_main.py::TestCLICommand::test_run_command_cwd_app - Ind... 136s FAILED tests/cli/test_main.py::TestCLISearch::test_search_case_insensitive - ... 136s FAILED tests/cli/test_main.py::TestCLISearch::test_search_pfx_lock_required 136s FAILED tests/cli/test_main.py::TestCLISearch::test_search_multiple_keywords 136s FAILED tests/cli/test_main.py::TestCLISearch::test_search_strip_non_ascii - a... 136s FAILED tests/cli/test_main.py::TestCLISearch::test_search_multiple_library_folders 136s FAILED tests/cli/test_main.py::TestCLISearch::test_search_shortcut - assert '... 136s FAILED tests/cli/test_main.py::TestCLISearch::test_list_all_apps - assert 'Ga... 136s FAILED tests/cli/test_main.py::test_cli_enable_logging[-v-log_levels1] - Asse... 136s FAILED tests/cli/test_main.py::test_cli_enable_logging[-vv-log_levels2] - Ass... 136s FAILED tests/cli/test_util.py::test_cli_error_handler_uncaught_exception - Ty... 136s FAILED tests/cli/test_util.py::test_cli_error_handler_gui_provider_env[yad] 136s FAILED tests/cli/test_util.py::test_cli_error_handler_gui_provider_env[zenity] 136s FAILED tests/cli/test_util.py::test_log_file_cleanup - FileNotFoundError: [Er... 136s ================== 41 failed, 110 passed, 1 warning in 1.43s =================== 136s autopkgtest [02:29:38]: test pytest: -----------------------] 137s pytest FAIL non-zero exit status 1 137s autopkgtest [02:29:39]: test pytest: - - - - - - - - - - results - - - - - - - - - - 137s autopkgtest [02:29:39]: @@@@@@@@@@@@@@@@@@@@ summary 137s pytest FAIL non-zero exit status 1 191s nova [W] Skipping flock for amd64 191s Creating nova instance adt-plucky-amd64-protontricks-20250117-022722-juju-7f2275-prod-proposed-migration-environment-15-f4f205f5-9109-4865-ba38-b9c1c8a6d492 from image adt/ubuntu-plucky-amd64-server-20250117.img (UUID 8f35863a-398a-4b7d-9594-544c7b7656c3)... 191s nova [W] Timed out waiting for 4844a2c6-374f-4d3e-967a-7947646c86ad to get deleted.