[LU-10217] Sanity 248 fails with newer dd output Created: 09/Nov/17 Updated: 19/Dec/17 Resolved: 29/Nov/17 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Upstream, Lustre 2.10.1, Lustre 2.11.0 |
| Fix Version/s: | Lustre 2.11.0, Lustre 2.10.3 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Nikolay Borisov | Assignee: | Bob Glossman (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
SlE12SP2/SP3 |
||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
Running the sanity test suite on SLES12SP2/SP3 fails with the following error: Test 1: verify that fast read is 4 times faster on cache read
(standard_in) 1: illegal character: M
(standard_in) 1: syntax error
(standard_in) 1: illegal character: M
./sanity.sh: line 14321: [: -eq: unary operator expected
sanity test_248: @@@@@@ FAIL: fast read was not 4 times faster: MiB) vs MiB)
Trace dump:
= /usr/lib64/lustre/tests/test-framework.sh:5293:error()
= /usr/lib64/lustre/tests/test-framework.sh:5326:error_not_in_vm()
= ./sanity.sh:14322:test_248()
= /usr/lib64/lustre/tests/test-framework.sh:5569:run_one()
= /usr/lib64/lustre/tests/test-framework.sh:5608:run_one_logged()
= /usr/lib64/lustre/tests/test-framework.sh:5407:run_test()
= ./sanity.sh:14345:main()
This is due to changed output dd has in recent versions: 32768+0 records in 32768+0 records out 134217728 bytes (134 MB, 128 MiB) copied, 3,85718 s, 34,8 MB/s Essentially there are more fields being added with the inclusion of base 2 value. Further testing showed that sometimes dd can print the quantity of elapsed time in scientific notation, which is not understood by bc: 4096 bytes (4,1 kB, 4,0 KiB) copied, 9,1229e-05 s, 44,9 MB/s |
| Comments |
| Comment by Gerrit Updater [ 09/Nov/17 ] |
|
Nikolay Borisov (nborisov@suse.com) uploaded a new patch: https://review.whamcloud.com/30005 |
| Comment by Gerrit Updater [ 17/Nov/17 ] |
|
Nikolay Borisov (nborisov@suse.com) uploaded a new patch: https://review.whamcloud.com/30144 |
| Comment by Nikolay Borisov [ 17/Nov/17 ] |
|
The patch has +1 from jenkins/maloo and has been code reviewed is there anything else that's impeding it's merge? |
| Comment by Peter Jones [ 17/Nov/17 ] |
|
It needs a second review - Bob, can you do the honours? |
| Comment by Bob Glossman (Inactive) [ 17/Nov/17 ] |
|
The error report is specific to SLES12sp2/3, but I see only test results on RHEL. |
| Comment by Peter Jones [ 17/Nov/17 ] |
|
Bob Good idea. I daresay that Nikolay is unfamiliar with test parameters. Can you refresh the patch to add them? Thanks Peter |
| Comment by Bob Glossman (Inactive) [ 17/Nov/17 ] |
|
Peter, Bob |
| Comment by Bob Glossman (Inactive) [ 17/Nov/17 ] |
|
changes passed test on SLES12SP2 and SLES12SP3. |
| Comment by Gerrit Updater [ 29/Nov/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30005/ |
| Comment by Peter Jones [ 29/Nov/17 ] |
|
Landed for 2.11 |
| Comment by Gerrit Updater [ 19/Dec/17 ] |
|
John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/30144/ |