Actions
Bug #18134
closedmake check fails when hostname not properly set, but run-make-check.sh does not check this
% Done:
0%
Source:
Tags:
Backport:
hammer,jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
On a machine where "hostname --fqdn" fails, several tests in "make check" also fail.
This is easily fixed by adding two lines to /etc/hosts
The fix is to add a simple test for this to "run-make-check.sh"
Log sample from failed "make check" run:
FAIL: test/cephtool-test-osd.sh =============================== hostname: Name or service not known FAIL: test/cephtool-test-mon.sh =============================== hostname: Name or service not known 141,1 0% File "/usr/lib64/python2.7/subprocess.py", line 573, in check_output raise CalledProcessError(retcode, cmd, output=output) subprocess.CalledProcessError: Command '['/home/smithfarm/ceph/src/ceph', 'osd', 'pool', 'stats', 'rep_pool']' returned non-zero exit status 1 FAIL: test/cephtool-test-osd.sh =============================== hostname: Name or service not known FAIL: test/cephtool-test-mon.sh =============================== hostname: Name or service not known FAIL: test/cephtool-test-mds.sh =============================== hostname: Name or service not known
Updated by Nathan Cutler over 7 years ago
- Status changed from In Progress to Fix Under Review
Updated by Nathan Cutler over 7 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Nathan Cutler over 7 years ago
- Copied to Backport #18135: jewel: make check fails when hostname not properly set, but run-make-check.sh does not check this added
Updated by Nathan Cutler over 7 years ago
- Backport changed from jewel to hammer,jewel
Updated by Nathan Cutler over 7 years ago
- Copied to Backport #18144: hammer: make check fails when hostname not properly set, but run-make-check.sh does not check this added
Updated by Nathan Cutler about 7 years ago
- Status changed from Pending Backport to Resolved
Actions