#1108760 slic3r-prusa: autopkgtest fails with autopkgtest version 5.48

#1108760#5
Date:
2025-07-04 20:49:22 UTC
From:
To:
Dear maintainer(s),

Your package has an autopkgtest, great. However, it fails since
src:autopkgtest version 5.48 which fixed some security concerns. Can you
please investigate the situation and fix it? I copied some of the output
at the bottom of this report.

The release team has announced [1] that failing autopkgtest on amd64 and
arm64 are considered RC in testing.

More information about this bug and the reason for filing it can be
found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

With my Release Team member hat on I have tagged this as trixie-ignore
as it's so late in the freeze and it's not worth removing the package
from trixie because of this at this moment. Having said that, if a fix
is possible without fully removing the autopkgtest and without making
the test superficial, it's still welcome, but it would need to happen soon.

Paul

[1] https://lists.debian.org/debian-devel-announce/2019/07/msg00002.html

https://ci.debian.net/data/autopkgtest/testing/amd64/s/slic3r-prusa/61507030/log.gz

  59s autopkgtest [05:05:34]: test check-gui: [-----------------------
  59s Running as root user
  59s Generating en_US.UTF-8 locale as root
  61s AUTOPKGTEST_NORMAL_USER=debci
  61s chowning $AUTOPKGTEST_TMP
  61s Dropping privileges to: debci
  61s Running the rest of the test
  61s Launching window manager
  61s wm_pid=7642
  61s Launching Prusa Slicer
  61s prusa_slicer_pid=7643
  61s Waiting for 30 seconds to ensure Prusa Slicer has not crashed
  62s [2025-06-23 05:05:37.629529] [0x00007f77dfc8e480] [error]
UserAccount: Failed to read token - no datafile found.
  62s [2025-06-23 05:05:37.778952] [0x00007f7696ffd6c0] [error]   DBus
Connection Error: Failed to connect to socket /run/user/0/bus:
Permission denied
  62s [2025-06-23 05:05:37.778975] [0x00007f7696ffd6c0] [error]   Dbus
Messages listening terminating.
  62s [2025-06-23 05:05:37.779190] [0x00007f76967fc6c0] [error]
listen_multicast: DBus Connection Error: Failed to connect to socket
/run/user/0/bus: Permission denied
  62s [2025-06-23 05:05:37.779215] [0x00007f76967fc6c0] [error]
listen_multicast: Dbus Messages listening terminating.
  62s
  62s (prusa-slicer:7643): Gtk-WARNING **: 05:05:37.918: Could not load
a pixbuf from /org/gtk/libgtk/theme/Adwaita/assets/bullet-symbolic.svg.
  62s This may indicate that pixbuf loaders or the mime database could
not be found.
  67s
  67s (process:7741): dconf-CRITICAL **: 05:05:42.781: unable to create
directory '/run/user/0/dconf': Permission denied.  dconf will not work
properly.
  67s
  67s (process:7741): dconf-CRITICAL **: 05:05:42.781: unable to create
directory '/run/user/0/dconf': Permission denied.  dconf will not work
properly.
  67s
  67s (process:7741): dconf-CRITICAL **: 05:05:42.781: unable to create
directory '/run/user/0/dconf': Permission denied.  dconf will not work
properly.
  67s
  67s (process:7741): dconf-CRITICAL **: 05:05:42.781: unable to create
directory '/run/user/0/dconf': Permission denied.  dconf will not work
properly.
  67s
  67s (process:7741): dconf-CRITICAL **: 05:05:42.781: unable to create
directory '/run/user/0/dconf': Permission denied.  dconf will not work
properly.
  67s
  67s (process:7741): dconf-CRITICAL **: 05:05:42.784: unable to create
directory '/run/user/0/dconf': Permission denied.  dconf will not work
properly.
  67s
  67s (process:7741): dconf-CRITICAL **: 05:05:42.785: unable to create
directory '/run/user/0/dconf': Permission denied.  dconf will not work
properly.
  67s
  67s (process:7741): dconf-CRITICAL **: 05:05:42.785: unable to create
directory '/run/user/0/dconf': Permission denied.  dconf will not work
properly.
  67s
  67s (process:7741): dconf-CRITICAL **: 05:05:42.785: unable to create
directory '/run/user/0/dconf': Permission denied.  dconf will not work
properly.
  67s
  67s (process:7741): dconf-CRITICAL **: 05:05:42.785: unable to create
directory '/run/user/0/dconf': Permission denied.  dconf will not work
properly.
  91s Dumping windows list
  91s 0x00400104  1 ci-174-da297c0e PrusaSlicer-2.9.2+UNKNOWN based on
Slic3r
  91s 0x004002d0  1 ci-174-da297c0e PrusaSlicer - Configuration Wizard
  91s Dumping screenshot
  91s scrot: failed to save image:
/tmp/autopkgtest-lxc.s1rjh2fr/downtmp/check-gui-artifacts/screenshot.png:
Permission denied
  91s /tmp/autopkgtest-lxc.s1rjh2fr/downtmp/wrapper.sh: Killing leaked
background processes: 7741
  91s     PID TTY      STAT   TIME COMMAND
  91s    7741 ?        SLl    0:00
/usr/lib/x86_64-linux-gnu/webkit2gtk-4.1/WebKitNetworkProcess 7 20 22
  92s autopkgtest [05:06:07]: test check-gui: -----------------------]

#1108760#10
Date:
2025-08-12 11:14:36 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
slic3r-prusa, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1108760@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chow Loong Jin <hyperair@debian.org> (supplier of updated slic3r-prusa package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 12 Aug 2025 18:06:36 +0800
Source: slic3r-prusa
Built-For-Profiles: noudeb
Architecture: source
Version: 2.9.2+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian 3-D Printing Packages <3dprinter-general@lists.alioth.debian.org>
Changed-By: Chow Loong Jin <hyperair@debian.org>
Closes: 1108760
Changes:
 slic3r-prusa (2.9.2+dfsg-2) unstable; urgency=medium
 .
   * [5548bad] Fix permissions issue in autopkgtest 1.48.
     AUTOPKGTEST_ARTIFACTS is no longer a subdirectory of AUTOPKGTEST_TMP, so we
     have to chown that too. (Closes: #1108760)
Checksums-Sha1:
 5413f30948ab4deed2394936ec66889a0d94132c 2791 slic3r-prusa_2.9.2+dfsg-2.dsc
 6f6ada7c2b1474d359290e2e745720e850c44db6 58112 slic3r-prusa_2.9.2+dfsg-2.debian.tar.xz
 ac5a785f726bfcaa59ac0207a882c3da31eab5eb 21263 slic3r-prusa_2.9.2+dfsg-2_source.buildinfo
Checksums-Sha256:
 14b1f3bd51a7fa466528fd233cbc0c110e000a584b888583c0ce796b8dba1ed4 2791 slic3r-prusa_2.9.2+dfsg-2.dsc
 2dc20d2aa19e0dde08e09b6b93c21d797cb57d5e859e97abffede0960ba8c0d4 58112 slic3r-prusa_2.9.2+dfsg-2.debian.tar.xz
 72dd8726effaf2e3c9e92ddd3b500069bd2fbe82cf01acb98374ffbadbcc848c 21263 slic3r-prusa_2.9.2+dfsg-2_source.buildinfo
Files:
 ed306d3f4b301dca56879f22a1fa8c51 2791 misc optional slic3r-prusa_2.9.2+dfsg-2.dsc
 a5c22fad5d2e9f5be70855abb56d1b35 58112 misc optional slic3r-prusa_2.9.2+dfsg-2.debian.tar.xz
 5c715f036e374e92e75d3c3e8dfc14b1 21263 misc optional slic3r-prusa_2.9.2+dfsg-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEEuDQnfs/9/dZ027Q+9UiW1iHUqEFAmibGj0ACgkQ+9UiW1iH
UqEq1g//Q1TjN7Ml1WshjMfLq80Nz2gwJ/DZWk4mhfqFdx2s0Rg2looTyFx0FM1q
YfEnLZOVGFuja8jJQnZUqDo4bAbuJ3vErchH6p8mc4bmsnqE2V9a0jfLIQwtUHV9
7YGWbR6A8R4wHATXveUFSq8WM2PoXnspbvOZvR6ol+B555Vj+XYaBvTdTLswe4FE
YTUaK8JkRJ32Ofqrremt/tU9qqFstRcr6EWEd+mZVaTuOrQa7pXNpSJYZR/Q/Ue6
wB/j2AF6Vk5dAYfbQbxMe7/vGsUlItscoE0Kls8BX57eJPCQiZgG3v23g7V2nOCB
e3Fxqj7QNuhqHGYJiBkarNd+zDnZq7wMJuQyzW7Wb27O6pL/eHn4lIwPCqNFOLQn
Vzq0PxSfRPBMIIq1m2YMJhHcfwE35AG/MsVAmp400hM2QaFtXqGzo13p8mxX+Hg4
o1J2JuYjEQAOmk+GamrYtmShNY/hlkUcg4emTb7IQWm7aaymE8S88dK9Q9P9z+kM
OfdgSM6ZmmaVZtquS1Yu0sSNrAfNSYS6JUI3xhp6xh01O8GrV/i9y8rnYsP71otl
2zBTdtNEXPU+KN0iVjCxZz+iI8mdbCycOs+2V7uVDheyoIxZvPtaVxS39TKdGQXw
To3sr2re5mXKZ/IsXW0QbkLpjFz6wgY43NyaN8O8tDJP0XJ1B9k=
=cK3R
-----END PGP SIGNATURE-----

#1108760#15
Date:
2025-08-12 12:28:00 UTC
From:
To:
I believe the easiest fix for this would be to just run the test script in its own DBus session.

Replacing line 32 of check-gui with the following should do the trick:

dbus-run-session -- xvfb-run bash -c '

#1108760#20
Date:
2025-08-13 03:54:11 UTC
From:
To:
Hmm, yes thanks. Looks like it works.

The dbus permission errors aren't actually causing autopkgtest to fail,
so I think I'll just commit the changes and wait for a few more changes
before uploading.