Whamcloud - gitweb
LU-13740 tests: improve sanity-sec test_45 46/40146/2
authorSebastien Buisson <sbuisson@ddn.com>
Tue, 6 Oct 2020 09:43:19 +0000 (11:43 +0200)
committerOleg Drokin <green@whamcloud.com>
Thu, 29 Oct 2020 04:28:47 +0000 (04:28 +0000)
Improve sanity-sec test_45 by referencing the entire mmap-ed region
thanks to multiop.
Also make sure encryption tests are passing on newly supported
Ubuntu 20.04 distro.

Test-Parameters: trivial
Test-Parameters: testlist=sanity-sec envdefinitions=ONLY="36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 52 53 54" clientdistro=ubuntu2004 fstype=ldiskfs mdscount=2 mdtcount=4
Test-Parameters: testlist=sanity-sec envdefinitions=ONLY="36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 52 53 54" clientdistro=ubuntu2004 fstype=zfs mdscount=2 mdtcount=4
Test-Parameters: testlist=sanity-sec envdefinitions=ONLY="36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 52 53 54" clientdistro=el8.1 fstype=ldiskfs mdscount=2 mdtcount=4
Test-Parameters: testlist=sanity-sec envdefinitions=ONLY="36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 52 53 54" clientdistro=el8.1 fstype=zfs mdscount=2 mdtcount=4
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I983b6bf94d9f51486fd6b688267af46ed4188a98
Reviewed-on: https://review.whamcloud.com/40146
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/tests/sanity-sec.sh

index e678c95..e818a68 100755 (executable)
@@ -3287,8 +3287,9 @@ test_45() {
        $MULTIOP $tmpfile OSMWUc || error "$MULTIOP $tmpfile failed"
        $MMAP_CAT $tmpfile > ${tmpfile}2
 
-       cancel_lru_locks osc ; cancel_lru_locks mdc
+       cancel_lru_locks
 
+       $MULTIOP $testfile OSMRUc
        $MMAP_CAT $testfile > ${testfile}2
        cmp -bl ${tmpfile}2 ${testfile}2 ||
                error "file $testfile is corrupted"