Pradeep,

You mentioned that you ran the April version of LTP. The sockioctl test
has had a patch checked in in may that fixes multiple runs. Did you try
that? 


________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Subrata
Modak
Sent: Thursday, June 12, 2008 9:40 AM
To: Pradeep K Surisetty
Cc: [email protected]; James Takahashi
Subject: Re: [LTP] sockioctl fails


Check out your kernel version:

Linux <sniff> 2.6.9-71.ELsmp #1 SMP Tue May 27 16:42:27 EDT 2008 x86_64
x86_64 x86_64 GNU/Linux

It is very old. The behaviour i believe because of the kernel version.

Regards--
Subrata



On Thu, Jun 12, 2008 at 8:35 PM, Pradeep K Surisetty
<[EMAIL PROTECTED]> wrote:


        I am running as root. These are my log files for RHEL 4.7 snap1.
        
        #   uname -a
        Linux <sniff> 2.6.9-71.ELsmp #1 SMP Tue May 27 16:42:27 EDT 2008
x86_64
        x86_64 x86_64 GNU/Linux
        

        sockioctl01    1  PASS  :  bad file descriptor successful
        
        sockioctl01    2  FAIL  :  not a socket ; returned -1 (expected
-1), errno
        25 (expected 22)
        
        sockioctl01    3  PASS  :  invalid option buffer successful
        sockioctl01    4  PASS  :  ATMARK on UDP successful
        sockioctl01    5  PASS  :  SIOCGIFCONF successful
        sockioctl01    6  PASS  :  SIOCGIFFLAGS successful
        sockioctl01    7  PASS  :  SIOCGIFFLAGS with invalid ifr
successful
        sockioctl01    8  PASS  :  SIOCSIFFLAGS with invalid ifr
successful
        
        
        Regards
        
        pradeep
        
        
        
        
                    Subrata Modak
                    <[EMAIL PROTECTED]
                    et.ibm.com>
To
                                              Pradeep K
Surisetty/India/[EMAIL PROTECTED]
                    06/12/2008 07:30
cc
                    PM
[email protected],
                                              James Takahashi
<[EMAIL PROTECTED]>
        
Subject
                    Please respond to         Re: [LTP]  sockioctl fails
                    [EMAIL PROTECTED]
                        t.ibm.com
        








        For me it passes well:
        
        # uname -a
        Linux <sniff> 2.6.18-53.1.13.el5 #1 SMP Mon Feb 11 13:27:52 EST
2008
        i686 i686 i386 GNU/Linux
        
        As non-root, the first test passes, but remaining BREAKS:
        
        sockioctl01    1  PASS  :  bad file descriptor successful
        sockioctl01    2  BROK  :  Could not open test - errno:
Permission
        denied
        sockioctl01    3  BROK  :  Remaining cases broken
        sockioctl01    4  BROK  :  Remaining cases broken
        sockioctl01    5  BROK  :  Remaining cases broken
        sockioctl01    6  BROK  :  Remaining cases broken
        sockioctl01    7  BROK  :  Remaining cases broken
        sockioctl01    8  BROK  :  Remaining cases broken
        
        As root, the tests passes absolutely fine:
        
        sockioctl01    1  PASS  :  bad file descriptor successful
        sockioctl01    2  PASS  :  not a socket successful
        sockioctl01    3  PASS  :  invalid option buffer successful
        sockioctl01    4  PASS  :  ATMARK on UDP successful
        sockioctl01    5  PASS  :  SIOCGIFCONF successful
        sockioctl01    6  PASS  :  SIOCGIFFLAGS successful
        sockioctl01    7  PASS  :  SIOCGIFFLAGS with invalid ifr
successful
        sockioctl01    8  PASS  :  SIOCSIFFLAGS with invalid ifr
successful
        
        Regards--
        Subrata
        
        On Thu, 2008-06-12 at 16:45 +0530, Pradeep K Surisetty wrote:
        > Hi Subrata
        >
        >       I run April LTP as a part of our test suite ( pounder )
on several
        > system X platforms with different distros ( RHEL 5.2 GA, RHEL
4.7 snap 1,
        > ...etc).
        >       sockioctl is failing on all the machines with the below
error.
        >
        >
        >                   sockioctl01    2  FAIL  :  not a socket ;
returned -1
        > (expected -1), errno 25 (expected 22)
        >
        >
        >       Just to make sure, I run this test case alone, its
working fine
        > without any failures. I think its running multiple instances
when running
        > with the test suite.
        >       Could you please look into this?
        >
        >
        >
        > Regards
        > pradeep
        >
        >
        >
------------------------------------------------------------------------
-
        > Check out the new SourceForge.net Marketplace.
        > It's the best place to buy or sell services for
        > just about anything Open Source.
        > http://sourceforge.net/services/buy/index.php
        > _______________________________________________
        > Ltp-list mailing list
        > [email protected]
        > https://lists.sourceforge.net/lists/listinfo/ltp-list
        
        
        
        
        
------------------------------------------------------------------------
-
        Check out the new SourceForge.net Marketplace.
        It's the best place to buy or sell services for
        just about anything Open Source.
        http://sourceforge.net/services/buy/index.php
        _______________________________________________
        Ltp-list mailing list
        [email protected]
        https://lists.sourceforge.net/lists/listinfo/ltp-list
        




-- 
Regards & Thanks--
Subrata 

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to