[RFC PATCH v9 0/8] [PIDNS] Final
Dmitry V. Levin
ldv at altlinux.org
Mon Aug 17 23:38:50 UTC 2020
On Mon, Aug 17, 2020 at 12:18:43AM +0200, Ákos Uzonyi wrote:
> From: Uzonyi Ákos <uzonyi.akos at gmail.com>
> I made the requested changes, added more test cases to trie test, and fixed some
> trie bugs.
> The travis build  unfortunately shows some errors. On ppc mknod test fails,
> but I have no idea why. Mknod is unrelated to my code. Do you have any idea?
Something is broken in their ppc system: apparently, they allow the mknod
syscall to exit without an error in cases where is must fail with EEXIST
because the target file already exists. This violates the contract:
"If pathname already exists, or is a symbolic link, this call fails with
an EEXIST error." I suppose they use some kind of mknod interception,
and it doesn't implement the expected semantics.
We can either come up with a workaround or report a bug and let them fix it.
> Also, pidns-cache fails on one arm build. I tried to increase the time
> available for translation, but it didn't help.
Could you add some diagnostics to the test, e.g. how much time did it take
in the first and in the second case? This way we could see what's going
> Maybe pidns-cache test
> should be removed, it's not very important.
I'd rather keep the test to be sure the pidns cache is actually tested.
More information about the Strace-devel