Kirill, We are working on getting a few UTS namespace tests included in Linux Testsuite Project (LTP) and were wondering if you (or anyone else) had any test cases for IPC namespace. If there are tests for IPC NS, can you share those tests with us ? And, do you have any plans to push the tests into LTP ? If you plan to push them into LTP, pls let us know if you need help. Suka _______________________________________________ Containers mailing list Containers@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/containers
> Kirill, > > We are working on getting a few UTS namespace tests included in Linux > Testsuite Project (LTP) and were wondering if you (or anyone else) had > any test cases for IPC namespace. > > If there are tests for IPC NS, can you share those tests with us ? > And, do you have any plans to push the tests into LTP ? If you plan > to push them into LTP, pls let us know if you need help. We do not test UTS/IPC NS directly. Instead we run LTP tests inside host and inside guest and make sure all IPC tests are passing. So I guess LTP test should check only that unsharing works and people who need to test containers will run LTP then inside it. i.e. I propose not to make LTP check functionality of IPC inside NS. Only interfaces. Thanks, Kirill _______________________________________________ Containers mailing list Containers@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/containers
Quoting Kirill Korotaev (dev@sw.ru): > > Kirill, > > > > We are working on getting a few UTS namespace tests included in Linux > > Testsuite Project (LTP) and were wondering if you (or anyone else) had > > any test cases for IPC namespace. > > > > If there are tests for IPC NS, can you share those tests with us ? > > And, do you have any plans to push the tests into LTP ? If you plan > > to push them into LTP, pls let us know if you need help. > > We do not test UTS/IPC NS directly. > Instead we run LTP tests inside host and inside guest and make sure all > IPC tests are passing. > > So I guess LTP test should check only that unsharing works and people > who need to test containers will run LTP then inside it. > > i.e. I propose not to make LTP check functionality of IPC inside NS. > Only interfaces. So long as 'only interfaces' includes checks that, for example, processes in different ipc namespaces see different objects by the same names. As far as I know such tests don't yet exist. They should be written and added to LTP. -serge _______________________________________________ Containers mailing list Containers@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/containers
Serge E. Hallyn wrote: > Quoting Kirill Korotaev (dev@sw.ru): > >>>Kirill, >>> >>>We are working on getting a few UTS namespace tests included in Linux >>>Testsuite Project (LTP) and were wondering if you (or anyone else) had >>>any test cases for IPC namespace. >>> >>>If there are tests for IPC NS, can you share those tests with us ? >>>And, do you have any plans to push the tests into LTP ? If you plan >>>to push them into LTP, pls let us know if you need help. >> >>We do not test UTS/IPC NS directly. >>Instead we run LTP tests inside host and inside guest and make sure all >>IPC tests are passing. >> >>So I guess LTP test should check only that unsharing works and people >>who need to test containers will run LTP then inside it. >> >>i.e. I propose not to make LTP check functionality of IPC inside NS. >>Only interfaces. > > > So long as 'only interfaces' includes checks that, for example, > processes in different ipc namespaces see different objects by the same > names. > > As far as I know such tests don't yet exist. They should be written > and added to LTP. Agree. Kirill _______________________________________________ Containers mailing list Containers@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/containers