Bug 42846 - 54_smbtorture/05_samba_selftest fails in ucs4.1-4 due to shared library path issue
54_smbtorture/05_samba_selftest fails in ucs4.1-4 due to shared library path ...
Status: NEW
Product: UCS Test
Classification: Unclassified
Component: Samba
unspecified
Other Linux
: P4 enhancement (vote)
: ---
Assigned To: Samba maintainers
https://wiki.samba.org/index.php/Writ...
:
Depends on: 42624
Blocks: 42045
  Show dependency treegraph
 
Reported: 2016-11-03 16:56 CET by Arvid Requate
Modified: 2016-12-13 08:10 CET (History)
4 users (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Release Goal
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2016-11-03 16:56:23 CET
Currently 54_smbtorture/05_samba_selftest fails in ucs 4.1-4 (Bug 42624), because there is a problem with shared libraries (rpath?) in the local build environement of that test. 54_smbtorture/01_smbtorture works though. No clue yet how to fix this:
=====================================================================
root@master10:~# univention-install ucs-test-smbtorture
root@master10:~# /usr/share/ucs-test/54_smbtorture/05_samba_selftest -f
[...fails]
root@master10:~# ldd /opt/samba-4.5.1/bin/samba | grep "not found"
        libcluster.so.0 => not found
        libcliauth.so.0 => not found
        libservice.so.0 => not found
        libprocess-model.so.0 => not found
        libevents.so.0 => not found
        libgensec.so.0 => not found
        libsamba-debug.so.0 => not found
        libMESSAGING.so.0 => not found
        libndr-samba4.so.0 => not found
        libsamba-modules.so.0 => not found
=====================================================================

The is basically what fails:
make testenv SELFTEST_TESTENV=ad_dc

The test case was introduced to check a kernel issue, it would be good to see it working again.
Comment 1 Arvid Requate univentionstaff 2016-11-03 18:11:52 CET
Actually the smbtorture test result is invalid since some time, it's only that it shows now with samba 4.5.1 because the smbtorture perl code was improved.

If I do the same test with UCS 4.1-3-errata 282 (samba 2:4.3.7-1.835.201607051)
I see the same:
=====================================================================
root@master10:~# ldd /opt/samba-4.3.7/bin/samba | grep "not found"
        libtevent-util-idle.so.0 => not found
        libcluster.so.0 => not found
        libldbsamba.so.0 => not found
        libcliauth.so.0 => not found
        libservice.so.0 => not found
        libauth4.so.0 => not found
        libntvfs.so.0 => not found
        libprocess-model.so.0 => not found
        libevents.so.0 => not found
        libsamba-debug.so.0 => not found
        libsamdb-common.so.0 => not found
        liberrors.so.0 => not found
        libMESSAGING.so.0 => not found
        libndr-samba4.so.0 => not found
        libsamba-modules.so.0 => not found
=====================================================================
Comment 2 Arvid Requate univentionstaff 2016-11-03 18:47:18 CET
Patch disabled for the time being.
Comment 3 Stefan Gohmann univentionstaff 2016-12-13 08:10:47 CET
The Enterprise Customer affected flag is set but neither a Ticket number is referenced nor a Customer ID is set. Please set a Ticket number or a Customer ID. Otherwise the Enterprise Customer affected flag will be reset.