Bug 1112402

Summary: Sanity: Dbench fails on glusterfs mounts.
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Ben Turner <bturner>
Component: glusterfsAssignee: Vijay Bellur <vbellur>
Status: CLOSED WORKSFORME QA Contact: Ben Turner <bturner>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhgs-3.0CC: amukherj, pkarampu, smohan, vbellur
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-06 02:37:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ben Turner 2014-06-23 20:59:31 UTC
Description of problem:

When running the FS Sanity regression suite Dbench fails on glusterfs mounts.


Version-Release number of selected component (if applicable):

glusterfs-3.6.0.22-1.el6rhs.x86_64

How reproducible:

Every time.

Steps to Reproduce:
1. yum -y install dbench
2. cp /usr/share/dbench/client.txt $DBENCH_BIN_PATH
3. dbench -t $DBENCH_TIME -c $DBENCH_BIN_PATH/client.txt -s -S $DBENCH_CLIENTS

env vars:
    export PATH=$PATH:/opt/qa/tools
    DBENCH_BIN_PATH=${DBENCH_BIN_PATH:=/opt/qa/tools}
    DBENCH_TIME=${DBENCH_TIME:=300}
    DBENCH_CLIENTS=${DBENCH_CLIENTS:=10}


Actual results:

Dbench fails:

INFO: Switching to /gluster-mount/run8132_dbench
dbench version 4.00 - Copyright Andrew Tridgell 1999-2004

Running for 300 seconds with load '/opt/qa/tools/client.txt' and minimum warmup 60 secs
7 of 10 processes prepared for launch   0 sec
10 of 10 processes prepared for launch   0 sec
releasing clients
  10       205    80.19 MB/sec  warmup   1 sec  latency 589.149 ms
  10       452    75.25 MB/sec  warmup   2 sec  latency 1085.270 ms
  10       800    70.86 MB/sec  warmup   3 sec  latency 810.625 ms
  10      1198    58.83 MB/sec  warmup   4 sec  latency 466.318 ms
  10      1619    52.34 MB/sec  warmup   5 sec  latency 346.427 ms
  10      2038    44.71 MB/sec  warmup   6 sec  latency 197.958 ms
  10      2453    40.82 MB/sec  warmup   7 sec  latency 62.883 ms
  10      2897    40.39 MB/sec  warmup   8 sec  latency 98.893 ms
  10      3380    40.13 MB/sec  warmup   9 sec  latency 19.225 ms
  10      3688    38.92 MB/sec  warmup  10 sec  latency 19.751 ms
  10      3946    36.33 MB/sec  warmup  11 sec  latency 19.844 ms
  10      4197    33.65 MB/sec  warmup  12 sec  latency 20.813 ms
[4126] unlink ./clients/client3/~dmtmp/COREL/GRAPH1.BAK failed (No such file or directory) - expected NT_STATUS_OK
ERROR: child 3 failed at line 4126
Child failed with status 1

Expected results:

Normal execution.

Additional info:

All I see in the brick logs is:

[2014-06-23 19:42:53.277524] W [fuse-bridge.c:1298:fuse_unlink_cbk] 0-glusterfs-fuse: 21559920: UNLINK() /run8132_dbench/clients/client3/~dmtmp/COREL/GRAPH1.BAK => -1 (No such file or directory)