Comment 4 for bug 1943770

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to compile (master)

Reviewed: https://review.opendev.org/c/starlingx/compile/+/810905
Committed: https://opendev.org/starlingx/compile/commit/7b11e5b7c47e7e7df17ec1ad1abb07513df1d709
Submitter: "Zuul (22348)"
Branch: master

commit 7b11e5b7c47e7e7df17ec1ad1abb07513df1d709
Author: Scott Little <email address hidden>
Date: Thu Sep 23 14:13:04 2021 -0400

    golang unit test fix

    golang unit tests may fail on a call to 'whoami'

    Two issues found.

    1) A missing BuildRequires on coreutils which provides 'whoami'.

    2) 'whoami' may fail when golang 1.13.15 unit tests run within a
    container due to a name space issue. Backporting a call to checkUserNS
    which bypasses some unit tests, as seen in golang 1.15.14 fixed the
    issue.

    Closes-Bug: 1943770
    Signed-off-by: Scott Little <email address hidden>
    Change-Id: Ic1e49ca00ebe5bd274e3b202d02338a36292e369