[LU-1207] Test failure on test suite lfsck Created: 13/Mar/12  Updated: 08/May/14  Resolved: 08/May/14

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Maloo Assignee: WC Triage
Resolution: Won't Fix Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 10294

 Description   

This issue was created by maloo for sarah <sarah@whamcloud.com>

This issue relates to the following test suite run: https://maloo.whamcloud.com/test_sets/b3bc44b0-6cc8-11e1-9174-5254004bbbd3.

This error is caused by the inconsistent content in test script.



 Comments   
Comment by Sarah Liu [ 13/Mar/12 ]

I got this error when running lfsck with IB network. I specified MDS and OST in the configuration file as fat-intel-4-ib and fat-amd-1-ib, the hostname of these two nodes are fat-intel-4.lab.whamcloud.com and fat-amd-1.lab.whamcloud.com. When the script checks shared dir, it uses short hostname to create file while use the node name in config file to verify, it causes problem. Here is the related code in test-framework.sh

check_logdir() {
local dir=$1

  1. Checking for shared logdir
    if [ ! -d $dir ]; then
  2. Not found. Create local logdir
    mkdir -p $dir
    else
    touch $dir/node.$(hostname -s).yml
    fi
    return 0
    }

check_write_access() {
local dir=$1
for node in $(nodes_list); do
if [ ! -f "$dir/node.$(short_hostname ${node}).yml" ]; then

  1. Logdir not accessible/writable from this node.
    return 1
    fi
    done
    rm -f $dir/node.*.yml
    return 0
    }

log:
----------
++echo fat-amd-1-ib
+ '[' '!' -f /home/sarah/test_logs/node.fat-amd-1-ib.yml ']'
+ return 1

sarah@brent:~$ ls /home/sarah/test_logs/|grep fat-amd-1
node.fat-amd-1.yml

Comment by Andreas Dilger [ 08/May/14 ]

Closing old bugs.

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