[LU-2009] Test failure on test suite sanity, subtest test_156 Created: 23/Sep/12  Updated: 07/Mar/13  Resolved: 07/Mar/13

Status: Closed
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.4.0
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Maloo Assignee: WC Triage
Resolution: Duplicate Votes: 0
Labels: USE_OFD

Severity: 3
Rank (Obsolete): 4111

 Description   

This issue was created by maloo for Li Wei <liwei@whamcloud.com>

This issue relates to the following test suite run: https://maloo.whamcloud.com/test_sets/cbb8e36a-0490-11e2-bfd4-52540035b04c.

The sub-test test_156 failed with the following error:

NOT IN CACHE: before: 1040, after: 1040

This was master with OFD and LDiskFS OSTs.

Info required for matching: sanity 156



 Comments   
Comment by Li Wei (Inactive) [ 01/Feb/13 ]

A similar but not identical one:

https://maloo.whamcloud.com/test_sets/b8f32682-6c5f-11e2-91d6-52540035b04c

== sanity test 156: Verification of tunables ============================== 21:30:21 (1359696621)
Turn on read and write cache
CMD: client-21-ib /usr/sbin/lctl set_param -n obdfilter.lustre-OST*.read_cache_enable=1 		osd-*.lustre-OST*.read_cache_enable=1 2>&1
CMD: client-21-ib /usr/sbin/lctl set_param -n obdfilter.lustre-OST*.writethrough_cache_enable=1 		osd-*.lustre-OST*.writethrough_cache_enable=1 2>&1
Write data and read it back.
Read should be satisfied from the cache.
3+0 records in
3+0 records out
12288 bytes (12 kB) copied, 0.004606 s, 2.7 MB/s
CMD: client-21-ib /usr/sbin/lctl get_param -n obdfilter.lustre-OST*.stats 		osd-*.lustre-OST*.stats 2>&1
CMD: client-21-ib /usr/sbin/lctl get_param -n obdfilter.lustre-OST*.stats 		osd-*.lustre-OST*.stats 2>&1
cache hits:: before: 16737, after: 16740
Read again; it should be satisfied from the cache.
CMD: client-21-ib /usr/sbin/lctl get_param -n obdfilter.lustre-OST*.stats 		osd-*.lustre-OST*.stats 2>&1
cache hits:: before: 16740, after: 16743
Turn off the read cache and turn on the write cache
CMD: client-21-ib /usr/sbin/lctl set_param -n obdfilter.lustre-OST*.read_cache_enable=0 		osd-*.lustre-OST*.read_cache_enable=0 2>&1
CMD: client-21-ib /usr/sbin/lctl set_param -n obdfilter.lustre-OST*.writethrough_cache_enable=1 		osd-*.lustre-OST*.writethrough_cache_enable=1 2>&1
Read again; it should be satisfied from the cache.
CMD: client-21-ib /usr/sbin/lctl get_param -n obdfilter.lustre-OST*.stats 		osd-*.lustre-OST*.stats 2>&1
CMD: client-21-ib /usr/sbin/lctl get_param -n obdfilter.lustre-OST*.stats 		osd-*.lustre-OST*.stats 2>&1
cache hits:: before: 16743, after: 16746
Read again; it should not be satisfied from the cache.
CMD: client-21-ib /usr/sbin/lctl get_param -n obdfilter.lustre-OST*.stats 		osd-*.lustre-OST*.stats 2>&1
cache hits:: before: 16746, after: 16746
Write data and read it back.
Read should be satisfied from the cache.
3+0 records in
3+0 records out
12288 bytes (12 kB) copied, 0.00372769 s, 3.3 MB/s
CMD: client-21-ib /usr/sbin/lctl get_param -n obdfilter.lustre-OST*.stats 		osd-*.lustre-OST*.stats 2>&1
CMD: client-21-ib /usr/sbin/lctl get_param -n obdfilter.lustre-OST*.stats 		osd-*.lustre-OST*.stats 2>&1
cache hits:: before: 16746, after: 16749
Read again; it should not be satisfied from the cache.
CMD: client-21-ib /usr/sbin/lctl get_param -n obdfilter.lustre-OST*.stats 		osd-*.lustre-OST*.stats 2>&1
cache hits:: before: 16749, after: 16749
Turn off read and write cache
CMD: client-21-ib /usr/sbin/lctl set_param -n obdfilter.lustre-OST*.read_cache_enable=0 		osd-*.lustre-OST*.read_cache_enable=0 2>&1
CMD: client-21-ib /usr/sbin/lctl set_param -n obdfilter.lustre-OST*.writethrough_cache_enable=0 		osd-*.lustre-OST*.writethrough_cache_enable=0 2>&1
Write data and read it back
It should not be satisfied from the cache.
3+0 records in
3+0 records out
12288 bytes (12 kB) copied, 0.0041748 s, 2.9 MB/s
CMD: client-21-ib /usr/sbin/lctl get_param -n obdfilter.lustre-OST*.stats 		osd-*.lustre-OST*.stats 2>&1
CMD: client-21-ib /usr/sbin/lctl get_param -n obdfilter.lustre-OST*.stats 		osd-*.lustre-OST*.stats 2>&1
cache hits:: before: 16749, after: 16749
Turn on the read cache and turn off the write cache
CMD: client-21-ib /usr/sbin/lctl set_param -n obdfilter.lustre-OST*.read_cache_enable=1 		osd-*.lustre-OST*.read_cache_enable=1 2>&1
CMD: client-21-ib /usr/sbin/lctl set_param -n obdfilter.lustre-OST*.writethrough_cache_enable=0 		osd-*.lustre-OST*.writethrough_cache_enable=0 2>&1
Write data and read it back
It should not be satisfied from the cache.
3+0 records in
3+0 records out
12288 bytes (12 kB) copied, 0.00440554 s, 2.8 MB/s
CMD: client-21-ib /usr/sbin/lctl get_param -n obdfilter.lustre-OST*.stats 		osd-*.lustre-OST*.stats 2>&1
CMD: client-21-ib /usr/sbin/lctl get_param -n obdfilter.lustre-OST*.stats 		osd-*.lustre-OST*.stats 2>&1
cache hits:: before: 16749, after: 16749
Read again; it should be satisfied from the cache.
CMD: client-21-ib /usr/sbin/lctl get_param -n obdfilter.lustre-OST*.stats 		osd-*.lustre-OST*.stats 2>&1
CMD: client-21-ib /usr/sbin/lctl get_param -n obdfilter.lustre-OST*.stats 		osd-*.lustre-OST*.stats 2>&1
 sanity test_156: @@@@@@ FAIL: NOT IN CACHE: before: 16749, after: 16755 
Comment by Keith Mannthey (Inactive) [ 05/Mar/13 ]

LU-2902 seems to be the same issue: sanity test_156 trouble. I think one of these LUs should be closed.

Comment by Keith Mannthey (Inactive) [ 07/Mar/13 ]

This is a dup of LU-2902

Generated at Sat Feb 10 01:21:35 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.