POSIX-results

From Yocto Project
Revision as of 03:34, 8 December 2011 by Kai.kang (talk | contribs) (→‎THR)
Jump to navigationJump to search

Introduction

This page records the POSIX test results of Yocto 1.2. The test suite is from ltp and version 20110915. Six platforms are included: qemu-arm qemu-ppc qemu-mips beagleboard mpc8315rdb routerstation. There are 1794 test cases in total, only failed items are list here.

Results and analysis

The results of groups SIG SEM THR TMR MSG TPS MEM are listed. Conclusion of some test cases have been given.

Value of clumn "status":

Bug: it is a bug and the test case needs to be fixed.

Ignore: the case is not appropriate for the hardware or linux

POSIX: that test case is in development, that causes the test fails

SIG

POSIX cases status platforms error msg analysis bugzilla
sigaction/16-1 Ignore qemu-mips routerstation "test not present" NO SIGSTKFLT on mips platform. Signals are defined in /usr/include/bits/signum.h n/a

SEM

POSIX cases status platforms error msg analysis bugzilla
sem_init/7-1 ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e can't test: There is no constraint on SEM_NSEMS_MAX _SC_SEM_NSEMS_MAX is not supported by sysconf(). In implement it check whether SEM_NSEMS_MAX is defined, then if defined return SEM_NSEMS_MAX, otherwise return -1. No SEM_NSEMS_MAX defined in Yocto Ubuntu and Fedora n/a

THR

POSIX cases status platforms error msg analysis bugzilla
pthread_cond_broadcast/1-2 Bug qemu-arm beagleboard HUNG - "timeout" die lock issue n/a
pthread_create/1-6 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e testcase create NCPU=4 threads running with a high priority with the same sched policy policy and one with a low-priority. The low-priority thread should not run until the other threads stop running, unless the machine has more than NCPU processors. Redefine NCPU = sysconf(_SC_NPROCESSORS_CONF), testcase should pass n/a
pthread_create/10-1 POSIX qemu-arm beagleboard qemu-mips routerstation Segmentation fault test case use an uninitialized attributes object to case pthread_create() segmentation fault then catch the signal. But the uninitialized object is NOT invalid to pthread_create() all the time n/a
pthread_create/14-1 routerstation Segmentation fault test failed 6/10 times n/a
pthread_mutex_lock/3-1 POSIX (send patch) qemu-arm beagleboard routerstation qemu-ppc mpc8315e User defined signal 2 Signals are sended before install signal handler n/a
pthread_rwlock_rdlock/2-1 qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Main thread read lock 'rwlock' with high priority. Child thread1 write lock 'wrlock' with medium priority will block. child thread2 read lock 'rwlock' with low priority should block because a high priority write lock is waiting, but read lock doesn't block.
pthread_rwlock_rdlock/2-2 qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Main thread read lock 'rwlock' with high priority. Child thread1 write lock 'wrlock' with low priority will block. child thread2 read lock 'rwlock' with same low priority should block because a same priority write lock is waiting, but read lock doesn't block.
pthread_rwlock_unlock/3-1 qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Main thread write lock 'rwlock' with high priority. Child thread1 write lock 'wrlock' with medium priority will block. Child thread2 read lock 'wrlock' with same mediumpriority. Child thread3 write lock 'wrlock' with low priority. When main thread unlock 'rwlock', child thread1 get the 'wrlock'. When child thread1 unlock 'rwlock', child thread2 should get the read lock 'wrlock' because it has higher priority than child thread3. But it is the child thread3 who get the 'wrlock'.

TMR

POSIX cases status platforms error msg analysis bugzilla
timer_getoverrun/3-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return UNTESTED n/a
timer_getoverrun/2-3 qemu-arm beagleboard routerstation "WR: Change CONFIG_HZ from 100 to 250 can solve this." The root cause is that these platform don't provide HIGH RESOLUTION TIMER. The value on platforms which test case can pass is only 1 nanosecond. But on qemuarm is 10000000 nanoseconds, on routerstation is 4000250 nanoseconds. After set CONFIG_HIGH_RES_TIMER=y for routerstation (CONFIG_HZ=250 has been set), test case passes. These 2 kernel configurations for qemuarm are not permitted. n/a
clock_getcpuclockid/5-1 Ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e clock_getcpuclockid(1, ..) passed unexpectedly Permission issue. When call clock_getcpuclockid() as a unpriviledge user to get process 'init' cpu time, it succeeds but expect fails with EPERM. This is not supported by Linux. In man page, it addresses EPERM " does not occur on Linux unless the kernel does not support obtaining the per-process CPU-time clock of another process." n/a

MSG

POSIX cases status platforms error msg analysis bugzilla
mq_timedreceive/5-2 Ignore qemu-ppc qemu-mips mpc8315 The time() can not specifies an abs_timeout to mq_timedreceiver () for preempt_rt kernel n/a
mq_timedreceive/10-2 Ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Pass a invalid parameter and expect mq_timedreceive doesn't check it. In linux implement, it will call timespec_valid() to validate the parameter abs_timeout. n/a


mq_close/5-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a
mq_open/4-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a
mq_open/10-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a
mq_open/14-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a
mq_open/17-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a
mq_open/22-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a
mq_open/24-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a
mq_open/25-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a
mq_open/28-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a
mq_open/30-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a
mq_send/6-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a
mq_timedsend/6-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a
mq_timedsend/17-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a
mq_unlink/2-3 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a

TPS

POSIX cases status platforms error msg analysis bugzilla
sched_getparam/6-1 Ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e WR: A permission test. On Linux, the kernel makes no check on user permission to call this API. So basically we don't know on what condition a system should return EPERM. It is implementation defined. n/a
sched_getscheduler/7-1 Ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e WR: A permission test. On Linux, the kernel makes no check on user permission to call this API. So basically we don't know on what condition a system should return EPERM. It is implementation defined. n/a
sched_yield/1-1 Bug / Fixed qemu-arm qemu-mips routerstation qemu-ppc mpc8315e SIGINT is trapped by bin/run-test.sh n/a
sched_get_priority_max/1-3 Ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Schedule policy SCHED_SPORADIC is not supported by linux n/a
sched_get_priority_min/1-3 Ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Schedule policy SCHED_SPORADIC is not supported by linux n/a


sched_getscheduler/2-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a
sched_getscheduler/7-1 Ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e WR: A permission test. On Linux, the kernel makes no check on user permission to call this API. So basically we don't know on what condition a system should return EPERM. It is implementation defined. n/a
sched_setparam/3-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a
sched_setparam/6-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a
sched_setparam/7-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a
sched_setparam/8-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a
sched_setparam/12-1 Ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Schedule policy SCHED_SPORADIC is not supported by linux n/a
sched_setparam/13-1 Ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Schedule policy SCHED_SPORADIC is not supported by linux n/a
sched_setparam/14-1 Ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Schedule policy SCHED_SPORADIC is not supported by linux n/a
sched_setparam/15-1 Ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Schedule policy SCHED_SPORADIC is not supported by linux n/a
sched_setparam/16-1 Ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Schedule policy SCHED_SPORADIC is not supported by linux n/a
sched_setparam/17-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a
sched_setparam/18-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a
sched_setparam/19-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a
sched_setparam/20-1 Ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e PTHREAD_SCOPE_PROCESS for pthread_attr_setscope() is not supported by linux n/a
sched_setparam/21-1 Ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e PTHREAD_SCOPE_PROCESS for pthread_attr_setscope() is not supported by linux n/a
sched_setparam/21-2 Ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e PTHREAD_SCOPE_PROCESS for pthread_attr_setscope() is not supported by linux n/a
sched_setparam/23-2 Ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Schedule policy SCHED_SPORADIC is not supported by linux n/a
sched_setparam/23-3 Ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Schedule policy SCHED_SPORADIC is not supported by linux n/a
sched_setparam/23-4 Ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Schedule policy SCHED_SPORADIC is not supported by linux n/a
sched_setparam/23-5 Ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Schedule policy SCHED_SPORADIC is not supported by linux n/a


sched_setparam/25-2 Ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Schedule policy SCHED_SPORADIC is not supported by linux n/a


sched_setparam/25-3 Ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Schedule policy SCHED_SPORADIC is not supported by linux n/a


sched_setparam/25-4 Ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Schedule policy SCHED_SPORADIC is not supported by linux n/a


sched_setscheduler/2-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a


sched_setscheduler/5-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a


sched_setscheduler/6-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a


sched_setscheduler/7-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a


sched_setscheduler/9-1 Ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Schedule policy SCHED_SPORADIC is not supported by linux n/a
sched_setscheduler/10-1 Ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Schedule policy SCHED_SPORADIC is not supported by linux n/a
sched_setscheduler/11-1 Ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Schedule policy SCHED_SPORADIC is not supported by linux n/a
sched_setscheduler/12-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a


sched_setscheduler/13-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a
sched_setscheduler/14-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a
sched_setscheduler/15-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a
sched_setscheduler/15-2 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a
sched_setscheduler/17-2 Ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Schedule policy SCHED_SPORADIC is not supported by linux n/a
sched_setscheduler/17-3 Ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Schedule policy SCHED_SPORADIC is not supported by linux n/a
sched_setscheduler/17-4 Ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Schedule policy SCHED_SPORADIC is not supported by linux n/a
sched_setscheduler/19-2 Ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Schedule policy SCHED_SPORADIC is not supported by linux n/a
sched_setscheduler/19-3 Ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Schedule policy SCHED_SPORADIC is not supported by linux n/a
sched_setscheduler/19-4 Ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Schedule policy SCHED_SPORADIC is not supported by linux n/a
sched_setscheduler/22-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a
sched_setscheduler/22-2 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Just print something and then return n/a

MEM

POSIX cases status platforms error msg analysis bugzilla
mmap/11-4 Bug qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e pa: 0x400fb000 pa_2: 0x40115000 Modification of the partial page at the end of an object is written out n/a
mmap/11-5 Bug qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e Modification of the partial page at the end of an object is written out n/a
mmap/27-1 Ignore qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e eglibc has define macro MAP_FIXED, and test case check MAP_FIXED defined then quit with PTS_UNTESTED n/a
mmap/28-1 Bug qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e test mmap() with 4 timed page size expect fail with errno ENXIO( No such device or address) but successed. n/a
mmap/31-1 Bug qemu-arm qemu-ppc mpc8315e beagleboard off: fffff000, len: fffff000 expect EOVERFLOW but get other error: Cannot allocate memory n/a
shm_open/23-1 Bug qemu-ppc HUNG Create too many (1000) semphores for qemu-ppc, maybe limited to hardware n/a
shm_open/2-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e test code just return PTS_UNTESTED and do nothing n/a
shm_open/3-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e test code just return PTS_UNTESTED and do nothing n/a
shm_open/6-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e test code just return PTS_UNTESTED and do nothing n/a
shm_open/7-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e test code just return PTS_UNTESTED and do nothing n/a
shm_open/9-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e test code just return PTS_UNTESTED and do nothing n/a
shm_open/10-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e test code just return PTS_UNTESTED and do nothing n/a
shm_open/12-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e test code just return PTS_UNTESTED and do nothing n/a
shm_open/19-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e test code just return PTS_UNTESTED and do nothing n/a
shm_open/24-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e test code just return PTS_UNTESTED and do nothing n/a
shm_open/27-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e test code just return PTS_UNTESTED and do nothing n/a
shm_open/29-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e test code just return PTS_UNTESTED and do nothing n/a
shm_open/36-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e test code just return PTS_UNTESTED and do nothing n/a
shm_open/42-1 POSIX qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e test code just return PTS_UNTESTED and do nothing n/a