[LU-6186] EL7 client sanity-hsm test_70: Failed to start copytool monitor on Created: 30/Jan/15 Updated: 04/Feb/16 Resolved: 22/Jul/15 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.7.0, Lustre 2.8.0 |
| Fix Version/s: | Lustre 2.8.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Maloo | Assignee: | Bruno Faccini (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
server: lustre-master build # 2830 RHEL6 |
||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 17307 | ||||
| Description |
|
This issue was created by maloo for sarah <sarah@whamcloud.com> This issue relates to the following test suite run: https://testing.hpdd.intel.com/test_sets/659ff066-a496-11e4-a1ef-5254006e85c2. The sub-test test_70 failed with the following error: test failed to respond and timed out test log == sanity-hsm test 70: Copytool logs JSON register/unregister events to FIFO ========================= 00:43:52 (1422089032) CMD: onyx-43vm5 pkill -INT -x lhsmtool_posix CMD: onyx-43vm5 mktemp --tmpdir=/tmp -d sanity-hsm.test_70.XXXX CMD: onyx-43vm5 mkfifo -m 0644 /tmp/sanity-hsm.test_70.74FK/fifo CMD: onyx-43vm5 cat /tmp/sanity-hsm.test_70.74FK/fifo > /tmp/sanity-hsm.test_70.74FK/events & echo \$! > /tmp/sanity-hsm.test_70.74FK/monitor_pid ps: write error: Bad file descriptor sanity-hsm test_70: @@@@@@ FAIL: Failed to start copytool monitor on onyx-43vm5 |
| Comments |
| Comment by Andreas Dilger [ 02/Feb/15 ] |
|
It looks like this might be a bug in sanity-hsm.sh: copytool_monitor_setup() {
:
:
ps -p $HSMTOOL_MONITOR_PDSH >&- ||
error "Failed to start copytool monitor on $agent"
According to bash(1) the use of >&- means: Each redirection that may be preceded by a file descriptor number may
instead be preceded by a word of the form {varname}. In this case, for
each redirection operator except >&- and <&-, the shell will allocate a
file descriptor greater than or equal to 10 and assign it to varname.
If >&- or <&- is preceded by {varname}, the value of varname defines
the file descriptor to close.
Since the ps |
| Comment by Bruno Faccini (Inactive) [ 24/Feb/15 ] |
|
Seems that RHEL7 bash may require the filedescriptor number/variable to be specified now. "ps -p $HSMTOOL_MONITOR_PDSH 1>&-" should make it. |
| Comment by Gerrit Updater [ 24/Feb/15 ] |
|
Faccini Bruno (bruno.faccini@intel.com) uploaded a new patch: http://review.whamcloud.com/13857 |
| Comment by Gerrit Updater [ 15/Mar/15 ] |
|
Bob Glossman (bob.glossman@intel.com) uploaded a new patch: http://review.whamcloud.com/14084 |
| Comment by Sarah Liu [ 29/Jun/15 ] |
|
another instance: https://testing.hpdd.intel.com/test_sets/9dd2d66c-1311-11e5-8d21-5254006e85c2 |
| Comment by Gerrit Updater [ 22/Jul/15 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/13857/ |
| Comment by Peter Jones [ 22/Jul/15 ] |
|
Landed for 2.8 |