Bug#1080324: libadwaita-1: FTBFS on s390x: test_adw_bottom_sheet_align: assertion failed (adw_bottom_sheet_get_align (sheet) == 0 (+/- 0.005)): (0.0078125 == 0)

Simon McVittie smcv at debian.org
Mon Sep 2 10:05:35 BST 2024


Source: libadwaita-1
Version: 1.6~rc-1
Severity: serious
Tags: experimental ftbfs
Justification: fails to build from source (but built successfully in the past)
User: debian-s390 at lists.debian.org
Usertags: s390x
X-Debbugs-Cc: debian-s390 at lists.debian.org

libadwaita-1_1.6~rc-1 failed to build from source on the s390x buildd,
with an assertion failure that does not seem to occur on any other
architecture:

> =================================== 11/58 ====================================
> test:         test-bottom-sheet
> start time:   00:01:21
> duration:     0.18s
> result:       killed by signal 6 SIGABRT
> command:      MALLOC_PERTURB_=200 G_DEBUG=gc-friendly LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/debian/testtmp/src' UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 PYTHONDONTWRITEBYTECODE=yes GSETTINGS_BACKEND=memory MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 GTK_A11Y=none ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 G_TEST_BUILDDIR='/<<PKGBUILDDIR>>/debian/testtmp/tests' MALLOC_CHECK_=2 G_TEST_SRCDIR='/<<PKGBUILDDIR>>/tests' '/<<PKGBUILDDIR>>/debian/testtmp/tests/test-bottom-sheet'
> ----------------------------------- stdout -----------------------------------
> TAP version 14
> # random seed: R02S0cc070aa1325c8bbabac8caa15669dd9
> # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
> # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
> # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
> # Adwaita-DEBUG: Portal not found: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
> # Adwaita-DEBUG: Portal not found: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
> # Adwaita-DEBUG: Portal not found: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
> # Adwaita-DEBUG: Portal not found: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
> # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation memory (GMemorySettingsBackend) for ?gsettings-backend?
> 1..10
> # Start of Adwaita tests
> # Start of BottomSheet tests
> ok 1 /Adwaita/BottomSheet/content
> ok 2 /Adwaita/BottomSheet/sheet
> ok 3 /Adwaita/BottomSheet/bottom_bar
> ok 4 /Adwaita/BottomSheet/open
> not ok /Adwaita/BottomSheet/align - ERROR:../../tests/test-bottom-sheet.c:154:test_adw_bottom_sheet_align: assertion failed (adw_bottom_sheet_get_align (sheet) == 0 (+/- 0.005)): (0.0078125 == 0)
> Bail out!
> ----------------------------------- stderr -----------------------------------
> libEGL warning: DRI3: Screen seems not DRI3 capable
> libEGL warning: DRI3: Screen seems not DRI3 capable
> MESA: error: ZINK: failed to choose pdev
> libEGL warning: egl: failed to create dri2 screen
> **
> ERROR:../../tests/test-bottom-sheet.c:154:test_adw_bottom_sheet_align: assertion failed (adw_bottom_sheet_get_align (sheet) == 0 (+/- 0.005)): (0.0078125 == 0)
> ==============================================================================

I've retried the build to see whether this is reproducible. If not, I'll
downgrade it to important.

The test is doing an inexact comparison, so it might be OK to just increase
the tolerance a bit.

Alternatively, the same test is crashing with a segfault on i386 in
approximately the same place (I'll report a separate bug), so it's
possible that there is a bug here that will go away when the crash on
i386 is fixed.

    smcv



More information about the pkg-gnome-maintainers mailing list