Some of the testcases which are resulting in FAIL even though they might not be
Hi,
Here is the list of testcases in May 2009 LTP, which *may* result in FAIL even though it is a configuration error, not the error due to the functionality we are testing. Those tests should give "CONF" message, not "FAIL". I ran LTP on 2.6.18 kernel, x86 architecture.
1. InitNuma
Error output:
Initnuma 0 WARN : non-NUMA aware kernel is running or your machine does not support numa policy or
your machine is not a NUMA machine
Initnuma 1 FAIL : INIT NUMA FAILED !!
2. ht_enable
Error output:ht_enable 0 INFO : Begin: HyperThreading Enabled ht_enable 0 INFO : The kernel boot paramter 'noht' is not set. ht_enable 1 FAIL : HT feature is not included in this Linux Kernel. ht_enable 0 INFO : End: HyperThreading Enabled
3. get_mempolicy01
Part of code, which is not correcttst_resm(TFAIL, "set_mempolicy() failed - errno = %d : %s",TEST_ERRNO, strerror(TEST_ERRNO));
...
...tst_resm(TFAIL, "malloc failed - errno = %d : %s",TEST_ERRNO, strerror(TEST_ERRNO));
4. mq_open01
Part of code, which is not correct
if (TEST_RETURN < 0) {
tst_resm(TFAIL, "mq_getsetattr failed - errno =
%d : %s",TEST_ERRNO, strerror(TEST_ERRNO));
Regards
Muni
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Quoted 1 line · On Wednesday 10 June 2009 14:06:25 Munipradeep Beerakam wrote:
Hi,
Hi,
Quoted 15 lines
Here is the list of testcases in May 2009 LTP, which *may* result in FAIL even though it is a configuration error, not the error due to the functionality we are testing. Those tests should give "CONF" message, not "FAIL". I ran LTP on 2.6.18 kernel, x86 architecture.
3.
get_mempolicy01
Part of code, which is not correcttst_resm(TFAIL, "set_mempolicy() failed - errno = %d : %s",TEST_ERRNO, strerror(TEST_ERRNO));
...
...tst_resm(TFAIL, "malloc failed - errno = %d : %s",TEST_ERRNO, strerror(TEST_ERRNO));
Quoted 5 lines
4.
mq_open01
Part of code, which is not correct
if (TEST_RETURN< 0) {
tst_resm(TFAIL, "mq_getsetattrfailed - errno =
%d : %s",TEST_ERRNO,strerror(TEST_ERRNO));
Not that I'd say this code is stellar, it may even be incorrect, but changing these to TCONF wouldn't be correct either. These error messages should be TCONF only if errno is ENOSYS, otherwise, they should be reported as TBROK, because it would be an error that prevents the test to run. The best option, however, would probably be to add a tst_kvercmp check for kernel versions that contain the respective functions.
Regards
Jiri Palecek
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Quoted 7 lines · Munipradeep Beerakam
Hi,
Here is the list of testcases in May 2009 LTP, which *may* result in FAIL even though it is a configuration error, not the error due to the functionality we are testing. Those tests should give "CONF" message, not "FAIL". I ran LTP on 2.6.18 kernel, x86 architecture.
Quoted 6 lines
1. InitNuma
Error output:
Initnuma 0 WARN : non-NUMA aware kernel is running or your machine does not support numa policy or
your machine is not a NUMA machine
Initnuma 1 FAIL : INIT NUMA FAILED !!
Contact Pradeep for this.
Quoted 8 lines
2.
ht_enable
Error output:ht_enable0 INFO : Begin: HyperThreading Enabledht_enable0 INFO : The kernel boot paramter 'noht' is not set.ht_enable1 FAIL : HT feature is not included in this Linux Kernel.ht_enable0 INFO : End: HyperThreading Enabled
Cai/Rohit has been discussing this for long.
Quoted 9 lines
3.
get_mempolicy01
Part of code, which is not correcttst_resm(TFAIL, "set_mempolicy() failed - errno = %d : %s",TEST_ERRNO, strerror(TEST_ERRNO));
...
...tst_resm(TFAIL, "malloc failed - errno = %d : %s",TEST_ERRNO, strerror(TEST_ERRNO));
Quoted 6 lines
4.
mq_open01
Part of code, which is not correct
if (TEST_RETURN< 0) {
tst_resm(TFAIL, "mq_getsetattrfailed - errno =
%d : %s",TEST_ERRNO,strerror(TEST_ERRNO));
And they are as per my earlier mail.
Regards--
Subrata
Quoted 3 lines
Regards
Muni
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Quoted 20 lines · Jiri Palecek
Quoted 1 line · On Wednesday 10 June 2009 14:06:25 Munipradeep Beerakam wrote:
Hi,
Hi,
Quoted 15 lines
Here is the list of testcases in May 2009 LTP, which *may* result in FAIL even though it is a configuration error, not the error due to the functionality we are testing. Those tests should give "CONF" message, not "FAIL". I ran LTP on 2.6.18 kernel, x86 architecture.
3.
get_mempolicy01
Part of code, which is not correcttst_resm(TFAIL, "set_mempolicy() failed - errno = %d : %s",TEST_ERRNO, strerror(TEST_ERRNO));
...
...tst_resm(TFAIL, "malloc failed - errno = %d : %s",TEST_ERRNO, strerror(TEST_ERRNO));
Quoted 8 lines
Quoted 5 lines
4.
mq_open01
Part of code, which is not correct
if (TEST_RETURN< 0) {
tst_resm(TFAIL, "mq_getsetattrfailed - errno =
%d : %s",TEST_ERRNO,strerror(TEST_ERRNO));Not that I'd say this code is stellar, it may even be incorrect, but changing these to TCONF wouldn't be correct either. These error messages should be TCONF only if errno is ENOSYS, otherwise, they should be reported as TBROK, because it would be an error that prevents the test to run. The best option, however, would probably be to add a
tst_kvercmpcheck for kernel versions that contain the respective functions.
Muni,
Can you work out a patch on this lines. I would help you to do so if required.
Regards--
Subrata
Quoted 13 lines
Regards
Jiri Palecek------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Subrata Modak <[email protected]> wrote on 06/18/2009 11:01:32 PM:
Quoted 29 lines
Subrata Modak <[email protected]>
06/18/2009 11:01 PMPlease respond to
[email protected]To
Munipradeep Beerakam <[email protected]>, Pradeep K Surisetty/India/IBM@IBMIN, Cai Qian <[email protected]>, rohit verma <[email protected]>
cc
[email protected], Iranna D Ankad/India/IBM@IBMIN
Subject
Re: Some of the testcases which are resulting in FAIL even though they might not be
Quoted 7 lines · Munipradeep Beerakam
Hi,
Here is the list of testcases in May 2009 LTP, which *may* result in FAIL even though it is a configuration error, not the error due to the functionality we are testing. Those tests should give "CONF" message, not "FAIL". I ran LTP on 2.6.18 kernel, x86 architecture.
Quoted 8 lines
Quoted 6 lines
1. InitNuma
Error output:
Initnuma 0 WARN : non-NUMA aware kernel is running or your machine does not support numa policy or
your machine is not a NUMA machine
Initnuma 1 FAIL : INIT NUMA FAILED !!Contact Pradeep for this.
Hi Subrata,
I have noticed few issues with NUMA test cases. Currently I am investigating and get back to you in short.
Best Regards
Pradeep
Quoted 28 lines
Quoted 9 lines
2.
ht_enable
Error output:ht_enable0 INFO : Begin: HyperThreading Enabledht_enable0 INFO : The kernel boot paramter 'noht' is not set.ht_enable1 FAIL : HT feature is not included in this Linux Kernel.ht_enable0 INFO : End: HyperThreading EnabledCai/Rohit has been discussing this for long.
Quoted 9 lines
3.
get_mempolicy01
Part of code, which is not correcttst_resm(TFAIL, "set_mempolicy() failed - errno = %d : %s",TEST_ERRNO, strerror(TEST_ERRNO));
...
...tst_resm(TFAIL, "malloc failed - errno = %d : %s",TEST_ERRNO, strerror(TEST_ERRNO));Quoted 6 lines
4.
mq_open01
Part of code, which is not correct
if (TEST_RETURN< 0) {
tst_resm(TFAIL, "mq_getsetattrfailed - errno =
%d : %s",TEST_ERRNO,strerror(TEST_ERRNO));
Quoted 9 lines
And they are as per my earlier mail.
Regards--
SubrataQuoted 3 lines
Regards
Muni
------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list