Bug 1256701 - 'make check' failure - 'Error: shared memory segments not closed/unlinked'
'make check' failure - 'Error: shared memory segments not closed/unlinked'
Status: CLOSED UPSTREAM
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libqb (Show other bugs)
7.1
Unspecified FreeBSD
unspecified Severity low
: rc
: ---
Assigned To: Christine Caulfield
cluster-qe@redhat.com
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-08-25 05:53 EDT by Christine Caulfield
Modified: 2015-09-22 05:02 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-09-22 05:02:45 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Christine Caulfield 2015-08-25 05:53:07 EDT
Description of problem:
Running 'make check' on FreeBSD 9 (and other BSD-derived OSs) one test fails with 'Error: shared memory segments not closed/unlinked' and files are left un /var/run

Version-Release number of selected component (if applicable):
0.17.2 but also seen on 0.17.0 and 0.17.1

How reproducible:
Every time

Steps to Reproduce:
1. build libqb on *BSD
2. make check
3.

Actual results:
The last test fails 'Error: shared memory segments not closed/unlinked' and files are left in /var/run

Expected results:
No test failures.

Additional info:
Some of the files left in /var/run/

qb-test_ipc_txrx_us_timeout-846930886-1646-0-8-event
qb-test_ipc_txrx_us_timeout-846930886-1646-0-8-event-tx
qb-test_ipc_txrx_us_timeout-846930886-1646-0-8-request
qb-test_ipc_txrx_us_timeout-846930886-1646-0-8-response
qb-test_ipc_txrx_us_tmo-846930886-1653-0-8-event
qb-test_ipc_txrx_us_tmo-846930886-1653-0-8-event-tx
qb-test_ipc_txrx_us_tmo-846930886-1653-0-8-request
qb-test_ipc_txrx_us_tmo-846930886-1653-0-8-response
Comment 2 Christine Caulfield 2015-09-22 05:02:45 EDT
Fixed upstream. The code was removing 8 characters from the end of the name to form a base-name, but 9 are needed. 

Now closing this bug as it's only seen on BSD, not Linux.


commit 1908e6c15b6e3acbf083189117b314c0791f016d
Author: Christine Caulfield <ccaulfie@redhat.com>
Date:   Tue Sep 22 09:58:23 2015 +0100

    Fix deletion of sockets on *BSD platforms

Note You need to log in before you can comment on or make changes to this bug.