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

2025-08-12 Thread Chow Loong Jin
On Tue, Aug 12, 2025 at 02:28:00PM +0200, Gregor Riepl wrote:
> >   62s [2025-06-23 05:05:37.778952] [0x7f7696ffd6c0] [error]   DBus
> > Connection Error: Failed to connect to socket /run/user/0/bus:
> > Permission denied
> 
> 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 '

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.

-- 
Kind regards,
Loong Jin


signature.asc
Description: PGP signature


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

2025-08-12 Thread Gregor Riepl
  62s [2025-06-23 05:05:37.778952] [0x7f7696ffd6c0] [error]   DBus 
Connection Error: Failed to connect to socket /run/user/0/bus: 
Permission denied


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 '



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

2025-07-04 Thread Paul Gevers

Source: slic3r-prusa
Version: 2.9.2+dfsg-1
Severity: serious
User: [email protected]
Usertags: regression
Tags: trixie-ignore

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/msg2.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] [0x7f77dfc8e480] [error] 
UserAccount: Failed to read token - no datafile found.
 62s [2025-06-23 05:05:37.778952] [0x7f7696ffd6c0] [error]   DBus 
Connection Error: Failed to connect to socket /run/user/0/bus: 
Permission denied
 62s [2025-06-23 05:05:37.778975] [0x7f7696ffd6c0] [error]   Dbus 
Messages listening terminating.
 62s [2025-06-23 05:05:37.779190] [0x7f76967fc6c0] [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] [0x7f76967fc6c0] [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
 91s7741 ?SLl0:00 
/usr/lib/x86_64-linux-gnu/webkit2gtk-4.1/WebKitNetworkProcess 7 20 22

 92s autopkgtest [05:06:07]: test check-gui: ---]


OpenPGP_signature.asc
Description: OpenPGP digital signature