|
|
(505 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| ==Introduction== | | ==Introduction== |
| This page records the POSIX test results of Yocto 1.2. You can get more informations from [https://wiki.yoctoproject.org/wiki/Posix_result POSIX test overall on Yocto]. The test suite is from ltp and version 20110915. Six platforms are included: qemu-arm qemu-ppc qemu-mips beagleboard mpc8315rdb routerstation. | | This page records the POSIX test results of Yocto for current version. History POSIX test results have been moved to https://wiki.yoctoproject.org/wiki/POSIX_History_Results. You can get more informations from [https://wiki.yoctoproject.org/wiki/Posix_result POSIX test overall on Yocto]. |
| There are 1794 test cases in total, only failed items are list here.
| | |
| | The online POSIX specification could be viewed at [http://pubs.opengroup.org/onlinepubs/007904975/mindex.html IEEE Std 1003.1, 2004 Edition]. |
|
| |
|
| All POSIX test cases can be get at | | The POSIX test suite is from ltp. All POSIX test cases can be get at |
| [http://ltp.git.sourceforge.net/git/gitweb.cgi?p=ltp/ltp.git;a=tree;f=testcases/open_posix_testsuite POSIX git repository]. | | [http://ltp.git.sourceforge.net/git/gitweb.cgi?p=ltp/ltp.git;a=tree;f=testcases/open_posix_testsuite POSIX git repository]. |
|
| |
|
| The online POSIX specification could be viewed at [http://pubs.opengroup.org/onlinepubs/007904975/mindex.html IEEE Std 1003.1, 2004 Edition].
| | Test POSIX on following platforms: |
| | *beaglebone |
| | *mpc8315rdb |
| | *edgerouter |
| | *genericx86-64 |
| | |
| | There are 1794 test cases in total, only failed items are list here. |
|
| |
|
| === Result Codes === | | === Result Codes === |
Line 36: |
Line 43: |
| happen, it's PTP_UNTESTED. | | happen, it's PTP_UNTESTED. |
|
| |
|
| '''So we only need fix the test which returns PTP_FAIL.''' | | For every failed case which returns '''PTP_FAIL''' there is a item in https://bugzilla.yoctoproject.org to follow. For other cases which don't return PTP_PASS find the root cause. |
|
| |
|
| ==Results and analysis== | | ==Results and analysis== |
| The results of groups SIG SEM THR TMR MSG TPS MEM are listed. Conclusion of some test cases have been given. | | 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":
| | Values of clumn "status" descript the current status of the case. Some keywords include: |
|
| |
|
| '''Bug''': it is a bug and the test case needs to be fixed. | | '''Bug''': it is a bug and the test case needs to be fixed. |
Line 49: |
Line 56: |
| '''POSIX''': that test case is in development, that causes the test fails | | '''POSIX''': that test case is in development, that causes the test fails |
|
| |
|
| ===AIO=== | | ===Current Milestone (3.1 RC2 build)=== |
| | | '''Yocto 3.1 RC2 build''' with POSIX test suite version '''20200120'''. |
| ====1.2 M3 RC1====
| |
| {|border="1"
| |
| || '''POSIX cases'''|| '''status''' || '''platforms''' || '''error msg''' || '''analysis''' ||'''bugzilla'''
| |
| |-
| |
| | |
| || aio_read/8-1 || || sugarbay routerstation beagleboard || conformance/interfaces/aio_read/8-1: execution: '''FAILED''' || ||
| |
| |-
| |
| || aio_write/6-1 || || sugarbay routerstation beagleboard || conformance/interfaces/aio_write/6-1: execution: '''FAILED''' || ||
| |
| |-
| |
| || lio_listio/11-1 || BUG || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/lio_listio/11-1: execution: '''FAILED''' || eglibc doesn't validate the parameter aio_lio_opcode||
| |
| |-
| |
| | |
| || aio_suspend/9-1 || NEW || routerstation sugarbay blacksand || conformance/interfaces/aio_suspend/9-1: execution: '''FAILED''' ||Test with ltp release 20120104, it hungs ||
| |
| |-
| |
| | |
| | |
| || aio_fsync/2-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_fsync/2-1: execution: UNTESTED || The case just test the return value of aio_fsync, if not equal to 0, return FAIL, else return UNTESTED ||
| |
| |-
| |
| || aio_fsync/3-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_fsync/3-1: execution: UNTESTED || The case just test the return value of aio_fsync, if not equal to 0, return FAIL, else return UNTESTED ||
| |
| |-
| |
| | |
| || aio_return/2-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_return/2-1: execution: UNRESOLVED
| |
| aio_return/2-1.c Second call to aio_return() '''may''' return -1;
| |
| aio_return() returned 111
| |
| || In specification, second call to aio_return() return -1 is a kind of possibility, depends on implementation.
| |
| | |
| In eglibc the return value is same as first return.
| |
| ||
| |
| |-
| |
| || aio_return/3-2 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_return/3-2: execution: UNRESOLVED || Same with aio_return/2-1||
| |
| |-
| |
| || aio_return/4-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_return/4-1: execution: UNRESOLVED || Same with aio_return/2-1||
| |
| |-
| |
| | |
| | |
| || aio_suspend/2-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_suspend/2-1: execution: UNTESTED || Test case is a stub ||
| |
| |-
| |
| || aio_suspend/5-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_suspend/5-1: execution: UNSUPPORTED || Test case is a stub ||
| |
| |-
| |
| | |
| || aio_error/3-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_error/3-1: execution: UNRESOLVED || test aio_error with invalid aiocb, but the case is not fully complete ||
| |
| |-
| |
| | |
| || aio_fsync/10-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_fsync/10-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED || N/A
| |
| |-
| |
| || aio_fsync/11-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_fsync/11-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED || N/A
| |
| |-
| |
| || aio_fsync/1-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_fsync/1-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED || N/A
| |
| |-
| |
| || aio_fsync/13-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_fsync/13-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED || N/A
| |
| |-
| |
| | |
| || aio_fsync/6-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_fsync/6-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED || N/A
| |
| |-
| |
| || aio_fsync/7-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_fsync/7-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED || N/A
| |
| |-
| |
|
| |
|
| || aio_read/12-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_read/12-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED || N/A
| | ====AIO==== |
| |-
| |
| || aio_read/13-1 ||POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_read/13-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED || N/A
| |
| |-
| |
| || aio_read/14-1 ||POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_read/14-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED || N/A
| |
| |-
| |
| || aio_read/15-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_read/15-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED || N/A
| |
| |-
| |
| || aio_read/2-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_read/2-1: execution: UNSUPPORTED || Test case is outdated, compare
| |
| sysconf(_SC_ASYNCHRONOUS_IO) != 200112L
| |
| if true return UNSUPPORTED. The const value should be 200809L now.
| |
| ||
| |
| |-
| |
| || aio_read/6-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_read/6-1: execution: UNTESTED || Same with aio_read/2-1 ||
| |
| |-
| |
|
| |
|
| || aio_read/9-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_read/9-1: execution: UNRESOLVED || Test case try to overflow the aio queue, but not quit sure the critical value on different OS.||
| |
| |-
| |
|
| |
|
|
| |
| || aio_write/10-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_write/10-1: execution: UNTESTED || Test case is a stub ||
| |
| |-
| |
| || aio_write/11-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_write/11-1: execution: UNTESTED || Test case is a stub ||
| |
| |-
| |
| || aio_write/12-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_write/12-1: execution: UNTESTED || Test case is a stub ||
| |
| |-
| |
| || aio_write/13-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_write/13-1: execution: UNTESTED || Test case is a stub ||
| |
| |-
| |
| || aio_write/4-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_write/4-1: execution: UNSUPPORTED || Test case is a stub||
| |
| |-
| |
|
| |
| || aio_write/7-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_write/7-1: execution: UNRESOLVED || Test case try to overflow the aio queue, but const value 1024 is not enough||
| |
| |-
| |
|
| |
| || lio_listio/16-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/lio_listio/16-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED ||
| |
| |-
| |
| || lio_listio/17-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/lio_listio/17-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED ||
| |
| |-
| |
| || lio_listio/19-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/lio_listio/19-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED ||
| |
| |-
| |
| || lio_listio/20-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/lio_listio/20-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED ||
| |
| |-
| |
| || lio_listio/21-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/lio_listio/21-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED ||
| |
| |-
| |
| || lio_listio/22-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/lio_listio/22-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED ||
| |
| |-
| |
| || lio_listio/23-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/lio_listio/23-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED ||
| |
| |-
| |
| || lio_listio/24-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/lio_listio/24-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED ||
| |
| |-
| |
| || lio_listio/25-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/lio_listio/25-1: execution: UNTESTED || Test case is a stub||
| |
| |-
| |
| |}
| |
|
| |
| ====1.2 M2 RC1====
| |
| {|border="1" | | {|border="1" |
| || '''POSIX cases'''|| '''status''' || '''platforms''' || '''error msg''' || '''analysis''' ||'''bugzilla''' | | || '''POSIX cases'''|| '''status''' || '''platforms''' || '''error msg''' || '''analysis''' ||'''bugzilla''' |
| |- | | |- |
| | || aio_error_3-1 || '''Not A Bug''' || genericx86-64 edgerouter beaglebone || conformance/interfaces/aio_error/3-1: execution: UNTESTED || |
| | This test tries to call aio_error with argument aiocbp which does not point at a control block for an asynchronous I/O request, and expect error EINVAL. |
|
| |
|
| || aio_read/8-1 || || sugarbay routerstation beagleboard || conformance/interfaces/aio_read/8-1: execution: '''FAILED''' || || | | The POSIX spec says about aio_error: |
| | The aio_error( ) function may fail if: |
| | [EINVAL] The aiocbp argument does not refer to an asynchronous operation whose return status has not yet been retrieved. |
| | || |
| | [https://bugzilla.yoctoproject.org/show_bug.cgi?id=2666 Yocto 2666] |
| |- | | |- |
| || aio_write/6-1 || || sugarbay routerstation beagleboard || conformance/interfaces/aio_write/6-1: execution: '''FAILED''' || || | | || aio_read_9-1 || '''Not A Bug''' || genericx86-64 edgerouter beaglebone || conformance/interfaces/aio_read/9-1: execution: UNSUPPORTED || |
| | ltp commit 91d8c0c85c97366a7ec4ee08ef3b3e7a38661ac8 will check the limit of aio queue, if there is no limit, the case is not supported and return '''UNSUPPORTED'''. |
| | Test case try to overflow the aio queue, but not quit sure the critical value on different OS. |
| | || |
| |- | | |- |
| || lio_listio/11-1 || BUG || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/lio_listio/11-1: execution: '''FAILED''' || eglibc doesn't validate the parameter aio_lio_opcode|| | | || aio_return_2-1 || '''Not A Bug''' || genericx86-64 edgerouter beaglebone || conformance/interfaces/aio_return/2-1: execution: UNTESTED || |
| | In specification, second call to aio_return() return -1 is a kind of possibility, depends on implementation. |
| | In glibc the return value is same as first return. |
| | ||[https://bugzilla.yoctoproject.org/show_bug.cgi?id=2665 Yocto 2665] |
| |- | | |- |
| || aio_suspend/3-1 || PASSED || routerstation || conformance/interfaces/aio_suspend/3-1: execution: '''SIGNALED''' || Test with ltp release 20120104, it passes. || | | || aio_return_3-2 || '''Not A Bug''' || genericx86-64 edgerouter beaglebone || conformance/interfaces/aio_return/3-2: execution: UNTESTED || |
| | Same with aio_return/2-1 |
| | ||[https://bugzilla.yoctoproject.org/show_bug.cgi?id=2665 Yocto 2665] |
| |- | | |- |
| || aio_suspend/9-1 || || sugarbay blacksand || conformance/interfaces/aio_suspend/9-1: execution: '''FAILED''' ||Test with ltp release 20120104, it hungs || | | || aio_return_4-1 || '''Not A Bug''' || genericx86-64 edgerouter beaglebone || conformance/interfaces/aio_return/4-1: execution: UNTESTED || |
| | call aio_return with with argument aiocbp which does not point at a control block for an asynchronous I/O request, and expect error EINVAL. But this is optional. |
| | || |
| | [https://bugzilla.yoctoproject.org/show_bug.cgi?id=2665 Yocto 2665] |
| |- | | |- |
| | | || aio_suspend_5-1 || POSIX || genericx86-64 edgerouter beaglebone || conformance/interfaces/aio_suspend/5-1: execution: UNSUPPORTED || |
| | | '''''Stub Case''''' |
| || aio_fsync/2-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_fsync/2-1: execution: UNTESTED || The case just test the return value of aio_fsync, if not equal to 0, return FAIL, else return UNTESTED || | | Test case is a stub |
| |-
| | || |
| || aio_fsync/3-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_fsync/3-1: execution: UNTESTED || The case just test the return value of aio_fsync, if not equal to 0, return FAIL, else return UNTESTED ||
| |
| |- | | |- |
| | | || aio_write_7-1 || '''Not A Bug''' || genericx86-64 edgerouter beaglebone || conformance/interfaces/aio_write/7-1: execution: UNSUPPORTED || |
| || aio_return/2-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_return/2-1: execution: UNRESOLVED | | ltp commit b56638a7a8ae9cd37e5698de3186dc3cb1434cd8 will check the limit of aio queue, if there is no limit, the case is not supported and return '''UNSUPPORTED'''. |
| aio_return/2-1.c Second call to aio_return() '''may''' return -1;
| | Test case try to overflow the aio queue, but const value 1024 is not enough |
| aio_return() returned 111
| |
| || In specification, second call to aio_return() return -1 is a kind of possibility, depends on implementation.
| |
| | |
| In eglibc the return value is same as first return.
| |
| || | | || |
| |-
| |
| || aio_return/3-2 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_return/3-2: execution: UNRESOLVED || Same with aio_return/2-1||
| |
| |-
| |
| || aio_return/4-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_return/4-1: execution: UNRESOLVED || Same with aio_return/2-1||
| |
| |-
| |
|
| |
|
| |
| || aio_suspend/2-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_suspend/2-1: execution: UNTESTED || Test case is a stub ||
| |
| |-
| |
| || aio_suspend/5-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_suspend/5-1: execution: UNSUPPORTED || Test case is a stub ||
| |
| |-
| |
|
| |
| || aio_cancel/7-1 || POSIX/FIXED || blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_cancel/7-1: execution: UNRESOLVED || FIXED by upstream. git commit on Sep 5, 2011: 7a0726ca51d2ba3a4ba068f6cc1833486f44304c ||
| |
| |-
| |
| || aio_error/3-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_error/3-1: execution: UNRESOLVED || test aio_error with invalid aiocb, but the case is not fully complete ||
| |
| |-
| |
|
| |
| || aio_fsync/10-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_fsync/10-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED || N/A
| |
| |-
| |
| || aio_fsync/11-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_fsync/11-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED || N/A
| |
| |-
| |
| || aio_fsync/1-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_fsync/1-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED || N/A
| |
| |-
| |
| || aio_fsync/13-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_fsync/13-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED || N/A
| |
| |-
| |
|
| |
| || aio_fsync/6-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_fsync/6-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED || N/A
| |
| |-
| |
| || aio_fsync/7-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_fsync/7-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED || N/A
| |
| |-
| |
|
| |
| || aio_read/12-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_read/12-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED || N/A
| |
| |-
| |
| || aio_read/13-1 ||POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_read/13-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED || N/A
| |
| |-
| |
| || aio_read/14-1 ||POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_read/14-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED || N/A
| |
| |-
| |
| || aio_read/15-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_read/15-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED || N/A
| |
| |-
| |
| || aio_read/2-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_read/2-1: execution: UNSUPPORTED || Test case is outdated, compare
| |
| sysconf(_SC_ASYNCHRONOUS_IO) != 200112L
| |
| if true return UNSUPPORTED. The const value should be 200809L now.
| |
| ||
| |
| |-
| |
| || aio_read/6-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_read/6-1: execution: UNTESTED || Same with aio_read/2-1 ||
| |
| |-
| |
|
| |
| || aio_read/9-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_read/9-1: execution: UNRESOLVED || Test case try to overflow the aio queue, but not quit sure the critical value on different OS.||
| |
| |-
| |
|
| |
|
| |
| || aio_write/10-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_write/10-1: execution: UNTESTED || Test case is a stub ||
| |
| |-
| |
| || aio_write/11-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_write/11-1: execution: UNTESTED || Test case is a stub ||
| |
| |-
| |
| || aio_write/12-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_write/12-1: execution: UNTESTED || Test case is a stub ||
| |
| |-
| |
| || aio_write/13-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_write/13-1: execution: UNTESTED || Test case is a stub ||
| |
| |-
| |
| || aio_write/4-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_write/4-1: execution: UNSUPPORTED || Test case is a stub||
| |
| |-
| |
|
| |
| || aio_write/7-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/aio_write/7-1: execution: UNRESOLVED || Test case try to overflow the aio queue, but const value 1024 is not enough||
| |
| |-
| |
|
| |
| || lio_listio/16-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/lio_listio/16-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED ||
| |
| |-
| |
| || lio_listio/17-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/lio_listio/17-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED ||
| |
| |-
| |
| || lio_listio/19-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/lio_listio/19-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED ||
| |
| |-
| |
| || lio_listio/20-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/lio_listio/20-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED ||
| |
| |-
| |
| || lio_listio/21-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/lio_listio/21-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED ||
| |
| |-
| |
| || lio_listio/22-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/lio_listio/22-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED ||
| |
| |-
| |
| || lio_listio/23-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/lio_listio/23-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED ||
| |
| |-
| |
| || lio_listio/24-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/lio_listio/24-1: execution: UNTESTED || Test case is not complete, and just return UNTESTED ||
| |
| |-
| |
| || lio_listio/25-1 || POSIX || sugarbay blacksand mpc8315e routerstation beagleboard || conformance/interfaces/lio_listio/25-1: execution: UNTESTED || Test case is a stub||
| |
| |- | | |- |
| |} | | |} |
|
| |
|
| ===SIG=== | | ====SIG==== |
|
| |
|
| ====1.2 M3 RC1====
| |
| {|border="1"
| |
| || '''POSIX cases'''|| '''status''' || '''platforms''' || '''error msg''' || '''analysis''' ||'''bugzilla'''
| |
| |-
| |
| || sigtimedwait/1-1 || NEW || mpc8315e || conformance/interfaces/sigtimedwait/1-1: execution: FAILED ||
| |
|
| |
|
| || n/a
| |
| |-
| |
| || sigaction/16-1 || POSIX/Merged || routerstation || "test not present" || Send patch to fix this issue. git commit: f33434dcdf6c4ae30a76b8cf9fdd5e242adaa409
| |
|
| |
|
| NO SIGSTKFLT on mips platform. Signals are defined in /usr/include/bits/signum.h
| |
|
| |
| || n/a
| |
| |}
| |
|
| |
| ====1.2 M2 RC1====
| |
| {|border="1" | | {|border="1" |
| || '''POSIX cases'''|| '''status''' || '''platforms''' || '''error msg''' || '''analysis''' ||'''bugzilla''' | | || '''POSIX cases'''|| '''status''' || '''platforms''' || '''error msg''' || '''analysis''' ||'''bugzilla''' |
| |- | | |- |
| || sigaction/16-1 || POSIX/Merged || routerstation || "test not present" || Send patch to fix this issue. git commit: f33434dcdf6c4ae30a76b8cf9fdd5e242adaa409
| | || n/a || || || || || |
| | | |- |
| NO SIGSTKFLT on mips platform. Signals are defined in /usr/include/bits/signum.h
| |
| | |
| || n/a
| |
| |}
| |
| | |
| ====1.2 M1 RC2====
| |
| {|border="1"
| |
| || '''POSIX cases'''|| '''status''' || '''platforms''' || '''error msg''' || '''analysis''' ||'''bugzilla'''
| |
| |-
| |
| || sigaltstack/9-1 || || sugarbay blacksand || conformance/interfaces/sigaltstack/9-1: execution: UNRESOLVED || || n/a
| |
| |-
| |
| || sigset/7-1 || || sugarbay blacksand || conformance/interfaces/sigset/7-1: execution: UNRESOLVED || || n/a
| |
| |-
| |
| || sigset/6-1 || || sugarbay blacksand || conformance/interfaces/sigset/6-1: execution: UNRESOLVED || || n/a
| |
| |-
| |
| || sigqueue/9-1 || || blacksand || conformance/interfaces/sigqueue/9-1: execution: UNRESOLVED || || n/a
| |
| |-
| |
| || sigaction/16-1 || POSIX/Merged || qemu-mips routerstation || "test not present" || NO SIGSTKFLT on mips platform. Signals are defined in /usr/include/bits/signum.h. Patch to fix this is merged || n/a | |
| |} | | |} |
|
| |
|
| ===SEM=== | | ====SEM==== |
|
| |
|
| ====1.2 M3 RC1====
| |
| {|border="1" | | {|border="1" |
| || '''POSIX cases'''|| '''status''' || '''platforms''' || '''error msg''' || '''analysis''' ||'''bugzilla''' | | || '''POSIX cases'''|| '''status''' || '''platforms''' || '''error msg''' || '''analysis''' ||'''bugzilla''' |
| |- | | |- |
| || sem_init/7-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || can't test: There is no constraint on SEM_NSEMS_MAX || In eglibc, sysconf() is implemented in sysdeps/posix/sysconf.c. When pass _SC_SEM_NSEMS_MAX to sysconf(), it checks 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, so the case fails. | | || sem_init_7-1 || '''Unsupported''' || edgerouter genericx86-64 beaglebone || conformance/interfaces/sem_init/sem_init_7-1: execution: UNTESTED |
| | [17:07:31]sysconf(_SC_SEM_NSEMS_MAX) = -1 |
| | [17:07:31]File ../../../conformance/interfaces |
| | /sem_init/7-1.c cannot test: There is no |
| | constraint on SEM_NSEMS_MAX |
|
| |
|
| Some one from windriver has send a patch but not merged yet.
| | Then return '''UNTESTED''' |
|
| |
|
| || n/a
| | || In glibc, sysconf() is implemented in sysdeps/posix/sysconf.c. When pass _SC_SEM_NSEMS_MAX to sysconf(), it checks whether SEM_NSEMS_MAX is defined, then if defined return SEM_NSEMS_MAX, otherwise return -1. |
| |}
| |
|
| |
|
| ====1.2 M2 RC1====
| | No SEM_NSEMS_MAX defined in Yocto same as in Ubuntu and Fedora, so the case fails. |
| {|border="1"
| |
| || '''POSIX cases'''|| '''status''' || '''platforms''' || '''error msg''' || '''analysis''' ||'''bugzilla'''
| |
| |-
| |
| || sem_init/7-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || can't test: There is no constraint on SEM_NSEMS_MAX || In eglibc, sysconf() is implemented in sysdeps/posix/sysconf.c. When pass _SC_SEM_NSEMS_MAX to sysconf(), it checks 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, so the case fails.
| |
|
| |
|
| Some one from windriver has send a patch but not merged yet.
| | It return UNTESTED, we don't need care it. |
|
| |
|
| || n/a
| | || |
| |} | | |} |
|
| |
|
| ====1.2 M1 RC2==== | | ====THR==== |
| {|border="1"
| |
| || '''POSIX cases'''|| '''status''' || '''platforms''' || '''error msg''' || '''analysis''' ||'''bugzilla'''
| |
| |-
| |
| || sem_post/8-1 || || blacksand || conformance/interfaces/sem_post/8-1: execution: FAILED || || n/a
| |
| |-
| |
| || sem_init/7-1 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || can't test: There is no constraint on SEM_NSEMS_MAX || In eglibc, sysconf() is implemented in sysdeps/posix/sysconf.c. When pass _SC_SEM_NSEMS_MAX to sysconf(), it checks 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, so the case returns UNTESTED. || n/a
| |
| |}
| |
|
| |
|
| ===THR===
| |
|
| |
|
| ====1.2 M3 RC1====
| |
| {|border="1" | | {|border="1" |
| || '''POSIX cases'''|| '''status''' || '''platforms''' || '''error msg''' || '''analysis''' ||'''bugzilla''' | | || '''POSIX cases'''|| '''status''' || '''platforms''' || '''error msg''' || '''analysis''' ||'''bugzilla''' |
|
| |
| |- | | |- |
| || pthread_cond_broadcast/1-2 || Ignore || beagleboard || | | || pthread_barrier_destroy_2-1 || Unsupported || genericx86-64 edgerouter beaglebone || conformance/interfaces/pthread_barrier_destroy/pthread_barrier_destroy_2-1: execution: UNSUPPORTED || The case becomes invalid after glibc-2.23 || |
| HUNG - "timeout"
| |
| || Create too many threads and cause kernel to kill some of them, so the case block on getting mutex. | |
| | |
| Log in dmesg:
| |
| | |
| Out of memory: Kill process 25300 (1-2.run-test)
| |
| score 8 or sacrifice child
| |
| Killed process 858 (1-2.run-test)
| |
| total-vm:26200kB, anon-rss:8236kB, file-rss:4kB
| |
| || n/a
| |
| | |
| |- | | |- |
| || pthread_create/1-6 || POSIX || beagleboard routerstation mpc8315e sugarbay || | | || pthread_cond_destroy_speculative_4-1 || Unsupported || beaglebone edgerouter || conformance/interfaces/pthread_cond_destroy/speculative/pthread_cond_destroy_speculative_4-1: execution: UNSUPPORTED || || |
| execution: HUNG
| |
| || 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_mutex_init_speculative_5-2 || Unsupported || beaglebone edgerouter || conformance/interfaces/pthread_mutex_init/speculative/pthread_mutex_init_speculative_5-2: execution: UNSUPPORTED || || |
| || pthread_rwlock_rdlock/2-1 || Ignore(unsupport) || beagleboard routerstation mpc8315e sugarbay blacksand || 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. || This test case is to test option '''Thread Execution Scheduling''' of pthread rwlock. But eglibc/libc don't support this option. They provide a '''__flags''' option to identify perfer 'read lock' or read lock, and the default is 'read lock' first. A Non-portable api pthread_rwlockattr_setkind_np() is provided to set this value. The test case is not supported. || | |
| | |
| |- | | |- |
| || pthread_rwlock_rdlock/2-2 || Ignore(unsupport) || beagleboard routerstation mpc8315e sugarbay blacksand ||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. || See pthread_rwlock_rdlock/2-1 || | | || pthread_mutexattr_gettype_speculative_3-1 || Untested || beaglebone edgerouter || conformance/interfaces/pthread_mutexattr_gettype/speculative/pthread_mutexattr_gettype_speculative_3-1: execution: UNTESTED || || |
| | |
| |- | | |- |
| || pthread_rwlock_unlock/3-1 || Ignore(unsupport) || beagleboard routerstation mpc8315e sugarbay blacksand || 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'. || See pthread_rwlock_rdlock/2-1 || | | || pthread_cond_broadcast_1-2 || '''Limitted to memory''' || edgerouter || conformance/interfaces/pthread_cond_broadcast/1-2: execution: UNTESTED || |
| |}
| | The case create 1000 process, and check the system memory. If system available memory size less than it requires, the case exit with UNTESTED. |
| | | When run single case on routerstation, it passed. But fails to run single case even just after reboot. |
| | | || |
| ====1.2 M2 RC1====
| |
| {|border="1"
| |
| || '''POSIX cases'''|| '''status''' || '''platforms''' || '''error msg''' || '''analysis''' ||'''bugzilla'''
| |
| | |
| |- | | |- |
| || pthread_cond_broadcast/1-2 || Ignore || beagleboard || | | || pthread_rwlock_rdlock_2-1 || Unsupport by glibc || edgerouter genericx86-64 beaglebone || conformance/interfaces/pthread_rwlock_rdlock/pthread_rwlock_rdlock_2-1: execution: FAILED || |
| HUNG - "timeout"
| | 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. This test case is to test option '''Thread Execution Scheduling''' of pthread rwlock. But glibc/libc don't support this option. They provide a rwlock->__data.'''__flags''' option to identify perfer 'read lock' or write lock, and the default is 'read lock' first. So second reader can get the lock when a higher priority writer is waiting for the lock. |
| || Create too many threads and cause kernel to kill some of them, so the case block on getting mutex. | | A Non-portable api pthread_rwlockattr_setkind_np() is provided to set this value. The test case is not supported. |
| | | || |
| Log in dmesg:
| |
| | |
| Out of memory: Kill process 25300 (1-2.run-test)
| |
| score 8 or sacrifice child
| |
| Killed process 858 (1-2.run-test)
| |
| total-vm:26200kB, anon-rss:8236kB, file-rss:4kB
| |
| || n/a
| |
| | |
| |- | | |- |
| || pthread_create/1-6 || POSIX || beagleboard routerstation mpc8315e sugarbay || | | || pthread_rwlock_rdlock_2-2 || Unsupport by glibc || edgerouter genericx86-64 beaglebone || conformance/interfaces/pthread_rwlock_rdlock/pthread_rwlock_rdlock_2-2: execution: FAILED || |
| execution: HUNG
| | 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. See pthread_rwlock_rdlock/2-1 |
| || 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/Removed || beagleboard routerstation blacksand sugarbay|| Segmentation fault || test case use an uninitialized attributes object to make 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_rwlock_unlock_4-1 || Unsupported || genericx86-64 edgerouter beaglebone || cconformance/interfaces/pthread_rwlock_unlock/pthread_rwlock_unlock_4-1: execution: UNSUPPORTED || Unlocking uninitialized rwlock is undefined on Linux || |
| | |
| |- | | |- |
| || pthread_mutex_lock/3-1 || POSIX/Merged || beagleboard routerstation mpc8315e || User defined signal 2 || Signals are sended before install signal handler|| n/a | | || pthread_rwlock_unlock_4-2 || Unsupported || genericx86-64 edgerouter beaglebone || cconformance/interfaces/pthread_rwlock_unlock/pthread_rwlock_unlock_4-2: execution: UNSUPPORTED || Unlocking uninitialized rwlock is undefined on Linux || |
| | |
| |- | | |- |
| || pthread_rwlock_rdlock/2-1 || Ignore(unsupport) || beagleboard routerstation mpc8315e sugarbay blacksand || 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. || This test case is to test option '''Thread Execution Scheduling''' of pthread rwlock. But eglibc/libc don't support this option. They provide a '''__flags''' option to identify perfer 'read lock' or read lock, and the default is 'read lock' first. A Non-portable api pthread_rwlockattr_setkind_np() is provided to set this value. The test case is not supported. || | | || pthread_rwlock_unlock_3-1 || Unsupport by glibc || edgerouter genericx86-64 beaglebone || conformance/interfaces/pthread_rwlock_unlock/pthread_rwlock_unlock_3-1: execution: FAILED || |
| | | 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'. See pthread_rwlock_rdlock/2-1 |
| | || |
| |- | | |- |
| || pthread_rwlock_rdlock/2-2 || Ignore(unsupport) || beagleboard routerstation mpc8315e sugarbay blacksand ||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. || See pthread_rwlock_rdlock/2-1 || | | |} |
|
| |
|
| |-
| | ====TMR==== |
| || pthread_rwlock_unlock/3-1 || Ignore(unsupport) || beagleboard routerstation mpc8315e sugarbay blacksand || 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'. || See pthread_rwlock_rdlock/2-1 ||
| |
| |}
| |
|
| |
|
| ====1.2 M1 RC2====
| |
| {|border="1" | | {|border="1" |
| || '''POSIX cases'''|| '''status''' || '''platforms''' || '''error msg''' || '''analysis''' ||'''bugzilla''' | | || '''POSIX cases'''|| '''status''' || '''platforms''' || '''error msg''' || '''analysis''' ||'''bugzilla''' |
|
| |
| |- | | |- |
| || pthread_cond_init/2-2 || || sugarbay || conformance/interfaces/pthread_cond_init/2-2: execution: FAILED || || n/a | | || clock_1-1 || || genericx86-64 || conformance/interfaces/clock/clock_1-1: execution: FAILED || || |
| |- | | |- |
| || pthread_cond_init/1-3 || || sugarbay || conformance/interfaces/pthread_cond_init/1-3: execution: HUNG || || n/a | | || clock_getcpuclockid_5-1 || '''Implement related''' || edgerouter genericx86-64 beaglebone || conformance/interfaces/clock_getcpuclockid/clock_getcpuclockid_5-1: execution: UNTESTED |
| |-
| | clock_getcpuclockid(1, ..) passed unexpectedly |
| || pthread_mutex_getprioceiling/1-1 || || sugarbay blacksand || conformance/interfaces/pthread_mutex_getprioceiling/1-1: execution: FAILED || || n/a | | || Case tests permission. 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 "Specified as an '''optional error''' in POSIX.1-2001; '''Does not occur on Linux unless the kernel does not support obtaining the per-process CPU-time clock of another process.'''". |
| || pthread_mutex_init/5-3 || || sugarbay || conformance/interfaces/pthread_mutex_init/5-3: execution: SIGNALED || || n/a | | || |
| |-
| |
| || pthread_cancel/5-2 || || blacksand || conformance/interfaces/pthread_cancel/5-2: execution: UNRESOLVED || || n/a
| |
| |-
| |
| || pthread_cond_broadcast/1-2 || Ignore || qemu-arm beagleboard || HUNG - "timeout" || Create too many threads and cause kernel to kill some of them, so the case block on getting mutex.
| |
| | |
| Log in dmesg:
| |
| | |
| Out of memory: Kill process 25300 (1-2.run-test) score 8 or sacrifice child
| |
| Killed process 858 (1-2.run-test) total-vm:26200kB, anon-rss:8236kB, file-rss:4kB
| |
| || n/a
| |
| | |
| |-
| |
| || pthread_create/1-6 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay || || 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/Removed || qemu-arm beagleboard qemu-mips routerstation || Segmentation fault || test case use an uninitialized attributes object to make 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/Patch Merged || qemu-arm beagleboard routerstation qemu-mips mpc8315e || User defined signal 2 || Signals are sended before install signal handler|| n/a
| |
|
| |
| |-
| |
| || pthread_rwlock_rdlock/2-1 || Ignore(unsupport) || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || 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. || This test case is to test option '''Thread Execution Scheduling''' of pthread rwlock. But eglibc/libc don't support this option. They provide a '''__flags''' option to identify perfer 'read lock' or read lock, and the default is 'read lock' first. A Non-portable api pthread_rwlockattr_setkind_np() is provided to set this value. The test case is not supported. ||
| |
|
| |
| |-
| |
| || pthread_rwlock_rdlock/2-2 || Ignore(unsupport) || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand ||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. || See pthread_rwlock_rdlock/2-1 ||
| |
|
| |
| |-
| |
| || pthread_rwlock_unlock/3-1 || Ignore(unsupport) || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || 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'. || See pthread_rwlock_rdlock/2-1 ||
| |
| |} | | |} |
|
| |
|
| === TMR === | | ====MSG==== |
|
| |
|
| ====1.2 M2 RC1====
| |
| {|border="1" | | {|border="1" |
| || '''POSIX cases'''|| '''status''' || '''platforms''' || '''error msg''' || '''analysis''' ||'''bugzilla''' | | || '''POSIX cases'''|| '''status''' || '''platforms''' || '''error msg''' || '''analysis''' ||'''bugzilla''' |
| |- | | |- |
| || timer_getoverrun/3-1 || '''POSIX''' || beagleboard routerstation mpc8315e sugarbay blacksand || || Just print something and then return UNTESTED || N/A | | || n/a || || || || || |
| | |
| |- | | |- |
| || clock_getcpuclockid/5-1 || Ignore || beagleboard routerstation mpc8315e sugarbay blacksand || 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 "'''Speci‐fied as an optional error in POSIX.1-2001; does not occur on Linux unless the kernel does not support obtaining the per-process CPU-time clock of another process.'''".
| |
|
| |
| clock_getcpuclockid() is implemented in eglibc source file libc/sysdeps/unix/sysv/linux/clock_getcpuclockid.c, call system call clock_getres() without permission check
| |
|
| |
| || n/a
| |
| |} | | |} |
|
| |
|
| ====1.2 M1 RC2==== | | ====TPS==== |
| {|border="1"
| |
| || '''POSIX cases'''|| '''status''' || '''platforms''' || '''error msg''' || '''analysis''' ||'''bugzilla'''
| |
| |-
| |
| || clock_getcpuclockid/6-1 || Ignore || sugarbay blacksand ||conformance/interfaces/clock_getcpuclockid/6-1: execution: UNRESOLVED || PASS on 1.2 M2 RC1 ||
| |
| |-
| |
| || timer_getoverrun/3-1 || '''POSIX''' || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Just print something and then return UNTESTED || N/A
| |
| | |
| |-
| |
| || timer_getoverrun/2-3 || Ignore || qemu-arm beagleboard routerstation || ||
| |
| '''PASS on 1.2 M2 RC1'''
| |
| | |
| "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 is already set), test case passes.
| |
| | |
| These 2 kernel configurations for qemuarm are not permitted.
| |
| | |
| || [http://bugzilla.pokylinux.org/show_bug.cgi?id=1827 Bug 1827]
| |
| | |
| |-
| |
| || clock_getcpuclockid/5-1 || Ignore || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || 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 "'''Speci‐fied as an optional error in POSIX.1-2001; does not occur on Linux unless the kernel does not support obtaining the per-process CPU-time clock of another process.'''".
| |
|
| |
|
| clock_getcpuclockid() is implemented in eglibc source file libc/sysdeps/unix/sysv/linux/clock_getcpuclockid.c, call system call clock_getres() without permission check
| |
|
| |
| || n/a
| |
| |}
| |
|
| |
| ===MSG===
| |
|
| |
| ====1.2 M2 RC1====
| |
| {|border="1" | | {|border="1" |
| || '''POSIX cases'''|| '''status''' || '''platforms''' || '''error msg''' || '''analysis''' ||'''bugzilla''' | | || '''POSIX cases'''|| '''status''' || '''platforms''' || '''error msg''' || '''analysis''' ||'''bugzilla''' |
|
| |
| |-
| |
| || mq_timedreceive/5-2 || '''Ignore''' || mpc8315e routerstation sugarbay blacksand ||
| |
| FAIL: mq_timedreceive didn't block until timout expires
| |
| Test FAILED
| |
| || Time resolution related. If not set CONFIG_HIGH_RES_TIMERS, the case will PASS. But this conflicts with timer_getoverrun/2-3 which needs to set CONFIG_HIGH_RES_TIMERS to make case PASS. || n/a
| |
|
| |
| |- | | |- |
| ||mq_timedreceive/10-2 || '''Bug''' || beagleboard routerstation mpc8315e subarbay blacksand || | | ||sched_get_priority_max_1-3 || Ignore || edgerouter genericx86-64 beaglebone || conformance/interfaces/sched_get_priority_max/sched_get_priority_max_1-3: execution: UNSUPPORTED || Schedule policy SCHED_SPORADIC is not supported by linux || |
| FAIL: the validity of
| |
| abs_timeout is checked
| |
| Test FAILED
| |
| | |
| || Pass a invalid parameter and when no need to wait mq_timedreceive should not check the timeout value. This is described in IEEE Std 1003.1-2008 POSIX Base Specifications, Issue 7, line 43787-43889.
| |
| | |
| In linux implementation, mq_timedreceive is defined in ipc/mqueue.c. It will call prepare_timeout() ==> timespec_valid() to validate the parameter abs_timeout before to get the message queue info.
| |
| | |
| || n/a
| |
| | |
| |-
| |
| || mq_close/5-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || UNTESTED || Just print something and then return UNTESTED || n/a
| |
| | |
| |-
| |
| || mq_open/4-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || UNTESTED || Just print something and then return UNTESTED|| n/a
| |
| | |
| |-
| |
| || mq_open/10-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || UNTESTED || Just print something and then return UNTESTED || n/a
| |
| | |
| |-
| |
| || mq_open/14-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || UNTESTED || Just print something and then return UNTESTED || n/a
| |
| | |
| |-
| |
| || mq_open/17-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || UNTESTED || Just print something and then return UNTESTED|| n/a
| |
| | |
| |-
| |
| || mq_open/22-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || UNTESTED || Just print something and then return UNTESTED || n/a
| |
| | |
| |-
| |
| || mq_open/24-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || UNTESTED || Just print something and then return UNTESTED || n/a
| |
| | |
| |-
| |
| || mq_open/25-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || UNTESTED || Just print something and then return UNTESTED || n/a
| |
| | |
| |-
| |
| || mq_open/28-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || UNTESTED ||Just print something and then return UNTESTED || n/a
| |
| | |
| |-
| |
| || mq_open/30-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || UNTESTED || Just print something and then return UNTESTED || n/a
| |
| | |
| |-
| |
| || mq_send/6-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || UNTESTED || Just print something and then return UNTESTED|| n/a
| |
| | |
| |- | |
| ||mq_timedsend/6-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || UNTESTED || Just print something and then return UNTESTED || n/a | |
| | |
| |-
| |
| ||mq_timedsend/17-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand ||UNTESTED || Just print something and then return UNTESTED || n/a
| |
| | |
| |-
| |
| ||mq_unlink/2-3 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || UNTESTED || Just print something and then return UNTESTED || n/a
| |
| |}
| |
| | |
| ====1.2 M1 RC2====
| |
| {|border="1"
| |
| || '''POSIX cases'''|| '''status''' || '''platforms''' || '''error msg''' || '''analysis''' ||'''bugzilla'''
| |
| | |
| |-
| |
| || mq_timedreceive/5-2 || '''Ignore''' || qemu-ppc qemu-mips mpc8315e subarbay blacksand || || The time() can not specifies an abs_timeout to mq_timedreceiver () for preempt_rt kernel || n/a
| |
| | |
| |-
| |
| ||mq_timedreceive/10-2 || '''Bug''' || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e subarbay blacksand || | |
| FAIL: the validity of
| |
| abs_timeout is checked
| |
| Test FAILED
| |
| | |
| || Pass a invalid parameter and when no need to wait mq_timedreceive should not check the timeout value. This is described in IEEE Std 1003.1-2008 POSIX Base Specifications, Issue 7, line 43787-43889.
| |
| | |
| In linux implementation, mq_timedreceive is defined in ipc/mqueue.c. It will call prepare_timeout() ==> timespec_valid() to validate the parameter abs_timeout before to get the message queue info.
| |
| | |
| || n/a
| |
| | |
| |-
| |
| || mq_timedsend/5-1 || POSIX/Patch send || qemu-ppc qemu-mips ||
| |
| Child never interrupted
| |
| mq_send() didn't appear
| |
| to complete
| |
| Test FAILED
| |
| || It fails random, because test case expect parent process sleep first and then child send signal to notify the parent, then the test pass. But the parent doesn't have chance to sleep before the child send the signal. || n/a
| |
| | |
| |-
| |
| || mq_close/5-1 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
| | |
| |-
| |
| || mq_open/4-1 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
| | |
| |-
| |
| || mq_open/10-1 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
| | |
| |-
| |
| || mq_open/14-1 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
| | |
| |-
| |
| || mq_open/17-1 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
| | |
| |-
| |
| || mq_open/22-1 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
| | |
| |-
| |
| || mq_open/24-1 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
| | |
| |-
| |
| || mq_open/25-1 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
| | |
| |-
| |
| || mq_open/28-1 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || ||Just print something and then return || n/a
| |
| | |
| |-
| |
| || mq_open/30-1 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
| | |
| |-
| |
| || mq_send/6-1 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
| | |
| |-
| |
| ||mq_timedsend/6-1 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
| | |
| |-
| |
| ||mq_timedsend/17-1 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
| | |
| |-
| |
| ||mq_unlink/2-3 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
| |}
| |
| | |
| ===TPS===
| |
| | |
| ====1.2 M2 RC1====
| |
| {|border="1"
| |
| || '''POSIX cases'''|| '''status''' || '''platforms''' || '''error msg''' || '''analysis''' ||'''bugzilla'''
| |
| |- | | |- |
| || sched_setparam/9-1 || || blacksand || conformance/interfaces/sched_setparam/9-1: execution: FAILED || || n/a | | ||sched_get_priority_min_1-3 || Ignore || edgerouter genericx86-64 beaglebone || conformance/interfaces/sched_get_priority_min/sched_get_priority_min_1-3: execution: UNSUPPORTED || Schedule policy SCHED_SPORADIC is not supported by linux || |
| |- | | |- |
| ||sched_getparam/6-1 || '''Ignore''' || beagleboard routerstation mpc8315e sugarbay blacksand || | | ||sched_getparam_6-1 || '''Not Supported''' || edgerouter genericx86-64 beaglebone || conformance/interfaces/sched_getparam/6-1: execution: UNTESTED |
| Testing with user deamon (euid, uid) = (1, 1)
| | Testing with user deamon (euid, uid) = (1, 1) |
| The function sched_getparam has successed.
| | The function sched_getparam has successed. |
| || sched_getparam is a system call, and defined in kernel/sched/core.c:L4266. It calls security_task_getscheduler() ==> security_ops->task_getscheduler() to perform security check. Default security policy is "Unix Discretionary Access Control". Its task_getscheduler() refer to cap_task_getscheduler() and doesn't perform any permission check. | | || |
| WR: A permission test. On Linux, the kernel makes no check on
| | This case try to call sched_getparam as non-root user to get scheduling parameters of process with pid 0. |
| user permission to call this API. So basically we don't know
| | It is a system call and implemented in kernel source sched/core.c. In SYSCALL_DEFINE2(sched_getparam, ...) it calls security_task_getscheduler() to check the permission. |
| on what condition a system should return EPERM.
| | For default security operations, security_task_getscheduler() is a stub function and just return 0. |
| It is implementation defined. | | In the manual of sched_getparam about return value: |
| | EPERM The calling process does not have appropriate privileges (Linux: does not have the CAP_SYS_NICE capability). |
| || | | || |
|
| |
| |-
| |
| ||sched_getscheduler/7-1 || '''Ignore''' || beagleboard routerstation mpc8315e sugarbay blacksand ||
| |
| Testing with user deamon (uid: 1)
| |
| The function sched_getscheduler has successed.
| |
|
| |
| || Same with sched_getparam/6-1
| |
| 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 || routerstation mpc8315e beagleboard || || SIGINT is trapped by bin/run-test.sh || n/a
| |
|
| |
| |-
| |
| ||sched_get_priority_max/1-3 || Ignore || beagleboard routerstation mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a
| |
|
| |
| |-
| |
| ||sched_get_priority_min/1-3 || Ignore || beagleboard routerstation mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a
| |
|
| |
|
| |
| |-
| |
| ||sched_getscheduler/2-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
|
| |
| |-
| |
| ||sched_setparam/3-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
|
| |
| |-
| |
| ||sched_setparam/6-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
|
| |
| |-
| |
| ||sched_setparam/7-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
|
| |
| |-
| |
| ||sched_setparam/8-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
|
| |
| |-
| |
| ||sched_setparam/12-1 || Ignore || beagleboard routerstation mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a
| |
|
| |
| |-
| |
| ||sched_setparam/13-1 || Ignore || beagleboard routerstation mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a
| |
|
| |
| |-
| |
| ||sched_setparam/14-1 || Ignore || beagleboard routerstation mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a
| |
|
| |
| |-
| |
| ||sched_setparam/15-1 || Ignore || beagleboard routerstation mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a
| |
|
| |
| |-
| |
| ||sched_setparam/16-1 || Ignore || beagleboard routerstation mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a
| |
|
| |
| |-
| |
| ||sched_setparam/17-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
|
| |
| |-
| |
| ||sched_setparam/18-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
|
| |
| |-
| |
| ||sched_setparam/19-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
|
| |
| |-
| |
| ||sched_setparam/20-1 || Ignore || beagleboard routerstation mpc8315e sugarbay blacksand || || PTHREAD_SCOPE_PROCESS for pthread_attr_setscope() is not supported by linux || n/a
| |
|
| |
| |-
| |
| ||sched_setparam/21-1 || Ignore || beagleboard routerstation mpc8315e sugarbay blacksand || || PTHREAD_SCOPE_PROCESS for pthread_attr_setscope() is not supported by linux || n/a
| |
|
| |
| |-
| |
| ||sched_setparam/21-2 || Ignore || beagleboard routerstation mpc8315e sugarbay blacksand || || PTHREAD_SCOPE_PROCESS for pthread_attr_setscope() is not supported by linux || n/a
| |
|
| |
| |-
| |
| ||sched_setparam/23-2 || Ignore || beagleboard routerstation mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a
| |
|
| |
| |-
| |
| || sched_setparam/23-3 || Ignore || beagleboard routerstation mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a
| |
|
| |
| |-
| |
| ||sched_setparam/23-4 || Ignore || beagleboard routerstation mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a
| |
|
| |
| |-
| |
| ||sched_setparam/23-5 || Ignore || beagleboard routerstation mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a
| |
|
| |
|
| |
| |-
| |
| ||sched_setparam/25-2 || Ignore || beagleboard routerstation mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a
| |
|
| |
|
| |
| |-
| |
| ||sched_setparam/25-3 || Ignore || beagleboard routerstation mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a
| |
|
| |
|
| |
| |-
| |
| ||sched_setparam/25-4 || Ignore || beagleboard routerstation mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a
| |
|
| |
|
| |
| |-
| |
| ||sched_setscheduler/2-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
|
| |
|
| |
| |-
| |
| ||sched_setscheduler/5-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
|
| |
|
| |
| |-
| |
| ||sched_setscheduler/6-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
|
| |
|
| |
| |-
| |
| ||sched_setscheduler/7-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
|
| |
|
| |
| |-
| |
| ||sched_setscheduler/9-1 || Ignore || beagleboard routerstation mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a
| |
|
| |
| |-
| |
| ||sched_setscheduler/10-1 || Ignore || beagleboard routerstation mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a
| |
|
| |
| |-
| |
| ||sched_setscheduler/11-1 || Ignore || beagleboard routerstation mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a
| |
|
| |
| |-
| |
| ||sched_setscheduler/12-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
|
| |
|
| |
| |-
| |
| ||sched_setscheduler/13-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
|
| |
| |-
| |
| ||sched_setscheduler/14-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
|
| |
| |-
| |
| ||sched_setscheduler/15-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
|
| |
| |-
| |
| ||sched_setscheduler/15-2 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
|
| |
| |-
| |
| ||sched_setscheduler/17-2 || Ignore || beagleboard routerstation mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a
| |
|
| |
| |-
| |
| ||sched_setscheduler/17-3 || Ignore || beagleboard routerstation mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a
| |
|
| |
| |-
| |
| ||sched_setscheduler/17-4 || Ignore || beagleboard routerstation mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a
| |
|
| |
| |-
| |
| ||sched_setscheduler/19-2 || Ignore || beagleboard routerstation mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a
| |
|
| |
| |-
| |
| ||sched_setscheduler/19-3 || Ignore || beagleboard routerstation mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a
| |
|
| |
| |-
| |
| ||sched_setscheduler/19-4 || Ignore || beagleboard routerstation mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a
| |
|
| |
| |-
| |
| ||sched_setscheduler/22-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
|
| |
| |-
| |
| ||sched_setscheduler/22-2 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
| |}
| |
|
| |
| ====1.2 M1 RC2====
| |
| {|border="1"
| |
| || '''POSIX cases'''|| '''status''' || '''platforms''' || '''error msg''' || '''analysis''' ||'''bugzilla'''
| |
| |- | | |- |
| || sched_setparam/9-1 || || blacksand || conformance/interfaces/sched_setparam/9-1: execution: FAILED || || n/a | | ||sched_getscheduler_7-1 || '''Not Supportted''' || edgerouter genericx86-64 beaglebone || conformance/interfaces/sched_getscheduler/7-1: execution: UNTESTED |
| |-
| | Testing with user deamon (uid: 1) |
| || sched_setscheduler/17-5 || || sugarbay blacksand || conformance/interfaces/sched_setscheduler/17-5: execution: UNRESOLVED || || n/a
| | The function sched_getscheduler has successed. |
| |-
| | || Similiar with sched_getparam/6-1 |
| ||sched_getparam/6-1 || '''Ignore''' || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand ||
| |
| Testing with user deamon (euid, uid) = (1, 1)
| |
| The function sched_getparam has successed.
| |
| || Call sched_getparam() to get process init as non-root user succeed unexpectedly. | |
| sched_getparam is a system call, and defined in kernel/sched.c:L5510. It calls security_task_getscheduler() ==> security_ops->task_getscheduler() to perform security check. Default security policy is "Unix Discretionary Access Control". Its task_getscheduler() refer to cap_task_getscheduler() and doesn't perform any permission check.
| |
| 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.
| |
| || | | || |
|
| |
| |- | | |- |
| ||sched_getscheduler/7-1 || '''Ignore''' || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || | | ||sched_setparam_20-1 || Ignore || edgerouter genericx86-64 beaglebone || conformance/interfaces/sched_setparam/sched_setparam_20-1: execution: UNSUPPORTED || PTHREAD_SCOPE_PROCESS for pthread_attr_setscope() is not supported by linux || |
| Testing with user deamon (uid: 1)
| |
| The function sched_getscheduler has successed.
| |
| || Same with sched_getparam/6-1
| |
| 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 beagleboard || || SIGINT is trapped by bin/run-test.sh || n/a | | ||sched_setparam_21-1 || Ignore || edgerouter genericx86-64 beaglebone || conformance/interfaces/sched_setparam/sched_setparam_21-1: execution: UNSUPPORTED || PTHREAD_SCOPE_PROCESS for pthread_attr_setscope() is not supported by linux || |
| | |
| |- | | |- |
| ||sched_get_priority_max/1-3 || Ignore || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a | | ||sched_setparam_21-2 || Ignore || edgerouter genericx86-64 beaglebone || conformance/interfaces/sched_setparam/sched_setparam_21-2: execution: UNSUPPORTED || PTHREAD_SCOPE_PROCESS for pthread_attr_setscope() is not supported by linux || |
| | |
| |- | | |- |
| ||sched_get_priority_min/1-3 || Ignore || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a | | ||sched_setparam_23-2 || Ignore || edgerouter genericx86-64 beaglebone || conformance/interfaces/sched_setparam/sched_setparam_23-2: execution: UNSUPPORTED || PTHREAD_SCOPE_PROCESS for pthread_attr_setscope() is not supported by linux || |
| | |
| | |
| |- | | |- |
| ||sched_getscheduler/2-1 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Just print something and then return || n/a | | ||sched_setparam_23-3 || Ignore || edgerouter genericx86-64 beaglebone || conformance/interfaces/sched_setparam/sched_setparam_23-3: execution: UNSUPPORTED || PTHREAD_SCOPE_PROCESS for pthread_attr_setscope() is not supported by linux || |
| | |
| |- | | |- |
| ||sched_setparam/3-1 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Just print something and then return || n/a | | ||sched_setparam_23-4 || Ignore || edgerouter genericx86-64 beaglebone || conformance/interfaces/sched_setparam/sched_setparam_23-4: execution: UNSUPPORTED || PTHREAD_SCOPE_PROCESS for pthread_attr_setscope() is not supported by linux || |
| | |
| |- | | |- |
| ||sched_setparam/6-1 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Just print something and then return || n/a | | ||sched_setparam_23-5 || Ignore || edgerouter genericx86-64 beaglebone || conformance/interfaces/sched_setparam/sched_setparam_23-5: execution: UNSUPPORTED || PTHREAD_SCOPE_PROCESS for pthread_attr_setscope() is not supported by linux || |
| | |
| |- | | |- |
| ||sched_setparam/7-1 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Just print something and then return || n/a | | ||sched_setparam_25-2 || Ignore || edgerouter genericx86-64 beaglebone || conformance/interfaces/sched_setparam/sched_setparam_25-2: execution: UNSUPPORTED || PTHREAD_SCOPE_PROCESS for pthread_attr_setscope() is not supported by linux || |
| | |
| |- | | |- |
| ||sched_setparam/8-1 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Just print something and then return || n/a | | ||sched_setparam_25-3 || Ignore || edgerouter genericx86-64 beaglebone || conformance/interfaces/sched_setparam/sched_setparam_25-3: execution: UNSUPPORTED || PTHREAD_SCOPE_PROCESS for pthread_attr_setscope() is not supported by linux || |
| | |
| |- | | |- |
| ||sched_setparam/12-1 || Ignore || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a | | ||sched_setparam_25-4 || Ignore || edgerouter genericx86-64 beaglebone || conformance/interfaces/sched_setparam/sched_setparam_25-4: execution: UNSUPPORTED || PTHREAD_SCOPE_PROCESS for pthread_attr_setscope() is not supported by linux || |
| | |
| |- | | |- |
| ||sched_setparam/13-1 || Ignore || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a | | ||sched_setscheduler_17-2 || Ignore || edgerouter genericx86-64 beaglebone || conformance/interfaces/sched_setscheduler/sched_setscheduler_17-2: execution: UNSUPPORTED || Schedule policy SCHED_SPORADIC is not supported by linux || |
| | |
| |- | | |- |
| ||sched_setparam/14-1 || Ignore || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a | | ||sched_setscheduler_17-3 || Ignore || edgerouter genericx86-64 beaglebone || conformance/interfaces/sched_setscheduler/sched_setscheduler_17-3: execution: UNSUPPORTED || Schedule policy SCHED_SPORADIC is not supported by linux || |
| | |
| |- | | |- |
| ||sched_setparam/15-1 || Ignore || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a | | ||sched_setscheduler_17-4 || Ignore || edgerouter genericx86-64 beaglebone || conformance/interfaces/sched_setscheduler/sched_setscheduler_17-4: execution: UNSUPPORTED || Schedule policy SCHED_SPORADIC is not supported by linux || |
| | |
| |-
| |
| ||sched_setparam/16-1 || Ignore || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || 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 sugarbay blacksand || || Just print something and then return || n/a
| |
| | |
| |-
| |
| ||sched_setparam/18-1 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
| | |
| |-
| |
| ||sched_setparam/19-1 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
| | |
| |- | | |- |
| ||sched_setparam/20-1 || Ignore || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || PTHREAD_SCOPE_PROCESS for pthread_attr_setscope() is not supported by linux || n/a | | ||sched_setscheduler_15-1 || Ignore || edgerouter genericx86-64 beaglebone || conformance/interfaces/sched_setscheduler/sched_setscheduler_15-1: execution: UNSUPPORTED || Schedule policy SCHED_SPORADIC is not supported by linux || |
| | |
| |- | | |- |
| ||sched_setparam/21-1 || Ignore || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || PTHREAD_SCOPE_PROCESS for pthread_attr_setscope() is not supported by linux || n/a | | ||sched_setscheduler_15-2 || Ignore || edgerouter genericx86-64 beaglebone || conformance/interfaces/sched_setscheduler/sched_setscheduler_15-2: execution: UNSUPPORTED || Schedule policy SCHED_SPORADIC is not supported by linux || |
| | |
| |- | | |- |
| ||sched_setparam/21-2 || Ignore || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || PTHREAD_SCOPE_PROCESS for pthread_attr_setscope() is not supported by linux || n/a | | ||sched_setscheduler_19-2 || Ignore || edgerouter genericx86-64 beaglebone || conformance/interfaces/sched_setscheduler/sched_setscheduler_19-2: execution: UNSUPPORTED || Schedule policy SCHED_SPORADIC is not supported by linux || |
| | |
| |- | | |- |
| ||sched_setparam/23-2 || Ignore || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a | | ||sched_setscheduler_19-3 || Ignore || edgerouter genericx86-64 beaglebone || conformance/interfaces/sched_setscheduler/sched_setscheduler_19-3: execution: UNSUPPORTED || Schedule policy SCHED_SPORADIC is not supported by linux || |
| | |
| |- | | |- |
| || sched_setparam/23-3 || Ignore || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a | | ||sched_setscheduler_19-4 || Ignore || edgerouter genericx86-64 beaglebone || conformance/interfaces/sched_setscheduler/sched_setscheduler_19-4: execution: UNSUPPORTED || Schedule policy SCHED_SPORADIC is not supported by linux || |
| | |
| |- | | |- |
| ||sched_setparam/23-4 || Ignore || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a | | ||sched_setscheduler_22-1 || Ignore || edgerouter genericx86-64 beaglebone || conformance/interfaces/sched_setscheduler/sched_setscheduler_22-1: execution: UNSUPPORTED || Schedule policy SCHED_SPORADIC is not supported by linux || |
| | |
| |- | | |- |
| ||sched_setparam/23-5 || Ignore || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Schedule policy SCHED_SPORADIC is not supported by linux || n/a | | ||sched_setscheduler_22-2 || Ignore || edgerouter genericx86-64 beaglebone || conformance/interfaces/sched_setscheduler/sched_setscheduler_22-2: execution: UNSUPPORTED || Schedule policy SCHED_SPORADIC is not supported by linux || |
| | |
| | |
| |- | | |- |
| ||sched_setparam/25-2 || Ignore || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || 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 sugarbay blacksand || || 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 sugarbay blacksand || || 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 sugarbay blacksand || || Just print something and then return || n/a
| |
|
| |
|
| |
| |-
| |
| ||sched_setscheduler/5-1 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
|
| |
|
| |
| |-
| |
| ||sched_setscheduler/6-1 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
|
| |
|
| |
| |-
| |
| ||sched_setscheduler/7-1 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
|
| |
|
| |
| |-
| |
| ||sched_setscheduler/9-1 || Ignore || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || 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 sugarbay blacksand || || 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 sugarbay blacksand || || 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 sugarbay blacksand || || Just print something and then return || n/a
| |
|
| |
|
| |
| |-
| |
| ||sched_setscheduler/13-1 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
|
| |
| |-
| |
| ||sched_setscheduler/14-1 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
|
| |
| |-
| |
| ||sched_setscheduler/15-1 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
|
| |
| |-
| |
| ||sched_setscheduler/15-2 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
|
| |
| |-
| |
| ||sched_setscheduler/17-2 || Ignore || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || 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 sugarbay blacksand || || 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 sugarbay blacksand || || 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 sugarbay blacksand || || 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 sugarbay blacksand || || 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 sugarbay blacksand || || 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 sugarbay blacksand || || Just print something and then return || n/a
| |
|
| |
| |-
| |
| ||sched_setscheduler/22-2 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || Just print something and then return || n/a
| |
| |} | | |} |
|
| |
|
| ===MEM=== | | ====MEM==== |
|
| |
|
| ====1.2 M2 RC1====
| |
| {|border="1" | | {|border="1" |
| || '''POSIX cases'''|| '''status''' || '''platforms''' || '''error msg''' || '''analysis''' ||'''bugzilla''' | | || '''POSIX cases'''|| '''status''' || '''platforms''' || '''error msg''' || '''analysis''' ||'''bugzilla''' |
| |- | | |- |
| || mmap/11-4 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || | | || mmap_31-1 || '''Not Supported''' || genericx86-64 edgerouter || conformance/interfaces/mmap/mmap_31-1: execution: UNSUPPORTED || |
| pa: 0x400fb000
| | This case is NOT supported by Linux. Test parameters length and offset for mmap() are too large. In function get_unmapped_area(), it checks that length should less than TASK_SIZE, otherwise it returns -ENOMEM. TASK_SIZE value differs on different platforms. |
| | | || |
| pa_2: 0x40115000
| |
| | |
| Modification of the partial page at the end of an object is written out
| |
| || Test case map a file with size of 1/2 * page_size, then write char 'b' to next byte of 1/2 * page_size. Then try to re-mmap() the file and expect the byte next to of 1/2 * page_size should not be character 'b'. Test on all platforms are failed. The reason is after first mmap(), the mapped page for the file is cached in page cache. When do the 2nd or 3rd mmap() still get the same mapped page. | |
| | |
| The mapped page is cached.
| |
| | |
| mmap() is a system call and implemented by mmap2(). Then the call sequence is mmap2() ==> sys_mmap_pgoff() ==> do_mmap_pgoff() ==> mmap_region() ==> file->f_op->mmap(). In ext3 file system, file->f_op->mmap() point to generic_file_mmap(). In generic_file_mmap(), assign the '''Page Fault Exception Handler''' to filemap_fault(). When access the Virtual Memory Area, page fault will occur and the run filemap_fault(). In filemap_fault(), kernel run find_get_page() to search the physical page in the page cache.
| |
| || n/a
| |
| | |
| |-
| |
| || mmap/11-5 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || Modification of the partial page at the end of an object is written out || Same with mmap/11-4, and this test case is to test share memory, so file->f_op->mmap() point to shm_fault() in ipc/shm.c, then it call shmem_fault() ==> shmem_getpage() ==> shmem_getpage_gfp() ==> find_lock_page(). In find_lock_page() it will search the desired pagecache page. || n/a | |
| | |
| |-
| |
| || mmap/27-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || eglibc has define macro MAP_FIXED, and test case check MAP_FIXED defined then quit with PTS_UNTESTED || n/a
| |
| | |
| |-
| |
| || mmap/28-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || test mmap() with length 2 timed file size expect fail with errno ENXIO( No such device or address) but successed. || n/a
| |
| | |
| |-
| |
| || mmap/31-1 || POSIX || mpc8315e beagleboard sugarbay blacksand ||
| |
| | |
| off: fffff000, len: fffff000
| |
| | |
| expect EOVERFLOW but get other error: Cannot allocate memory
| |
| | |
| || Parameters lenth and offset for mmap() are too large. Case 24-2 with same length expects mmap() failed with ENOMEM.
| |
| | |
| In function get_unmapped_area(), it checks len should less than TASK_SIZE, otherwise it returns -ENOMEM. TASK_SIZE value on different platforms | |
| beagleboard 0xC0000000 - 0x01000000 = 0xBF000000
| |
| mpc8315e 0xc0000000
| |
| routerstation 0x7fff8000UL
| |
| sugarbay 0xffff880000000000
| |
| || n/a
| |
| | |
| |- | | |- |
| || shm_open/2-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || test code just return PTS_UNTESTED and do nothing || n/a | | || mmap_11-4 || '''Not Supported''' || edgerouter genericx86-64 beaglebone || conformance/interfaces/mmap/mmap_11-4: execution: UNTESTED |
|
| | pa: 0x400fb000 |
| |-
| | pa_2: 0x40115000 |
| || shm_open/3-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || test code just return PTS_UNTESTED and do nothing || n/a
| | Modification of the partial page |
| | | at the end of an object is written out |
| |-
| | || This case maps a file with length of 1/2 * page_size, then write char 'b' to next byte of 1/2 * page_size. Then try to re-mmap() the file and expect the byte next to of 1/2 * page_size should not be character 'b'. |
| || shm_open/6-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || test code just return PTS_UNTESTED and do nothing || n/a
| | Test on all platforms are failed. The root cause is that after first mmap(), the mapped page for the file is cached in page cache. When do the 2nd or 3rd mmap() still get the same mapped page. |
| | | The mapped page is cached. This case is not supported by Linux. |
| |-
| |
| || shm_open/7-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || test code just return PTS_UNTESTED and do nothing || n/a
| |
| | |
| |-
| |
| || shm_open/9-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || test code just return PTS_UNTESTED and do nothing || n/a
| |
| | |
| |-
| |
| || shm_open/10-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || test code just return PTS_UNTESTED and do nothing || n/a
| |
| | |
| |-
| |
| || shm_open/12-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || test code just return PTS_UNTESTED and do nothing || n/a
| |
| | |
| |-
| |
| || shm_open/19-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || test code just return PTS_UNTESTED and do nothing || n/a
| |
| | |
| |-
| |
| || shm_open/24-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || ||test code just return PTS_UNTESTED and do nothing || n/a
| |
| | |
| |-
| |
| || shm_open/27-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || test code just return PTS_UNTESTED and do nothing || n/a
| |
| | |
| |-
| |
| || shm_open/29-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || test code just return PTS_UNTESTED and do nothing || n/a
| |
| | |
| |-
| |
| || shm_open/36-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || test code just return PTS_UNTESTED and do nothing || n/a
| |
| | |
| |-
| |
| || shm_open/42-1 || POSIX || beagleboard routerstation mpc8315e sugarbay blacksand || || test code just return PTS_UNTESTED and do nothing || n/a
| |
| |}
| |
| | |
| ====1.2 M1 RC2====
| |
| Note: from LTP/POSIX maintainer Cyril say: "At least the mmap/31-1, mmap/28-1, mmap/27-1, mmap/24-2, mmap/11-4 and
| |
| mmap/11-5 are known to fail sometimes and most likely are coded
| |
| incorrecly."
| |
| | |
| Ref:
| |
| http://sourceforge.net/mailarchive/forum.php?thread_name=4EFBC16E.9040102%40windriver.com&forum_name=ltp-list
| |
| | |
| So these cases should exclude from test list.
| |
| | |
| | |
| | |
| {|border="1"
| |
| || '''POSIX cases'''|| '''status''' || '''platforms''' || '''error msg''' || '''analysis''' ||'''bugzilla'''
| |
| |-
| |
| || mlockall/3-7 || || sugarbay blacksand || conformance/interfaces/mlockall/3-7: execution: UNRESOLVED || || n/a
| |
| |-
| |
| || mmap/11-4 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand ||
| |
| pa: 0x400fb000 | |
| | |
| pa_2: 0x40115000 | |
| | |
| Modification of the partial page at the end of an object is written out | |
| || Test case map a file with size of 1/2 * page_size, then write char 'b' to next byte of 1/2 * page_size. Then try to re-mmap() the file and expect the byte next to of 1/2 * page_size should not be character 'b'. Test on all platforms are failed. The reason is after first mmap(), the mapped page for the file is cached in page cache. When do the 2nd or 3rd mmap() still get the same mapped page. | |
| | |
| The mapped page is cached. | |
| | |
| mmap() is a system call and implemented by mmap2(). Then the call sequence is mmap2() ==> sys_mmap_pgoff() ==> do_mmap_pgoff() ==> mmap_region() ==> file->f_op->mmap(). In ext3 file system, file->f_op->mmap() point to generic_file_mmap(). In generic_file_mmap(), assign the '''Page Fault Exception Handler''' to filemap_fault(). When access the Virtual Memory Area, page fault will occur and the run filemap_fault(). In filemap_fault(), kernel run find_get_page() to search the physical page in the page cache. | | mmap() is a system call and implemented by mmap2(). Then the call sequence is mmap2() ==> sys_mmap_pgoff() ==> do_mmap_pgoff() ==> mmap_region() ==> file->f_op->mmap(). In ext3 file system, file->f_op->mmap() point to generic_file_mmap(). In generic_file_mmap(), assign the '''Page Fault Exception Handler''' to filemap_fault(). When access the Virtual Memory Area, page fault will occur and the run filemap_fault(). In filemap_fault(), kernel run find_get_page() to search the physical page in the page cache. |
| || n/a
| | || |
| | |
| |- | | |- |
| || mmap/11-5 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || Modification of the partial page at the end of an object is written out || Same with mmap/11-4, and this test case is to test share memory, so file->f_op->mmap() point to shm_fault() in ipc/shm.c, then it call shmem_fault() ==> shmem_getpage() ==> shmem_getpage_gfp() ==> find_lock_page(). In find_lock_page() it will search the desired pagecache page. || n/a | | || shm_open_39-1 || '''LTP''' || edgerouter genericx86-64 beaglebone || conformance/interfaces/shm_open/shm_open_39-1: execution: UNTESTED || Glibc 2.19 restricts shm_open and shm_unlink to SHMDIR: http://sourceware.org/git/?p=glibc.git;a=commit;h=5d30d853295a5fe04cad22fdf649c5e0da6ded8c Then if the file name is too long, shm_open will return EINVAL, not ENAMETOOLONG |
| | | || |
| |- | | |- |
| || mmap/27-1 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || eglibc has define macro MAP_FIXED, and test case check MAP_FIXED defined then quit with PTS_UNTESTED || n/a | | || shm_open_39-2 || '''LTP''' || edgerouter genericx86-64 beaglebone || conformance/interfaces/shm_open/shm_open_39-2: execution: UNTESTED || Glibc 2.19 restricts shm_open and shm_unlink to SHMDIR: http://sourceware.org/git/?p=glibc.git;a=commit;h=5d30d853295a5fe04cad22fdf649c5e0da6ded8c Then if the file name is too long, shm_open will return EINVAL, not ENAMETOOLONG |
| | | || |
| |- | | |- |
| || mmap/28-1 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || test mmap() with length 2 timed file size expect fail with errno ENXIO( No such device or address) but successed. || n/a | | || shm_unlink_10-1 || '''LTP''' || edgerouter genericx86-64 beaglebone || conformance/interfaces/shm_unlink/shm_unlink_10-1: execution: UNTESTED || Glibc 2.19 restricts shm_open and shm_unlink to SHMDIR: http://sourceware.org/git/?p=glibc.git;a=commit;h=5d30d853295a5fe04cad22fdf649c5e0da6ded8c Then if the file name is too long, shm_unlink will return ENOENT, not ENAMETOOLONG |
| | | || |
| |- | | |- |
| || mmap/31-1 || POSIX || qemu-arm qemu-ppc mpc8315e beagleboard sugarbay blacksand || | | || shm_unlink_10-2 || '''LTP''' || edgerouter genericx86-64 beaglebone || conformance/interfaces/shm_unlink/shm_unlink_10-2: execution: UNTESTED || Glibc 2.19 restricts shm_open and shm_unlink to SHMDIR: http://sourceware.org/git/?p=glibc.git;a=commit;h=5d30d853295a5fe04cad22fdf649c5e0da6ded8c Then if the file name is too long, shm_unlink will return ENOENT, not ENAMETOOLONG |
| | | || |
| off: fffff000, len: fffff000
| |
| | |
| expect EOVERFLOW but get other error: Cannot allocate memory
| |
| | |
| || Parameters lenth and offset for mmap() are too large. Case 24-2 with same length expects mmap() failed with ENOMEM. | |
| | |
| In function get_unmapped_area(), it checks len should less than TASK_SIZE, otherwise it returns -ENOMEM. TASK_SIZE value on different platforms
| |
| beagleboard 0xC0000000 - 0x01000000 = 0xBF000000
| |
| mpc8315e 0xc0000000
| |
| routerstation 0x7fff8000UL
| |
| sugarbay 0xffff880000000000
| |
| || n/a
| |
| | |
| |-
| |
| || shm_open/23-1 || Ignore || qemu-ppc || HUNG || qemu-ppc is too slow to fork and schedule, parent process create 1000 child processes and then wait children quit and then it time out. Limited to hardware. || n/a
| |
| | |
| |-
| |
| || shm_open/2-1 || POSIX || qemu-arm beagleboard qemu-mips routerstation qemu-ppc mpc8315e sugarbay blacksand || || 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 sugarbay blacksand || || 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 sugarbay blacksand || || 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 sugarbay blacksand || || 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 sugarbay blacksand || || 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 sugarbay blacksand || || 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 sugarbay blacksand || || 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 sugarbay blacksand || || 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 sugarbay blacksand || ||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 sugarbay blacksand || || 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 sugarbay blacksand || || 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 sugarbay blacksand || || 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 sugarbay blacksand || || test code just return PTS_UNTESTED and do nothing || n/a
| |
| |} | | |} |