Project

General

Profile

Actions

Bug #2359

closed

xfstest 62 failing

Added by Sage Weil almost 12 years ago. Updated almost 12 years ago.

Status:
Can't reproduce
Priority:
High
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

324: (3320s) collection:basic clusters:fixed-3.yaml fs:btrfs.yaml tasks:rbd_xfstests.yaml
Command failed with status 1: 'LD_LIBRARY_PATH=/tmp/cephtest/binary/usr/local/lib /tmp/cephtest/enable-coredump /tmp/cephtest/binary/usr/local/bin/ceph-coverage /tmp/cephtest/archive/co$

failed xfstest #62. output includes
2012-04-28T01:28:06.567 INFO:teuthology.orchestra.run.out:+awk: line 2: function asort never defined
typo?

Actions #1

Updated by Alex Elder almost 12 years ago

No I don't think that's the issue.

The problem lies in this function, defined in xfstests "common.attr":
_sort_getfattr_output() {
awk '{a[FNR]=$0}END{n = asort(a); for(i=1; i <= n; i++) print a[i]"\n"}' RS=''
}

asort() is a gawk built-in function that sorts an array and replaces
its index values with sequential integers.

Apparently it is not available in the version of awk running on the machine
that hit this failure.

I logged in to plana13 (one of them in this run) to see, and it appears to me
that /usr/bin/awk is probably "mawk" whatever that is. I believe xfstests is
expecting to use "gawk", which is Gnu Awk.

My Ubuntu system has Gnu Awk. I have no idea why "mawk" is installed here.

Actions #2

Updated by Sage Weil almost 12 years ago

  • Status changed from 12 to Can't reproduce

haven't seen this in a while

Actions

Also available in: Atom PDF