nareshkamboju

LTP tests investigation on Qemu

Aug 31st, 2017
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.64 KB | None | 0 0
  1. LTP tests investigation on Qemu
  2. root@intel-core2-32:/usr/lib/libhugetlbfs/tests# cd /opt/ltp/testcases/bin/
  3. root@intel-core2-32:/opt/ltp/testcases/bin# ./io_submit01
  4. io_submit01 1 TPASS : expected failure - returned value = -22 : Invalid argument
  5. io_submit01 2 TPASS : expected failure - returned value = -22 : Invalid argument
  6. io_submit01 3 TFAIL : io_submit01.c:138: unexpected failure - returned value = -95 : Operation not supported, expected one of -EINVAL, -EBADF, -EFAULT
  7. io_submit01 4 TPASS : expected failure - returned value = -14 : Bad address
  8. io_submit01 5 TPASS : expected failure - returned value = -22 : Invalid argument
  9. io_submit01 6 TPASS : expected failure - returned value = -9 : Bad file descriptor
  10. io_submit01 7 TPASS : expected success - returned value = 0
  11. io_submit01 8 TPASS : expected success - returned value = 1
  12. root@intel-core2-32:/opt/ltp/testcases/bin# [ 1447.038591] kworker/dying (5) used greatest stack depth: 12352 bytes left
  13.  
  14. root@intel-core2-32:/opt/ltp/testcases/bin# export TMPDIR=/ltp-tmp/
  15. root@intel-core2-32:/opt/ltp/testcases/bin# ./io_submit01
  16. io_submit01 1 TPASS : expected failure - returned value = -22 : Invalid argument
  17. io_submit01 2 TPASS : expected failure - returned value = -22 : Invalid argument
  18. io_submit01 3 TFAIL : io_submit01.c:138: unexpected failure - returned value = -95 : Operation not supported, expected one of -EINVAL, -EBADF, -EFAULT
  19. io_submit01 4 TPASS : expected failure - returned value = -14 : Bad address
  20. io_submit01 5 TPASS : expected failure - returned value = -22 : Invalid argument
  21. io_submit01 6 TPASS : expected failure - returned value = -9 : Bad file descriptor
  22. io_submit01 7 TPASS : expected success - returned value = 0
  23. io_submit01 8 TPASS : expected success - returned value = 1
  24. root@intel-core2-32:/opt/ltp/testcases/bin# ./flock01
  25. flock01 1 TPASS : flock() succeeded with Shared Lock
  26. flock01 2 TPASS : flock() succeeded with Unlock
  27. flock01 3 TPASS : flock() succeeded with Exclusive Lock
  28. root@intel-core2-32:/opt/ltp/testcases/bin# ./flock04
  29. flock04 1 TPASS : flock() PASSED in acquiring shared lock on Share Locked file
  30. flock04 1 TPASS : flock() failed to acquire exclusive lock on existing share locked file as expected
  31. root@intel-core2-32:/opt/ltp/testcases/bin# ./linkat01
  32. linkat01 1 TPASS : linkat is functionality correct
  33. linkat01 2 TPASS : linkat succeeded as expected
  34. linkat01 3 TPASS : linkat is functionality correct
  35. linkat01 4 TPASS : linkat is functionality correct
  36. linkat01 5 TPASS : linkat is functionality correct
  37. linkat01 6 TPASS : linkat succeeded as expected
  38. linkat01 7 TPASS : linkat is functionality correct
  39. linkat01 8 TPASS : linkat failed as expected: TEST_ERRNO=ENOTDIR(20): Not a directory
  40. linkat01 9 TPASS : linkat failed as expected: TEST_ERRNO=ENOTDIR(20): Not a directory
  41. linkat01 10 TPASS : linkat succeeded as expected
  42. linkat01 11 TPASS : linkat is functionality correct
  43. linkat01 12 TPASS : linkat failed as expected: TEST_ERRNO=EBADF(9): Bad file descriptor
  44. linkat01 13 TPASS : linkat failed as expected: TEST_ERRNO=EBADF(9): Bad file descriptor
  45. linkat01 14 TPASS : linkat succeeded as expected
  46. linkat01 15 TPASS : linkat is functionality correct
  47. linkat01 16 TPASS : linkat failed as expected: TEST_ERRNO=ENOENT(2): No such file or directory
  48. linkat01 17 TPASS : linkat failed as expected: TEST_ERRNO=ENOENT(2): No such file or directory
  49. linkat01 18 TPASS : linkat succeeded as expected
  50. linkat01 19 TPASS : linkat is functionality correct
  51. linkat01 20 TPASS : linkat failed as expected: TEST_ERRNO=EXDEV(18): Invalid cross-device link
  52. linkat01 21 TPASS : linkat failed as expected: TEST_ERRNO=EPERM(1): Operation not permitted
  53. linkat01 22 TPASS : linkat failed as expected: TEST_ERRNO=EINVAL(22): Invalid argument
  54. root@intel-core2-32:/opt/ltp/testcases/bin# ./renameat201
  55. renameat201 1 TPASS : renameat2() returned the expected value: TEST_ERRNO=EEXIST(17): File exists
  56. renameat201 2 TPASS : renameat2() returned the expected value: TEST_ERRNO=SUCCESS(0): Success
  57. renameat201 3 TPASS : renameat2() returned the expected value: TEST_ERRNO=ENOENT(2): No such file or directory
  58. renameat201 4 TPASS : renameat2() returned the expected value: TEST_ERRNO=SUCCESS(0): Success
  59. renameat201 5 TPASS : renameat2() returned the expected value: TEST_ERRNO=EINVAL(22): Invalid argument
  60. renameat201 6 TPASS : renameat2() returned the expected value: TEST_ERRNO=EINVAL(22): Invalid argument
  61. root@intel-core2-32:/opt/ltp/testcases/bin# ./renameat202
  62. renameat202 1 TPASS : renameat2() test passed
  63. root@intel-core2-32:/opt/ltp/testcases/bin# ./utime01
  64. utime01 1 TPASS : Functionality of utime(tmp_file, NULL) successful
  65. root@intel-core2-32:/opt/ltp/testcases/bin# ./utime02
  66. utime02 1 TBROK : tst_tmpdir.c:263: tst_tmpdir: mkdtemp(/ltp-tmp//utisGPam6) failed: errno=EACCES(13): Permission denied
  67. utime02 2 TBROK : tst_tmpdir.c:263: Remaining cases broken
  68. root@intel-core2-32:/opt/ltp/testcases/bin# export TMPDIR=/tmp/
  69. root@intel-core2-32:/opt/ltp/testcases/bin# ./utime02
  70. utime02 1 TPASS : Functionality of utime(tmp_file, NULL) successful
  71. root@intel-core2-32:/opt/ltp/testcases/bin# ./utime01
  72. utime01 1 TPASS : Functionality of utime(tmp_file, NULL) successful
  73. root@intel-core2-32:/opt/ltp/testcases/bin# ./utime03
  74. utime03 1 TPASS : Functionality of utime(tmp_file, NULL) successful
  75. root@intel-core2-32:/opt/ltp/testcases/bin# ./utime06
  76. utime06 0 TINFO : Found free device '/dev/loop1'
  77. utime06 0 TINFO : Formatting /dev/loop1 with ext2 opts='' extra opts=''
  78. mke2fs 1.43 (17-May-2016)
  79. [ 1830.305176] EXT4-fs (loop1): mounting ext2 file system using the ext4 subsystem
  80. [ 1830.414857] EXT4-fs (loop1): mounted filesystem without journal. Opts: (null)
  81. utime06 1 TPASS : utime failed as expected: TEST_ERRNO=EACCES(13): Permission denied
  82. utime06 2 TPASS : utime failed as expected: TEST_ERRNO=ENOENT(2): No such file or directory
  83. utime06 3 TPASS : utime failed as expected: TEST_ERRNO=EPERM(1): Operation not permitted
  84. utime06 4 TPASS : utime failed as expected: TEST_ERRNO=EROFS(30): Read-only file system
  85. root@intel-core2-32:/opt/ltp/testcases/bin# ./utimes01
  86. utimes01 0 TINFO : Found free device '/dev/loop1'
  87. utimes01 0 TINFO : Formatting /dev/loop1 with ext2 opts='' extra opts=''
  88. mke2fs 1.43 (17-May-2016)
  89. [ 1921.444123] EXT4-fs (loop1): mounting ext2 file system using the ext4 subsystem
  90. [ 1921.616249] EXT4-fs (loop1): mounted filesystem without journal. Opts: (null)
  91. [ 1921.977118] EXT4-fs (loop1): re-mounted. Opts: (null)
  92. utimes01 1 TPASS : utimes() worked as expected: TEST_ERRNO=SUCCESS(0): Success
  93. utimes01 2 TPASS : utimes() worked as expected: TEST_ERRNO=SUCCESS(0): Success
  94. utimes01 3 TPASS : utimes() worked as expected: TEST_ERRNO=EACCES(13): Permission denied
  95. utimes01 4 TPASS : utimes() worked as expected: TEST_ERRNO=ENOENT(2): No such file or directory
  96. utimes01 5 TPASS : utimes() worked as expected: TEST_ERRNO=EFAULT(14): Bad address
  97. utimes01 6 TPASS : utimes() worked as expected: TEST_ERRNO=EPERM(1): Operation not permitted
  98. utimes01 7 TPASS : utimes() worked as expected: TEST_ERRNO=EROFS(30): Read-only file system
  99. root@intel-core2-32:/opt/ltp/testcases/bin# ./open12
  100. open12 1 TPASS : test O_APPEND for open success
  101. open12 2 TPASS : test O_NOATIME for open success
  102. open12 3 TBROK : open12.c:226: execlp() failed
  103. open12 4 TBROK : open12.c:226: Remaining cases broken
  104. root@intel-core2-32:/opt/ltp/testcases/bin# export TMPDIR=/ltp-tmp/
  105. root@intel-core2-32:/opt/ltp/testcases/bin# ./open12
  106. open12 0 TWARN : tst_device.c:262: Failed to create test_dev.img: errno=ENOSPC(28): No space left on device
  107. open12 1 TBROK : tst_device.c:295: Failed to acquire device
  108. open12 2 TBROK : tst_device.c:295: Remaining cases broken
  109. root@intel-core2-32:/opt/ltp/testcases/bin# rm -rf /ltp-tmp/.
  110. ./ ../
  111. root@intel-core2-32:/opt/ltp/testcases/bin# ./openat02
  112. openat02 1 TPASS : test O_APPEND for openat success
  113. openat02 2 TBROK : openat02.c:187: execlp() failed
  114. openat02 3 TBROK : openat02.c:187: Remaining cases broken
  115. root@intel-core2-32:/opt/ltp/testcases/bin# export TMPDIR=/ltp-tmp/
  116. root@intel-core2-32:/opt/ltp/testcases/bin# ./openat02
  117. openat02 1 TPASS : test O_APPEND for openat success
  118. openat02 2 TBROK : openat02.c:187: execlp() failed
  119. openat02 3 TBROK : openat02.c:187: Remaining cases broken
Add Comment
Please, Sign In to add comment