Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 664106 - dev-libs/glib-2.56.2: [test] ERROR: network-monitor-race (core dumped)
Summary: dev-libs/glib-2.56.2: [test] ERROR: network-monitor-race (core dumped)
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-20 13:43 UTC by Michał Górny
Modified: 2019-07-26 05:23 UTC (History)
0 users

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


Attachments
dev-libs:glib-2.56.2:20180820-124920.log.xz (dev-libs:glib-2.56.2:20180820-124920.log.xz,60.70 KB, application/x-xz)
2018-08-20 13:44 UTC, Michał Górny
Details
test-suite.log (test-suite.log,13.07 KB, text/plain)
2018-08-20 13:45 UTC, Michał Górny
Details
emerge-info.txt (emerge-info.txt,10.83 KB, text/plain)
2018-08-20 13:48 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-08-20 13:43:47 UTC
ERROR: network-monitor-race
===========================

# random seed: R02S7ffa06023f1151a48fdd56f4b8a894b7
1..1
# Start of network-monitor tests
# Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727
# child process (/network-monitor/create-in-thread [26528]) exit status: 1 (error)
# child process (/network-monitor/create-in-thread [26528]) stdout: ""
**
GLib-GIO:ERROR:/tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/gio/tests/network-monitor-race.c:78:test_network_monitor: child process (/network-monitor/create-in-thread [26528]) failed unexpectedly
# child process (/network-monitor/create-in-thread [26528]) stderr: "\n(/tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2-abi_x86_32.x86/gio/tests/.libs/network-monitor-race:26528): GLib-GIO-WARNING **: 15:28:40.596: Error on netlink socket: Error receiving message: Bad file descriptor\n"
/tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/tap-test: line 5: 25236 Aborted                 (core dumped) $1 -k --tap
Bail out! GLib-GIO:ERROR:/tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/gio/tests/network-monitor-race.c:78:test_network_monitor: child process (/network-monitor/create-in-thread [26528]) failed unexpectedly
ERROR: network-monitor-race - Bail out! GLib-GIO:ERROR:/tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/gio/tests/network-monitor-race.c:78:test_network_monitor: child process (/network-monitor/create-in-thread [26528]) failed unexpectedly


Will attach complete build log and test log.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-08-20 13:44:55 UTC
Created attachment 544088 [details]
dev-libs:glib-2.56.2:20180820-124920.log.xz
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-08-20 13:45:17 UTC
Created attachment 544090 [details]
test-suite.log
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-08-20 13:48:11 UTC
Created attachment 544092 [details]
emerge-info.txt
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-08-20 21:07:49 UTC
So I've rerun it a lot, and I seem to be reliably reproducing this problem.  It happens also with py3.6, MAKEOPTS=-j1, -O0 -ggdb, USE=debug, and without network-sandbox.  Curious enough, network-monitor test itself passes.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-08-20 21:29:33 UTC
Do you have any other ideas or should I report it upstream?
Comment 6 Larry the Git Cow gentoo-dev 2018-11-29 15:25:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=549542cf21eb81eb75ce4f526f6a0da92b686c26

commit 549542cf21eb81eb75ce4f526f6a0da92b686c26
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2018-11-29 15:24:07 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2018-11-29 15:24:41 +0000

    dev-libs/glib: fix potential issues in network-monitor-race test
    
    Closes: https://bugs.gentoo.org/664106
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>
    Package-Manager: Portage-2.3.52, Repoman-2.3.11

 ...56.2-network-monitor-race-test-iterations.patch | 36 ++++++++++++++++++++++
 dev-libs/glib/glib-2.56.2.ebuild                   |  3 ++
 2 files changed, 39 insertions(+)
Comment 7 Mart Raudsepp gentoo-dev 2018-11-29 16:42:09 UTC
hrm, looks like it still has failures sometimes :(
Still passes fine on my desktop, but still fails on the arm64 box; I guess the patch I applied makes it never fail on my desktop, while previously sometimes rarely it could have failed there too..
Comment 8 Mart Raudsepp gentoo-dev 2019-07-26 05:23:15 UTC
2.60 moves to meson test harness, so lets consider this one as fixed (the patch I did apply to 2.56.x) or obsolete and re-report any test problems against 2.60