Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 512052 - gnome-base/dconf-0.20.0 fails test gdbus-thread -- ERROR:dbus.c:237:test_sync_call_success: assertion failed (error == NULL): The connection is closed (g-io-error-quark, 18)
Summary: gnome-base/dconf-0.20.0 fails test gdbus-thread -- ERROR:dbus.c:237:test_sync...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2014-06-01 15:24 UTC by Markus Walter
Modified: 2016-03-12 09:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (dconf-0.20.0:20140601-134034.log,54.11 KB, text/plain)
2014-06-01 15:24 UTC, Markus Walter
Details
emerge --info (info.txt,5.65 KB, text/plain)
2014-06-01 15:24 UTC, Markus Walter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Walter 2014-06-01 15:24:04 UTC
Created attachment 378014 [details]
build log

On my hardened ~amd64 machine I see the following test failure for dconf.

TEST: gdbus-thread... (pid=15527)
  /gdbus/thread/creation/error:                                        OK
  /gdbus/thread/sync-call/success:                                     **
ERROR:dbus.c:237:test_sync_call_success: assertion failed (error == NULL): The connection is closed (g-io-error-quark, 18)
FAIL
GTester: last random seed: R02S425ea1729d0dc8633550e6be1363a789
/bin/sh: line 1:  5851 Terminated              G_DEBUG=gc-friendly MALLOC_CHECK_=2 MALLOC_PERTURB_=$((${RANDOM:-256} % 256)) gtester --verbose paths changeset shm gvdb gdbus-thread gdbus-filter libdbus-1 engine client
Makefile:985: recipe for target 'test-nonrecursive' failed
Comment 1 Markus Walter 2014-06-01 15:24:16 UTC
Created attachment 378016 [details]
emerge --info
Comment 2 Pacho Ramos gentoo-dev 2014-06-01 17:15:09 UTC
I cannot produce this, not sure if could be due hardened. Are you able to run tests when manually compiling outside portage?
Comment 3 Markus Walter 2014-06-01 17:29:13 UTC
I took a closer look and could find no hardened related errors in the system logs, which of course doesn't mean, that it's not hardened related (oh no, double negative).

Running 'ebuild <dconf> compile' and 'make check' in a root-terminal gives me the same error as in the build log.
Comment 4 Patrick Lauer gentoo-dev 2015-01-22 01:45:35 UTC
(In reply to Pacho Ramos from comment #2)
> I cannot produce this, not sure if could be due hardened. Are you able to
> run tests when manually compiling outside portage?

Not due to hardened, happens to me on not-hardened.

I presume it fails because dbus isn't running?
Comment 5 Pacho Ramos gentoo-dev 2015-01-22 10:42:41 UTC
Maybe "unset DBUS_SESSION_BUS_ADDRESS" before running tests could help. Other option is to run something like "dbus-launch Xemake check"
Comment 6 Paolo Pedroni 2015-03-16 10:18:38 UTC
(In reply to Pacho Ramos from comment #5)
> Maybe "unset DBUS_SESSION_BUS_ADDRESS" before running tests could help.
> Other option is to run something like "dbus-launch Xemake check"

The first one works fine. Please add it to the ebuild, thanks.
Comment 7 Paolo Pedroni 2015-03-16 10:19:32 UTC
(For dconf-0.22.0, of course)
Comment 8 Pacho Ramos gentoo-dev 2015-03-19 08:18:37 UTC
Maybe we should finally add this to the eclass -> bug 515196

As this is appearing every day on random ebuilds constantly :S
Comment 9 Paolo Pedroni 2016-03-09 11:03:07 UTC
(In reply to Pacho Ramos from comment #8)
> Maybe we should finally add this to the eclass -> bug 515196
> 
> As this is appearing every day on random ebuilds constantly :S

Ok. This is now fixed, please close.