OpenVZ Forum


Home » Mailing lists » Devel » IPC NS tests ?
IPC NS tests ? [message #18183] Thu, 12 April 2007 06:05 Go to next message
Sukadev Bhattiprolu is currently offline  Sukadev Bhattiprolu
Messages: 413
Registered: August 2006
Senior Member
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
Re: IPC NS tests ? [message #18185 is a reply to message #18183] Thu, 12 April 2007 15:28 Go to previous messageGo to next message
serue is currently offline  serue
Messages: 750
Registered: February 2006
Senior Member
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
Re: IPC NS tests ? [message #18189 is a reply to message #18183] Thu, 12 April 2007 14:25 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

> 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
Re: IPC NS tests ? [message #18202 is a reply to message #18185] Thu, 12 April 2007 16:12 Go to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

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
Previous Topic: [PATCH] net: Add etun driver
Next Topic: [RFC][PATCH] rename 'struct pid'
Goto Forum:
  


Current Time: Sun Nov 10 15:56:24 GMT 2024

Total time taken to generate the page: 0.03412 seconds