Project

General

Profile

Actions

Bug #15289

open

src/test/cephtool-test-mon.sh Hooked allocator frame not found hides error (arm64)

Added by Loïc Dachary about 8 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
arm64
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

src/test/cephtool-test-mon.sh.log fails with

*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
2016-03-28 03:16:47.061865 7f7a2511f0 -1 WARNING: the following dangerous and experimental features are enabled: *
2016-03-28 03:16:47.061888 7f7a2511f0  0 lockdep start
2016-03-28 03:16:47.075957 7f7a2511f0 -1 WARNING: the following dangerous and experimental features are enabled: *
Error EINVAL: Failed crushmap test: Hooked allocator frame not found, returning empty trace
2016-03-28 03:16:47.416291 7f7a2511f0  0 lockdep stop
../qa/workunits/cephtool/test.sh:31: expect_false:  return 0
../qa/workunits/cephtool/test.sh:1727: test_mon_crushmap_validation:  printf '%s\n' '#!/bin/sh
       cat > /dev/null
       echo '\''TEST FAIL'\'' >&2
       exit 1'
../qa/workunits/cephtool/test.sh:1733: test_mon_crushmap_validation:  expect_false ceph osd setcrushmap -i /tmp/cephtool25314/map
../qa/workunits/cephtool/test.sh:1734: test_mon_crushmap_validation:  check_response 'Error EINVAL: Failed crushmap test: TEST FAIL'
../qa/workunits/cephtool/test.sh:93: check_response:  expected_string='Error EINVAL: Failed crushmap test: TEST FAIL'
../qa/workunits/cephtool/test.sh:94: check_response:  retcode=
../qa/workunits/cephtool/test.sh:95: check_response:  expected_retcode=
../qa/workunits/cephtool/test.sh:96: check_response:  '[' '' -a '!=' ']'
../qa/workunits/cephtool/test.sh:101: check_response:  grep --quiet -- 'Error EINVAL: Failed crushmap test: TEST FAIL' /tmp/cephtool25314/test_invalid.25314
../qa/workunits/cephtool/test.sh:102: check_response:  echo 'Didn'\''t find Error EINVAL: Failed crushmap test: TEST FAIL in output'
Didn't find Error EINVAL: Failed crushmap test: TEST FAIL in output
../qa/workunits/cephtool/test.sh:103: check_response:  cat /tmp/cephtool25314/test_invalid.25314
../qa/workunits/cephtool/test.sh:30: expect_false:  set -x
../qa/workunits/cephtool/test.sh:31: expect_false:  ceph osd setcrushmap -i /tmp/cephtool25314/map
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
2016-03-28 03:16:47.680347 7f9b4a81f0 -1 WARNING: the following dangerous and experimental features are enabled: *
2016-03-28 03:16:47.680378 7f9b4a81f0  0 lockdep start
2016-03-28 03:16:47.694532 7f9b4a81f0 -1 WARNING: the following dangerous and experimental features are enabled: *
Error EINVAL: Failed crushmap test: Hooked allocator frame not found, returning empty trace
2016-03-28 03:16:48.053458 7f9b4a81f0  0 lockdep stop
../qa/workunits/cephtool/test.sh:31: expect_false:  return 0
../qa/workunits/cephtool/test.sh:104: check_response:  exit 1
../qa/workunits/cephtool/test.sh:1: check_response:  rm -fr /tmp/cephtool25314
FAIL test/cephtool-test-mon.sh (exit status: 1)

because Hooked allocator frame not found, returning empty trace hides the expected error message because only the first line is output.

Actions #1

Updated by Patrick Donnelly over 4 years ago

  • Status changed from 12 to New
Actions

Also available in: Atom PDF