[LU-240] sanity 171: test_171() races with background multiop Created: 26/Apr/11 Updated: 28/Jun/11 Resolved: 12/May/11 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.0.0, Lustre 1.8.6 |
| Fix Version/s: | Lustre 2.1.0, Lustre 1.8.6 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Li Wei (Inactive) | Assignee: | Zhenyu Xu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 5045 |
| Description |
|
sanity 171 in master could, and actually did for me, fail because of a race between the bash process executing test_171() and the background multiop process. By the time when test_171() returns, the multiop process could still be asleep. Test Framework would complain in run_one() about the existence of the multiop process, failing the subtest. Another issue with this subtest is that the usage of multiop_bg_pause() is a little tricky. Since the subtest does specify any "_" for multiop, no "PAUSING" will be printed. As a result, the multiop_bg_pause() always fail after the "read -t 60 ...". An alternative implementation could be something like: multiop $FILE Os & pid=$! ... wait $pid |
| Comments |
| Comment by Zhenyu Xu [ 26/Apr/11 ] |
|
patch tracking at http://review.whamcloud.com/466 |
| Comment by Build Master (Inactive) [ 09/May/11 ] |
|
Integrated in Oleg Drokin : 04d23a7f3dac333c3dad238ebbd7d978421089b4
|
| Comment by Build Master (Inactive) [ 09/May/11 ] |
|
Integrated in Oleg Drokin : 04d23a7f3dac333c3dad238ebbd7d978421089b4
|
| Comment by Build Master (Inactive) [ 09/May/11 ] |
|
Integrated in Oleg Drokin : 04d23a7f3dac333c3dad238ebbd7d978421089b4
|
| Comment by Build Master (Inactive) [ 09/May/11 ] |
|
Integrated in Oleg Drokin : 04d23a7f3dac333c3dad238ebbd7d978421089b4
|
| Comment by Build Master (Inactive) [ 09/May/11 ] |
|
Integrated in Oleg Drokin : 04d23a7f3dac333c3dad238ebbd7d978421089b4
|
| Comment by Build Master (Inactive) [ 09/May/11 ] |
|
Integrated in Oleg Drokin : 04d23a7f3dac333c3dad238ebbd7d978421089b4
|
| Comment by Build Master (Inactive) [ 09/May/11 ] |
|
Integrated in Oleg Drokin : 04d23a7f3dac333c3dad238ebbd7d978421089b4
|
| Comment by Build Master (Inactive) [ 09/May/11 ] |
|
Integrated in Oleg Drokin : 04d23a7f3dac333c3dad238ebbd7d978421089b4
|
| Comment by Build Master (Inactive) [ 09/May/11 ] |
|
Integrated in Oleg Drokin : 04d23a7f3dac333c3dad238ebbd7d978421089b4
|
| Comment by Build Master (Inactive) [ 09/May/11 ] |
|
Integrated in Oleg Drokin : 04d23a7f3dac333c3dad238ebbd7d978421089b4
|
| Comment by Build Master (Inactive) [ 09/May/11 ] |
|
Integrated in Oleg Drokin : 04d23a7f3dac333c3dad238ebbd7d978421089b4
|
| Comment by Build Master (Inactive) [ 09/May/11 ] |
|
Integrated in Oleg Drokin : 04d23a7f3dac333c3dad238ebbd7d978421089b4
|
| Comment by Build Master (Inactive) [ 09/May/11 ] |
|
Integrated in Oleg Drokin : 04d23a7f3dac333c3dad238ebbd7d978421089b4
|
| Comment by Build Master (Inactive) [ 09/May/11 ] |
|
Integrated in Oleg Drokin : 04d23a7f3dac333c3dad238ebbd7d978421089b4
|
| Comment by Build Master (Inactive) [ 12/May/11 ] |
|
Integrated in Johann Lombardi : 88909813abcf62cd99c3a27315d6afb1ade3835e
|
| Comment by Build Master (Inactive) [ 12/May/11 ] |
|
Integrated in Johann Lombardi : 88909813abcf62cd99c3a27315d6afb1ade3835e
|
| Comment by Build Master (Inactive) [ 12/May/11 ] |
|
Integrated in Johann Lombardi : 88909813abcf62cd99c3a27315d6afb1ade3835e
|
| Comment by Build Master (Inactive) [ 12/May/11 ] |
|
Integrated in Johann Lombardi : 88909813abcf62cd99c3a27315d6afb1ade3835e
|
| Comment by Build Master (Inactive) [ 12/May/11 ] |
|
Integrated in Johann Lombardi : 88909813abcf62cd99c3a27315d6afb1ade3835e
|
| Comment by Build Master (Inactive) [ 12/May/11 ] |
|
Integrated in Johann Lombardi : 88909813abcf62cd99c3a27315d6afb1ade3835e
|
| Comment by Build Master (Inactive) [ 12/May/11 ] |
|
Integrated in Johann Lombardi : 88909813abcf62cd99c3a27315d6afb1ade3835e
|
| Comment by Build Master (Inactive) [ 12/May/11 ] |
|
Integrated in Johann Lombardi : 88909813abcf62cd99c3a27315d6afb1ade3835e
|
| Comment by Build Master (Inactive) [ 12/May/11 ] |
|
Integrated in Johann Lombardi : 88909813abcf62cd99c3a27315d6afb1ade3835e
|
| Comment by Build Master (Inactive) [ 12/May/11 ] |
|
Integrated in Johann Lombardi : 88909813abcf62cd99c3a27315d6afb1ade3835e
|
| Comment by Build Master (Inactive) [ 12/May/11 ] |
|
Integrated in Johann Lombardi : 88909813abcf62cd99c3a27315d6afb1ade3835e
|