-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mtest05 fail on read only remote machine #87
Comments
Indeed the test opens files in |
trying to recreate this issue locally.. I am having CWD which is read-only.. but able to run tests successfully /tmp/imgmnt# /opt/ltp/runltp -s mtest05
|
That is because the |
I was able to reproduce this issue . Created a file system and mounted as read only. mmstress 0 TINFO : run /root/athira/LTP/ltp/testcases/kernel/mem/mtest05/mmstress -h for all options Created patch for this testcase where:
Will post the patch |
Not sure when $CWD is updated (trying to export it to /tmp and run binary in another read-only directory is not help), but the testcase can run normally in /tmp (test6 is failed just because "mmstress_dummy" is not in /tmp/) |
Hello @athira-rajeev
I also failed on this testcase, see that you already created the patch, did you post it ? (so that we'll not duplicate the work.) |
2016-08-26T11:37:31 Test: mtest05 Testparm: mmstress
mmstress 0 TINFO : run mmstress -h for all options
mmstress 0 TINFO : test1: Test case tests the race condition between simultaneous read faults in the same address space.
mmstress 1 TFAIL : mmstress.c:927: TEST 1 Failed
mmstress 0 TINFO : test2: Test case tests the race condition between simultaneous write faults in the same address space.
map_and_thread(): open(): Read-only file system
map_and_thread(): open(): Read-only file system
......
I run tests on read-only remote machine
Looks like the test tries to create new file in test binary folder..
map_and_thread("./tmp.file.1", thread_fault, READ_FAULT, NUMTHREAD, &retval);
The text was updated successfully, but these errors were encountered: