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
Reviewed: https:/ /review. opendev. org/c/starlingx /compile/ +/810905 /opendev. org/starlingx/ compile/ commit/ 7b11e5b7c47e7e7 df17ec1ad1abb07 513df1d709
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 7b11e5b7c47e7e7 df17ec1ad1abb07 513df1d709
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 d274e3b202d0233 8a36292e369
Signed-off-by: Scott Little <email address hidden>
Change-Id: Ic1e49ca00ebe5b