[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH-for-5.0 v2 2/4] tests/test-util-sockets: Skip test on non-x86
Re: [PATCH-for-5.0 v2 2/4] tests/test-util-sockets: Skip test on non-x86 Travis containers
Mon, 23 Mar 2020 11:11:16 +0100
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0
On 3/23/20 10:48 AM, Daniel P. Berrangé wrote:
On Fri, Mar 20, 2020 at 12:39:58PM +0100, Cornelia Huck wrote:
On Wed, 18 Mar 2020 23:27:15 +0100
Philippe Mathieu-Daudé <address@hidden> wrote:
Similarly to commit 4f370b1098, test-util-sockets fails in
restricted non-x86 Travis containers since they apparently
blacklisted some required system calls there.
Is "they" == "Travis admins"? Can we get them to remove those calls
from the blacklist?
(I'm wondering why x86 allows those calls. Probably just because it has
been around for longer.)
I believe it is due to the different build env architecture for
the non-x86 arches, which is based on a strict locked down container,
compared to x86 which IIUC was a full VM.
Indeed, Thomas described:
"Unfortunately, the builds are running in quite restricted
LXD containers there, for example it is not possible to
create huge files there (even if they are just sparse),
and certain system calls are blocked. So we have to change
some tests first to stop them failing in such environments."
Blacklisting like this is a bit hacky, but a prudent fix in the short