Open anjalirai-intel opened 3 years ago
File permissions are not supported in Graphene.
The real issue here is that these LTP tests do not report any results (no TFAIL, no errors) and this leads to LTP outputting a general TBROK message. Need to investigate why this happens on LTP (does Graphene "hide" any error messages?).
I'd assume it's just a bug in LTP, but we can investigate it if you want.
Please assign to me.
Tests with message "TBROK: Test haven't reported results!" are executing in a forked process. Results of the tests are written by forked process on a shared memory for parent process to read but same is not being reflected in parent process. This happens because graphene (graphene-direct and graphene-sgx) doesn't support shared memory.
Description of the problem
In this test multiple files and directories are created with different users and permissions and there are total of 199 testcases that verify the accessibility of the files and directories. Currently only those testcases which check for for both (nobody and root) user are getting passed. The testcases which are of nobody user throws exception: TBROK: Test haven't reported results! There are testcases which are of root user gets failed.
If the test is run with all 199 testcases, it fails with "TBROK: Test 12 haven't reported results!"
Steps to reproduce
Execute attached files access01_setup in linux environment and access01_run with graphene-direct $ ./access01_setup $ graphene-direct ./access01_run
Label
bug
access01.zip
Updated access01_run.c has been attached
access01_run.zip