Skip to contentSkip to conversation

hugetlb tests failure occurred

LTP Mitani 2 participants 2 messages May 26, 2010 – May 29, 2010

lore
Share & tools
lore

Mitani

author
#0 lore raw

Hi,

I ran "hugeshmdt01" and "hugeshmctl01" tests.

At these tests, I set HugePages_Total:
------------</proc/meminfo>
[root@RHEL54-LTP-EM64T ltp]# cat /proc/meminfo

MemTotal:      2059632 kB
MemFree:       1392080 kB
Buffers:        204764 kB
Cached:         308092 kB
...
VmallocTotal: 34359738367 kB
VmallocUsed:      1012 kB
VmallocChunk: 34359736951 kB
HugePages_Total:     2
HugePages_Free:      2
HugePages_Rsvd:      0
Hugepagesize:     2048 kB

------------

But these tests failed:

------------<log>

hugeshmctl01    1  TBROK  :  couldn't create the shared memory segment
hugeshmctl01    2  TBROK  :  Remaining cases broken
hugeshmctl01    3  TBROK  :  Remaining cases broken
hugeshmctl01    4  TBROK  :  Remaining cases broken
hugeshmctl01    0  TINFO  :  received unexpected signal 15
hugeshmctl01    0  TINFO  :  received unexpected signal 15
hugeshmctl01    0  TINFO  :  received unexpected signal 15
hugeshmctl01    0  TINFO  :  received unexpected signal 15
hugeshmctl02    1  TBROK  :  couldn't create shared memory segment #1 in
setup()
hugeshmctl02    2  TBROK  :  Remaining cases broken
hugeshmctl02    3  TBROK  :  Remaining cases broken
hugeshmctl02    4  TBROK  :  Remaining cases broken
hugeshmctl02    1  TBROK  :  couldn't create shared memory segment #1 in
setup()
hugeshmctl02    2  TBROK  :  Remaining cases broken
hugeshmctl02    3  TBROK  :  Remaining cases broken
hugeshmctl02    4  TBROK  :  Remaining cases broken
hugeshmctl02    1  TBROK  :  couldn't create shared memory segment #1 in
setup()
hugeshmctl02    2  TBROK  :  Remaining cases broken
hugeshmctl02    3  TBROK  :  Remaining cases broken
hugeshmctl02    4  TBROK  :  Remaining cases broken
hugeshmctl01    0  TINFO  :  received unexpected signal 15
hugeshmctl01    0  TINFO  :  received unexpected signal 15
hugeshmctl01    0  TINFO  :  received unexpected signal 15
hugeshmctl03    1  TBROK  :  couldn't create shared memory segment in
setup()
hugeshmctl03    2  TBROK  :  Remaining cases broken
hugeshmctl03    3  TBROK  :  Remaining cases broken
hugeshmctl03    1  TBROK  :  couldn't create shared memory segment in
setup()
hugeshmctl03    2  TBROK  :  Remaining cases broken
hugeshmctl03    3  TBROK  :  Remaining cases broken
hugeshmctl03    1  TBROK  :  couldn't create shared memory segment in
setup()
hugeshmctl03    2  TBROK  :  Remaining cases broken
hugeshmctl03    3  TBROK  :  Remaining cases broken

------------

All these are failures of shmget() .

My systems are RHEL5.4 and RHEL4.8. Architectures are x86, x86_64, and ia64. In all of these environments, above failures occurred.

I executed "runltp" once. But these tests are executed several times. And shmget() system-call failed with errno=ENOMEM at last in my system. In ".../runtest/hugetlb", test commands are as follows:

------------<hugetlb>
hugeshmctl01 hugeshmctl01 -i 5 -c 3
hugeshmctl02 hugeshmctl02 -i 5 -c 3
hugeshmctl03 hugeshmctl03 -i 5 -c 3

hugeshmdt01 hugeshmdt01 -I 5 -c10
------------

If repetition is once, these tests succeed in my system..

I'm grad if I can know a reason of these repetition ("-c" option). And I want to know whether I can appoint this option freely if machine doesn't have enough memory.

Regards--

-Tomonori Mitani

------------------------------------------------------------------------------

_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#1 lore raw

The LTP hugetlb tests are broken. I had earlier suggested to replace this with the test cases available with the libhugetlbfs releases. However, we had some problems:

1. We were not sure whether the libhugetlbfs tests all scenarios as done by the LTP tests,
2. We had no volunteers who can look into this,

So, if somebody is willing to do this:
1. Investigate what exact tests to pick up from LTP,
2. which tests to pickup from libhugetlbfs library,
3. Merge them to the LTP build/install/run system,

It would be nice, and we would be bothered about these failures time and again :-(

Regards--
Subrata

Quoted 95 lines · Mitani

Hi,

I ran "hugeshmdt01" and "hugeshmctl01" tests.

At these tests, I set HugePages_Total:
------------</proc/meminfo>
[root@RHEL54-LTP-EM64T ltp]# cat /proc/meminfo

MemTotal:      2059632 kB
MemFree:       1392080 kB
Buffers:        204764 kB
Cached:         308092 kB
...
VmallocTotal: 34359738367 kB
VmallocUsed:      1012 kB
VmallocChunk: 34359736951 kB
HugePages_Total:     2
HugePages_Free:      2
HugePages_Rsvd:      0
Hugepagesize:     2048 kB

------------

But these tests failed:

------------<log>

hugeshmctl01    1  TBROK  :  couldn't create the shared memory segment
hugeshmctl01    2  TBROK  :  Remaining cases broken
hugeshmctl01    3  TBROK  :  Remaining cases broken
hugeshmctl01    4  TBROK  :  Remaining cases broken
hugeshmctl01    0  TINFO  :  received unexpected signal 15
hugeshmctl01    0  TINFO  :  received unexpected signal 15
hugeshmctl01    0  TINFO  :  received unexpected signal 15
hugeshmctl01    0  TINFO  :  received unexpected signal 15
hugeshmctl02    1  TBROK  :  couldn't create shared memory segment #1 in
setup()
hugeshmctl02    2  TBROK  :  Remaining cases broken
hugeshmctl02    3  TBROK  :  Remaining cases broken
hugeshmctl02    4  TBROK  :  Remaining cases broken
hugeshmctl02    1  TBROK  :  couldn't create shared memory segment #1 in
setup()
hugeshmctl02    2  TBROK  :  Remaining cases broken
hugeshmctl02    3  TBROK  :  Remaining cases broken
hugeshmctl02    4  TBROK  :  Remaining cases broken
hugeshmctl02    1  TBROK  :  couldn't create shared memory segment #1 in
setup()
hugeshmctl02    2  TBROK  :  Remaining cases broken
hugeshmctl02    3  TBROK  :  Remaining cases broken
hugeshmctl02    4  TBROK  :  Remaining cases broken
hugeshmctl01    0  TINFO  :  received unexpected signal 15
hugeshmctl01    0  TINFO  :  received unexpected signal 15
hugeshmctl01    0  TINFO  :  received unexpected signal 15
hugeshmctl03    1  TBROK  :  couldn't create shared memory segment in
setup()
hugeshmctl03    2  TBROK  :  Remaining cases broken
hugeshmctl03    3  TBROK  :  Remaining cases broken
hugeshmctl03    1  TBROK  :  couldn't create shared memory segment in
setup()
hugeshmctl03    2  TBROK  :  Remaining cases broken
hugeshmctl03    3  TBROK  :  Remaining cases broken
hugeshmctl03    1  TBROK  :  couldn't create shared memory segment in
setup()
hugeshmctl03    2  TBROK  :  Remaining cases broken
hugeshmctl03    3  TBROK  :  Remaining cases broken

------------

All these are failures of shmget() .

My systems are RHEL5.4 and RHEL4.8. Architectures are x86, x86_64, and ia64. In all of these environments, above failures occurred.

I executed "runltp" once. But these tests are executed several times. And shmget() system-call failed with errno=ENOMEM at last in my system. In ".../runtest/hugetlb", test commands are as follows:

------------<hugetlb>
hugeshmctl01 hugeshmctl01 -i 5 -c 3
hugeshmctl02 hugeshmctl02 -i 5 -c 3
hugeshmctl03 hugeshmctl03 -i 5 -c 3

hugeshmdt01 hugeshmdt01 -I 5 -c10
------------

If repetition is once, these tests succeed in my system..

I'm grad if I can know a reason of these repetition ("-c" option). And I want to know whether I can appoint this option freely if machine doesn't have enough memory.

Regards--

-Tomonori Mitani

Quoted 6 lines

------------------------------------------------------------------------------

_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

------------------------------------------------------------------------------

_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list