linux-test-project / ltp

Linux Test Project (mailing list: https://lists.linux.it/listinfo/ltp)
https://linux-test-project.readthedocs.io/
GNU General Public License v2.0
2.28k stars 999 forks source link

aio tests requires libaio and it's development packages for SLES15.4 #1030

Closed priyama2 closed 1 year ago

priyama2 commented 1 year ago

When ltp, aio are executed the test looks for libaio related packages, when still libaio packages are already available inside test environment. Test Output:

test requires libaio and it's development packages

-bash-4.4# rpm -qa | grep libaio libaio1-debuginfo-0.3.109-1.25.ppc64le libaio-debugsource-0.3.109-1.25.ppc64le libaio1-0.3.109-1.25.ppc64le libaio-devel-0.3.109-1.25.ppc64le -bash-4.4# uname -r 5.14.21-150400.22-default -bash-4.4#

pevik commented 1 year ago

Could you be more specific what's wrong? Which test is failing? BTW the issue subject is misleading.

priyama2 commented 1 year ago

ltp-aiodio.part1

the test log is as follows: http://9.3.111.30/LOGS/ltp-aiodio.part1

pevik commented 1 year ago

I don't see the content of the logs (connection timeouted). If it's sensitive, feel free to post it to my work email (see git log), otherwise post it here.

priyama2 commented 1 year ago

Hi Petr, Updating the logs of aio-stress here as follows: Running tests....... <<>> tag=ADS1000 stime=1682418318 cmdline="aio-stress -o2 -r4k -f1" contacts="" analysis=exit <<>> tst_test.c:1137: TCONF: test requires libaio and its development packages <<>> initiation_status="ok" duration=0 termination_type=exited termination_id=32 corefile=no cutime=0 cstime=0 <<>> <<>> tag=ADS1001 stime=1682418318 cmdline="aio-stress -o2 -r8k -f1" contacts="" analysis=exit <<>> tst_test.c:1137: TCONF: test requires libaio and its development packages <<>> initiation_status="ok" duration=0 termination_type=exited termination_id=32 corefile=no cutime=0 cstime=0 <<>>

But libaio rpm is there at system libaio1-0.3.109-1.25.ppc64le libaio-debugsource-0.3.109-1.25.ppc64le libaio1-debuginfo-0.3.109-1.25.ppc64le libaio-devel-0.3.109-1.25.ppc64le

metan-ucw commented 1 year ago

You have to re-run configure script and recompile LTP after installing previously missing devel libraries.

priyama2 commented 1 year ago

yeah, recompiled after installing libaio-devel , aio-stress works fine. Thank you Metan and Petr :-) Closing issue