Bug 1256701

Summary: 'make check' failure - 'Error: shared memory segments not closed/unlinked'
Product: Red Hat Enterprise Linux 7 Reporter: Christine Caulfield <ccaulfie>
Component: libqbAssignee: Christine Caulfield <ccaulfie>
Status: CLOSED UPSTREAM QA Contact: cluster-qe <cluster-qe>
Severity: low Docs Contact:
Priority: unspecified    
Version: 7.1CC: cluster-maint, jfriesse, kgaillot
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: FreeBSD   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-22 09:02:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christine Caulfield 2015-08-25 09:53:07 UTC
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 09:02:45 UTC
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>
Date:   Tue Sep 22 09:58:23 2015 +0100

    Fix deletion of sockets on *BSD platforms